mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-03 07:03:59 +00:00
virtual references working
This commit is contained in:
12
packages/types/appdefs.d.ts
vendored
12
packages/types/appdefs.d.ts
vendored
@@ -8,9 +8,21 @@ interface ApplicationQuery {
|
||||
sql: string;
|
||||
}
|
||||
|
||||
interface VirtualReferenceDefinition {
|
||||
pureName: string;
|
||||
schemaName?: string;
|
||||
refSchemaName?: string;
|
||||
refTableName: string;
|
||||
columns: {
|
||||
columnName: string;
|
||||
refColumnName: string;
|
||||
}[];
|
||||
}
|
||||
|
||||
interface ApplicationDefinition {
|
||||
name: string;
|
||||
|
||||
queries: ApplicationQuery[];
|
||||
commands: ApplicationCommand[];
|
||||
virtualReferences: VirtualReferenceDefinition[];
|
||||
}
|
||||
|
||||
1
packages/types/index.d.ts
vendored
1
packages/types/index.d.ts
vendored
@@ -43,3 +43,4 @@ export * from './dumper';
|
||||
export * from './dbtypes';
|
||||
export * from './extensions';
|
||||
export * from './alter-processor';
|
||||
export * from './appdefs';
|
||||
|
||||
Reference in New Issue
Block a user