@snowtop/ent 0.1.0-alpha103 → 0.1.0-alpha105

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.
@@ -1,6 +1,6 @@
1
1
  export { gqlFieldOptions, gqlObjectOptions, gqlField, gqlArg, gqlArgType, gqlInputObjectType, gqlObjectType, gqlQuery, gqlMutation, gqlContextType, gqlConnection, GraphQLConnection, GQLCapture, gqlFileUpload, CustomType, } from "./graphql";
2
2
  export { GraphQLTime } from "./scalars/time";
3
- export { GraphQLOrderBy } from "./scalars/orderby";
3
+ export { GraphQLOrderByDirection } from "./scalars/orderby_direction";
4
4
  export { GraphQLPageInfo } from "./query/page_info";
5
5
  export { GraphQLEdge, GraphQLEdgeConnection } from "./query/edge_connection";
6
6
  export { GraphQLEdgeType, GraphQLConnectionType, } from "./query/connection_type";
package/graphql/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.transformUnionTypes = exports.encodeGQLID = exports.mustDecodeNullableIDFromGQLID = exports.mustDecodeIDFromGQLID = exports.nodeIDEncoder = exports.resolveID = exports.clearResolvers = exports.registerResolver = exports.EntNodeResolver = exports.GraphQLEdgeInterface = exports.GraphQLConnectionInterface = exports.GraphQLNodeInterface = exports.GraphQLConnectionType = exports.GraphQLEdgeType = exports.GraphQLEdgeConnection = exports.GraphQLPageInfo = exports.GraphQLOrderBy = exports.GraphQLTime = exports.gqlFileUpload = exports.GQLCapture = exports.gqlConnection = exports.gqlContextType = exports.gqlMutation = exports.gqlQuery = exports.gqlObjectType = exports.gqlInputObjectType = exports.gqlArgType = exports.gqlArg = exports.gqlField = void 0;
3
+ exports.transformUnionTypes = exports.encodeGQLID = exports.mustDecodeNullableIDFromGQLID = exports.mustDecodeIDFromGQLID = exports.nodeIDEncoder = exports.resolveID = exports.clearResolvers = exports.registerResolver = exports.EntNodeResolver = exports.GraphQLEdgeInterface = exports.GraphQLConnectionInterface = exports.GraphQLNodeInterface = exports.GraphQLConnectionType = exports.GraphQLEdgeType = exports.GraphQLEdgeConnection = exports.GraphQLPageInfo = exports.GraphQLOrderByDirection = exports.GraphQLTime = exports.gqlFileUpload = exports.GQLCapture = exports.gqlConnection = exports.gqlContextType = exports.gqlMutation = exports.gqlQuery = exports.gqlObjectType = exports.gqlInputObjectType = exports.gqlArgType = exports.gqlArg = exports.gqlField = void 0;
4
4
  var graphql_1 = require("./graphql");
5
5
  Object.defineProperty(exports, "gqlField", { enumerable: true, get: function () { return graphql_1.gqlField; } });
6
6
  Object.defineProperty(exports, "gqlArg", { enumerable: true, get: function () { return graphql_1.gqlArg; } });
@@ -15,8 +15,8 @@ Object.defineProperty(exports, "GQLCapture", { enumerable: true, get: function (
15
15
  Object.defineProperty(exports, "gqlFileUpload", { enumerable: true, get: function () { return graphql_1.gqlFileUpload; } });
16
16
  var time_1 = require("./scalars/time");
17
17
  Object.defineProperty(exports, "GraphQLTime", { enumerable: true, get: function () { return time_1.GraphQLTime; } });
18
- var orderby_1 = require("./scalars/orderby");
19
- Object.defineProperty(exports, "GraphQLOrderBy", { enumerable: true, get: function () { return orderby_1.GraphQLOrderBy; } });
18
+ var orderby_direction_1 = require("./scalars/orderby_direction");
19
+ Object.defineProperty(exports, "GraphQLOrderByDirection", { enumerable: true, get: function () { return orderby_direction_1.GraphQLOrderByDirection; } });
20
20
  var page_info_1 = require("./query/page_info");
21
21
  Object.defineProperty(exports, "GraphQLPageInfo", { enumerable: true, get: function () { return page_info_1.GraphQLPageInfo; } });
22
22
  var edge_connection_1 = require("./query/edge_connection");
@@ -0,0 +1,2 @@
1
+ import { GraphQLEnumType } from "graphql";
2
+ export declare const GraphQLOrderByDirection: GraphQLEnumType;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GraphQLOrderBy = void 0;
3
+ exports.GraphQLOrderByDirection = void 0;
4
4
  const graphql_1 = require("graphql");
5
- exports.GraphQLOrderBy = new graphql_1.GraphQLEnumType({
6
- name: "OrderBy",
5
+ exports.GraphQLOrderByDirection = new graphql_1.GraphQLEnumType({
6
+ name: "OrderByDirection",
7
7
  values: {
8
8
  ASC: {
9
9
  value: "asc",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowtop/ent",
3
- "version": "0.1.0-alpha103",
3
+ "version": "0.1.0-alpha105",
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;
@@ -1,2 +0,0 @@
1
- import { GraphQLEnumType } from "graphql";
2
- export declare const GraphQLOrderBy: GraphQLEnumType;