dbgate-types 4.3.4 → 4.4.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 +11 -11
- package/package.json +1 -1
package/dbinfo.d.ts
CHANGED
|
@@ -23,10 +23,10 @@ export interface ColumnsConstraintInfo extends ConstraintInfo {
|
|
|
23
23
|
export interface PrimaryKeyInfo extends ColumnsConstraintInfo {}
|
|
24
24
|
|
|
25
25
|
export interface ForeignKeyInfo extends ColumnsConstraintInfo {
|
|
26
|
-
refSchemaName
|
|
26
|
+
refSchemaName?: string;
|
|
27
27
|
refTableName: string;
|
|
28
|
-
updateAction
|
|
29
|
-
deleteAction
|
|
28
|
+
updateAction?: string;
|
|
29
|
+
deleteAction?: string;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export interface IndexInfo extends ColumnsConstraintInfo {
|
|
@@ -46,14 +46,14 @@ export interface ColumnInfo extends NamedObjectInfo {
|
|
|
46
46
|
notNull: boolean;
|
|
47
47
|
autoIncrement: boolean;
|
|
48
48
|
dataType: string;
|
|
49
|
-
precision
|
|
50
|
-
scale
|
|
51
|
-
length
|
|
52
|
-
computedExpression
|
|
53
|
-
isPersisted
|
|
54
|
-
isSparse
|
|
55
|
-
defaultValue
|
|
56
|
-
defaultConstraint
|
|
49
|
+
precision?: number;
|
|
50
|
+
scale?: number;
|
|
51
|
+
length?: number;
|
|
52
|
+
computedExpression?: string;
|
|
53
|
+
isPersisted?: boolean;
|
|
54
|
+
isSparse?: boolean;
|
|
55
|
+
defaultValue?: string;
|
|
56
|
+
defaultConstraint?: string;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export interface DatabaseObjectInfo extends NamedObjectInfo {
|
package/package.json
CHANGED