@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowtop/ent",
3
- "version": "0.1.0-alpha104",
3
+ "version": "0.1.0-alpha106",
4
4
  "description": "snowtop ent framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
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) {