@db-auto/dal
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -14,2 +14,22 @@ import { NameAnd } from "@db-auto/utils"; | ||
} | ||
export interface ColumnMetaData { | ||
type: string; | ||
} | ||
export interface ForeignKeyMetaData { | ||
column: string; | ||
refTable: string; | ||
refColumn: string; | ||
raw: string; | ||
} | ||
export interface TableMetaData { | ||
columns: NameAnd<ColumnMetaData>; | ||
fk: NameAnd<ForeignKeyMetaData>; | ||
} | ||
export interface DatabaseMetaData { | ||
tables: NameAnd<TableMetaData>; | ||
} | ||
export type MetaDataFn = () => Promise<DatabaseMetaData>; | ||
export interface MetaDal { | ||
metaData: () => Promise<DatabaseMetaData>; | ||
} | ||
export interface DalRow extends NameAnd<any> { | ||
@@ -32,5 +52,5 @@ } | ||
} | ||
export interface Dal extends ReadDal, WriteDal { | ||
export interface Dal extends ReadDal, WriteDal, MetaDal { | ||
close(): any; | ||
} | ||
export {}; |
{ | ||
"name": "@db-auto/dal", | ||
"description": "", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"main": "dist/index", | ||
@@ -6,0 +6,0 @@ "types": "dist/index", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5651
104