@snowtop/ent 0.1.0-alpha104 → 0.1.0-alpha106
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/field.d.ts +1 -0
- package/schema/field.js +1 -0
package/package.json
CHANGED
package/schema/field.d.ts
CHANGED
|
@@ -177,6 +177,7 @@ export interface IntegerEnumOptions extends FieldOptions {
|
|
|
177
177
|
deprecated?: IntEnumMap;
|
|
178
178
|
tsType?: string;
|
|
179
179
|
graphQLType?: string;
|
|
180
|
+
disableUnknownType?: boolean;
|
|
180
181
|
}
|
|
181
182
|
export declare class IntegerEnumField extends BaseField implements Field {
|
|
182
183
|
type: Type;
|
package/schema/field.js
CHANGED
|
@@ -602,6 +602,7 @@ class IntegerEnumField extends BaseField {
|
|
|
602
602
|
type: options.tsType,
|
|
603
603
|
graphQLType: options.graphQLType,
|
|
604
604
|
deprecatedIntEnumMap: options.deprecated,
|
|
605
|
+
disableUnknownType: options.disableUnknownType,
|
|
605
606
|
};
|
|
606
607
|
let count = 0;
|
|
607
608
|
for (const _ in options.map) {
|