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,20 @@
import type { Model } from '../types';
import type { ForeignKey, Index } from '../schema/types';
import type { Action, SubscriberFn } from '../lifecycles';
export interface Meta extends Model {
columnToAttribute: Record<string, string>;
indexes: Index[];
foreignKeys: ForeignKey[];
lifecycles: Partial<Record<Action, SubscriberFn>>;
}
export declare class Metadata extends Map<string, Meta> {
get identifiers(): import("../utils/identifiers").Identifiers;
get(key: string): Meta;
add(meta: Meta): this;
/**
* Validate the DB metadata, throwing an error if a duplicate DB table name is detected
*/
validate(): void;
loadModels(models: Model[]): void;
}
//# sourceMappingURL=metadata.d.ts.map