dbgate-types 5.5.7-alpha.60 → 6.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dbinfo.d.ts +14 -2
- package/package.json +1 -1
package/dbinfo.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export interface IndexInfo extends ColumnsConstraintInfo {
|
|
|
35
35
|
isUnique: boolean;
|
|
36
36
|
// indexType: 'normal' | 'clustered' | 'xml' | 'spatial' | 'fulltext';
|
|
37
37
|
indexType?: string;
|
|
38
|
-
// condition for filtered index (SQL Server)
|
|
38
|
+
// condition for filtered index (SQL Server)
|
|
39
39
|
filterDefinition?: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -118,9 +118,21 @@ export interface ViewInfo extends SqlObjectInfo {
|
|
|
118
118
|
columns: ColumnInfo[];
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export
|
|
121
|
+
export type ParameterMode = 'IN' | 'OUT' | 'INOUT' | 'RETURN';
|
|
122
|
+
|
|
123
|
+
export interface ParameterInfo {
|
|
124
|
+
schemaName: string;
|
|
125
|
+
parameterName?: string;
|
|
126
|
+
pureName: string;
|
|
127
|
+
dataType: string;
|
|
128
|
+
parameterMode?: ParameterMode;
|
|
129
|
+
}
|
|
130
|
+
export interface ProcedureInfo extends SqlObjectInfo {
|
|
131
|
+
parameters?: ParameterInfo[];
|
|
132
|
+
}
|
|
122
133
|
|
|
123
134
|
export interface FunctionInfo extends SqlObjectInfo {
|
|
135
|
+
parameters?: ParameterInfo[];
|
|
124
136
|
// returnDataType?: string;
|
|
125
137
|
}
|
|
126
138
|
|
package/package.json
CHANGED