@snowtop/ent 0.1.0-alpha130 → 0.1.0-alpha131
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/package.json +1 -1
- package/schema/base_schema.d.ts +2 -0
- package/schema/base_schema.js +4 -0
package/package.json
CHANGED
package/schema/base_schema.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare class EntSchema implements Schema {
|
|
|
19
19
|
constraints: Constraint[] | undefined;
|
|
20
20
|
indices: Index[] | undefined;
|
|
21
21
|
hideFromGraphQL?: boolean;
|
|
22
|
+
customGraphQLInterfaces?: string[] | undefined;
|
|
22
23
|
constructor(cfg: SchemaConfig);
|
|
23
24
|
}
|
|
24
25
|
export declare class EntSchemaWithTZ implements Schema {
|
|
@@ -36,6 +37,7 @@ export declare class EntSchemaWithTZ implements Schema {
|
|
|
36
37
|
constraints: Constraint[] | undefined;
|
|
37
38
|
indices: Index[] | undefined;
|
|
38
39
|
hideFromGraphQL?: boolean;
|
|
40
|
+
customGraphQLInterfaces?: string[] | undefined;
|
|
39
41
|
constructor(cfg: SchemaConfig);
|
|
40
42
|
}
|
|
41
43
|
export declare abstract class BaseEntSchema {
|
package/schema/base_schema.js
CHANGED
|
@@ -88,6 +88,8 @@ class EntSchema {
|
|
|
88
88
|
this.constraints = cfg.constraints;
|
|
89
89
|
this.indices = cfg.indices;
|
|
90
90
|
this.hideFromGraphQL = cfg.hideFromGraphQL;
|
|
91
|
+
// TODO annoying that have to list these...
|
|
92
|
+
this.customGraphQLInterfaces = cfg.customGraphQLInterfaces;
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
95
|
exports.EntSchema = EntSchema;
|
|
@@ -115,6 +117,8 @@ class EntSchemaWithTZ {
|
|
|
115
117
|
this.constraints = cfg.constraints;
|
|
116
118
|
this.indices = cfg.indices;
|
|
117
119
|
this.hideFromGraphQL = cfg.hideFromGraphQL;
|
|
120
|
+
// TODO annoying that have to list these...
|
|
121
|
+
this.customGraphQLInterfaces = cfg.customGraphQLInterfaces;
|
|
118
122
|
}
|
|
119
123
|
}
|
|
120
124
|
exports.EntSchemaWithTZ = EntSchemaWithTZ;
|