node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import type { Meta, Metadata } from './metadata';
import type { RelationalAttribute, Relation } from '../types';
export declare const isPolymorphic: (attribute: RelationalAttribute) => attribute is Relation.Morph;
export declare const isOneToAny: (attribute: RelationalAttribute) => attribute is Relation.OneToOne | Relation.OneToMany;
export declare const isManyToAny: (attribute: RelationalAttribute) => attribute is Relation.ManyToOne | Relation.ManyToMany;
export declare const isAnyToOne: (attribute: RelationalAttribute) => attribute is Relation.OneToOne | Relation.ManyToOne;
export declare const isAnyToMany: (attribute: RelationalAttribute) => attribute is Relation.OneToMany | Relation.ManyToMany;
export declare const isBidirectional: (attribute: RelationalAttribute) => attribute is Relation.Bidirectional;
export declare const hasOrderColumn: (attribute: RelationalAttribute) => boolean;
export declare const hasInverseOrderColumn: (attribute: RelationalAttribute) => boolean;
/**
* Creates a relation metadata
*/
export declare const createRelation: (attributeName: string, attribute: RelationalAttribute, meta: Meta, metadata: Metadata) => void;
//# sourceMappingURL=relations.d.ts.map