diff --git a/package.json b/package.json index 8fa69a330..2f6615ad9 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "eslint_d": "^9.1.2", "flow-bin": "^0.106.3", "flow-copy-source": "^2.0.9", - "graphql": ">=0.6 <15", + "graphql": ">=0.6 <16", "jest": "25.x", "lerna": "^3.18.4", "pg": ">=6.1.0 <9", @@ -58,5 +58,8 @@ "engines": { "node": ">=8.6", "yarn": ">=1.3.2" + }, + "resolutions": { + "graphql": "^15.4.0" } } diff --git a/packages/graphile-build-pg/src/plugins/PageInfoStartEndCursor.js b/packages/graphile-build-pg/src/plugins/PageInfoStartEndCursor.js index 25ed0101c..396bb2726 100644 --- a/packages/graphile-build-pg/src/plugins/PageInfoStartEndCursor.js +++ b/packages/graphile-build-pg/src/plugins/PageInfoStartEndCursor.js @@ -19,8 +19,10 @@ export default (function PageInfoStartEndCursor(builder) { ({ addDataGenerator }) => { addDataGenerator(() => ({ usesCursor: [true] })); return { - description: + description: build.wrapDescription( "When paginating backwards, the cursor to continue.", + "field" + ), type: Cursor, }; }, @@ -33,8 +35,10 @@ export default (function PageInfoStartEndCursor(builder) { ({ addDataGenerator }) => { addDataGenerator(() => ({ usesCursor: [true] })); return { - description: + description: build.wrapDescription( "When paginating forwards, the cursor to continue.", + "field" + ), type: Cursor, }; }, diff --git a/packages/graphile-build-pg/src/plugins/PgAllRows.js b/packages/graphile-build-pg/src/plugins/PgAllRows.js index cdb10ff5e..fa10c9e37 100644 --- a/packages/graphile-build-pg/src/plugins/PgAllRows.js +++ b/packages/graphile-build-pg/src/plugins/PgAllRows.js @@ -84,9 +84,12 @@ export default (async function PgAllRows( fieldName, ({ getDataFromParsedResolveInfoFragment }) => { return { - description: isConnection - ? `Reads and enables pagination through a set of \`${tableTypeName}\`.` - : `Reads a set of \`${tableTypeName}\`.`, + description: build.wrapDescription( + isConnection + ? `Reads and enables pagination through a set of \`${tableTypeName}\`.` + : `Reads a set of \`${tableTypeName}\`.`, + "field" + ), type: isConnection ? ConnectionType : new GraphQLList(new GraphQLNonNull(TableType)), diff --git a/packages/graphile-build-pg/src/plugins/PgBackwardRelationPlugin.js b/packages/graphile-build-pg/src/plugins/PgBackwardRelationPlugin.js index 63338c7c6..25adc12e2 100644 --- a/packages/graphile-build-pg/src/plugins/PgBackwardRelationPlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgBackwardRelationPlugin.js @@ -213,7 +213,10 @@ export default (function PgBackwardRelationPlugin( return { description: constraint.tags.backwardDescription || - `Reads a single \`${tableTypeName}\` that is related to this \`${foreignTableTypeName}\`.`, + build.wrapDescription( + `Reads a single \`${tableTypeName}\` that is related to this \`${foreignTableTypeName}\`.`, + "field" + ), type: gqlTableType, args: {}, resolve: (data, _args, resolveContext, resolveInfo) => { @@ -392,7 +395,10 @@ export default (function PgBackwardRelationPlugin( return { description: constraint.tags.backwardDescription || - `Reads and enables pagination through a set of \`${tableTypeName}\`.`, + build.wrapDescription( + `Reads and enables pagination through a set of \`${tableTypeName}\`.`, + "field" + ), type: isConnection ? new GraphQLNonNull(ConnectionType) : new GraphQLNonNull( diff --git a/packages/graphile-build-pg/src/plugins/PgConditionComputedColumnPlugin.js b/packages/graphile-build-pg/src/plugins/PgConditionComputedColumnPlugin.js index 968195ca7..6a81ba017 100644 --- a/packages/graphile-build-pg/src/plugins/PgConditionComputedColumnPlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgConditionComputedColumnPlugin.js @@ -84,7 +84,10 @@ export default (function PgConditionComputedColumnPlugin(builder) { [fieldName]: fieldWithHooks( fieldName, { - description: `Checks for equality with the object’s \`${fieldName}\` field.`, + description: build.wrapDescription( + `Checks for equality with the object’s \`${fieldName}\` field.`, + "field" + ), type: Type, }, { diff --git a/packages/graphile-build-pg/src/plugins/PgConnectionArgCondition.js b/packages/graphile-build-pg/src/plugins/PgConnectionArgCondition.js index 77c4f291d..478305766 100644 --- a/packages/graphile-build-pg/src/plugins/PgConnectionArgCondition.js +++ b/packages/graphile-build-pg/src/plugins/PgConnectionArgCondition.js @@ -26,7 +26,10 @@ export default (function PgConnectionArgCondition(builder) { newWithHooks( GraphQLInputObjectType, { - description: `A condition to be used against \`${tableTypeName}\` object types. All fields are tested for equality and combined with a logical ‘and.’`, + description: build.wrapDescription( + `A condition to be used against \`${tableTypeName}\` object types. All fields are tested for equality and combined with a logical ‘and.’`, + "type" + ), name: inflection.conditionType(inflection.tableType(table)), fields: context => { const { fieldWithHooks } = context; @@ -42,7 +45,10 @@ export default (function PgConnectionArgCondition(builder) { [fieldName]: fieldWithHooks( fieldName, { - description: `Checks for equality with the object’s \`${fieldName}\` field.`, + description: build.wrapDescription( + `Checks for equality with the object’s \`${fieldName}\` field.`, + "field" + ), type: pgGetGqlInputTypeByTypeIdAndModifier( attr.typeId, @@ -181,8 +187,10 @@ export default (function PgConnectionArgCondition(builder) { args, { condition: { - description: + description: build.wrapDescription( "A condition to be used in determining which values should be returned by the collection.", + "arg" + ), type: TableConditionType, }, }, diff --git a/packages/graphile-build-pg/src/plugins/PgConnectionArgFirstLastBeforeAfter.js b/packages/graphile-build-pg/src/plugins/PgConnectionArgFirstLastBeforeAfter.js index e805a6d2d..66d8ff10d 100644 --- a/packages/graphile-build-pg/src/plugins/PgConnectionArgFirstLastBeforeAfter.js +++ b/packages/graphile-build-pg/src/plugins/PgConnectionArgFirstLastBeforeAfter.js @@ -87,33 +87,46 @@ export default (function PgConnectionArgs(builder) { args, { first: { - description: "Only read the first `n` values of the set.", + description: build.wrapDescription( + "Only read the first `n` values of the set.", + "arg" + ), type: GraphQLInt, }, ...(isPgFieldConnection ? { last: { - description: "Only read the last `n` values of the set.", + description: build.wrapDescription( + "Only read the last `n` values of the set.", + "arg" + ), type: GraphQLInt, }, } : null), offset: { - description: isPgFieldConnection - ? "Skip the first `n` values from our `after` cursor, an alternative to cursor based pagination. May not be used with `last`." - : "Skip the first `n` values.", + description: build.wrapDescription( + isPgFieldConnection + ? "Skip the first `n` values from our `after` cursor, an alternative to cursor based pagination. May not be used with `last`." + : "Skip the first `n` values.", + "arg" + ), type: GraphQLInt, }, ...(isPgFieldConnection ? { before: { - description: + description: build.wrapDescription( "Read all values in the set before (above) this cursor.", + "arg" + ), type: Cursor, }, after: { - description: + description: build.wrapDescription( "Read all values in the set after (below) this cursor.", + "arg" + ), type: Cursor, }, } diff --git a/packages/graphile-build-pg/src/plugins/PgConnectionArgOrderBy.js b/packages/graphile-build-pg/src/plugins/PgConnectionArgOrderBy.js index 89f7ad252..eac3da3e9 100644 --- a/packages/graphile-build-pg/src/plugins/PgConnectionArgOrderBy.js +++ b/packages/graphile-build-pg/src/plugins/PgConnectionArgOrderBy.js @@ -26,7 +26,10 @@ export default (function PgConnectionArgOrderBy(builder, { orderByNullsLast }) { GraphQLEnumType, { name: inflection.orderByType(tableTypeName), - description: `Methods to use when ordering \`${tableTypeName}\`.`, + description: build.wrapDescription( + `Methods to use when ordering \`${tableTypeName}\`.`, + "type" + ), values: { NATURAL: { value: { @@ -174,7 +177,10 @@ export default (function PgConnectionArgOrderBy(builder, { orderByNullsLast }) { args, { orderBy: { - description: `The method to use when ordering \`${tableTypeName}\`.`, + description: build.wrapDescription( + `The method to use when ordering \`${tableTypeName}\`.`, + "arg" + ), type: new GraphQLList(new GraphQLNonNull(TableOrderByType)), }, }, diff --git a/packages/graphile-build-pg/src/plugins/PgConnectionTotalCount.js b/packages/graphile-build-pg/src/plugins/PgConnectionTotalCount.js index 5dad05676..5ace9639e 100644 --- a/packages/graphile-build-pg/src/plugins/PgConnectionTotalCount.js +++ b/packages/graphile-build-pg/src/plugins/PgConnectionTotalCount.js @@ -48,7 +48,10 @@ export default (function PgConnectionTotalCount(builder) { }; }); return { - description: `The count of *all* \`${nodeTypeName}\` you could get from the connection.`, + description: build.wrapDescription( + `The count of *all* \`${nodeTypeName}\` you could get from the connection.`, + "field" + ), type: new GraphQLNonNull(GraphQLInt), resolve(parent) { return ( diff --git a/packages/graphile-build-pg/src/plugins/PgForwardRelationPlugin.js b/packages/graphile-build-pg/src/plugins/PgForwardRelationPlugin.js index 39c23901f..cdab6a6bd 100644 --- a/packages/graphile-build-pg/src/plugins/PgForwardRelationPlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgForwardRelationPlugin.js @@ -178,7 +178,10 @@ export default (function PgForwardRelationPlugin(builder, { subscriptions }) { return { description: constraint.tags.forwardDescription || - `Reads a single \`${foreignTableTypeName}\` that is related to this \`${tableTypeName}\`.`, + build.wrapDescription( + `Reads a single \`${foreignTableTypeName}\` that is related to this \`${tableTypeName}\`.`, + "field" + ), type: gqlForeignTableType, // Nullable since RLS may forbid fetching resolve: (rawData, _args, resolveContext, resolveInfo) => { const data = isMutationPayload ? rawData.data : rawData; diff --git a/packages/graphile-build-pg/src/plugins/PgJWTPlugin.js b/packages/graphile-build-pg/src/plugins/PgJWTPlugin.js index d4a77452a..9e98db16d 100644 --- a/packages/graphile-build-pg/src/plugins/PgJWTPlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgJWTPlugin.js @@ -66,8 +66,10 @@ export default (function PgJWTPlugin( GraphQLScalarType, { name: compositeTypeName, - description: + description: build.wrapDescription( "A JSON Web Token defined by [RFC 7519](https://tools.ietf.org/html/rfc7519) which securely represents claims between two parties.", + "type" + ), serialize(value) { const token = attributes.reduce((memo, attr) => { if (attr.name === "exp") { diff --git a/packages/graphile-build-pg/src/plugins/PgMutationCreatePlugin.js b/packages/graphile-build-pg/src/plugins/PgMutationCreatePlugin.js index d150b9bea..2b36be463 100644 --- a/packages/graphile-build-pg/src/plugins/PgMutationCreatePlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgMutationCreatePlugin.js @@ -77,17 +77,25 @@ export default (function PgMutationCreatePlugin( GraphQLInputObjectType, { name: inflection.createInputType(table), - description: `All input for the create \`${tableTypeName}\` mutation.`, + description: build.wrapDescription( + `All input for the create \`${tableTypeName}\` mutation.`, + "type" + ), fields: { clientMutationId: { - description: + description: build.wrapDescription( "An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client.", + "field" + ), type: GraphQLString, }, ...(TableInput ? { [inflection.tableFieldName(table)]: { - description: `The \`${tableTypeName}\` to be created by this mutation.`, + description: build.wrapDescription( + `The \`${tableTypeName}\` to be created by this mutation.`, + "field" + ), type: new GraphQLNonNull(TableInput), }, } @@ -112,13 +120,18 @@ export default (function PgMutationCreatePlugin( GraphQLObjectType, { name: inflection.createPayloadType(table), - description: `The output of our create \`${tableTypeName}\` mutation.`, + description: build.wrapDescription( + `The output of our create \`${tableTypeName}\` mutation.`, + "type" + ), fields: ({ fieldWithHooks }) => { const tableName = inflection.tableFieldName(table); return { clientMutationId: { - description: + description: build.wrapDescription( "The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.", + "field" + ), type: GraphQLString, }, [tableName]: pgField( @@ -126,7 +139,10 @@ export default (function PgMutationCreatePlugin( fieldWithHooks, tableName, { - description: `The \`${tableTypeName}\` that was created by this mutation.`, + description: build.wrapDescription( + `The \`${tableTypeName}\` that was created by this mutation.`, + "field" + ), type: Table, }, { @@ -168,7 +184,10 @@ export default (function PgMutationCreatePlugin( !omit(attr, "create") ); return { - description: `Creates a single \`${tableTypeName}\`.`, + description: build.wrapDescription( + `Creates a single \`${tableTypeName}\`.`, + "field" + ), type: PayloadType, args: { input: { diff --git a/packages/graphile-build-pg/src/plugins/PgMutationPayloadEdgePlugin.js b/packages/graphile-build-pg/src/plugins/PgMutationPayloadEdgePlugin.js index 670fba45f..a9ce9e32b 100644 --- a/packages/graphile-build-pg/src/plugins/PgMutationPayloadEdgePlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgMutationPayloadEdgePlugin.js @@ -80,12 +80,18 @@ export default (function PgMutationPayloadEdgePlugin( fieldWithHooks, fieldName, { - description: `An edge for our \`${tableTypeName}\`. May be used by Relay 1.`, + description: build.wrapDescription( + `An edge for our \`${tableTypeName}\`. May be used by Relay 1.`, + "field" + ), type: TableEdgeType, args: canOrderBy ? { orderBy: { - description: `The method to use when ordering \`${tableTypeName}\`.`, + description: build.wrapDescription( + `The method to use when ordering \`${tableTypeName}\`.`, + "arg" + ), type: new GraphQLList( new GraphQLNonNull(TableOrderByType) ), diff --git a/packages/graphile-build-pg/src/plugins/PgMutationUpdateDeletePlugin.js b/packages/graphile-build-pg/src/plugins/PgMutationUpdateDeletePlugin.js index 52f351ac2..a7d173e20 100644 --- a/packages/graphile-build-pg/src/plugins/PgMutationUpdateDeletePlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgMutationUpdateDeletePlugin.js @@ -204,7 +204,10 @@ returning *`; ? "deletePayloadType" : "updatePayloadType" ](table), - description: `The output of our ${mode} \`${tableTypeName}\` mutation.`, + description: build.wrapDescription( + `The output of our ${mode} \`${tableTypeName}\` mutation.`, + "type" + ), fields: ({ fieldWithHooks }) => { const tableName = inflection.tableFieldName(table); // This should really be `-node-id` but for compatibility with PostGraphQL v3 we haven't made that change. @@ -214,8 +217,10 @@ returning *`; return Object.assign( { clientMutationId: { - description: + description: build.wrapDescription( "The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.", + "field" + ), type: GraphQLString, }, [tableName]: pgField( @@ -223,7 +228,10 @@ returning *`; fieldWithHooks, tableName, { - description: `The \`${tableTypeName}\` that was ${mode}d by this mutation.`, + description: build.wrapDescription( + `The \`${tableTypeName}\` that was ${mode}d by this mutation.`, + "field" + ), type: Table, }, {}, @@ -296,7 +304,10 @@ returning *`; const InputType = newWithHooks( GraphQLInputObjectType, { - description: `All input for the \`${fieldName}\` mutation.`, + description: build.wrapDescription( + `All input for the \`${fieldName}\` mutation.`, + "type" + ), name: inflection[ mode === "update" ? "updateNodeInputType" @@ -305,12 +316,17 @@ returning *`; fields: Object.assign( { clientMutationId: { - description: + description: build.wrapDescription( "An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client.", + "field" + ), type: GraphQLString, }, [nodeIdFieldName]: { - description: `The globally unique \`ID\` which will identify a single \`${tableTypeName}\` to be ${mode}d.`, + description: build.wrapDescription( + `The globally unique \`ID\` which will identify a single \`${tableTypeName}\` to be ${mode}d.`, + "field" + ), type: new GraphQLNonNull(GraphQLID), }, }, @@ -319,7 +335,10 @@ returning *`; [inflection.patchField( inflection.tableFieldName(table) )]: { - description: `An object where the defined keys will be set on the \`${tableTypeName}\` being ${mode}d.`, + description: build.wrapDescription( + `An object where the defined keys will be set on the \`${tableTypeName}\` being ${mode}d.`, + "field" + ), type: new GraphQLNonNull(TablePatch), }, } @@ -355,10 +374,12 @@ returning *`; getDataFromParsedResolveInfoFragment, } = context; return { - description: + description: build.wrapDescription( mode === "update" ? `Updates a single \`${tableTypeName}\` using its globally unique id and a patch.` : `Deletes a single \`${tableTypeName}\` using its globally unique id.`, + "field" + ), type: PayloadType, args: { input: { @@ -450,7 +471,10 @@ returning *`; const InputType = newWithHooks( GraphQLInputObjectType, { - description: `All input for the \`${fieldName}\` mutation.`, + description: build.wrapDescription( + `All input for the \`${fieldName}\` mutation.`, + "type" + ), name: inflection[ mode === "update" ? "updateByKeysInputType" @@ -467,7 +491,10 @@ returning *`; [inflection.patchField( inflection.tableFieldName(table) )]: { - description: `An object where the defined keys will be set on the \`${tableTypeName}\` being ${mode}d.`, + description: build.wrapDescription( + `An object where the defined keys will be set on the \`${tableTypeName}\` being ${mode}d.`, + "field" + ), type: new GraphQLNonNull(TablePatch), }, } @@ -516,10 +543,12 @@ returning *`; getDataFromParsedResolveInfoFragment, } = context; return { - description: + description: build.wrapDescription( mode === "update" ? `Updates a single \`${tableTypeName}\` using a unique key and a patch.` : `Deletes a single \`${tableTypeName}\` using a unique key.`, + "field" + ), type: PayloadType, args: { input: { diff --git a/packages/graphile-build-pg/src/plugins/PgRecordFunctionConnectionPlugin.js b/packages/graphile-build-pg/src/plugins/PgRecordFunctionConnectionPlugin.js index 6d3200b65..7aaf607f5 100644 --- a/packages/graphile-build-pg/src/plugins/PgRecordFunctionConnectionPlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgRecordFunctionConnectionPlugin.js @@ -55,7 +55,10 @@ export default (function PgRecordFunctionConnectionPlugin( GraphQLObjectType, { name: inflection.recordFunctionEdge(proc), - description: `A \`${NodeType.name}\` edge in the connection.`, + description: build.wrapDescription( + `A \`${NodeType.name}\` edge in the connection.`, + "type" + ), fields: ({ fieldWithHooks }) => { return { cursor: fieldWithHooks( @@ -65,7 +68,10 @@ export default (function PgRecordFunctionConnectionPlugin( usesCursor: [true], })); return { - description: "A cursor for use in pagination.", + description: build.wrapDescription( + "A cursor for use in pagination.", + "field" + ), type: Cursor, resolve(data) { return base64(JSON.stringify(data.__cursor)); @@ -81,7 +87,10 @@ export default (function PgRecordFunctionConnectionPlugin( fieldWithHooks, "node", { - description: `The \`${NodeType.name}\` at the end of the edge.`, + description: build.wrapDescription( + `The \`${NodeType.name}\` at the end of the edge.`, + "field" + ), type: nullableIf( !pgForbidSetofFunctionsToReturnNull, NodeType @@ -119,11 +128,17 @@ export default (function PgRecordFunctionConnectionPlugin( GraphQLObjectType, { name: inflection.recordFunctionConnection(proc), - description: `A connection to a list of \`${NodeType.name}\` values.`, + description: build.wrapDescription( + `A connection to a list of \`${NodeType.name}\` values.`, + "type" + ), fields: ({ fieldWithHooks }) => { return { nodes: pgField(build, fieldWithHooks, "nodes", { - description: `A list of \`${NodeType.name}\` objects.`, + description: build.wrapDescription( + `A list of \`${NodeType.name}\` objects.`, + "field" + ), type: new GraphQLNonNull( new GraphQLList( nullableIf(!pgForbidSetofFunctionsToReturnNull, NodeType) @@ -139,7 +154,10 @@ export default (function PgRecordFunctionConnectionPlugin( fieldWithHooks, "edges", { - description: `A list of edges which contains the \`${NodeType.name}\` and cursor to aid in pagination.`, + description: build.wrapDescription( + `A list of edges which contains the \`${NodeType.name}\` and cursor to aid in pagination.`, + "field" + ), type: new GraphQLNonNull( new GraphQLList(new GraphQLNonNull(EdgeType)) ), diff --git a/packages/graphile-build-pg/src/plugins/PgRecordReturnTypesPlugin.js b/packages/graphile-build-pg/src/plugins/PgRecordReturnTypesPlugin.js index a32f9418f..330bad118 100644 --- a/packages/graphile-build-pg/src/plugins/PgRecordReturnTypesPlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgRecordReturnTypesPlugin.js @@ -78,9 +78,12 @@ export default (function PgRecordReturnTypesPlugin(builder) { GraphQLObjectType, { name: inflection.recordFunctionReturnType(proc), - description: `The return type of our \`${procFieldName}\` ${ - isMutation ? "mutation" : "query" - }.`, + description: build.wrapDescription( + `The return type of our \`${procFieldName}\` ${ + isMutation ? "mutation" : "query" + }.`, + "type" + ), fields: ({ fieldWithHooks }) => { return outputArgNames.reduce((memo, outputArgName, idx) => { const fieldName = inflection.functionOutputFieldName( diff --git a/packages/graphile-build-pg/src/plugins/PgRowNode.js b/packages/graphile-build-pg/src/plugins/PgRowNode.js index c732db88a..4d3cacb0f 100644 --- a/packages/graphile-build-pg/src/plugins/PgRowNode.js +++ b/packages/graphile-build-pg/src/plugins/PgRowNode.js @@ -153,11 +153,17 @@ export default (async function PgRowNode(builder, { subscriptions }) { fieldName, ({ getDataFromParsedResolveInfoFragment }) => { return { - description: `Reads a single \`${TableType.name}\` using its globally unique \`ID\`.`, + description: build.wrapDescription( + `Reads a single \`${TableType.name}\` using its globally unique \`ID\`.`, + "field" + ), type: TableType, args: { [nodeIdFieldName]: { - description: `The globally unique \`ID\` to be used in selecting a single \`${TableType.name}\`.`, + description: build.wrapDescription( + `The globally unique \`ID\` to be used in selecting a single \`${TableType.name}\`.`, + "arg" + ), type: new GraphQLNonNull(GraphQLID), }, }, diff --git a/packages/graphile-build-pg/src/plugins/PgScalarFunctionConnectionPlugin.js b/packages/graphile-build-pg/src/plugins/PgScalarFunctionConnectionPlugin.js index 18234e551..39b1fbe51 100644 --- a/packages/graphile-build-pg/src/plugins/PgScalarFunctionConnectionPlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgScalarFunctionConnectionPlugin.js @@ -53,7 +53,10 @@ export default (function PgScalarFunctionConnectionPlugin(builder) { GraphQLObjectType, { name: inflection.scalarFunctionEdge(proc), - description: `A \`${NodeType.name}\` edge in the connection.`, + description: build.wrapDescription( + `A \`${NodeType.name}\` edge in the connection.`, + "type" + ), fields: ({ fieldWithHooks }) => { return { cursor: fieldWithHooks( @@ -63,7 +66,10 @@ export default (function PgScalarFunctionConnectionPlugin(builder) { usesCursor: [true], })); return { - description: "A cursor for use in pagination.", + description: build.wrapDescription( + "A cursor for use in pagination.", + "field" + ), type: Cursor, resolve(data) { return base64(JSON.stringify(data.__cursor)); @@ -75,7 +81,10 @@ export default (function PgScalarFunctionConnectionPlugin(builder) { } ), node: { - description: `The \`${NodeType.name}\` at the end of the edge.`, + description: build.wrapDescription( + `The \`${NodeType.name}\` at the end of the edge.`, + "field" + ), type: NodeType, resolve(data) { return data.value; @@ -104,11 +113,17 @@ export default (function PgScalarFunctionConnectionPlugin(builder) { GraphQLObjectType, { name: inflection.scalarFunctionConnection(proc), - description: `A connection to a list of \`${NodeType.name}\` values.`, + description: build.wrapDescription( + `A connection to a list of \`${NodeType.name}\` values.`, + "type" + ), fields: ({ fieldWithHooks }) => { return { nodes: pgField(build, fieldWithHooks, "nodes", { - description: `A list of \`${NodeType.name}\` objects.`, + description: build.wrapDescription( + `A list of \`${NodeType.name}\` objects.`, + "field" + ), type: new GraphQLNonNull(new GraphQLList(NodeType)), resolve(data) { return data.data.map(entry => entry.value); @@ -119,7 +134,10 @@ export default (function PgScalarFunctionConnectionPlugin(builder) { fieldWithHooks, "edges", { - description: `A list of edges which contains the \`${NodeType.name}\` and cursor to aid in pagination.`, + description: build.wrapDescription( + `A list of edges which contains the \`${NodeType.name}\` and cursor to aid in pagination.`, + "field" + ), type: new GraphQLNonNull( new GraphQLList(new GraphQLNonNull(EdgeType)) ), diff --git a/packages/graphile-build-pg/src/plugins/PgTablesPlugin.js b/packages/graphile-build-pg/src/plugins/PgTablesPlugin.js index 2a3fd8cbc..55b282bdb 100644 --- a/packages/graphile-build-pg/src/plugins/PgTablesPlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgTablesPlugin.js @@ -128,8 +128,10 @@ export default (function PgTablesPlugin( }; }); fields[nodeIdFieldName] = { - description: + description: build.wrapDescription( "A globally unique identifier. Can be used in various places throughout the system to identify this single value.", + "field" + ), type: new GraphQLNonNull(GraphQLID), resolve(data) { const identifiers = data.__identifiers; @@ -197,7 +199,10 @@ export default (function PgTablesPlugin( newWithHooks( GraphQLInputObjectType, { - description: `An input for mutations affecting \`${tableTypeName}\``, + description: build.wrapDescription( + `An input for mutations affecting \`${tableTypeName}\``, + "type" + ), name: inflection.inputType(TableType), }, { @@ -234,7 +239,10 @@ export default (function PgTablesPlugin( TablePatchType = newWithHooks( GraphQLInputObjectType, { - description: `Represents an update to a \`${tableTypeName}\`. Fields that are set will be updated.`, + description: build.wrapDescription( + `Represents an update to a \`${tableTypeName}\`. Fields that are set will be updated.`, + "type" + ), name: inflection.patchType(TableType), }, { @@ -270,7 +278,10 @@ export default (function PgTablesPlugin( TableBaseInputType = newWithHooks( GraphQLInputObjectType, { - description: `An input representation of \`${tableTypeName}\` with nullable fields.`, + description: build.wrapDescription( + `An input representation of \`${tableTypeName}\` with nullable fields.`, + "type" + ), name: inflection.baseInputType(TableType), }, { @@ -350,7 +361,10 @@ export default (function PgTablesPlugin( const EdgeType = newWithHooks( GraphQLObjectType, { - description: `A \`${tableTypeName}\` edge in the connection.`, + description: build.wrapDescription( + `A \`${tableTypeName}\` edge in the connection.`, + "type" + ), name: inflection.edge(TableType.name), fields: ({ fieldWithHooks }) => { return { @@ -366,7 +380,10 @@ export default (function PgTablesPlugin( }, })); return { - description: "A cursor for use in pagination.", + description: build.wrapDescription( + "A cursor for use in pagination.", + "field" + ), type: Cursor, resolve(data) { return ( @@ -385,7 +402,10 @@ export default (function PgTablesPlugin( fieldWithHooks, "node", { - description: `The \`${tableTypeName}\` at the end of the edge.`, + description: build.wrapDescription( + `The \`${tableTypeName}\` at the end of the edge.`, + "field" + ), type: nullableIf( !pgForbidSetofFunctionsToReturnNull, TableType @@ -446,7 +466,10 @@ export default (function PgTablesPlugin( newWithHooks( GraphQLObjectType, { - description: `A connection to a list of \`${tableTypeName}\` values.`, + description: build.wrapDescription( + `A connection to a list of \`${tableTypeName}\` values.`, + "type" + ), name: inflection.connection(TableType.name), fields: ({ recurseDataGeneratorsForField, fieldWithHooks }) => { recurseDataGeneratorsForField("pageInfo", true); @@ -456,7 +479,10 @@ export default (function PgTablesPlugin( fieldWithHooks, "nodes", { - description: `A list of \`${tableTypeName}\` objects.`, + description: build.wrapDescription( + `A list of \`${tableTypeName}\` objects.`, + "field" + ), type: new GraphQLNonNull( new GraphQLList( nullableIf( @@ -509,7 +535,10 @@ export default (function PgTablesPlugin( fieldWithHooks, "edges", { - description: `A list of edges which contains the \`${tableTypeName}\` and cursor to aid in pagination.`, + description: build.wrapDescription( + `A list of edges which contains the \`${tableTypeName}\` and cursor to aid in pagination.`, + "field" + ), type: new GraphQLNonNull( new GraphQLList(new GraphQLNonNull(EdgeType)) ), @@ -530,7 +559,10 @@ export default (function PgTablesPlugin( } ), pageInfo: PageInfo && { - description: "Information to aid in pagination.", + description: build.wrapDescription( + "Information to aid in pagination.", + "field" + ), type: new GraphQLNonNull(PageInfo), resolve(data) { return data; diff --git a/packages/graphile-build-pg/src/plugins/PgTypesPlugin.js b/packages/graphile-build-pg/src/plugins/PgTypesPlugin.js index c9373cd2c..9f95dc319 100644 --- a/packages/graphile-build-pg/src/plugins/PgTypesPlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgTypesPlugin.js @@ -150,28 +150,36 @@ export default (function PgTypesPlugin( const makeIntervalFields = () => { return { seconds: { - description: + description: build.wrapDescription( "A quantity of seconds. This is the only non-integer field, as all the other fields will dump their overflow into a smaller unit of time. Intervals don’t have a smaller unit than seconds.", + "field" + ), type: GraphQLFloat, }, minutes: { - description: "A quantity of minutes.", + description: build.wrapDescription( + "A quantity of minutes.", + "field" + ), type: GraphQLInt, }, hours: { - description: "A quantity of hours.", + description: build.wrapDescription("A quantity of hours.", "field"), type: GraphQLInt, }, days: { - description: "A quantity of days.", + description: build.wrapDescription("A quantity of days.", "field"), type: GraphQLInt, }, months: { - description: "A quantity of months.", + description: build.wrapDescription( + "A quantity of months.", + "field" + ), type: GraphQLInt, }, years: { - description: "A quantity of years.", + description: build.wrapDescription("A quantity of years.", "field"), type: GraphQLInt, }, }; @@ -180,8 +188,10 @@ export default (function PgTypesPlugin( GraphQLObjectType, { name: inflection.builtin("Interval"), - description: + description: build.wrapDescription( "An interval of time that has passed where the smallest distinct unit is a second.", + "type" + ), fields: makeIntervalFields(), }, { @@ -194,8 +204,10 @@ export default (function PgTypesPlugin( GraphQLInputObjectType, { name: inflection.inputType(inflection.builtin("Interval")), - description: + description: build.wrapDescription( "An interval of time that has passed where the smallest distinct unit is a second.", + "type" + ), fields: makeIntervalFields(), }, { @@ -226,11 +238,17 @@ export default (function PgTypesPlugin( const BigFloat = stringType( inflection.builtin("BigFloat"), - "A floating point number that requires more precision than IEEE 754 binary 64" + build.wrapDescription( + "A floating point number that requires more precision than IEEE 754 binary 64", + "type" + ) ); const BitString = stringType( inflection.builtin("BitString"), - "A string representing a series of binary bits" + build.wrapDescription( + "A string representing a series of binary bits", + "type" + ) ); addType(BigFloat, "graphile-build-pg built-in"); addType(BitString, "graphile-build-pg built-in"); @@ -369,23 +387,35 @@ export default (function PgTypesPlugin( */ const SimpleDate = stringType( inflection.builtin("Date"), - "The day, does not include a time." + build.wrapDescription("The day, does not include a time.", "type") ); const SimpleDatetime = stringType( inflection.builtin("Datetime"), - "A point in time as described by the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone." + build.wrapDescription( + "A point in time as described by the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone.", + "type" + ) ); const SimpleTime = stringType( inflection.builtin("Time"), - "The exact time of day, does not include the date. May or may not have a timezone offset." + build.wrapDescription( + "The exact time of day, does not include the date. May or may not have a timezone offset.", + "type" + ) ); const SimpleJSON = stringType( inflection.builtin("JSON"), - "A JavaScript object encoded in the JSON format as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf)." + build.wrapDescription( + "A JavaScript object encoded in the JSON format as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).", + "type" + ) ); const SimpleUUID = stringType( inflection.builtin("UUID"), - "A universally unique identifier as defined by [RFC 4122](https://tools.ietf.org/html/rfc4122).", + build.wrapDescription( + "A universally unique identifier as defined by [RFC 4122](https://tools.ietf.org/html/rfc4122).", + "type" + ), string => { if ( !/^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$/i.test( @@ -401,61 +431,97 @@ export default (function PgTypesPlugin( ); const InetType = stringType( inflection.builtin("InternetAddress"), - "An IPv4 or IPv6 host address, and optionally its subnet." + build.wrapDescription( + "An IPv4 or IPv6 host address, and optionally its subnet.", + "type" + ) ); const RegProcType = stringType( inflection.builtin("RegProc"), - "A builtin object identifier type for a function name" + build.wrapDescription( + "A builtin object identifier type for a function name", + "type" + ) ); const RegProcedureType = stringType( inflection.builtin("RegProcedure"), - "A builtin object identifier type for a function with argument types" + build.wrapDescription( + "A builtin object identifier type for a function with argument types", + "type" + ) ); const RegOperType = stringType( inflection.builtin("RegOper"), - "A builtin object identifier type for an operator" + build.wrapDescription( + "A builtin object identifier type for an operator", + "type" + ) ); const RegOperatorType = stringType( inflection.builtin("RegOperator"), - "A builtin object identifier type for an operator with argument types" + build.wrapDescription( + "A builtin object identifier type for an operator with argument types", + "type" + ) ); const RegClassType = stringType( inflection.builtin("RegClass"), - "A builtin object identifier type for a relation name" + build.wrapDescription( + "A builtin object identifier type for a relation name", + "type" + ) ); const RegTypeType = stringType( inflection.builtin("RegType"), - "A builtin object identifier type for a data type name" + build.wrapDescription( + "A builtin object identifier type for a data type name", + "type" + ) ); const RegRoleType = stringType( inflection.builtin("RegRole"), - "A builtin object identifier type for a role name" + build.wrapDescription( + "A builtin object identifier type for a role name", + "type" + ) ); const RegNamespaceType = stringType( inflection.builtin("RegNamespace"), - "A builtin object identifier type for a namespace name" + build.wrapDescription( + "A builtin object identifier type for a namespace name", + "type" + ) ); const RegConfigType = stringType( inflection.builtin("RegConfig"), - "A builtin object identifier type for a text search configuration" + build.wrapDescription( + "A builtin object identifier type for a text search configuration", + "type" + ) ); const RegDictionaryType = stringType( inflection.builtin("RegDictionary"), - "A builtin object identifier type for a text search dictionary" + build.wrapDescription( + "A builtin object identifier type for a text search dictionary", + "type" + ) ); const CidrType = pgUseCustomNetworkScalars ? stringType( inflection.builtin("CidrAddress"), - "An IPv4 or IPv6 CIDR address." + build.wrapDescription("An IPv4 or IPv6 CIDR address.", "type") ) : GraphQLString; const MacAddrType = pgUseCustomNetworkScalars - ? stringType(inflection.builtin("MacAddress"), "A 6-byte MAC address.") + ? stringType( + inflection.builtin("MacAddress"), + build.wrapDescription("A 6-byte MAC address.", "type") + ) : GraphQLString; const MacAddr8Type = pgUseCustomNetworkScalars ? stringType( inflection.builtin("MacAddress8"), - "An 8-byte MAC address." + build.wrapDescription("An 8-byte MAC address.", "type") ) : GraphQLString; @@ -524,7 +590,10 @@ export default (function PgTypesPlugin( const oidLookup = { 20: stringType( inflection.builtin("BigInt"), - "A signed eight-byte integer. The upper big integer values are greater than the max value for a JavaScript number. Therefore all big integers will be output as strings and not numbers." + build.wrapDescription( + "A signed eight-byte integer. The upper big integer values are greater than the max value for a JavaScript number. Therefore all big integers will be output as strings and not numbers.", + "type" + ) ), // bitint - even though this is int8, it's too big for JS int, so cast to string. 21: GraphQLInt, // int2 23: GraphQLInt, // int4 @@ -740,16 +809,23 @@ export default (function PgTypesPlugin( GraphQLObjectType, { name: inflection.rangeBoundType(gqlRangeSubType.name), - description: + description: build.wrapDescription( "The value at one end of a range. A range can either include this value, or not.", + "type" + ), fields: { value: { - description: "The value at one end of our range.", + description: build.wrapDescription( + "The value at one end of our range.", + "field" + ), type: new GraphQLNonNull(gqlRangeSubType), }, inclusive: { - description: + description: build.wrapDescription( "Whether or not the value of this bound is included in the range.", + "field" + ), type: new GraphQLNonNull(GraphQLBoolean), }, }, @@ -765,16 +841,23 @@ export default (function PgTypesPlugin( GraphQLInputObjectType, { name: inflection.inputType(RangeBound.name), - description: + description: build.wrapDescription( "The value at one end of a range. A range can either include this value, or not.", + "type" + ), fields: { value: { - description: "The value at one end of our range.", + description: build.wrapDescription( + "The value at one end of our range.", + "field" + ), type: new GraphQLNonNull(gqlRangeInputSubType), }, inclusive: { - description: + description: build.wrapDescription( "Whether or not the value of this bound is included in the range.", + "field" + ), type: new GraphQLNonNull(GraphQLBoolean), }, }, @@ -790,14 +873,23 @@ export default (function PgTypesPlugin( GraphQLObjectType, { name: inflection.rangeType(gqlRangeSubType.name), - description: `A range of \`${gqlRangeSubType.name}\`.`, + description: build.wrapDescription( + `A range of \`${gqlRangeSubType.name}\`.`, + "type" + ), fields: { start: { - description: "The starting bound of our range.", + description: build.wrapDescription( + "The starting bound of our range.", + "field" + ), type: RangeBound, }, end: { - description: "The ending bound of our range.", + description: build.wrapDescription( + "The ending bound of our range.", + "field" + ), type: RangeBound, }, }, @@ -813,14 +905,23 @@ export default (function PgTypesPlugin( GraphQLInputObjectType, { name: inflection.inputType(Range.name), - description: `A range of \`${gqlRangeSubType.name}\`.`, + description: build.wrapDescription( + `A range of \`${gqlRangeSubType.name}\`.`, + "type" + ), fields: { start: { - description: "The starting bound of our range.", + description: build.wrapDescription( + "The starting bound of our range.", + "field" + ), type: RangeBoundInput, }, end: { - description: "The ending bound of our range.", + description: build.wrapDescription( + "The ending bound of our range.", + "field" + ), type: RangeBoundInput, }, }, @@ -1222,7 +1323,6 @@ end`; pgRegisterGqlInputTypeByTypeId, pg2GqlMapper, pgSql: sql, - graphql, } = build; // Check we have the hstore extension @@ -1247,7 +1347,7 @@ end`; // We're going to use our own special HStore type for this so that we get // better validation; but you could just as easily use JSON directly if you // wanted to. - const GraphQLHStoreType = makeGraphQLHstoreType(graphql, hstoreTypeName); + const GraphQLHStoreType = makeGraphQLHstoreType(build, hstoreTypeName); // Now register the hstore type with the type system for both output and input. pgRegisterGqlTypeByTypeId(hstoreType.id, () => GraphQLHStoreType); @@ -1312,8 +1412,10 @@ end`; } return new GraphQLObjectType({ name: inflection.builtin("Line"), - description: + description: build.wrapDescription( "An infinite line that passes through points 'a' and 'b'.", + "type" + ), fields: { a: { type: Point }, b: { type: Point }, @@ -1324,8 +1426,10 @@ end`; const PointInput = pgGetGqlInputTypeByTypeIdAndModifier("600", null); return new GraphQLInputObjectType({ name: inflection.builtin("LineInput"), - description: + description: build.wrapDescription( "An infinite line that passes through points 'a' and 'b'.", + "type" + ), fields: { a: { type: PointInput }, b: { type: PointInput }, @@ -1358,7 +1462,10 @@ end`; const Point = pgGetGqlTypeByTypeIdAndModifier("600", null); return new GraphQLObjectType({ name: inflection.builtin("LineSegment"), - description: "An finite line between points 'a' and 'b'.", + description: build.wrapDescription( + "An finite line between points 'a' and 'b'.", + "type" + ), fields: { a: { type: Point }, b: { type: Point }, @@ -1369,7 +1476,10 @@ end`; const PointInput = pgGetGqlInputTypeByTypeIdAndModifier("600", null); return new GraphQLInputObjectType({ name: inflection.builtin("LineSegmentInput"), - description: "An finite line between points 'a' and 'b'.", + description: build.wrapDescription( + "An finite line between points 'a' and 'b'.", + "type" + ), fields: { a: { type: PointInput }, b: { type: PointInput }, @@ -1400,8 +1510,10 @@ end`; const Point = pgGetGqlTypeByTypeIdAndModifier("600", null); return new GraphQLObjectType({ name: inflection.builtin("Box"), - description: + description: build.wrapDescription( "A rectangular box defined by two opposite corners 'a' and 'b'", + "type" + ), fields: { a: { type: Point }, b: { type: Point }, @@ -1412,8 +1524,10 @@ end`; const PointInput = pgGetGqlInputTypeByTypeIdAndModifier("600", null); return new GraphQLInputObjectType({ name: inflection.builtin("BoxInput"), - description: + description: build.wrapDescription( "A rectangular box defined by two opposite corners 'a' and 'b'", + "type" + ), fields: { a: { type: PointInput }, b: { type: PointInput }, @@ -1444,14 +1558,19 @@ end`; const Point = pgGetGqlTypeByTypeIdAndModifier("600", null); return new GraphQLObjectType({ name: inflection.builtin("Path"), - description: "A path (open or closed) made up of points", + description: build.wrapDescription( + "A path (open or closed) made up of points", + "type" + ), fields: { points: { type: new GraphQLList(Point), }, isOpen: { - description: + description: build.wrapDescription( "True if this is a closed path (similar to a polygon), false otherwise.", + "field" + ), type: GraphQLBoolean, }, }, @@ -1461,14 +1580,19 @@ end`; const PointInput = pgGetGqlInputTypeByTypeIdAndModifier("600", null); return new GraphQLInputObjectType({ name: inflection.builtin("PathInput"), - description: "A path (open or closed) made up of points", + description: build.wrapDescription( + "A path (open or closed) made up of points", + "type" + ), fields: { points: { type: new GraphQLList(PointInput), }, isOpen: { - description: + description: build.wrapDescription( "True if this is a closed path (similar to a polygon), false otherwise.", + "field" + ), type: GraphQLBoolean, }, }, @@ -1610,7 +1734,8 @@ end`; /* End of geometric types */ }: Plugin); -function makeGraphQLHstoreType(graphql, hstoreTypeName) { +function makeGraphQLHstoreType(build, hstoreTypeName) { + const { graphql } = build; const { GraphQLScalarType, Kind } = graphql; function isValidHstoreObject(obj) { @@ -1709,8 +1834,10 @@ function makeGraphQLHstoreType(graphql, hstoreTypeName) { // TODO: use newWithHooks instead const GraphQLHStore = new GraphQLScalarType({ name: hstoreTypeName, - description: + description: build.wrapDescription( "A set of key/value pairs, keys are strings, values may be a string or null. Exposed as a JSON object.", + "type" + ), serialize: identity, parseValue: identityWithCheck, parseLiteral, diff --git a/packages/graphile-build-pg/src/plugins/makeProcField.js b/packages/graphile-build-pg/src/plugins/makeProcField.js index 54f6a2355..1c5338939 100644 --- a/packages/graphile-build-pg/src/plugins/makeProcField.js +++ b/packages/graphile-build-pg/src/plugins/makeProcField.js @@ -481,9 +481,12 @@ export default function makeProcField( GraphQLObjectType, { name: inflection.functionPayloadType(proc), - description: `The output of our \`${inflection.functionMutationName( - proc - )}\` mutation.`, + description: build.wrapDescription( + `The output of our \`${inflection.functionMutationName( + proc + )}\` mutation.`, + "type" + ), fields: ({ fieldWithHooks }) => { return Object.assign( {}, @@ -538,9 +541,12 @@ export default function makeProcField( GraphQLInputObjectType, { name: inflection.functionInputType(proc), - description: `All input for the \`${inflection.functionMutationName( - proc - )}\` mutation.`, + description: build.wrapDescription( + `All input for the \`${inflection.functionMutationName( + proc + )}\` mutation.`, + "type" + ), fields: { clientMutationId: { type: GraphQLString, @@ -584,7 +590,10 @@ export default function makeProcField( : isMutation ? null : isTableLike && proc.returnsSet - ? `Reads and enables pagination through a set of \`${TableType.name}\`.` + ? build.wrapDescription( + `Reads and enables pagination through a set of \`${TableType.name}\`.`, + "field" + ) : null, type: nullableIf( GraphQLNonNull, diff --git a/packages/graphile-build/__tests__/__snapshots__/emptyMutation.test.js.snap b/packages/graphile-build/__tests__/__snapshots__/emptyMutation.test.js.snap index 0054a7e44..673973258 100644 --- a/packages/graphile-build/__tests__/__snapshots__/emptyMutation.test.js.snap +++ b/packages/graphile-build/__tests__/__snapshots__/emptyMutation.test.js.snap @@ -1,14 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`generates empty schema (with no Mutation type) 1`] = ` -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - id: ID! -} - """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -29,4 +21,12 @@ type Query implements Node { ): Node } +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + id: ID! +} + `; diff --git a/packages/graphile-build/__tests__/__snapshots__/enum.test.js.snap b/packages/graphile-build/__tests__/__snapshots__/enum.test.js.snap index 788ce2d8e..ba32476f9 100644 --- a/packages/graphile-build/__tests__/__snapshots__/enum.test.js.snap +++ b/packages/graphile-build/__tests__/__snapshots__/enum.test.js.snap @@ -1,21 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`generated schema 1`] = ` -enum MyEnum { - ONE @deprecated(reason: "We no longer support numbers smaller than PI") - TWO @deprecated(reason: "We no longer support numbers smaller than PI") - THREE @deprecated(reason: "We no longer support numbers smaller than PI") - FOUR -} - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - id: ID! -} - """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -37,4 +22,19 @@ type Query implements Node { enum: MyEnum } +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + id: ID! +} + +enum MyEnum { + ONE @deprecated(reason: "We no longer support numbers smaller than PI") + TWO @deprecated(reason: "We no longer support numbers smaller than PI") + THREE @deprecated(reason: "We no longer support numbers smaller than PI") + FOUR +} + `; diff --git a/packages/graphile-build/__tests__/__snapshots__/fieldData.test.js.snap b/packages/graphile-build/__tests__/__snapshots__/fieldData.test.js.snap index 3e5cf7d13..0c7f60c1d 100644 --- a/packages/graphile-build/__tests__/__snapshots__/fieldData.test.js.snap +++ b/packages/graphile-build/__tests__/__snapshots__/fieldData.test.js.snap @@ -36,40 +36,6 @@ Object { `; exports[`generated schema 1`] = ` -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -type Dummy { - id: String! - caps: String! - random: Int! -} - -type DummyConnection { - edges: [DummyEdge!] - nodes: [Dummy!] -} - -enum DummyConnectionSortBy { - ID_ASC - ID_DESC - CAPS_ASC - CAPS_DESC -} - -type DummyEdge { - cursor: Cursor - node: Dummy -} - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - id: ID! -} - """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -91,6 +57,40 @@ type Query implements Node { dummyConnection(first: Int, after: Cursor, sortBy: DummyConnectionSortBy): DummyConnection } +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + id: ID! +} + +type DummyConnection { + edges: [DummyEdge!] + nodes: [Dummy!] +} + +type DummyEdge { + cursor: Cursor + node: Dummy +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +type Dummy { + id: String! + caps: String! + random: Int! +} + +enum DummyConnectionSortBy { + ID_ASC + ID_DESC + CAPS_ASC + CAPS_DESC +} + `; exports[`no arguments 1`] = ` diff --git a/packages/graphile-build/__tests__/__snapshots__/watch.test.js.snap b/packages/graphile-build/__tests__/__snapshots__/watch.test.js.snap index 30a7808a6..ca7a2bb7c 100644 --- a/packages/graphile-build/__tests__/__snapshots__/watch.test.js.snap +++ b/packages/graphile-build/__tests__/__snapshots__/watch.test.js.snap @@ -1,18 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`generated schema n = 0, n = 3 1`] = ` -type Dummy0 { - n: Int! -} - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - id: ID! -} - """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -34,13 +22,6 @@ type Query implements Node { dummy: Dummy0 } -`; - -exports[`generated schema n = 0, n = 3 2`] = ` -type Dummy3 { - n: Int! -} - """An object with a globally unique \`ID\`.""" interface Node { """ @@ -49,6 +30,13 @@ interface Node { id: ID! } +type Dummy0 { + n: Int! +} + +`; + +exports[`generated schema n = 0, n = 3 2`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -70,4 +58,16 @@ type Query implements Node { dummy: Dummy3 } +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + id: ID! +} + +type Dummy3 { + n: Int! +} + `; diff --git a/packages/graphile-build/package.json b/packages/graphile-build/package.json index 003ac1242..08011e086 100644 --- a/packages/graphile-build/package.json +++ b/packages/graphile-build/package.json @@ -51,10 +51,7 @@ "jest-serializer-graphql-schema": "4.9.0" }, "peerDependencies": { - "graphql": ">=0.9 <0.14 || ^14.0.2" + "graphql": ">=0.9 <0.14 || ^14.0.2 || ^15.4.0" }, - "files": [ - "node8plus", - "index.js" - ] + "files": ["node8plus", "index.js"] } diff --git a/packages/graphile-build/src/SchemaBuilder.js b/packages/graphile-build/src/SchemaBuilder.js index a5e248d3c..0bc9515b4 100644 --- a/packages/graphile-build/src/SchemaBuilder.js +++ b/packages/graphile-build/src/SchemaBuilder.js @@ -71,6 +71,10 @@ export type Build = {| // eslint-disable-next-line flowtype/no-weak-types [string]: (...args: Array) => string, }, + wrapDescription: ( + description: string, + position: "root" | "type" | "field" | "arg" + ) => string, swallowError: (e: Error) => void, // resolveNode: EXPERIMENTAL, API might change! resolveNode: resolveNode, diff --git a/packages/graphile-build/src/index.js b/packages/graphile-build/src/index.js index f64fd6a85..35a91e612 100644 --- a/packages/graphile-build/src/index.js +++ b/packages/graphile-build/src/index.js @@ -12,6 +12,7 @@ import { ClientMutationIdDescriptionPlugin, MutationPayloadQueryPlugin, AddQueriesToSubscriptionsPlugin, + TrimEmptyDescriptionsPlugin, } from "./plugins"; import resolveNode from "./resolveNode"; import type { GraphQLSchema } from "graphql"; @@ -85,6 +86,7 @@ export const defaultPlugins: Array = [ ClientMutationIdDescriptionPlugin, MutationPayloadQueryPlugin, AddQueriesToSubscriptionsPlugin, + TrimEmptyDescriptionsPlugin, ]; export { diff --git a/packages/graphile-build/src/makeNewBuild.js b/packages/graphile-build/src/makeNewBuild.js index 40d2e7f87..2c3c05ead 100644 --- a/packages/graphile-build/src/makeNewBuild.js +++ b/packages/graphile-build/src/makeNewBuild.js @@ -17,7 +17,12 @@ import type { ResolveTree } from "graphql-parse-resolve-info"; import pluralize from "pluralize"; import LRU from "@graphile/lru"; import semver from "semver"; -import { upperCamelCase, camelCase, constantCase } from "./utils"; +import { + upperCamelCase, + camelCase, + constantCase, + wrapDescription, +} from "./utils"; import swallowError from "./swallowError"; import resolveNode from "./resolveNode"; import { LiveCoordinator } from "./Live"; @@ -987,6 +992,7 @@ export default function makeNewBuild(builder: SchemaBuilder): { ...Build } { return resultingName; }, }, + wrapDescription, swallowError, // resolveNode: EXPERIMENTAL, API might change! resolveNode, diff --git a/packages/graphile-build/src/plugins/ClientMutationIdDescriptionPlugin.js b/packages/graphile-build/src/plugins/ClientMutationIdDescriptionPlugin.js index eb91fd25c..72727a05e 100644 --- a/packages/graphile-build/src/plugins/ClientMutationIdDescriptionPlugin.js +++ b/packages/graphile-build/src/plugins/ClientMutationIdDescriptionPlugin.js @@ -22,8 +22,10 @@ export default (function ClientMutationIdDescriptionPlugin( return extend( field, { - description: + description: build.wrapDescription( "An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client.", + "field" + ), }, `Tweaking '${fieldName}' field in '${Self.name}'` ); @@ -49,8 +51,10 @@ export default (function ClientMutationIdDescriptionPlugin( return extend( field, { - description: + description: build.wrapDescription( "The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.", + "field" + ), }, `Tweaking '${fieldName}' field in '${Self.name}'` ); @@ -74,8 +78,10 @@ export default (function ClientMutationIdDescriptionPlugin( input: extend( args.input, { - description: + description: build.wrapDescription( "The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.", + "arg" + ), }, `Adding a description to input arg for field '${fieldName}' field in '${Self.name}'` ), diff --git a/packages/graphile-build/src/plugins/MutationPayloadQueryPlugin.js b/packages/graphile-build/src/plugins/MutationPayloadQueryPlugin.js index 32bda96b0..92cbbd06d 100644 --- a/packages/graphile-build/src/plugins/MutationPayloadQueryPlugin.js +++ b/packages/graphile-build/src/plugins/MutationPayloadQueryPlugin.js @@ -23,8 +23,10 @@ export default (function MutationPayloadQueryPlugin(builder) { fields, { query: { - description: + description: build.wrapDescription( "Our root query field type. Allows us to run any query from our mutation payload.", + "field" + ), type: Query, resolve() { return $$isQuery; diff --git a/packages/graphile-build/src/plugins/MutationPlugin.js b/packages/graphile-build/src/plugins/MutationPlugin.js index aa3e53d2f..8d13f4e42 100644 --- a/packages/graphile-build/src/plugins/MutationPlugin.js +++ b/packages/graphile-build/src/plugins/MutationPlugin.js @@ -29,8 +29,10 @@ export default (async function MutationPlugin(builder) { GraphQLObjectType, { name: inflection.builtin("Mutation"), - description: + description: build.wrapDescription( "The root mutation type which contains root level fields which mutate data.", + "type" + ), }, { __origin: `graphile-build built-in (root mutation type)`, diff --git a/packages/graphile-build/src/plugins/NodePlugin.js b/packages/graphile-build/src/plugins/NodePlugin.js index fe5884c97..c7ec26edd 100644 --- a/packages/graphile-build/src/plugins/NodePlugin.js +++ b/packages/graphile-build/src/plugins/NodePlugin.js @@ -137,7 +137,10 @@ export default (function NodePlugin( GraphQLInterfaceType, { name: inflection.builtin("Node"), - description: "An object with a globally unique `ID`.", + description: build.wrapDescription( + "An object with a globally unique `ID`.", + "type" + ), resolveType: value => { if (value === $$isQuery) { if (!Query) Query = getTypeByName(inflection.builtin("Query")); @@ -148,8 +151,10 @@ export default (function NodePlugin( }, fields: { [nodeIdFieldName]: { - description: + description: build.wrapDescription( "A globally unique identifier. Can be used in various places throughout the system to identify this single value.", + "field" + ), type: new GraphQLNonNull(GraphQLID), }, }, @@ -212,8 +217,10 @@ export default (function NodePlugin( fields, { [nodeIdFieldName]: { - description: + description: build.wrapDescription( "The root query type must be a `Node` to work well with Relay 1 mutations. This just resolves to `query`.", + "field" + ), type: new GraphQLNonNull(GraphQLID), resolve() { return "query"; @@ -222,11 +229,17 @@ export default (function NodePlugin( node: fieldWithHooks( "node", ({ getDataFromParsedResolveInfoFragment }) => ({ - description: "Fetches an object given its globally unique `ID`.", + description: build.wrapDescription( + "Fetches an object given its globally unique `ID`.", + "field" + ), type: getTypeByName(inflection.builtin("Node")), args: { [nodeIdFieldName]: { - description: "The globally unique `ID`.", + description: build.wrapDescription( + "The globally unique `ID`.", + "arg" + ), type: new GraphQLNonNull(GraphQLID), }, }, diff --git a/packages/graphile-build/src/plugins/QueryPlugin.js b/packages/graphile-build/src/plugins/QueryPlugin.js index 0c9d46756..3b92e38ae 100644 --- a/packages/graphile-build/src/plugins/QueryPlugin.js +++ b/packages/graphile-build/src/plugins/QueryPlugin.js @@ -31,15 +31,19 @@ export default (async function QueryPlugin(builder) { const queryType = newWithHooks( GraphQLObjectType, { - description: + description: build.wrapDescription( "The root query type which gives access points into the data universe.", + "type" + ), name: inflection.builtin("Query"), isTypeOf: (value, _context, info) => info.parentType == null || value === $$isQuery, fields: ({ Self }) => ({ query: { - description: + description: build.wrapDescription( "Exposes the root query type nested one level down. This is helpful for Relay 1 which can only query top level fields if they are in a particular form.", + "field" + ), type: new GraphQLNonNull(Self), resolve() { return $$isQuery; diff --git a/packages/graphile-build/src/plugins/StandardTypesPlugin.js b/packages/graphile-build/src/plugins/StandardTypesPlugin.js index de841dc87..de9a3a37b 100644 --- a/packages/graphile-build/src/plugins/StandardTypesPlugin.js +++ b/packages/graphile-build/src/plugins/StandardTypesPlugin.js @@ -44,7 +44,10 @@ export default (function StandardTypesPlugin(builder) { GraphQLObjectType, { name: inflection.builtin("PageInfo"), - description: "Information about pagination in a connection.", + description: build.wrapDescription( + "Information about pagination in a connection.", + "type" + ), fields: ({ fieldWithHooks }) => ({ hasNextPage: fieldWithHooks( "hasNextPage", @@ -55,8 +58,10 @@ export default (function StandardTypesPlugin(builder) { }; }); return { - description: + description: build.wrapDescription( "When paginating forwards, are there more items?", + "field" + ), type: new GraphQLNonNull(GraphQLBoolean), }; }, @@ -71,8 +76,10 @@ export default (function StandardTypesPlugin(builder) { }; }); return { - description: + description: build.wrapDescription( "When paginating backwards, are there more items?", + "field" + ), type: new GraphQLNonNull(GraphQLBoolean), }; }, diff --git a/packages/graphile-build/src/plugins/SubscriptionPlugin.js b/packages/graphile-build/src/plugins/SubscriptionPlugin.js index 567713aa8..f001a4bf7 100644 --- a/packages/graphile-build/src/plugins/SubscriptionPlugin.js +++ b/packages/graphile-build/src/plugins/SubscriptionPlugin.js @@ -49,7 +49,10 @@ export default (async function SubscriptionPlugin(builder, { live }) { GraphQLObjectType, { name: inflection.builtin("Subscription"), - description: live ? liveDescription : description, + description: build.wrapDescription( + live ? liveDescription : description, + "type" + ), }, { __origin: `graphile-build built-in (root subscription type)`, diff --git a/packages/graphile-build/src/plugins/TrimEmptyDescriptionsPlugin.js b/packages/graphile-build/src/plugins/TrimEmptyDescriptionsPlugin.js new file mode 100644 index 000000000..73b4e7c15 --- /dev/null +++ b/packages/graphile-build/src/plugins/TrimEmptyDescriptionsPlugin.js @@ -0,0 +1,40 @@ +// @flow +import type { Plugin } from "../SchemaBuilder"; + +// In GraphQL v14, empty descriptions were not output. In GraphQL v15 they are. +// We don't want them, so this removes them. + +const TrimEmptyDescriptionsPlugin: Plugin = function (builder) { + const rmEmptyTypeDescription = type => { + if (type.description === "") { + type.description = null; + } + return type; + }; + const rmEmptyFieldDescription = field => { + if (field.description === "") { + field.description = null; + } + return field; + }; + const rmEmptyArgDescriptions = args => { + if (!args) { + return args; + } + for (const argName in args) { + const arg = args[argName]; + if (arg.description === "") { + arg.description = null; + } + } + return args; + }; + builder.hook("GraphQLObjectType", rmEmptyTypeDescription); + builder.hook("GraphQLObjectType:fields:field", rmEmptyFieldDescription); + builder.hook("GraphQLObjectType:fields:field:args", rmEmptyArgDescriptions); + builder.hook("GraphQLInputObjectType", rmEmptyTypeDescription); + builder.hook("GraphQLInputObjectType:fields:field", rmEmptyFieldDescription); + builder.hook("GraphQLUnionType", rmEmptyTypeDescription); + builder.hook("GraphQLEnumType", rmEmptyTypeDescription); +}; +export default TrimEmptyDescriptionsPlugin; diff --git a/packages/graphile-build/src/plugins/index.js b/packages/graphile-build/src/plugins/index.js index c5a039834..c6ce275c2 100644 --- a/packages/graphile-build/src/plugins/index.js +++ b/packages/graphile-build/src/plugins/index.js @@ -9,6 +9,7 @@ import QueryPlugin from "./QueryPlugin"; import StandardTypesPlugin from "./StandardTypesPlugin"; import SwallowErrorsPlugin from "./SwallowErrorsPlugin"; import AddQueriesToSubscriptionsPlugin from "./AddQueriesToSubscriptionsPlugin"; +import TrimEmptyDescriptionsPlugin from "./TrimEmptyDescriptionsPlugin"; export { ClientMutationIdDescriptionPlugin, @@ -20,4 +21,5 @@ export { StandardTypesPlugin, SwallowErrorsPlugin, AddQueriesToSubscriptionsPlugin, + TrimEmptyDescriptionsPlugin, }; diff --git a/packages/graphile-build/src/utils.js b/packages/graphile-build/src/utils.js index faa874273..9c2196ac4 100644 --- a/packages/graphile-build/src/utils.js +++ b/packages/graphile-build/src/utils.js @@ -3,7 +3,7 @@ import upperFirstAll from "lodash/upperFirst"; import camelCaseAll from "lodash/camelCase"; import plz from "pluralize"; -const bindAll = (obj: {}, keys: Array) => { +const bindAll = (obj: {}, keys: Array): string => { keys.forEach(key => { obj[key] = obj[key].bind(obj); }); @@ -12,7 +12,7 @@ const bindAll = (obj: {}, keys: Array) => { export { bindAll }; -export const constantCaseAll = (str: string) => +export const constantCaseAll = (str: string): string => str .replace(/[^a-zA-Z0-9_]+/g, "_") .replace(/[A-Z]+/g, "_$&") @@ -23,7 +23,7 @@ export const constantCaseAll = (str: string) => export const formatInsideUnderscores = (fn: (input: string) => string) => ( str: string -) => { +): string => { const matches = str.match(/^(_*)([\s\S]*?)(_*)$/); if (!matches) { throw new Error("Impossible?"); // Satiate Flow @@ -38,5 +38,54 @@ export const constantCase = formatInsideUnderscores(constantCaseAll); export const upperCamelCase = (str: string): string => upperFirst(camelCase(str)); -export const pluralize = (str: string) => plz(str); -export const singularize = (str: string) => plz.singular(str); +export const pluralize = (str: string): string => plz(str); +export const singularize = (str: string): string => plz.singular(str); + +// Copied from GraphQL v14, MIT license (c) GraphQL Contributors. +function breakLine(line: string, maxLen: number): Array { + const parts = line.split(new RegExp(`((?: |^).{15,${maxLen - 40}}(?= |$))`)); + if (parts.length < 4) { + return [line]; + } + const sublines = [parts[0] + parts[1] + parts[2]]; + for (let i = 3; i < parts.length; i += 2) { + sublines.push(parts[i].slice(1) + parts[i + 1]); + } + return sublines; +} + +/** + * Only use this on descriptions that are plain text, or that we create + * manually in code; since descriptions are markdown, it's not safe to use on + * descriptions that contain code blocks or long inline code strings. + */ +export const wrapDescription = ( + description: string, + position: "root" | "type" | "field" | "arg" +): string => { + const indentationLength = + position === "root" + ? 0 + : position === "type" + ? 0 + : position === "field" + ? 2 + : position === "arg" + ? 4 + : 0; + // This follows the implementation from GraphQL v14 to make our GraphQL v15 + // schema more similar. Ref: + // https://github.com/graphql/graphql-js/pull/2223/files + const maxLen = 120 - indentationLength; + return description + .split("\n") + .map(line => { + if (line.length < maxLen + 5) { + return line; + } + // For > 120 character long lines, cut at space boundaries into sublines + // of ~80 chars. + return breakLine(line, maxLen).join("\n"); + }) + .join("\n"); +}; diff --git a/packages/graphile-utils/__tests__/__snapshots__/ExtendSchemaPlugin-pg.test.js.snap b/packages/graphile-utils/__tests__/__snapshots__/ExtendSchemaPlugin-pg.test.js.snap index 7ab9c45a4..139719aec 100644 --- a/packages/graphile-utils/__tests__/__snapshots__/ExtendSchemaPlugin-pg.test.js.snap +++ b/packages/graphile-utils/__tests__/__snapshots__/ExtendSchemaPlugin-pg.test.js.snap @@ -1,118 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`allows adding a custom connection 1`] = ` -type Complex { - numberInt: Int - stringText: String -} - -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String -} - -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor - - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor -} - -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! -} - -""" -A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PetCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`userId\` field.""" - userId: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`type\` field.""" - type: String -} - -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! - - """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. - """ - edges: [PetsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`Pet\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`Pet\` edge in the connection.""" -type PetsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Pet\` at the end of the edge.""" - node: Pet -} - -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { - NATURAL - ID_ASC - ID_DESC - USER_ID_ASC - USER_ID_DESC - NAME_ASC - NAME_DESC - TYPE_ASC - TYPE_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} - """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -232,40 +120,99 @@ type Query implements Node { ): UsersConnection } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! +} + +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! + + """ + A list of edges which contains the \`Pet\` and cursor to aid in pagination. + """ + edges: [PetsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Pet\` you could get from the connection.""" + totalCount: Int! +} + +type Pet implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! id: Int! + userId: Int! name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! + type: String! +} + +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Pet\` at the end of the edge.""" + node: Pet +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input UserCondition { +input PetCondition { """Checks for equality with the object’s \`id\` field.""" id: Int + """Checks for equality with the object’s \`userId\` field.""" + userId: Int + """Checks for equality with the object’s \`name\` field.""" name: String - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime + """Checks for equality with the object’s \`type\` field.""" + type: String } """A connection to a list of \`User\` values.""" @@ -285,6 +232,30 @@ type UsersConnection { totalCount: Int! } +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + """A \`User\` edge in the connection.""" type UsersEdge { """A cursor for use in pagination.""" @@ -313,12 +284,27 @@ enum UsersOrderBy { PRIMARY_KEY_DESC } -`; +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int -exports[`allows adding a custom connection to a nested type 1`] = ` -type Complex { - numberInt: Int - stringText: String + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime } """An input for mutations affecting \`Complex\`""" @@ -327,107 +313,9 @@ input ComplexInput { stringText: String } -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor - - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor -} - -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! -} - -""" -A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PetCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`userId\` field.""" - userId: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`type\` field.""" - type: String -} - -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! - - """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. - """ - edges: [PetsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`Pet\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`Pet\` edge in the connection.""" -type PetsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Pet\` at the end of the edge.""" - node: Pet -} - -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { - NATURAL - ID_ASC - ID_DESC - USER_ID_ASC - USER_ID_DESC - NAME_ASC - NAME_DESC - TYPE_ASC - TYPE_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} +`; +exports[`allows adding a custom connection to a nested type 1`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -520,6 +408,118 @@ type Query implements Node { ): User } +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! +} + +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! + + """ + A list of edges which contains the \`Pet\` and cursor to aid in pagination. + """ + edges: [PetsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Pet\` you could get from the connection.""" + totalCount: Int! +} + +type Pet implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + userId: Int! + name: String! + type: String! +} + +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Pet\` at the end of the edge.""" + node: Pet +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} + +""" +A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input PetCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`userId\` field.""" + userId: Int + + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`type\` field.""" + type: String +} + +"""A connection to a list of \`User\` values.""" +type UsersConnection { + """A list of \`User\` objects.""" + nodes: [User]! + + """ + A list of edges which contains the \`User\` and cursor to aid in pagination. + """ + edges: [UsersEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`User\` you could get from the connection.""" + totalCount: Int! +} + type User implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. @@ -560,6 +560,45 @@ type User implements Node { ): PetsConnection } +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + +"""A \`User\` edge in the connection.""" +type UsersEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`User\` at the end of the edge.""" + node: User +} + +"""Methods to use when ordering \`User\`.""" +enum UsersOrderBy { + NATURAL + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + EMAIL_ASC + EMAIL_DESC + BIO_ASC + BIO_DESC + RENAMED_COMPLEX_COLUMN_ASC + RENAMED_COMPLEX_COLUMN_DESC + CREATED_AT_ASC + CREATED_AT_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} + """ A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ @@ -583,49 +622,10 @@ input UserCondition { createdAt: Datetime } -"""A connection to a list of \`User\` values.""" -type UsersConnection { - """A list of \`User\` objects.""" - nodes: [User]! - - """ - A list of edges which contains the \`User\` and cursor to aid in pagination. - """ - edges: [UsersEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`User\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`User\` edge in the connection.""" -type UsersEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`User\` at the end of the edge.""" - node: User -} - -"""Methods to use when ordering \`User\`.""" -enum UsersOrderBy { - NATURAL - ID_ASC - ID_DESC - NAME_ASC - NAME_DESC - EMAIL_ASC - EMAIL_DESC - BIO_ASC - BIO_DESC - RENAMED_COMPLEX_COLUMN_ASC - RENAMED_COMPLEX_COLUMN_DESC - CREATED_AT_ASC - CREATED_AT_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String } `; @@ -763,118 +763,6 @@ Object { `; exports[`allows adding a custom connection without requiring directives 1`] = ` -type Complex { - numberInt: Int - stringText: String -} - -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String -} - -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor - - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor -} - -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! -} - -""" -A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PetCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`userId\` field.""" - userId: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`type\` field.""" - type: String -} - -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! - - """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. - """ - edges: [PetsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`Pet\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`Pet\` edge in the connection.""" -type PetsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Pet\` at the end of the edge.""" - node: Pet -} - -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { - NATURAL - ID_ASC - ID_DESC - USER_ID_ASC - USER_ID_DESC - NAME_ASC - NAME_DESC - TYPE_ASC - TYPE_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} - """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -994,40 +882,99 @@ type Query implements Node { ): UsersConnection } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! +} + +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! + + """ + A list of edges which contains the \`Pet\` and cursor to aid in pagination. + """ + edges: [PetsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Pet\` you could get from the connection.""" + totalCount: Int! +} + +type Pet implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! id: Int! + userId: Int! name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! + type: String! +} + +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Pet\` at the end of the edge.""" + node: Pet +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input UserCondition { +input PetCondition { """Checks for equality with the object’s \`id\` field.""" id: Int + """Checks for equality with the object’s \`userId\` field.""" + userId: Int + """Checks for equality with the object’s \`name\` field.""" name: String - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime + """Checks for equality with the object’s \`type\` field.""" + type: String } """A connection to a list of \`User\` values.""" @@ -1047,11 +994,35 @@ type UsersConnection { totalCount: Int! } -"""A \`User\` edge in the connection.""" -type UsersEdge { - """A cursor for use in pagination.""" - cursor: Cursor - +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + +"""A \`User\` edge in the connection.""" +type UsersEdge { + """A cursor for use in pagination.""" + cursor: Cursor + """The \`User\` at the end of the edge.""" node: User } @@ -1075,121 +1046,38 @@ enum UsersOrderBy { PRIMARY_KEY_DESC } -`; - -exports[`allows adding a custom field returning a list to PG schema 1`] = ` -type Complex { - numberInt: Int - stringText: String -} - -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String -} - -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor - - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor -} - -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! -} - """ -A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input PetCondition { +input UserCondition { """Checks for equality with the object’s \`id\` field.""" id: Int - """Checks for equality with the object’s \`userId\` field.""" - userId: Int - """Checks for equality with the object’s \`name\` field.""" name: String - """Checks for equality with the object’s \`type\` field.""" - type: String -} - -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! + """Checks for equality with the object’s \`email\` field.""" + email: String - """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. - """ - edges: [PetsEdge!]! + """Checks for equality with the object’s \`bio\` field.""" + bio: String - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] - """The count of *all* \`Pet\` you could get from the connection.""" - totalCount: Int! + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime } -"""A \`Pet\` edge in the connection.""" -type PetsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Pet\` at the end of the edge.""" - node: Pet +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String } -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { - NATURAL - ID_ASC - ID_DESC - USER_ID_ASC - USER_ID_DESC - NAME_ASC - NAME_DESC - TYPE_ASC - TYPE_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} +`; +exports[`allows adding a custom field returning a list to PG schema 1`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -1283,118 +1171,54 @@ type Query implements Node { randomUsers: [User!] } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! - id: Int! - name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! -} - -""" -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input UserCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime } -"""A connection to a list of \`User\` values.""" -type UsersConnection { - """A list of \`User\` objects.""" - nodes: [User]! +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! """ - A list of edges which contains the \`User\` and cursor to aid in pagination. + A list of edges which contains the \`Pet\` and cursor to aid in pagination. """ - edges: [UsersEdge!]! + edges: [PetsEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`User\` you could get from the connection.""" + """The count of *all* \`Pet\` you could get from the connection.""" totalCount: Int! } -"""A \`User\` edge in the connection.""" -type UsersEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`User\` at the end of the edge.""" - node: User -} - -"""Methods to use when ordering \`User\`.""" -enum UsersOrderBy { - NATURAL - ID_ASC - ID_DESC - NAME_ASC - NAME_DESC - EMAIL_ASC - EMAIL_DESC - BIO_ASC - BIO_DESC - RENAMED_COMPLEX_COLUMN_ASC - RENAMED_COMPLEX_COLUMN_DESC - CREATED_AT_ASC - CREATED_AT_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +type Pet implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + userId: Int! + name: String! + type: String! } -`; - -exports[`allows adding a custom list to a nested type 1`] = ` -type Complex { - numberInt: Int - stringText: String -} +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String + """The \`Pet\` at the end of the edge.""" + node: Pet } """A location in a connection that can be used for resuming pagination.""" scalar Cursor -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - """Information about pagination in a connection.""" type PageInfo { """When paginating forwards, are there more items?""" @@ -1410,15 +1234,19 @@ type PageInfo { endCursor: Cursor } -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ @@ -1438,47 +1266,107 @@ input PetCondition { type: String } -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! +"""A connection to a list of \`User\` values.""" +type UsersConnection { + """A list of \`User\` objects.""" + nodes: [User]! """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. + A list of edges which contains the \`User\` and cursor to aid in pagination. """ - edges: [PetsEdge!]! + edges: [UsersEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`Pet\` you could get from the connection.""" + """The count of *all* \`User\` you could get from the connection.""" totalCount: Int! } -"""A \`Pet\` edge in the connection.""" -type PetsEdge { +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + +"""A \`User\` edge in the connection.""" +type UsersEdge { """A cursor for use in pagination.""" cursor: Cursor - """The \`Pet\` at the end of the edge.""" - node: Pet + """The \`User\` at the end of the edge.""" + node: User } -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { +"""Methods to use when ordering \`User\`.""" +enum UsersOrderBy { NATURAL ID_ASC ID_DESC - USER_ID_ASC - USER_ID_DESC NAME_ASC NAME_DESC - TYPE_ASC - TYPE_DESC + EMAIL_ASC + EMAIL_DESC + BIO_ASC + BIO_DESC + RENAMED_COMPLEX_COLUMN_ASC + RENAMED_COMPLEX_COLUMN_DESC + CREATED_AT_ASC + CREATED_AT_DESC PRIMARY_KEY_ASC PRIMARY_KEY_DESC } +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime +} + +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String +} + +`; + +exports[`allows adding a custom list to a nested type 1`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -1571,41 +1459,99 @@ type Query implements Node { ): User } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! +} + +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! + + """ + A list of edges which contains the \`Pet\` and cursor to aid in pagination. + """ + edges: [PetsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Pet\` you could get from the connection.""" + totalCount: Int! +} + +type Pet implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! id: Int! + userId: Int! name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! - myCustomList(idLessThan: Int): [User] + type: String! +} + +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Pet\` at the end of the edge.""" + node: Pet +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input UserCondition { +input PetCondition { """Checks for equality with the object’s \`id\` field.""" id: Int + """Checks for equality with the object’s \`userId\` field.""" + userId: Int + """Checks for equality with the object’s \`name\` field.""" name: String - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime + """Checks for equality with the object’s \`type\` field.""" + type: String } """A connection to a list of \`User\` values.""" @@ -1625,6 +1571,31 @@ type UsersConnection { totalCount: Int! } +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! + myCustomList(idLessThan: Int): [User] +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + """A \`User\` edge in the connection.""" type UsersEdge { """A cursor for use in pagination.""" @@ -1653,121 +1624,38 @@ enum UsersOrderBy { PRIMARY_KEY_DESC } -`; +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int -exports[`allows adding a custom single field to PG schema 1`] = ` -type Complex { - numberInt: Int - stringText: String -} + """Checks for equality with the object’s \`name\` field.""" + name: String -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String -} - -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor - - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor -} - -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! -} - -""" -A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PetCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`userId\` field.""" - userId: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`type\` field.""" - type: String -} - -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! + """Checks for equality with the object’s \`email\` field.""" + email: String - """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. - """ - edges: [PetsEdge!]! + """Checks for equality with the object’s \`bio\` field.""" + bio: String - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] - """The count of *all* \`Pet\` you could get from the connection.""" - totalCount: Int! + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime } -"""A \`Pet\` edge in the connection.""" -type PetsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Pet\` at the end of the edge.""" - node: Pet +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String } -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { - NATURAL - ID_ASC - ID_DESC - USER_ID_ASC - USER_ID_DESC - NAME_ASC - NAME_DESC - TYPE_ASC - TYPE_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} +`; +exports[`allows adding a custom single field to PG schema 1`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -1861,40 +1749,99 @@ type Query implements Node { randomUser: User } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! +} + +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! + + """ + A list of edges which contains the \`Pet\` and cursor to aid in pagination. + """ + edges: [PetsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Pet\` you could get from the connection.""" + totalCount: Int! +} + +type Pet implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! id: Int! + userId: Int! name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! + type: String! +} + +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Pet\` at the end of the edge.""" + node: Pet +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input UserCondition { +input PetCondition { """Checks for equality with the object’s \`id\` field.""" id: Int + """Checks for equality with the object’s \`userId\` field.""" + userId: Int + """Checks for equality with the object’s \`name\` field.""" name: String - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime + """Checks for equality with the object’s \`type\` field.""" + type: String } """A connection to a list of \`User\` values.""" @@ -1914,6 +1861,30 @@ type UsersConnection { totalCount: Int! } +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + """A \`User\` edge in the connection.""" type UsersEdge { """A cursor for use in pagination.""" @@ -1942,12 +1913,27 @@ enum UsersOrderBy { PRIMARY_KEY_DESC } -`; +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int -exports[`allows adding a field to an existing table, and requesting necessary data along with it 1`] = ` -type Complex { - numberInt: Int - stringText: String + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime } """An input for mutations affecting \`Complex\`""" @@ -1956,107 +1942,9 @@ input ComplexInput { stringText: String } -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor - - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor -} - -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! -} - -""" -A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PetCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`userId\` field.""" - userId: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`type\` field.""" - type: String -} - -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! - - """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. - """ - edges: [PetsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`Pet\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`Pet\` edge in the connection.""" -type PetsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Pet\` at the end of the edge.""" - node: Pet -} - -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { - NATURAL - ID_ASC - ID_DESC - USER_ID_ASC - USER_ID_DESC - NAME_ASC - NAME_DESC - TYPE_ASC - TYPE_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} +`; +exports[`allows adding a field to an existing table, and requesting necessary data along with it 1`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -2149,41 +2037,99 @@ type Query implements Node { ): User } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! +} + +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! + + """ + A list of edges which contains the \`Pet\` and cursor to aid in pagination. + """ + edges: [PetsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Pet\` you could get from the connection.""" + totalCount: Int! +} + +type Pet implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! id: Int! + userId: Int! name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! - customField: String + type: String! +} + +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Pet\` at the end of the edge.""" + node: Pet +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input UserCondition { +input PetCondition { """Checks for equality with the object’s \`id\` field.""" id: Int + """Checks for equality with the object’s \`userId\` field.""" + userId: Int + """Checks for equality with the object’s \`name\` field.""" name: String - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime + """Checks for equality with the object’s \`type\` field.""" + type: String } """A connection to a list of \`User\` values.""" @@ -2203,6 +2149,31 @@ type UsersConnection { totalCount: Int! } +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! + customField: String +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + """A \`User\` edge in the connection.""" type UsersEdge { """A cursor for use in pagination.""" @@ -2231,12 +2202,27 @@ enum UsersOrderBy { PRIMARY_KEY_DESC } -`; +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int -exports[`allows adding a simple mutation field to PG schema 1`] = ` -type Complex { - numberInt: Int - stringText: String + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime } """An input for mutations affecting \`Complex\`""" @@ -2245,119 +2231,9 @@ input ComplexInput { stringText: String } -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -""" -The root mutation type which contains root level fields which mutate data. -""" -type Mutation { - registerUser( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: RegisterUserInput! - ): RegisterUserPayload -} - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor - - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor -} - -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! -} - -""" -A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PetCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`userId\` field.""" - userId: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`type\` field.""" - type: String -} - -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! - - """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. - """ - edges: [PetsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`Pet\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`Pet\` edge in the connection.""" -type PetsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Pet\` at the end of the edge.""" - node: Pet -} - -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { - NATURAL - ID_ASC - ID_DESC - USER_ID_ASC - USER_ID_DESC - NAME_ASC - NAME_DESC - TYPE_ASC - TYPE_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} +`; +exports[`allows adding a simple mutation field to PG schema 1`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -2450,50 +2326,99 @@ type Query implements Node { ): User } -input RegisterUserInput { - name: String! - email: String! - bio: String +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! } -type RegisterUserPayload { - user: User +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! + + """ + A list of edges which contains the \`Pet\` and cursor to aid in pagination. + """ + edges: [PetsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Pet\` you could get from the connection.""" + totalCount: Int! } -type User implements Node { +type Pet implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! id: Int! + userId: Int! name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! + type: String! +} + +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Pet\` at the end of the edge.""" + node: Pet +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input UserCondition { +input PetCondition { """Checks for equality with the object’s \`id\` field.""" id: Int + """Checks for equality with the object’s \`userId\` field.""" + userId: Int + """Checks for equality with the object’s \`name\` field.""" name: String - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime + """Checks for equality with the object’s \`type\` field.""" + type: String } """A connection to a list of \`User\` values.""" @@ -2513,6 +2438,30 @@ type UsersConnection { totalCount: Int! } +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + """A \`User\` edge in the connection.""" type UsersEdge { """A cursor for use in pagination.""" @@ -2541,6 +2490,57 @@ enum UsersOrderBy { PRIMARY_KEY_DESC } +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime +} + +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String +} + +""" +The root mutation type which contains root level fields which mutate data. +""" +type Mutation { + registerUser( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: RegisterUserInput! + ): RegisterUserPayload +} + +type RegisterUserPayload { + user: User +} + +input RegisterUserInput { + name: String! + email: String! + bio: String +} + `; exports[`allows adding a simple mutation field to PG schema 2`] = ` @@ -2567,118 +2567,6 @@ Object { `; exports[`allows adding a single table entry to a nested type 1`] = ` -type Complex { - numberInt: Int - stringText: String -} - -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String -} - -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor - - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor -} - -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! -} - -""" -A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PetCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`userId\` field.""" - userId: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`type\` field.""" - type: String -} - -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! - - """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. - """ - edges: [PetsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`Pet\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`Pet\` edge in the connection.""" -type PetsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Pet\` at the end of the edge.""" - node: Pet -} - -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { - NATURAL - ID_ASC - ID_DESC - USER_ID_ASC - USER_ID_DESC - NAME_ASC - NAME_DESC - TYPE_ASC - TYPE_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} - """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -2771,119 +2659,54 @@ type Query implements Node { ): User } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! - id: Int! - name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! - myCustomRecord(id: Int!): User -} - -""" -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input UserCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime } -"""A connection to a list of \`User\` values.""" -type UsersConnection { - """A list of \`User\` objects.""" - nodes: [User]! +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! """ - A list of edges which contains the \`User\` and cursor to aid in pagination. + A list of edges which contains the \`Pet\` and cursor to aid in pagination. """ - edges: [UsersEdge!]! + edges: [PetsEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`User\` you could get from the connection.""" + """The count of *all* \`Pet\` you could get from the connection.""" totalCount: Int! } -"""A \`User\` edge in the connection.""" -type UsersEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`User\` at the end of the edge.""" - node: User -} - -"""Methods to use when ordering \`User\`.""" -enum UsersOrderBy { - NATURAL - ID_ASC - ID_DESC - NAME_ASC - NAME_DESC - EMAIL_ASC - EMAIL_DESC - BIO_ASC - BIO_DESC - RENAMED_COMPLEX_COLUMN_ASC - RENAMED_COMPLEX_COLUMN_DESC - CREATED_AT_ASC - CREATED_AT_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} - -`; - -exports[`allows to retrieve a single scalar value 1`] = ` -type Complex { - numberInt: Int - stringText: String -} - -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String +type Pet implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + userId: Int! + name: String! + type: String! } -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! + """The \`Pet\` at the end of the edge.""" + node: Pet } +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + """Information about pagination in a connection.""" type PageInfo { """When paginating forwards, are there more items?""" @@ -2899,15 +2722,19 @@ type PageInfo { endCursor: Cursor } -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ @@ -2927,47 +2754,108 @@ input PetCondition { type: String } -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! +"""A connection to a list of \`User\` values.""" +type UsersConnection { + """A list of \`User\` objects.""" + nodes: [User]! """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. + A list of edges which contains the \`User\` and cursor to aid in pagination. """ - edges: [PetsEdge!]! + edges: [UsersEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`Pet\` you could get from the connection.""" + """The count of *all* \`User\` you could get from the connection.""" totalCount: Int! } -"""A \`Pet\` edge in the connection.""" -type PetsEdge { +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! + myCustomRecord(id: Int!): User +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + +"""A \`User\` edge in the connection.""" +type UsersEdge { """A cursor for use in pagination.""" cursor: Cursor - """The \`Pet\` at the end of the edge.""" - node: Pet + """The \`User\` at the end of the edge.""" + node: User } -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { +"""Methods to use when ordering \`User\`.""" +enum UsersOrderBy { NATURAL ID_ASC ID_DESC - USER_ID_ASC - USER_ID_DESC NAME_ASC NAME_DESC - TYPE_ASC - TYPE_DESC + EMAIL_ASC + EMAIL_DESC + BIO_ASC + BIO_DESC + RENAMED_COMPLEX_COLUMN_ASC + RENAMED_COMPLEX_COLUMN_DESC + CREATED_AT_ASC + CREATED_AT_DESC PRIMARY_KEY_ASC PRIMARY_KEY_DESC } +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime +} + +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String +} + +`; + +exports[`allows to retrieve a single scalar value 1`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -3060,121 +2948,54 @@ type Query implements Node { ): User } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! - id: Int! - name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! - myCustomScalar: Int! - myCustomScalarWithFunction: String! - myCustomScalarWithFunctionAndArgument(test: Int!): Int! -} - -""" -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input UserCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime } -"""A connection to a list of \`User\` values.""" -type UsersConnection { - """A list of \`User\` objects.""" - nodes: [User]! +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! """ - A list of edges which contains the \`User\` and cursor to aid in pagination. + A list of edges which contains the \`Pet\` and cursor to aid in pagination. """ - edges: [UsersEdge!]! + edges: [PetsEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`User\` you could get from the connection.""" + """The count of *all* \`Pet\` you could get from the connection.""" totalCount: Int! } -"""A \`User\` edge in the connection.""" -type UsersEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`User\` at the end of the edge.""" - node: User -} - -"""Methods to use when ordering \`User\`.""" -enum UsersOrderBy { - NATURAL - ID_ASC - ID_DESC - NAME_ASC - NAME_DESC - EMAIL_ASC - EMAIL_DESC - BIO_ASC - BIO_DESC - RENAMED_COMPLEX_COLUMN_ASC - RENAMED_COMPLEX_COLUMN_DESC - CREATED_AT_ASC - CREATED_AT_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +type Pet implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + userId: Int! + name: String! + type: String! } -`; - -exports[`allows to retrieve array scalar values 1`] = ` -type Complex { - numberInt: Int - stringText: String -} +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String + """The \`Pet\` at the end of the edge.""" + node: Pet } """A location in a connection that can be used for resuming pagination.""" scalar Cursor -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - """Information about pagination in a connection.""" type PageInfo { """When paginating forwards, are there more items?""" @@ -3190,15 +3011,19 @@ type PageInfo { endCursor: Cursor } -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ @@ -3218,47 +3043,110 @@ input PetCondition { type: String } -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! +"""A connection to a list of \`User\` values.""" +type UsersConnection { + """A list of \`User\` objects.""" + nodes: [User]! """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. + A list of edges which contains the \`User\` and cursor to aid in pagination. """ - edges: [PetsEdge!]! + edges: [UsersEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`Pet\` you could get from the connection.""" + """The count of *all* \`User\` you could get from the connection.""" totalCount: Int! } -"""A \`Pet\` edge in the connection.""" -type PetsEdge { +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! + myCustomScalar: Int! + myCustomScalarWithFunction: String! + myCustomScalarWithFunctionAndArgument(test: Int!): Int! +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + +"""A \`User\` edge in the connection.""" +type UsersEdge { """A cursor for use in pagination.""" cursor: Cursor - """The \`Pet\` at the end of the edge.""" - node: Pet + """The \`User\` at the end of the edge.""" + node: User } -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { +"""Methods to use when ordering \`User\`.""" +enum UsersOrderBy { NATURAL ID_ASC ID_DESC - USER_ID_ASC - USER_ID_DESC NAME_ASC NAME_DESC - TYPE_ASC - TYPE_DESC + EMAIL_ASC + EMAIL_DESC + BIO_ASC + BIO_DESC + RENAMED_COMPLEX_COLUMN_ASC + RENAMED_COMPLEX_COLUMN_DESC + CREATED_AT_ASC + CREATED_AT_DESC PRIMARY_KEY_ASC PRIMARY_KEY_DESC } +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime +} + +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String +} + +`; + +exports[`allows to retrieve array scalar values 1`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -3351,41 +3239,99 @@ type Query implements Node { ): User } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! +} + +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! + + """ + A list of edges which contains the \`Pet\` and cursor to aid in pagination. + """ + edges: [PetsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Pet\` you could get from the connection.""" + totalCount: Int! +} + +type Pet implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! id: Int! + userId: Int! name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! - myCustomArrayOfScalars: [String!]! + type: String! +} + +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Pet\` at the end of the edge.""" + node: Pet +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input UserCondition { +input PetCondition { """Checks for equality with the object’s \`id\` field.""" id: Int + """Checks for equality with the object’s \`userId\` field.""" + userId: Int + """Checks for equality with the object’s \`name\` field.""" name: String - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime + """Checks for equality with the object’s \`type\` field.""" + type: String } """A connection to a list of \`User\` values.""" @@ -3405,6 +3351,31 @@ type UsersConnection { totalCount: Int! } +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! + myCustomArrayOfScalars: [String!]! +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + """A \`User\` edge in the connection.""" type UsersEdge { """A cursor for use in pagination.""" @@ -3433,4 +3404,33 @@ enum UsersOrderBy { PRIMARY_KEY_DESC } +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime +} + +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String +} + `; diff --git a/packages/graphile-utils/__tests__/__snapshots__/ExtendSchemaPlugin.test.js.snap b/packages/graphile-utils/__tests__/__snapshots__/ExtendSchemaPlugin.test.js.snap index 538edf7e2..54947bf9f 100644 --- a/packages/graphile-utils/__tests__/__snapshots__/ExtendSchemaPlugin.test.js.snap +++ b/packages/graphile-utils/__tests__/__snapshots__/ExtendSchemaPlugin.test.js.snap @@ -213,18 +213,13 @@ type Query { `; exports[`supports defining a more complex mutation 1`] = ` -input EchoInput { - text: String! - int: Int - float: Float! - intList: [Int!] -} - -type EchoOutput { - text: String! - int: Int - float: Float! - intList: [Int!] +"""The root query type which gives access points into the data universe.""" +type Query { + """ + Exposes the root query type nested one level down. This is helpful for Relay 1 + which can only query top level fields if they are in a particular form. + """ + query: Query! } """ @@ -235,13 +230,18 @@ type Mutation { echo(input: EchoInput): EchoOutput } -"""The root query type which gives access points into the data universe.""" -type Query { - """ - Exposes the root query type nested one level down. This is helpful for Relay 1 - which can only query top level fields if they are in a particular form. - """ - query: Query! +type EchoOutput { + text: String! + int: Int + float: Float! + intList: [Int!] +} + +input EchoInput { + text: String! + int: Int + float: Float! + intList: [Int!] } `; @@ -274,13 +274,6 @@ Object { `; exports[`supports defining a simple mutation 1`] = ` -""" -The root mutation type which contains root level fields which mutate data. -""" -type Mutation { - add(a: Int, b: Int): Int -} - """The root query type which gives access points into the data universe.""" type Query { """ @@ -290,6 +283,13 @@ type Query { query: Query! } +""" +The root mutation type which contains root level fields which mutate data. +""" +type Mutation { + add(a: Int, b: Int): Int +} + `; exports[`supports defining a simple mutation 2`] = ` @@ -321,18 +321,16 @@ type Subscription { `; exports[`supports defining new types 1`] = ` -enum EchoCount { - ONCE - TWICE - FOREVER -} +"""The root query type which gives access points into the data universe.""" +type Query { + """ + Exposes the root query type nested one level down. This is helpful for Relay 1 + which can only query top level fields if they are in a particular form. + """ + query: Query! -input EchoInput { - text: String! - int: Int - float: Float! - count: EchoCount = FOREVER - intList: [Int!] + """Gives you back what you put in""" + echo(input: EchoInput, enum: EchoCount = FOREVER): EchoOutput } type EchoOutput { @@ -343,16 +341,18 @@ type EchoOutput { intList: [Int!] } -"""The root query type which gives access points into the data universe.""" -type Query { - """ - Exposes the root query type nested one level down. This is helpful for Relay 1 - which can only query top level fields if they are in a particular form. - """ - query: Query! +enum EchoCount { + ONCE + TWICE + FOREVER +} - """Gives you back what you put in""" - echo(input: EchoInput, enum: EchoCount = FOREVER): EchoOutput +input EchoInput { + text: String! + int: Int + float: Float! + count: EchoCount = FOREVER + intList: [Int!] } `; diff --git a/packages/graphile-utils/__tests__/__snapshots__/makeAddPgTableConditionPlugin.test.js.snap b/packages/graphile-utils/__tests__/__snapshots__/makeAddPgTableConditionPlugin.test.js.snap index e71069a87..be695fe12 100644 --- a/packages/graphile-utils/__tests__/__snapshots__/makeAddPgTableConditionPlugin.test.js.snap +++ b/packages/graphile-utils/__tests__/__snapshots__/makeAddPgTableConditionPlugin.test.js.snap @@ -1,118 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`allows adding a condition to a Relay connection 1`] = ` -type Complex { - numberInt: Int - stringText: String -} - -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String -} - -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor - -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor - - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor -} - -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! -} - -""" -A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PetCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`userId\` field.""" - userId: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`type\` field.""" - type: String -} - -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! - - """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. - """ - edges: [PetsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`Pet\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`Pet\` edge in the connection.""" -type PetsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Pet\` at the end of the edge.""" - node: Pet -} - -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { - NATURAL - ID_ASC - ID_DESC - USER_ID_ASC - USER_ID_DESC - NAME_ASC - NAME_DESC - TYPE_ASC - TYPE_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} - """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -205,121 +93,54 @@ type Query implements Node { ): User } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! - id: Int! - name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! -} - -""" -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input UserCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime - - """Filters users to those that have at least this many pets""" - petCountAtLeast: Int } -"""A connection to a list of \`User\` values.""" -type UsersConnection { - """A list of \`User\` objects.""" - nodes: [User]! +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! """ - A list of edges which contains the \`User\` and cursor to aid in pagination. + A list of edges which contains the \`Pet\` and cursor to aid in pagination. """ - edges: [UsersEdge!]! + edges: [PetsEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`User\` you could get from the connection.""" + """The count of *all* \`Pet\` you could get from the connection.""" totalCount: Int! } -"""A \`User\` edge in the connection.""" -type UsersEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`User\` at the end of the edge.""" - node: User -} - -"""Methods to use when ordering \`User\`.""" -enum UsersOrderBy { - NATURAL - ID_ASC - ID_DESC - NAME_ASC - NAME_DESC - EMAIL_ASC - EMAIL_DESC - BIO_ASC - BIO_DESC - RENAMED_COMPLEX_COLUMN_ASC - RENAMED_COMPLEX_COLUMN_DESC - CREATED_AT_ASC - CREATED_AT_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +type Pet implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + userId: Int! + name: String! + type: String! } -`; - -exports[`allows adding a condition to a simple collection 1`] = ` -type Complex { - numberInt: Int - stringText: String -} +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor -"""An input for mutations affecting \`Complex\`""" -input ComplexInput { - numberInt: Int - stringText: String + """The \`Pet\` at the end of the edge.""" + node: Pet } """A location in a connection that can be used for resuming pagination.""" scalar Cursor -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime - -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} - """Information about pagination in a connection.""" type PageInfo { """When paginating forwards, are there more items?""" @@ -335,15 +156,19 @@ type PageInfo { endCursor: Cursor } -type Pet implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - userId: Int! - name: String! - type: String! +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ @@ -363,47 +188,110 @@ input PetCondition { type: String } -"""A connection to a list of \`Pet\` values.""" -type PetsConnection { - """A list of \`Pet\` objects.""" - nodes: [Pet]! +"""A connection to a list of \`User\` values.""" +type UsersConnection { + """A list of \`User\` objects.""" + nodes: [User]! """ - A list of edges which contains the \`Pet\` and cursor to aid in pagination. + A list of edges which contains the \`User\` and cursor to aid in pagination. """ - edges: [PetsEdge!]! + edges: [UsersEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`Pet\` you could get from the connection.""" + """The count of *all* \`User\` you could get from the connection.""" totalCount: Int! } -"""A \`Pet\` edge in the connection.""" -type PetsEdge { +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + +"""A \`User\` edge in the connection.""" +type UsersEdge { """A cursor for use in pagination.""" cursor: Cursor - """The \`Pet\` at the end of the edge.""" - node: Pet + """The \`User\` at the end of the edge.""" + node: User } -"""Methods to use when ordering \`Pet\`.""" -enum PetsOrderBy { +"""Methods to use when ordering \`User\`.""" +enum UsersOrderBy { NATURAL ID_ASC ID_DESC - USER_ID_ASC - USER_ID_DESC NAME_ASC NAME_DESC - TYPE_ASC - TYPE_DESC + EMAIL_ASC + EMAIL_DESC + BIO_ASC + BIO_DESC + RENAMED_COMPLEX_COLUMN_ASC + RENAMED_COMPLEX_COLUMN_DESC + CREATED_AT_ASC + CREATED_AT_DESC PRIMARY_KEY_ASC PRIMARY_KEY_DESC } +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime + + """Filters users to those that have at least this many pets""" + petCountAtLeast: Int +} + +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String +} + +`; + +exports[`allows adding a condition to a simple collection 1`] = ` """The root query type which gives access points into the data universe.""" type Query implements Node { """ @@ -530,43 +418,99 @@ type Query implements Node { ): User } -type User implements Node { +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! +} + +"""A connection to a list of \`Pet\` values.""" +type PetsConnection { + """A list of \`Pet\` objects.""" + nodes: [Pet]! + + """ + A list of edges which contains the \`Pet\` and cursor to aid in pagination. + """ + edges: [PetsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Pet\` you could get from the connection.""" + totalCount: Int! +} + +type Pet implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! id: Int! + userId: Int! name: String! - email: String! - bio: String - renamedComplexColumn: [Complex] - createdAt: Datetime! + type: String! +} + +"""A \`Pet\` edge in the connection.""" +type PetsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Pet\` at the end of the edge.""" + node: Pet +} + +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + +"""Methods to use when ordering \`Pet\`.""" +enum PetsOrderBy { + NATURAL + ID_ASC + ID_DESC + USER_ID_ASC + USER_ID_DESC + NAME_ASC + NAME_DESC + TYPE_ASC + TYPE_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ -A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`Pet\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input UserCondition { +input PetCondition { """Checks for equality with the object’s \`id\` field.""" id: Int + """Checks for equality with the object’s \`userId\` field.""" + userId: Int + """Checks for equality with the object’s \`name\` field.""" name: String - """Checks for equality with the object’s \`email\` field.""" - email: String - - """Checks for equality with the object’s \`bio\` field.""" - bio: String - - """Checks for equality with the object’s \`renamedComplexColumn\` field.""" - renamedComplexColumn: [ComplexInput] - - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime - - """Filters users to those that have at least this many pets""" - petCountAtLeast: Int + """Checks for equality with the object’s \`type\` field.""" + type: String } """A connection to a list of \`User\` values.""" @@ -586,6 +530,30 @@ type UsersConnection { totalCount: Int! } +type User implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + name: String! + email: String! + bio: String + renamedComplexColumn: [Complex] + createdAt: Datetime! +} + +type Complex { + numberInt: Int + stringText: String +} + +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime + """A \`User\` edge in the connection.""" type UsersEdge { """A cursor for use in pagination.""" @@ -614,4 +582,36 @@ enum UsersOrderBy { PRIMARY_KEY_DESC } +""" +A condition to be used against \`User\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input UserCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`email\` field.""" + email: String + + """Checks for equality with the object’s \`bio\` field.""" + bio: String + + """Checks for equality with the object’s \`renamedComplexColumn\` field.""" + renamedComplexColumn: [ComplexInput] + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime + + """Filters users to those that have at least this many pets""" + petCountAtLeast: Int +} + +"""An input for mutations affecting \`Complex\`""" +input ComplexInput { + numberInt: Int + stringText: String +} + `; diff --git a/packages/graphile-utils/package.json b/packages/graphile-utils/package.json index 16e47c49b..24f8d81f7 100644 --- a/packages/graphile-utils/package.json +++ b/packages/graphile-utils/package.json @@ -31,7 +31,7 @@ "homepage": "https://github.com/graphile/graphile-build/tree/master/packages/graphile-utils", "dependencies": { "debug": "^4.1.1", - "graphql": ">=0.9 <0.14 || ^14.0.2", + "graphql": ">=0.9 <0.14 || ^14.0.2 || ^15.4.0", "tslib": "^2.0.1" }, "engines": { @@ -49,7 +49,5 @@ "graphile-build": "^4.5.0", "graphile-build-pg": "^4.5.0" }, - "files": [ - "node8plus" - ] + "files": ["node8plus"] } diff --git a/packages/graphql-parse-resolve-info/package.json b/packages/graphql-parse-resolve-info/package.json index 0a862a296..abc7243b8 100644 --- a/packages/graphql-parse-resolve-info/package.json +++ b/packages/graphql-parse-resolve-info/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/graphile/graphile-build/tree/master/packages/graphql-parse-resolve-info", "peerDependencies": { - "graphql": ">=0.9 <0.14 || ^14.0.2" + "graphql": ">=0.9 <0.14 || ^14.0.2 || ^15.4.0" }, "devDependencies": { "@types/debug": "^4.1.4", @@ -45,11 +45,7 @@ "debug": "^4.1.1", "tslib": "^2.0.1" }, - "files": [ - "node8plus", - "index.js", - "build-turbo" - ], + "files": ["node8plus", "index.js", "build-turbo"], "engines": { "node": ">=8.6" } diff --git a/packages/jest-serializer-graphql-schema/__tests__/__snapshots__/schema.test.ts.snap b/packages/jest-serializer-graphql-schema/__tests__/__snapshots__/schema.test.ts.snap index 6dfc4a8fd..adfad31ed 100644 --- a/packages/jest-serializer-graphql-schema/__tests__/__snapshots__/schema.test.ts.snap +++ b/packages/jest-serializer-graphql-schema/__tests__/__snapshots__/schema.test.ts.snap @@ -1,6 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Pokemon GraphQL API has a consistent schema 1`] = ` +"""Query any Pokémon by number or name""" +type Query { + query: Query + pokemons(first: Int!): [Pokemon] + pokemon(id: String, name: String): Pokemon +} + """Represents a Pokémon's attack types""" type Attack { """The name of this Pokémon attack""" @@ -87,11 +94,4 @@ type PokemonEvolutionRequirement { name: String } -"""Query any Pokémon by number or name""" -type Query { - query: Query - pokemons(first: Int!): [Pokemon] - pokemon(id: String, name: String): Pokemon -} - `; diff --git a/packages/jest-serializer-graphql-schema/package.json b/packages/jest-serializer-graphql-schema/package.json index bcb0bb446..21bd770d4 100644 --- a/packages/jest-serializer-graphql-schema/package.json +++ b/packages/jest-serializer-graphql-schema/package.json @@ -13,11 +13,7 @@ "type": "git", "url": "git+https://github.com/graphile/graphile-engine.git" }, - "keywords": [ - "jest", - "graphql", - "schema" - ], + "keywords": ["jest", "graphql", "schema"], "author": "David Baumgold ", "license": "MIT", "bugs": { @@ -25,7 +21,7 @@ }, "homepage": "https://github.com/graphile/graphile-engine/tree/master/packages/jest-serializer-graphql-schema#readme", "peerDependencies": { - "graphql": "^14.0.2" + "graphql": "^14.0.2 || ^15.4.0" }, "devDependencies": { "@types/node-fetch": "^2.5.2", @@ -34,9 +30,7 @@ "ts-jest": "25.x", "typescript": "^4.0.2" }, - "files": [ - "dist" - ], + "files": ["dist"], "dependencies": { "tslib": "^2.0.1" } diff --git a/packages/pg-pubsub/__tests__/__snapshots__/subs.test.ts.snap b/packages/pg-pubsub/__tests__/__snapshots__/subs.test.ts.snap index e61340068..d62c6f5f3 100644 --- a/packages/pg-pubsub/__tests__/__snapshots__/subs.test.ts.snap +++ b/packages/pg-pubsub/__tests__/__snapshots__/subs.test.ts.snap @@ -104,8 +104,7 @@ input CreateBarInput { bar: BarInput! """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String } @@ -122,8 +121,7 @@ type CreateBarPayload { ): BarsEdge """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String @@ -139,8 +137,7 @@ type CreateBarPayload { """All input for the create \`Foo\` mutation.""" input CreateFooInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -151,8 +148,7 @@ input CreateFooInput { """The output of our create \`Foo\` mutation.""" type CreateFooPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String @@ -175,8 +171,7 @@ type CreateFooPayload { scalar Cursor """ -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +A point in time as described by the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. """ scalar Datetime @@ -193,8 +188,7 @@ input DeleteBarByIdInput { """All input for the \`deleteBar\` mutation.""" input DeleteBarInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -216,8 +210,7 @@ type DeleteBarPayload { ): BarsEdge """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String deletedBarId: ID @@ -244,8 +237,7 @@ input DeleteFooByIdInput { """All input for the \`deleteFoo\` mutation.""" input DeleteFooInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -258,8 +250,7 @@ input DeleteFooInput { """The output of our delete \`Foo\` mutation.""" type DeleteFooPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String deletedFooId: ID @@ -300,8 +291,7 @@ type Foo implements Node { last: Int """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor based pagination. May not be used with \`last\`. """ offset: Int @@ -523,8 +513,7 @@ type Query implements Node { last: Int """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor based pagination. May not be used with \`last\`. """ offset: Int @@ -552,8 +541,7 @@ type Query implements Node { last: Int """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor based pagination. May not be used with \`last\`. """ offset: Int @@ -602,8 +590,7 @@ type Query implements Node { last: Int """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor based pagination. May not be used with \`last\`. """ offset: Int ): FoosConnection @@ -640,8 +627,7 @@ input UpdateBarInput { barPatch: BarPatch! """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -663,8 +649,7 @@ type UpdateBarPayload { ): BarsEdge """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String @@ -695,8 +680,7 @@ input UpdateFooByIdInput { """All input for the \`updateFoo\` mutation.""" input UpdateFooInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -714,8 +698,7 @@ input UpdateFooInput { """The output of our update \`Foo\` mutation.""" type UpdateFooPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String @@ -840,8 +823,7 @@ input CreateBarInput { bar: BarInput! """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String } @@ -858,8 +840,7 @@ type CreateBarPayload { ): BarsEdge """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String @@ -875,8 +856,7 @@ type CreateBarPayload { """All input for the create \`Foo\` mutation.""" input CreateFooInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -887,8 +867,7 @@ input CreateFooInput { """The output of our create \`Foo\` mutation.""" type CreateFooPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String @@ -911,8 +890,7 @@ type CreateFooPayload { scalar Cursor """ -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +A point in time as described by the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. """ scalar Datetime @@ -929,8 +907,7 @@ input DeleteBarByIdInput { """All input for the \`deleteBar\` mutation.""" input DeleteBarInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -952,8 +929,7 @@ type DeleteBarPayload { ): BarsEdge """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String deletedBarId: ID @@ -980,8 +956,7 @@ input DeleteFooByIdInput { """All input for the \`deleteFoo\` mutation.""" input DeleteFooInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -994,8 +969,7 @@ input DeleteFooInput { """The output of our delete \`Foo\` mutation.""" type DeleteFooPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String deletedFooId: ID @@ -1036,8 +1010,7 @@ type Foo implements Node { last: Int """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor based pagination. May not be used with \`last\`. """ offset: Int @@ -1268,8 +1241,7 @@ type Query implements Node { last: Int """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor based pagination. May not be used with \`last\`. """ offset: Int @@ -1297,8 +1269,7 @@ type Query implements Node { last: Int """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor based pagination. May not be used with \`last\`. """ offset: Int @@ -1347,8 +1318,7 @@ type Query implements Node { last: Int """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor based pagination. May not be used with \`last\`. """ offset: Int ): FoosConnection @@ -1392,8 +1362,7 @@ input UpdateBarInput { barPatch: BarPatch! """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -1415,8 +1384,7 @@ type UpdateBarPayload { ): BarsEdge """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String @@ -1447,8 +1415,7 @@ input UpdateFooByIdInput { """All input for the \`updateFoo\` mutation.""" input UpdateFooInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String @@ -1466,8 +1433,7 @@ input UpdateFooInput { """The output of our update \`Foo\` mutation.""" type UpdateFooPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String diff --git a/packages/pg-pubsub/__tests__/subs.test.ts b/packages/pg-pubsub/__tests__/subs.test.ts index aed8b6d80..bd0ee9e58 100644 --- a/packages/pg-pubsub/__tests__/subs.test.ts +++ b/packages/pg-pubsub/__tests__/subs.test.ts @@ -3,15 +3,19 @@ import { makePluginHook, PostGraphileOptions, } from "postgraphile"; -import { - introspectionQuery as INTROSPECTION_QUERY, - buildClientSchema, - lexicographicSortSchema, -} from "graphql"; +import * as graphql from "graphql"; import { Pool, PoolClient } from "pg"; import PgPubsub from "../src"; import { runQuery, TestCtx } from "./runQuery"; +// Support new and old GraphQL.js +const INTROSPECTION_QUERY: string = + typeof graphql.getIntrospectionQuery === "function" + ? graphql.getIntrospectionQuery() + : (graphql as any).introspectionQuery; + +const { buildClientSchema, lexicographicSortSchema } = graphql; + let ctx: TestCtx | null = null; const CLI_DEFAULTS = {}; diff --git a/packages/pg-pubsub/package.json b/packages/pg-pubsub/package.json index 6ba2a0c82..50547d5c9 100644 --- a/packages/pg-pubsub/package.json +++ b/packages/pg-pubsub/package.json @@ -38,12 +38,12 @@ }, "peerDependencies": { "graphile-build": "4.x", - "graphql": ">=0.6 <15", + "graphql": ">=0.6 <16", "postgraphile": "^4.4.0-beta.10" }, "devDependencies": { "@types/jest": "25.x", - "graphql": ">=0.6 <15", + "graphql": ">=0.6 <16", "jest": "25.x", "jest-serializer-graphql-schema": "4.9.0", "mock-req": "^0.2.0", @@ -53,7 +53,5 @@ "ts-jest": "25.x", "typescript": "^4.0.2" }, - "files": [ - "dist" - ] + "files": ["dist"] } diff --git a/packages/postgraphile-core/__tests__/integration/schema/__snapshots__/simplePrint.test.js.snap b/packages/postgraphile-core/__tests__/integration/schema/__snapshots__/simplePrint.test.js.snap index dedf9d70c..2259f13f8 100644 --- a/packages/postgraphile-core/__tests__/integration/schema/__snapshots__/simplePrint.test.js.snap +++ b/packages/postgraphile-core/__tests__/integration/schema/__snapshots__/simplePrint.test.js.snap @@ -1,393 +1,201 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Simple schema print (no ordering) 1`] = ` -"""All input for the \`add1Mutation\` mutation.""" -input Add1MutationInput { +"""The root query type which gives access points into the data universe.""" +type Query implements Node { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + Exposes the root query type nested one level down. This is helpful for Relay 1 + which can only query top level fields if they are in a particular form. """ - clientMutationId: String - arg0: Int! - arg1: Int! -} + query: Query! -"""The output of our \`add1Mutation\` mutation.""" -type Add1MutationPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + The root query type must be a \`Node\` to work well with Relay 1 mutations. This just resolves to \`query\`. """ - clientMutationId: String - integer: Int + nodeId: ID! - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Fetches an object given its globally unique \`ID\`.""" + node( + """The globally unique \`ID\`.""" + nodeId: ID! + ): Node -"""All input for the \`add2Mutation\` mutation.""" -input Add2MutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - a: Int! - b: Int -} + """Reads and enables pagination through a set of \`DefaultValue\`.""" + allDefaultValues( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our \`add2Mutation\` mutation.""" -type Add2MutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integer: Int + """Only read the last \`n\` values of the set.""" + last: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""All input for the \`add3Mutation\` mutation.""" -input Add3MutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - a: Int - arg1: Int -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""The output of our \`add3Mutation\` mutation.""" -type Add3MutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integer: Int + """Read all values in the set after (below) this cursor.""" + after: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """The method to use when ordering \`DefaultValue\`.""" + orderBy: [DefaultValuesOrderBy!] = [PRIMARY_KEY_ASC] -"""All input for the \`add4MutationError\` mutation.""" -input Add4MutationErrorInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - arg0: Int - b: Int -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: DefaultValueCondition + ): DefaultValuesConnection -"""The output of our \`add4MutationError\` mutation.""" -type Add4MutationErrorPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integer: Int + """Reads and enables pagination through a set of \`ForeignKey\`.""" + allForeignKeys( + """Only read the first \`n\` values of the set.""" + first: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Only read the last \`n\` values of the set.""" + last: Int -"""All input for the \`add4Mutation\` mutation.""" -input Add4MutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - arg0: Int - b: Int -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""The output of our \`add4Mutation\` mutation.""" -type Add4MutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integer: Int + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Read all values in the set after (below) this cursor.""" + after: Cursor -enum AnEnum { - AWAITING - REJECTED - PUBLISHED - ASTERISK - ASTERISK_ASTERISK - ASTERISK_ASTERISK_ASTERISK - FOO_ASTERISK - FOO_ASTERISK_ - _FOO_ASTERISK - ASTERISK_BAR - ASTERISK_BAR_ - _ASTERISK_BAR_ - ASTERISK_BAZ_ASTERISK - _ASTERISK_BAZ_ASTERISK_ - PERCENT - GREATER_THAN_OR_EQUAL - LIKE - DOLLAR -} + """The method to use when ordering \`ForeignKey\`.""" + orderBy: [ForeignKeysOrderBy!] = [NATURAL] -scalar AnInt + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: ForeignKeyCondition + ): ForeignKeysConnection -"""A range of \`AnInt\`.""" -type AnIntRange { - """The starting bound of our range.""" - start: AnIntRangeBound + """Reads and enables pagination through a set of \`Input\`.""" + allInputs( + """Only read the first \`n\` values of the set.""" + first: Int - """The ending bound of our range.""" - end: AnIntRangeBound -} + """Only read the last \`n\` values of the set.""" + last: Int -""" -The value at one end of a range. A range can either include this value, or not. -""" -type AnIntRangeBound { - """The value at one end of our range.""" - value: AnInt! + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """Whether or not the value of this bound is included in the range.""" - inclusive: Boolean! -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -""" -The value at one end of a range. A range can either include this value, or not. -""" -input AnIntRangeBoundInput { - """The value at one end of our range.""" - value: AnInt! + """Read all values in the set after (below) this cursor.""" + after: Cursor - """Whether or not the value of this bound is included in the range.""" - inclusive: Boolean! -} + """The method to use when ordering \`Input\`.""" + orderBy: [InputsOrderBy!] = [PRIMARY_KEY_ASC] -"""A range of \`AnInt\`.""" -input AnIntRangeInput { - """The starting bound of our range.""" - start: AnIntRangeBoundInput + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: InputCondition + ): InputsConnection - """The ending bound of our range.""" - end: AnIntRangeBoundInput -} + """Reads and enables pagination through a set of \`NoPrimaryKey\`.""" + allNoPrimaryKeys( + """Only read the first \`n\` values of the set.""" + first: Int -scalar AnotherInt + """Only read the last \`n\` values of the set.""" + last: Int -"""All input for the \`authenticateFail\` mutation.""" -input AuthenticateFailInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} - -"""The output of our \`authenticateFail\` mutation.""" -type AuthenticateFailPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - jwtToken: JwtToken - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} - -"""All input for the \`authenticate\` mutation.""" -input AuthenticateInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - a: Int - b: BigFloat - c: BigInt -} - -"""All input for the \`authenticateMany\` mutation.""" -input AuthenticateManyInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - a: Int - b: BigFloat - c: BigInt -} - -"""The output of our \`authenticateMany\` mutation.""" -type AuthenticateManyPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - jwtTokens: [JwtToken] - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} - -"""The output of our \`authenticate\` mutation.""" -type AuthenticatePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - jwtToken: JwtToken - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} - -"""All input for the \`authenticatePayload\` mutation.""" -input AuthenticatePayloadInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - a: Int - b: BigFloat - c: BigInt -} - -"""The output of our \`authenticatePayload\` mutation.""" -type AuthenticatePayloadPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - authPayload: AuthPayload + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set before (above) this cursor.""" + before: Cursor - """Reads a single \`Person\` that is related to this \`AuthPayload\`.""" - personById: Person -} + """Read all values in the set after (below) this cursor.""" + after: Cursor -type AuthPayload { - jwt: JwtToken - id: Int - admin: Boolean + """The method to use when ordering \`NoPrimaryKey\`.""" + orderBy: [NoPrimaryKeysOrderBy!] = [NATURAL] - """Reads a single \`Person\` that is related to this \`AuthPayload\`.""" - personById: Person -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: NoPrimaryKeyCondition + ): NoPrimaryKeysConnection -""" -A floating point number that requires more precision than IEEE 754 binary 64 -""" -scalar BigFloat + """Reads and enables pagination through a set of \`NonUpdatableView\`.""" + allNonUpdatableViews( + """Only read the first \`n\` values of the set.""" + first: Int -"""A range of \`BigFloat\`.""" -type BigFloatRange { - """The starting bound of our range.""" - start: BigFloatRangeBound + """Only read the last \`n\` values of the set.""" + last: Int - """The ending bound of our range.""" - end: BigFloatRangeBound -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -""" -The value at one end of a range. A range can either include this value, or not. -""" -type BigFloatRangeBound { - """The value at one end of our range.""" - value: BigFloat! + """Read all values in the set before (above) this cursor.""" + before: Cursor - """Whether or not the value of this bound is included in the range.""" - inclusive: Boolean! -} + """Read all values in the set after (below) this cursor.""" + after: Cursor -""" -The value at one end of a range. A range can either include this value, or not. -""" -input BigFloatRangeBoundInput { - """The value at one end of our range.""" - value: BigFloat! + """The method to use when ordering \`NonUpdatableView\`.""" + orderBy: [NonUpdatableViewsOrderBy!] = [NATURAL] - """Whether or not the value of this bound is included in the range.""" - inclusive: Boolean! -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: NonUpdatableViewCondition + ): NonUpdatableViewsConnection -"""A range of \`BigFloat\`.""" -input BigFloatRangeInput { - """The starting bound of our range.""" - start: BigFloatRangeBoundInput + """Reads and enables pagination through a set of \`Patch\`.""" + allPatches( + """Only read the first \`n\` values of the set.""" + first: Int - """The ending bound of our range.""" - end: BigFloatRangeBoundInput -} + """Only read the last \`n\` values of the set.""" + last: Int -""" -A signed eight-byte integer. The upper big integer values are greater than the -max value for a JavaScript number. Therefore all big integers will be output as -strings and not numbers. -""" -scalar BigInt + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -enum Color { - RED - GREEN - BLUE -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -type CompoundKey implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - personId2: Int! - personId1: Int! - extra: Boolean + """Read all values in the set after (below) this cursor.""" + after: Cursor - """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" - personByPersonId2: Person + """The method to use when ordering \`Patch\`.""" + orderBy: [PatchesOrderBy!] = [PRIMARY_KEY_ASC] - """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" - personByPersonId1: Person + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: PatchCondition + ): PatchesConnection - """Reads and enables pagination through a set of \`ForeignKey\`.""" - foreignKeysByCompoundKey1AndCompoundKey2( + """Reads and enables pagination through a set of \`Post\`.""" + allPosts( """Only read the first \`n\` values of the set.""" first: Int @@ -406,22 +214,17 @@ type CompoundKey implements Node { """Read all values in the set after (below) this cursor.""" after: Cursor - """The method to use when ordering \`ForeignKey\`.""" - orderBy: [ForeignKeysOrderBy!] = [NATURAL] + """The method to use when ordering \`Post\`.""" + orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] """ A condition to be used in determining which values should be returned by the collection. """ - condition: ForeignKeyCondition - ): ForeignKeysConnection! - - """ - Reads a single \`UniqueForeignKey\` that is related to this \`CompoundKey\`. - """ - uniqueForeignKeyByCompoundKey1AndCompoundKey2: UniqueForeignKey + condition: PostCondition + ): PostsConnection - """Reads and enables pagination through a set of \`UniqueForeignKey\`.""" - uniqueForeignKeysByCompoundKey1AndCompoundKey2( + """Reads and enables pagination through a set of \`Reserved\`.""" + allReserveds( """Only read the first \`n\` values of the set.""" first: Int @@ -439,1133 +242,979 @@ type CompoundKey implements Node { """Read all values in the set after (below) this cursor.""" after: Cursor - ): UniqueForeignKeysConnection! @deprecated(reason: "Please use uniqueForeignKeyByCompoundKey1AndCompoundKey2 instead") -} -""" -A condition to be used against \`CompoundKey\` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input CompoundKeyCondition { - """Checks for equality with the object’s \`personId2\` field.""" - personId2: Int + """The method to use when ordering \`Reserved\`.""" + orderBy: [ReservedsOrderBy!] = [PRIMARY_KEY_ASC] - """Checks for equality with the object’s \`personId1\` field.""" - personId1: Int - - """Checks for equality with the object’s \`extra\` field.""" - extra: Boolean -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: ReservedCondition + ): ReservedsConnection -"""An input for mutations affecting \`CompoundKey\`""" -input CompoundKeyInput { - personId2: Int! - personId1: Int! - extra: Boolean -} + """Reads and enables pagination through a set of \`ReservedPatchRecord\`.""" + allReservedPatchRecords( + """Only read the first \`n\` values of the set.""" + first: Int -""" -Represents an update to a \`CompoundKey\`. Fields that are set will be updated. -""" -input CompoundKeyPatch { - personId2: Int - personId1: Int - extra: Boolean -} + """Only read the last \`n\` values of the set.""" + last: Int -"""A connection to a list of \`CompoundKey\` values.""" -type CompoundKeysConnection { - """A list of \`CompoundKey\` objects.""" - nodes: [CompoundKey]! + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - A list of edges which contains the \`CompoundKey\` and cursor to aid in pagination. - """ - edges: [CompoundKeysEdge!]! + """Read all values in the set before (above) this cursor.""" + before: Cursor - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Read all values in the set after (below) this cursor.""" + after: Cursor - """The count of *all* \`CompoundKey\` you could get from the connection.""" - totalCount: Int! -} + """The method to use when ordering \`ReservedPatchRecord\`.""" + orderBy: [ReservedPatchRecordsOrderBy!] = [PRIMARY_KEY_ASC] -"""A \`CompoundKey\` edge in the connection.""" -type CompoundKeysEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: ReservedPatchRecordCondition + ): ReservedPatchRecordsConnection - """The \`CompoundKey\` at the end of the edge.""" - node: CompoundKey -} + """Reads and enables pagination through a set of \`ReservedInputRecord\`.""" + allReservedInputRecords( + """Only read the first \`n\` values of the set.""" + first: Int -"""Methods to use when ordering \`CompoundKey\`.""" -enum CompoundKeysOrderBy { - NATURAL - PERSON_ID_2_ASC - PERSON_ID_2_DESC - PERSON_ID_1_ASC - PERSON_ID_1_DESC - EXTRA_ASC - EXTRA_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} + """Only read the last \`n\` values of the set.""" + last: Int -"""Awesome feature!""" -type CompoundType { - a: Int - b: String - c: Color - d: UUID - e: EnumCaps - f: EnumWithEmptyString - g: Interval - fooBar: Int - computedField: Int -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""All input for the \`compoundTypeArrayMutation\` mutation.""" -input CompoundTypeArrayMutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - object: CompoundTypeInput -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""The output of our \`compoundTypeArrayMutation\` mutation.""" -type CompoundTypeArrayMutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - compoundTypes: [CompoundType] + """Read all values in the set after (below) this cursor.""" + after: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """The method to use when ordering \`ReservedInputRecord\`.""" + orderBy: [ReservedInputRecordsOrderBy!] = [PRIMARY_KEY_ASC] -"""An input for mutations affecting \`CompoundType\`""" -input CompoundTypeInput { - a: Int - b: String - c: Color - d: UUID - e: EnumCaps - f: EnumWithEmptyString - g: IntervalInput - fooBar: Int -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: ReservedInputRecordCondition + ): ReservedInputRecordsConnection -"""All input for the \`compoundTypeMutation\` mutation.""" -input CompoundTypeMutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - object: CompoundTypeInput -} + """Reads and enables pagination through a set of \`SimilarTable1\`.""" + allSimilarTable1S( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our \`compoundTypeMutation\` mutation.""" -type CompoundTypeMutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - compoundType: CompoundType + """Only read the last \`n\` values of the set.""" + last: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""A connection to a list of \`CompoundType\` values.""" -type CompoundTypesConnection { - """A list of \`CompoundType\` objects.""" - nodes: [CompoundType]! + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - A list of edges which contains the \`CompoundType\` and cursor to aid in pagination. - """ - edges: [CompoundTypesEdge!]! + """Read all values in the set after (below) this cursor.""" + after: Cursor - """Information to aid in pagination.""" - pageInfo: PageInfo! + """The method to use when ordering \`SimilarTable1\`.""" + orderBy: [SimilarTable1SOrderBy!] = [PRIMARY_KEY_ASC] - """The count of *all* \`CompoundType\` you could get from the connection.""" - totalCount: Int! -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: SimilarTable1Condition + ): SimilarTable1SConnection -"""A \`CompoundType\` edge in the connection.""" -type CompoundTypesEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Reads and enables pagination through a set of \`SimilarTable2\`.""" + allSimilarTable2S( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`CompoundType\` at the end of the edge.""" - node: CompoundType -} + """Only read the last \`n\` values of the set.""" + last: Int -"""All input for the \`compoundTypeSetMutation\` mutation.""" -input CompoundTypeSetMutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - object: CompoundTypeInput -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""The output of our \`compoundTypeSetMutation\` mutation.""" -type CompoundTypeSetMutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - compoundTypes: [CompoundType] + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Read all values in the set after (below) this cursor.""" + after: Cursor -type Comptype { - schedule: Datetime - isOptimised: Boolean -} + """The method to use when ordering \`SimilarTable2\`.""" + orderBy: [SimilarTable2SOrderBy!] = [PRIMARY_KEY_ASC] -"""An input for mutations affecting \`Comptype\`""" -input ComptypeInput { - schedule: Datetime - isOptimised: Boolean -} - -"""All input for the create \`CompoundKey\` mutation.""" -input CreateCompoundKeyInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: SimilarTable2Condition + ): SimilarTable2SConnection - """The \`CompoundKey\` to be created by this mutation.""" - compoundKey: CompoundKeyInput! -} + """Reads and enables pagination through a set of \`Testview\`.""" + allTestviews( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our create \`CompoundKey\` mutation.""" -type CreateCompoundKeyPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`CompoundKey\` that was created by this mutation.""" - compoundKey: CompoundKey + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set before (above) this cursor.""" + before: Cursor - """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" - personByPersonId2: Person + """Read all values in the set after (below) this cursor.""" + after: Cursor - """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" - personByPersonId1: Person + """The method to use when ordering \`Testview\`.""" + orderBy: [TestviewsOrderBy!] = [NATURAL] - """An edge for our \`CompoundKey\`. May be used by Relay 1.""" - compoundKeyEdge( - """The method to use when ordering \`CompoundKey\`.""" - orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] - ): CompoundKeysEdge -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: TestviewCondition + ): TestviewsConnection -"""All input for the create \`DefaultValue\` mutation.""" -input CreateDefaultValueInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Reads and enables pagination through a set of \`ViewTable\`.""" + allViewTables( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`DefaultValue\` to be created by this mutation.""" - defaultValue: DefaultValueInput! -} + """Only read the last \`n\` values of the set.""" + last: Int -"""The output of our create \`DefaultValue\` mutation.""" -type CreateDefaultValuePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`DefaultValue\` that was created by this mutation.""" - defaultValue: DefaultValue + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set after (below) this cursor.""" + after: Cursor - """An edge for our \`DefaultValue\`. May be used by Relay 1.""" - defaultValueEdge( - """The method to use when ordering \`DefaultValue\`.""" - orderBy: [DefaultValuesOrderBy!] = [PRIMARY_KEY_ASC] - ): DefaultValuesEdge -} + """The method to use when ordering \`ViewTable\`.""" + orderBy: [ViewTablesOrderBy!] = [PRIMARY_KEY_ASC] -"""All input for the create \`EdgeCase\` mutation.""" -input CreateEdgeCaseInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: ViewTableCondition + ): ViewTablesConnection - """The \`EdgeCase\` to be created by this mutation.""" - edgeCase: EdgeCaseInput! -} + """Reads and enables pagination through a set of \`Type\`.""" + allTypes( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our create \`EdgeCase\` mutation.""" -type CreateEdgeCasePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`EdgeCase\` that was created by this mutation.""" - edgeCase: EdgeCase + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set before (above) this cursor.""" + before: Cursor - """An edge for our \`EdgeCase\`. May be used by Relay 1.""" - edgeCaseEdge( - """The method to use when ordering \`EdgeCase\`.""" - orderBy: [EdgeCasesOrderBy!] = [NATURAL] - ): EdgeCasesEdge -} + """Read all values in the set after (below) this cursor.""" + after: Cursor -"""All input for the create \`ForeignKey\` mutation.""" -input CreateForeignKeyInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """The method to use when ordering \`Type\`.""" + orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] - """The \`ForeignKey\` to be created by this mutation.""" - foreignKey: ForeignKeyInput! -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: TypeCondition + ): TypesConnection -"""The output of our create \`ForeignKey\` mutation.""" -type CreateForeignKeyPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Reads and enables pagination through a set of \`UpdatableView\`.""" + allUpdatableViews( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`ForeignKey\` that was created by this mutation.""" - foreignKey: ForeignKey + """Only read the last \`n\` values of the set.""" + last: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """Reads a single \`Person\` that is related to this \`ForeignKey\`.""" - personByPersonId: Person + """Read all values in the set before (above) this cursor.""" + before: Cursor - """Reads a single \`CompoundKey\` that is related to this \`ForeignKey\`.""" - compoundKeyByCompoundKey1AndCompoundKey2: CompoundKey + """Read all values in the set after (below) this cursor.""" + after: Cursor - """An edge for our \`ForeignKey\`. May be used by Relay 1.""" - foreignKeyEdge( - """The method to use when ordering \`ForeignKey\`.""" - orderBy: [ForeignKeysOrderBy!] = [NATURAL] - ): ForeignKeysEdge -} + """The method to use when ordering \`UpdatableView\`.""" + orderBy: [UpdatableViewsOrderBy!] = [NATURAL] -"""All input for the create \`Input\` mutation.""" -input CreateInputInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: UpdatableViewCondition + ): UpdatableViewsConnection - """The \`Input\` to be created by this mutation.""" - input: InputInput! -} + """Reads and enables pagination through a set of \`CompoundKey\`.""" + allCompoundKeys( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our create \`Input\` mutation.""" -type CreateInputPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`Input\` that was created by this mutation.""" - input: Input + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set before (above) this cursor.""" + before: Cursor - """An edge for our \`Input\`. May be used by Relay 1.""" - inputEdge( - """The method to use when ordering \`Input\`.""" - orderBy: [InputsOrderBy!] = [PRIMARY_KEY_ASC] - ): InputsEdge -} + """Read all values in the set after (below) this cursor.""" + after: Cursor -"""All input for the create \`Issue756\` mutation.""" -input CreateIssue756Input { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """The method to use when ordering \`CompoundKey\`.""" + orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] - """The \`Issue756\` to be created by this mutation.""" - issue756: Issue756Input! -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: CompoundKeyCondition + ): CompoundKeysConnection -"""The output of our create \`Issue756\` mutation.""" -type CreateIssue756Payload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Reads and enables pagination through a set of \`EdgeCase\`.""" + allEdgeCases( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`Issue756\` that was created by this mutation.""" - issue756: Issue756 + """Only read the last \`n\` values of the set.""" + last: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """The method to use when ordering \`EdgeCase\`.""" + orderBy: [EdgeCasesOrderBy!] = [NATURAL] + + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: EdgeCaseCondition + ): EdgeCasesConnection + + """Reads and enables pagination through a set of \`Issue756\`.""" + allIssue756S( + """Only read the first \`n\` values of the set.""" + first: Int + + """Only read the last \`n\` values of the set.""" + last: Int + + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor - """An edge for our \`Issue756\`. May be used by Relay 1.""" - issue756Edge( """The method to use when ordering \`Issue756\`.""" orderBy: [Issue756SOrderBy!] = [PRIMARY_KEY_ASC] - ): Issue756SEdge -} -"""All input for the create \`LeftArm\` mutation.""" -input CreateLeftArmInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: Issue756Condition + ): Issue756SConnection - """The \`LeftArm\` to be created by this mutation.""" - leftArm: LeftArmInput! -} + """Reads and enables pagination through a set of \`LeftArm\`.""" + allLeftArms( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our create \`LeftArm\` mutation.""" -type CreateLeftArmPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`LeftArm\` that was created by this mutation.""" - leftArm: LeftArm + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set before (above) this cursor.""" + before: Cursor - """Reads a single \`Person\` that is related to this \`LeftArm\`.""" - personByPersonId: Person + """Read all values in the set after (below) this cursor.""" + after: Cursor - """An edge for our \`LeftArm\`. May be used by Relay 1.""" - leftArmEdge( """The method to use when ordering \`LeftArm\`.""" orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] - ): LeftArmsEdge -} -"""All input for the create \`MyTable\` mutation.""" -input CreateMyTableInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: LeftArmCondition + ): LeftArmsConnection - """The \`MyTable\` to be created by this mutation.""" - myTable: MyTableInput! -} + """Reads and enables pagination through a set of \`MyTable\`.""" + allMyTables( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our create \`MyTable\` mutation.""" -type CreateMyTablePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`MyTable\` that was created by this mutation.""" - myTable: MyTable + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor - """An edge for our \`MyTable\`. May be used by Relay 1.""" - myTableEdge( """The method to use when ordering \`MyTable\`.""" orderBy: [MyTablesOrderBy!] = [PRIMARY_KEY_ASC] - ): MyTablesEdge -} -"""All input for the create \`NoPrimaryKey\` mutation.""" -input CreateNoPrimaryKeyInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: MyTableCondition + ): MyTablesConnection - """The \`NoPrimaryKey\` to be created by this mutation.""" - noPrimaryKey: NoPrimaryKeyInput! -} + """Reads and enables pagination through a set of \`NullTestRecord\`.""" + allNullTestRecords( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our create \`NoPrimaryKey\` mutation.""" -type CreateNoPrimaryKeyPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`NoPrimaryKey\` that was created by this mutation.""" - noPrimaryKey: NoPrimaryKey + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set before (above) this cursor.""" + before: Cursor - """An edge for our \`NoPrimaryKey\`. May be used by Relay 1.""" - noPrimaryKeyEdge( - """The method to use when ordering \`NoPrimaryKey\`.""" - orderBy: [NoPrimaryKeysOrderBy!] = [NATURAL] - ): NoPrimaryKeysEdge -} + """Read all values in the set after (below) this cursor.""" + after: Cursor -"""All input for the create \`NullTestRecord\` mutation.""" -input CreateNullTestRecordInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """The method to use when ordering \`NullTestRecord\`.""" + orderBy: [NullTestRecordsOrderBy!] = [PRIMARY_KEY_ASC] - """The \`NullTestRecord\` to be created by this mutation.""" - nullTestRecord: NullTestRecordInput! -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: NullTestRecordCondition + ): NullTestRecordsConnection -"""The output of our create \`NullTestRecord\` mutation.""" -type CreateNullTestRecordPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Reads and enables pagination through a set of \`Person\`.""" + allPeople( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`NullTestRecord\` that was created by this mutation.""" - nullTestRecord: NullTestRecord + """Only read the last \`n\` values of the set.""" + last: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """An edge for our \`NullTestRecord\`. May be used by Relay 1.""" - nullTestRecordEdge( - """The method to use when ordering \`NullTestRecord\`.""" - orderBy: [NullTestRecordsOrderBy!] = [PRIMARY_KEY_ASC] - ): NullTestRecordsEdge -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""All input for the create \`Patch\` mutation.""" -input CreatePatchInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Read all values in the set after (below) this cursor.""" + after: Cursor - """The \`Patch\` to be created by this mutation.""" - patch: PatchInput! -} + """The method to use when ordering \`Person\`.""" + orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] -"""The output of our create \`Patch\` mutation.""" -type CreatePatchPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: PersonCondition + ): PeopleConnection - """The \`Patch\` that was created by this mutation.""" - patch: Patch + """Reads and enables pagination through a set of \`PersonSecret\`.""" + allPersonSecrets( + """Only read the first \`n\` values of the set.""" + first: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Only read the last \`n\` values of the set.""" + last: Int - """An edge for our \`Patch\`. May be used by Relay 1.""" - patchEdge( - """The method to use when ordering \`Patch\`.""" - orderBy: [PatchesOrderBy!] = [PRIMARY_KEY_ASC] - ): PatchesEdge -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""All input for the create \`Person\` mutation.""" -input CreatePersonInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Read all values in the set before (above) this cursor.""" + before: Cursor - """The \`Person\` to be created by this mutation.""" - person: PersonInput! -} + """Read all values in the set after (below) this cursor.""" + after: Cursor -"""The output of our create \`Person\` mutation.""" -type CreatePersonPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """The method to use when ordering \`PersonSecret\`.""" + orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] - """The \`Person\` that was created by this mutation.""" - person: Person + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: PersonSecretCondition + ): PersonSecretsConnection @deprecated(reason: "This is deprecated (comment on table c.person_secret).") + defaultValueById(id: Int!): DefaultValue + inputById(id: Int!): Input + noPrimaryKeyById(id: Int!): NoPrimaryKey + patchById(id: Int!): Patch + postById(id: Int!): Post + reservedById(id: Int!): Reserved + reservedPatchRecordById(id: Int!): ReservedPatchRecord + reservedInputRecordById(id: Int!): ReservedInputRecord + similarTable1ById(id: Int!): SimilarTable1 + similarTable2ById(id: Int!): SimilarTable2 + uniqueForeignKeyByCompoundKey1AndCompoundKey2(compoundKey1: Int!, compoundKey2: Int!): UniqueForeignKey + viewTableById(id: Int!): ViewTable + typeById(id: Int!): Type + compoundKeyByPersonId1AndPersonId2(personId1: Int!, personId2: Int!): CompoundKey + issue756ById(id: Int!): Issue756 + leftArmById(id: Int!): LeftArm + leftArmByPersonId(personId: Int!): LeftArm + myTableById(id: Int!): MyTable + nullTestRecordById(id: Int!): NullTestRecord + personById(id: Int!): Person + personByEmail(email: Email!): Person + personSecretByPersonId(personId: Int!): PersonSecret - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """lol, add some stuff 1 query""" + add1Query(arg0: Int!, arg1: Int!): Int - """An edge for our \`Person\`. May be used by Relay 1.""" - personEdge( - """The method to use when ordering \`Person\`.""" - orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] - ): PeopleEdge -} + """lol, add some stuff 2 query""" + add2Query(a: Int!, b: Int): Int -"""All input for the create \`PersonSecret\` mutation.""" -input CreatePersonSecretInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """lol, add some stuff 3 query""" + add3Query(a: Int, arg1: Int): Int - """The \`PersonSecret\` to be created by this mutation.""" - personSecret: PersonSecretInput! -} + """lol, add some stuff 4 query""" + add4Query(arg0: Int, b: Int): Int + optionalMissingMiddle1(arg0: Int!, b: Int, c: Int): Int + optionalMissingMiddle2(a: Int!, b: Int, c: Int): Int + optionalMissingMiddle3(a: Int!, arg1: Int, c: Int): Int + optionalMissingMiddle4(arg0: Int!, b: Int, arg2: Int): Int + optionalMissingMiddle5(a: Int!, arg1: Int, arg2: Int): Int + queryCompoundTypeArray(object: CompoundTypeInput): [CompoundType] + queryIntervalArray: [Interval] + queryIntervalSet( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our create \`PersonSecret\` mutation.""" -type CreatePersonSecretPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`PersonSecret\` that was created by this mutation.""" - personSecret: PersonSecret @deprecated(reason: "This is deprecated (comment on table c.person_secret).") + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set before (above) this cursor.""" + before: Cursor - """The \`Person\` this \`PersonSecret\` belongs to.""" - personByPersonId: Person + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): QueryIntervalSetConnection + queryTextArray: [String] + staticBigInteger( + """Only read the first \`n\` values of the set.""" + first: Int - """An edge for our \`PersonSecret\`. May be used by Relay 1.""" - personSecretEdge( - """The method to use when ordering \`PersonSecret\`.""" - orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] - ): PersonSecretsEdge @deprecated(reason: "This is deprecated (comment on table c.person_secret).") -} + """Only read the last \`n\` values of the set.""" + last: Int -"""All input for the create \`Post\` mutation.""" -input CreatePostInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`Post\` to be created by this mutation.""" - post: PostInput! -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""The output of our create \`Post\` mutation.""" -type CreatePostPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): StaticBigIntegerConnection + compoundTypeArrayQuery(object: CompoundTypeInput): [CompoundType] + compoundTypeQuery(object: CompoundTypeInput): CompoundType + typeFunction(id: Int): Type - """The \`Post\` that was created by this mutation.""" - post: Post + """Reads and enables pagination through a set of \`Type\`.""" + typeFunctionConnection( + """Only read the first \`n\` values of the set.""" + first: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Only read the last \`n\` values of the set.""" + last: Int - """Reads a single \`Person\` that is related to this \`Post\`.""" - personByAuthorId: Person + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """An edge for our \`Post\`. May be used by Relay 1.""" - postEdge( - """The method to use when ordering \`Post\`.""" - orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] - ): PostsEdge -} - -"""All input for the create \`Reserved\` mutation.""" -input CreateReservedInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Read all values in the set before (above) this cursor.""" + before: Cursor - """The \`Reserved\` to be created by this mutation.""" - reserved: ReservedInput! -} + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): TypesConnection + typeFunctionList: [Type] -"""All input for the create \`ReservedInputRecord\` mutation.""" -input CreateReservedInputRecordInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Reads and enables pagination through a set of \`Person\`.""" + badlyBehavedFunction( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`ReservedInputRecord\` to be created by this mutation.""" - reservedInputRecord: ReservedInputRecordInput! -} + """Only read the last \`n\` values of the set.""" + last: Int -"""The output of our create \`ReservedInputRecord\` mutation.""" -type CreateReservedInputRecordPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`ReservedInputRecord\` that was created by this mutation.""" - reservedInputRecord: ReservedInputRecord + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): PeopleConnection @deprecated(reason: "This is deprecated (comment on function c.badly_behaved_function).") - """An edge for our \`ReservedInputRecord\`. May be used by Relay 1.""" - reservedInputRecordEdge( - """The method to use when ordering \`ReservedInputRecord\`.""" - orderBy: [ReservedInputRecordsOrderBy!] = [PRIMARY_KEY_ASC] - ): ReservedInputRecordsEdge -} + """Reads and enables pagination through a set of \`CompoundType\`.""" + compoundTypeSetQuery( + """Only read the first \`n\` values of the set.""" + first: Int -"""All input for the create \`ReservedPatchRecord\` mutation.""" -input CreateReservedPatchRecordInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`ReservedPatchRecord\` to be created by this mutation.""" - reservedPatchRecord: ReservedPatchRecordInput! -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""The output of our create \`ReservedPatchRecord\` mutation.""" -type CreateReservedPatchRecordPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Read all values in the set before (above) this cursor.""" + before: Cursor - """The \`ReservedPatchRecord\` that was created by this mutation.""" - reservedPatchRecord: ReservedPatchRecord + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): CompoundTypesConnection + currentUserId: Int + funcInInout(i: Int, ino: Int): Int + funcInOut(i: Int): Int + funcOut: Int + funcOutComplex(a: Int, b: String): FuncOutComplexRecord + funcOutComplexSetof( + a: Int + b: String - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Only read the first \`n\` values of the set.""" + first: Int - """An edge for our \`ReservedPatchRecord\`. May be used by Relay 1.""" - reservedPatchRecordEdge( - """The method to use when ordering \`ReservedPatchRecord\`.""" - orderBy: [ReservedPatchRecordsOrderBy!] = [PRIMARY_KEY_ASC] - ): ReservedPatchRecordsEdge -} + """Only read the last \`n\` values of the set.""" + last: Int -"""The output of our create \`Reserved\` mutation.""" -type CreateReservedPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`Reserved\` that was created by this mutation.""" - reserved: Reserved + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): FuncOutComplexSetofConnection + funcOutOut: FuncOutOutRecord + funcOutOutCompoundType(i1: Int): FuncOutOutCompoundTypeRecord + funcOutOutSetof( + """Only read the first \`n\` values of the set.""" + first: Int - """An edge for our \`Reserved\`. May be used by Relay 1.""" - reservedEdge( - """The method to use when ordering \`Reserved\`.""" - orderBy: [ReservedsOrderBy!] = [PRIMARY_KEY_ASC] - ): ReservedsEdge -} + """Only read the last \`n\` values of the set.""" + last: Int -"""All input for the create \`SimilarTable1\` mutation.""" -input CreateSimilarTable1Input { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`SimilarTable1\` to be created by this mutation.""" - similarTable1: SimilarTable1Input! -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""The output of our create \`SimilarTable1\` mutation.""" -type CreateSimilarTable1Payload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): FuncOutOutSetofConnection + funcOutOutUnnamed: FuncOutOutUnnamedRecord + funcOutSetof( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`SimilarTable1\` that was created by this mutation.""" - similarTable1: SimilarTable1 + """Only read the last \`n\` values of the set.""" + last: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """An edge for our \`SimilarTable1\`. May be used by Relay 1.""" - similarTable1Edge( - """The method to use when ordering \`SimilarTable1\`.""" - orderBy: [SimilarTable1SOrderBy!] = [PRIMARY_KEY_ASC] - ): SimilarTable1SEdge -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""All input for the create \`SimilarTable2\` mutation.""" -input CreateSimilarTable2Input { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): FuncOutSetofConnection + funcOutTable: Person - """The \`SimilarTable2\` to be created by this mutation.""" - similarTable2: SimilarTable2Input! -} + """Reads and enables pagination through a set of \`Person\`.""" + funcOutTableSetof( + """Only read the first \`n\` values of the set.""" + first: Int -"""The output of our create \`SimilarTable2\` mutation.""" -type CreateSimilarTable2Payload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`SimilarTable2\` that was created by this mutation.""" - similarTable2: SimilarTable2 + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set before (above) this cursor.""" + before: Cursor - """An edge for our \`SimilarTable2\`. May be used by Relay 1.""" - similarTable2Edge( - """The method to use when ordering \`SimilarTable2\`.""" - orderBy: [SimilarTable2SOrderBy!] = [PRIMARY_KEY_ASC] - ): SimilarTable2SEdge -} + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): PeopleConnection + funcOutUnnamed: Int + funcOutUnnamedOutOutUnnamed: FuncOutUnnamedOutOutUnnamedRecord + funcReturnsTableMultiCol( + i: Int -"""All input for the create \`Testview\` mutation.""" -input CreateTestviewInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Only read the first \`n\` values of the set.""" + first: Int - """The \`Testview\` to be created by this mutation.""" - testview: TestviewInput! -} + """Only read the last \`n\` values of the set.""" + last: Int -"""The output of our create \`Testview\` mutation.""" -type CreateTestviewPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`Testview\` that was created by this mutation.""" - testview: Testview + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): FuncReturnsTableMultiColConnection + funcReturnsTableOneCol( + i: Int - """An edge for our \`Testview\`. May be used by Relay 1.""" - testviewEdge( - """The method to use when ordering \`Testview\`.""" - orderBy: [TestviewsOrderBy!] = [NATURAL] - ): TestviewsEdge -} + """Only read the first \`n\` values of the set.""" + first: Int -"""All input for the create \`Type\` mutation.""" -input CreateTypeInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """The \`Type\` to be created by this mutation.""" - type: TypeInput! -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""The output of our create \`Type\` mutation.""" -type CreateTypePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Read all values in the set before (above) this cursor.""" + before: Cursor - """The \`Type\` that was created by this mutation.""" - type: Type + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): FuncReturnsTableOneColConnection + intSetQuery( + x: Int + y: Int + z: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Only read the first \`n\` values of the set.""" + first: Int - """Reads a single \`Post\` that is related to this \`Type\`.""" - postBySmallint: Post + """Only read the last \`n\` values of the set.""" + last: Int - """Reads a single \`Post\` that is related to this \`Type\`.""" - postById: Post + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """An edge for our \`Type\`. May be used by Relay 1.""" - typeEdge( - """The method to use when ordering \`Type\`.""" - orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] - ): TypesEdge -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""All input for the create \`UpdatableView\` mutation.""" -input CreateUpdatableViewInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): IntSetQueryConnection + jsonIdentity(json: JSON): JSON + jsonbIdentity(json: JSON): JSON + noArgsQuery: Int + queryOutputTwoRows(leftArmId: Int, postId: Int, txt: String): QueryOutputTwoRowsRecord + returnTableWithoutGrants: CompoundKey + searchTestSummariesList( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`UpdatableView\` to be created by this mutation.""" - updatableView: UpdatableViewInput! -} + """Skip the first \`n\` values.""" + offset: Int + ): [SearchTestSummariesRecord] + tableQuery(id: Int): Post -"""The output of our create \`UpdatableView\` mutation.""" -type CreateUpdatableViewPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Reads and enables pagination through a set of \`Person\`.""" + tableSetQuery( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`UpdatableView\` that was created by this mutation.""" - updatableView: UpdatableView + """Only read the last \`n\` values of the set.""" + last: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """An edge for our \`UpdatableView\`. May be used by Relay 1.""" - updatableViewEdge( - """The method to use when ordering \`UpdatableView\`.""" - orderBy: [UpdatableViewsOrderBy!] = [NATURAL] - ): UpdatableViewsEdge -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""All input for the create \`ViewTable\` mutation.""" -input CreateViewTableInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Read all values in the set after (below) this cursor.""" + after: Cursor - """The \`ViewTable\` to be created by this mutation.""" - viewTable: ViewTableInput! -} + """The method to use when ordering \`Person\`.""" + orderBy: [PeopleOrderBy!] -"""The output of our create \`ViewTable\` mutation.""" -type CreateViewTablePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: PersonCondition + ): PeopleConnection - """The \`ViewTable\` that was created by this mutation.""" - viewTable: ViewTable + """Reads and enables pagination through a set of \`Person\`.""" + tableSetQueryPlpgsql( + """Only read the first \`n\` values of the set.""" + first: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Only read the last \`n\` values of the set.""" + last: Int - """An edge for our \`ViewTable\`. May be used by Relay 1.""" - viewTableEdge( - """The method to use when ordering \`ViewTable\`.""" - orderBy: [ViewTablesOrderBy!] = [PRIMARY_KEY_ASC] - ): ViewTablesEdge -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""A location in a connection that can be used for resuming pagination.""" -scalar Cursor + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""The day, does not include a time.""" -scalar Date + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): PeopleConnection + typesQuery(a: BigInt!, b: Boolean!, c: String!, d: [Int]!, e: JSON!, f: FloatRangeInput!): Boolean -"""A range of \`Date\`.""" -type DateRange { - """The starting bound of our range.""" - start: DateRangeBound + """Reads a single \`DefaultValue\` using its globally unique \`ID\`.""" + defaultValue( + """ + The globally unique \`ID\` to be used in selecting a single \`DefaultValue\`. + """ + nodeId: ID! + ): DefaultValue - """The ending bound of our range.""" - end: DateRangeBound -} + """Reads a single \`Input\` using its globally unique \`ID\`.""" + input( + """The globally unique \`ID\` to be used in selecting a single \`Input\`.""" + nodeId: ID! + ): Input -""" -The value at one end of a range. A range can either include this value, or not. -""" -type DateRangeBound { - """The value at one end of our range.""" - value: Date! + """Reads a single \`Patch\` using its globally unique \`ID\`.""" + patch( + """The globally unique \`ID\` to be used in selecting a single \`Patch\`.""" + nodeId: ID! + ): Patch - """Whether or not the value of this bound is included in the range.""" - inclusive: Boolean! -} + """Reads a single \`Post\` using its globally unique \`ID\`.""" + post( + """The globally unique \`ID\` to be used in selecting a single \`Post\`.""" + nodeId: ID! + ): Post -""" -The value at one end of a range. A range can either include this value, or not. -""" -input DateRangeBoundInput { - """The value at one end of our range.""" - value: Date! + """Reads a single \`Reserved\` using its globally unique \`ID\`.""" + reserved( + """The globally unique \`ID\` to be used in selecting a single \`Reserved\`.""" + nodeId: ID! + ): Reserved - """Whether or not the value of this bound is included in the range.""" - inclusive: Boolean! -} + """Reads a single \`ReservedPatchRecord\` using its globally unique \`ID\`.""" + reservedPatchRecord( + """ + The globally unique \`ID\` to be used in selecting a single \`ReservedPatchRecord\`. + """ + nodeId: ID! + ): ReservedPatchRecord -"""A range of \`Date\`.""" -input DateRangeInput { - """The starting bound of our range.""" - start: DateRangeBoundInput + """Reads a single \`ReservedInputRecord\` using its globally unique \`ID\`.""" + reservedInputRecord( + """ + The globally unique \`ID\` to be used in selecting a single \`ReservedInputRecord\`. + """ + nodeId: ID! + ): ReservedInputRecord - """The ending bound of our range.""" - end: DateRangeBoundInput -} + """Reads a single \`SimilarTable1\` using its globally unique \`ID\`.""" + similarTable1( + """ + The globally unique \`ID\` to be used in selecting a single \`SimilarTable1\`. + """ + nodeId: ID! + ): SimilarTable1 -""" -A point in time as described by the [ISO -8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. -""" -scalar Datetime + """Reads a single \`SimilarTable2\` using its globally unique \`ID\`.""" + similarTable2( + """ + The globally unique \`ID\` to be used in selecting a single \`SimilarTable2\`. + """ + nodeId: ID! + ): SimilarTable2 -type DefaultValue implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - nullValue: String -} + """Reads a single \`ViewTable\` using its globally unique \`ID\`.""" + viewTable( + """The globally unique \`ID\` to be used in selecting a single \`ViewTable\`.""" + nodeId: ID! + ): ViewTable -""" -A condition to be used against \`DefaultValue\` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input DefaultValueCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int + """Reads a single \`Type\` using its globally unique \`ID\`.""" + type( + """The globally unique \`ID\` to be used in selecting a single \`Type\`.""" + nodeId: ID! + ): Type - """Checks for equality with the object’s \`nullValue\` field.""" - nullValue: String -} + """Reads a single \`CompoundKey\` using its globally unique \`ID\`.""" + compoundKey( + """ + The globally unique \`ID\` to be used in selecting a single \`CompoundKey\`. + """ + nodeId: ID! + ): CompoundKey -"""An input for mutations affecting \`DefaultValue\`""" -input DefaultValueInput { - id: Int - nullValue: String + """Reads a single \`Issue756\` using its globally unique \`ID\`.""" + issue756( + """The globally unique \`ID\` to be used in selecting a single \`Issue756\`.""" + nodeId: ID! + ): Issue756 + + """Reads a single \`LeftArm\` using its globally unique \`ID\`.""" + leftArm( + """The globally unique \`ID\` to be used in selecting a single \`LeftArm\`.""" + nodeId: ID! + ): LeftArm + + """Reads a single \`MyTable\` using its globally unique \`ID\`.""" + myTable( + """The globally unique \`ID\` to be used in selecting a single \`MyTable\`.""" + nodeId: ID! + ): MyTable + + """Reads a single \`NullTestRecord\` using its globally unique \`ID\`.""" + nullTestRecord( + """ + The globally unique \`ID\` to be used in selecting a single \`NullTestRecord\`. + """ + nodeId: ID! + ): NullTestRecord + + """Reads a single \`Person\` using its globally unique \`ID\`.""" + person( + """The globally unique \`ID\` to be used in selecting a single \`Person\`.""" + nodeId: ID! + ): Person + + """Reads a single \`PersonSecret\` using its globally unique \`ID\`.""" + personSecret( + """ + The globally unique \`ID\` to be used in selecting a single \`PersonSecret\`. + """ + nodeId: ID! + ): PersonSecret @deprecated(reason: "This is deprecated (comment on table c.person_secret).") } -""" -Represents an update to a \`DefaultValue\`. Fields that are set will be updated. -""" -input DefaultValuePatch { - id: Int - nullValue: String +"""An object with a globally unique \`ID\`.""" +interface Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! } """A connection to a list of \`DefaultValue\` values.""" @@ -1585,6 +1234,15 @@ type DefaultValuesConnection { totalCount: Int! } +type DefaultValue implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + nullValue: String +} + """A \`DefaultValue\` edge in the connection.""" type DefaultValuesEdge { """A cursor for use in pagination.""" @@ -1594,6 +1252,24 @@ type DefaultValuesEdge { node: DefaultValue } +"""A location in a connection that can be used for resuming pagination.""" +scalar Cursor + +"""Information about pagination in a connection.""" +type PageInfo { + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: Cursor + + """When paginating forwards, the cursor to continue.""" + endCursor: Cursor +} + """Methods to use when ordering \`DefaultValue\`.""" enum DefaultValuesOrderBy { NATURAL @@ -1605,1015 +1281,827 @@ enum DefaultValuesOrderBy { PRIMARY_KEY_DESC } -"""All input for the \`deleteCompoundKeyByPersonId1AndPersonId2\` mutation.""" -input DeleteCompoundKeyByPersonId1AndPersonId2Input { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - personId1: Int! - personId2: Int! +""" +A condition to be used against \`DefaultValue\` object types. All fields are +tested for equality and combined with a logical ‘and.’ +""" +input DefaultValueCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`nullValue\` field.""" + nullValue: String } -"""All input for the \`deleteCompoundKey\` mutation.""" -input DeleteCompoundKeyInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String +"""A connection to a list of \`ForeignKey\` values.""" +type ForeignKeysConnection { + """A list of \`ForeignKey\` objects.""" + nodes: [ForeignKey]! """ - The globally unique \`ID\` which will identify a single \`CompoundKey\` to be deleted. + A list of edges which contains the \`ForeignKey\` and cursor to aid in pagination. """ - nodeId: ID! + edges: [ForeignKeysEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`ForeignKey\` you could get from the connection.""" + totalCount: Int! } -"""The output of our delete \`CompoundKey\` mutation.""" -type DeleteCompoundKeyPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String +type ForeignKey { + personId: Int + compoundKey1: Int + compoundKey2: Int - """The \`CompoundKey\` that was deleted by this mutation.""" - compoundKey: CompoundKey - deletedCompoundKeyId: ID + """Reads a single \`Person\` that is related to this \`ForeignKey\`.""" + personByPersonId: Person + """Reads a single \`CompoundKey\` that is related to this \`ForeignKey\`.""" + compoundKeyByCompoundKey1AndCompoundKey2: CompoundKey +} + +"""Person test comment""" +type Person implements Node { """ - Our root query field type. Allows us to run any query from our mutation payload. + A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ - query: Query + nodeId: ID! - """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" - personByPersonId2: Person + """The primary unique identifier for the person""" + id: Int! - """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" - personByPersonId1: Person + """The person’s name""" + name: String! + aliases: [String]! + about: String + email: Email! + site: WrappedUrl @deprecated(reason: "Don’t use me") + config: KeyValueHash + lastLoginFromIp: InternetAddress + lastLoginFromSubnet: String + userMac: String + createdAt: Datetime - """An edge for our \`CompoundKey\`. May be used by Relay 1.""" - compoundKeyEdge( - """The method to use when ordering \`CompoundKey\`.""" - orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] - ): CompoundKeysEdge -} + """This \`Person\`'s \`PersonSecret\`.""" + personSecretByPersonId: PersonSecret @deprecated(reason: "This is deprecated (comment on table c.person_secret).") -"""All input for the \`deleteDefaultValueById\` mutation.""" -input DeleteDefaultValueByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """This \`Person\`'s \`PersonSecret\`.""" + personSecretsByPersonId( + """Only read the first \`n\` values of the set.""" + first: Int -"""All input for the \`deleteDefaultValue\` mutation.""" -input DeleteDefaultValueInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """ - The globally unique \`ID\` which will identify a single \`DefaultValue\` to be deleted. - """ - nodeId: ID! -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""The output of our delete \`DefaultValue\` mutation.""" -type DeleteDefaultValuePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Read all values in the set before (above) this cursor.""" + before: Cursor - """The \`DefaultValue\` that was deleted by this mutation.""" - defaultValue: DefaultValue - deletedDefaultValueId: ID + """Read all values in the set after (below) this cursor.""" + after: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The method to use when ordering \`PersonSecret\`.""" + orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] - """An edge for our \`DefaultValue\`. May be used by Relay 1.""" - defaultValueEdge( - """The method to use when ordering \`DefaultValue\`.""" - orderBy: [DefaultValuesOrderBy!] = [PRIMARY_KEY_ASC] - ): DefaultValuesEdge -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: PersonSecretCondition + ): PersonSecretsConnection! @deprecated(reason: "This is deprecated (comment on table c.person_secret).") -"""All input for the \`deleteInputById\` mutation.""" -input DeleteInputByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """Reads a single \`LeftArm\` that is related to this \`Person\`.""" + leftArmByPersonId: LeftArm -"""All input for the \`deleteInput\` mutation.""" -input DeleteInputInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Reads and enables pagination through a set of \`LeftArm\`.""" + leftArmsByPersonId( + """Only read the first \`n\` values of the set.""" + first: Int - """ - The globally unique \`ID\` which will identify a single \`Input\` to be deleted. - """ - nodeId: ID! -} + """Only read the last \`n\` values of the set.""" + last: Int -"""The output of our delete \`Input\` mutation.""" -type DeleteInputPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`Input\` that was deleted by this mutation.""" - input: Input - deletedInputId: ID + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set after (below) this cursor.""" + after: Cursor - """An edge for our \`Input\`. May be used by Relay 1.""" - inputEdge( - """The method to use when ordering \`Input\`.""" - orderBy: [InputsOrderBy!] = [PRIMARY_KEY_ASC] - ): InputsEdge -} + """The method to use when ordering \`LeftArm\`.""" + orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] -"""All input for the \`deleteIssue756ById\` mutation.""" -input DeleteIssue756ByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: LeftArmCondition + ): LeftArmsConnection! @deprecated(reason: "Please use leftArmByPersonId instead") -"""All input for the \`deleteIssue756\` mutation.""" -input DeleteIssue756Input { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Reads and enables pagination through a set of \`Post\`.""" + postsByAuthorId( + """Only read the first \`n\` values of the set.""" + first: Int - """ - The globally unique \`ID\` which will identify a single \`Issue756\` to be deleted. - """ - nodeId: ID! -} + """Only read the last \`n\` values of the set.""" + last: Int -"""The output of our delete \`Issue756\` mutation.""" -type DeleteIssue756Payload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`Issue756\` that was deleted by this mutation.""" - issue756: Issue756 - deletedIssue756Id: ID + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set after (below) this cursor.""" + after: Cursor - """An edge for our \`Issue756\`. May be used by Relay 1.""" - issue756Edge( - """The method to use when ordering \`Issue756\`.""" - orderBy: [Issue756SOrderBy!] = [PRIMARY_KEY_ASC] - ): Issue756SEdge -} + """The method to use when ordering \`Post\`.""" + orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] -"""All input for the \`deleteLeftArmById\` mutation.""" -input DeleteLeftArmByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: PostCondition + ): PostsConnection! -"""All input for the \`deleteLeftArmByPersonId\` mutation.""" -input DeleteLeftArmByPersonIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - personId: Int! -} + """Reads and enables pagination through a set of \`CompoundKey\`.""" + compoundKeysByPersonId2( + """Only read the first \`n\` values of the set.""" + first: Int -"""All input for the \`deleteLeftArm\` mutation.""" -input DeleteLeftArmInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Only read the last \`n\` values of the set.""" + last: Int - """ - The globally unique \`ID\` which will identify a single \`LeftArm\` to be deleted. - """ - nodeId: ID! -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""The output of our delete \`LeftArm\` mutation.""" -type DeleteLeftArmPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Read all values in the set before (above) this cursor.""" + before: Cursor - """The \`LeftArm\` that was deleted by this mutation.""" - leftArm: LeftArm - deletedLeftArmId: ID + """Read all values in the set after (below) this cursor.""" + after: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The method to use when ordering \`CompoundKey\`.""" + orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] - """Reads a single \`Person\` that is related to this \`LeftArm\`.""" - personByPersonId: Person + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: CompoundKeyCondition + ): CompoundKeysConnection! - """An edge for our \`LeftArm\`. May be used by Relay 1.""" - leftArmEdge( - """The method to use when ordering \`LeftArm\`.""" - orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] - ): LeftArmsEdge -} + """Reads and enables pagination through a set of \`CompoundKey\`.""" + compoundKeysByPersonId1( + """Only read the first \`n\` values of the set.""" + first: Int -"""All input for the \`deleteMyTableById\` mutation.""" -input DeleteMyTableByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """Only read the last \`n\` values of the set.""" + last: Int -"""All input for the \`deleteMyTable\` mutation.""" -input DeleteMyTableInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - The globally unique \`ID\` which will identify a single \`MyTable\` to be deleted. - """ - nodeId: ID! -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""The output of our delete \`MyTable\` mutation.""" -type DeleteMyTablePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Read all values in the set after (below) this cursor.""" + after: Cursor - """The \`MyTable\` that was deleted by this mutation.""" - myTable: MyTable - deletedMyTableId: ID + """The method to use when ordering \`CompoundKey\`.""" + orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: CompoundKeyCondition + ): CompoundKeysConnection! - """An edge for our \`MyTable\`. May be used by Relay 1.""" - myTableEdge( - """The method to use when ordering \`MyTable\`.""" - orderBy: [MyTablesOrderBy!] = [PRIMARY_KEY_ASC] - ): MyTablesEdge -} + """Reads and enables pagination through a set of \`ForeignKey\`.""" + foreignKeysByPersonId( + """Only read the first \`n\` values of the set.""" + first: Int -"""All input for the \`deleteNoPrimaryKeyById\` mutation.""" -input DeleteNoPrimaryKeyByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """Only read the last \`n\` values of the set.""" + last: Int -"""The output of our delete \`NoPrimaryKey\` mutation.""" -type DeleteNoPrimaryKeyPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`NoPrimaryKey\` that was deleted by this mutation.""" - noPrimaryKey: NoPrimaryKey - deletedNoPrimaryKeyId: ID + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set after (below) this cursor.""" + after: Cursor - """An edge for our \`NoPrimaryKey\`. May be used by Relay 1.""" - noPrimaryKeyEdge( - """The method to use when ordering \`NoPrimaryKey\`.""" - orderBy: [NoPrimaryKeysOrderBy!] = [NATURAL] - ): NoPrimaryKeysEdge -} + """The method to use when ordering \`ForeignKey\`.""" + orderBy: [ForeignKeysOrderBy!] = [NATURAL] -"""All input for the \`deleteNullTestRecordById\` mutation.""" -input DeleteNullTestRecordByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: ForeignKeyCondition + ): ForeignKeysConnection! + computedComplex(a: Int, b: String): PersonComputedComplexRecord + computedFirstArgInout: Person + computedFirstArgInoutOut: PersonComputedFirstArgInoutOutRecord + computedInout(ino: String): String + computedInoutOut(ino: String): PersonComputedInoutOutRecord + computedOut: String! + computedOutOut: PersonComputedOutOutRecord + exists(email: Email): Boolean @deprecated(reason: "This is deprecated (comment on function c.person_exists).") + firstName: String + firstPost: Post -"""All input for the \`deleteNullTestRecord\` mutation.""" -input DeleteNullTestRecordInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Reads and enables pagination through a set of \`Person\`.""" + friends( + """Only read the first \`n\` values of the set.""" + first: Int - """ - The globally unique \`ID\` which will identify a single \`NullTestRecord\` to be deleted. - """ - nodeId: ID! -} + """Only read the last \`n\` values of the set.""" + last: Int -"""The output of our delete \`NullTestRecord\` mutation.""" -type DeleteNullTestRecordPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """The \`NullTestRecord\` that was deleted by this mutation.""" - nullTestRecord: NullTestRecord - deletedNullTestRecordId: ID + """Read all values in the set before (above) this cursor.""" + before: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Read all values in the set after (below) this cursor.""" + after: Cursor - """An edge for our \`NullTestRecord\`. May be used by Relay 1.""" - nullTestRecordEdge( - """The method to use when ordering \`NullTestRecord\`.""" - orderBy: [NullTestRecordsOrderBy!] = [PRIMARY_KEY_ASC] - ): NullTestRecordsEdge -} + """The method to use when ordering \`Person\`.""" + orderBy: [PeopleOrderBy!] + ): PeopleConnection! + typeFunction(id: Int): Type -"""All input for the \`deletePatchById\` mutation.""" -input DeletePatchByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! + """Reads and enables pagination through a set of \`Type\`.""" + typeFunctionConnection( + """Only read the first \`n\` values of the set.""" + first: Int + + """Only read the last \`n\` values of the set.""" + last: Int + + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): TypesConnection! + typeFunctionList: [Type] } -"""All input for the \`deletePatch\` mutation.""" -input DeletePatchInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String +scalar Email - """ - The globally unique \`ID\` which will identify a single \`Patch\` to be deleted. - """ - nodeId: ID! +type WrappedUrl { + url: NotNullUrl! } -"""The output of our delete \`Patch\` mutation.""" -type DeletePatchPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String +scalar NotNullUrl - """The \`Patch\` that was deleted by this mutation.""" - patch: Patch - deletedPatchId: ID +""" +A set of key/value pairs, keys are strings, values may be a string or null. Exposed as a JSON object. +""" +scalar KeyValueHash - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query +"""An IPv4 or IPv6 host address, and optionally its subnet.""" +scalar InternetAddress - """An edge for our \`Patch\`. May be used by Relay 1.""" - patchEdge( - """The method to use when ordering \`Patch\`.""" - orderBy: [PatchesOrderBy!] = [PRIMARY_KEY_ASC] - ): PatchesEdge -} +""" +A point in time as described by the [ISO +8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone. +""" +scalar Datetime -"""All input for the \`deletePersonByEmail\` mutation.""" -input DeletePersonByEmailInput { +"""Tracks the person's secret""" +type PersonSecret implements Node { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ - clientMutationId: String - email: Email! -} + nodeId: ID! + personId: Int! -"""All input for the \`deletePersonById\` mutation.""" -input DeletePersonByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """A secret held by the associated Person""" + secret: String - """The primary unique identifier for the person""" - id: Int! + """The \`Person\` this \`PersonSecret\` belongs to.""" + personByPersonId: Person } -"""All input for the \`deletePerson\` mutation.""" -input DeletePersonInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String +"""A connection to a list of \`PersonSecret\` values.""" +type PersonSecretsConnection { + """A list of \`PersonSecret\` objects.""" + nodes: [PersonSecret]! """ - The globally unique \`ID\` which will identify a single \`Person\` to be deleted. + A list of edges which contains the \`PersonSecret\` and cursor to aid in pagination. """ - nodeId: ID! -} + edges: [PersonSecretsEdge!]! -"""The output of our delete \`Person\` mutation.""" -type DeletePersonPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Information to aid in pagination.""" + pageInfo: PageInfo! - """The \`Person\` that was deleted by this mutation.""" - person: Person - deletedPersonId: ID + """The count of *all* \`PersonSecret\` you could get from the connection.""" + totalCount: Int! +} - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query +"""A \`PersonSecret\` edge in the connection.""" +type PersonSecretsEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """An edge for our \`Person\`. May be used by Relay 1.""" - personEdge( - """The method to use when ordering \`Person\`.""" - orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] - ): PeopleEdge + """The \`PersonSecret\` at the end of the edge.""" + node: PersonSecret } -"""All input for the \`deletePersonSecretByPersonId\` mutation.""" -input DeletePersonSecretByPersonIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - personId: Int! +"""Methods to use when ordering \`PersonSecret\`.""" +enum PersonSecretsOrderBy { + NATURAL + PERSON_ID_ASC + PERSON_ID_DESC + SECRET_ASC + SECRET_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } -"""All input for the \`deletePersonSecret\` mutation.""" -input DeletePersonSecretInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String +""" +A condition to be used against \`PersonSecret\` object types. All fields are +tested for equality and combined with a logical ‘and.’ +""" +input PersonSecretCondition { + """Checks for equality with the object’s \`personId\` field.""" + personId: Int + + """Checks for equality with the object’s \`secret\` field.""" + secret: String +} +"""Tracks metadata about the left arms of various people""" +type LeftArm implements Node { """ - The globally unique \`ID\` which will identify a single \`PersonSecret\` to be deleted. + A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! + id: Int! + personId: Int! + lengthInMetres: Float + mood: String! + + """Reads a single \`Person\` that is related to this \`LeftArm\`.""" + personByPersonId: Person } -"""The output of our delete \`PersonSecret\` mutation.""" -type DeletePersonSecretPayload { +"""A connection to a list of \`LeftArm\` values.""" +type LeftArmsConnection { + """A list of \`LeftArm\` objects.""" + nodes: [LeftArm]! + """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + A list of edges which contains the \`LeftArm\` and cursor to aid in pagination. """ - clientMutationId: String + edges: [LeftArmsEdge!]! - """The \`PersonSecret\` that was deleted by this mutation.""" - personSecret: PersonSecret - deletedPersonSecretId: ID + """Information to aid in pagination.""" + pageInfo: PageInfo! - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The count of *all* \`LeftArm\` you could get from the connection.""" + totalCount: Int! +} - """The \`Person\` this \`PersonSecret\` belongs to.""" - personByPersonId: Person +"""A \`LeftArm\` edge in the connection.""" +type LeftArmsEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """An edge for our \`PersonSecret\`. May be used by Relay 1.""" - personSecretEdge( - """The method to use when ordering \`PersonSecret\`.""" - orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] - ): PersonSecretsEdge @deprecated(reason: "This is deprecated (comment on table c.person_secret).") + """The \`LeftArm\` at the end of the edge.""" + node: LeftArm } -"""All input for the \`deletePostById\` mutation.""" -input DeletePostByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! +"""Methods to use when ordering \`LeftArm\`.""" +enum LeftArmsOrderBy { + NATURAL + ID_ASC + ID_DESC + PERSON_ID_ASC + PERSON_ID_DESC + LENGTH_IN_METRES_ASC + LENGTH_IN_METRES_DESC + MOOD_ASC + MOOD_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } -"""All input for the \`deletePost\` mutation.""" -input DeletePostInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String +""" +A condition to be used against \`LeftArm\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input LeftArmCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int - """ - The globally unique \`ID\` which will identify a single \`Post\` to be deleted. - """ - nodeId: ID! + """Checks for equality with the object’s \`personId\` field.""" + personId: Int + + """Checks for equality with the object’s \`lengthInMetres\` field.""" + lengthInMetres: Float + + """Checks for equality with the object’s \`mood\` field.""" + mood: String } -"""The output of our delete \`Post\` mutation.""" -type DeletePostPayload { +"""A connection to a list of \`Post\` values.""" +type PostsConnection { + """A list of \`Post\` objects.""" + nodes: [Post]! + """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + A list of edges which contains the \`Post\` and cursor to aid in pagination. """ - clientMutationId: String + edges: [PostsEdge!]! - """The \`Post\` that was deleted by this mutation.""" - post: Post - deletedPostId: ID + """Information to aid in pagination.""" + pageInfo: PageInfo! + """The count of *all* \`Post\` you could get from the connection.""" + totalCount: Int! +} + +type Post implements Node { """ - Our root query field type. Allows us to run any query from our mutation payload. + A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ - query: Query + nodeId: ID! + id: Int! + headline: String! + body: String + authorId: Int + enums: [AnEnum] + comptypes: [Comptype] """Reads a single \`Person\` that is related to this \`Post\`.""" personByAuthorId: Person - """An edge for our \`Post\`. May be used by Relay 1.""" - postEdge( - """The method to use when ordering \`Post\`.""" - orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] - ): PostsEdge -} + """Reads and enables pagination through a set of \`Type\`.""" + typesBySmallint( + """Only read the first \`n\` values of the set.""" + first: Int -"""All input for the \`deleteReservedById\` mutation.""" -input DeleteReservedByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """Only read the last \`n\` values of the set.""" + last: Int -"""All input for the \`deleteReserved\` mutation.""" -input DeleteReservedInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """ - The globally unique \`ID\` which will identify a single \`Reserved\` to be deleted. - """ - nodeId: ID! -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""All input for the \`deleteReservedInputRecordById\` mutation.""" -input DeleteReservedInputRecordByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """Read all values in the set after (below) this cursor.""" + after: Cursor -"""All input for the \`deleteReservedInputRecord\` mutation.""" -input DeleteReservedInputRecordInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """The method to use when ordering \`Type\`.""" + orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] - """ - The globally unique \`ID\` which will identify a single \`ReservedInputRecord\` to be deleted. - """ - nodeId: ID! -} + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: TypeCondition + ): TypesConnection! -"""The output of our delete \`ReservedInputRecord\` mutation.""" -type DeleteReservedInputRecordPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """Reads a single \`Type\` that is related to this \`Post\`.""" + typeById: Type - """The \`ReservedInputRecord\` that was deleted by this mutation.""" - reservedInputRecord: ReservedInputRecord - deletedReservedInputId: ID + """Reads and enables pagination through a set of \`Type\`.""" + typesById( + """Only read the first \`n\` values of the set.""" + first: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Only read the last \`n\` values of the set.""" + last: Int - """An edge for our \`ReservedInputRecord\`. May be used by Relay 1.""" - reservedInputRecordEdge( - """The method to use when ordering \`ReservedInputRecord\`.""" - orderBy: [ReservedInputRecordsOrderBy!] = [PRIMARY_KEY_ASC] - ): ReservedInputRecordsEdge -} + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int -"""All input for the \`deleteReservedPatchRecordById\` mutation.""" -input DeleteReservedPatchRecordByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} + """Read all values in the set before (above) this cursor.""" + before: Cursor -"""All input for the \`deleteReservedPatchRecord\` mutation.""" -input DeleteReservedPatchRecordInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """Read all values in the set after (below) this cursor.""" + after: Cursor - """ - The globally unique \`ID\` which will identify a single \`ReservedPatchRecord\` to be deleted. - """ - nodeId: ID! -} + """The method to use when ordering \`Type\`.""" + orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] -"""The output of our delete \`ReservedPatchRecord\` mutation.""" -type DeleteReservedPatchRecordPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: TypeCondition + ): TypesConnection! @deprecated(reason: "Please use typeById instead") + computedCompoundTypeArray(object: CompoundTypeInput): [CompoundType] + computedIntervalArray: [Interval] + computedIntervalSet( + """Only read the first \`n\` values of the set.""" + first: Int - """The \`ReservedPatchRecord\` that was deleted by this mutation.""" - reservedPatchRecord: ReservedPatchRecord - deletedReservedPatchId: ID + """Only read the last \`n\` values of the set.""" + last: Int - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int - """An edge for our \`ReservedPatchRecord\`. May be used by Relay 1.""" - reservedPatchRecordEdge( - """The method to use when ordering \`ReservedPatchRecord\`.""" - orderBy: [ReservedPatchRecordsOrderBy!] = [PRIMARY_KEY_ASC] - ): ReservedPatchRecordsEdge + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): PostComputedIntervalSetConnection! + computedTextArray: [String] + computedWithOptionalArg(i: Int): Int + computedWithRequiredArg(i: Int!): Int + headlineTrimmed(length: Int, omission: String): String + headlineTrimmedNoDefaults(length: Int, omission: String): String + headlineTrimmedStrict(length: Int, omission: String): String } -"""The output of our delete \`Reserved\` mutation.""" -type DeleteReservedPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String +enum AnEnum { + AWAITING + REJECTED + PUBLISHED + ASTERISK + ASTERISK_ASTERISK + ASTERISK_ASTERISK_ASTERISK + FOO_ASTERISK + FOO_ASTERISK_ + _FOO_ASTERISK + ASTERISK_BAR + ASTERISK_BAR_ + _ASTERISK_BAR_ + ASTERISK_BAZ_ASTERISK + _ASTERISK_BAZ_ASTERISK_ + PERCENT + GREATER_THAN_OR_EQUAL + LIKE + DOLLAR +} - """The \`Reserved\` that was deleted by this mutation.""" - reserved: Reserved - deletedReservedId: ID +type Comptype { + schedule: Datetime + isOptimised: Boolean +} + +"""A connection to a list of \`Type\` values.""" +type TypesConnection { + """A list of \`Type\` objects.""" + nodes: [Type]! """ - Our root query field type. Allows us to run any query from our mutation payload. + A list of edges which contains the \`Type\` and cursor to aid in pagination. """ - query: Query + edges: [TypesEdge!]! - """An edge for our \`Reserved\`. May be used by Relay 1.""" - reservedEdge( - """The method to use when ordering \`Reserved\`.""" - orderBy: [ReservedsOrderBy!] = [PRIMARY_KEY_ASC] - ): ReservedsEdge -} + """Information to aid in pagination.""" + pageInfo: PageInfo! -"""All input for the \`deleteSimilarTable1ById\` mutation.""" -input DeleteSimilarTable1ByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! + """The count of *all* \`Type\` you could get from the connection.""" + totalCount: Int! } -"""All input for the \`deleteSimilarTable1\` mutation.""" -input DeleteSimilarTable1Input { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. +type Type implements Node { """ - clientMutationId: String - - """ - The globally unique \`ID\` which will identify a single \`SimilarTable1\` to be deleted. + A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! -} - -"""The output of our delete \`SimilarTable1\` mutation.""" -type DeleteSimilarTable1Payload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The \`SimilarTable1\` that was deleted by this mutation.""" - similarTable1: SimilarTable1 - deletedSimilarTable1Id: ID + id: Int! + smallint: Int! + bigint: BigInt! + numeric: BigFloat! + decimal: BigFloat! + boolean: Boolean! + varchar: String! + enum: Color! + enumArray: [Color]! + domain: AnInt! + domain2: AnotherInt! + textArray: [String]! + json: JSON! + jsonb: JSON! + nullableRange: BigFloatRange + numrange: BigFloatRange! + daterange: DateRange! + anIntRange: AnIntRange! + timestamp: Datetime! + timestamptz: Datetime! + date: Date! + time: Time! + timetz: Time! + interval: Interval! + intervalArray: [Interval]! + money: Float! + compoundType: CompoundType! + nestedCompoundType: NestedCompoundType! + nullableCompoundType: CompoundType + nullableNestedCompoundType: NestedCompoundType + point: Point! + nullablePoint: Point + inet: InternetAddress + cidr: String + macaddr: String + regproc: RegProc + regprocedure: RegProcedure + regoper: RegOper + regoperator: RegOperator + regclass: RegClass + regtype: RegType + regconfig: RegConfig + regdictionary: RegDictionary + textArrayDomain: [String] + int8ArrayDomain: [BigInt] - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Reads a single \`Post\` that is related to this \`Type\`.""" + postBySmallint: Post - """An edge for our \`SimilarTable1\`. May be used by Relay 1.""" - similarTable1Edge( - """The method to use when ordering \`SimilarTable1\`.""" - orderBy: [SimilarTable1SOrderBy!] = [PRIMARY_KEY_ASC] - ): SimilarTable1SEdge + """Reads a single \`Post\` that is related to this \`Type\`.""" + postById: Post } -"""All input for the \`deleteSimilarTable2ById\` mutation.""" -input DeleteSimilarTable2ByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! -} +""" +A signed eight-byte integer. The upper big integer values are greater than the +max value for a JavaScript number. Therefore all big integers will be output as +strings and not numbers. +""" +scalar BigInt -"""All input for the \`deleteSimilarTable2\` mutation.""" -input DeleteSimilarTable2Input { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String +""" +A floating point number that requires more precision than IEEE 754 binary 64 +""" +scalar BigFloat - """ - The globally unique \`ID\` which will identify a single \`SimilarTable2\` to be deleted. - """ - nodeId: ID! +enum Color { + RED + GREEN + BLUE } -"""The output of our delete \`SimilarTable2\` mutation.""" -type DeleteSimilarTable2Payload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String +scalar AnInt - """The \`SimilarTable2\` that was deleted by this mutation.""" - similarTable2: SimilarTable2 - deletedSimilarTable2Id: ID +scalar AnotherInt - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query +""" +A JavaScript object encoded in the JSON format as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). +""" +scalar JSON - """An edge for our \`SimilarTable2\`. May be used by Relay 1.""" - similarTable2Edge( - """The method to use when ordering \`SimilarTable2\`.""" - orderBy: [SimilarTable2SOrderBy!] = [PRIMARY_KEY_ASC] - ): SimilarTable2SEdge -} +"""A range of \`BigFloat\`.""" +type BigFloatRange { + """The starting bound of our range.""" + start: BigFloatRangeBound -"""All input for the \`deleteTypeById\` mutation.""" -input DeleteTypeByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! + """The ending bound of our range.""" + end: BigFloatRangeBound } -"""All input for the \`deleteType\` mutation.""" -input DeleteTypeInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String +""" +The value at one end of a range. A range can either include this value, or not. +""" +type BigFloatRangeBound { + """The value at one end of our range.""" + value: BigFloat! - """ - The globally unique \`ID\` which will identify a single \`Type\` to be deleted. - """ - nodeId: ID! + """Whether or not the value of this bound is included in the range.""" + inclusive: Boolean! } -"""The output of our delete \`Type\` mutation.""" -type DeleteTypePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String +"""A range of \`Date\`.""" +type DateRange { + """The starting bound of our range.""" + start: DateRangeBound - """The \`Type\` that was deleted by this mutation.""" - type: Type - deletedTypeId: ID + """The ending bound of our range.""" + end: DateRangeBound +} - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query +""" +The value at one end of a range. A range can either include this value, or not. +""" +type DateRangeBound { + """The value at one end of our range.""" + value: Date! - """Reads a single \`Post\` that is related to this \`Type\`.""" - postBySmallint: Post + """Whether or not the value of this bound is included in the range.""" + inclusive: Boolean! +} - """Reads a single \`Post\` that is related to this \`Type\`.""" - postById: Post +"""The day, does not include a time.""" +scalar Date - """An edge for our \`Type\`. May be used by Relay 1.""" - typeEdge( - """The method to use when ordering \`Type\`.""" - orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] - ): TypesEdge -} +"""A range of \`AnInt\`.""" +type AnIntRange { + """The starting bound of our range.""" + start: AnIntRangeBound -"""All input for the \`deleteViewTableById\` mutation.""" -input DeleteViewTableByIdInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: Int! + """The ending bound of our range.""" + end: AnIntRangeBound } -"""All input for the \`deleteViewTable\` mutation.""" -input DeleteViewTableInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String +""" +The value at one end of a range. A range can either include this value, or not. +""" +type AnIntRangeBound { + """The value at one end of our range.""" + value: AnInt! - """ - The globally unique \`ID\` which will identify a single \`ViewTable\` to be deleted. - """ - nodeId: ID! + """Whether or not the value of this bound is included in the range.""" + inclusive: Boolean! } -"""The output of our delete \`ViewTable\` mutation.""" -type DeleteViewTablePayload { +""" +The exact time of day, does not include the date. May or may not have a timezone offset. +""" +scalar Time + +""" +An interval of time that has passed where the smallest distinct unit is a second. +""" +type Interval { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + A quantity of seconds. This is the only non-integer field, as all the other + fields will dump their overflow into a smaller unit of time. Intervals don’t + have a smaller unit than seconds. """ - clientMutationId: String - - """The \`ViewTable\` that was deleted by this mutation.""" - viewTable: ViewTable - deletedViewTableId: ID - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our \`ViewTable\`. May be used by Relay 1.""" - viewTableEdge( - """The method to use when ordering \`ViewTable\`.""" - orderBy: [ViewTablesOrderBy!] = [PRIMARY_KEY_ASC] - ): ViewTablesEdge -} - -type EdgeCase { - notNullHasDefault: Boolean! - wontCastEasy: Int - rowId: Int - computed: String -} - -""" -A condition to be used against \`EdgeCase\` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input EdgeCaseCondition { - """Checks for equality with the object’s \`notNullHasDefault\` field.""" - notNullHasDefault: Boolean - - """Checks for equality with the object’s \`wontCastEasy\` field.""" - wontCastEasy: Int - - """Checks for equality with the object’s \`rowId\` field.""" - rowId: Int -} - -"""An input for mutations affecting \`EdgeCase\`""" -input EdgeCaseInput { - notNullHasDefault: Boolean - wontCastEasy: Int - rowId: Int -} - -"""A connection to a list of \`EdgeCase\` values.""" -type EdgeCasesConnection { - """A list of \`EdgeCase\` objects.""" - nodes: [EdgeCase]! + seconds: Float - """ - A list of edges which contains the \`EdgeCase\` and cursor to aid in pagination. - """ - edges: [EdgeCasesEdge!]! + """A quantity of minutes.""" + minutes: Int - """Information to aid in pagination.""" - pageInfo: PageInfo! + """A quantity of hours.""" + hours: Int - """The count of *all* \`EdgeCase\` you could get from the connection.""" - totalCount: Int! -} + """A quantity of days.""" + days: Int -"""A \`EdgeCase\` edge in the connection.""" -type EdgeCasesEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """A quantity of months.""" + months: Int - """The \`EdgeCase\` at the end of the edge.""" - node: EdgeCase + """A quantity of years.""" + years: Int } -"""Methods to use when ordering \`EdgeCase\`.""" -enum EdgeCasesOrderBy { - NATURAL - NOT_NULL_HAS_DEFAULT_ASC - NOT_NULL_HAS_DEFAULT_DESC - WONT_CAST_EASY_ASC - WONT_CAST_EASY_DESC - ROW_ID_ASC - ROW_ID_DESC +"""Awesome feature!""" +type CompoundType { + a: Int + b: String + c: Color + d: UUID + e: EnumCaps + f: EnumWithEmptyString + g: Interval + fooBar: Int + computedField: Int } -scalar Email +""" +A universally unique identifier as defined by [RFC 4122](https://tools.ietf.org/html/rfc4122). +""" +scalar UUID enum EnumCaps { FOO_BAR @@ -2628,388 +2116,347 @@ enum EnumWithEmptyString { TWO } -""" -The value at one end of a range. A range can either include this value, or not. -""" -input FloatRangeBoundInput { - """The value at one end of our range.""" - value: Float! - - """Whether or not the value of this bound is included in the range.""" - inclusive: Boolean! -} - -"""A range of \`Float\`.""" -input FloatRangeInput { - """The starting bound of our range.""" - start: FloatRangeBoundInput - - """The ending bound of our range.""" - end: FloatRangeBoundInput +type NestedCompoundType { + a: CompoundType + b: CompoundType + bazBuz: Int } -type ForeignKey { - personId: Int - compoundKey1: Int - compoundKey2: Int - - """Reads a single \`Person\` that is related to this \`ForeignKey\`.""" - personByPersonId: Person - - """Reads a single \`CompoundKey\` that is related to this \`ForeignKey\`.""" - compoundKeyByCompoundKey1AndCompoundKey2: CompoundKey +type Point { + x: Float! + y: Float! } -""" -A condition to be used against \`ForeignKey\` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input ForeignKeyCondition { - """Checks for equality with the object’s \`personId\` field.""" - personId: Int +"""A builtin object identifier type for a function name""" +scalar RegProc - """Checks for equality with the object’s \`compoundKey1\` field.""" - compoundKey1: Int +"""A builtin object identifier type for a function with argument types""" +scalar RegProcedure - """Checks for equality with the object’s \`compoundKey2\` field.""" - compoundKey2: Int -} +"""A builtin object identifier type for an operator""" +scalar RegOper -"""An input for mutations affecting \`ForeignKey\`""" -input ForeignKeyInput { - personId: Int - compoundKey1: Int - compoundKey2: Int -} +"""A builtin object identifier type for an operator with argument types""" +scalar RegOperator -"""A connection to a list of \`ForeignKey\` values.""" -type ForeignKeysConnection { - """A list of \`ForeignKey\` objects.""" - nodes: [ForeignKey]! +"""A builtin object identifier type for a relation name""" +scalar RegClass - """ - A list of edges which contains the \`ForeignKey\` and cursor to aid in pagination. - """ - edges: [ForeignKeysEdge!]! +"""A builtin object identifier type for a data type name""" +scalar RegType - """Information to aid in pagination.""" - pageInfo: PageInfo! +"""A builtin object identifier type for a text search configuration""" +scalar RegConfig - """The count of *all* \`ForeignKey\` you could get from the connection.""" - totalCount: Int! -} +"""A builtin object identifier type for a text search dictionary""" +scalar RegDictionary -"""A \`ForeignKey\` edge in the connection.""" -type ForeignKeysEdge { +"""A \`Type\` edge in the connection.""" +type TypesEdge { """A cursor for use in pagination.""" cursor: Cursor - """The \`ForeignKey\` at the end of the edge.""" - node: ForeignKey + """The \`Type\` at the end of the edge.""" + node: Type } -"""Methods to use when ordering \`ForeignKey\`.""" -enum ForeignKeysOrderBy { +"""Methods to use when ordering \`Type\`.""" +enum TypesOrderBy { NATURAL - PERSON_ID_ASC - PERSON_ID_DESC - COMPOUND_KEY_1_ASC - COMPOUND_KEY_1_DESC - COMPOUND_KEY_2_ASC - COMPOUND_KEY_2_DESC -} - -"""The return type of our \`funcOutComplex\` query.""" -type FuncOutComplexRecord { - x: Int - y: CompoundType - z: Person -} - -"""A connection to a list of \`FuncOutComplexSetofRecord\` values.""" -type FuncOutComplexSetofConnection { - """A list of \`FuncOutComplexSetofRecord\` objects.""" - nodes: [FuncOutComplexSetofRecord]! - - """ - A list of edges which contains the \`FuncOutComplexSetofRecord\` and cursor to aid in pagination. - """ - edges: [FuncOutComplexSetofEdge!]! - - """ - The count of *all* \`FuncOutComplexSetofRecord\` you could get from the connection. - """ - totalCount: Int! -} - -"""A \`FuncOutComplexSetofRecord\` edge in the connection.""" -type FuncOutComplexSetofEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`FuncOutComplexSetofRecord\` at the end of the edge.""" - node: FuncOutComplexSetofRecord -} - -"""The return type of our \`funcOutComplexSetof\` query.""" -type FuncOutComplexSetofRecord { - x: Int - y: CompoundType - z: Person -} - -"""The return type of our \`funcOutOutCompoundType\` query.""" -type FuncOutOutCompoundTypeRecord { - o1: Int - o2: CompoundType -} - -"""The return type of our \`funcOutOut\` query.""" -type FuncOutOutRecord { - firstOut: Int - secondOut: String -} - -"""A connection to a list of \`FuncOutOutSetofRecord\` values.""" -type FuncOutOutSetofConnection { - """A list of \`FuncOutOutSetofRecord\` objects.""" - nodes: [FuncOutOutSetofRecord]! + ID_ASC + ID_DESC + SMALLINT_ASC + SMALLINT_DESC + BIGINT_ASC + BIGINT_DESC + NUMERIC_ASC + NUMERIC_DESC + DECIMAL_ASC + DECIMAL_DESC + BOOLEAN_ASC + BOOLEAN_DESC + VARCHAR_ASC + VARCHAR_DESC + ENUM_ASC + ENUM_DESC + ENUM_ARRAY_ASC + ENUM_ARRAY_DESC + DOMAIN_ASC + DOMAIN_DESC + DOMAIN2_ASC + DOMAIN2_DESC + TEXT_ARRAY_ASC + TEXT_ARRAY_DESC + JSON_ASC + JSON_DESC + JSONB_ASC + JSONB_DESC + NULLABLE_RANGE_ASC + NULLABLE_RANGE_DESC + NUMRANGE_ASC + NUMRANGE_DESC + DATERANGE_ASC + DATERANGE_DESC + AN_INT_RANGE_ASC + AN_INT_RANGE_DESC + TIMESTAMP_ASC + TIMESTAMP_DESC + TIMESTAMPTZ_ASC + TIMESTAMPTZ_DESC + DATE_ASC + DATE_DESC + TIME_ASC + TIME_DESC + TIMETZ_ASC + TIMETZ_DESC + INTERVAL_ASC + INTERVAL_DESC + INTERVAL_ARRAY_ASC + INTERVAL_ARRAY_DESC + MONEY_ASC + MONEY_DESC + COMPOUND_TYPE_ASC + COMPOUND_TYPE_DESC + NESTED_COMPOUND_TYPE_ASC + NESTED_COMPOUND_TYPE_DESC + NULLABLE_COMPOUND_TYPE_ASC + NULLABLE_COMPOUND_TYPE_DESC + NULLABLE_NESTED_COMPOUND_TYPE_ASC + NULLABLE_NESTED_COMPOUND_TYPE_DESC + POINT_ASC + POINT_DESC + NULLABLE_POINT_ASC + NULLABLE_POINT_DESC + INET_ASC + INET_DESC + CIDR_ASC + CIDR_DESC + MACADDR_ASC + MACADDR_DESC + REGPROC_ASC + REGPROC_DESC + REGPROCEDURE_ASC + REGPROCEDURE_DESC + REGOPER_ASC + REGOPER_DESC + REGOPERATOR_ASC + REGOPERATOR_DESC + REGCLASS_ASC + REGCLASS_DESC + REGTYPE_ASC + REGTYPE_DESC + REGCONFIG_ASC + REGCONFIG_DESC + REGDICTIONARY_ASC + REGDICTIONARY_DESC + TEXT_ARRAY_DOMAIN_ASC + TEXT_ARRAY_DOMAIN_DESC + INT8_ARRAY_DOMAIN_ASC + INT8_ARRAY_DOMAIN_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} - """ - A list of edges which contains the \`FuncOutOutSetofRecord\` and cursor to aid in pagination. - """ - edges: [FuncOutOutSetofEdge!]! +""" +A condition to be used against \`Type\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input TypeCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int - """ - The count of *all* \`FuncOutOutSetofRecord\` you could get from the connection. - """ - totalCount: Int! -} + """Checks for equality with the object’s \`smallint\` field.""" + smallint: Int -"""A \`FuncOutOutSetofRecord\` edge in the connection.""" -type FuncOutOutSetofEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Checks for equality with the object’s \`bigint\` field.""" + bigint: BigInt - """The \`FuncOutOutSetofRecord\` at the end of the edge.""" - node: FuncOutOutSetofRecord -} + """Checks for equality with the object’s \`numeric\` field.""" + numeric: BigFloat -"""The return type of our \`funcOutOutSetof\` query.""" -type FuncOutOutSetofRecord { - o1: Int - o2: String -} + """Checks for equality with the object’s \`decimal\` field.""" + decimal: BigFloat -"""The return type of our \`funcOutOutUnnamed\` query.""" -type FuncOutOutUnnamedRecord { - arg1: Int - arg2: String -} + """Checks for equality with the object’s \`boolean\` field.""" + boolean: Boolean -"""A connection to a list of \`Int\` values.""" -type FuncOutSetofConnection { - """A list of \`Int\` objects.""" - nodes: [Int]! + """Checks for equality with the object’s \`varchar\` field.""" + varchar: String - """ - A list of edges which contains the \`Int\` and cursor to aid in pagination. - """ - edges: [FuncOutSetofEdge!]! + """Checks for equality with the object’s \`enum\` field.""" + enum: Color - """The count of *all* \`Int\` you could get from the connection.""" - totalCount: Int! -} + """Checks for equality with the object’s \`enumArray\` field.""" + enumArray: [Color] -"""A \`Int\` edge in the connection.""" -type FuncOutSetofEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Checks for equality with the object’s \`domain\` field.""" + domain: AnInt - """The \`Int\` at the end of the edge.""" - node: Int -} + """Checks for equality with the object’s \`domain2\` field.""" + domain2: AnotherInt -"""The return type of our \`funcOutUnnamedOutOutUnnamed\` query.""" -type FuncOutUnnamedOutOutUnnamedRecord { - arg1: Int - o2: String - arg3: Int -} + """Checks for equality with the object’s \`textArray\` field.""" + textArray: [String] -"""A connection to a list of \`FuncReturnsTableMultiColRecord\` values.""" -type FuncReturnsTableMultiColConnection { - """A list of \`FuncReturnsTableMultiColRecord\` objects.""" - nodes: [FuncReturnsTableMultiColRecord]! + """Checks for equality with the object’s \`json\` field.""" + json: JSON - """ - A list of edges which contains the \`FuncReturnsTableMultiColRecord\` and cursor to aid in pagination. - """ - edges: [FuncReturnsTableMultiColEdge!]! + """Checks for equality with the object’s \`jsonb\` field.""" + jsonb: JSON - """ - The count of *all* \`FuncReturnsTableMultiColRecord\` you could get from the connection. - """ - totalCount: Int! -} + """Checks for equality with the object’s \`nullableRange\` field.""" + nullableRange: BigFloatRangeInput -"""A \`FuncReturnsTableMultiColRecord\` edge in the connection.""" -type FuncReturnsTableMultiColEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Checks for equality with the object’s \`numrange\` field.""" + numrange: BigFloatRangeInput - """The \`FuncReturnsTableMultiColRecord\` at the end of the edge.""" - node: FuncReturnsTableMultiColRecord -} + """Checks for equality with the object’s \`daterange\` field.""" + daterange: DateRangeInput -"""The return type of our \`funcReturnsTableMultiCol\` query.""" -type FuncReturnsTableMultiColRecord { - col1: Int - col2: String -} + """Checks for equality with the object’s \`anIntRange\` field.""" + anIntRange: AnIntRangeInput -"""A connection to a list of \`Int\` values.""" -type FuncReturnsTableOneColConnection { - """A list of \`Int\` objects.""" - nodes: [Int]! + """Checks for equality with the object’s \`timestamp\` field.""" + timestamp: Datetime - """ - A list of edges which contains the \`Int\` and cursor to aid in pagination. - """ - edges: [FuncReturnsTableOneColEdge!]! + """Checks for equality with the object’s \`timestamptz\` field.""" + timestamptz: Datetime - """The count of *all* \`Int\` you could get from the connection.""" - totalCount: Int! -} + """Checks for equality with the object’s \`date\` field.""" + date: Date -"""A \`Int\` edge in the connection.""" -type FuncReturnsTableOneColEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Checks for equality with the object’s \`time\` field.""" + time: Time - """The \`Int\` at the end of the edge.""" - node: Int -} + """Checks for equality with the object’s \`timetz\` field.""" + timetz: Time -scalar Guid + """Checks for equality with the object’s \`interval\` field.""" + interval: IntervalInput -"""All input for the \`guidFn\` mutation.""" -input GuidFnInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - g: Guid -} + """Checks for equality with the object’s \`intervalArray\` field.""" + intervalArray: [IntervalInput] -"""The output of our \`guidFn\` mutation.""" -type GuidFnPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - guid: Guid + """Checks for equality with the object’s \`money\` field.""" + money: Float - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Checks for equality with the object’s \`compoundType\` field.""" + compoundType: CompoundTypeInput + + """Checks for equality with the object’s \`nestedCompoundType\` field.""" + nestedCompoundType: NestedCompoundTypeInput + + """Checks for equality with the object’s \`nullableCompoundType\` field.""" + nullableCompoundType: CompoundTypeInput -"""Should output as Input""" -type Input implements Node { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + Checks for equality with the object’s \`nullableNestedCompoundType\` field. """ - nodeId: ID! - id: Int! -} + nullableNestedCompoundType: NestedCompoundTypeInput -""" -A condition to be used against \`Input\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input InputCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int -} + """Checks for equality with the object’s \`point\` field.""" + point: PointInput -"""An input for mutations affecting \`Input\`""" -input InputInput { - id: Int -} + """Checks for equality with the object’s \`nullablePoint\` field.""" + nullablePoint: PointInput -""" -Represents an update to a \`Input\`. Fields that are set will be updated. -""" -input InputPatch { - id: Int -} + """Checks for equality with the object’s \`inet\` field.""" + inet: InternetAddress -"""A connection to a list of \`Input\` values.""" -type InputsConnection { - """A list of \`Input\` objects.""" - nodes: [Input]! + """Checks for equality with the object’s \`cidr\` field.""" + cidr: String - """ - A list of edges which contains the \`Input\` and cursor to aid in pagination. - """ - edges: [InputsEdge!]! + """Checks for equality with the object’s \`macaddr\` field.""" + macaddr: String - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Checks for equality with the object’s \`regproc\` field.""" + regproc: RegProc - """The count of *all* \`Input\` you could get from the connection.""" - totalCount: Int! + """Checks for equality with the object’s \`regprocedure\` field.""" + regprocedure: RegProcedure + + """Checks for equality with the object’s \`regoper\` field.""" + regoper: RegOper + + """Checks for equality with the object’s \`regoperator\` field.""" + regoperator: RegOperator + + """Checks for equality with the object’s \`regclass\` field.""" + regclass: RegClass + + """Checks for equality with the object’s \`regtype\` field.""" + regtype: RegType + + """Checks for equality with the object’s \`regconfig\` field.""" + regconfig: RegConfig + + """Checks for equality with the object’s \`regdictionary\` field.""" + regdictionary: RegDictionary + + """Checks for equality with the object’s \`textArrayDomain\` field.""" + textArrayDomain: [String] + + """Checks for equality with the object’s \`int8ArrayDomain\` field.""" + int8ArrayDomain: [BigInt] } -"""A \`Input\` edge in the connection.""" -type InputsEdge { - """A cursor for use in pagination.""" - cursor: Cursor +"""A range of \`BigFloat\`.""" +input BigFloatRangeInput { + """The starting bound of our range.""" + start: BigFloatRangeBoundInput - """The \`Input\` at the end of the edge.""" - node: Input + """The ending bound of our range.""" + end: BigFloatRangeBoundInput } -"""Methods to use when ordering \`Input\`.""" -enum InputsOrderBy { - NATURAL - ID_ASC - ID_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +""" +The value at one end of a range. A range can either include this value, or not. +""" +input BigFloatRangeBoundInput { + """The value at one end of our range.""" + value: BigFloat! + + """Whether or not the value of this bound is included in the range.""" + inclusive: Boolean! } -"""An IPv4 or IPv6 host address, and optionally its subnet.""" -scalar InternetAddress +"""A range of \`Date\`.""" +input DateRangeInput { + """The starting bound of our range.""" + start: DateRangeBoundInput + + """The ending bound of our range.""" + end: DateRangeBoundInput +} """ -An interval of time that has passed where the smallest distinct unit is a second. +The value at one end of a range. A range can either include this value, or not. """ -type Interval { - """ - A quantity of seconds. This is the only non-integer field, as all the other - fields will dump their overflow into a smaller unit of time. Intervals don’t - have a smaller unit than seconds. - """ - seconds: Float +input DateRangeBoundInput { + """The value at one end of our range.""" + value: Date! - """A quantity of minutes.""" - minutes: Int + """Whether or not the value of this bound is included in the range.""" + inclusive: Boolean! +} - """A quantity of hours.""" - hours: Int +"""A range of \`AnInt\`.""" +input AnIntRangeInput { + """The starting bound of our range.""" + start: AnIntRangeBoundInput - """A quantity of days.""" - days: Int + """The ending bound of our range.""" + end: AnIntRangeBoundInput +} - """A quantity of months.""" - months: Int +""" +The value at one end of a range. A range can either include this value, or not. +""" +input AnIntRangeBoundInput { + """The value at one end of our range.""" + value: AnInt! - """A quantity of years.""" - years: Int + """Whether or not the value of this bound is included in the range.""" + inclusive: Boolean! } """ @@ -3039,5483 +2486,6282 @@ input IntervalInput { years: Int } -"""All input for the \`intSetMutation\` mutation.""" -input IntSetMutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - x: Int - y: Int - z: Int +"""An input for mutations affecting \`CompoundType\`""" +input CompoundTypeInput { + a: Int + b: String + c: Color + d: UUID + e: EnumCaps + f: EnumWithEmptyString + g: IntervalInput + fooBar: Int } -"""The output of our \`intSetMutation\` mutation.""" -type IntSetMutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integers: [Int] +"""An input for mutations affecting \`NestedCompoundType\`""" +input NestedCompoundTypeInput { + a: CompoundTypeInput + b: CompoundTypeInput + bazBuz: Int +} - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query +input PointInput { + x: Float! + y: Float! } -"""A connection to a list of \`Int\` values.""" -type IntSetQueryConnection { - """A list of \`Int\` objects.""" - nodes: [Int]! +"""A connection to a list of \`Interval\` values.""" +type PostComputedIntervalSetConnection { + """A list of \`Interval\` objects.""" + nodes: [Interval]! """ - A list of edges which contains the \`Int\` and cursor to aid in pagination. + A list of edges which contains the \`Interval\` and cursor to aid in pagination. """ - edges: [IntSetQueryEdge!]! + edges: [PostComputedIntervalSetEdge!]! - """The count of *all* \`Int\` you could get from the connection.""" + """The count of *all* \`Interval\` you could get from the connection.""" totalCount: Int! } -"""A \`Int\` edge in the connection.""" -type IntSetQueryEdge { +"""A \`Interval\` edge in the connection.""" +type PostComputedIntervalSetEdge { """A cursor for use in pagination.""" cursor: Cursor - """The \`Int\` at the end of the edge.""" - node: Int + """The \`Interval\` at the end of the edge.""" + node: Interval } -type Issue756 implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - ts: NotNullTimestamp! +"""A \`Post\` edge in the connection.""" +type PostsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Post\` at the end of the edge.""" + node: Post } -""" -A condition to be used against \`Issue756\` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input Issue756Condition { - """Checks for equality with the object’s \`id\` field.""" +"""Methods to use when ordering \`Post\`.""" +enum PostsOrderBy { + NATURAL + ID_ASC + ID_DESC + HEADLINE_ASC + HEADLINE_DESC + BODY_ASC + BODY_DESC + AUTHOR_ID_ASC + AUTHOR_ID_DESC + ENUMS_ASC + ENUMS_DESC + COMPTYPES_ASC + COMPTYPES_DESC + COMPUTED_WITH_OPTIONAL_ARG_ASC + COMPUTED_WITH_OPTIONAL_ARG_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} + +""" +A condition to be used against \`Post\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input PostCondition { + """Checks for equality with the object’s \`id\` field.""" id: Int - """Checks for equality with the object’s \`ts\` field.""" - ts: NotNullTimestamp + """Checks for equality with the object’s \`headline\` field.""" + headline: String + + """Checks for equality with the object’s \`body\` field.""" + body: String + + """Checks for equality with the object’s \`authorId\` field.""" + authorId: Int + + """Checks for equality with the object’s \`enums\` field.""" + enums: [AnEnum] + + """Checks for equality with the object’s \`comptypes\` field.""" + comptypes: [ComptypeInput] + + """Checks for equality with the object’s \`computedWithOptionalArg\` field.""" + computedWithOptionalArg: Int } -"""An input for mutations affecting \`Issue756\`""" -input Issue756Input { - id: Int - ts: NotNullTimestamp +"""An input for mutations affecting \`Comptype\`""" +input ComptypeInput { + schedule: Datetime + isOptimised: Boolean } -"""All input for the \`issue756Mutation\` mutation.""" -input Issue756MutationInput { +"""A connection to a list of \`CompoundKey\` values.""" +type CompoundKeysConnection { + """A list of \`CompoundKey\` objects.""" + nodes: [CompoundKey]! + """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + A list of edges which contains the \`CompoundKey\` and cursor to aid in pagination. """ - clientMutationId: String + edges: [CompoundKeysEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`CompoundKey\` you could get from the connection.""" + totalCount: Int! } -"""The output of our \`issue756Mutation\` mutation.""" -type Issue756MutationPayload { +type CompoundKey implements Node { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ - clientMutationId: String - issue756: Issue756 + nodeId: ID! + personId2: Int! + personId1: Int! + extra: Boolean + + """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" + personByPersonId2: Person + + """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" + personByPersonId1: Person + + """Reads and enables pagination through a set of \`ForeignKey\`.""" + foreignKeysByCompoundKey1AndCompoundKey2( + """Only read the first \`n\` values of the set.""" + first: Int + + """Only read the last \`n\` values of the set.""" + last: Int + + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """The method to use when ordering \`ForeignKey\`.""" + orderBy: [ForeignKeysOrderBy!] = [NATURAL] + + """ + A condition to be used in determining which values should be returned by the collection. + """ + condition: ForeignKeyCondition + ): ForeignKeysConnection! """ - Our root query field type. Allows us to run any query from our mutation payload. + Reads a single \`UniqueForeignKey\` that is related to this \`CompoundKey\`. """ - query: Query + uniqueForeignKeyByCompoundKey1AndCompoundKey2: UniqueForeignKey - """An edge for our \`Issue756\`. May be used by Relay 1.""" - issue756Edge( - """The method to use when ordering \`Issue756\`.""" - orderBy: [Issue756SOrderBy!] = [PRIMARY_KEY_ASC] - ): Issue756SEdge + """Reads and enables pagination through a set of \`UniqueForeignKey\`.""" + uniqueForeignKeysByCompoundKey1AndCompoundKey2( + """Only read the first \`n\` values of the set.""" + first: Int + + """Only read the last \`n\` values of the set.""" + last: Int + + """ + Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor + based pagination. May not be used with \`last\`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): UniqueForeignKeysConnection! @deprecated(reason: "Please use uniqueForeignKeyByCompoundKey1AndCompoundKey2 instead") +} + +"""Methods to use when ordering \`ForeignKey\`.""" +enum ForeignKeysOrderBy { + NATURAL + PERSON_ID_ASC + PERSON_ID_DESC + COMPOUND_KEY_1_ASC + COMPOUND_KEY_1_DESC + COMPOUND_KEY_2_ASC + COMPOUND_KEY_2_DESC } """ -Represents an update to a \`Issue756\`. Fields that are set will be updated. +A condition to be used against \`ForeignKey\` object types. All fields are tested +for equality and combined with a logical ‘and.’ """ -input Issue756Patch { - id: Int - ts: NotNullTimestamp +input ForeignKeyCondition { + """Checks for equality with the object’s \`personId\` field.""" + personId: Int + + """Checks for equality with the object’s \`compoundKey1\` field.""" + compoundKey1: Int + + """Checks for equality with the object’s \`compoundKey2\` field.""" + compoundKey2: Int } -"""A connection to a list of \`Issue756\` values.""" -type Issue756SConnection { - """A list of \`Issue756\` objects.""" - nodes: [Issue756]! +type UniqueForeignKey { + compoundKey1: Int + compoundKey2: Int """ - A list of edges which contains the \`Issue756\` and cursor to aid in pagination. + Reads a single \`CompoundKey\` that is related to this \`UniqueForeignKey\`. """ - edges: [Issue756SEdge!]! + compoundKeyByCompoundKey1AndCompoundKey2: CompoundKey +} + +"""A connection to a list of \`UniqueForeignKey\` values.""" +type UniqueForeignKeysConnection { + """A list of \`UniqueForeignKey\` objects.""" + nodes: [UniqueForeignKey]! + + """ + A list of edges which contains the \`UniqueForeignKey\` and cursor to aid in pagination. + """ + edges: [UniqueForeignKeysEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`Issue756\` you could get from the connection.""" + """ + The count of *all* \`UniqueForeignKey\` you could get from the connection. + """ totalCount: Int! } -"""A \`Issue756\` edge in the connection.""" -type Issue756SEdge { +"""A \`UniqueForeignKey\` edge in the connection.""" +type UniqueForeignKeysEdge { """A cursor for use in pagination.""" cursor: Cursor - """The \`Issue756\` at the end of the edge.""" - node: Issue756 -} - -"""All input for the \`issue756SetMutation\` mutation.""" -input Issue756SetMutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String + """The \`UniqueForeignKey\` at the end of the edge.""" + node: UniqueForeignKey } -"""The output of our \`issue756SetMutation\` mutation.""" -type Issue756SetMutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - issue756S: [Issue756] +"""A \`CompoundKey\` edge in the connection.""" +type CompoundKeysEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The \`CompoundKey\` at the end of the edge.""" + node: CompoundKey } -"""Methods to use when ordering \`Issue756\`.""" -enum Issue756SOrderBy { +"""Methods to use when ordering \`CompoundKey\`.""" +enum CompoundKeysOrderBy { NATURAL - ID_ASC - ID_DESC - TS_ASC - TS_DESC + PERSON_ID_2_ASC + PERSON_ID_2_DESC + PERSON_ID_1_ASC + PERSON_ID_1_DESC + EXTRA_ASC + EXTRA_DESC PRIMARY_KEY_ASC PRIMARY_KEY_DESC } """ -A JavaScript object encoded in the JSON format as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). +A condition to be used against \`CompoundKey\` object types. All fields are tested +for equality and combined with a logical ‘and.’ """ -scalar JSON +input CompoundKeyCondition { + """Checks for equality with the object’s \`personId2\` field.""" + personId2: Int -"""All input for the \`jsonbIdentityMutation\` mutation.""" -input JsonbIdentityMutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - json: JSON -} + """Checks for equality with the object’s \`personId1\` field.""" + personId1: Int -"""The output of our \`jsonbIdentityMutation\` mutation.""" -type JsonbIdentityMutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - json: JSON + """Checks for equality with the object’s \`extra\` field.""" + extra: Boolean +} - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query +"""The return type of our \`computedComplex\` query.""" +type PersonComputedComplexRecord { + x: Int + y: CompoundType + z: Person } -"""All input for the \`jsonbIdentityMutationPlpgsql\` mutation.""" -input JsonbIdentityMutationPlpgsqlInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - _theJson: JSON! +"""The return type of our \`computedFirstArgInoutOut\` query.""" +type PersonComputedFirstArgInoutOutRecord { + person: Person + o: Int } -"""The output of our \`jsonbIdentityMutationPlpgsql\` mutation.""" -type JsonbIdentityMutationPlpgsqlPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - json: JSON +"""The return type of our \`computedInoutOut\` query.""" +type PersonComputedInoutOutRecord { + ino: String + o: String +} - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query +"""The return type of our \`computedOutOut\` query.""" +type PersonComputedOutOutRecord { + o1: String + o2: String } -"""All input for the \`jsonbIdentityMutationPlpgsqlWithDefault\` mutation.""" -input JsonbIdentityMutationPlpgsqlWithDefaultInput { +"""A connection to a list of \`Person\` values.""" +type PeopleConnection { + """A list of \`Person\` objects.""" + nodes: [Person]! + """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + A list of edges which contains the \`Person\` and cursor to aid in pagination. """ - clientMutationId: String - _theJson: JSON + edges: [PeopleEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Person\` you could get from the connection.""" + totalCount: Int! } -"""The output of our \`jsonbIdentityMutationPlpgsqlWithDefault\` mutation.""" -type JsonbIdentityMutationPlpgsqlWithDefaultPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - json: JSON +"""A \`Person\` edge in the connection.""" +type PeopleEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The \`Person\` at the end of the edge.""" + node: Person } -"""All input for the \`jsonIdentityMutation\` mutation.""" -input JsonIdentityMutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - json: JSON +"""Methods to use when ordering \`Person\`.""" +enum PeopleOrderBy { + NATURAL + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + ALIASES_ASC + ALIASES_DESC + ABOUT_ASC + ABOUT_DESC + EMAIL_ASC + EMAIL_DESC + SITE_ASC + SITE_DESC + CONFIG_ASC + CONFIG_DESC + LAST_LOGIN_FROM_IP_ASC + LAST_LOGIN_FROM_IP_DESC + LAST_LOGIN_FROM_SUBNET_ASC + LAST_LOGIN_FROM_SUBNET_DESC + USER_MAC_ASC + USER_MAC_DESC + CREATED_AT_ASC + CREATED_AT_DESC + COMPUTED_OUT_ASC + COMPUTED_OUT_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } -"""The output of our \`jsonIdentityMutation\` mutation.""" -type JsonIdentityMutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - json: JSON +"""A \`ForeignKey\` edge in the connection.""" +type ForeignKeysEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`ForeignKey\` at the end of the edge.""" + node: ForeignKey +} + +"""A connection to a list of \`Input\` values.""" +type InputsConnection { + """A list of \`Input\` objects.""" + nodes: [Input]! """ - Our root query field type. Allows us to run any query from our mutation payload. + A list of edges which contains the \`Input\` and cursor to aid in pagination. """ - query: Query -} + edges: [InputsEdge!]! -type JwtToken { - role: String - exp: BigInt - a: Int - b: BigFloat - c: BigInt -} + """Information to aid in pagination.""" + pageInfo: PageInfo! -""" -A set of key/value pairs, keys are strings, values may be a string or null. Exposed as a JSON object. -""" -scalar KeyValueHash + """The count of *all* \`Input\` you could get from the connection.""" + totalCount: Int! +} -"""Tracks metadata about the left arms of various people""" -type LeftArm implements Node { +"""Should output as Input""" +type Input implements Node { """ A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ nodeId: ID! id: Int! - personId: Int! - lengthInMetres: Float - mood: String! +} - """Reads a single \`Person\` that is related to this \`LeftArm\`.""" - personByPersonId: Person +"""A \`Input\` edge in the connection.""" +type InputsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Input\` at the end of the edge.""" + node: Input } -"""An input representation of \`LeftArm\` with nullable fields.""" -input LeftArmBaseInput { - id: Int - personId: Int - lengthInMetres: Float - mood: String +"""Methods to use when ordering \`Input\`.""" +enum InputsOrderBy { + NATURAL + ID_ASC + ID_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } """ -A condition to be used against \`LeftArm\` object types. All fields are tested for equality and combined with a logical ‘and.’ +A condition to be used against \`Input\` object types. All fields are tested for equality and combined with a logical ‘and.’ """ -input LeftArmCondition { +input InputCondition { """Checks for equality with the object’s \`id\` field.""" id: Int - - """Checks for equality with the object’s \`personId\` field.""" - personId: Int - - """Checks for equality with the object’s \`lengthInMetres\` field.""" - lengthInMetres: Float - - """Checks for equality with the object’s \`mood\` field.""" - mood: String } -"""All input for the \`leftArmIdentity\` mutation.""" -input LeftArmIdentityInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - leftArm: LeftArmBaseInput -} +"""A connection to a list of \`NoPrimaryKey\` values.""" +type NoPrimaryKeysConnection { + """A list of \`NoPrimaryKey\` objects.""" + nodes: [NoPrimaryKey]! -"""The output of our \`leftArmIdentity\` mutation.""" -type LeftArmIdentityPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + A list of edges which contains the \`NoPrimaryKey\` and cursor to aid in pagination. """ - clientMutationId: String - leftArm: LeftArm + edges: [NoPrimaryKeysEdge!]! - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Reads a single \`Person\` that is related to this \`LeftArm\`.""" - personByPersonId: Person + """The count of *all* \`NoPrimaryKey\` you could get from the connection.""" + totalCount: Int! +} - """An edge for our \`LeftArm\`. May be used by Relay 1.""" - leftArmEdge( - """The method to use when ordering \`LeftArm\`.""" - orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] - ): LeftArmsEdge +type NoPrimaryKey { + id: Int! + str: String! } -"""An input for mutations affecting \`LeftArm\`""" -input LeftArmInput { - id: Int - personId: Int - lengthInMetres: Float - mood: String +"""A \`NoPrimaryKey\` edge in the connection.""" +type NoPrimaryKeysEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`NoPrimaryKey\` at the end of the edge.""" + node: NoPrimaryKey +} + +"""Methods to use when ordering \`NoPrimaryKey\`.""" +enum NoPrimaryKeysOrderBy { + NATURAL + ID_ASC + ID_DESC + STR_ASC + STR_DESC } """ -Represents an update to a \`LeftArm\`. Fields that are set will be updated. +A condition to be used against \`NoPrimaryKey\` object types. All fields are +tested for equality and combined with a logical ‘and.’ """ -input LeftArmPatch { +input NoPrimaryKeyCondition { + """Checks for equality with the object’s \`id\` field.""" id: Int - personId: Int - lengthInMetres: Float - mood: String + + """Checks for equality with the object’s \`str\` field.""" + str: String } -"""A connection to a list of \`LeftArm\` values.""" -type LeftArmsConnection { - """A list of \`LeftArm\` objects.""" - nodes: [LeftArm]! +"""A connection to a list of \`NonUpdatableView\` values.""" +type NonUpdatableViewsConnection { + """A list of \`NonUpdatableView\` objects.""" + nodes: [NonUpdatableView]! """ - A list of edges which contains the \`LeftArm\` and cursor to aid in pagination. + A list of edges which contains the \`NonUpdatableView\` and cursor to aid in pagination. """ - edges: [LeftArmsEdge!]! + edges: [NonUpdatableViewsEdge!]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* \`LeftArm\` you could get from the connection.""" + """ + The count of *all* \`NonUpdatableView\` you could get from the connection. + """ totalCount: Int! } -"""A \`LeftArm\` edge in the connection.""" -type LeftArmsEdge { +type NonUpdatableView { + column: Int +} + +"""A \`NonUpdatableView\` edge in the connection.""" +type NonUpdatableViewsEdge { """A cursor for use in pagination.""" cursor: Cursor - """The \`LeftArm\` at the end of the edge.""" - node: LeftArm + """The \`NonUpdatableView\` at the end of the edge.""" + node: NonUpdatableView } -"""Methods to use when ordering \`LeftArm\`.""" -enum LeftArmsOrderBy { +"""Methods to use when ordering \`NonUpdatableView\`.""" +enum NonUpdatableViewsOrderBy { NATURAL - ID_ASC - ID_DESC - PERSON_ID_ASC - PERSON_ID_DESC - LENGTH_IN_METRES_ASC - LENGTH_IN_METRES_DESC - MOOD_ASC - MOOD_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC + COLUMN_ASC + COLUMN_DESC } -"""All input for the \`mult1\` mutation.""" -input Mult1Input { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - arg0: Int - arg1: Int +""" +A condition to be used against \`NonUpdatableView\` object types. All fields are +tested for equality and combined with a logical ‘and.’ +""" +input NonUpdatableViewCondition { + """Checks for equality with the object’s \`column\` field.""" + column: Int } -"""The output of our \`mult1\` mutation.""" -type Mult1Payload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integer: Int +"""A connection to a list of \`Patch\` values.""" +type PatchesConnection { + """A list of \`Patch\` objects.""" + nodes: [Patch]! """ - Our root query field type. Allows us to run any query from our mutation payload. + A list of edges which contains the \`Patch\` and cursor to aid in pagination. """ - query: Query + edges: [PatchesEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Patch\` you could get from the connection.""" + totalCount: Int! } -"""All input for the \`mult2\` mutation.""" -input Mult2Input { +"""Should output as Patch""" +type Patch implements Node { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ - clientMutationId: String - arg0: Int - arg1: Int + nodeId: ID! + id: Int! } -"""The output of our \`mult2\` mutation.""" -type Mult2Payload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integer: Int +"""A \`Patch\` edge in the connection.""" +type PatchesEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The \`Patch\` at the end of the edge.""" + node: Patch } -"""All input for the \`mult3\` mutation.""" -input Mult3Input { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - arg0: Int! - arg1: Int! +"""Methods to use when ordering \`Patch\`.""" +enum PatchesOrderBy { + NATURAL + ID_ASC + ID_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC } -"""The output of our \`mult3\` mutation.""" -type Mult3Payload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integer: Int +""" +A condition to be used against \`Patch\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input PatchCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int +} + +"""A connection to a list of \`Reserved\` values.""" +type ReservedsConnection { + """A list of \`Reserved\` objects.""" + nodes: [Reserved]! """ - Our root query field type. Allows us to run any query from our mutation payload. + A list of edges which contains the \`Reserved\` and cursor to aid in pagination. """ - query: Query + edges: [ReservedsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`Reserved\` you could get from the connection.""" + totalCount: Int! } -"""All input for the \`mult4\` mutation.""" -input Mult4Input { +type Reserved implements Node { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ - clientMutationId: String - arg0: Int! - arg1: Int! + nodeId: ID! + id: Int! } -"""The output of our \`mult4\` mutation.""" -type Mult4Payload { +"""A \`Reserved\` edge in the connection.""" +type ReservedsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Reserved\` at the end of the edge.""" + node: Reserved +} + +"""Methods to use when ordering \`Reserved\`.""" +enum ReservedsOrderBy { + NATURAL + ID_ASC + ID_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} + +""" +A condition to be used against \`Reserved\` object types. All fields are tested +for equality and combined with a logical ‘and.’ +""" +input ReservedCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int +} + +"""A connection to a list of \`ReservedPatchRecord\` values.""" +type ReservedPatchRecordsConnection { + """A list of \`ReservedPatchRecord\` objects.""" + nodes: [ReservedPatchRecord]! + """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + A list of edges which contains the \`ReservedPatchRecord\` and cursor to aid in pagination. """ - clientMutationId: String - integer: Int + edges: [ReservedPatchRecordsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! """ - Our root query field type. Allows us to run any query from our mutation payload. + The count of *all* \`ReservedPatchRecord\` you could get from the connection. """ - query: Query + totalCount: Int! } """ -The root mutation type which contains root level fields which mutate data. +\`reservedPatchs\` table should get renamed to ReservedPatchRecord to prevent clashes with ReservedPatch from \`reserved\` table """ -type Mutation { - """Creates a single \`DefaultValue\`.""" - createDefaultValue( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateDefaultValueInput! - ): CreateDefaultValuePayload - - """Creates a single \`ForeignKey\`.""" - createForeignKey( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateForeignKeyInput! - ): CreateForeignKeyPayload +type ReservedPatchRecord implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! +} - """Creates a single \`Input\`.""" - createInput( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateInputInput! - ): CreateInputPayload +"""A \`ReservedPatchRecord\` edge in the connection.""" +type ReservedPatchRecordsEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Creates a single \`NoPrimaryKey\`.""" - createNoPrimaryKey( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateNoPrimaryKeyInput! - ): CreateNoPrimaryKeyPayload + """The \`ReservedPatchRecord\` at the end of the edge.""" + node: ReservedPatchRecord +} - """Creates a single \`Patch\`.""" - createPatch( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreatePatchInput! - ): CreatePatchPayload +"""Methods to use when ordering \`ReservedPatchRecord\`.""" +enum ReservedPatchRecordsOrderBy { + NATURAL + ID_ASC + ID_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} - """Creates a single \`Post\`.""" - createPost( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreatePostInput! - ): CreatePostPayload +""" +A condition to be used against \`ReservedPatchRecord\` object types. All fields +are tested for equality and combined with a logical ‘and.’ +""" +input ReservedPatchRecordCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int +} - """Creates a single \`Reserved\`.""" - createReserved( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateReservedInput! - ): CreateReservedPayload +"""A connection to a list of \`ReservedInputRecord\` values.""" +type ReservedInputRecordsConnection { + """A list of \`ReservedInputRecord\` objects.""" + nodes: [ReservedInputRecord]! - """Creates a single \`ReservedPatchRecord\`.""" - createReservedPatchRecord( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateReservedPatchRecordInput! - ): CreateReservedPatchRecordPayload + """ + A list of edges which contains the \`ReservedInputRecord\` and cursor to aid in pagination. + """ + edges: [ReservedInputRecordsEdge!]! - """Creates a single \`ReservedInputRecord\`.""" - createReservedInputRecord( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateReservedInputRecordInput! - ): CreateReservedInputRecordPayload + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Creates a single \`SimilarTable1\`.""" - createSimilarTable1( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateSimilarTable1Input! - ): CreateSimilarTable1Payload + """ + The count of *all* \`ReservedInputRecord\` you could get from the connection. + """ + totalCount: Int! +} - """Creates a single \`SimilarTable2\`.""" - createSimilarTable2( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateSimilarTable2Input! - ): CreateSimilarTable2Payload +""" +\`reserved_input\` table should get renamed to ReservedInputRecord to prevent clashes with ReservedInput from \`reserved\` table +""" +type ReservedInputRecord implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! +} - """Creates a single \`Testview\`.""" - createTestview( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateTestviewInput! - ): CreateTestviewPayload +"""A \`ReservedInputRecord\` edge in the connection.""" +type ReservedInputRecordsEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Creates a single \`ViewTable\`.""" - createViewTable( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateViewTableInput! - ): CreateViewTablePayload + """The \`ReservedInputRecord\` at the end of the edge.""" + node: ReservedInputRecord +} - """Creates a single \`Type\`.""" - createType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateTypeInput! - ): CreateTypePayload +"""Methods to use when ordering \`ReservedInputRecord\`.""" +enum ReservedInputRecordsOrderBy { + NATURAL + ID_ASC + ID_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} - """Creates a single \`UpdatableView\`.""" - createUpdatableView( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateUpdatableViewInput! - ): CreateUpdatableViewPayload +""" +A condition to be used against \`ReservedInputRecord\` object types. All fields +are tested for equality and combined with a logical ‘and.’ +""" +input ReservedInputRecordCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int +} - """Creates a single \`CompoundKey\`.""" - createCompoundKey( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateCompoundKeyInput! - ): CreateCompoundKeyPayload +"""A connection to a list of \`SimilarTable1\` values.""" +type SimilarTable1SConnection { + """A list of \`SimilarTable1\` objects.""" + nodes: [SimilarTable1]! - """Creates a single \`EdgeCase\`.""" - createEdgeCase( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateEdgeCaseInput! - ): CreateEdgeCasePayload + """ + A list of edges which contains the \`SimilarTable1\` and cursor to aid in pagination. + """ + edges: [SimilarTable1SEdge!]! - """Creates a single \`Issue756\`.""" - createIssue756( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateIssue756Input! - ): CreateIssue756Payload + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Creates a single \`LeftArm\`.""" - createLeftArm( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateLeftArmInput! - ): CreateLeftArmPayload + """The count of *all* \`SimilarTable1\` you could get from the connection.""" + totalCount: Int! +} - """Creates a single \`MyTable\`.""" - createMyTable( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateMyTableInput! - ): CreateMyTablePayload +type SimilarTable1 implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + col1: Int + col2: Int + col3: Int! +} - """Creates a single \`NullTestRecord\`.""" - createNullTestRecord( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateNullTestRecordInput! - ): CreateNullTestRecordPayload +"""A \`SimilarTable1\` edge in the connection.""" +type SimilarTable1SEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Creates a single \`Person\`.""" - createPerson( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreatePersonInput! - ): CreatePersonPayload + """The \`SimilarTable1\` at the end of the edge.""" + node: SimilarTable1 +} - """Creates a single \`PersonSecret\`.""" - createPersonSecret( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreatePersonSecretInput! - ): CreatePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") +"""Methods to use when ordering \`SimilarTable1\`.""" +enum SimilarTable1SOrderBy { + NATURAL + ID_ASC + ID_DESC + COL1_ASC + COL1_DESC + COL2_ASC + COL2_DESC + COL3_ASC + COL3_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} - """ - Updates a single \`DefaultValue\` using its globally unique id and a patch. - """ - updateDefaultValue( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateDefaultValueInput! - ): UpdateDefaultValuePayload +""" +A condition to be used against \`SimilarTable1\` object types. All fields are +tested for equality and combined with a logical ‘and.’ +""" +input SimilarTable1Condition { + """Checks for equality with the object’s \`id\` field.""" + id: Int - """Updates a single \`DefaultValue\` using a unique key and a patch.""" - updateDefaultValueById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateDefaultValueByIdInput! - ): UpdateDefaultValuePayload + """Checks for equality with the object’s \`col1\` field.""" + col1: Int - """Updates a single \`Input\` using its globally unique id and a patch.""" - updateInput( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateInputInput! - ): UpdateInputPayload + """Checks for equality with the object’s \`col2\` field.""" + col2: Int - """Updates a single \`Input\` using a unique key and a patch.""" - updateInputById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateInputByIdInput! - ): UpdateInputPayload + """Checks for equality with the object’s \`col3\` field.""" + col3: Int +} - """Updates a single \`NoPrimaryKey\` using a unique key and a patch.""" - updateNoPrimaryKeyById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateNoPrimaryKeyByIdInput! - ): UpdateNoPrimaryKeyPayload +"""A connection to a list of \`SimilarTable2\` values.""" +type SimilarTable2SConnection { + """A list of \`SimilarTable2\` objects.""" + nodes: [SimilarTable2]! - """Updates a single \`Patch\` using its globally unique id and a patch.""" - updatePatch( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdatePatchInput! - ): UpdatePatchPayload + """ + A list of edges which contains the \`SimilarTable2\` and cursor to aid in pagination. + """ + edges: [SimilarTable2SEdge!]! - """Updates a single \`Patch\` using a unique key and a patch.""" - updatePatchById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdatePatchByIdInput! - ): UpdatePatchPayload + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Updates a single \`Post\` using its globally unique id and a patch.""" - updatePost( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdatePostInput! - ): UpdatePostPayload + """The count of *all* \`SimilarTable2\` you could get from the connection.""" + totalCount: Int! +} - """Updates a single \`Post\` using a unique key and a patch.""" - updatePostById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdatePostByIdInput! - ): UpdatePostPayload +type SimilarTable2 implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + col3: Int! + col4: Int + col5: Int +} - """Updates a single \`Reserved\` using its globally unique id and a patch.""" - updateReserved( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateReservedInput! - ): UpdateReservedPayload +"""A \`SimilarTable2\` edge in the connection.""" +type SimilarTable2SEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Updates a single \`Reserved\` using a unique key and a patch.""" - updateReservedById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateReservedByIdInput! - ): UpdateReservedPayload + """The \`SimilarTable2\` at the end of the edge.""" + node: SimilarTable2 +} - """ - Updates a single \`ReservedPatchRecord\` using its globally unique id and a patch. - """ - updateReservedPatchRecord( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateReservedPatchRecordInput! - ): UpdateReservedPatchRecordPayload +"""Methods to use when ordering \`SimilarTable2\`.""" +enum SimilarTable2SOrderBy { + NATURAL + ID_ASC + ID_DESC + COL3_ASC + COL3_DESC + COL4_ASC + COL4_DESC + COL5_ASC + COL5_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} - """Updates a single \`ReservedPatchRecord\` using a unique key and a patch.""" - updateReservedPatchRecordById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateReservedPatchRecordByIdInput! - ): UpdateReservedPatchRecordPayload +""" +A condition to be used against \`SimilarTable2\` object types. All fields are +tested for equality and combined with a logical ‘and.’ +""" +input SimilarTable2Condition { + """Checks for equality with the object’s \`id\` field.""" + id: Int - """ - Updates a single \`ReservedInputRecord\` using its globally unique id and a patch. - """ - updateReservedInputRecord( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateReservedInputRecordInput! - ): UpdateReservedInputRecordPayload + """Checks for equality with the object’s \`col3\` field.""" + col3: Int - """Updates a single \`ReservedInputRecord\` using a unique key and a patch.""" - updateReservedInputRecordById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateReservedInputRecordByIdInput! - ): UpdateReservedInputRecordPayload + """Checks for equality with the object’s \`col4\` field.""" + col4: Int - """ - Updates a single \`SimilarTable1\` using its globally unique id and a patch. - """ - updateSimilarTable1( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateSimilarTable1Input! - ): UpdateSimilarTable1Payload + """Checks for equality with the object’s \`col5\` field.""" + col5: Int +} - """Updates a single \`SimilarTable1\` using a unique key and a patch.""" - updateSimilarTable1ById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateSimilarTable1ByIdInput! - ): UpdateSimilarTable1Payload +"""A connection to a list of \`Testview\` values.""" +type TestviewsConnection { + """A list of \`Testview\` objects.""" + nodes: [Testview]! """ - Updates a single \`SimilarTable2\` using its globally unique id and a patch. + A list of edges which contains the \`Testview\` and cursor to aid in pagination. """ - updateSimilarTable2( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateSimilarTable2Input! - ): UpdateSimilarTable2Payload + edges: [TestviewsEdge!]! - """Updates a single \`SimilarTable2\` using a unique key and a patch.""" - updateSimilarTable2ById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateSimilarTable2ByIdInput! - ): UpdateSimilarTable2Payload + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Updates a single \`ViewTable\` using its globally unique id and a patch.""" - updateViewTable( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateViewTableInput! - ): UpdateViewTablePayload - - """Updates a single \`ViewTable\` using a unique key and a patch.""" - updateViewTableById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateViewTableByIdInput! - ): UpdateViewTablePayload + """The count of *all* \`Testview\` you could get from the connection.""" + totalCount: Int! +} - """Updates a single \`Type\` using its globally unique id and a patch.""" - updateType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateTypeInput! - ): UpdateTypePayload +type Testview { + testviewid: Int + col1: Int + col2: Int +} - """Updates a single \`Type\` using a unique key and a patch.""" - updateTypeById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateTypeByIdInput! - ): UpdateTypePayload +"""A \`Testview\` edge in the connection.""" +type TestviewsEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """ - Updates a single \`CompoundKey\` using its globally unique id and a patch. - """ - updateCompoundKey( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateCompoundKeyInput! - ): UpdateCompoundKeyPayload + """The \`Testview\` at the end of the edge.""" + node: Testview +} - """Updates a single \`CompoundKey\` using a unique key and a patch.""" - updateCompoundKeyByPersonId1AndPersonId2( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateCompoundKeyByPersonId1AndPersonId2Input! - ): UpdateCompoundKeyPayload +"""Methods to use when ordering \`Testview\`.""" +enum TestviewsOrderBy { + NATURAL + TESTVIEWID_ASC + TESTVIEWID_DESC + COL1_ASC + COL1_DESC + COL2_ASC + COL2_DESC +} - """Updates a single \`Issue756\` using its globally unique id and a patch.""" - updateIssue756( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateIssue756Input! - ): UpdateIssue756Payload +""" +A condition to be used against \`Testview\` object types. All fields are tested +for equality and combined with a logical ‘and.’ +""" +input TestviewCondition { + """Checks for equality with the object’s \`testviewid\` field.""" + testviewid: Int - """Updates a single \`Issue756\` using a unique key and a patch.""" - updateIssue756ById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateIssue756ByIdInput! - ): UpdateIssue756Payload + """Checks for equality with the object’s \`col1\` field.""" + col1: Int - """Updates a single \`LeftArm\` using its globally unique id and a patch.""" - updateLeftArm( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateLeftArmInput! - ): UpdateLeftArmPayload + """Checks for equality with the object’s \`col2\` field.""" + col2: Int +} - """Updates a single \`LeftArm\` using a unique key and a patch.""" - updateLeftArmById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateLeftArmByIdInput! - ): UpdateLeftArmPayload +"""A connection to a list of \`ViewTable\` values.""" +type ViewTablesConnection { + """A list of \`ViewTable\` objects.""" + nodes: [ViewTable]! - """Updates a single \`LeftArm\` using a unique key and a patch.""" - updateLeftArmByPersonId( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateLeftArmByPersonIdInput! - ): UpdateLeftArmPayload + """ + A list of edges which contains the \`ViewTable\` and cursor to aid in pagination. + """ + edges: [ViewTablesEdge!]! - """Updates a single \`MyTable\` using its globally unique id and a patch.""" - updateMyTable( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateMyTableInput! - ): UpdateMyTablePayload + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Updates a single \`MyTable\` using a unique key and a patch.""" - updateMyTableById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateMyTableByIdInput! - ): UpdateMyTablePayload + """The count of *all* \`ViewTable\` you could get from the connection.""" + totalCount: Int! +} +type ViewTable implements Node { """ - Updates a single \`NullTestRecord\` using its globally unique id and a patch. + A globally unique identifier. Can be used in various places throughout the system to identify this single value. """ - updateNullTestRecord( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateNullTestRecordInput! - ): UpdateNullTestRecordPayload + nodeId: ID! + id: Int! + col1: Int + col2: Int +} - """Updates a single \`NullTestRecord\` using a unique key and a patch.""" - updateNullTestRecordById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateNullTestRecordByIdInput! - ): UpdateNullTestRecordPayload +"""A \`ViewTable\` edge in the connection.""" +type ViewTablesEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Updates a single \`Person\` using its globally unique id and a patch.""" - updatePerson( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdatePersonInput! - ): UpdatePersonPayload + """The \`ViewTable\` at the end of the edge.""" + node: ViewTable +} - """Updates a single \`Person\` using a unique key and a patch.""" - updatePersonById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdatePersonByIdInput! - ): UpdatePersonPayload +"""Methods to use when ordering \`ViewTable\`.""" +enum ViewTablesOrderBy { + NATURAL + ID_ASC + ID_DESC + COL1_ASC + COL1_DESC + COL2_ASC + COL2_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} - """Updates a single \`Person\` using a unique key and a patch.""" - updatePersonByEmail( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdatePersonByEmailInput! - ): UpdatePersonPayload +""" +A condition to be used against \`ViewTable\` object types. All fields are tested +for equality and combined with a logical ‘and.’ +""" +input ViewTableCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`col1\` field.""" + col1: Int + + """Checks for equality with the object’s \`col2\` field.""" + col2: Int +} + +"""A connection to a list of \`UpdatableView\` values.""" +type UpdatableViewsConnection { + """A list of \`UpdatableView\` objects.""" + nodes: [UpdatableView]! """ - Updates a single \`PersonSecret\` using its globally unique id and a patch. + A list of edges which contains the \`UpdatableView\` and cursor to aid in pagination. """ - updatePersonSecret( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdatePersonSecretInput! - ): UpdatePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") - - """Updates a single \`PersonSecret\` using a unique key and a patch.""" - updatePersonSecretByPersonId( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdatePersonSecretByPersonIdInput! - ): UpdatePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") + edges: [UpdatableViewsEdge!]! - """Deletes a single \`DefaultValue\` using its globally unique id.""" - deleteDefaultValue( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteDefaultValueInput! - ): DeleteDefaultValuePayload + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Deletes a single \`DefaultValue\` using a unique key.""" - deleteDefaultValueById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteDefaultValueByIdInput! - ): DeleteDefaultValuePayload + """The count of *all* \`UpdatableView\` you could get from the connection.""" + totalCount: Int! +} - """Deletes a single \`Input\` using its globally unique id.""" - deleteInput( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteInputInput! - ): DeleteInputPayload +"""YOYOYO!!""" +type UpdatableView { + x: Int + name: String + description: String - """Deletes a single \`Input\` using a unique key.""" - deleteInputById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteInputByIdInput! - ): DeleteInputPayload + """This is constantly 2""" + constant: Int +} - """Deletes a single \`NoPrimaryKey\` using a unique key.""" - deleteNoPrimaryKeyById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteNoPrimaryKeyByIdInput! - ): DeleteNoPrimaryKeyPayload +"""A \`UpdatableView\` edge in the connection.""" +type UpdatableViewsEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Deletes a single \`Patch\` using its globally unique id.""" - deletePatch( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePatchInput! - ): DeletePatchPayload + """The \`UpdatableView\` at the end of the edge.""" + node: UpdatableView +} - """Deletes a single \`Patch\` using a unique key.""" - deletePatchById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePatchByIdInput! - ): DeletePatchPayload +"""Methods to use when ordering \`UpdatableView\`.""" +enum UpdatableViewsOrderBy { + NATURAL + X_ASC + X_DESC + NAME_ASC + NAME_DESC + DESCRIPTION_ASC + DESCRIPTION_DESC + CONSTANT_ASC + CONSTANT_DESC +} - """Deletes a single \`Post\` using its globally unique id.""" - deletePost( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePostInput! - ): DeletePostPayload +""" +A condition to be used against \`UpdatableView\` object types. All fields are +tested for equality and combined with a logical ‘and.’ +""" +input UpdatableViewCondition { + """Checks for equality with the object’s \`x\` field.""" + x: Int - """Deletes a single \`Post\` using a unique key.""" - deletePostById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePostByIdInput! - ): DeletePostPayload + """Checks for equality with the object’s \`name\` field.""" + name: String - """Deletes a single \`Reserved\` using its globally unique id.""" - deleteReserved( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteReservedInput! - ): DeleteReservedPayload + """Checks for equality with the object’s \`description\` field.""" + description: String - """Deletes a single \`Reserved\` using a unique key.""" - deleteReservedById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteReservedByIdInput! - ): DeleteReservedPayload + """Checks for equality with the object’s \`constant\` field.""" + constant: Int +} - """Deletes a single \`ReservedPatchRecord\` using its globally unique id.""" - deleteReservedPatchRecord( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteReservedPatchRecordInput! - ): DeleteReservedPatchRecordPayload +"""A connection to a list of \`EdgeCase\` values.""" +type EdgeCasesConnection { + """A list of \`EdgeCase\` objects.""" + nodes: [EdgeCase]! - """Deletes a single \`ReservedPatchRecord\` using a unique key.""" - deleteReservedPatchRecordById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteReservedPatchRecordByIdInput! - ): DeleteReservedPatchRecordPayload + """ + A list of edges which contains the \`EdgeCase\` and cursor to aid in pagination. + """ + edges: [EdgeCasesEdge!]! - """Deletes a single \`ReservedInputRecord\` using its globally unique id.""" - deleteReservedInputRecord( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteReservedInputRecordInput! - ): DeleteReservedInputRecordPayload + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Deletes a single \`ReservedInputRecord\` using a unique key.""" - deleteReservedInputRecordById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteReservedInputRecordByIdInput! - ): DeleteReservedInputRecordPayload + """The count of *all* \`EdgeCase\` you could get from the connection.""" + totalCount: Int! +} - """Deletes a single \`SimilarTable1\` using its globally unique id.""" - deleteSimilarTable1( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteSimilarTable1Input! - ): DeleteSimilarTable1Payload +type EdgeCase { + notNullHasDefault: Boolean! + wontCastEasy: Int + rowId: Int + computed: String +} - """Deletes a single \`SimilarTable1\` using a unique key.""" - deleteSimilarTable1ById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteSimilarTable1ByIdInput! - ): DeleteSimilarTable1Payload +"""A \`EdgeCase\` edge in the connection.""" +type EdgeCasesEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Deletes a single \`SimilarTable2\` using its globally unique id.""" - deleteSimilarTable2( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteSimilarTable2Input! - ): DeleteSimilarTable2Payload + """The \`EdgeCase\` at the end of the edge.""" + node: EdgeCase +} - """Deletes a single \`SimilarTable2\` using a unique key.""" - deleteSimilarTable2ById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteSimilarTable2ByIdInput! - ): DeleteSimilarTable2Payload +"""Methods to use when ordering \`EdgeCase\`.""" +enum EdgeCasesOrderBy { + NATURAL + NOT_NULL_HAS_DEFAULT_ASC + NOT_NULL_HAS_DEFAULT_DESC + WONT_CAST_EASY_ASC + WONT_CAST_EASY_DESC + ROW_ID_ASC + ROW_ID_DESC +} - """Deletes a single \`ViewTable\` using its globally unique id.""" - deleteViewTable( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteViewTableInput! - ): DeleteViewTablePayload +""" +A condition to be used against \`EdgeCase\` object types. All fields are tested +for equality and combined with a logical ‘and.’ +""" +input EdgeCaseCondition { + """Checks for equality with the object’s \`notNullHasDefault\` field.""" + notNullHasDefault: Boolean - """Deletes a single \`ViewTable\` using a unique key.""" - deleteViewTableById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteViewTableByIdInput! - ): DeleteViewTablePayload + """Checks for equality with the object’s \`wontCastEasy\` field.""" + wontCastEasy: Int - """Deletes a single \`Type\` using its globally unique id.""" - deleteType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteTypeInput! - ): DeleteTypePayload + """Checks for equality with the object’s \`rowId\` field.""" + rowId: Int +} - """Deletes a single \`Type\` using a unique key.""" - deleteTypeById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteTypeByIdInput! - ): DeleteTypePayload +"""A connection to a list of \`Issue756\` values.""" +type Issue756SConnection { + """A list of \`Issue756\` objects.""" + nodes: [Issue756]! - """Deletes a single \`CompoundKey\` using its globally unique id.""" - deleteCompoundKey( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteCompoundKeyInput! - ): DeleteCompoundKeyPayload + """ + A list of edges which contains the \`Issue756\` and cursor to aid in pagination. + """ + edges: [Issue756SEdge!]! - """Deletes a single \`CompoundKey\` using a unique key.""" - deleteCompoundKeyByPersonId1AndPersonId2( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteCompoundKeyByPersonId1AndPersonId2Input! - ): DeleteCompoundKeyPayload + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Deletes a single \`Issue756\` using its globally unique id.""" - deleteIssue756( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteIssue756Input! - ): DeleteIssue756Payload + """The count of *all* \`Issue756\` you could get from the connection.""" + totalCount: Int! +} - """Deletes a single \`Issue756\` using a unique key.""" - deleteIssue756ById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteIssue756ByIdInput! - ): DeleteIssue756Payload +type Issue756 implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + ts: NotNullTimestamp! +} - """Deletes a single \`LeftArm\` using its globally unique id.""" - deleteLeftArm( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteLeftArmInput! - ): DeleteLeftArmPayload +scalar NotNullTimestamp - """Deletes a single \`LeftArm\` using a unique key.""" - deleteLeftArmById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteLeftArmByIdInput! - ): DeleteLeftArmPayload +"""A \`Issue756\` edge in the connection.""" +type Issue756SEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Deletes a single \`LeftArm\` using a unique key.""" - deleteLeftArmByPersonId( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteLeftArmByPersonIdInput! - ): DeleteLeftArmPayload + """The \`Issue756\` at the end of the edge.""" + node: Issue756 +} - """Deletes a single \`MyTable\` using its globally unique id.""" - deleteMyTable( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteMyTableInput! - ): DeleteMyTablePayload +"""Methods to use when ordering \`Issue756\`.""" +enum Issue756SOrderBy { + NATURAL + ID_ASC + ID_DESC + TS_ASC + TS_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} - """Deletes a single \`MyTable\` using a unique key.""" - deleteMyTableById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteMyTableByIdInput! - ): DeleteMyTablePayload +""" +A condition to be used against \`Issue756\` object types. All fields are tested +for equality and combined with a logical ‘and.’ +""" +input Issue756Condition { + """Checks for equality with the object’s \`id\` field.""" + id: Int - """Deletes a single \`NullTestRecord\` using its globally unique id.""" - deleteNullTestRecord( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteNullTestRecordInput! - ): DeleteNullTestRecordPayload + """Checks for equality with the object’s \`ts\` field.""" + ts: NotNullTimestamp +} - """Deletes a single \`NullTestRecord\` using a unique key.""" - deleteNullTestRecordById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteNullTestRecordByIdInput! - ): DeleteNullTestRecordPayload +"""A connection to a list of \`MyTable\` values.""" +type MyTablesConnection { + """A list of \`MyTable\` objects.""" + nodes: [MyTable]! - """Deletes a single \`Person\` using its globally unique id.""" - deletePerson( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePersonInput! - ): DeletePersonPayload + """ + A list of edges which contains the \`MyTable\` and cursor to aid in pagination. + """ + edges: [MyTablesEdge!]! - """Deletes a single \`Person\` using a unique key.""" - deletePersonById( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePersonByIdInput! - ): DeletePersonPayload + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Deletes a single \`Person\` using a unique key.""" - deletePersonByEmail( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePersonByEmailInput! - ): DeletePersonPayload + """The count of *all* \`MyTable\` you could get from the connection.""" + totalCount: Int! +} - """Deletes a single \`PersonSecret\` using its globally unique id.""" - deletePersonSecret( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePersonSecretInput! - ): DeletePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") +type MyTable implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + jsonData: JSON +} - """Deletes a single \`PersonSecret\` using a unique key.""" - deletePersonSecretByPersonId( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeletePersonSecretByPersonIdInput! - ): DeletePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") +"""A \`MyTable\` edge in the connection.""" +type MyTablesEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """lol, add some stuff 1 mutation""" - add1Mutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Add1MutationInput! - ): Add1MutationPayload + """The \`MyTable\` at the end of the edge.""" + node: MyTable +} - """lol, add some stuff 2 mutation""" - add2Mutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Add2MutationInput! - ): Add2MutationPayload +"""Methods to use when ordering \`MyTable\`.""" +enum MyTablesOrderBy { + NATURAL + ID_ASC + ID_DESC + JSON_DATA_ASC + JSON_DATA_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} - """lol, add some stuff 3 mutation""" - add3Mutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Add3MutationInput! - ): Add3MutationPayload +""" +A condition to be used against \`MyTable\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input MyTableCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int - """lol, add some stuff 4 mutation""" - add4Mutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Add4MutationInput! - ): Add4MutationPayload - add4MutationError( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Add4MutationErrorInput! - ): Add4MutationErrorPayload - mutationCompoundTypeArray( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationCompoundTypeArrayInput! - ): MutationCompoundTypeArrayPayload - mutationIntervalArray( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationIntervalArrayInput! - ): MutationIntervalArrayPayload - mutationIntervalSet( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationIntervalSetInput! - ): MutationIntervalSetPayload - mutationTextArray( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationTextArrayInput! - ): MutationTextArrayPayload - postMany( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: PostManyInput! - ): PostManyPayload - postWithSuffix( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: PostWithSuffixInput! - ): PostWithSuffixPayload @deprecated(reason: "This is deprecated (comment on function a.post_with_suffix).") - returnVoidMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: ReturnVoidMutationInput! - ): ReturnVoidMutationPayload - authenticate( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: AuthenticateInput! - ): AuthenticatePayload - authenticateFail( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: AuthenticateFailInput! - ): AuthenticateFailPayload - authenticateMany( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: AuthenticateManyInput! - ): AuthenticateManyPayload - authenticatePayload( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: AuthenticatePayloadInput! - ): AuthenticatePayloadPayload - compoundTypeArrayMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CompoundTypeArrayMutationInput! - ): CompoundTypeArrayMutationPayload - compoundTypeMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CompoundTypeMutationInput! - ): CompoundTypeMutationPayload - compoundTypeSetMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CompoundTypeSetMutationInput! - ): CompoundTypeSetMutationPayload - guidFn( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: GuidFnInput! - ): GuidFnPayload - mult1( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Mult1Input! - ): Mult1Payload - mult2( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Mult2Input! - ): Mult2Payload - mult3( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Mult3Input! - ): Mult3Payload - mult4( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Mult4Input! - ): Mult4Payload - typeFunctionConnectionMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: TypeFunctionConnectionMutationInput! - ): TypeFunctionConnectionMutationPayload - typeFunctionListMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: TypeFunctionListMutationInput! - ): TypeFunctionListMutationPayload - typeFunctionMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: TypeFunctionMutationInput! - ): TypeFunctionMutationPayload - intSetMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: IntSetMutationInput! - ): IntSetMutationPayload - issue756Mutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Issue756MutationInput! - ): Issue756MutationPayload - issue756SetMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: Issue756SetMutationInput! - ): Issue756SetMutationPayload - jsonIdentityMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: JsonIdentityMutationInput! - ): JsonIdentityMutationPayload - jsonbIdentityMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: JsonbIdentityMutationInput! - ): JsonbIdentityMutationPayload - jsonbIdentityMutationPlpgsql( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: JsonbIdentityMutationPlpgsqlInput! - ): JsonbIdentityMutationPlpgsqlPayload - jsonbIdentityMutationPlpgsqlWithDefault( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: JsonbIdentityMutationPlpgsqlWithDefaultInput! - ): JsonbIdentityMutationPlpgsqlWithDefaultPayload - leftArmIdentity( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: LeftArmIdentityInput! - ): LeftArmIdentityPayload - mutationInInout( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationInInoutInput! - ): MutationInInoutPayload - mutationInOut( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationInOutInput! - ): MutationInOutPayload - mutationOut( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutInput! - ): MutationOutPayload - mutationOutComplex( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutComplexInput! - ): MutationOutComplexPayload - mutationOutComplexSetof( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutComplexSetofInput! - ): MutationOutComplexSetofPayload - mutationOutOut( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutOutInput! - ): MutationOutOutPayload - mutationOutOutCompoundType( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutOutCompoundTypeInput! - ): MutationOutOutCompoundTypePayload - mutationOutOutSetof( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutOutSetofInput! - ): MutationOutOutSetofPayload - mutationOutOutUnnamed( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutOutUnnamedInput! - ): MutationOutOutUnnamedPayload - mutationOutSetof( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutSetofInput! - ): MutationOutSetofPayload - mutationOutTable( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutTableInput! - ): MutationOutTablePayload - mutationOutTableSetof( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutTableSetofInput! - ): MutationOutTableSetofPayload - mutationOutUnnamed( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutUnnamedInput! - ): MutationOutUnnamedPayload - mutationOutUnnamedOutOutUnnamed( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationOutUnnamedOutOutUnnamedInput! - ): MutationOutUnnamedOutOutUnnamedPayload - mutationReturnsTableMultiCol( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationReturnsTableMultiColInput! - ): MutationReturnsTableMultiColPayload - mutationReturnsTableOneCol( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: MutationReturnsTableOneColInput! - ): MutationReturnsTableOneColPayload - noArgsMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: NoArgsMutationInput! - ): NoArgsMutationPayload - tableMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: TableMutationInput! - ): TableMutationPayload - tableSetMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: TableSetMutationInput! - ): TableSetMutationPayload - typesMutation( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: TypesMutationInput! - ): TypesMutationPayload + """Checks for equality with the object’s \`jsonData\` field.""" + jsonData: JSON +} + +"""A connection to a list of \`NullTestRecord\` values.""" +type NullTestRecordsConnection { + """A list of \`NullTestRecord\` objects.""" + nodes: [NullTestRecord]! + + """ + A list of edges which contains the \`NullTestRecord\` and cursor to aid in pagination. + """ + edges: [NullTestRecordsEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`NullTestRecord\` you could get from the connection.""" + totalCount: Int! +} + +type NullTestRecord implements Node { + """ + A globally unique identifier. Can be used in various places throughout the system to identify this single value. + """ + nodeId: ID! + id: Int! + nullableText: String + nullableInt: Int + nonNullText: String! +} + +"""A \`NullTestRecord\` edge in the connection.""" +type NullTestRecordsEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`NullTestRecord\` at the end of the edge.""" + node: NullTestRecord +} + +"""Methods to use when ordering \`NullTestRecord\`.""" +enum NullTestRecordsOrderBy { + NATURAL + ID_ASC + ID_DESC + NULLABLE_TEXT_ASC + NULLABLE_TEXT_DESC + NULLABLE_INT_ASC + NULLABLE_INT_DESC + NON_NULL_TEXT_ASC + NON_NULL_TEXT_DESC + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC +} + +""" +A condition to be used against \`NullTestRecord\` object types. All fields are +tested for equality and combined with a logical ‘and.’ +""" +input NullTestRecordCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`nullableText\` field.""" + nullableText: String + + """Checks for equality with the object’s \`nullableInt\` field.""" + nullableInt: Int + + """Checks for equality with the object’s \`nonNullText\` field.""" + nonNullText: String +} + +""" +A condition to be used against \`Person\` object types. All fields are tested for equality and combined with a logical ‘and.’ +""" +input PersonCondition { + """Checks for equality with the object’s \`id\` field.""" + id: Int + + """Checks for equality with the object’s \`name\` field.""" + name: String + + """Checks for equality with the object’s \`aliases\` field.""" + aliases: [String] + + """Checks for equality with the object’s \`about\` field.""" + about: String + + """Checks for equality with the object’s \`email\` field.""" + email: Email + + """Checks for equality with the object’s \`site\` field.""" + site: WrappedUrlInput + + """Checks for equality with the object’s \`config\` field.""" + config: KeyValueHash + + """Checks for equality with the object’s \`lastLoginFromIp\` field.""" + lastLoginFromIp: InternetAddress + + """Checks for equality with the object’s \`lastLoginFromSubnet\` field.""" + lastLoginFromSubnet: String + + """Checks for equality with the object’s \`userMac\` field.""" + userMac: String + + """Checks for equality with the object’s \`createdAt\` field.""" + createdAt: Datetime + + """Checks for equality with the object’s \`computedOut\` field.""" + computedOut: String +} + +"""An input for mutations affecting \`WrappedUrl\`""" +input WrappedUrlInput { + url: NotNullUrl! +} + +"""A connection to a list of \`Interval\` values.""" +type QueryIntervalSetConnection { + """A list of \`Interval\` objects.""" + nodes: [Interval]! + + """ + A list of edges which contains the \`Interval\` and cursor to aid in pagination. + """ + edges: [QueryIntervalSetEdge!]! + + """The count of *all* \`Interval\` you could get from the connection.""" + totalCount: Int! +} + +"""A \`Interval\` edge in the connection.""" +type QueryIntervalSetEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`Interval\` at the end of the edge.""" + node: Interval +} + +"""A connection to a list of \`BigInt\` values.""" +type StaticBigIntegerConnection { + """A list of \`BigInt\` objects.""" + nodes: [BigInt]! + + """ + A list of edges which contains the \`BigInt\` and cursor to aid in pagination. + """ + edges: [StaticBigIntegerEdge!]! + + """The count of *all* \`BigInt\` you could get from the connection.""" + totalCount: Int! +} + +"""A \`BigInt\` edge in the connection.""" +type StaticBigIntegerEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`BigInt\` at the end of the edge.""" + node: BigInt +} + +"""A connection to a list of \`CompoundType\` values.""" +type CompoundTypesConnection { + """A list of \`CompoundType\` objects.""" + nodes: [CompoundType]! + + """ + A list of edges which contains the \`CompoundType\` and cursor to aid in pagination. + """ + edges: [CompoundTypesEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* \`CompoundType\` you could get from the connection.""" + totalCount: Int! +} + +"""A \`CompoundType\` edge in the connection.""" +type CompoundTypesEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`CompoundType\` at the end of the edge.""" + node: CompoundType +} + +"""The return type of our \`funcOutComplex\` query.""" +type FuncOutComplexRecord { + x: Int + y: CompoundType + z: Person +} + +"""A connection to a list of \`FuncOutComplexSetofRecord\` values.""" +type FuncOutComplexSetofConnection { + """A list of \`FuncOutComplexSetofRecord\` objects.""" + nodes: [FuncOutComplexSetofRecord]! + + """ + A list of edges which contains the \`FuncOutComplexSetofRecord\` and cursor to aid in pagination. + """ + edges: [FuncOutComplexSetofEdge!]! + + """ + The count of *all* \`FuncOutComplexSetofRecord\` you could get from the connection. + """ + totalCount: Int! +} + +"""The return type of our \`funcOutComplexSetof\` query.""" +type FuncOutComplexSetofRecord { + x: Int + y: CompoundType + z: Person +} + +"""A \`FuncOutComplexSetofRecord\` edge in the connection.""" +type FuncOutComplexSetofEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`FuncOutComplexSetofRecord\` at the end of the edge.""" + node: FuncOutComplexSetofRecord +} + +"""The return type of our \`funcOutOut\` query.""" +type FuncOutOutRecord { + firstOut: Int + secondOut: String +} + +"""The return type of our \`funcOutOutCompoundType\` query.""" +type FuncOutOutCompoundTypeRecord { + o1: Int + o2: CompoundType +} + +"""A connection to a list of \`FuncOutOutSetofRecord\` values.""" +type FuncOutOutSetofConnection { + """A list of \`FuncOutOutSetofRecord\` objects.""" + nodes: [FuncOutOutSetofRecord]! + + """ + A list of edges which contains the \`FuncOutOutSetofRecord\` and cursor to aid in pagination. + """ + edges: [FuncOutOutSetofEdge!]! + + """ + The count of *all* \`FuncOutOutSetofRecord\` you could get from the connection. + """ + totalCount: Int! +} + +"""The return type of our \`funcOutOutSetof\` query.""" +type FuncOutOutSetofRecord { + o1: Int + o2: String +} + +"""A \`FuncOutOutSetofRecord\` edge in the connection.""" +type FuncOutOutSetofEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The \`FuncOutOutSetofRecord\` at the end of the edge.""" + node: FuncOutOutSetofRecord +} + +"""The return type of our \`funcOutOutUnnamed\` query.""" +type FuncOutOutUnnamedRecord { + arg1: Int + arg2: String } -"""All input for the \`mutationCompoundTypeArray\` mutation.""" -input MutationCompoundTypeArrayInput { +"""A connection to a list of \`Int\` values.""" +type FuncOutSetofConnection { + """A list of \`Int\` objects.""" + nodes: [Int]! + """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + A list of edges which contains the \`Int\` and cursor to aid in pagination. """ - clientMutationId: String - object: CompoundTypeInput + edges: [FuncOutSetofEdge!]! + + """The count of *all* \`Int\` you could get from the connection.""" + totalCount: Int! } -"""The output of our \`mutationCompoundTypeArray\` mutation.""" -type MutationCompoundTypeArrayPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - compoundTypes: [CompoundType] +"""A \`Int\` edge in the connection.""" +type FuncOutSetofEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The \`Int\` at the end of the edge.""" + node: Int } -"""All input for the \`mutationInInout\` mutation.""" -input MutationInInoutInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - i: Int - ino: Int +"""The return type of our \`funcOutUnnamedOutOutUnnamed\` query.""" +type FuncOutUnnamedOutOutUnnamedRecord { + arg1: Int + o2: String + arg3: Int } -"""The output of our \`mutationInInout\` mutation.""" -type MutationInInoutPayload { +"""A connection to a list of \`FuncReturnsTableMultiColRecord\` values.""" +type FuncReturnsTableMultiColConnection { + """A list of \`FuncReturnsTableMultiColRecord\` objects.""" + nodes: [FuncReturnsTableMultiColRecord]! + """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + A list of edges which contains the \`FuncReturnsTableMultiColRecord\` and cursor to aid in pagination. """ - clientMutationId: String - ino: Int + edges: [FuncReturnsTableMultiColEdge!]! """ - Our root query field type. Allows us to run any query from our mutation payload. + The count of *all* \`FuncReturnsTableMultiColRecord\` you could get from the connection. """ - query: Query + totalCount: Int! } -"""All input for the \`mutationInOut\` mutation.""" -input MutationInOutInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - i: Int +"""The return type of our \`funcReturnsTableMultiCol\` query.""" +type FuncReturnsTableMultiColRecord { + col1: Int + col2: String } -"""The output of our \`mutationInOut\` mutation.""" -type MutationInOutPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - o: Int +"""A \`FuncReturnsTableMultiColRecord\` edge in the connection.""" +type FuncReturnsTableMultiColEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The \`FuncReturnsTableMultiColRecord\` at the end of the edge.""" + node: FuncReturnsTableMultiColRecord } -"""All input for the \`mutationIntervalArray\` mutation.""" -input MutationIntervalArrayInput { +"""A connection to a list of \`Int\` values.""" +type FuncReturnsTableOneColConnection { + """A list of \`Int\` objects.""" + nodes: [Int]! + """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + A list of edges which contains the \`Int\` and cursor to aid in pagination. """ - clientMutationId: String + edges: [FuncReturnsTableOneColEdge!]! + + """The count of *all* \`Int\` you could get from the connection.""" + totalCount: Int! } -"""The output of our \`mutationIntervalArray\` mutation.""" -type MutationIntervalArrayPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - intervals: [Interval] +"""A \`Int\` edge in the connection.""" +type FuncReturnsTableOneColEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The \`Int\` at the end of the edge.""" + node: Int } -"""All input for the \`mutationIntervalSet\` mutation.""" -input MutationIntervalSetInput { +"""A connection to a list of \`Int\` values.""" +type IntSetQueryConnection { + """A list of \`Int\` objects.""" + nodes: [Int]! + """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + A list of edges which contains the \`Int\` and cursor to aid in pagination. """ - clientMutationId: String + edges: [IntSetQueryEdge!]! + + """The count of *all* \`Int\` you could get from the connection.""" + totalCount: Int! } -"""The output of our \`mutationIntervalSet\` mutation.""" -type MutationIntervalSetPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - intervals: [Interval] +"""A \`Int\` edge in the connection.""" +type IntSetQueryEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query + """The \`Int\` at the end of the edge.""" + node: Int +} + +"""The return type of our \`queryOutputTwoRows\` query.""" +type QueryOutputTwoRowsRecord { + txt: String + leftArm: LeftArm + post: Post +} + +"""The return type of our \`searchTestSummaries\` query.""" +type SearchTestSummariesRecord { + id: Int + totalDuration: Interval +} + +"""A range of \`Float\`.""" +input FloatRangeInput { + """The starting bound of our range.""" + start: FloatRangeBoundInput + + """The ending bound of our range.""" + end: FloatRangeBoundInput +} + +""" +The value at one end of a range. A range can either include this value, or not. +""" +input FloatRangeBoundInput { + """The value at one end of our range.""" + value: Float! + + """Whether or not the value of this bound is included in the range.""" + inclusive: Boolean! } -"""All input for the \`mutationOutComplex\` mutation.""" -input MutationOutComplexInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - a: Int - b: String -} +""" +The root mutation type which contains root level fields which mutate data. +""" +type Mutation { + """Creates a single \`DefaultValue\`.""" + createDefaultValue( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateDefaultValueInput! + ): CreateDefaultValuePayload + + """Creates a single \`ForeignKey\`.""" + createForeignKey( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateForeignKeyInput! + ): CreateForeignKeyPayload + + """Creates a single \`Input\`.""" + createInput( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateInputInput! + ): CreateInputPayload + + """Creates a single \`NoPrimaryKey\`.""" + createNoPrimaryKey( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateNoPrimaryKeyInput! + ): CreateNoPrimaryKeyPayload + + """Creates a single \`Patch\`.""" + createPatch( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePatchInput! + ): CreatePatchPayload + + """Creates a single \`Post\`.""" + createPost( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePostInput! + ): CreatePostPayload + + """Creates a single \`Reserved\`.""" + createReserved( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateReservedInput! + ): CreateReservedPayload + + """Creates a single \`ReservedPatchRecord\`.""" + createReservedPatchRecord( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateReservedPatchRecordInput! + ): CreateReservedPatchRecordPayload + + """Creates a single \`ReservedInputRecord\`.""" + createReservedInputRecord( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateReservedInputRecordInput! + ): CreateReservedInputRecordPayload -"""The output of our \`mutationOutComplex\` mutation.""" -type MutationOutComplexPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - result: MutationOutComplexRecord + """Creates a single \`SimilarTable1\`.""" + createSimilarTable1( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSimilarTable1Input! + ): CreateSimilarTable1Payload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Creates a single \`SimilarTable2\`.""" + createSimilarTable2( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSimilarTable2Input! + ): CreateSimilarTable2Payload -"""The return type of our \`mutationOutComplex\` mutation.""" -type MutationOutComplexRecord { - x: Int - y: CompoundType - z: Person -} + """Creates a single \`Testview\`.""" + createTestview( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateTestviewInput! + ): CreateTestviewPayload -"""All input for the \`mutationOutComplexSetof\` mutation.""" -input MutationOutComplexSetofInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - a: Int - b: String -} + """Creates a single \`ViewTable\`.""" + createViewTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateViewTableInput! + ): CreateViewTablePayload -"""The output of our \`mutationOutComplexSetof\` mutation.""" -type MutationOutComplexSetofPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - results: [MutationOutComplexSetofRecord] + """Creates a single \`Type\`.""" + createType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateTypeInput! + ): CreateTypePayload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Creates a single \`UpdatableView\`.""" + createUpdatableView( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateUpdatableViewInput! + ): CreateUpdatableViewPayload -"""The return type of our \`mutationOutComplexSetof\` mutation.""" -type MutationOutComplexSetofRecord { - x: Int - y: CompoundType - z: Person -} + """Creates a single \`CompoundKey\`.""" + createCompoundKey( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateCompoundKeyInput! + ): CreateCompoundKeyPayload -"""All input for the \`mutationOut\` mutation.""" -input MutationOutInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Creates a single \`EdgeCase\`.""" + createEdgeCase( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateEdgeCaseInput! + ): CreateEdgeCasePayload -"""All input for the \`mutationOutOutCompoundType\` mutation.""" -input MutationOutOutCompoundTypeInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - i1: Int -} + """Creates a single \`Issue756\`.""" + createIssue756( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateIssue756Input! + ): CreateIssue756Payload -"""The output of our \`mutationOutOutCompoundType\` mutation.""" -type MutationOutOutCompoundTypePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - result: MutationOutOutCompoundTypeRecord + """Creates a single \`LeftArm\`.""" + createLeftArm( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateLeftArmInput! + ): CreateLeftArmPayload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Creates a single \`MyTable\`.""" + createMyTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateMyTableInput! + ): CreateMyTablePayload -"""The return type of our \`mutationOutOutCompoundType\` mutation.""" -type MutationOutOutCompoundTypeRecord { - o1: Int - o2: CompoundType -} + """Creates a single \`NullTestRecord\`.""" + createNullTestRecord( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateNullTestRecordInput! + ): CreateNullTestRecordPayload -"""All input for the \`mutationOutOut\` mutation.""" -input MutationOutOutInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Creates a single \`Person\`.""" + createPerson( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePersonInput! + ): CreatePersonPayload -"""The output of our \`mutationOutOut\` mutation.""" -type MutationOutOutPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - result: MutationOutOutRecord + """Creates a single \`PersonSecret\`.""" + createPersonSecret( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreatePersonSecretInput! + ): CreatePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") """ - Our root query field type. Allows us to run any query from our mutation payload. + Updates a single \`DefaultValue\` using its globally unique id and a patch. """ - query: Query -} + updateDefaultValue( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDefaultValueInput! + ): UpdateDefaultValuePayload -"""The return type of our \`mutationOutOut\` mutation.""" -type MutationOutOutRecord { - firstOut: Int - secondOut: String -} + """Updates a single \`DefaultValue\` using a unique key and a patch.""" + updateDefaultValueById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDefaultValueByIdInput! + ): UpdateDefaultValuePayload -"""All input for the \`mutationOutOutSetof\` mutation.""" -input MutationOutOutSetofInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Updates a single \`Input\` using its globally unique id and a patch.""" + updateInput( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateInputInput! + ): UpdateInputPayload -"""The output of our \`mutationOutOutSetof\` mutation.""" -type MutationOutOutSetofPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - results: [MutationOutOutSetofRecord] + """Updates a single \`Input\` using a unique key and a patch.""" + updateInputById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateInputByIdInput! + ): UpdateInputPayload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Updates a single \`NoPrimaryKey\` using a unique key and a patch.""" + updateNoPrimaryKeyById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateNoPrimaryKeyByIdInput! + ): UpdateNoPrimaryKeyPayload -"""The return type of our \`mutationOutOutSetof\` mutation.""" -type MutationOutOutSetofRecord { - o1: Int - o2: String -} + """Updates a single \`Patch\` using its globally unique id and a patch.""" + updatePatch( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePatchInput! + ): UpdatePatchPayload -"""All input for the \`mutationOutOutUnnamed\` mutation.""" -input MutationOutOutUnnamedInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Updates a single \`Patch\` using a unique key and a patch.""" + updatePatchById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePatchByIdInput! + ): UpdatePatchPayload -"""The output of our \`mutationOutOutUnnamed\` mutation.""" -type MutationOutOutUnnamedPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - result: MutationOutOutUnnamedRecord + """Updates a single \`Post\` using its globally unique id and a patch.""" + updatePost( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePostInput! + ): UpdatePostPayload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Updates a single \`Post\` using a unique key and a patch.""" + updatePostById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePostByIdInput! + ): UpdatePostPayload -"""The return type of our \`mutationOutOutUnnamed\` mutation.""" -type MutationOutOutUnnamedRecord { - arg1: Int - arg2: String -} + """Updates a single \`Reserved\` using its globally unique id and a patch.""" + updateReserved( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateReservedInput! + ): UpdateReservedPayload -"""The output of our \`mutationOut\` mutation.""" -type MutationOutPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - o: Int + """Updates a single \`Reserved\` using a unique key and a patch.""" + updateReservedById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateReservedByIdInput! + ): UpdateReservedPayload """ - Our root query field type. Allows us to run any query from our mutation payload. + Updates a single \`ReservedPatchRecord\` using its globally unique id and a patch. """ - query: Query -} + updateReservedPatchRecord( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateReservedPatchRecordInput! + ): UpdateReservedPatchRecordPayload -"""All input for the \`mutationOutSetof\` mutation.""" -input MutationOutSetofInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Updates a single \`ReservedPatchRecord\` using a unique key and a patch.""" + updateReservedPatchRecordById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateReservedPatchRecordByIdInput! + ): UpdateReservedPatchRecordPayload -"""The output of our \`mutationOutSetof\` mutation.""" -type MutationOutSetofPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + Updates a single \`ReservedInputRecord\` using its globally unique id and a patch. """ - clientMutationId: String - os: [Int] + updateReservedInputRecord( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateReservedInputRecordInput! + ): UpdateReservedInputRecordPayload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Updates a single \`ReservedInputRecord\` using a unique key and a patch.""" + updateReservedInputRecordById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateReservedInputRecordByIdInput! + ): UpdateReservedInputRecordPayload -"""All input for the \`mutationOutTable\` mutation.""" -input MutationOutTableInput { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + Updates a single \`SimilarTable1\` using its globally unique id and a patch. """ - clientMutationId: String -} + updateSimilarTable1( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSimilarTable1Input! + ): UpdateSimilarTable1Payload -"""The output of our \`mutationOutTable\` mutation.""" -type MutationOutTablePayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - person: Person + """Updates a single \`SimilarTable1\` using a unique key and a patch.""" + updateSimilarTable1ById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSimilarTable1ByIdInput! + ): UpdateSimilarTable1Payload """ - Our root query field type. Allows us to run any query from our mutation payload. + Updates a single \`SimilarTable2\` using its globally unique id and a patch. """ - query: Query + updateSimilarTable2( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSimilarTable2Input! + ): UpdateSimilarTable2Payload - """An edge for our \`Person\`. May be used by Relay 1.""" - personEdge( - """The method to use when ordering \`Person\`.""" - orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] - ): PeopleEdge -} + """Updates a single \`SimilarTable2\` using a unique key and a patch.""" + updateSimilarTable2ById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSimilarTable2ByIdInput! + ): UpdateSimilarTable2Payload -"""All input for the \`mutationOutTableSetof\` mutation.""" -input MutationOutTableSetofInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Updates a single \`ViewTable\` using its globally unique id and a patch.""" + updateViewTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateViewTableInput! + ): UpdateViewTablePayload -"""The output of our \`mutationOutTableSetof\` mutation.""" -type MutationOutTableSetofPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - people: [Person] + """Updates a single \`ViewTable\` using a unique key and a patch.""" + updateViewTableById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateViewTableByIdInput! + ): UpdateViewTablePayload + + """Updates a single \`Type\` using its globally unique id and a patch.""" + updateType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateTypeInput! + ): UpdateTypePayload + + """Updates a single \`Type\` using a unique key and a patch.""" + updateTypeById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateTypeByIdInput! + ): UpdateTypePayload """ - Our root query field type. Allows us to run any query from our mutation payload. + Updates a single \`CompoundKey\` using its globally unique id and a patch. """ - query: Query -} + updateCompoundKey( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateCompoundKeyInput! + ): UpdateCompoundKeyPayload -"""All input for the \`mutationOutUnnamed\` mutation.""" -input MutationOutUnnamedInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Updates a single \`CompoundKey\` using a unique key and a patch.""" + updateCompoundKeyByPersonId1AndPersonId2( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateCompoundKeyByPersonId1AndPersonId2Input! + ): UpdateCompoundKeyPayload -"""All input for the \`mutationOutUnnamedOutOutUnnamed\` mutation.""" -input MutationOutUnnamedOutOutUnnamedInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Updates a single \`Issue756\` using its globally unique id and a patch.""" + updateIssue756( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateIssue756Input! + ): UpdateIssue756Payload -"""The output of our \`mutationOutUnnamedOutOutUnnamed\` mutation.""" -type MutationOutUnnamedOutOutUnnamedPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - result: MutationOutUnnamedOutOutUnnamedRecord + """Updates a single \`Issue756\` using a unique key and a patch.""" + updateIssue756ById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateIssue756ByIdInput! + ): UpdateIssue756Payload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Updates a single \`LeftArm\` using its globally unique id and a patch.""" + updateLeftArm( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateLeftArmInput! + ): UpdateLeftArmPayload -"""The return type of our \`mutationOutUnnamedOutOutUnnamed\` mutation.""" -type MutationOutUnnamedOutOutUnnamedRecord { - arg1: Int - o2: String - arg3: Int -} + """Updates a single \`LeftArm\` using a unique key and a patch.""" + updateLeftArmById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateLeftArmByIdInput! + ): UpdateLeftArmPayload -"""The output of our \`mutationOutUnnamed\` mutation.""" -type MutationOutUnnamedPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integer: Int + """Updates a single \`LeftArm\` using a unique key and a patch.""" + updateLeftArmByPersonId( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateLeftArmByPersonIdInput! + ): UpdateLeftArmPayload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Updates a single \`MyTable\` using its globally unique id and a patch.""" + updateMyTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateMyTableInput! + ): UpdateMyTablePayload -"""All input for the \`mutationReturnsTableMultiCol\` mutation.""" -input MutationReturnsTableMultiColInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - i: Int -} + """Updates a single \`MyTable\` using a unique key and a patch.""" + updateMyTableById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateMyTableByIdInput! + ): UpdateMyTablePayload -"""The output of our \`mutationReturnsTableMultiCol\` mutation.""" -type MutationReturnsTableMultiColPayload { """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. + Updates a single \`NullTestRecord\` using its globally unique id and a patch. """ - clientMutationId: String - results: [MutationReturnsTableMultiColRecord] + updateNullTestRecord( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateNullTestRecordInput! + ): UpdateNullTestRecordPayload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Updates a single \`NullTestRecord\` using a unique key and a patch.""" + updateNullTestRecordById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateNullTestRecordByIdInput! + ): UpdateNullTestRecordPayload -"""The return type of our \`mutationReturnsTableMultiCol\` mutation.""" -type MutationReturnsTableMultiColRecord { - col1: Int - col2: String -} + """Updates a single \`Person\` using its globally unique id and a patch.""" + updatePerson( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePersonInput! + ): UpdatePersonPayload -"""All input for the \`mutationReturnsTableOneCol\` mutation.""" -input MutationReturnsTableOneColInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - i: Int -} + """Updates a single \`Person\` using a unique key and a patch.""" + updatePersonById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePersonByIdInput! + ): UpdatePersonPayload -"""The output of our \`mutationReturnsTableOneCol\` mutation.""" -type MutationReturnsTableOneColPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - col1S: [Int] + """Updates a single \`Person\` using a unique key and a patch.""" + updatePersonByEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePersonByEmailInput! + ): UpdatePersonPayload """ - Our root query field type. Allows us to run any query from our mutation payload. + Updates a single \`PersonSecret\` using its globally unique id and a patch. """ - query: Query -} + updatePersonSecret( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePersonSecretInput! + ): UpdatePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") -"""All input for the \`mutationTextArray\` mutation.""" -input MutationTextArrayInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Updates a single \`PersonSecret\` using a unique key and a patch.""" + updatePersonSecretByPersonId( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdatePersonSecretByPersonIdInput! + ): UpdatePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") -"""The output of our \`mutationTextArray\` mutation.""" -type MutationTextArrayPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - strings: [String] + """Deletes a single \`DefaultValue\` using its globally unique id.""" + deleteDefaultValue( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDefaultValueInput! + ): DeleteDefaultValuePayload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Deletes a single \`DefaultValue\` using a unique key.""" + deleteDefaultValueById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDefaultValueByIdInput! + ): DeleteDefaultValuePayload + + """Deletes a single \`Input\` using its globally unique id.""" + deleteInput( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteInputInput! + ): DeleteInputPayload + + """Deletes a single \`Input\` using a unique key.""" + deleteInputById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteInputByIdInput! + ): DeleteInputPayload -type MyTable implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - jsonData: JSON -} + """Deletes a single \`NoPrimaryKey\` using a unique key.""" + deleteNoPrimaryKeyById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteNoPrimaryKeyByIdInput! + ): DeleteNoPrimaryKeyPayload -""" -A condition to be used against \`MyTable\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input MyTableCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int + """Deletes a single \`Patch\` using its globally unique id.""" + deletePatch( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePatchInput! + ): DeletePatchPayload - """Checks for equality with the object’s \`jsonData\` field.""" - jsonData: JSON -} + """Deletes a single \`Patch\` using a unique key.""" + deletePatchById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePatchByIdInput! + ): DeletePatchPayload -"""An input for mutations affecting \`MyTable\`""" -input MyTableInput { - id: Int - jsonData: JSON -} + """Deletes a single \`Post\` using its globally unique id.""" + deletePost( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePostInput! + ): DeletePostPayload -""" -Represents an update to a \`MyTable\`. Fields that are set will be updated. -""" -input MyTablePatch { - id: Int - jsonData: JSON -} + """Deletes a single \`Post\` using a unique key.""" + deletePostById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePostByIdInput! + ): DeletePostPayload -"""A connection to a list of \`MyTable\` values.""" -type MyTablesConnection { - """A list of \`MyTable\` objects.""" - nodes: [MyTable]! + """Deletes a single \`Reserved\` using its globally unique id.""" + deleteReserved( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteReservedInput! + ): DeleteReservedPayload - """ - A list of edges which contains the \`MyTable\` and cursor to aid in pagination. - """ - edges: [MyTablesEdge!]! + """Deletes a single \`Reserved\` using a unique key.""" + deleteReservedById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteReservedByIdInput! + ): DeleteReservedPayload - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Deletes a single \`ReservedPatchRecord\` using its globally unique id.""" + deleteReservedPatchRecord( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteReservedPatchRecordInput! + ): DeleteReservedPatchRecordPayload - """The count of *all* \`MyTable\` you could get from the connection.""" - totalCount: Int! -} + """Deletes a single \`ReservedPatchRecord\` using a unique key.""" + deleteReservedPatchRecordById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteReservedPatchRecordByIdInput! + ): DeleteReservedPatchRecordPayload -"""A \`MyTable\` edge in the connection.""" -type MyTablesEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Deletes a single \`ReservedInputRecord\` using its globally unique id.""" + deleteReservedInputRecord( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteReservedInputRecordInput! + ): DeleteReservedInputRecordPayload - """The \`MyTable\` at the end of the edge.""" - node: MyTable -} + """Deletes a single \`ReservedInputRecord\` using a unique key.""" + deleteReservedInputRecordById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteReservedInputRecordByIdInput! + ): DeleteReservedInputRecordPayload -"""Methods to use when ordering \`MyTable\`.""" -enum MyTablesOrderBy { - NATURAL - ID_ASC - ID_DESC - JSON_DATA_ASC - JSON_DATA_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} + """Deletes a single \`SimilarTable1\` using its globally unique id.""" + deleteSimilarTable1( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSimilarTable1Input! + ): DeleteSimilarTable1Payload -type NestedCompoundType { - a: CompoundType - b: CompoundType - bazBuz: Int -} + """Deletes a single \`SimilarTable1\` using a unique key.""" + deleteSimilarTable1ById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSimilarTable1ByIdInput! + ): DeleteSimilarTable1Payload -"""An input for mutations affecting \`NestedCompoundType\`""" -input NestedCompoundTypeInput { - a: CompoundTypeInput - b: CompoundTypeInput - bazBuz: Int -} + """Deletes a single \`SimilarTable2\` using its globally unique id.""" + deleteSimilarTable2( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSimilarTable2Input! + ): DeleteSimilarTable2Payload -"""All input for the \`noArgsMutation\` mutation.""" -input NoArgsMutationInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String -} + """Deletes a single \`SimilarTable2\` using a unique key.""" + deleteSimilarTable2ById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSimilarTable2ByIdInput! + ): DeleteSimilarTable2Payload -"""The output of our \`noArgsMutation\` mutation.""" -type NoArgsMutationPayload { - """ - The exact same \`clientMutationId\` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - integer: Int + """Deletes a single \`ViewTable\` using its globally unique id.""" + deleteViewTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteViewTableInput! + ): DeleteViewTablePayload - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query -} + """Deletes a single \`ViewTable\` using a unique key.""" + deleteViewTableById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteViewTableByIdInput! + ): DeleteViewTablePayload -"""An object with a globally unique \`ID\`.""" -interface Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! -} + """Deletes a single \`Type\` using its globally unique id.""" + deleteType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteTypeInput! + ): DeleteTypePayload -type NonUpdatableView { - column: Int -} + """Deletes a single \`Type\` using a unique key.""" + deleteTypeById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteTypeByIdInput! + ): DeleteTypePayload -""" -A condition to be used against \`NonUpdatableView\` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input NonUpdatableViewCondition { - """Checks for equality with the object’s \`column\` field.""" - column: Int -} + """Deletes a single \`CompoundKey\` using its globally unique id.""" + deleteCompoundKey( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteCompoundKeyInput! + ): DeleteCompoundKeyPayload -"""A connection to a list of \`NonUpdatableView\` values.""" -type NonUpdatableViewsConnection { - """A list of \`NonUpdatableView\` objects.""" - nodes: [NonUpdatableView]! + """Deletes a single \`CompoundKey\` using a unique key.""" + deleteCompoundKeyByPersonId1AndPersonId2( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteCompoundKeyByPersonId1AndPersonId2Input! + ): DeleteCompoundKeyPayload - """ - A list of edges which contains the \`NonUpdatableView\` and cursor to aid in pagination. - """ - edges: [NonUpdatableViewsEdge!]! + """Deletes a single \`Issue756\` using its globally unique id.""" + deleteIssue756( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteIssue756Input! + ): DeleteIssue756Payload - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Deletes a single \`Issue756\` using a unique key.""" + deleteIssue756ById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteIssue756ByIdInput! + ): DeleteIssue756Payload - """ - The count of *all* \`NonUpdatableView\` you could get from the connection. - """ - totalCount: Int! -} + """Deletes a single \`LeftArm\` using its globally unique id.""" + deleteLeftArm( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteLeftArmInput! + ): DeleteLeftArmPayload -"""A \`NonUpdatableView\` edge in the connection.""" -type NonUpdatableViewsEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Deletes a single \`LeftArm\` using a unique key.""" + deleteLeftArmById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteLeftArmByIdInput! + ): DeleteLeftArmPayload - """The \`NonUpdatableView\` at the end of the edge.""" - node: NonUpdatableView -} + """Deletes a single \`LeftArm\` using a unique key.""" + deleteLeftArmByPersonId( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteLeftArmByPersonIdInput! + ): DeleteLeftArmPayload -"""Methods to use when ordering \`NonUpdatableView\`.""" -enum NonUpdatableViewsOrderBy { - NATURAL - COLUMN_ASC - COLUMN_DESC -} + """Deletes a single \`MyTable\` using its globally unique id.""" + deleteMyTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteMyTableInput! + ): DeleteMyTablePayload -type NoPrimaryKey { - id: Int! - str: String! -} + """Deletes a single \`MyTable\` using a unique key.""" + deleteMyTableById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteMyTableByIdInput! + ): DeleteMyTablePayload -""" -A condition to be used against \`NoPrimaryKey\` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input NoPrimaryKeyCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int + """Deletes a single \`NullTestRecord\` using its globally unique id.""" + deleteNullTestRecord( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteNullTestRecordInput! + ): DeleteNullTestRecordPayload - """Checks for equality with the object’s \`str\` field.""" - str: String -} + """Deletes a single \`NullTestRecord\` using a unique key.""" + deleteNullTestRecordById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteNullTestRecordByIdInput! + ): DeleteNullTestRecordPayload -"""An input for mutations affecting \`NoPrimaryKey\`""" -input NoPrimaryKeyInput { - id: Int! - str: String! -} + """Deletes a single \`Person\` using its globally unique id.""" + deletePerson( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePersonInput! + ): DeletePersonPayload -""" -Represents an update to a \`NoPrimaryKey\`. Fields that are set will be updated. -""" -input NoPrimaryKeyPatch { - id: Int - str: String -} + """Deletes a single \`Person\` using a unique key.""" + deletePersonById( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePersonByIdInput! + ): DeletePersonPayload -"""A connection to a list of \`NoPrimaryKey\` values.""" -type NoPrimaryKeysConnection { - """A list of \`NoPrimaryKey\` objects.""" - nodes: [NoPrimaryKey]! + """Deletes a single \`Person\` using a unique key.""" + deletePersonByEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePersonByEmailInput! + ): DeletePersonPayload - """ - A list of edges which contains the \`NoPrimaryKey\` and cursor to aid in pagination. - """ - edges: [NoPrimaryKeysEdge!]! + """Deletes a single \`PersonSecret\` using its globally unique id.""" + deletePersonSecret( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePersonSecretInput! + ): DeletePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Deletes a single \`PersonSecret\` using a unique key.""" + deletePersonSecretByPersonId( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeletePersonSecretByPersonIdInput! + ): DeletePersonSecretPayload @deprecated(reason: "This is deprecated (comment on table c.person_secret).") - """The count of *all* \`NoPrimaryKey\` you could get from the connection.""" - totalCount: Int! -} + """lol, add some stuff 1 mutation""" + add1Mutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Add1MutationInput! + ): Add1MutationPayload -"""A \`NoPrimaryKey\` edge in the connection.""" -type NoPrimaryKeysEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """lol, add some stuff 2 mutation""" + add2Mutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Add2MutationInput! + ): Add2MutationPayload - """The \`NoPrimaryKey\` at the end of the edge.""" - node: NoPrimaryKey -} + """lol, add some stuff 3 mutation""" + add3Mutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Add3MutationInput! + ): Add3MutationPayload -"""Methods to use when ordering \`NoPrimaryKey\`.""" -enum NoPrimaryKeysOrderBy { - NATURAL - ID_ASC - ID_DESC - STR_ASC - STR_DESC + """lol, add some stuff 4 mutation""" + add4Mutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Add4MutationInput! + ): Add4MutationPayload + add4MutationError( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Add4MutationErrorInput! + ): Add4MutationErrorPayload + mutationCompoundTypeArray( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationCompoundTypeArrayInput! + ): MutationCompoundTypeArrayPayload + mutationIntervalArray( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationIntervalArrayInput! + ): MutationIntervalArrayPayload + mutationIntervalSet( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationIntervalSetInput! + ): MutationIntervalSetPayload + mutationTextArray( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationTextArrayInput! + ): MutationTextArrayPayload + postMany( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: PostManyInput! + ): PostManyPayload + postWithSuffix( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: PostWithSuffixInput! + ): PostWithSuffixPayload @deprecated(reason: "This is deprecated (comment on function a.post_with_suffix).") + returnVoidMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: ReturnVoidMutationInput! + ): ReturnVoidMutationPayload + authenticate( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: AuthenticateInput! + ): AuthenticatePayload + authenticateFail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: AuthenticateFailInput! + ): AuthenticateFailPayload + authenticateMany( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: AuthenticateManyInput! + ): AuthenticateManyPayload + authenticatePayload( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: AuthenticatePayloadInput! + ): AuthenticatePayloadPayload + compoundTypeArrayMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CompoundTypeArrayMutationInput! + ): CompoundTypeArrayMutationPayload + compoundTypeMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CompoundTypeMutationInput! + ): CompoundTypeMutationPayload + compoundTypeSetMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CompoundTypeSetMutationInput! + ): CompoundTypeSetMutationPayload + guidFn( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: GuidFnInput! + ): GuidFnPayload + mult1( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Mult1Input! + ): Mult1Payload + mult2( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Mult2Input! + ): Mult2Payload + mult3( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Mult3Input! + ): Mult3Payload + mult4( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Mult4Input! + ): Mult4Payload + typeFunctionConnectionMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: TypeFunctionConnectionMutationInput! + ): TypeFunctionConnectionMutationPayload + typeFunctionListMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: TypeFunctionListMutationInput! + ): TypeFunctionListMutationPayload + typeFunctionMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: TypeFunctionMutationInput! + ): TypeFunctionMutationPayload + intSetMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: IntSetMutationInput! + ): IntSetMutationPayload + issue756Mutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Issue756MutationInput! + ): Issue756MutationPayload + issue756SetMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: Issue756SetMutationInput! + ): Issue756SetMutationPayload + jsonIdentityMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: JsonIdentityMutationInput! + ): JsonIdentityMutationPayload + jsonbIdentityMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: JsonbIdentityMutationInput! + ): JsonbIdentityMutationPayload + jsonbIdentityMutationPlpgsql( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: JsonbIdentityMutationPlpgsqlInput! + ): JsonbIdentityMutationPlpgsqlPayload + jsonbIdentityMutationPlpgsqlWithDefault( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: JsonbIdentityMutationPlpgsqlWithDefaultInput! + ): JsonbIdentityMutationPlpgsqlWithDefaultPayload + leftArmIdentity( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: LeftArmIdentityInput! + ): LeftArmIdentityPayload + mutationInInout( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationInInoutInput! + ): MutationInInoutPayload + mutationInOut( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationInOutInput! + ): MutationInOutPayload + mutationOut( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutInput! + ): MutationOutPayload + mutationOutComplex( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutComplexInput! + ): MutationOutComplexPayload + mutationOutComplexSetof( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutComplexSetofInput! + ): MutationOutComplexSetofPayload + mutationOutOut( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutOutInput! + ): MutationOutOutPayload + mutationOutOutCompoundType( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutOutCompoundTypeInput! + ): MutationOutOutCompoundTypePayload + mutationOutOutSetof( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutOutSetofInput! + ): MutationOutOutSetofPayload + mutationOutOutUnnamed( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutOutUnnamedInput! + ): MutationOutOutUnnamedPayload + mutationOutSetof( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutSetofInput! + ): MutationOutSetofPayload + mutationOutTable( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutTableInput! + ): MutationOutTablePayload + mutationOutTableSetof( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutTableSetofInput! + ): MutationOutTableSetofPayload + mutationOutUnnamed( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutUnnamedInput! + ): MutationOutUnnamedPayload + mutationOutUnnamedOutOutUnnamed( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationOutUnnamedOutOutUnnamedInput! + ): MutationOutUnnamedOutOutUnnamedPayload + mutationReturnsTableMultiCol( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationReturnsTableMultiColInput! + ): MutationReturnsTableMultiColPayload + mutationReturnsTableOneCol( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: MutationReturnsTableOneColInput! + ): MutationReturnsTableOneColPayload + noArgsMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: NoArgsMutationInput! + ): NoArgsMutationPayload + tableMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: TableMutationInput! + ): TableMutationPayload + tableSetMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: TableSetMutationInput! + ): TableSetMutationPayload + typesMutation( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: TypesMutationInput! + ): TypesMutationPayload } -scalar NotNullTimestamp - -scalar NotNullUrl - -type NullTestRecord implements Node { +"""The output of our create \`DefaultValue\` mutation.""" +type CreateDefaultValuePayload { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - nodeId: ID! - id: Int! - nullableText: String - nullableInt: Int - nonNullText: String! -} - -""" -A condition to be used against \`NullTestRecord\` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input NullTestRecordCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`nullableText\` field.""" - nullableText: String - - """Checks for equality with the object’s \`nullableInt\` field.""" - nullableInt: Int - - """Checks for equality with the object’s \`nonNullText\` field.""" - nonNullText: String -} - -"""An input for mutations affecting \`NullTestRecord\`""" -input NullTestRecordInput { - id: Int - nullableText: String - nullableInt: Int - nonNullText: String! -} - -""" -Represents an update to a \`NullTestRecord\`. Fields that are set will be updated. -""" -input NullTestRecordPatch { - id: Int - nullableText: String - nullableInt: Int - nonNullText: String -} + clientMutationId: String -"""A connection to a list of \`NullTestRecord\` values.""" -type NullTestRecordsConnection { - """A list of \`NullTestRecord\` objects.""" - nodes: [NullTestRecord]! + """The \`DefaultValue\` that was created by this mutation.""" + defaultValue: DefaultValue """ - A list of edges which contains the \`NullTestRecord\` and cursor to aid in pagination. + Our root query field type. Allows us to run any query from our mutation payload. """ - edges: [NullTestRecordsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`NullTestRecord\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`NullTestRecord\` edge in the connection.""" -type NullTestRecordsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`NullTestRecord\` at the end of the edge.""" - node: NullTestRecord -} - -"""Methods to use when ordering \`NullTestRecord\`.""" -enum NullTestRecordsOrderBy { - NATURAL - ID_ASC - ID_DESC - NULLABLE_TEXT_ASC - NULLABLE_TEXT_DESC - NULLABLE_INT_ASC - NULLABLE_INT_DESC - NON_NULL_TEXT_ASC - NON_NULL_TEXT_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} - -"""Information about pagination in a connection.""" -type PageInfo { - """When paginating forwards, are there more items?""" - hasNextPage: Boolean! - - """When paginating backwards, are there more items?""" - hasPreviousPage: Boolean! - - """When paginating backwards, the cursor to continue.""" - startCursor: Cursor + query: Query - """When paginating forwards, the cursor to continue.""" - endCursor: Cursor + """An edge for our \`DefaultValue\`. May be used by Relay 1.""" + defaultValueEdge( + """The method to use when ordering \`DefaultValue\`.""" + orderBy: [DefaultValuesOrderBy!] = [PRIMARY_KEY_ASC] + ): DefaultValuesEdge } -"""Should output as Patch""" -type Patch implements Node { +"""All input for the create \`DefaultValue\` mutation.""" +input CreateDefaultValueInput { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - nodeId: ID! - id: Int! + clientMutationId: String + + """The \`DefaultValue\` to be created by this mutation.""" + defaultValue: DefaultValueInput! } -""" -A condition to be used against \`Patch\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PatchCondition { - """Checks for equality with the object’s \`id\` field.""" +"""An input for mutations affecting \`DefaultValue\`""" +input DefaultValueInput { id: Int + nullValue: String } -"""A connection to a list of \`Patch\` values.""" -type PatchesConnection { - """A list of \`Patch\` objects.""" - nodes: [Patch]! - +"""The output of our create \`ForeignKey\` mutation.""" +type CreateForeignKeyPayload { """ - A list of edges which contains the \`Patch\` and cursor to aid in pagination. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - edges: [PatchesEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`Patch\` you could get from the connection.""" - totalCount: Int! -} + clientMutationId: String -"""A \`Patch\` edge in the connection.""" -type PatchesEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """The \`ForeignKey\` that was created by this mutation.""" + foreignKey: ForeignKey - """The \`Patch\` at the end of the edge.""" - node: Patch -} + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query -"""Methods to use when ordering \`Patch\`.""" -enum PatchesOrderBy { - NATURAL - ID_ASC - ID_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} + """Reads a single \`Person\` that is related to this \`ForeignKey\`.""" + personByPersonId: Person -"""An input for mutations affecting \`Patch\`""" -input PatchInput { - id: Int -} + """Reads a single \`CompoundKey\` that is related to this \`ForeignKey\`.""" + compoundKeyByCompoundKey1AndCompoundKey2: CompoundKey -""" -Represents an update to a \`Patch\`. Fields that are set will be updated. -""" -input PatchPatch { - id: Int + """An edge for our \`ForeignKey\`. May be used by Relay 1.""" + foreignKeyEdge( + """The method to use when ordering \`ForeignKey\`.""" + orderBy: [ForeignKeysOrderBy!] = [NATURAL] + ): ForeignKeysEdge } -"""A connection to a list of \`Person\` values.""" -type PeopleConnection { - """A list of \`Person\` objects.""" - nodes: [Person]! - +"""All input for the create \`ForeignKey\` mutation.""" +input CreateForeignKeyInput { """ - A list of edges which contains the \`Person\` and cursor to aid in pagination. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - edges: [PeopleEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`Person\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`Person\` edge in the connection.""" -type PeopleEdge { - """A cursor for use in pagination.""" - cursor: Cursor + clientMutationId: String - """The \`Person\` at the end of the edge.""" - node: Person + """The \`ForeignKey\` to be created by this mutation.""" + foreignKey: ForeignKeyInput! } -"""Methods to use when ordering \`Person\`.""" -enum PeopleOrderBy { - NATURAL - ID_ASC - ID_DESC - NAME_ASC - NAME_DESC - ALIASES_ASC - ALIASES_DESC - ABOUT_ASC - ABOUT_DESC - EMAIL_ASC - EMAIL_DESC - SITE_ASC - SITE_DESC - CONFIG_ASC - CONFIG_DESC - LAST_LOGIN_FROM_IP_ASC - LAST_LOGIN_FROM_IP_DESC - LAST_LOGIN_FROM_SUBNET_ASC - LAST_LOGIN_FROM_SUBNET_DESC - USER_MAC_ASC - USER_MAC_DESC - CREATED_AT_ASC - CREATED_AT_DESC - COMPUTED_OUT_ASC - COMPUTED_OUT_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +"""An input for mutations affecting \`ForeignKey\`""" +input ForeignKeyInput { + personId: Int + compoundKey1: Int + compoundKey2: Int } -"""Person test comment""" -type Person implements Node { +"""The output of our create \`Input\` mutation.""" +type CreateInputPayload { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - nodeId: ID! + clientMutationId: String - """The primary unique identifier for the person""" - id: Int! + """The \`Input\` that was created by this mutation.""" + input: Input - """The person’s name""" - name: String! - aliases: [String]! - about: String - email: Email! - site: WrappedUrl @deprecated(reason: "Don’t use me") - config: KeyValueHash - lastLoginFromIp: InternetAddress - lastLoginFromSubnet: String - userMac: String - createdAt: Datetime + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """This \`Person\`'s \`PersonSecret\`.""" - personSecretByPersonId: PersonSecret @deprecated(reason: "This is deprecated (comment on table c.person_secret).") + """An edge for our \`Input\`. May be used by Relay 1.""" + inputEdge( + """The method to use when ordering \`Input\`.""" + orderBy: [InputsOrderBy!] = [PRIMARY_KEY_ASC] + ): InputsEdge +} - """This \`Person\`'s \`PersonSecret\`.""" - personSecretsByPersonId( - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the create \`Input\` mutation.""" +input CreateInputInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """The \`Input\` to be created by this mutation.""" + input: InputInput! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""An input for mutations affecting \`Input\`""" +input InputInput { + id: Int +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""The output of our create \`NoPrimaryKey\` mutation.""" +type CreateNoPrimaryKeyPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor + """The \`NoPrimaryKey\` that was created by this mutation.""" + noPrimaryKey: NoPrimaryKey - """The method to use when ordering \`PersonSecret\`.""" - orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PersonSecretCondition - ): PersonSecretsConnection! @deprecated(reason: "This is deprecated (comment on table c.person_secret).") + """An edge for our \`NoPrimaryKey\`. May be used by Relay 1.""" + noPrimaryKeyEdge( + """The method to use when ordering \`NoPrimaryKey\`.""" + orderBy: [NoPrimaryKeysOrderBy!] = [NATURAL] + ): NoPrimaryKeysEdge +} - """Reads a single \`LeftArm\` that is related to this \`Person\`.""" - leftArmByPersonId: LeftArm +"""All input for the create \`NoPrimaryKey\` mutation.""" +input CreateNoPrimaryKeyInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Reads and enables pagination through a set of \`LeftArm\`.""" - leftArmsByPersonId( - """Only read the first \`n\` values of the set.""" - first: Int + """The \`NoPrimaryKey\` to be created by this mutation.""" + noPrimaryKey: NoPrimaryKeyInput! +} - """Only read the last \`n\` values of the set.""" - last: Int +"""An input for mutations affecting \`NoPrimaryKey\`""" +input NoPrimaryKeyInput { + id: Int! + str: String! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""The output of our create \`Patch\` mutation.""" +type CreatePatchPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set before (above) this cursor.""" - before: Cursor + """The \`Patch\` that was created by this mutation.""" + patch: Patch - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """The method to use when ordering \`LeftArm\`.""" - orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] + """An edge for our \`Patch\`. May be used by Relay 1.""" + patchEdge( + """The method to use when ordering \`Patch\`.""" + orderBy: [PatchesOrderBy!] = [PRIMARY_KEY_ASC] + ): PatchesEdge +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: LeftArmCondition - ): LeftArmsConnection! @deprecated(reason: "Please use leftArmByPersonId instead") +"""All input for the create \`Patch\` mutation.""" +input CreatePatchInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Reads and enables pagination through a set of \`Post\`.""" - postsByAuthorId( - """Only read the first \`n\` values of the set.""" - first: Int + """The \`Patch\` to be created by this mutation.""" + patch: PatchInput! +} - """Only read the last \`n\` values of the set.""" - last: Int +"""An input for mutations affecting \`Patch\`""" +input PatchInput { + id: Int +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""The output of our create \`Post\` mutation.""" +type CreatePostPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set before (above) this cursor.""" - before: Cursor + """The \`Post\` that was created by this mutation.""" + post: Post - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + """Reads a single \`Person\` that is related to this \`Post\`.""" + personByAuthorId: Person + + """An edge for our \`Post\`. May be used by Relay 1.""" + postEdge( """The method to use when ordering \`Post\`.""" orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] + ): PostsEdge +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PostCondition - ): PostsConnection! - - """Reads and enables pagination through a set of \`CompoundKey\`.""" - compoundKeysByPersonId2( - """Only read the first \`n\` values of the set.""" - first: Int - - """Only read the last \`n\` values of the set.""" - last: Int - - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the create \`Post\` mutation.""" +input CreatePostInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`CompoundKey\`.""" - orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] + """The \`Post\` to be created by this mutation.""" + post: PostInput! +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CompoundKeyCondition - ): CompoundKeysConnection! +"""An input for mutations affecting \`Post\`""" +input PostInput { + id: Int + headline: String! + body: String + authorId: Int + enums: [AnEnum] + comptypes: [ComptypeInput] +} - """Reads and enables pagination through a set of \`CompoundKey\`.""" - compoundKeysByPersonId1( - """Only read the first \`n\` values of the set.""" - first: Int +"""The output of our create \`Reserved\` mutation.""" +type CreateReservedPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """The \`Reserved\` that was created by this mutation.""" + reserved: Reserved - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set before (above) this cursor.""" - before: Cursor + """An edge for our \`Reserved\`. May be used by Relay 1.""" + reservedEdge( + """The method to use when ordering \`Reserved\`.""" + orderBy: [ReservedsOrderBy!] = [PRIMARY_KEY_ASC] + ): ReservedsEdge +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the create \`Reserved\` mutation.""" +input CreateReservedInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`CompoundKey\`.""" - orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] + """The \`Reserved\` to be created by this mutation.""" + reserved: ReservedInput! +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CompoundKeyCondition - ): CompoundKeysConnection! +"""An input for mutations affecting \`Reserved\`""" +input ReservedInput { + id: Int +} - """Reads and enables pagination through a set of \`ForeignKey\`.""" - foreignKeysByPersonId( - """Only read the first \`n\` values of the set.""" - first: Int +"""The output of our create \`ReservedPatchRecord\` mutation.""" +type CreateReservedPatchRecordPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """The \`ReservedPatchRecord\` that was created by this mutation.""" + reservedPatchRecord: ReservedPatchRecord - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set before (above) this cursor.""" - before: Cursor + """An edge for our \`ReservedPatchRecord\`. May be used by Relay 1.""" + reservedPatchRecordEdge( + """The method to use when ordering \`ReservedPatchRecord\`.""" + orderBy: [ReservedPatchRecordsOrderBy!] = [PRIMARY_KEY_ASC] + ): ReservedPatchRecordsEdge +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the create \`ReservedPatchRecord\` mutation.""" +input CreateReservedPatchRecordInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`ForeignKey\`.""" - orderBy: [ForeignKeysOrderBy!] = [NATURAL] + """The \`ReservedPatchRecord\` to be created by this mutation.""" + reservedPatchRecord: ReservedPatchRecordInput! +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ForeignKeyCondition - ): ForeignKeysConnection! - computedComplex(a: Int, b: String): PersonComputedComplexRecord - computedFirstArgInout: Person - computedFirstArgInoutOut: PersonComputedFirstArgInoutOutRecord - computedInout(ino: String): String - computedInoutOut(ino: String): PersonComputedInoutOutRecord - computedOut: String! - computedOutOut: PersonComputedOutOutRecord - exists(email: Email): Boolean @deprecated(reason: "This is deprecated (comment on function c.person_exists).") - firstName: String - firstPost: Post +"""An input for mutations affecting \`ReservedPatchRecord\`""" +input ReservedPatchRecordInput { + id: Int +} - """Reads and enables pagination through a set of \`Person\`.""" - friends( - """Only read the first \`n\` values of the set.""" - first: Int +"""The output of our create \`ReservedInputRecord\` mutation.""" +type CreateReservedInputRecordPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """The \`ReservedInputRecord\` that was created by this mutation.""" + reservedInputRecord: ReservedInputRecord - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set before (above) this cursor.""" - before: Cursor + """An edge for our \`ReservedInputRecord\`. May be used by Relay 1.""" + reservedInputRecordEdge( + """The method to use when ordering \`ReservedInputRecord\`.""" + orderBy: [ReservedInputRecordsOrderBy!] = [PRIMARY_KEY_ASC] + ): ReservedInputRecordsEdge +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the create \`ReservedInputRecord\` mutation.""" +input CreateReservedInputRecordInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`Person\`.""" - orderBy: [PeopleOrderBy!] - ): PeopleConnection! - typeFunction(id: Int): Type + """The \`ReservedInputRecord\` to be created by this mutation.""" + reservedInputRecord: ReservedInputRecordInput! +} - """Reads and enables pagination through a set of \`Type\`.""" - typeFunctionConnection( - """Only read the first \`n\` values of the set.""" - first: Int +"""An input for mutations affecting \`ReservedInputRecord\`""" +input ReservedInputRecordInput { + id: Int +} - """Only read the last \`n\` values of the set.""" - last: Int +"""The output of our create \`SimilarTable1\` mutation.""" +type CreateSimilarTable1Payload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """The \`SimilarTable1\` that was created by this mutation.""" + similarTable1: SimilarTable1 - """Read all values in the set before (above) this cursor.""" - before: Cursor + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): TypesConnection! - typeFunctionList: [Type] + """An edge for our \`SimilarTable1\`. May be used by Relay 1.""" + similarTable1Edge( + """The method to use when ordering \`SimilarTable1\`.""" + orderBy: [SimilarTable1SOrderBy!] = [PRIMARY_KEY_ASC] + ): SimilarTable1SEdge } -"""The return type of our \`computedComplex\` query.""" -type PersonComputedComplexRecord { - x: Int - y: CompoundType - z: Person +"""All input for the create \`SimilarTable1\` mutation.""" +input CreateSimilarTable1Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The \`SimilarTable1\` to be created by this mutation.""" + similarTable1: SimilarTable1Input! } -"""The return type of our \`computedFirstArgInoutOut\` query.""" -type PersonComputedFirstArgInoutOutRecord { - person: Person - o: Int +"""An input for mutations affecting \`SimilarTable1\`""" +input SimilarTable1Input { + id: Int + col1: Int + col2: Int + col3: Int! } -"""The return type of our \`computedInoutOut\` query.""" -type PersonComputedInoutOutRecord { - ino: String - o: String +"""The output of our create \`SimilarTable2\` mutation.""" +type CreateSimilarTable2Payload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The \`SimilarTable2\` that was created by this mutation.""" + similarTable2: SimilarTable2 + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our \`SimilarTable2\`. May be used by Relay 1.""" + similarTable2Edge( + """The method to use when ordering \`SimilarTable2\`.""" + orderBy: [SimilarTable2SOrderBy!] = [PRIMARY_KEY_ASC] + ): SimilarTable2SEdge } -"""The return type of our \`computedOutOut\` query.""" -type PersonComputedOutOutRecord { - o1: String - o2: String +"""All input for the create \`SimilarTable2\` mutation.""" +input CreateSimilarTable2Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The \`SimilarTable2\` to be created by this mutation.""" + similarTable2: SimilarTable2Input! } -""" -A condition to be used against \`Person\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PersonCondition { - """Checks for equality with the object’s \`id\` field.""" +"""An input for mutations affecting \`SimilarTable2\`""" +input SimilarTable2Input { id: Int + col3: Int! + col4: Int + col5: Int +} - """Checks for equality with the object’s \`name\` field.""" - name: String +"""The output of our create \`Testview\` mutation.""" +type CreateTestviewPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Checks for equality with the object’s \`aliases\` field.""" - aliases: [String] + """The \`Testview\` that was created by this mutation.""" + testview: Testview - """Checks for equality with the object’s \`about\` field.""" - about: String + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Checks for equality with the object’s \`email\` field.""" - email: Email + """An edge for our \`Testview\`. May be used by Relay 1.""" + testviewEdge( + """The method to use when ordering \`Testview\`.""" + orderBy: [TestviewsOrderBy!] = [NATURAL] + ): TestviewsEdge +} - """Checks for equality with the object’s \`site\` field.""" - site: WrappedUrlInput +"""All input for the create \`Testview\` mutation.""" +input CreateTestviewInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Checks for equality with the object’s \`config\` field.""" - config: KeyValueHash + """The \`Testview\` to be created by this mutation.""" + testview: TestviewInput! +} - """Checks for equality with the object’s \`lastLoginFromIp\` field.""" - lastLoginFromIp: InternetAddress +"""An input for mutations affecting \`Testview\`""" +input TestviewInput { + testviewid: Int + col1: Int + col2: Int +} - """Checks for equality with the object’s \`lastLoginFromSubnet\` field.""" - lastLoginFromSubnet: String +"""The output of our create \`ViewTable\` mutation.""" +type CreateViewTablePayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Checks for equality with the object’s \`userMac\` field.""" - userMac: String + """The \`ViewTable\` that was created by this mutation.""" + viewTable: ViewTable - """Checks for equality with the object’s \`createdAt\` field.""" - createdAt: Datetime + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Checks for equality with the object’s \`computedOut\` field.""" - computedOut: String + """An edge for our \`ViewTable\`. May be used by Relay 1.""" + viewTableEdge( + """The method to use when ordering \`ViewTable\`.""" + orderBy: [ViewTablesOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewTablesEdge } -"""An input for mutations affecting \`Person\`""" -input PersonInput { - """The primary unique identifier for the person""" - id: Int +"""All input for the create \`ViewTable\` mutation.""" +input CreateViewTableInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The person’s name""" - name: String! - aliases: [String] - about: String - email: Email! - site: WrappedUrlInput - config: KeyValueHash - lastLoginFromIp: InternetAddress - lastLoginFromSubnet: String - userMac: String - createdAt: Datetime + """The \`ViewTable\` to be created by this mutation.""" + viewTable: ViewTableInput! } -""" -Represents an update to a \`Person\`. Fields that are set will be updated. -""" -input PersonPatch { - """The primary unique identifier for the person""" +"""An input for mutations affecting \`ViewTable\`""" +input ViewTableInput { id: Int - - """The person’s name""" - name: String - aliases: [String] - about: String - email: Email - site: WrappedUrlInput - config: KeyValueHash - lastLoginFromIp: InternetAddress - lastLoginFromSubnet: String - userMac: String - createdAt: Datetime + col1: Int + col2: Int } -"""Tracks the person's secret""" -type PersonSecret implements Node { +"""The output of our create \`Type\` mutation.""" +type CreateTypePayload { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - nodeId: ID! - personId: Int! + clientMutationId: String - """A secret held by the associated Person""" - secret: String + """The \`Type\` that was created by this mutation.""" + type: Type - """The \`Person\` this \`PersonSecret\` belongs to.""" - personByPersonId: Person -} + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query -""" -A condition to be used against \`PersonSecret\` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input PersonSecretCondition { - """Checks for equality with the object’s \`personId\` field.""" - personId: Int + """Reads a single \`Post\` that is related to this \`Type\`.""" + postBySmallint: Post - """Checks for equality with the object’s \`secret\` field.""" - secret: String + """Reads a single \`Post\` that is related to this \`Type\`.""" + postById: Post + + """An edge for our \`Type\`. May be used by Relay 1.""" + typeEdge( + """The method to use when ordering \`Type\`.""" + orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] + ): TypesEdge } -"""An input for mutations affecting \`PersonSecret\`""" -input PersonSecretInput { - personId: Int! +"""All input for the create \`Type\` mutation.""" +input CreateTypeInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """A secret held by the associated Person""" - secret: String + """The \`Type\` to be created by this mutation.""" + type: TypeInput! } -""" -Represents an update to a \`PersonSecret\`. Fields that are set will be updated. -""" -input PersonSecretPatch { - personId: Int - - """A secret held by the associated Person""" - secret: String +"""An input for mutations affecting \`Type\`""" +input TypeInput { + id: Int + smallint: Int! + bigint: BigInt! + numeric: BigFloat! + decimal: BigFloat! + boolean: Boolean! + varchar: String! + enum: Color! + enumArray: [Color]! + domain: AnInt! + domain2: AnotherInt! + textArray: [String]! + json: JSON! + jsonb: JSON! + nullableRange: BigFloatRangeInput + numrange: BigFloatRangeInput! + daterange: DateRangeInput! + anIntRange: AnIntRangeInput! + timestamp: Datetime! + timestamptz: Datetime! + date: Date! + time: Time! + timetz: Time! + interval: IntervalInput! + intervalArray: [IntervalInput]! + money: Float! + compoundType: CompoundTypeInput! + nestedCompoundType: NestedCompoundTypeInput! + nullableCompoundType: CompoundTypeInput + nullableNestedCompoundType: NestedCompoundTypeInput + point: PointInput! + nullablePoint: PointInput + inet: InternetAddress + cidr: String + macaddr: String + regproc: RegProc + regprocedure: RegProcedure + regoper: RegOper + regoperator: RegOperator + regclass: RegClass + regtype: RegType + regconfig: RegConfig + regdictionary: RegDictionary + textArrayDomain: [String] + int8ArrayDomain: [BigInt] } -"""A connection to a list of \`PersonSecret\` values.""" -type PersonSecretsConnection { - """A list of \`PersonSecret\` objects.""" - nodes: [PersonSecret]! +"""The output of our create \`UpdatableView\` mutation.""" +type CreateUpdatableViewPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The \`UpdatableView\` that was created by this mutation.""" + updatableView: UpdatableView """ - A list of edges which contains the \`PersonSecret\` and cursor to aid in pagination. + Our root query field type. Allows us to run any query from our mutation payload. """ - edges: [PersonSecretsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! + query: Query - """The count of *all* \`PersonSecret\` you could get from the connection.""" - totalCount: Int! + """An edge for our \`UpdatableView\`. May be used by Relay 1.""" + updatableViewEdge( + """The method to use when ordering \`UpdatableView\`.""" + orderBy: [UpdatableViewsOrderBy!] = [NATURAL] + ): UpdatableViewsEdge } -"""A \`PersonSecret\` edge in the connection.""" -type PersonSecretsEdge { - """A cursor for use in pagination.""" - cursor: Cursor +"""All input for the create \`UpdatableView\` mutation.""" +input CreateUpdatableViewInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The \`PersonSecret\` at the end of the edge.""" - node: PersonSecret + """The \`UpdatableView\` to be created by this mutation.""" + updatableView: UpdatableViewInput! } -"""Methods to use when ordering \`PersonSecret\`.""" -enum PersonSecretsOrderBy { - NATURAL - PERSON_ID_ASC - PERSON_ID_DESC - SECRET_ASC - SECRET_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} +"""An input for mutations affecting \`UpdatableView\`""" +input UpdatableViewInput { + x: Int + name: String + description: String -type Point { - x: Float! - y: Float! + """This is constantly 2""" + constant: Int } -input PointInput { - x: Float! - y: Float! -} +"""The output of our create \`CompoundKey\` mutation.""" +type CreateCompoundKeyPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The \`CompoundKey\` that was created by this mutation.""" + compoundKey: CompoundKey -type Post implements Node { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! - id: Int! - headline: String! - body: String - authorId: Int - enums: [AnEnum] - comptypes: [Comptype] + query: Query - """Reads a single \`Person\` that is related to this \`Post\`.""" - personByAuthorId: Person + """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" + personByPersonId2: Person - """Reads and enables pagination through a set of \`Type\`.""" - typesBySmallint( - """Only read the first \`n\` values of the set.""" - first: Int + """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" + personByPersonId1: Person - """Only read the last \`n\` values of the set.""" - last: Int + """An edge for our \`CompoundKey\`. May be used by Relay 1.""" + compoundKeyEdge( + """The method to use when ordering \`CompoundKey\`.""" + orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] + ): CompoundKeysEdge +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""All input for the create \`CompoundKey\` mutation.""" +input CreateCompoundKeyInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set before (above) this cursor.""" - before: Cursor + """The \`CompoundKey\` to be created by this mutation.""" + compoundKey: CompoundKeyInput! +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""An input for mutations affecting \`CompoundKey\`""" +input CompoundKeyInput { + personId2: Int! + personId1: Int! + extra: Boolean +} - """The method to use when ordering \`Type\`.""" - orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] +"""The output of our create \`EdgeCase\` mutation.""" +type CreateEdgeCasePayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TypeCondition - ): TypesConnection! + """The \`EdgeCase\` that was created by this mutation.""" + edgeCase: EdgeCase - """Reads a single \`Type\` that is related to this \`Post\`.""" - typeById: Type + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Reads and enables pagination through a set of \`Type\`.""" - typesById( - """Only read the first \`n\` values of the set.""" - first: Int + """An edge for our \`EdgeCase\`. May be used by Relay 1.""" + edgeCaseEdge( + """The method to use when ordering \`EdgeCase\`.""" + orderBy: [EdgeCasesOrderBy!] = [NATURAL] + ): EdgeCasesEdge +} - """Only read the last \`n\` values of the set.""" - last: Int +"""All input for the create \`EdgeCase\` mutation.""" +input CreateEdgeCaseInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """The \`EdgeCase\` to be created by this mutation.""" + edgeCase: EdgeCaseInput! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""An input for mutations affecting \`EdgeCase\`""" +input EdgeCaseInput { + notNullHasDefault: Boolean + wontCastEasy: Int + rowId: Int +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""The output of our create \`Issue756\` mutation.""" +type CreateIssue756Payload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """The method to use when ordering \`Type\`.""" - orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] + """The \`Issue756\` that was created by this mutation.""" + issue756: Issue756 - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TypeCondition - ): TypesConnection! @deprecated(reason: "Please use typeById instead") - computedCompoundTypeArray(object: CompoundTypeInput): [CompoundType] - computedIntervalArray: [Interval] - computedIntervalSet( - """Only read the first \`n\` values of the set.""" - first: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Only read the last \`n\` values of the set.""" - last: Int + """An edge for our \`Issue756\`. May be used by Relay 1.""" + issue756Edge( + """The method to use when ordering \`Issue756\`.""" + orderBy: [Issue756SOrderBy!] = [PRIMARY_KEY_ASC] + ): Issue756SEdge +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""All input for the create \`Issue756\` mutation.""" +input CreateIssue756Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set before (above) this cursor.""" - before: Cursor + """The \`Issue756\` to be created by this mutation.""" + issue756: Issue756Input! +} - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): PostComputedIntervalSetConnection! - computedTextArray: [String] - computedWithOptionalArg(i: Int): Int - computedWithRequiredArg(i: Int!): Int - headlineTrimmed(length: Int, omission: String): String - headlineTrimmedNoDefaults(length: Int, omission: String): String - headlineTrimmedStrict(length: Int, omission: String): String +"""An input for mutations affecting \`Issue756\`""" +input Issue756Input { + id: Int + ts: NotNullTimestamp } -"""A connection to a list of \`Interval\` values.""" -type PostComputedIntervalSetConnection { - """A list of \`Interval\` objects.""" - nodes: [Interval]! +"""The output of our create \`LeftArm\` mutation.""" +type CreateLeftArmPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The \`LeftArm\` that was created by this mutation.""" + leftArm: LeftArm """ - A list of edges which contains the \`Interval\` and cursor to aid in pagination. + Our root query field type. Allows us to run any query from our mutation payload. """ - edges: [PostComputedIntervalSetEdge!]! + query: Query - """The count of *all* \`Interval\` you could get from the connection.""" - totalCount: Int! + """Reads a single \`Person\` that is related to this \`LeftArm\`.""" + personByPersonId: Person + + """An edge for our \`LeftArm\`. May be used by Relay 1.""" + leftArmEdge( + """The method to use when ordering \`LeftArm\`.""" + orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] + ): LeftArmsEdge } -"""A \`Interval\` edge in the connection.""" -type PostComputedIntervalSetEdge { - """A cursor for use in pagination.""" - cursor: Cursor +"""All input for the create \`LeftArm\` mutation.""" +input CreateLeftArmInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The \`Interval\` at the end of the edge.""" - node: Interval + """The \`LeftArm\` to be created by this mutation.""" + leftArm: LeftArmInput! } -""" -A condition to be used against \`Post\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input PostCondition { - """Checks for equality with the object’s \`id\` field.""" +"""An input for mutations affecting \`LeftArm\`""" +input LeftArmInput { id: Int + personId: Int + lengthInMetres: Float + mood: String +} - """Checks for equality with the object’s \`headline\` field.""" - headline: String +"""The output of our create \`MyTable\` mutation.""" +type CreateMyTablePayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Checks for equality with the object’s \`body\` field.""" - body: String + """The \`MyTable\` that was created by this mutation.""" + myTable: MyTable - """Checks for equality with the object’s \`authorId\` field.""" - authorId: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Checks for equality with the object’s \`enums\` field.""" - enums: [AnEnum] + """An edge for our \`MyTable\`. May be used by Relay 1.""" + myTableEdge( + """The method to use when ordering \`MyTable\`.""" + orderBy: [MyTablesOrderBy!] = [PRIMARY_KEY_ASC] + ): MyTablesEdge +} - """Checks for equality with the object’s \`comptypes\` field.""" - comptypes: [ComptypeInput] +"""All input for the create \`MyTable\` mutation.""" +input CreateMyTableInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Checks for equality with the object’s \`computedWithOptionalArg\` field.""" - computedWithOptionalArg: Int + """The \`MyTable\` to be created by this mutation.""" + myTable: MyTableInput! } -"""An input for mutations affecting \`Post\`""" -input PostInput { +"""An input for mutations affecting \`MyTable\`""" +input MyTableInput { id: Int - headline: String! - body: String - authorId: Int - enums: [AnEnum] - comptypes: [ComptypeInput] + jsonData: JSON } -"""All input for the \`postMany\` mutation.""" -input PostManyInput { +"""The output of our create \`NullTestRecord\` mutation.""" +type CreateNullTestRecordPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The \`NullTestRecord\` that was created by this mutation.""" + nullTestRecord: NullTestRecord + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our \`NullTestRecord\`. May be used by Relay 1.""" + nullTestRecordEdge( + """The method to use when ordering \`NullTestRecord\`.""" + orderBy: [NullTestRecordsOrderBy!] = [PRIMARY_KEY_ASC] + ): NullTestRecordsEdge +} + +"""All input for the create \`NullTestRecord\` mutation.""" +input CreateNullTestRecordInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - posts: [PostInput] + + """The \`NullTestRecord\` to be created by this mutation.""" + nullTestRecord: NullTestRecordInput! } -"""The output of our \`postMany\` mutation.""" -type PostManyPayload { +"""An input for mutations affecting \`NullTestRecord\`""" +input NullTestRecordInput { + id: Int + nullableText: String + nullableInt: Int + nonNullText: String! +} + +"""The output of our create \`Person\` mutation.""" +type CreatePersonPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - posts: [Post] + + """The \`Person\` that was created by this mutation.""" + person: Person """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query -} -"""Represents an update to a \`Post\`. Fields that are set will be updated.""" -input PostPatch { - id: Int - headline: String - body: String - authorId: Int - enums: [AnEnum] - comptypes: [ComptypeInput] + """An edge for our \`Person\`. May be used by Relay 1.""" + personEdge( + """The method to use when ordering \`Person\`.""" + orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] + ): PeopleEdge } -"""A connection to a list of \`Post\` values.""" -type PostsConnection { - """A list of \`Post\` objects.""" - nodes: [Post]! - +"""All input for the create \`Person\` mutation.""" +input CreatePersonInput { """ - A list of edges which contains the \`Post\` and cursor to aid in pagination. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - edges: [PostsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! + clientMutationId: String - """The count of *all* \`Post\` you could get from the connection.""" - totalCount: Int! + """The \`Person\` to be created by this mutation.""" + person: PersonInput! } -"""A \`Post\` edge in the connection.""" -type PostsEdge { - """A cursor for use in pagination.""" - cursor: Cursor +"""An input for mutations affecting \`Person\`""" +input PersonInput { + """The primary unique identifier for the person""" + id: Int - """The \`Post\` at the end of the edge.""" - node: Post + """The person’s name""" + name: String! + aliases: [String] + about: String + email: Email! + site: WrappedUrlInput + config: KeyValueHash + lastLoginFromIp: InternetAddress + lastLoginFromSubnet: String + userMac: String + createdAt: Datetime } -"""Methods to use when ordering \`Post\`.""" -enum PostsOrderBy { - NATURAL - ID_ASC - ID_DESC - HEADLINE_ASC - HEADLINE_DESC - BODY_ASC - BODY_DESC - AUTHOR_ID_ASC - AUTHOR_ID_DESC - ENUMS_ASC - ENUMS_DESC - COMPTYPES_ASC - COMPTYPES_DESC - COMPUTED_WITH_OPTIONAL_ARG_ASC - COMPUTED_WITH_OPTIONAL_ARG_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +"""The output of our create \`PersonSecret\` mutation.""" +type CreatePersonSecretPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The \`PersonSecret\` that was created by this mutation.""" + personSecret: PersonSecret @deprecated(reason: "This is deprecated (comment on table c.person_secret).") + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """The \`Person\` this \`PersonSecret\` belongs to.""" + personByPersonId: Person + + """An edge for our \`PersonSecret\`. May be used by Relay 1.""" + personSecretEdge( + """The method to use when ordering \`PersonSecret\`.""" + orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] + ): PersonSecretsEdge @deprecated(reason: "This is deprecated (comment on table c.person_secret).") } -"""All input for the \`postWithSuffix\` mutation.""" -input PostWithSuffixInput { +"""All input for the create \`PersonSecret\` mutation.""" +input CreatePersonSecretInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - post: PostInput - suffix: String + + """The \`PersonSecret\` to be created by this mutation.""" + personSecret: PersonSecretInput! } -"""The output of our \`postWithSuffix\` mutation.""" -type PostWithSuffixPayload { +"""An input for mutations affecting \`PersonSecret\`""" +input PersonSecretInput { + personId: Int! + + """A secret held by the associated Person""" + secret: String +} + +"""The output of our update \`DefaultValue\` mutation.""" +type UpdateDefaultValuePayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - post: Post + + """The \`DefaultValue\` that was updated by this mutation.""" + defaultValue: DefaultValue """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """Reads a single \`Person\` that is related to this \`Post\`.""" - personByAuthorId: Person - - """An edge for our \`Post\`. May be used by Relay 1.""" - postEdge( - """The method to use when ordering \`Post\`.""" - orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] - ): PostsEdge + """An edge for our \`DefaultValue\`. May be used by Relay 1.""" + defaultValueEdge( + """The method to use when ordering \`DefaultValue\`.""" + orderBy: [DefaultValuesOrderBy!] = [PRIMARY_KEY_ASC] + ): DefaultValuesEdge } -"""The root query type which gives access points into the data universe.""" -type Query implements Node { +"""All input for the \`updateDefaultValue\` mutation.""" +input UpdateDefaultValueInput { """ - Exposes the root query type nested one level down. This is helpful for Relay 1 - which can only query top level fields if they are in a particular form. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - query: Query! + clientMutationId: String """ - The root query type must be a \`Node\` to work well with Relay 1 mutations. This just resolves to \`query\`. + The globally unique \`ID\` which will identify a single \`DefaultValue\` to be updated. """ nodeId: ID! - """Fetches an object given its globally unique \`ID\`.""" - node( - """The globally unique \`ID\`.""" - nodeId: ID! - ): Node - - """Reads and enables pagination through a set of \`DefaultValue\`.""" - allDefaultValues( - """Only read the first \`n\` values of the set.""" - first: Int - - """Only read the last \`n\` values of the set.""" - last: Int - - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor - - """The method to use when ordering \`DefaultValue\`.""" - orderBy: [DefaultValuesOrderBy!] = [PRIMARY_KEY_ASC] - - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: DefaultValueCondition - ): DefaultValuesConnection - - """Reads and enables pagination through a set of \`ForeignKey\`.""" - allForeignKeys( - """Only read the first \`n\` values of the set.""" - first: Int - - """Only read the last \`n\` values of the set.""" - last: Int - - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor - - """The method to use when ordering \`ForeignKey\`.""" - orderBy: [ForeignKeysOrderBy!] = [NATURAL] + """ + An object where the defined keys will be set on the \`DefaultValue\` being updated. + """ + defaultValuePatch: DefaultValuePatch! +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ForeignKeyCondition - ): ForeignKeysConnection +""" +Represents an update to a \`DefaultValue\`. Fields that are set will be updated. +""" +input DefaultValuePatch { + id: Int + nullValue: String +} - """Reads and enables pagination through a set of \`Input\`.""" - allInputs( - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`updateDefaultValueById\` mutation.""" +input UpdateDefaultValueByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + An object where the defined keys will be set on the \`DefaultValue\` being updated. + """ + defaultValuePatch: DefaultValuePatch! + id: Int! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""The output of our update \`Input\` mutation.""" +type UpdateInputPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set before (above) this cursor.""" - before: Cursor + """The \`Input\` that was updated by this mutation.""" + input: Input - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + """An edge for our \`Input\`. May be used by Relay 1.""" + inputEdge( """The method to use when ordering \`Input\`.""" orderBy: [InputsOrderBy!] = [PRIMARY_KEY_ASC] + ): InputsEdge +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: InputCondition - ): InputsConnection - - """Reads and enables pagination through a set of \`NoPrimaryKey\`.""" - allNoPrimaryKeys( - """Only read the first \`n\` values of the set.""" - first: Int - - """Only read the last \`n\` values of the set.""" - last: Int - - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor - - """The method to use when ordering \`NoPrimaryKey\`.""" - orderBy: [NoPrimaryKeysOrderBy!] = [NATURAL] - - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: NoPrimaryKeyCondition - ): NoPrimaryKeysConnection - - """Reads and enables pagination through a set of \`NonUpdatableView\`.""" - allNonUpdatableViews( - """Only read the first \`n\` values of the set.""" - first: Int - - """Only read the last \`n\` values of the set.""" - last: Int - - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor - - """The method to use when ordering \`NonUpdatableView\`.""" - orderBy: [NonUpdatableViewsOrderBy!] = [NATURAL] - - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: NonUpdatableViewCondition - ): NonUpdatableViewsConnection - - """Reads and enables pagination through a set of \`Patch\`.""" - allPatches( - """Only read the first \`n\` values of the set.""" - first: Int - - """Only read the last \`n\` values of the set.""" - last: Int - - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the \`updateInput\` mutation.""" +input UpdateInputInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`Patch\`.""" - orderBy: [PatchesOrderBy!] = [PRIMARY_KEY_ASC] + """ + The globally unique \`ID\` which will identify a single \`Input\` to be updated. + """ + nodeId: ID! - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PatchCondition - ): PatchesConnection + """ + An object where the defined keys will be set on the \`Input\` being updated. + """ + inputPatch: InputPatch! +} - """Reads and enables pagination through a set of \`Post\`.""" - allPosts( - """Only read the first \`n\` values of the set.""" - first: Int +""" +Represents an update to a \`Input\`. Fields that are set will be updated. +""" +input InputPatch { + id: Int +} - """Only read the last \`n\` values of the set.""" - last: Int +"""All input for the \`updateInputById\` mutation.""" +input UpdateInputByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + An object where the defined keys will be set on the \`Input\` being updated. + """ + inputPatch: InputPatch! + id: Int! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""The output of our update \`NoPrimaryKey\` mutation.""" +type UpdateNoPrimaryKeyPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor + """The \`NoPrimaryKey\` that was updated by this mutation.""" + noPrimaryKey: NoPrimaryKey - """The method to use when ordering \`Post\`.""" - orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PostCondition - ): PostsConnection + """An edge for our \`NoPrimaryKey\`. May be used by Relay 1.""" + noPrimaryKeyEdge( + """The method to use when ordering \`NoPrimaryKey\`.""" + orderBy: [NoPrimaryKeysOrderBy!] = [NATURAL] + ): NoPrimaryKeysEdge +} - """Reads and enables pagination through a set of \`Reserved\`.""" - allReserveds( - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`updateNoPrimaryKeyById\` mutation.""" +input UpdateNoPrimaryKeyByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + An object where the defined keys will be set on the \`NoPrimaryKey\` being updated. + """ + noPrimaryKeyPatch: NoPrimaryKeyPatch! + id: Int! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +""" +Represents an update to a \`NoPrimaryKey\`. Fields that are set will be updated. +""" +input NoPrimaryKeyPatch { + id: Int + str: String +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""The output of our update \`Patch\` mutation.""" +type UpdatePatchPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor + """The \`Patch\` that was updated by this mutation.""" + patch: Patch - """The method to use when ordering \`Reserved\`.""" - orderBy: [ReservedsOrderBy!] = [PRIMARY_KEY_ASC] + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ReservedCondition - ): ReservedsConnection + """An edge for our \`Patch\`. May be used by Relay 1.""" + patchEdge( + """The method to use when ordering \`Patch\`.""" + orderBy: [PatchesOrderBy!] = [PRIMARY_KEY_ASC] + ): PatchesEdge +} - """Reads and enables pagination through a set of \`ReservedPatchRecord\`.""" - allReservedPatchRecords( - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`updatePatch\` mutation.""" +input UpdatePatchInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + The globally unique \`ID\` which will identify a single \`Patch\` to be updated. + """ + nodeId: ID! - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + An object where the defined keys will be set on the \`Patch\` being updated. + """ + patchPatch: PatchPatch! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +""" +Represents an update to a \`Patch\`. Fields that are set will be updated. +""" +input PatchPatch { + id: Int +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the \`updatePatchById\` mutation.""" +input UpdatePatchByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`ReservedPatchRecord\`.""" - orderBy: [ReservedPatchRecordsOrderBy!] = [PRIMARY_KEY_ASC] + """ + An object where the defined keys will be set on the \`Patch\` being updated. + """ + patchPatch: PatchPatch! + id: Int! +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ReservedPatchRecordCondition - ): ReservedPatchRecordsConnection +"""The output of our update \`Post\` mutation.""" +type UpdatePostPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Reads and enables pagination through a set of \`ReservedInputRecord\`.""" - allReservedInputRecords( - """Only read the first \`n\` values of the set.""" - first: Int + """The \`Post\` that was updated by this mutation.""" + post: Post - """Only read the last \`n\` values of the set.""" - last: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """Reads a single \`Person\` that is related to this \`Post\`.""" + personByAuthorId: Person - """Read all values in the set before (above) this cursor.""" - before: Cursor + """An edge for our \`Post\`. May be used by Relay 1.""" + postEdge( + """The method to use when ordering \`Post\`.""" + orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] + ): PostsEdge +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the \`updatePost\` mutation.""" +input UpdatePostInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`ReservedInputRecord\`.""" - orderBy: [ReservedInputRecordsOrderBy!] = [PRIMARY_KEY_ASC] + """ + The globally unique \`ID\` which will identify a single \`Post\` to be updated. + """ + nodeId: ID! - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ReservedInputRecordCondition - ): ReservedInputRecordsConnection + """ + An object where the defined keys will be set on the \`Post\` being updated. + """ + postPatch: PostPatch! +} - """Reads and enables pagination through a set of \`SimilarTable1\`.""" - allSimilarTable1S( - """Only read the first \`n\` values of the set.""" - first: Int +"""Represents an update to a \`Post\`. Fields that are set will be updated.""" +input PostPatch { + id: Int + headline: String + body: String + authorId: Int + enums: [AnEnum] + comptypes: [ComptypeInput] +} - """Only read the last \`n\` values of the set.""" - last: Int +"""All input for the \`updatePostById\` mutation.""" +input UpdatePostByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + An object where the defined keys will be set on the \`Post\` being updated. + """ + postPatch: PostPatch! + id: Int! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""The output of our update \`Reserved\` mutation.""" +type UpdateReservedPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor + """The \`Reserved\` that was updated by this mutation.""" + reserved: Reserved - """The method to use when ordering \`SimilarTable1\`.""" - orderBy: [SimilarTable1SOrderBy!] = [PRIMARY_KEY_ASC] + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SimilarTable1Condition - ): SimilarTable1SConnection + """An edge for our \`Reserved\`. May be used by Relay 1.""" + reservedEdge( + """The method to use when ordering \`Reserved\`.""" + orderBy: [ReservedsOrderBy!] = [PRIMARY_KEY_ASC] + ): ReservedsEdge +} - """Reads and enables pagination through a set of \`SimilarTable2\`.""" - allSimilarTable2S( - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`updateReserved\` mutation.""" +input UpdateReservedInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + The globally unique \`ID\` which will identify a single \`Reserved\` to be updated. + """ + nodeId: ID! - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + An object where the defined keys will be set on the \`Reserved\` being updated. + """ + reservedPatch: ReservedPatch! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +""" +Represents an update to a \`Reserved\`. Fields that are set will be updated. +""" +input ReservedPatch { + id: Int +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the \`updateReservedById\` mutation.""" +input UpdateReservedByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`SimilarTable2\`.""" - orderBy: [SimilarTable2SOrderBy!] = [PRIMARY_KEY_ASC] + """ + An object where the defined keys will be set on the \`Reserved\` being updated. + """ + reservedPatch: ReservedPatch! + id: Int! +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: SimilarTable2Condition - ): SimilarTable2SConnection +"""The output of our update \`ReservedPatchRecord\` mutation.""" +type UpdateReservedPatchRecordPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Reads and enables pagination through a set of \`Testview\`.""" - allTestviews( - """Only read the first \`n\` values of the set.""" - first: Int + """The \`ReservedPatchRecord\` that was updated by this mutation.""" + reservedPatchRecord: ReservedPatchRecord - """Only read the last \`n\` values of the set.""" - last: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """An edge for our \`ReservedPatchRecord\`. May be used by Relay 1.""" + reservedPatchRecordEdge( + """The method to use when ordering \`ReservedPatchRecord\`.""" + orderBy: [ReservedPatchRecordsOrderBy!] = [PRIMARY_KEY_ASC] + ): ReservedPatchRecordsEdge +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""All input for the \`updateReservedPatchRecord\` mutation.""" +input UpdateReservedPatchRecordInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + The globally unique \`ID\` which will identify a single \`ReservedPatchRecord\` to be updated. + """ + nodeId: ID! - """The method to use when ordering \`Testview\`.""" - orderBy: [TestviewsOrderBy!] = [NATURAL] + """ + An object where the defined keys will be set on the \`ReservedPatchRecord\` being updated. + """ + reservedPatchRecordPatch: ReservedPatchRecordPatch! +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TestviewCondition - ): TestviewsConnection +""" +Represents an update to a \`ReservedPatchRecord\`. Fields that are set will be updated. +""" +input ReservedPatchRecordPatch { + id: Int +} - """Reads and enables pagination through a set of \`ViewTable\`.""" - allViewTables( - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`updateReservedPatchRecordById\` mutation.""" +input UpdateReservedPatchRecordByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + An object where the defined keys will be set on the \`ReservedPatchRecord\` being updated. + """ + reservedPatchRecordPatch: ReservedPatchRecordPatch! + id: Int! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""The output of our update \`ReservedInputRecord\` mutation.""" +type UpdateReservedInputRecordPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set before (above) this cursor.""" - before: Cursor + """The \`ReservedInputRecord\` that was updated by this mutation.""" + reservedInputRecord: ReservedInputRecord - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """The method to use when ordering \`ViewTable\`.""" - orderBy: [ViewTablesOrderBy!] = [PRIMARY_KEY_ASC] + """An edge for our \`ReservedInputRecord\`. May be used by Relay 1.""" + reservedInputRecordEdge( + """The method to use when ordering \`ReservedInputRecord\`.""" + orderBy: [ReservedInputRecordsOrderBy!] = [PRIMARY_KEY_ASC] + ): ReservedInputRecordsEdge +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: ViewTableCondition - ): ViewTablesConnection +"""All input for the \`updateReservedInputRecord\` mutation.""" +input UpdateReservedInputRecordInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Reads and enables pagination through a set of \`Type\`.""" - allTypes( - """Only read the first \`n\` values of the set.""" - first: Int + """ + The globally unique \`ID\` which will identify a single \`ReservedInputRecord\` to be updated. + """ + nodeId: ID! - """Only read the last \`n\` values of the set.""" - last: Int + """ + An object where the defined keys will be set on the \`ReservedInputRecord\` being updated. + """ + reservedInputRecordPatch: ReservedInputRecordPatch! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +""" +Represents an update to a \`ReservedInputRecord\`. Fields that are set will be updated. +""" +input ReservedInputRecordPatch { + id: Int +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""All input for the \`updateReservedInputRecordById\` mutation.""" +input UpdateReservedInputRecordByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + An object where the defined keys will be set on the \`ReservedInputRecord\` being updated. + """ + reservedInputRecordPatch: ReservedInputRecordPatch! + id: Int! +} - """The method to use when ordering \`Type\`.""" - orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] +"""The output of our update \`SimilarTable1\` mutation.""" +type UpdateSimilarTable1Payload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: TypeCondition - ): TypesConnection + """The \`SimilarTable1\` that was updated by this mutation.""" + similarTable1: SimilarTable1 - """Reads and enables pagination through a set of \`UpdatableView\`.""" - allUpdatableViews( - """Only read the first \`n\` values of the set.""" - first: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Only read the last \`n\` values of the set.""" - last: Int + """An edge for our \`SimilarTable1\`. May be used by Relay 1.""" + similarTable1Edge( + """The method to use when ordering \`SimilarTable1\`.""" + orderBy: [SimilarTable1SOrderBy!] = [PRIMARY_KEY_ASC] + ): SimilarTable1SEdge +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""All input for the \`updateSimilarTable1\` mutation.""" +input UpdateSimilarTable1Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set before (above) this cursor.""" - before: Cursor + """ + The globally unique \`ID\` which will identify a single \`SimilarTable1\` to be updated. + """ + nodeId: ID! - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + An object where the defined keys will be set on the \`SimilarTable1\` being updated. + """ + similarTable1Patch: SimilarTable1Patch! +} - """The method to use when ordering \`UpdatableView\`.""" - orderBy: [UpdatableViewsOrderBy!] = [NATURAL] +""" +Represents an update to a \`SimilarTable1\`. Fields that are set will be updated. +""" +input SimilarTable1Patch { + id: Int + col1: Int + col2: Int + col3: Int +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: UpdatableViewCondition - ): UpdatableViewsConnection +"""All input for the \`updateSimilarTable1ById\` mutation.""" +input UpdateSimilarTable1ByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Reads and enables pagination through a set of \`CompoundKey\`.""" - allCompoundKeys( - """Only read the first \`n\` values of the set.""" - first: Int + """ + An object where the defined keys will be set on the \`SimilarTable1\` being updated. + """ + similarTable1Patch: SimilarTable1Patch! + id: Int! +} - """Only read the last \`n\` values of the set.""" - last: Int +"""The output of our update \`SimilarTable2\` mutation.""" +type UpdateSimilarTable2Payload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """The \`SimilarTable2\` that was updated by this mutation.""" + similarTable2: SimilarTable2 - """Read all values in the set before (above) this cursor.""" - before: Cursor + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set after (below) this cursor.""" - after: Cursor + """An edge for our \`SimilarTable2\`. May be used by Relay 1.""" + similarTable2Edge( + """The method to use when ordering \`SimilarTable2\`.""" + orderBy: [SimilarTable2SOrderBy!] = [PRIMARY_KEY_ASC] + ): SimilarTable2SEdge +} - """The method to use when ordering \`CompoundKey\`.""" - orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] +"""All input for the \`updateSimilarTable2\` mutation.""" +input UpdateSimilarTable2Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: CompoundKeyCondition - ): CompoundKeysConnection + """ + The globally unique \`ID\` which will identify a single \`SimilarTable2\` to be updated. + """ + nodeId: ID! - """Reads and enables pagination through a set of \`EdgeCase\`.""" - allEdgeCases( - """Only read the first \`n\` values of the set.""" - first: Int + """ + An object where the defined keys will be set on the \`SimilarTable2\` being updated. + """ + similarTable2Patch: SimilarTable2Patch! +} - """Only read the last \`n\` values of the set.""" - last: Int +""" +Represents an update to a \`SimilarTable2\`. Fields that are set will be updated. +""" +input SimilarTable2Patch { + id: Int + col3: Int + col4: Int + col5: Int +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""All input for the \`updateSimilarTable2ById\` mutation.""" +input UpdateSimilarTable2ByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set before (above) this cursor.""" - before: Cursor + """ + An object where the defined keys will be set on the \`SimilarTable2\` being updated. + """ + similarTable2Patch: SimilarTable2Patch! + id: Int! +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""The output of our update \`ViewTable\` mutation.""" +type UpdateViewTablePayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """The method to use when ordering \`EdgeCase\`.""" - orderBy: [EdgeCasesOrderBy!] = [NATURAL] + """The \`ViewTable\` that was updated by this mutation.""" + viewTable: ViewTable - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: EdgeCaseCondition - ): EdgeCasesConnection + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Reads and enables pagination through a set of \`Issue756\`.""" - allIssue756S( - """Only read the first \`n\` values of the set.""" - first: Int + """An edge for our \`ViewTable\`. May be used by Relay 1.""" + viewTableEdge( + """The method to use when ordering \`ViewTable\`.""" + orderBy: [ViewTablesOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewTablesEdge +} - """Only read the last \`n\` values of the set.""" - last: Int +"""All input for the \`updateViewTable\` mutation.""" +input UpdateViewTableInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + The globally unique \`ID\` which will identify a single \`ViewTable\` to be updated. + """ + nodeId: ID! - """Read all values in the set before (above) this cursor.""" - before: Cursor + """ + An object where the defined keys will be set on the \`ViewTable\` being updated. + """ + viewTablePatch: ViewTablePatch! +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +""" +Represents an update to a \`ViewTable\`. Fields that are set will be updated. +""" +input ViewTablePatch { + id: Int + col1: Int + col2: Int +} - """The method to use when ordering \`Issue756\`.""" - orderBy: [Issue756SOrderBy!] = [PRIMARY_KEY_ASC] +"""All input for the \`updateViewTableById\` mutation.""" +input UpdateViewTableByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: Issue756Condition - ): Issue756SConnection + """ + An object where the defined keys will be set on the \`ViewTable\` being updated. + """ + viewTablePatch: ViewTablePatch! + id: Int! +} - """Reads and enables pagination through a set of \`LeftArm\`.""" - allLeftArms( - """Only read the first \`n\` values of the set.""" - first: Int +"""The output of our update \`Type\` mutation.""" +type UpdateTypePayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """The \`Type\` that was updated by this mutation.""" + type: Type - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set before (above) this cursor.""" - before: Cursor + """Reads a single \`Post\` that is related to this \`Type\`.""" + postBySmallint: Post - """Read all values in the set after (below) this cursor.""" - after: Cursor + """Reads a single \`Post\` that is related to this \`Type\`.""" + postById: Post - """The method to use when ordering \`LeftArm\`.""" - orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] + """An edge for our \`Type\`. May be used by Relay 1.""" + typeEdge( + """The method to use when ordering \`Type\`.""" + orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] + ): TypesEdge +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: LeftArmCondition - ): LeftArmsConnection +"""All input for the \`updateType\` mutation.""" +input UpdateTypeInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Reads and enables pagination through a set of \`MyTable\`.""" - allMyTables( - """Only read the first \`n\` values of the set.""" - first: Int + """ + The globally unique \`ID\` which will identify a single \`Type\` to be updated. + """ + nodeId: ID! - """Only read the last \`n\` values of the set.""" - last: Int + """ + An object where the defined keys will be set on the \`Type\` being updated. + """ + typePatch: TypePatch! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""Represents an update to a \`Type\`. Fields that are set will be updated.""" +input TypePatch { + id: Int + smallint: Int + bigint: BigInt + numeric: BigFloat + decimal: BigFloat + boolean: Boolean + varchar: String + enum: Color + enumArray: [Color] + domain: AnInt + domain2: AnotherInt + textArray: [String] + json: JSON + jsonb: JSON + nullableRange: BigFloatRangeInput + numrange: BigFloatRangeInput + daterange: DateRangeInput + anIntRange: AnIntRangeInput + timestamp: Datetime + timestamptz: Datetime + date: Date + time: Time + timetz: Time + interval: IntervalInput + intervalArray: [IntervalInput] + money: Float + compoundType: CompoundTypeInput + nestedCompoundType: NestedCompoundTypeInput + nullableCompoundType: CompoundTypeInput + nullableNestedCompoundType: NestedCompoundTypeInput + point: PointInput + nullablePoint: PointInput + inet: InternetAddress + cidr: String + macaddr: String + regproc: RegProc + regprocedure: RegProcedure + regoper: RegOper + regoperator: RegOperator + regclass: RegClass + regtype: RegType + regconfig: RegConfig + regdictionary: RegDictionary + textArrayDomain: [String] + int8ArrayDomain: [BigInt] +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""All input for the \`updateTypeById\` mutation.""" +input UpdateTypeByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor + """ + An object where the defined keys will be set on the \`Type\` being updated. + """ + typePatch: TypePatch! + id: Int! +} - """The method to use when ordering \`MyTable\`.""" - orderBy: [MyTablesOrderBy!] = [PRIMARY_KEY_ASC] +"""The output of our update \`CompoundKey\` mutation.""" +type UpdateCompoundKeyPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: MyTableCondition - ): MyTablesConnection + """The \`CompoundKey\` that was updated by this mutation.""" + compoundKey: CompoundKey - """Reads and enables pagination through a set of \`NullTestRecord\`.""" - allNullTestRecords( - """Only read the first \`n\` values of the set.""" - first: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Only read the last \`n\` values of the set.""" - last: Int + """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" + personByPersonId2: Person - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" + personByPersonId1: Person - """Read all values in the set before (above) this cursor.""" - before: Cursor + """An edge for our \`CompoundKey\`. May be used by Relay 1.""" + compoundKeyEdge( + """The method to use when ordering \`CompoundKey\`.""" + orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] + ): CompoundKeysEdge +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the \`updateCompoundKey\` mutation.""" +input UpdateCompoundKeyInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`NullTestRecord\`.""" - orderBy: [NullTestRecordsOrderBy!] = [PRIMARY_KEY_ASC] + """ + The globally unique \`ID\` which will identify a single \`CompoundKey\` to be updated. + """ + nodeId: ID! - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: NullTestRecordCondition - ): NullTestRecordsConnection + """ + An object where the defined keys will be set on the \`CompoundKey\` being updated. + """ + compoundKeyPatch: CompoundKeyPatch! +} - """Reads and enables pagination through a set of \`Person\`.""" - allPeople( - """Only read the first \`n\` values of the set.""" - first: Int +""" +Represents an update to a \`CompoundKey\`. Fields that are set will be updated. +""" +input CompoundKeyPatch { + personId2: Int + personId1: Int + extra: Boolean +} - """Only read the last \`n\` values of the set.""" - last: Int +"""All input for the \`updateCompoundKeyByPersonId1AndPersonId2\` mutation.""" +input UpdateCompoundKeyByPersonId1AndPersonId2Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + An object where the defined keys will be set on the \`CompoundKey\` being updated. + """ + compoundKeyPatch: CompoundKeyPatch! + personId1: Int! + personId2: Int! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""The output of our update \`Issue756\` mutation.""" +type UpdateIssue756Payload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor + """The \`Issue756\` that was updated by this mutation.""" + issue756: Issue756 - """The method to use when ordering \`Person\`.""" - orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PersonCondition - ): PeopleConnection + """An edge for our \`Issue756\`. May be used by Relay 1.""" + issue756Edge( + """The method to use when ordering \`Issue756\`.""" + orderBy: [Issue756SOrderBy!] = [PRIMARY_KEY_ASC] + ): Issue756SEdge +} - """Reads and enables pagination through a set of \`PersonSecret\`.""" - allPersonSecrets( - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`updateIssue756\` mutation.""" +input UpdateIssue756Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + The globally unique \`ID\` which will identify a single \`Issue756\` to be updated. + """ + nodeId: ID! - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + An object where the defined keys will be set on the \`Issue756\` being updated. + """ + issue756Patch: Issue756Patch! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +""" +Represents an update to a \`Issue756\`. Fields that are set will be updated. +""" +input Issue756Patch { + id: Int + ts: NotNullTimestamp +} - """Read all values in the set after (below) this cursor.""" - after: Cursor +"""All input for the \`updateIssue756ById\` mutation.""" +input UpdateIssue756ByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The method to use when ordering \`PersonSecret\`.""" - orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] + """ + An object where the defined keys will be set on the \`Issue756\` being updated. + """ + issue756Patch: Issue756Patch! + id: Int! +} - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PersonSecretCondition - ): PersonSecretsConnection @deprecated(reason: "This is deprecated (comment on table c.person_secret).") - defaultValueById(id: Int!): DefaultValue - inputById(id: Int!): Input - noPrimaryKeyById(id: Int!): NoPrimaryKey - patchById(id: Int!): Patch - postById(id: Int!): Post - reservedById(id: Int!): Reserved - reservedPatchRecordById(id: Int!): ReservedPatchRecord - reservedInputRecordById(id: Int!): ReservedInputRecord - similarTable1ById(id: Int!): SimilarTable1 - similarTable2ById(id: Int!): SimilarTable2 - uniqueForeignKeyByCompoundKey1AndCompoundKey2(compoundKey1: Int!, compoundKey2: Int!): UniqueForeignKey - viewTableById(id: Int!): ViewTable - typeById(id: Int!): Type - compoundKeyByPersonId1AndPersonId2(personId1: Int!, personId2: Int!): CompoundKey - issue756ById(id: Int!): Issue756 - leftArmById(id: Int!): LeftArm - leftArmByPersonId(personId: Int!): LeftArm - myTableById(id: Int!): MyTable - nullTestRecordById(id: Int!): NullTestRecord - personById(id: Int!): Person - personByEmail(email: Email!): Person - personSecretByPersonId(personId: Int!): PersonSecret +"""The output of our update \`LeftArm\` mutation.""" +type UpdateLeftArmPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """lol, add some stuff 1 query""" - add1Query(arg0: Int!, arg1: Int!): Int + """The \`LeftArm\` that was updated by this mutation.""" + leftArm: LeftArm - """lol, add some stuff 2 query""" - add2Query(a: Int!, b: Int): Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """lol, add some stuff 3 query""" - add3Query(a: Int, arg1: Int): Int + """Reads a single \`Person\` that is related to this \`LeftArm\`.""" + personByPersonId: Person - """lol, add some stuff 4 query""" - add4Query(arg0: Int, b: Int): Int - optionalMissingMiddle1(arg0: Int!, b: Int, c: Int): Int - optionalMissingMiddle2(a: Int!, b: Int, c: Int): Int - optionalMissingMiddle3(a: Int!, arg1: Int, c: Int): Int - optionalMissingMiddle4(arg0: Int!, b: Int, arg2: Int): Int - optionalMissingMiddle5(a: Int!, arg1: Int, arg2: Int): Int - queryCompoundTypeArray(object: CompoundTypeInput): [CompoundType] - queryIntervalArray: [Interval] - queryIntervalSet( - """Only read the first \`n\` values of the set.""" - first: Int + """An edge for our \`LeftArm\`. May be used by Relay 1.""" + leftArmEdge( + """The method to use when ordering \`LeftArm\`.""" + orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] + ): LeftArmsEdge +} - """Only read the last \`n\` values of the set.""" - last: Int +"""All input for the \`updateLeftArm\` mutation.""" +input UpdateLeftArmInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + The globally unique \`ID\` which will identify a single \`LeftArm\` to be updated. + """ + nodeId: ID! - """Read all values in the set before (above) this cursor.""" - before: Cursor + """ + An object where the defined keys will be set on the \`LeftArm\` being updated. + """ + leftArmPatch: LeftArmPatch! +} - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): QueryIntervalSetConnection - queryTextArray: [String] - staticBigInteger( - """Only read the first \`n\` values of the set.""" - first: Int +""" +Represents an update to a \`LeftArm\`. Fields that are set will be updated. +""" +input LeftArmPatch { + id: Int + personId: Int + lengthInMetres: Float + mood: String +} - """Only read the last \`n\` values of the set.""" - last: Int +"""All input for the \`updateLeftArmById\` mutation.""" +input UpdateLeftArmByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + An object where the defined keys will be set on the \`LeftArm\` being updated. + """ + leftArmPatch: LeftArmPatch! + id: Int! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""All input for the \`updateLeftArmByPersonId\` mutation.""" +input UpdateLeftArmByPersonIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): StaticBigIntegerConnection - compoundTypeArrayQuery(object: CompoundTypeInput): [CompoundType] - compoundTypeQuery(object: CompoundTypeInput): CompoundType - typeFunction(id: Int): Type + """ + An object where the defined keys will be set on the \`LeftArm\` being updated. + """ + leftArmPatch: LeftArmPatch! + personId: Int! +} - """Reads and enables pagination through a set of \`Type\`.""" - typeFunctionConnection( - """Only read the first \`n\` values of the set.""" - first: Int +"""The output of our update \`MyTable\` mutation.""" +type UpdateMyTablePayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """The \`MyTable\` that was updated by this mutation.""" + myTable: MyTable - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set before (above) this cursor.""" - before: Cursor + """An edge for our \`MyTable\`. May be used by Relay 1.""" + myTableEdge( + """The method to use when ordering \`MyTable\`.""" + orderBy: [MyTablesOrderBy!] = [PRIMARY_KEY_ASC] + ): MyTablesEdge +} - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): TypesConnection - typeFunctionList: [Type] +"""All input for the \`updateMyTable\` mutation.""" +input UpdateMyTableInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Reads and enables pagination through a set of \`Person\`.""" - badlyBehavedFunction( - """Only read the first \`n\` values of the set.""" - first: Int + """ + The globally unique \`ID\` which will identify a single \`MyTable\` to be updated. + """ + nodeId: ID! - """Only read the last \`n\` values of the set.""" - last: Int + """ + An object where the defined keys will be set on the \`MyTable\` being updated. + """ + myTablePatch: MyTablePatch! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +""" +Represents an update to a \`MyTable\`. Fields that are set will be updated. +""" +input MyTablePatch { + id: Int + jsonData: JSON +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""All input for the \`updateMyTableById\` mutation.""" +input UpdateMyTableByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): PeopleConnection @deprecated(reason: "This is deprecated (comment on function c.badly_behaved_function).") + """ + An object where the defined keys will be set on the \`MyTable\` being updated. + """ + myTablePatch: MyTablePatch! + id: Int! +} - """Reads and enables pagination through a set of \`CompoundType\`.""" - compoundTypeSetQuery( - """Only read the first \`n\` values of the set.""" - first: Int +"""The output of our update \`NullTestRecord\` mutation.""" +type UpdateNullTestRecordPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """The \`NullTestRecord\` that was updated by this mutation.""" + nullTestRecord: NullTestRecord - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set before (above) this cursor.""" - before: Cursor + """An edge for our \`NullTestRecord\`. May be used by Relay 1.""" + nullTestRecordEdge( + """The method to use when ordering \`NullTestRecord\`.""" + orderBy: [NullTestRecordsOrderBy!] = [PRIMARY_KEY_ASC] + ): NullTestRecordsEdge +} - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): CompoundTypesConnection - currentUserId: Int - funcInInout(i: Int, ino: Int): Int - funcInOut(i: Int): Int - funcOut: Int - funcOutComplex(a: Int, b: String): FuncOutComplexRecord - funcOutComplexSetof( - a: Int - b: String +"""All input for the \`updateNullTestRecord\` mutation.""" +input UpdateNullTestRecordInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the first \`n\` values of the set.""" - first: Int + """ + The globally unique \`ID\` which will identify a single \`NullTestRecord\` to be updated. + """ + nodeId: ID! - """Only read the last \`n\` values of the set.""" - last: Int + """ + An object where the defined keys will be set on the \`NullTestRecord\` being updated. + """ + nullTestRecordPatch: NullTestRecordPatch! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +""" +Represents an update to a \`NullTestRecord\`. Fields that are set will be updated. +""" +input NullTestRecordPatch { + id: Int + nullableText: String + nullableInt: Int + nonNullText: String +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""All input for the \`updateNullTestRecordById\` mutation.""" +input UpdateNullTestRecordByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): FuncOutComplexSetofConnection - funcOutOut: FuncOutOutRecord - funcOutOutCompoundType(i1: Int): FuncOutOutCompoundTypeRecord - funcOutOutSetof( - """Only read the first \`n\` values of the set.""" - first: Int + """ + An object where the defined keys will be set on the \`NullTestRecord\` being updated. + """ + nullTestRecordPatch: NullTestRecordPatch! + id: Int! +} - """Only read the last \`n\` values of the set.""" - last: Int +"""The output of our update \`Person\` mutation.""" +type UpdatePersonPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """The \`Person\` that was updated by this mutation.""" + person: Person - """Read all values in the set before (above) this cursor.""" - before: Cursor + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): FuncOutOutSetofConnection - funcOutOutUnnamed: FuncOutOutUnnamedRecord - funcOutSetof( - """Only read the first \`n\` values of the set.""" - first: Int + """An edge for our \`Person\`. May be used by Relay 1.""" + personEdge( + """The method to use when ordering \`Person\`.""" + orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] + ): PeopleEdge +} - """Only read the last \`n\` values of the set.""" - last: Int +"""All input for the \`updatePerson\` mutation.""" +input UpdatePersonInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + The globally unique \`ID\` which will identify a single \`Person\` to be updated. + """ + nodeId: ID! - """Read all values in the set before (above) this cursor.""" - before: Cursor + """ + An object where the defined keys will be set on the \`Person\` being updated. + """ + personPatch: PersonPatch! +} - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): FuncOutSetofConnection - funcOutTable: Person +""" +Represents an update to a \`Person\`. Fields that are set will be updated. +""" +input PersonPatch { + """The primary unique identifier for the person""" + id: Int - """Reads and enables pagination through a set of \`Person\`.""" - funcOutTableSetof( - """Only read the first \`n\` values of the set.""" - first: Int + """The person’s name""" + name: String + aliases: [String] + about: String + email: Email + site: WrappedUrlInput + config: KeyValueHash + lastLoginFromIp: InternetAddress + lastLoginFromSubnet: String + userMac: String + createdAt: Datetime +} + +"""All input for the \`updatePersonById\` mutation.""" +input UpdatePersonByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + An object where the defined keys will be set on the \`Person\` being updated. + """ + personPatch: PersonPatch! - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """The primary unique identifier for the person""" + id: Int! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""All input for the \`updatePersonByEmail\` mutation.""" +input UpdatePersonByEmailInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): PeopleConnection - funcOutUnnamed: Int - funcOutUnnamedOutOutUnnamed: FuncOutUnnamedOutOutUnnamedRecord - funcReturnsTableMultiCol( - i: Int + """ + An object where the defined keys will be set on the \`Person\` being updated. + """ + personPatch: PersonPatch! + email: Email! +} - """Only read the first \`n\` values of the set.""" - first: Int +"""The output of our update \`PersonSecret\` mutation.""" +type UpdatePersonSecretPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """The \`PersonSecret\` that was updated by this mutation.""" + personSecret: PersonSecret - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Read all values in the set before (above) this cursor.""" - before: Cursor + """The \`Person\` this \`PersonSecret\` belongs to.""" + personByPersonId: Person - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): FuncReturnsTableMultiColConnection - funcReturnsTableOneCol( - i: Int + """An edge for our \`PersonSecret\`. May be used by Relay 1.""" + personSecretEdge( + """The method to use when ordering \`PersonSecret\`.""" + orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] + ): PersonSecretsEdge @deprecated(reason: "This is deprecated (comment on table c.person_secret).") +} - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`updatePersonSecret\` mutation.""" +input UpdatePersonSecretInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + The globally unique \`ID\` which will identify a single \`PersonSecret\` to be updated. + """ + nodeId: ID! - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int + """ + An object where the defined keys will be set on the \`PersonSecret\` being updated. + """ + personSecretPatch: PersonSecretPatch! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +""" +Represents an update to a \`PersonSecret\`. Fields that are set will be updated. +""" +input PersonSecretPatch { + personId: Int - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): FuncReturnsTableOneColConnection - intSetQuery( - x: Int - y: Int - z: Int + """A secret held by the associated Person""" + secret: String +} - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`updatePersonSecretByPersonId\` mutation.""" +input UpdatePersonSecretByPersonIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + An object where the defined keys will be set on the \`PersonSecret\` being updated. + """ + personSecretPatch: PersonSecretPatch! + personId: Int! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""The output of our delete \`DefaultValue\` mutation.""" +type DeleteDefaultValuePayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set before (above) this cursor.""" - before: Cursor + """The \`DefaultValue\` that was deleted by this mutation.""" + defaultValue: DefaultValue + deletedDefaultValueId: ID - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): IntSetQueryConnection - jsonIdentity(json: JSON): JSON - jsonbIdentity(json: JSON): JSON - noArgsQuery: Int - queryOutputTwoRows(leftArmId: Int, postId: Int, txt: String): QueryOutputTwoRowsRecord - returnTableWithoutGrants: CompoundKey - searchTestSummariesList( - """Only read the first \`n\` values of the set.""" - first: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Skip the first \`n\` values.""" - offset: Int - ): [SearchTestSummariesRecord] - tableQuery(id: Int): Post + """An edge for our \`DefaultValue\`. May be used by Relay 1.""" + defaultValueEdge( + """The method to use when ordering \`DefaultValue\`.""" + orderBy: [DefaultValuesOrderBy!] = [PRIMARY_KEY_ASC] + ): DefaultValuesEdge +} - """Reads and enables pagination through a set of \`Person\`.""" - tableSetQuery( - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`deleteDefaultValue\` mutation.""" +input DeleteDefaultValueInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + The globally unique \`ID\` which will identify a single \`DefaultValue\` to be deleted. + """ + nodeId: ID! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""All input for the \`deleteDefaultValueById\` mutation.""" +input DeleteDefaultValueByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""The output of our delete \`Input\` mutation.""" +type DeleteInputPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor + """The \`Input\` that was deleted by this mutation.""" + input: Input + deletedInputId: ID - """The method to use when ordering \`Person\`.""" - orderBy: [PeopleOrderBy!] + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """ - A condition to be used in determining which values should be returned by the collection. - """ - condition: PersonCondition - ): PeopleConnection + """An edge for our \`Input\`. May be used by Relay 1.""" + inputEdge( + """The method to use when ordering \`Input\`.""" + orderBy: [InputsOrderBy!] = [PRIMARY_KEY_ASC] + ): InputsEdge +} - """Reads and enables pagination through a set of \`Person\`.""" - tableSetQueryPlpgsql( - """Only read the first \`n\` values of the set.""" - first: Int +"""All input for the \`deleteInput\` mutation.""" +input DeleteInputInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Only read the last \`n\` values of the set.""" - last: Int + """ + The globally unique \`ID\` which will identify a single \`Input\` to be deleted. + """ + nodeId: ID! +} - """ - Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor - based pagination. May not be used with \`last\`. - """ - offset: Int +"""All input for the \`deleteInputById\` mutation.""" +input DeleteInputByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! +} - """Read all values in the set before (above) this cursor.""" - before: Cursor +"""The output of our delete \`NoPrimaryKey\` mutation.""" +type DeleteNoPrimaryKeyPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): PeopleConnection - typesQuery(a: BigInt!, b: Boolean!, c: String!, d: [Int]!, e: JSON!, f: FloatRangeInput!): Boolean + """The \`NoPrimaryKey\` that was deleted by this mutation.""" + noPrimaryKey: NoPrimaryKey + deletedNoPrimaryKeyId: ID - """Reads a single \`DefaultValue\` using its globally unique \`ID\`.""" - defaultValue( - """ - The globally unique \`ID\` to be used in selecting a single \`DefaultValue\`. - """ - nodeId: ID! - ): DefaultValue + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Reads a single \`Input\` using its globally unique \`ID\`.""" - input( - """The globally unique \`ID\` to be used in selecting a single \`Input\`.""" - nodeId: ID! - ): Input + """An edge for our \`NoPrimaryKey\`. May be used by Relay 1.""" + noPrimaryKeyEdge( + """The method to use when ordering \`NoPrimaryKey\`.""" + orderBy: [NoPrimaryKeysOrderBy!] = [NATURAL] + ): NoPrimaryKeysEdge +} - """Reads a single \`Patch\` using its globally unique \`ID\`.""" - patch( - """The globally unique \`ID\` to be used in selecting a single \`Patch\`.""" - nodeId: ID! - ): Patch +"""All input for the \`deleteNoPrimaryKeyById\` mutation.""" +input DeleteNoPrimaryKeyByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! +} - """Reads a single \`Post\` using its globally unique \`ID\`.""" - post( - """The globally unique \`ID\` to be used in selecting a single \`Post\`.""" - nodeId: ID! - ): Post +"""The output of our delete \`Patch\` mutation.""" +type DeletePatchPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Reads a single \`Reserved\` using its globally unique \`ID\`.""" - reserved( - """The globally unique \`ID\` to be used in selecting a single \`Reserved\`.""" - nodeId: ID! - ): Reserved + """The \`Patch\` that was deleted by this mutation.""" + patch: Patch + deletedPatchId: ID - """Reads a single \`ReservedPatchRecord\` using its globally unique \`ID\`.""" - reservedPatchRecord( - """ - The globally unique \`ID\` to be used in selecting a single \`ReservedPatchRecord\`. - """ - nodeId: ID! - ): ReservedPatchRecord + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Reads a single \`ReservedInputRecord\` using its globally unique \`ID\`.""" - reservedInputRecord( - """ - The globally unique \`ID\` to be used in selecting a single \`ReservedInputRecord\`. - """ - nodeId: ID! - ): ReservedInputRecord + """An edge for our \`Patch\`. May be used by Relay 1.""" + patchEdge( + """The method to use when ordering \`Patch\`.""" + orderBy: [PatchesOrderBy!] = [PRIMARY_KEY_ASC] + ): PatchesEdge +} - """Reads a single \`SimilarTable1\` using its globally unique \`ID\`.""" - similarTable1( - """ - The globally unique \`ID\` to be used in selecting a single \`SimilarTable1\`. - """ - nodeId: ID! - ): SimilarTable1 +"""All input for the \`deletePatch\` mutation.""" +input DeletePatchInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Reads a single \`SimilarTable2\` using its globally unique \`ID\`.""" - similarTable2( - """ - The globally unique \`ID\` to be used in selecting a single \`SimilarTable2\`. - """ - nodeId: ID! - ): SimilarTable2 + """ + The globally unique \`ID\` which will identify a single \`Patch\` to be deleted. + """ + nodeId: ID! +} - """Reads a single \`ViewTable\` using its globally unique \`ID\`.""" - viewTable( - """The globally unique \`ID\` to be used in selecting a single \`ViewTable\`.""" - nodeId: ID! - ): ViewTable +"""All input for the \`deletePatchById\` mutation.""" +input DeletePatchByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! +} - """Reads a single \`Type\` using its globally unique \`ID\`.""" - type( - """The globally unique \`ID\` to be used in selecting a single \`Type\`.""" - nodeId: ID! - ): Type +"""The output of our delete \`Post\` mutation.""" +type DeletePostPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Reads a single \`CompoundKey\` using its globally unique \`ID\`.""" - compoundKey( - """ - The globally unique \`ID\` to be used in selecting a single \`CompoundKey\`. - """ - nodeId: ID! - ): CompoundKey + """The \`Post\` that was deleted by this mutation.""" + post: Post + deletedPostId: ID - """Reads a single \`Issue756\` using its globally unique \`ID\`.""" - issue756( - """The globally unique \`ID\` to be used in selecting a single \`Issue756\`.""" - nodeId: ID! - ): Issue756 + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Reads a single \`LeftArm\` using its globally unique \`ID\`.""" - leftArm( - """The globally unique \`ID\` to be used in selecting a single \`LeftArm\`.""" - nodeId: ID! - ): LeftArm + """Reads a single \`Person\` that is related to this \`Post\`.""" + personByAuthorId: Person - """Reads a single \`MyTable\` using its globally unique \`ID\`.""" - myTable( - """The globally unique \`ID\` to be used in selecting a single \`MyTable\`.""" - nodeId: ID! - ): MyTable + """An edge for our \`Post\`. May be used by Relay 1.""" + postEdge( + """The method to use when ordering \`Post\`.""" + orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] + ): PostsEdge +} - """Reads a single \`NullTestRecord\` using its globally unique \`ID\`.""" - nullTestRecord( - """ - The globally unique \`ID\` to be used in selecting a single \`NullTestRecord\`. - """ - nodeId: ID! - ): NullTestRecord +"""All input for the \`deletePost\` mutation.""" +input DeletePostInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """Reads a single \`Person\` using its globally unique \`ID\`.""" - person( - """The globally unique \`ID\` to be used in selecting a single \`Person\`.""" - nodeId: ID! - ): Person + """ + The globally unique \`ID\` which will identify a single \`Post\` to be deleted. + """ + nodeId: ID! +} - """Reads a single \`PersonSecret\` using its globally unique \`ID\`.""" - personSecret( - """ - The globally unique \`ID\` to be used in selecting a single \`PersonSecret\`. - """ - nodeId: ID! - ): PersonSecret @deprecated(reason: "This is deprecated (comment on table c.person_secret).") +"""All input for the \`deletePostById\` mutation.""" +input DeletePostByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! } -"""A connection to a list of \`Interval\` values.""" -type QueryIntervalSetConnection { - """A list of \`Interval\` objects.""" - nodes: [Interval]! +"""The output of our delete \`Reserved\` mutation.""" +type DeleteReservedPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The \`Reserved\` that was deleted by this mutation.""" + reserved: Reserved + deletedReservedId: ID """ - A list of edges which contains the \`Interval\` and cursor to aid in pagination. + Our root query field type. Allows us to run any query from our mutation payload. """ - edges: [QueryIntervalSetEdge!]! + query: Query - """The count of *all* \`Interval\` you could get from the connection.""" - totalCount: Int! + """An edge for our \`Reserved\`. May be used by Relay 1.""" + reservedEdge( + """The method to use when ordering \`Reserved\`.""" + orderBy: [ReservedsOrderBy!] = [PRIMARY_KEY_ASC] + ): ReservedsEdge } -"""A \`Interval\` edge in the connection.""" -type QueryIntervalSetEdge { - """A cursor for use in pagination.""" - cursor: Cursor +"""All input for the \`deleteReserved\` mutation.""" +input DeleteReservedInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The \`Interval\` at the end of the edge.""" - node: Interval + """ + The globally unique \`ID\` which will identify a single \`Reserved\` to be deleted. + """ + nodeId: ID! } -"""The return type of our \`queryOutputTwoRows\` query.""" -type QueryOutputTwoRowsRecord { - txt: String - leftArm: LeftArm - post: Post +"""All input for the \`deleteReservedById\` mutation.""" +input DeleteReservedByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! } -"""A builtin object identifier type for a relation name""" -scalar RegClass - -"""A builtin object identifier type for a text search configuration""" -scalar RegConfig - -"""A builtin object identifier type for a text search dictionary""" -scalar RegDictionary - -"""A builtin object identifier type for an operator""" -scalar RegOper +"""The output of our delete \`ReservedPatchRecord\` mutation.""" +type DeleteReservedPatchRecordPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String -"""A builtin object identifier type for an operator with argument types""" -scalar RegOperator + """The \`ReservedPatchRecord\` that was deleted by this mutation.""" + reservedPatchRecord: ReservedPatchRecord + deletedReservedPatchId: ID -"""A builtin object identifier type for a function name""" -scalar RegProc + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query -"""A builtin object identifier type for a function with argument types""" -scalar RegProcedure + """An edge for our \`ReservedPatchRecord\`. May be used by Relay 1.""" + reservedPatchRecordEdge( + """The method to use when ordering \`ReservedPatchRecord\`.""" + orderBy: [ReservedPatchRecordsOrderBy!] = [PRIMARY_KEY_ASC] + ): ReservedPatchRecordsEdge +} -"""A builtin object identifier type for a data type name""" -scalar RegType +"""All input for the \`deleteReservedPatchRecord\` mutation.""" +input DeleteReservedPatchRecordInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String -type Reserved implements Node { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + The globally unique \`ID\` which will identify a single \`ReservedPatchRecord\` to be deleted. """ nodeId: ID! - id: Int! -} - -""" -A condition to be used against \`Reserved\` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input ReservedCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int -} - -"""An input for mutations affecting \`Reserved\`""" -input ReservedInput { - id: Int } -""" -\`reserved_input\` table should get renamed to ReservedInputRecord to prevent clashes with ReservedInput from \`reserved\` table -""" -type ReservedInputRecord implements Node { +"""All input for the \`deleteReservedPatchRecordById\` mutation.""" +input DeleteReservedPatchRecordByIdInput { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - nodeId: ID! + clientMutationId: String id: Int! } -""" -A condition to be used against \`ReservedInputRecord\` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input ReservedInputRecordCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int -} +"""The output of our delete \`ReservedInputRecord\` mutation.""" +type DeleteReservedInputRecordPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String -"""An input for mutations affecting \`ReservedInputRecord\`""" -input ReservedInputRecordInput { - id: Int -} + """The \`ReservedInputRecord\` that was deleted by this mutation.""" + reservedInputRecord: ReservedInputRecord + deletedReservedInputId: ID -""" -Represents an update to a \`ReservedInputRecord\`. Fields that are set will be updated. -""" -input ReservedInputRecordPatch { - id: Int -} + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query -"""A connection to a list of \`ReservedInputRecord\` values.""" -type ReservedInputRecordsConnection { - """A list of \`ReservedInputRecord\` objects.""" - nodes: [ReservedInputRecord]! + """An edge for our \`ReservedInputRecord\`. May be used by Relay 1.""" + reservedInputRecordEdge( + """The method to use when ordering \`ReservedInputRecord\`.""" + orderBy: [ReservedInputRecordsOrderBy!] = [PRIMARY_KEY_ASC] + ): ReservedInputRecordsEdge +} +"""All input for the \`deleteReservedInputRecord\` mutation.""" +input DeleteReservedInputRecordInput { """ - A list of edges which contains the \`ReservedInputRecord\` and cursor to aid in pagination. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - edges: [ReservedInputRecordsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! + clientMutationId: String """ - The count of *all* \`ReservedInputRecord\` you could get from the connection. + The globally unique \`ID\` which will identify a single \`ReservedInputRecord\` to be deleted. """ - totalCount: Int! + nodeId: ID! } -"""A \`ReservedInputRecord\` edge in the connection.""" -type ReservedInputRecordsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`ReservedInputRecord\` at the end of the edge.""" - node: ReservedInputRecord +"""All input for the \`deleteReservedInputRecordById\` mutation.""" +input DeleteReservedInputRecordByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! } -"""Methods to use when ordering \`ReservedInputRecord\`.""" -enum ReservedInputRecordsOrderBy { - NATURAL - ID_ASC - ID_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} +"""The output of our delete \`SimilarTable1\` mutation.""" +type DeleteSimilarTable1Payload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String -""" -Represents an update to a \`Reserved\`. Fields that are set will be updated. -""" -input ReservedPatch { - id: Int -} + """The \`SimilarTable1\` that was deleted by this mutation.""" + similarTable1: SimilarTable1 + deletedSimilarTable1Id: ID -""" -\`reservedPatchs\` table should get renamed to ReservedPatchRecord to prevent clashes with ReservedPatch from \`reserved\` table -""" -type ReservedPatchRecord implements Node { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! - id: Int! -} + query: Query -""" -A condition to be used against \`ReservedPatchRecord\` object types. All fields -are tested for equality and combined with a logical ‘and.’ -""" -input ReservedPatchRecordCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int + """An edge for our \`SimilarTable1\`. May be used by Relay 1.""" + similarTable1Edge( + """The method to use when ordering \`SimilarTable1\`.""" + orderBy: [SimilarTable1SOrderBy!] = [PRIMARY_KEY_ASC] + ): SimilarTable1SEdge } -"""An input for mutations affecting \`ReservedPatchRecord\`""" -input ReservedPatchRecordInput { - id: Int +"""All input for the \`deleteSimilarTable1\` mutation.""" +input DeleteSimilarTable1Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """ + The globally unique \`ID\` which will identify a single \`SimilarTable1\` to be deleted. + """ + nodeId: ID! } -""" -Represents an update to a \`ReservedPatchRecord\`. Fields that are set will be updated. -""" -input ReservedPatchRecordPatch { - id: Int +"""All input for the \`deleteSimilarTable1ById\` mutation.""" +input DeleteSimilarTable1ByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! } -"""A connection to a list of \`ReservedPatchRecord\` values.""" -type ReservedPatchRecordsConnection { - """A list of \`ReservedPatchRecord\` objects.""" - nodes: [ReservedPatchRecord]! - +"""The output of our delete \`SimilarTable2\` mutation.""" +type DeleteSimilarTable2Payload { """ - A list of edges which contains the \`ReservedPatchRecord\` and cursor to aid in pagination. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - edges: [ReservedPatchRecordsEdge!]! + clientMutationId: String - """Information to aid in pagination.""" - pageInfo: PageInfo! + """The \`SimilarTable2\` that was deleted by this mutation.""" + similarTable2: SimilarTable2 + deletedSimilarTable2Id: ID """ - The count of *all* \`ReservedPatchRecord\` you could get from the connection. + Our root query field type. Allows us to run any query from our mutation payload. """ - totalCount: Int! + query: Query + + """An edge for our \`SimilarTable2\`. May be used by Relay 1.""" + similarTable2Edge( + """The method to use when ordering \`SimilarTable2\`.""" + orderBy: [SimilarTable2SOrderBy!] = [PRIMARY_KEY_ASC] + ): SimilarTable2SEdge } -"""A \`ReservedPatchRecord\` edge in the connection.""" -type ReservedPatchRecordsEdge { - """A cursor for use in pagination.""" - cursor: Cursor +"""All input for the \`deleteSimilarTable2\` mutation.""" +input DeleteSimilarTable2Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The \`ReservedPatchRecord\` at the end of the edge.""" - node: ReservedPatchRecord + """ + The globally unique \`ID\` which will identify a single \`SimilarTable2\` to be deleted. + """ + nodeId: ID! } -"""Methods to use when ordering \`ReservedPatchRecord\`.""" -enum ReservedPatchRecordsOrderBy { - NATURAL - ID_ASC - ID_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +"""All input for the \`deleteSimilarTable2ById\` mutation.""" +input DeleteSimilarTable2ByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! } -"""A connection to a list of \`Reserved\` values.""" -type ReservedsConnection { - """A list of \`Reserved\` objects.""" - nodes: [Reserved]! - +"""The output of our delete \`ViewTable\` mutation.""" +type DeleteViewTablePayload { """ - A list of edges which contains the \`Reserved\` and cursor to aid in pagination. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - edges: [ReservedsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! + clientMutationId: String - """The count of *all* \`Reserved\` you could get from the connection.""" - totalCount: Int! -} + """The \`ViewTable\` that was deleted by this mutation.""" + viewTable: ViewTable + deletedViewTableId: ID -"""A \`Reserved\` edge in the connection.""" -type ReservedsEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """The \`Reserved\` at the end of the edge.""" - node: Reserved + """An edge for our \`ViewTable\`. May be used by Relay 1.""" + viewTableEdge( + """The method to use when ordering \`ViewTable\`.""" + orderBy: [ViewTablesOrderBy!] = [PRIMARY_KEY_ASC] + ): ViewTablesEdge } -"""Methods to use when ordering \`Reserved\`.""" -enum ReservedsOrderBy { - NATURAL - ID_ASC - ID_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +"""All input for the \`deleteViewTable\` mutation.""" +input DeleteViewTableInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """ + The globally unique \`ID\` which will identify a single \`ViewTable\` to be deleted. + """ + nodeId: ID! } -"""All input for the \`returnVoidMutation\` mutation.""" -input ReturnVoidMutationInput { +"""All input for the \`deleteViewTableById\` mutation.""" +input DeleteViewTableByIdInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String + id: Int! } -"""The output of our \`returnVoidMutation\` mutation.""" -type ReturnVoidMutationPayload { +"""The output of our delete \`Type\` mutation.""" +type DeleteTypePayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + """The \`Type\` that was deleted by this mutation.""" + type: Type + deletedTypeId: ID + """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query -} -"""The return type of our \`searchTestSummaries\` query.""" -type SearchTestSummariesRecord { - id: Int - totalDuration: Interval + """Reads a single \`Post\` that is related to this \`Type\`.""" + postBySmallint: Post + + """Reads a single \`Post\` that is related to this \`Type\`.""" + postById: Post + + """An edge for our \`Type\`. May be used by Relay 1.""" + typeEdge( + """The method to use when ordering \`Type\`.""" + orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] + ): TypesEdge } -type SimilarTable1 implements Node { +"""All input for the \`deleteType\` mutation.""" +input DeleteTypeInput { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """ + The globally unique \`ID\` which will identify a single \`Type\` to be deleted. """ nodeId: ID! +} + +"""All input for the \`deleteTypeById\` mutation.""" +input DeleteTypeByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String id: Int! - col1: Int - col2: Int - col3: Int! } -""" -A condition to be used against \`SimilarTable1\` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input SimilarTable1Condition { - """Checks for equality with the object’s \`id\` field.""" - id: Int +"""The output of our delete \`CompoundKey\` mutation.""" +type DeleteCompoundKeyPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Checks for equality with the object’s \`col1\` field.""" - col1: Int + """The \`CompoundKey\` that was deleted by this mutation.""" + compoundKey: CompoundKey + deletedCompoundKeyId: ID - """Checks for equality with the object’s \`col2\` field.""" - col2: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Checks for equality with the object’s \`col3\` field.""" - col3: Int + """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" + personByPersonId2: Person + + """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" + personByPersonId1: Person + + """An edge for our \`CompoundKey\`. May be used by Relay 1.""" + compoundKeyEdge( + """The method to use when ordering \`CompoundKey\`.""" + orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] + ): CompoundKeysEdge } -"""An input for mutations affecting \`SimilarTable1\`""" -input SimilarTable1Input { - id: Int - col1: Int - col2: Int - col3: Int! +"""All input for the \`deleteCompoundKey\` mutation.""" +input DeleteCompoundKeyInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """ + The globally unique \`ID\` which will identify a single \`CompoundKey\` to be deleted. + """ + nodeId: ID! } -""" -Represents an update to a \`SimilarTable1\`. Fields that are set will be updated. -""" -input SimilarTable1Patch { - id: Int - col1: Int - col2: Int - col3: Int +"""All input for the \`deleteCompoundKeyByPersonId1AndPersonId2\` mutation.""" +input DeleteCompoundKeyByPersonId1AndPersonId2Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + personId1: Int! + personId2: Int! } -"""A connection to a list of \`SimilarTable1\` values.""" -type SimilarTable1SConnection { - """A list of \`SimilarTable1\` objects.""" - nodes: [SimilarTable1]! +"""The output of our delete \`Issue756\` mutation.""" +type DeleteIssue756Payload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The \`Issue756\` that was deleted by this mutation.""" + issue756: Issue756 + deletedIssue756Id: ID """ - A list of edges which contains the \`SimilarTable1\` and cursor to aid in pagination. + Our root query field type. Allows us to run any query from our mutation payload. """ - edges: [SimilarTable1SEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! + query: Query - """The count of *all* \`SimilarTable1\` you could get from the connection.""" - totalCount: Int! + """An edge for our \`Issue756\`. May be used by Relay 1.""" + issue756Edge( + """The method to use when ordering \`Issue756\`.""" + orderBy: [Issue756SOrderBy!] = [PRIMARY_KEY_ASC] + ): Issue756SEdge } -"""A \`SimilarTable1\` edge in the connection.""" -type SimilarTable1SEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`SimilarTable1\` at the end of the edge.""" - node: SimilarTable1 -} +"""All input for the \`deleteIssue756\` mutation.""" +input DeleteIssue756Input { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String -"""Methods to use when ordering \`SimilarTable1\`.""" -enum SimilarTable1SOrderBy { - NATURAL - ID_ASC - ID_DESC - COL1_ASC - COL1_DESC - COL2_ASC - COL2_DESC - COL3_ASC - COL3_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC + """ + The globally unique \`ID\` which will identify a single \`Issue756\` to be deleted. + """ + nodeId: ID! } -type SimilarTable2 implements Node { +"""All input for the \`deleteIssue756ById\` mutation.""" +input DeleteIssue756ByIdInput { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - nodeId: ID! + clientMutationId: String id: Int! - col3: Int! - col4: Int - col5: Int } -""" -A condition to be used against \`SimilarTable2\` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input SimilarTable2Condition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`col3\` field.""" - col3: Int +"""The output of our delete \`LeftArm\` mutation.""" +type DeleteLeftArmPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Checks for equality with the object’s \`col4\` field.""" - col4: Int + """The \`LeftArm\` that was deleted by this mutation.""" + leftArm: LeftArm + deletedLeftArmId: ID - """Checks for equality with the object’s \`col5\` field.""" - col5: Int -} + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query -"""An input for mutations affecting \`SimilarTable2\`""" -input SimilarTable2Input { - id: Int - col3: Int! - col4: Int - col5: Int -} + """Reads a single \`Person\` that is related to this \`LeftArm\`.""" + personByPersonId: Person -""" -Represents an update to a \`SimilarTable2\`. Fields that are set will be updated. -""" -input SimilarTable2Patch { - id: Int - col3: Int - col4: Int - col5: Int + """An edge for our \`LeftArm\`. May be used by Relay 1.""" + leftArmEdge( + """The method to use when ordering \`LeftArm\`.""" + orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] + ): LeftArmsEdge } -"""A connection to a list of \`SimilarTable2\` values.""" -type SimilarTable2SConnection { - """A list of \`SimilarTable2\` objects.""" - nodes: [SimilarTable2]! - +"""All input for the \`deleteLeftArm\` mutation.""" +input DeleteLeftArmInput { """ - A list of edges which contains the \`SimilarTable2\` and cursor to aid in pagination. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - edges: [SimilarTable2SEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! + clientMutationId: String - """The count of *all* \`SimilarTable2\` you could get from the connection.""" - totalCount: Int! + """ + The globally unique \`ID\` which will identify a single \`LeftArm\` to be deleted. + """ + nodeId: ID! } -"""A \`SimilarTable2\` edge in the connection.""" -type SimilarTable2SEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`SimilarTable2\` at the end of the edge.""" - node: SimilarTable2 +"""All input for the \`deleteLeftArmById\` mutation.""" +input DeleteLeftArmByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: Int! } -"""Methods to use when ordering \`SimilarTable2\`.""" -enum SimilarTable2SOrderBy { - NATURAL - ID_ASC - ID_DESC - COL3_ASC - COL3_DESC - COL4_ASC - COL4_DESC - COL5_ASC - COL5_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +"""All input for the \`deleteLeftArmByPersonId\` mutation.""" +input DeleteLeftArmByPersonIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + personId: Int! } -"""A connection to a list of \`BigInt\` values.""" -type StaticBigIntegerConnection { - """A list of \`BigInt\` objects.""" - nodes: [BigInt]! +"""The output of our delete \`MyTable\` mutation.""" +type DeleteMyTablePayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The \`MyTable\` that was deleted by this mutation.""" + myTable: MyTable + deletedMyTableId: ID """ - A list of edges which contains the \`BigInt\` and cursor to aid in pagination. + Our root query field type. Allows us to run any query from our mutation payload. """ - edges: [StaticBigIntegerEdge!]! + query: Query - """The count of *all* \`BigInt\` you could get from the connection.""" - totalCount: Int! + """An edge for our \`MyTable\`. May be used by Relay 1.""" + myTableEdge( + """The method to use when ordering \`MyTable\`.""" + orderBy: [MyTablesOrderBy!] = [PRIMARY_KEY_ASC] + ): MyTablesEdge } -"""A \`BigInt\` edge in the connection.""" -type StaticBigIntegerEdge { - """A cursor for use in pagination.""" - cursor: Cursor +"""All input for the \`deleteMyTable\` mutation.""" +input DeleteMyTableInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String - """The \`BigInt\` at the end of the edge.""" - node: BigInt + """ + The globally unique \`ID\` which will identify a single \`MyTable\` to be deleted. + """ + nodeId: ID! } -"""All input for the \`tableMutation\` mutation.""" -input TableMutationInput { +"""All input for the \`deleteMyTableById\` mutation.""" +input DeleteMyTableByIdInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - id: Int + id: Int! } -"""The output of our \`tableMutation\` mutation.""" -type TableMutationPayload { +"""The output of our delete \`NullTestRecord\` mutation.""" +type DeleteNullTestRecordPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - post: Post + + """The \`NullTestRecord\` that was deleted by this mutation.""" + nullTestRecord: NullTestRecord + deletedNullTestRecordId: ID """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """Reads a single \`Person\` that is related to this \`Post\`.""" - personByAuthorId: Person + """An edge for our \`NullTestRecord\`. May be used by Relay 1.""" + nullTestRecordEdge( + """The method to use when ordering \`NullTestRecord\`.""" + orderBy: [NullTestRecordsOrderBy!] = [PRIMARY_KEY_ASC] + ): NullTestRecordsEdge +} - """An edge for our \`Post\`. May be used by Relay 1.""" - postEdge( - """The method to use when ordering \`Post\`.""" - orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] - ): PostsEdge +"""All input for the \`deleteNullTestRecord\` mutation.""" +input DeleteNullTestRecordInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """ + The globally unique \`ID\` which will identify a single \`NullTestRecord\` to be deleted. + """ + nodeId: ID! } -"""All input for the \`tableSetMutation\` mutation.""" -input TableSetMutationInput { +"""All input for the \`deleteNullTestRecordById\` mutation.""" +input DeleteNullTestRecordByIdInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String + id: Int! } -"""The output of our \`tableSetMutation\` mutation.""" -type TableSetMutationPayload { +"""The output of our delete \`Person\` mutation.""" +type DeletePersonPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - people: [Person] + + """The \`Person\` that was deleted by this mutation.""" + person: Person + deletedPersonId: ID """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query -} - -type Testview { - testviewid: Int - col1: Int - col2: Int -} - -""" -A condition to be used against \`Testview\` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input TestviewCondition { - """Checks for equality with the object’s \`testviewid\` field.""" - testviewid: Int - - """Checks for equality with the object’s \`col1\` field.""" - col1: Int - - """Checks for equality with the object’s \`col2\` field.""" - col2: Int -} -"""An input for mutations affecting \`Testview\`""" -input TestviewInput { - testviewid: Int - col1: Int - col2: Int + """An edge for our \`Person\`. May be used by Relay 1.""" + personEdge( + """The method to use when ordering \`Person\`.""" + orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] + ): PeopleEdge } -"""A connection to a list of \`Testview\` values.""" -type TestviewsConnection { - """A list of \`Testview\` objects.""" - nodes: [Testview]! - +"""All input for the \`deletePerson\` mutation.""" +input DeletePersonInput { """ - A list of edges which contains the \`Testview\` and cursor to aid in pagination. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - edges: [TestviewsEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! + clientMutationId: String - """The count of *all* \`Testview\` you could get from the connection.""" - totalCount: Int! + """ + The globally unique \`ID\` which will identify a single \`Person\` to be deleted. + """ + nodeId: ID! } -"""A \`Testview\` edge in the connection.""" -type TestviewsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`Testview\` at the end of the edge.""" - node: Testview -} +"""All input for the \`deletePersonById\` mutation.""" +input DeletePersonByIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String -"""Methods to use when ordering \`Testview\`.""" -enum TestviewsOrderBy { - NATURAL - TESTVIEWID_ASC - TESTVIEWID_DESC - COL1_ASC - COL1_DESC - COL2_ASC - COL2_DESC + """The primary unique identifier for the person""" + id: Int! } -""" -The exact time of day, does not include the date. May or may not have a timezone offset. -""" -scalar Time - -type Type implements Node { +"""All input for the \`deletePersonByEmail\` mutation.""" +input DeletePersonByEmailInput { """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - nodeId: ID! - id: Int! - smallint: Int! - bigint: BigInt! - numeric: BigFloat! - decimal: BigFloat! - boolean: Boolean! - varchar: String! - enum: Color! - enumArray: [Color]! - domain: AnInt! - domain2: AnotherInt! - textArray: [String]! - json: JSON! - jsonb: JSON! - nullableRange: BigFloatRange - numrange: BigFloatRange! - daterange: DateRange! - anIntRange: AnIntRange! - timestamp: Datetime! - timestamptz: Datetime! - date: Date! - time: Time! - timetz: Time! - interval: Interval! - intervalArray: [Interval]! - money: Float! - compoundType: CompoundType! - nestedCompoundType: NestedCompoundType! - nullableCompoundType: CompoundType - nullableNestedCompoundType: NestedCompoundType - point: Point! - nullablePoint: Point - inet: InternetAddress - cidr: String - macaddr: String - regproc: RegProc - regprocedure: RegProcedure - regoper: RegOper - regoperator: RegOperator - regclass: RegClass - regtype: RegType - regconfig: RegConfig - regdictionary: RegDictionary - textArrayDomain: [String] - int8ArrayDomain: [BigInt] - - """Reads a single \`Post\` that is related to this \`Type\`.""" - postBySmallint: Post - - """Reads a single \`Post\` that is related to this \`Type\`.""" - postById: Post + clientMutationId: String + email: Email! } -""" -A condition to be used against \`Type\` object types. All fields are tested for equality and combined with a logical ‘and.’ -""" -input TypeCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`smallint\` field.""" - smallint: Int - - """Checks for equality with the object’s \`bigint\` field.""" - bigint: BigInt - - """Checks for equality with the object’s \`numeric\` field.""" - numeric: BigFloat - - """Checks for equality with the object’s \`decimal\` field.""" - decimal: BigFloat - - """Checks for equality with the object’s \`boolean\` field.""" - boolean: Boolean - - """Checks for equality with the object’s \`varchar\` field.""" - varchar: String - - """Checks for equality with the object’s \`enum\` field.""" - enum: Color - - """Checks for equality with the object’s \`enumArray\` field.""" - enumArray: [Color] - - """Checks for equality with the object’s \`domain\` field.""" - domain: AnInt - - """Checks for equality with the object’s \`domain2\` field.""" - domain2: AnotherInt - - """Checks for equality with the object’s \`textArray\` field.""" - textArray: [String] - - """Checks for equality with the object’s \`json\` field.""" - json: JSON - - """Checks for equality with the object’s \`jsonb\` field.""" - jsonb: JSON - - """Checks for equality with the object’s \`nullableRange\` field.""" - nullableRange: BigFloatRangeInput - - """Checks for equality with the object’s \`numrange\` field.""" - numrange: BigFloatRangeInput - - """Checks for equality with the object’s \`daterange\` field.""" - daterange: DateRangeInput - - """Checks for equality with the object’s \`anIntRange\` field.""" - anIntRange: AnIntRangeInput - - """Checks for equality with the object’s \`timestamp\` field.""" - timestamp: Datetime - - """Checks for equality with the object’s \`timestamptz\` field.""" - timestamptz: Datetime - - """Checks for equality with the object’s \`date\` field.""" - date: Date - - """Checks for equality with the object’s \`time\` field.""" - time: Time - - """Checks for equality with the object’s \`timetz\` field.""" - timetz: Time - - """Checks for equality with the object’s \`interval\` field.""" - interval: IntervalInput - - """Checks for equality with the object’s \`intervalArray\` field.""" - intervalArray: [IntervalInput] +"""The output of our delete \`PersonSecret\` mutation.""" +type DeletePersonSecretPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String - """Checks for equality with the object’s \`money\` field.""" - money: Float + """The \`PersonSecret\` that was deleted by this mutation.""" + personSecret: PersonSecret + deletedPersonSecretId: ID - """Checks for equality with the object’s \`compoundType\` field.""" - compoundType: CompoundTypeInput + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """Checks for equality with the object’s \`nestedCompoundType\` field.""" - nestedCompoundType: NestedCompoundTypeInput + """The \`Person\` this \`PersonSecret\` belongs to.""" + personByPersonId: Person - """Checks for equality with the object’s \`nullableCompoundType\` field.""" - nullableCompoundType: CompoundTypeInput + """An edge for our \`PersonSecret\`. May be used by Relay 1.""" + personSecretEdge( + """The method to use when ordering \`PersonSecret\`.""" + orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] + ): PersonSecretsEdge @deprecated(reason: "This is deprecated (comment on table c.person_secret).") +} +"""All input for the \`deletePersonSecret\` mutation.""" +input DeletePersonSecretInput { """ - Checks for equality with the object’s \`nullableNestedCompoundType\` field. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - nullableNestedCompoundType: NestedCompoundTypeInput - - """Checks for equality with the object’s \`point\` field.""" - point: PointInput - - """Checks for equality with the object’s \`nullablePoint\` field.""" - nullablePoint: PointInput + clientMutationId: String - """Checks for equality with the object’s \`inet\` field.""" - inet: InternetAddress + """ + The globally unique \`ID\` which will identify a single \`PersonSecret\` to be deleted. + """ + nodeId: ID! +} - """Checks for equality with the object’s \`cidr\` field.""" - cidr: String +"""All input for the \`deletePersonSecretByPersonId\` mutation.""" +input DeletePersonSecretByPersonIdInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + personId: Int! +} - """Checks for equality with the object’s \`macaddr\` field.""" - macaddr: String +"""The output of our \`add1Mutation\` mutation.""" +type Add1MutationPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + integer: Int - """Checks for equality with the object’s \`regproc\` field.""" - regproc: RegProc + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} - """Checks for equality with the object’s \`regprocedure\` field.""" - regprocedure: RegProcedure +"""All input for the \`add1Mutation\` mutation.""" +input Add1MutationInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + arg0: Int! + arg1: Int! +} - """Checks for equality with the object’s \`regoper\` field.""" - regoper: RegOper +"""The output of our \`add2Mutation\` mutation.""" +type Add2MutationPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + integer: Int - """Checks for equality with the object’s \`regoperator\` field.""" - regoperator: RegOperator + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} - """Checks for equality with the object’s \`regclass\` field.""" - regclass: RegClass +"""All input for the \`add2Mutation\` mutation.""" +input Add2MutationInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + a: Int! + b: Int +} - """Checks for equality with the object’s \`regtype\` field.""" - regtype: RegType +"""The output of our \`add3Mutation\` mutation.""" +type Add3MutationPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + integer: Int - """Checks for equality with the object’s \`regconfig\` field.""" - regconfig: RegConfig + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} - """Checks for equality with the object’s \`regdictionary\` field.""" - regdictionary: RegDictionary +"""All input for the \`add3Mutation\` mutation.""" +input Add3MutationInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + a: Int + arg1: Int +} - """Checks for equality with the object’s \`textArrayDomain\` field.""" - textArrayDomain: [String] +"""The output of our \`add4Mutation\` mutation.""" +type Add4MutationPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + integer: Int - """Checks for equality with the object’s \`int8ArrayDomain\` field.""" - int8ArrayDomain: [BigInt] + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query } -"""All input for the \`typeFunctionConnectionMutation\` mutation.""" -input TypeFunctionConnectionMutationInput { +"""All input for the \`add4Mutation\` mutation.""" +input Add4MutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String + arg0: Int + b: Int } -"""The output of our \`typeFunctionConnectionMutation\` mutation.""" -type TypeFunctionConnectionMutationPayload { +"""The output of our \`add4MutationError\` mutation.""" +type Add4MutationErrorPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - types: [Type] + integer: Int """ Our root query field type. Allows us to run any query from our mutation payload. @@ -8523,23 +8769,25 @@ type TypeFunctionConnectionMutationPayload { query: Query } -"""All input for the \`typeFunctionListMutation\` mutation.""" -input TypeFunctionListMutationInput { +"""All input for the \`add4MutationError\` mutation.""" +input Add4MutationErrorInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String + arg0: Int + b: Int } -"""The output of our \`typeFunctionListMutation\` mutation.""" -type TypeFunctionListMutationPayload { +"""The output of our \`mutationCompoundTypeArray\` mutation.""" +type MutationCompoundTypeArrayPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - types: [Type] + compoundTypes: [CompoundType] """ Our root query field type. Allows us to run any query from our mutation payload. @@ -8547,190 +8795,155 @@ type TypeFunctionListMutationPayload { query: Query } -"""All input for the \`typeFunctionMutation\` mutation.""" -input TypeFunctionMutationInput { +"""All input for the \`mutationCompoundTypeArray\` mutation.""" +input MutationCompoundTypeArrayInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - id: Int + object: CompoundTypeInput } -"""The output of our \`typeFunctionMutation\` mutation.""" -type TypeFunctionMutationPayload { +"""The output of our \`mutationIntervalArray\` mutation.""" +type MutationIntervalArrayPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - type: Type + intervals: [Interval] """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query +} - """Reads a single \`Post\` that is related to this \`Type\`.""" - postBySmallint: Post +"""All input for the \`mutationIntervalArray\` mutation.""" +input MutationIntervalArrayInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String +} - """Reads a single \`Post\` that is related to this \`Type\`.""" - postById: Post +"""The output of our \`mutationIntervalSet\` mutation.""" +type MutationIntervalSetPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + intervals: [Interval] - """An edge for our \`Type\`. May be used by Relay 1.""" - typeEdge( - """The method to use when ordering \`Type\`.""" - orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] - ): TypesEdge + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query } -"""An input for mutations affecting \`Type\`""" -input TypeInput { - id: Int - smallint: Int! - bigint: BigInt! - numeric: BigFloat! - decimal: BigFloat! - boolean: Boolean! - varchar: String! - enum: Color! - enumArray: [Color]! - domain: AnInt! - domain2: AnotherInt! - textArray: [String]! - json: JSON! - jsonb: JSON! - nullableRange: BigFloatRangeInput - numrange: BigFloatRangeInput! - daterange: DateRangeInput! - anIntRange: AnIntRangeInput! - timestamp: Datetime! - timestamptz: Datetime! - date: Date! - time: Time! - timetz: Time! - interval: IntervalInput! - intervalArray: [IntervalInput]! - money: Float! - compoundType: CompoundTypeInput! - nestedCompoundType: NestedCompoundTypeInput! - nullableCompoundType: CompoundTypeInput - nullableNestedCompoundType: NestedCompoundTypeInput - point: PointInput! - nullablePoint: PointInput - inet: InternetAddress - cidr: String - macaddr: String - regproc: RegProc - regprocedure: RegProcedure - regoper: RegOper - regoperator: RegOperator - regclass: RegClass - regtype: RegType - regconfig: RegConfig - regdictionary: RegDictionary - textArrayDomain: [String] - int8ArrayDomain: [BigInt] +"""All input for the \`mutationIntervalSet\` mutation.""" +input MutationIntervalSetInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String } -"""Represents an update to a \`Type\`. Fields that are set will be updated.""" -input TypePatch { - id: Int - smallint: Int - bigint: BigInt - numeric: BigFloat - decimal: BigFloat - boolean: Boolean - varchar: String - enum: Color - enumArray: [Color] - domain: AnInt - domain2: AnotherInt - textArray: [String] - json: JSON - jsonb: JSON - nullableRange: BigFloatRangeInput - numrange: BigFloatRangeInput - daterange: DateRangeInput - anIntRange: AnIntRangeInput - timestamp: Datetime - timestamptz: Datetime - date: Date - time: Time - timetz: Time - interval: IntervalInput - intervalArray: [IntervalInput] - money: Float - compoundType: CompoundTypeInput - nestedCompoundType: NestedCompoundTypeInput - nullableCompoundType: CompoundTypeInput - nullableNestedCompoundType: NestedCompoundTypeInput - point: PointInput - nullablePoint: PointInput - inet: InternetAddress - cidr: String - macaddr: String - regproc: RegProc - regprocedure: RegProcedure - regoper: RegOper - regoperator: RegOperator - regclass: RegClass - regtype: RegType - regconfig: RegConfig - regdictionary: RegDictionary - textArrayDomain: [String] - int8ArrayDomain: [BigInt] +"""The output of our \`mutationTextArray\` mutation.""" +type MutationTextArrayPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + strings: [String] + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query } -"""A connection to a list of \`Type\` values.""" -type TypesConnection { - """A list of \`Type\` objects.""" - nodes: [Type]! +"""All input for the \`mutationTextArray\` mutation.""" +input MutationTextArrayInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String +} +"""The output of our \`postMany\` mutation.""" +type PostManyPayload { """ - A list of edges which contains the \`Type\` and cursor to aid in pagination. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - edges: [TypesEdge!]! + clientMutationId: String + posts: [Post] - """Information to aid in pagination.""" - pageInfo: PageInfo! + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} - """The count of *all* \`Type\` you could get from the connection.""" - totalCount: Int! +"""All input for the \`postMany\` mutation.""" +input PostManyInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + posts: [PostInput] } -"""A \`Type\` edge in the connection.""" -type TypesEdge { - """A cursor for use in pagination.""" - cursor: Cursor +"""The output of our \`postWithSuffix\` mutation.""" +type PostWithSuffixPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + post: Post - """The \`Type\` at the end of the edge.""" - node: Type + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """Reads a single \`Person\` that is related to this \`Post\`.""" + personByAuthorId: Person + + """An edge for our \`Post\`. May be used by Relay 1.""" + postEdge( + """The method to use when ordering \`Post\`.""" + orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] + ): PostsEdge } -"""All input for the \`typesMutation\` mutation.""" -input TypesMutationInput { +"""All input for the \`postWithSuffix\` mutation.""" +input PostWithSuffixInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - a: BigInt! - b: Boolean! - c: String! - d: [Int]! - e: JSON! - f: FloatRangeInput! + post: PostInput + suffix: String } -"""The output of our \`typesMutation\` mutation.""" -type TypesMutationPayload { +"""The output of our \`returnVoidMutation\` mutation.""" +type ReturnVoidMutationPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - boolean: Boolean """ Our root query field type. Allows us to run any query from our mutation payload. @@ -8738,1428 +8951,1215 @@ type TypesMutationPayload { query: Query } -"""Methods to use when ordering \`Type\`.""" -enum TypesOrderBy { - NATURAL - ID_ASC - ID_DESC - SMALLINT_ASC - SMALLINT_DESC - BIGINT_ASC - BIGINT_DESC - NUMERIC_ASC - NUMERIC_DESC - DECIMAL_ASC - DECIMAL_DESC - BOOLEAN_ASC - BOOLEAN_DESC - VARCHAR_ASC - VARCHAR_DESC - ENUM_ASC - ENUM_DESC - ENUM_ARRAY_ASC - ENUM_ARRAY_DESC - DOMAIN_ASC - DOMAIN_DESC - DOMAIN2_ASC - DOMAIN2_DESC - TEXT_ARRAY_ASC - TEXT_ARRAY_DESC - JSON_ASC - JSON_DESC - JSONB_ASC - JSONB_DESC - NULLABLE_RANGE_ASC - NULLABLE_RANGE_DESC - NUMRANGE_ASC - NUMRANGE_DESC - DATERANGE_ASC - DATERANGE_DESC - AN_INT_RANGE_ASC - AN_INT_RANGE_DESC - TIMESTAMP_ASC - TIMESTAMP_DESC - TIMESTAMPTZ_ASC - TIMESTAMPTZ_DESC - DATE_ASC - DATE_DESC - TIME_ASC - TIME_DESC - TIMETZ_ASC - TIMETZ_DESC - INTERVAL_ASC - INTERVAL_DESC - INTERVAL_ARRAY_ASC - INTERVAL_ARRAY_DESC - MONEY_ASC - MONEY_DESC - COMPOUND_TYPE_ASC - COMPOUND_TYPE_DESC - NESTED_COMPOUND_TYPE_ASC - NESTED_COMPOUND_TYPE_DESC - NULLABLE_COMPOUND_TYPE_ASC - NULLABLE_COMPOUND_TYPE_DESC - NULLABLE_NESTED_COMPOUND_TYPE_ASC - NULLABLE_NESTED_COMPOUND_TYPE_DESC - POINT_ASC - POINT_DESC - NULLABLE_POINT_ASC - NULLABLE_POINT_DESC - INET_ASC - INET_DESC - CIDR_ASC - CIDR_DESC - MACADDR_ASC - MACADDR_DESC - REGPROC_ASC - REGPROC_DESC - REGPROCEDURE_ASC - REGPROCEDURE_DESC - REGOPER_ASC - REGOPER_DESC - REGOPERATOR_ASC - REGOPERATOR_DESC - REGCLASS_ASC - REGCLASS_DESC - REGTYPE_ASC - REGTYPE_DESC - REGCONFIG_ASC - REGCONFIG_DESC - REGDICTIONARY_ASC - REGDICTIONARY_DESC - TEXT_ARRAY_DOMAIN_ASC - TEXT_ARRAY_DOMAIN_DESC - INT8_ARRAY_DOMAIN_ASC - INT8_ARRAY_DOMAIN_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC +"""All input for the \`returnVoidMutation\` mutation.""" +input ReturnVoidMutationInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String } -type UniqueForeignKey { - compoundKey1: Int - compoundKey2: Int +"""The output of our \`authenticate\` mutation.""" +type AuthenticatePayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + jwtToken: JwtToken """ - Reads a single \`CompoundKey\` that is related to this \`UniqueForeignKey\`. + Our root query field type. Allows us to run any query from our mutation payload. """ - compoundKeyByCompoundKey1AndCompoundKey2: CompoundKey + query: Query } -"""A connection to a list of \`UniqueForeignKey\` values.""" -type UniqueForeignKeysConnection { - """A list of \`UniqueForeignKey\` objects.""" - nodes: [UniqueForeignKey]! +type JwtToken { + role: String + exp: BigInt + a: Int + b: BigFloat + c: BigInt +} +"""All input for the \`authenticate\` mutation.""" +input AuthenticateInput { """ - A list of edges which contains the \`UniqueForeignKey\` and cursor to aid in pagination. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - edges: [UniqueForeignKeysEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! + clientMutationId: String + a: Int + b: BigFloat + c: BigInt +} +"""The output of our \`authenticateFail\` mutation.""" +type AuthenticateFailPayload { """ - The count of *all* \`UniqueForeignKey\` you could get from the connection. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - totalCount: Int! -} - -"""A \`UniqueForeignKey\` edge in the connection.""" -type UniqueForeignKeysEdge { - """A cursor for use in pagination.""" - cursor: Cursor + clientMutationId: String + jwtToken: JwtToken - """The \`UniqueForeignKey\` at the end of the edge.""" - node: UniqueForeignKey + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query } -"""YOYOYO!!""" -type UpdatableView { - x: Int - name: String - description: String - - """This is constantly 2""" - constant: Int +"""All input for the \`authenticateFail\` mutation.""" +input AuthenticateFailInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String } -""" -A condition to be used against \`UpdatableView\` object types. All fields are -tested for equality and combined with a logical ‘and.’ -""" -input UpdatableViewCondition { - """Checks for equality with the object’s \`x\` field.""" - x: Int - - """Checks for equality with the object’s \`name\` field.""" - name: String - - """Checks for equality with the object’s \`description\` field.""" - description: String +"""The output of our \`authenticateMany\` mutation.""" +type AuthenticateManyPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + jwtTokens: [JwtToken] - """Checks for equality with the object’s \`constant\` field.""" - constant: Int + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query } -"""An input for mutations affecting \`UpdatableView\`""" -input UpdatableViewInput { - x: Int - name: String - description: String - - """This is constantly 2""" - constant: Int +"""All input for the \`authenticateMany\` mutation.""" +input AuthenticateManyInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + a: Int + b: BigFloat + c: BigInt } -"""A connection to a list of \`UpdatableView\` values.""" -type UpdatableViewsConnection { - """A list of \`UpdatableView\` objects.""" - nodes: [UpdatableView]! - +"""The output of our \`authenticatePayload\` mutation.""" +type AuthenticatePayloadPayload { """ - A list of edges which contains the \`UpdatableView\` and cursor to aid in pagination. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - edges: [UpdatableViewsEdge!]! + clientMutationId: String + authPayload: AuthPayload - """Information to aid in pagination.""" - pageInfo: PageInfo! + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query - """The count of *all* \`UpdatableView\` you could get from the connection.""" - totalCount: Int! + """Reads a single \`Person\` that is related to this \`AuthPayload\`.""" + personById: Person } -"""A \`UpdatableView\` edge in the connection.""" -type UpdatableViewsEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`UpdatableView\` at the end of the edge.""" - node: UpdatableView -} +type AuthPayload { + jwt: JwtToken + id: Int + admin: Boolean -"""Methods to use when ordering \`UpdatableView\`.""" -enum UpdatableViewsOrderBy { - NATURAL - X_ASC - X_DESC - NAME_ASC - NAME_DESC - DESCRIPTION_ASC - DESCRIPTION_DESC - CONSTANT_ASC - CONSTANT_DESC + """Reads a single \`Person\` that is related to this \`AuthPayload\`.""" + personById: Person } -"""All input for the \`updateCompoundKeyByPersonId1AndPersonId2\` mutation.""" -input UpdateCompoundKeyByPersonId1AndPersonId2Input { +"""All input for the \`authenticatePayload\` mutation.""" +input AuthenticatePayloadInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`CompoundKey\` being updated. - """ - compoundKeyPatch: CompoundKeyPatch! - personId1: Int! - personId2: Int! + a: Int + b: BigFloat + c: BigInt } -"""All input for the \`updateCompoundKey\` mutation.""" -input UpdateCompoundKeyInput { +"""The output of our \`compoundTypeArrayMutation\` mutation.""" +type CompoundTypeArrayMutationPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + compoundTypes: [CompoundType] """ - The globally unique \`ID\` which will identify a single \`CompoundKey\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`compoundTypeArrayMutation\` mutation.""" +input CompoundTypeArrayMutationInput { """ - An object where the defined keys will be set on the \`CompoundKey\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - compoundKeyPatch: CompoundKeyPatch! + clientMutationId: String + object: CompoundTypeInput } -"""The output of our update \`CompoundKey\` mutation.""" -type UpdateCompoundKeyPayload { +"""The output of our \`compoundTypeMutation\` mutation.""" +type CompoundTypeMutationPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`CompoundKey\` that was updated by this mutation.""" - compoundKey: CompoundKey + compoundType: CompoundType """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" - personByPersonId2: Person - - """Reads a single \`Person\` that is related to this \`CompoundKey\`.""" - personByPersonId1: Person - - """An edge for our \`CompoundKey\`. May be used by Relay 1.""" - compoundKeyEdge( - """The method to use when ordering \`CompoundKey\`.""" - orderBy: [CompoundKeysOrderBy!] = [PRIMARY_KEY_ASC] - ): CompoundKeysEdge } -"""All input for the \`updateDefaultValueById\` mutation.""" -input UpdateDefaultValueByIdInput { +"""All input for the \`compoundTypeMutation\` mutation.""" +input CompoundTypeMutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String + object: CompoundTypeInput +} +"""The output of our \`compoundTypeSetMutation\` mutation.""" +type CompoundTypeSetMutationPayload { """ - An object where the defined keys will be set on the \`DefaultValue\` being updated. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - defaultValuePatch: DefaultValuePatch! - id: Int! + clientMutationId: String + compoundTypes: [CompoundType] + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query } -"""All input for the \`updateDefaultValue\` mutation.""" -input UpdateDefaultValueInput { +"""All input for the \`compoundTypeSetMutation\` mutation.""" +input CompoundTypeSetMutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String + object: CompoundTypeInput +} + +"""The output of our \`guidFn\` mutation.""" +type GuidFnPayload { + """ + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + guid: Guid """ - The globally unique \`ID\` which will identify a single \`DefaultValue\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} + +scalar Guid +"""All input for the \`guidFn\` mutation.""" +input GuidFnInput { """ - An object where the defined keys will be set on the \`DefaultValue\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - defaultValuePatch: DefaultValuePatch! + clientMutationId: String + g: Guid } -"""The output of our update \`DefaultValue\` mutation.""" -type UpdateDefaultValuePayload { +"""The output of our \`mult1\` mutation.""" +type Mult1Payload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`DefaultValue\` that was updated by this mutation.""" - defaultValue: DefaultValue + integer: Int """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`DefaultValue\`. May be used by Relay 1.""" - defaultValueEdge( - """The method to use when ordering \`DefaultValue\`.""" - orderBy: [DefaultValuesOrderBy!] = [PRIMARY_KEY_ASC] - ): DefaultValuesEdge } -"""All input for the \`updateInputById\` mutation.""" -input UpdateInputByIdInput { +"""All input for the \`mult1\` mutation.""" +input Mult1Input { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`Input\` being updated. - """ - inputPatch: InputPatch! - id: Int! + arg0: Int + arg1: Int } -"""All input for the \`updateInput\` mutation.""" -input UpdateInputInput { +"""The output of our \`mult2\` mutation.""" +type Mult2Payload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + integer: Int """ - The globally unique \`ID\` which will identify a single \`Input\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`mult2\` mutation.""" +input Mult2Input { """ - An object where the defined keys will be set on the \`Input\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - inputPatch: InputPatch! + clientMutationId: String + arg0: Int + arg1: Int } -"""The output of our update \`Input\` mutation.""" -type UpdateInputPayload { +"""The output of our \`mult3\` mutation.""" +type Mult3Payload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`Input\` that was updated by this mutation.""" - input: Input + integer: Int """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`Input\`. May be used by Relay 1.""" - inputEdge( - """The method to use when ordering \`Input\`.""" - orderBy: [InputsOrderBy!] = [PRIMARY_KEY_ASC] - ): InputsEdge } -"""All input for the \`updateIssue756ById\` mutation.""" -input UpdateIssue756ByIdInput { +"""All input for the \`mult3\` mutation.""" +input Mult3Input { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`Issue756\` being updated. - """ - issue756Patch: Issue756Patch! - id: Int! + arg0: Int! + arg1: Int! } -"""All input for the \`updateIssue756\` mutation.""" -input UpdateIssue756Input { +"""The output of our \`mult4\` mutation.""" +type Mult4Payload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + integer: Int """ - The globally unique \`ID\` which will identify a single \`Issue756\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`mult4\` mutation.""" +input Mult4Input { """ - An object where the defined keys will be set on the \`Issue756\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - issue756Patch: Issue756Patch! + clientMutationId: String + arg0: Int! + arg1: Int! } -"""The output of our update \`Issue756\` mutation.""" -type UpdateIssue756Payload { +"""The output of our \`typeFunctionConnectionMutation\` mutation.""" +type TypeFunctionConnectionMutationPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`Issue756\` that was updated by this mutation.""" - issue756: Issue756 + types: [Type] """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`Issue756\`. May be used by Relay 1.""" - issue756Edge( - """The method to use when ordering \`Issue756\`.""" - orderBy: [Issue756SOrderBy!] = [PRIMARY_KEY_ASC] - ): Issue756SEdge } -"""All input for the \`updateLeftArmById\` mutation.""" -input UpdateLeftArmByIdInput { +"""All input for the \`typeFunctionConnectionMutation\` mutation.""" +input TypeFunctionConnectionMutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`LeftArm\` being updated. - """ - leftArmPatch: LeftArmPatch! - id: Int! } -"""All input for the \`updateLeftArmByPersonId\` mutation.""" -input UpdateLeftArmByPersonIdInput { +"""The output of our \`typeFunctionListMutation\` mutation.""" +type TypeFunctionListMutationPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + types: [Type] """ - An object where the defined keys will be set on the \`LeftArm\` being updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - leftArmPatch: LeftArmPatch! - personId: Int! + query: Query } -"""All input for the \`updateLeftArm\` mutation.""" -input UpdateLeftArmInput { +"""All input for the \`typeFunctionListMutation\` mutation.""" +input TypeFunctionListMutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - The globally unique \`ID\` which will identify a single \`LeftArm\` to be updated. - """ - nodeId: ID! - - """ - An object where the defined keys will be set on the \`LeftArm\` being updated. - """ - leftArmPatch: LeftArmPatch! } -"""The output of our update \`LeftArm\` mutation.""" -type UpdateLeftArmPayload { +"""The output of our \`typeFunctionMutation\` mutation.""" +type TypeFunctionMutationPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`LeftArm\` that was updated by this mutation.""" - leftArm: LeftArm + type: Type """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """Reads a single \`Person\` that is related to this \`LeftArm\`.""" - personByPersonId: Person + """Reads a single \`Post\` that is related to this \`Type\`.""" + postBySmallint: Post - """An edge for our \`LeftArm\`. May be used by Relay 1.""" - leftArmEdge( - """The method to use when ordering \`LeftArm\`.""" - orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] - ): LeftArmsEdge + """Reads a single \`Post\` that is related to this \`Type\`.""" + postById: Post + + """An edge for our \`Type\`. May be used by Relay 1.""" + typeEdge( + """The method to use when ordering \`Type\`.""" + orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] + ): TypesEdge } -"""All input for the \`updateMyTableById\` mutation.""" -input UpdateMyTableByIdInput { +"""All input for the \`typeFunctionMutation\` mutation.""" +input TypeFunctionMutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`MyTable\` being updated. - """ - myTablePatch: MyTablePatch! - id: Int! + id: Int } -"""All input for the \`updateMyTable\` mutation.""" -input UpdateMyTableInput { +"""The output of our \`intSetMutation\` mutation.""" +type IntSetMutationPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + integers: [Int] """ - The globally unique \`ID\` which will identify a single \`MyTable\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`intSetMutation\` mutation.""" +input IntSetMutationInput { """ - An object where the defined keys will be set on the \`MyTable\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - myTablePatch: MyTablePatch! + clientMutationId: String + x: Int + y: Int + z: Int } -"""The output of our update \`MyTable\` mutation.""" -type UpdateMyTablePayload { +"""The output of our \`issue756Mutation\` mutation.""" +type Issue756MutationPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`MyTable\` that was updated by this mutation.""" - myTable: MyTable + issue756: Issue756 """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our \`MyTable\`. May be used by Relay 1.""" - myTableEdge( - """The method to use when ordering \`MyTable\`.""" - orderBy: [MyTablesOrderBy!] = [PRIMARY_KEY_ASC] - ): MyTablesEdge + """An edge for our \`Issue756\`. May be used by Relay 1.""" + issue756Edge( + """The method to use when ordering \`Issue756\`.""" + orderBy: [Issue756SOrderBy!] = [PRIMARY_KEY_ASC] + ): Issue756SEdge } -"""All input for the \`updateNoPrimaryKeyById\` mutation.""" -input UpdateNoPrimaryKeyByIdInput { +"""All input for the \`issue756Mutation\` mutation.""" +input Issue756MutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`NoPrimaryKey\` being updated. - """ - noPrimaryKeyPatch: NoPrimaryKeyPatch! - id: Int! } -"""The output of our update \`NoPrimaryKey\` mutation.""" -type UpdateNoPrimaryKeyPayload { +"""The output of our \`issue756SetMutation\` mutation.""" +type Issue756SetMutationPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The \`NoPrimaryKey\` that was updated by this mutation.""" - noPrimaryKey: NoPrimaryKey + """ + clientMutationId: String + issue756S: [Issue756] """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`NoPrimaryKey\`. May be used by Relay 1.""" - noPrimaryKeyEdge( - """The method to use when ordering \`NoPrimaryKey\`.""" - orderBy: [NoPrimaryKeysOrderBy!] = [NATURAL] - ): NoPrimaryKeysEdge } -"""All input for the \`updateNullTestRecordById\` mutation.""" -input UpdateNullTestRecordByIdInput { +"""All input for the \`issue756SetMutation\` mutation.""" +input Issue756SetMutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`NullTestRecord\` being updated. - """ - nullTestRecordPatch: NullTestRecordPatch! - id: Int! } -"""All input for the \`updateNullTestRecord\` mutation.""" -input UpdateNullTestRecordInput { +"""The output of our \`jsonIdentityMutation\` mutation.""" +type JsonIdentityMutationPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + json: JSON """ - The globally unique \`ID\` which will identify a single \`NullTestRecord\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`jsonIdentityMutation\` mutation.""" +input JsonIdentityMutationInput { """ - An object where the defined keys will be set on the \`NullTestRecord\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - nullTestRecordPatch: NullTestRecordPatch! + clientMutationId: String + json: JSON } -"""The output of our update \`NullTestRecord\` mutation.""" -type UpdateNullTestRecordPayload { +"""The output of our \`jsonbIdentityMutation\` mutation.""" +type JsonbIdentityMutationPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`NullTestRecord\` that was updated by this mutation.""" - nullTestRecord: NullTestRecord + json: JSON """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`NullTestRecord\`. May be used by Relay 1.""" - nullTestRecordEdge( - """The method to use when ordering \`NullTestRecord\`.""" - orderBy: [NullTestRecordsOrderBy!] = [PRIMARY_KEY_ASC] - ): NullTestRecordsEdge } -"""All input for the \`updatePatchById\` mutation.""" -input UpdatePatchByIdInput { +"""All input for the \`jsonbIdentityMutation\` mutation.""" +input JsonbIdentityMutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`Patch\` being updated. - """ - patchPatch: PatchPatch! - id: Int! + json: JSON } -"""All input for the \`updatePatch\` mutation.""" -input UpdatePatchInput { +"""The output of our \`jsonbIdentityMutationPlpgsql\` mutation.""" +type JsonbIdentityMutationPlpgsqlPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + json: JSON """ - The globally unique \`ID\` which will identify a single \`Patch\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`jsonbIdentityMutationPlpgsql\` mutation.""" +input JsonbIdentityMutationPlpgsqlInput { """ - An object where the defined keys will be set on the \`Patch\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - patchPatch: PatchPatch! + clientMutationId: String + _theJson: JSON! } -"""The output of our update \`Patch\` mutation.""" -type UpdatePatchPayload { +"""The output of our \`jsonbIdentityMutationPlpgsqlWithDefault\` mutation.""" +type JsonbIdentityMutationPlpgsqlWithDefaultPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`Patch\` that was updated by this mutation.""" - patch: Patch + json: JSON """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`Patch\`. May be used by Relay 1.""" - patchEdge( - """The method to use when ordering \`Patch\`.""" - orderBy: [PatchesOrderBy!] = [PRIMARY_KEY_ASC] - ): PatchesEdge } -"""All input for the \`updatePersonByEmail\` mutation.""" -input UpdatePersonByEmailInput { +"""All input for the \`jsonbIdentityMutationPlpgsqlWithDefault\` mutation.""" +input JsonbIdentityMutationPlpgsqlWithDefaultInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`Person\` being updated. - """ - personPatch: PersonPatch! - email: Email! + _theJson: JSON } -"""All input for the \`updatePersonById\` mutation.""" -input UpdatePersonByIdInput { +"""The output of our \`leftArmIdentity\` mutation.""" +type LeftArmIdentityPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + leftArm: LeftArm """ - An object where the defined keys will be set on the \`Person\` being updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - personPatch: PersonPatch! + query: Query - """The primary unique identifier for the person""" - id: Int! + """Reads a single \`Person\` that is related to this \`LeftArm\`.""" + personByPersonId: Person + + """An edge for our \`LeftArm\`. May be used by Relay 1.""" + leftArmEdge( + """The method to use when ordering \`LeftArm\`.""" + orderBy: [LeftArmsOrderBy!] = [PRIMARY_KEY_ASC] + ): LeftArmsEdge } -"""All input for the \`updatePerson\` mutation.""" -input UpdatePersonInput { +"""All input for the \`leftArmIdentity\` mutation.""" +input LeftArmIdentityInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String + leftArm: LeftArmBaseInput +} - """ - The globally unique \`ID\` which will identify a single \`Person\` to be updated. - """ - nodeId: ID! - - """ - An object where the defined keys will be set on the \`Person\` being updated. - """ - personPatch: PersonPatch! +"""An input representation of \`LeftArm\` with nullable fields.""" +input LeftArmBaseInput { + id: Int + personId: Int + lengthInMetres: Float + mood: String } -"""The output of our update \`Person\` mutation.""" -type UpdatePersonPayload { +"""The output of our \`mutationInInout\` mutation.""" +type MutationInInoutPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`Person\` that was updated by this mutation.""" - person: Person + ino: Int """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`Person\`. May be used by Relay 1.""" - personEdge( - """The method to use when ordering \`Person\`.""" - orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] - ): PeopleEdge } -"""All input for the \`updatePersonSecretByPersonId\` mutation.""" -input UpdatePersonSecretByPersonIdInput { +"""All input for the \`mutationInInout\` mutation.""" +input MutationInInoutInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`PersonSecret\` being updated. - """ - personSecretPatch: PersonSecretPatch! - personId: Int! + i: Int + ino: Int } -"""All input for the \`updatePersonSecret\` mutation.""" -input UpdatePersonSecretInput { +"""The output of our \`mutationInOut\` mutation.""" +type MutationInOutPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + o: Int """ - The globally unique \`ID\` which will identify a single \`PersonSecret\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`mutationInOut\` mutation.""" +input MutationInOutInput { """ - An object where the defined keys will be set on the \`PersonSecret\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - personSecretPatch: PersonSecretPatch! + clientMutationId: String + i: Int } -"""The output of our update \`PersonSecret\` mutation.""" -type UpdatePersonSecretPayload { +"""The output of our \`mutationOut\` mutation.""" +type MutationOutPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`PersonSecret\` that was updated by this mutation.""" - personSecret: PersonSecret + o: Int """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """The \`Person\` this \`PersonSecret\` belongs to.""" - personByPersonId: Person - - """An edge for our \`PersonSecret\`. May be used by Relay 1.""" - personSecretEdge( - """The method to use when ordering \`PersonSecret\`.""" - orderBy: [PersonSecretsOrderBy!] = [PRIMARY_KEY_ASC] - ): PersonSecretsEdge @deprecated(reason: "This is deprecated (comment on table c.person_secret).") } -"""All input for the \`updatePostById\` mutation.""" -input UpdatePostByIdInput { +"""All input for the \`mutationOut\` mutation.""" +input MutationOutInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`Post\` being updated. - """ - postPatch: PostPatch! - id: Int! } -"""All input for the \`updatePost\` mutation.""" -input UpdatePostInput { +"""The output of our \`mutationOutComplex\` mutation.""" +type MutationOutComplexPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + result: MutationOutComplexRecord """ - The globally unique \`ID\` which will identify a single \`Post\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} + +"""The return type of our \`mutationOutComplex\` mutation.""" +type MutationOutComplexRecord { + x: Int + y: CompoundType + z: Person +} +"""All input for the \`mutationOutComplex\` mutation.""" +input MutationOutComplexInput { """ - An object where the defined keys will be set on the \`Post\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - postPatch: PostPatch! + clientMutationId: String + a: Int + b: String } -"""The output of our update \`Post\` mutation.""" -type UpdatePostPayload { +"""The output of our \`mutationOutComplexSetof\` mutation.""" +type MutationOutComplexSetofPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`Post\` that was updated by this mutation.""" - post: Post + results: [MutationOutComplexSetofRecord] """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query +} - """Reads a single \`Person\` that is related to this \`Post\`.""" - personByAuthorId: Person - - """An edge for our \`Post\`. May be used by Relay 1.""" - postEdge( - """The method to use when ordering \`Post\`.""" - orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] - ): PostsEdge +"""The return type of our \`mutationOutComplexSetof\` mutation.""" +type MutationOutComplexSetofRecord { + x: Int + y: CompoundType + z: Person } -"""All input for the \`updateReservedById\` mutation.""" -input UpdateReservedByIdInput { +"""All input for the \`mutationOutComplexSetof\` mutation.""" +input MutationOutComplexSetofInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String + a: Int + b: String +} +"""The output of our \`mutationOutOut\` mutation.""" +type MutationOutOutPayload { """ - An object where the defined keys will be set on the \`Reserved\` being updated. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - reservedPatch: ReservedPatch! - id: Int! + clientMutationId: String + result: MutationOutOutRecord + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query } -"""All input for the \`updateReserved\` mutation.""" -input UpdateReservedInput { +"""The return type of our \`mutationOutOut\` mutation.""" +type MutationOutOutRecord { + firstOut: Int + secondOut: String +} + +"""All input for the \`mutationOutOut\` mutation.""" +input MutationOutOutInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String +} +"""The output of our \`mutationOutOutCompoundType\` mutation.""" +type MutationOutOutCompoundTypePayload { """ - The globally unique \`ID\` which will identify a single \`Reserved\` to be updated. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - nodeId: ID! + clientMutationId: String + result: MutationOutOutCompoundTypeRecord """ - An object where the defined keys will be set on the \`Reserved\` being updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - reservedPatch: ReservedPatch! + query: Query } -"""All input for the \`updateReservedInputRecordById\` mutation.""" -input UpdateReservedInputRecordByIdInput { +"""The return type of our \`mutationOutOutCompoundType\` mutation.""" +type MutationOutOutCompoundTypeRecord { + o1: Int + o2: CompoundType +} + +"""All input for the \`mutationOutOutCompoundType\` mutation.""" +input MutationOutOutCompoundTypeInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`ReservedInputRecord\` being updated. - """ - reservedInputRecordPatch: ReservedInputRecordPatch! - id: Int! + i1: Int } -"""All input for the \`updateReservedInputRecord\` mutation.""" -input UpdateReservedInputRecordInput { +"""The output of our \`mutationOutOutSetof\` mutation.""" +type MutationOutOutSetofPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + results: [MutationOutOutSetofRecord] """ - The globally unique \`ID\` which will identify a single \`ReservedInputRecord\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} + +"""The return type of our \`mutationOutOutSetof\` mutation.""" +type MutationOutOutSetofRecord { + o1: Int + o2: String +} +"""All input for the \`mutationOutOutSetof\` mutation.""" +input MutationOutOutSetofInput { """ - An object where the defined keys will be set on the \`ReservedInputRecord\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - reservedInputRecordPatch: ReservedInputRecordPatch! + clientMutationId: String } -"""The output of our update \`ReservedInputRecord\` mutation.""" -type UpdateReservedInputRecordPayload { +"""The output of our \`mutationOutOutUnnamed\` mutation.""" +type MutationOutOutUnnamedPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`ReservedInputRecord\` that was updated by this mutation.""" - reservedInputRecord: ReservedInputRecord + result: MutationOutOutUnnamedRecord """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query +} - """An edge for our \`ReservedInputRecord\`. May be used by Relay 1.""" - reservedInputRecordEdge( - """The method to use when ordering \`ReservedInputRecord\`.""" - orderBy: [ReservedInputRecordsOrderBy!] = [PRIMARY_KEY_ASC] - ): ReservedInputRecordsEdge +"""The return type of our \`mutationOutOutUnnamed\` mutation.""" +type MutationOutOutUnnamedRecord { + arg1: Int + arg2: String } -"""All input for the \`updateReservedPatchRecordById\` mutation.""" -input UpdateReservedPatchRecordByIdInput { +"""All input for the \`mutationOutOutUnnamed\` mutation.""" +input MutationOutOutUnnamedInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`ReservedPatchRecord\` being updated. - """ - reservedPatchRecordPatch: ReservedPatchRecordPatch! - id: Int! } -"""All input for the \`updateReservedPatchRecord\` mutation.""" -input UpdateReservedPatchRecordInput { +"""The output of our \`mutationOutSetof\` mutation.""" +type MutationOutSetofPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + os: [Int] """ - The globally unique \`ID\` which will identify a single \`ReservedPatchRecord\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`mutationOutSetof\` mutation.""" +input MutationOutSetofInput { """ - An object where the defined keys will be set on the \`ReservedPatchRecord\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - reservedPatchRecordPatch: ReservedPatchRecordPatch! + clientMutationId: String } -"""The output of our update \`ReservedPatchRecord\` mutation.""" -type UpdateReservedPatchRecordPayload { +"""The output of our \`mutationOutTable\` mutation.""" +type MutationOutTablePayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`ReservedPatchRecord\` that was updated by this mutation.""" - reservedPatchRecord: ReservedPatchRecord + person: Person """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our \`ReservedPatchRecord\`. May be used by Relay 1.""" - reservedPatchRecordEdge( - """The method to use when ordering \`ReservedPatchRecord\`.""" - orderBy: [ReservedPatchRecordsOrderBy!] = [PRIMARY_KEY_ASC] - ): ReservedPatchRecordsEdge + """An edge for our \`Person\`. May be used by Relay 1.""" + personEdge( + """The method to use when ordering \`Person\`.""" + orderBy: [PeopleOrderBy!] = [PRIMARY_KEY_ASC] + ): PeopleEdge } -"""The output of our update \`Reserved\` mutation.""" -type UpdateReservedPayload { +"""All input for the \`mutationOutTable\` mutation.""" +input MutationOutTableInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String +} + +"""The output of our \`mutationOutTableSetof\` mutation.""" +type MutationOutTableSetofPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`Reserved\` that was updated by this mutation.""" - reserved: Reserved + people: [Person] """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`Reserved\`. May be used by Relay 1.""" - reservedEdge( - """The method to use when ordering \`Reserved\`.""" - orderBy: [ReservedsOrderBy!] = [PRIMARY_KEY_ASC] - ): ReservedsEdge } -"""All input for the \`updateSimilarTable1ById\` mutation.""" -input UpdateSimilarTable1ByIdInput { +"""All input for the \`mutationOutTableSetof\` mutation.""" +input MutationOutTableSetofInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`SimilarTable1\` being updated. - """ - similarTable1Patch: SimilarTable1Patch! - id: Int! } -"""All input for the \`updateSimilarTable1\` mutation.""" -input UpdateSimilarTable1Input { +"""The output of our \`mutationOutUnnamed\` mutation.""" +type MutationOutUnnamedPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + integer: Int """ - The globally unique \`ID\` which will identify a single \`SimilarTable1\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`mutationOutUnnamed\` mutation.""" +input MutationOutUnnamedInput { """ - An object where the defined keys will be set on the \`SimilarTable1\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - similarTable1Patch: SimilarTable1Patch! + clientMutationId: String } -"""The output of our update \`SimilarTable1\` mutation.""" -type UpdateSimilarTable1Payload { +"""The output of our \`mutationOutUnnamedOutOutUnnamed\` mutation.""" +type MutationOutUnnamedOutOutUnnamedPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`SimilarTable1\` that was updated by this mutation.""" - similarTable1: SimilarTable1 + result: MutationOutUnnamedOutOutUnnamedRecord """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query +} - """An edge for our \`SimilarTable1\`. May be used by Relay 1.""" - similarTable1Edge( - """The method to use when ordering \`SimilarTable1\`.""" - orderBy: [SimilarTable1SOrderBy!] = [PRIMARY_KEY_ASC] - ): SimilarTable1SEdge +"""The return type of our \`mutationOutUnnamedOutOutUnnamed\` mutation.""" +type MutationOutUnnamedOutOutUnnamedRecord { + arg1: Int + o2: String + arg3: Int } -"""All input for the \`updateSimilarTable2ById\` mutation.""" -input UpdateSimilarTable2ByIdInput { +"""All input for the \`mutationOutUnnamedOutOutUnnamed\` mutation.""" +input MutationOutUnnamedOutOutUnnamedInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`SimilarTable2\` being updated. - """ - similarTable2Patch: SimilarTable2Patch! - id: Int! } -"""All input for the \`updateSimilarTable2\` mutation.""" -input UpdateSimilarTable2Input { +"""The output of our \`mutationReturnsTableMultiCol\` mutation.""" +type MutationReturnsTableMultiColPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + results: [MutationReturnsTableMultiColRecord] """ - The globally unique \`ID\` which will identify a single \`SimilarTable2\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""The return type of our \`mutationReturnsTableMultiCol\` mutation.""" +type MutationReturnsTableMultiColRecord { + col1: Int + col2: String +} + +"""All input for the \`mutationReturnsTableMultiCol\` mutation.""" +input MutationReturnsTableMultiColInput { """ - An object where the defined keys will be set on the \`SimilarTable2\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - similarTable2Patch: SimilarTable2Patch! + clientMutationId: String + i: Int } -"""The output of our update \`SimilarTable2\` mutation.""" -type UpdateSimilarTable2Payload { +"""The output of our \`mutationReturnsTableOneCol\` mutation.""" +type MutationReturnsTableOneColPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`SimilarTable2\` that was updated by this mutation.""" - similarTable2: SimilarTable2 + col1S: [Int] """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`SimilarTable2\`. May be used by Relay 1.""" - similarTable2Edge( - """The method to use when ordering \`SimilarTable2\`.""" - orderBy: [SimilarTable2SOrderBy!] = [PRIMARY_KEY_ASC] - ): SimilarTable2SEdge } -"""All input for the \`updateTypeById\` mutation.""" -input UpdateTypeByIdInput { +"""All input for the \`mutationReturnsTableOneCol\` mutation.""" +input MutationReturnsTableOneColInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`Type\` being updated. - """ - typePatch: TypePatch! - id: Int! + i: Int } -"""All input for the \`updateType\` mutation.""" -input UpdateTypeInput { +"""The output of our \`noArgsMutation\` mutation.""" +type NoArgsMutationPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + integer: Int """ - The globally unique \`ID\` which will identify a single \`Type\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`noArgsMutation\` mutation.""" +input NoArgsMutationInput { """ - An object where the defined keys will be set on the \`Type\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - typePatch: TypePatch! + clientMutationId: String } -"""The output of our update \`Type\` mutation.""" -type UpdateTypePayload { +"""The output of our \`tableMutation\` mutation.""" +type TableMutationPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`Type\` that was updated by this mutation.""" - type: Type + post: Post """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """Reads a single \`Post\` that is related to this \`Type\`.""" - postBySmallint: Post - - """Reads a single \`Post\` that is related to this \`Type\`.""" - postById: Post + """Reads a single \`Person\` that is related to this \`Post\`.""" + personByAuthorId: Person - """An edge for our \`Type\`. May be used by Relay 1.""" - typeEdge( - """The method to use when ordering \`Type\`.""" - orderBy: [TypesOrderBy!] = [PRIMARY_KEY_ASC] - ): TypesEdge + """An edge for our \`Post\`. May be used by Relay 1.""" + postEdge( + """The method to use when ordering \`Post\`.""" + orderBy: [PostsOrderBy!] = [PRIMARY_KEY_ASC] + ): PostsEdge } -"""All input for the \`updateViewTableById\` mutation.""" -input UpdateViewTableByIdInput { +"""All input for the \`tableMutation\` mutation.""" +input TableMutationInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """ - An object where the defined keys will be set on the \`ViewTable\` being updated. - """ - viewTablePatch: ViewTablePatch! - id: Int! + id: Int } -"""All input for the \`updateViewTable\` mutation.""" -input UpdateViewTableInput { +"""The output of our \`tableSetMutation\` mutation.""" +type TableSetMutationPayload { """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. + The exact same \`clientMutationId\` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + people: [Person] """ - The globally unique \`ID\` which will identify a single \`ViewTable\` to be updated. + Our root query field type. Allows us to run any query from our mutation payload. """ - nodeId: ID! + query: Query +} +"""All input for the \`tableSetMutation\` mutation.""" +input TableSetMutationInput { """ - An object where the defined keys will be set on the \`ViewTable\` being updated. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - viewTablePatch: ViewTablePatch! + clientMutationId: String } -"""The output of our update \`ViewTable\` mutation.""" -type UpdateViewTablePayload { +"""The output of our \`typesMutation\` mutation.""" +type TypesMutationPayload { """ The exact same \`clientMutationId\` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - - """The \`ViewTable\` that was updated by this mutation.""" - viewTable: ViewTable + boolean: Boolean """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - - """An edge for our \`ViewTable\`. May be used by Relay 1.""" - viewTableEdge( - """The method to use when ordering \`ViewTable\`.""" - orderBy: [ViewTablesOrderBy!] = [PRIMARY_KEY_ASC] - ): ViewTablesEdge -} - -""" -A universally unique identifier as defined by [RFC 4122](https://tools.ietf.org/html/rfc4122). -""" -scalar UUID - -type ViewTable implements Node { - """ - A globally unique identifier. Can be used in various places throughout the system to identify this single value. - """ - nodeId: ID! - id: Int! - col1: Int - col2: Int -} - -""" -A condition to be used against \`ViewTable\` object types. All fields are tested -for equality and combined with a logical ‘and.’ -""" -input ViewTableCondition { - """Checks for equality with the object’s \`id\` field.""" - id: Int - - """Checks for equality with the object’s \`col1\` field.""" - col1: Int - - """Checks for equality with the object’s \`col2\` field.""" - col2: Int -} - -"""An input for mutations affecting \`ViewTable\`""" -input ViewTableInput { - id: Int - col1: Int - col2: Int } -""" -Represents an update to a \`ViewTable\`. Fields that are set will be updated. -""" -input ViewTablePatch { - id: Int - col1: Int - col2: Int -} - -"""A connection to a list of \`ViewTable\` values.""" -type ViewTablesConnection { - """A list of \`ViewTable\` objects.""" - nodes: [ViewTable]! - +"""All input for the \`typesMutation\` mutation.""" +input TypesMutationInput { """ - A list of edges which contains the \`ViewTable\` and cursor to aid in pagination. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - edges: [ViewTablesEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* \`ViewTable\` you could get from the connection.""" - totalCount: Int! -} - -"""A \`ViewTable\` edge in the connection.""" -type ViewTablesEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The \`ViewTable\` at the end of the edge.""" - node: ViewTable -} - -"""Methods to use when ordering \`ViewTable\`.""" -enum ViewTablesOrderBy { - NATURAL - ID_ASC - ID_DESC - COL1_ASC - COL1_DESC - COL2_ASC - COL2_DESC - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC -} - -type WrappedUrl { - url: NotNullUrl! -} - -"""An input for mutations affecting \`WrappedUrl\`""" -input WrappedUrlInput { - url: NotNullUrl! + clientMutationId: String + a: BigInt! + b: Boolean! + c: String! + d: [Int]! + e: JSON! + f: FloatRangeInput! } `; diff --git a/packages/postgraphile-core/package.json b/packages/postgraphile-core/package.json index d2f66ad2a..baeb53a95 100644 --- a/packages/postgraphile-core/package.json +++ b/packages/postgraphile-core/package.json @@ -36,13 +36,10 @@ "typescript": "^4.0.2" }, "peerDependencies": { - "graphql": ">=0.9 <0.14 || ^14.0.2", + "graphql": ">=0.9 <0.14 || ^14.0.2 || ^15.4.0", "pg": ">=6.1.0 <9" }, - "files": [ - "node8plus", - "index.js" - ], + "files": ["node8plus", "index.js"], "engines": { "node": ">=8.6" } diff --git a/yarn.lock b/yarn.lock index 8e9b8bd7f..5f8aa3d25 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5162,12 +5162,10 @@ graphql-subscriptions@^1.1.0: dependencies: iterall "^1.2.1" -"graphql@>=0.6 <15", "graphql@>=0.9 <0.14 || ^14.0.2", "graphql@^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.2": - version "14.7.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.7.0.tgz#7fa79a80a69be4a31c27dda824dc04dac2035a72" - integrity sha512-l0xWZpoPKpppFzMfvVyFmp9vLN7w/ZZJPefUicMCepfJeQ8sMcztloGYY9DfjVPo6tIUDzU5Hw3MUbIjj9AVVA== - dependencies: - iterall "^1.2.2" +"graphql@>=0.6 <16", "graphql@>=0.9 <0.14 || ^14.0.2 || ^15.4.0", "graphql@^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.2", graphql@^15.4.0: + version "15.4.0" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.4.0.tgz#e459dea1150da5a106486ba7276518b5295a4347" + integrity sha512-EB3zgGchcabbsU9cFe1j+yxdzKQKAbGUWRb13DsrsMN1yyfmmIq+2+L5MqVWcDCE4V89R5AyUOi7sMOGxdsYtA== growly@^1.3.0: version "1.3.0"