@snowtop/ent 0.1.0-alpha59 → 0.1.0-alpha61
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/core/db.d.ts +0 -1
- package/package.json +1 -1
- package/schema/schema.d.ts +8 -0
package/core/db.d.ts
CHANGED
package/package.json
CHANGED
package/schema/schema.d.ts
CHANGED
|
@@ -151,6 +151,7 @@ export interface Type {
|
|
|
151
151
|
importType?: ImportType;
|
|
152
152
|
subFields?: FieldMap;
|
|
153
153
|
unionFields?: FieldMap;
|
|
154
|
+
[x: string]: any;
|
|
154
155
|
}
|
|
155
156
|
export interface ForeignKey {
|
|
156
157
|
schema: string;
|
|
@@ -158,6 +159,7 @@ export interface ForeignKey {
|
|
|
158
159
|
name?: string;
|
|
159
160
|
disableIndex?: boolean;
|
|
160
161
|
disableBuilderType?: boolean;
|
|
162
|
+
[x: string]: any;
|
|
161
163
|
}
|
|
162
164
|
declare type getLoaderInfoFn = (type: string) => LoaderInfo;
|
|
163
165
|
export interface InverseFieldEdge {
|
|
@@ -247,6 +249,7 @@ export interface ActionField {
|
|
|
247
249
|
list?: boolean;
|
|
248
250
|
actionName?: string;
|
|
249
251
|
excludedFields?: string[];
|
|
252
|
+
[x: string]: any;
|
|
250
253
|
}
|
|
251
254
|
export interface Action {
|
|
252
255
|
operation: ActionOperation;
|
|
@@ -260,6 +263,7 @@ export interface Action {
|
|
|
260
263
|
optionalFields?: string[];
|
|
261
264
|
requiredFields?: string[];
|
|
262
265
|
noFields?: boolean;
|
|
266
|
+
[x: string]: any;
|
|
263
267
|
}
|
|
264
268
|
export declare const NoFields = "__NO_FIELDS__";
|
|
265
269
|
export declare function requiredField(field: string): string;
|
|
@@ -270,6 +274,7 @@ export interface Constraint {
|
|
|
270
274
|
columns: string[];
|
|
271
275
|
fkey?: ForeignKeyInfo;
|
|
272
276
|
condition?: string;
|
|
277
|
+
[x: string]: any;
|
|
273
278
|
}
|
|
274
279
|
export interface FullTextWeight {
|
|
275
280
|
A?: string[];
|
|
@@ -283,6 +288,7 @@ export interface FullText {
|
|
|
283
288
|
languageColumn?: string;
|
|
284
289
|
indexType?: "gin" | "gist";
|
|
285
290
|
weights?: FullTextWeight;
|
|
291
|
+
[x: string]: any;
|
|
286
292
|
}
|
|
287
293
|
export interface Index {
|
|
288
294
|
name: string;
|
|
@@ -290,11 +296,13 @@ export interface Index {
|
|
|
290
296
|
unique?: boolean;
|
|
291
297
|
fulltext?: FullText;
|
|
292
298
|
indexType?: "gin" | "btree";
|
|
299
|
+
[x: string]: any;
|
|
293
300
|
}
|
|
294
301
|
export interface ForeignKeyInfo {
|
|
295
302
|
tableName: string;
|
|
296
303
|
ondelete?: "RESTRICT" | "CASCADE" | "SET NULL" | "SET DEFAULT" | "NO ACTION";
|
|
297
304
|
columns: string[];
|
|
305
|
+
[x: string]: any;
|
|
298
306
|
}
|
|
299
307
|
export declare enum ConstraintType {
|
|
300
308
|
PrimaryKey = "primary",
|