@constructive-io/graphql-server 2.14.8 → 2.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codegen/orm/client.d.ts +55 -0
- package/codegen/orm/client.js +75 -0
- package/codegen/orm/index.d.ts +632 -0
- package/codegen/orm/index.js +182 -0
- package/codegen/orm/input-types.d.ts +13248 -0
- package/codegen/orm/input-types.js +7 -0
- package/codegen/orm/models/api.d.ts +42 -0
- package/codegen/orm/models/api.js +77 -0
- package/codegen/orm/models/apiExtension.d.ts +42 -0
- package/codegen/orm/models/apiExtension.js +77 -0
- package/codegen/orm/models/apiModule.d.ts +42 -0
- package/codegen/orm/models/apiModule.js +77 -0
- package/codegen/orm/models/apiSchema.d.ts +42 -0
- package/codegen/orm/models/apiSchema.js +77 -0
- package/codegen/orm/models/app.d.ts +42 -0
- package/codegen/orm/models/app.js +77 -0
- package/codegen/orm/models/checkConstraint.d.ts +42 -0
- package/codegen/orm/models/checkConstraint.js +77 -0
- package/codegen/orm/models/connectedAccountsModule.d.ts +42 -0
- package/codegen/orm/models/connectedAccountsModule.js +77 -0
- package/codegen/orm/models/cryptoAddressesModule.d.ts +42 -0
- package/codegen/orm/models/cryptoAddressesModule.js +77 -0
- package/codegen/orm/models/cryptoAuthModule.d.ts +42 -0
- package/codegen/orm/models/cryptoAuthModule.js +77 -0
- package/codegen/orm/models/database.d.ts +42 -0
- package/codegen/orm/models/database.js +77 -0
- package/codegen/orm/models/databaseExtension.d.ts +42 -0
- package/codegen/orm/models/databaseExtension.js +77 -0
- package/codegen/orm/models/databaseProvision.d.ts +42 -0
- package/codegen/orm/models/databaseProvision.js +77 -0
- package/codegen/orm/models/defaultIdsModule.d.ts +42 -0
- package/codegen/orm/models/defaultIdsModule.js +77 -0
- package/codegen/orm/models/denormalizedTableField.d.ts +42 -0
- package/codegen/orm/models/denormalizedTableField.js +77 -0
- package/codegen/orm/models/domain.d.ts +42 -0
- package/codegen/orm/models/domain.js +77 -0
- package/codegen/orm/models/emailsModule.d.ts +42 -0
- package/codegen/orm/models/emailsModule.js +77 -0
- package/codegen/orm/models/encryptedSecretsModule.d.ts +42 -0
- package/codegen/orm/models/encryptedSecretsModule.js +77 -0
- package/codegen/orm/models/extension.d.ts +42 -0
- package/codegen/orm/models/extension.js +77 -0
- package/codegen/orm/models/field.d.ts +42 -0
- package/codegen/orm/models/field.js +77 -0
- package/codegen/orm/models/fieldModule.d.ts +42 -0
- package/codegen/orm/models/fieldModule.js +77 -0
- package/codegen/orm/models/foreignKeyConstraint.d.ts +42 -0
- package/codegen/orm/models/foreignKeyConstraint.js +77 -0
- package/codegen/orm/models/fullTextSearch.d.ts +42 -0
- package/codegen/orm/models/fullTextSearch.js +77 -0
- package/codegen/orm/models/hierarchyModule.d.ts +42 -0
- package/codegen/orm/models/hierarchyModule.js +77 -0
- package/codegen/orm/models/index.d.ts +64 -0
- package/codegen/orm/models/index.js +127 -0
- package/codegen/orm/models/indexModel.d.ts +42 -0
- package/codegen/orm/models/indexModel.js +77 -0
- package/codegen/orm/models/invitesModule.d.ts +42 -0
- package/codegen/orm/models/invitesModule.js +77 -0
- package/codegen/orm/models/levelsModule.d.ts +42 -0
- package/codegen/orm/models/levelsModule.js +77 -0
- package/codegen/orm/models/limitFunction.d.ts +42 -0
- package/codegen/orm/models/limitFunction.js +77 -0
- package/codegen/orm/models/limitsModule.d.ts +42 -0
- package/codegen/orm/models/limitsModule.js +77 -0
- package/codegen/orm/models/membershipTypesModule.d.ts +42 -0
- package/codegen/orm/models/membershipTypesModule.js +77 -0
- package/codegen/orm/models/membershipsModule.d.ts +42 -0
- package/codegen/orm/models/membershipsModule.js +77 -0
- package/codegen/orm/models/module.d.ts +42 -0
- package/codegen/orm/models/module.js +77 -0
- package/codegen/orm/models/moduleDefinition.d.ts +42 -0
- package/codegen/orm/models/moduleDefinition.js +77 -0
- package/codegen/orm/models/moduleField.d.ts +42 -0
- package/codegen/orm/models/moduleField.js +77 -0
- package/codegen/orm/models/moduleInputRecord.d.ts +42 -0
- package/codegen/orm/models/moduleInputRecord.js +77 -0
- package/codegen/orm/models/moduleOutput.d.ts +42 -0
- package/codegen/orm/models/moduleOutput.js +77 -0
- package/codegen/orm/models/permissionsModule.d.ts +42 -0
- package/codegen/orm/models/permissionsModule.js +77 -0
- package/codegen/orm/models/phoneNumbersModule.d.ts +42 -0
- package/codegen/orm/models/phoneNumbersModule.js +77 -0
- package/codegen/orm/models/policy.d.ts +42 -0
- package/codegen/orm/models/policy.js +77 -0
- package/codegen/orm/models/primaryKeyConstraint.d.ts +42 -0
- package/codegen/orm/models/primaryKeyConstraint.js +77 -0
- package/codegen/orm/models/procedure.d.ts +42 -0
- package/codegen/orm/models/procedure.js +77 -0
- package/codegen/orm/models/profilesModule.d.ts +42 -0
- package/codegen/orm/models/profilesModule.js +77 -0
- package/codegen/orm/models/rlsFunction.d.ts +42 -0
- package/codegen/orm/models/rlsFunction.js +77 -0
- package/codegen/orm/models/rlsModule.d.ts +42 -0
- package/codegen/orm/models/rlsModule.js +77 -0
- package/codegen/orm/models/schema.d.ts +42 -0
- package/codegen/orm/models/schema.js +77 -0
- package/codegen/orm/models/schemaGrant.d.ts +42 -0
- package/codegen/orm/models/schemaGrant.js +77 -0
- package/codegen/orm/models/secretsModule.d.ts +42 -0
- package/codegen/orm/models/secretsModule.js +77 -0
- package/codegen/orm/models/site.d.ts +42 -0
- package/codegen/orm/models/site.js +77 -0
- package/codegen/orm/models/siteMetadatum.d.ts +42 -0
- package/codegen/orm/models/siteMetadatum.js +77 -0
- package/codegen/orm/models/siteModule.d.ts +42 -0
- package/codegen/orm/models/siteModule.js +77 -0
- package/codegen/orm/models/siteTheme.d.ts +42 -0
- package/codegen/orm/models/siteTheme.js +77 -0
- package/codegen/orm/models/table.d.ts +42 -0
- package/codegen/orm/models/table.js +77 -0
- package/codegen/orm/models/tableGrant.d.ts +42 -0
- package/codegen/orm/models/tableGrant.js +77 -0
- package/codegen/orm/models/tokensModule.d.ts +42 -0
- package/codegen/orm/models/tokensModule.js +77 -0
- package/codegen/orm/models/trigger.d.ts +42 -0
- package/codegen/orm/models/trigger.js +77 -0
- package/codegen/orm/models/triggerFunction.d.ts +42 -0
- package/codegen/orm/models/triggerFunction.js +77 -0
- package/codegen/orm/models/uniqueConstraint.d.ts +42 -0
- package/codegen/orm/models/uniqueConstraint.js +77 -0
- package/codegen/orm/models/userAuthModule.d.ts +42 -0
- package/codegen/orm/models/userAuthModule.js +77 -0
- package/codegen/orm/models/usersModule.d.ts +42 -0
- package/codegen/orm/models/usersModule.js +77 -0
- package/codegen/orm/models/uuidModule.d.ts +42 -0
- package/codegen/orm/models/uuidModule.js +77 -0
- package/codegen/orm/mutation/index.d.ts +531 -0
- package/codegen/orm/mutation/index.js +596 -0
- package/codegen/orm/query/index.d.ts +274 -0
- package/codegen/orm/query/index.js +290 -0
- package/codegen/orm/query-builder.d.ts +80 -0
- package/codegen/orm/query-builder.js +249 -0
- package/codegen/orm/select-types.d.ts +50 -0
- package/codegen/orm/select-types.js +7 -0
- package/codegen/orm/types.d.ts +6 -0
- package/codegen/orm/types.js +23 -0
- package/esm/codegen/orm/client.js +70 -0
- package/esm/codegen/orm/index.js +162 -0
- package/esm/codegen/orm/input-types.js +6 -0
- package/esm/codegen/orm/models/api.js +73 -0
- package/esm/codegen/orm/models/apiExtension.js +73 -0
- package/esm/codegen/orm/models/apiModule.js +73 -0
- package/esm/codegen/orm/models/apiSchema.js +73 -0
- package/esm/codegen/orm/models/app.js +73 -0
- package/esm/codegen/orm/models/checkConstraint.js +73 -0
- package/esm/codegen/orm/models/connectedAccountsModule.js +73 -0
- package/esm/codegen/orm/models/cryptoAddressesModule.js +73 -0
- package/esm/codegen/orm/models/cryptoAuthModule.js +73 -0
- package/esm/codegen/orm/models/database.js +73 -0
- package/esm/codegen/orm/models/databaseExtension.js +73 -0
- package/esm/codegen/orm/models/databaseProvision.js +73 -0
- package/esm/codegen/orm/models/defaultIdsModule.js +73 -0
- package/esm/codegen/orm/models/denormalizedTableField.js +73 -0
- package/esm/codegen/orm/models/domain.js +73 -0
- package/esm/codegen/orm/models/emailsModule.js +73 -0
- package/esm/codegen/orm/models/encryptedSecretsModule.js +73 -0
- package/esm/codegen/orm/models/extension.js +73 -0
- package/esm/codegen/orm/models/field.js +73 -0
- package/esm/codegen/orm/models/fieldModule.js +73 -0
- package/esm/codegen/orm/models/foreignKeyConstraint.js +73 -0
- package/esm/codegen/orm/models/fullTextSearch.js +73 -0
- package/esm/codegen/orm/models/hierarchyModule.js +73 -0
- package/esm/codegen/orm/models/index.js +64 -0
- package/esm/codegen/orm/models/indexModel.js +73 -0
- package/esm/codegen/orm/models/invitesModule.js +73 -0
- package/esm/codegen/orm/models/levelsModule.js +73 -0
- package/esm/codegen/orm/models/limitFunction.js +73 -0
- package/esm/codegen/orm/models/limitsModule.js +73 -0
- package/esm/codegen/orm/models/membershipTypesModule.js +73 -0
- package/esm/codegen/orm/models/membershipsModule.js +73 -0
- package/esm/codegen/orm/models/module.js +73 -0
- package/esm/codegen/orm/models/moduleDefinition.js +73 -0
- package/esm/codegen/orm/models/moduleField.js +73 -0
- package/esm/codegen/orm/models/moduleInputRecord.js +73 -0
- package/esm/codegen/orm/models/moduleOutput.js +73 -0
- package/esm/codegen/orm/models/permissionsModule.js +73 -0
- package/esm/codegen/orm/models/phoneNumbersModule.js +73 -0
- package/esm/codegen/orm/models/policy.js +73 -0
- package/esm/codegen/orm/models/primaryKeyConstraint.js +73 -0
- package/esm/codegen/orm/models/procedure.js +73 -0
- package/esm/codegen/orm/models/profilesModule.js +73 -0
- package/esm/codegen/orm/models/rlsFunction.js +73 -0
- package/esm/codegen/orm/models/rlsModule.js +73 -0
- package/esm/codegen/orm/models/schema.js +73 -0
- package/esm/codegen/orm/models/schemaGrant.js +73 -0
- package/esm/codegen/orm/models/secretsModule.js +73 -0
- package/esm/codegen/orm/models/site.js +73 -0
- package/esm/codegen/orm/models/siteMetadatum.js +73 -0
- package/esm/codegen/orm/models/siteModule.js +73 -0
- package/esm/codegen/orm/models/siteTheme.js +73 -0
- package/esm/codegen/orm/models/table.js +73 -0
- package/esm/codegen/orm/models/tableGrant.js +73 -0
- package/esm/codegen/orm/models/tokensModule.js +73 -0
- package/esm/codegen/orm/models/trigger.js +73 -0
- package/esm/codegen/orm/models/triggerFunction.js +73 -0
- package/esm/codegen/orm/models/uniqueConstraint.js +73 -0
- package/esm/codegen/orm/models/userAuthModule.js +73 -0
- package/esm/codegen/orm/models/usersModule.js +73 -0
- package/esm/codegen/orm/models/uuidModule.js +73 -0
- package/esm/codegen/orm/mutation/index.js +593 -0
- package/esm/codegen/orm/query/index.js +287 -0
- package/esm/codegen/orm/query-builder.js +238 -0
- package/esm/codegen/orm/select-types.js +6 -0
- package/esm/codegen/orm/types.js +7 -0
- package/esm/middleware/api.js +10 -9
- package/esm/middleware/gql.js +118 -123
- package/esm/middleware/graphile.js +19 -3
- package/esm/scripts/codegen-schema.js +71 -0
- package/esm/server.js +21 -0
- package/middleware/api.js +9 -8
- package/middleware/gql.d.ts +25 -5
- package/middleware/gql.js +122 -127
- package/middleware/graphile.js +19 -3
- package/middleware/types.d.ts +1 -0
- package/package.json +15 -11
- package/scripts/codegen-schema.d.ts +1 -0
- package/scripts/codegen-schema.js +76 -0
- package/server.js +21 -0
- package/types.d.ts +2 -2
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Model Class
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class PhoneNumbersModuleModel {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
findMany(args) {
|
|
11
|
+
const { document, variables } = buildFindManyDocument('PhoneNumbersModule', 'phoneNumbersModules', args?.select, {
|
|
12
|
+
where: args?.where,
|
|
13
|
+
orderBy: args?.orderBy,
|
|
14
|
+
first: args?.first,
|
|
15
|
+
last: args?.last,
|
|
16
|
+
after: args?.after,
|
|
17
|
+
before: args?.before,
|
|
18
|
+
offset: args?.offset,
|
|
19
|
+
}, 'PhoneNumbersModuleFilter', 'PhoneNumbersModulesOrderBy');
|
|
20
|
+
return new QueryBuilder({
|
|
21
|
+
client: this.client,
|
|
22
|
+
operation: 'query',
|
|
23
|
+
operationName: 'PhoneNumbersModule',
|
|
24
|
+
fieldName: 'phoneNumbersModules',
|
|
25
|
+
document,
|
|
26
|
+
variables,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
findFirst(args) {
|
|
30
|
+
const { document, variables } = buildFindFirstDocument('PhoneNumbersModule', 'phoneNumbersModules', args?.select, { where: args?.where }, 'PhoneNumbersModuleFilter');
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'PhoneNumbersModule',
|
|
35
|
+
fieldName: 'phoneNumbersModules',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('PhoneNumbersModule', 'createPhoneNumbersModule', 'phoneNumbersModule', args.select, args.data, 'CreatePhoneNumbersModuleInput');
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'PhoneNumbersModule',
|
|
46
|
+
fieldName: 'createPhoneNumbersModule',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
update(args) {
|
|
52
|
+
const { document, variables } = buildUpdateDocument('PhoneNumbersModule', 'updatePhoneNumbersModule', 'phoneNumbersModule', args.select, args.where, args.data, 'UpdatePhoneNumbersModuleInput');
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'PhoneNumbersModule',
|
|
57
|
+
fieldName: 'updatePhoneNumbersModule',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
delete(args) {
|
|
63
|
+
const { document, variables } = buildDeleteDocument('PhoneNumbersModule', 'deletePhoneNumbersModule', 'phoneNumbersModule', args.where, 'DeletePhoneNumbersModuleInput');
|
|
64
|
+
return new QueryBuilder({
|
|
65
|
+
client: this.client,
|
|
66
|
+
operation: 'mutation',
|
|
67
|
+
operationName: 'PhoneNumbersModule',
|
|
68
|
+
fieldName: 'deletePhoneNumbersModule',
|
|
69
|
+
document,
|
|
70
|
+
variables,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Model Class
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class PolicyModel {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
findMany(args) {
|
|
11
|
+
const { document, variables } = buildFindManyDocument('Policy', 'policies', args?.select, {
|
|
12
|
+
where: args?.where,
|
|
13
|
+
orderBy: args?.orderBy,
|
|
14
|
+
first: args?.first,
|
|
15
|
+
last: args?.last,
|
|
16
|
+
after: args?.after,
|
|
17
|
+
before: args?.before,
|
|
18
|
+
offset: args?.offset,
|
|
19
|
+
}, 'PolicyFilter', 'PoliciesOrderBy');
|
|
20
|
+
return new QueryBuilder({
|
|
21
|
+
client: this.client,
|
|
22
|
+
operation: 'query',
|
|
23
|
+
operationName: 'Policy',
|
|
24
|
+
fieldName: 'policies',
|
|
25
|
+
document,
|
|
26
|
+
variables,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
findFirst(args) {
|
|
30
|
+
const { document, variables } = buildFindFirstDocument('Policy', 'policies', args?.select, { where: args?.where }, 'PolicyFilter');
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'Policy',
|
|
35
|
+
fieldName: 'policies',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('Policy', 'createPolicy', 'policy', args.select, args.data, 'CreatePolicyInput');
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'Policy',
|
|
46
|
+
fieldName: 'createPolicy',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
update(args) {
|
|
52
|
+
const { document, variables } = buildUpdateDocument('Policy', 'updatePolicy', 'policy', args.select, args.where, args.data, 'UpdatePolicyInput');
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'Policy',
|
|
57
|
+
fieldName: 'updatePolicy',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
delete(args) {
|
|
63
|
+
const { document, variables } = buildDeleteDocument('Policy', 'deletePolicy', 'policy', args.where, 'DeletePolicyInput');
|
|
64
|
+
return new QueryBuilder({
|
|
65
|
+
client: this.client,
|
|
66
|
+
operation: 'mutation',
|
|
67
|
+
operationName: 'Policy',
|
|
68
|
+
fieldName: 'deletePolicy',
|
|
69
|
+
document,
|
|
70
|
+
variables,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Model Class
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class PrimaryKeyConstraintModel {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
findMany(args) {
|
|
11
|
+
const { document, variables } = buildFindManyDocument('PrimaryKeyConstraint', 'primaryKeyConstraints', args?.select, {
|
|
12
|
+
where: args?.where,
|
|
13
|
+
orderBy: args?.orderBy,
|
|
14
|
+
first: args?.first,
|
|
15
|
+
last: args?.last,
|
|
16
|
+
after: args?.after,
|
|
17
|
+
before: args?.before,
|
|
18
|
+
offset: args?.offset,
|
|
19
|
+
}, 'PrimaryKeyConstraintFilter', 'PrimaryKeyConstraintsOrderBy');
|
|
20
|
+
return new QueryBuilder({
|
|
21
|
+
client: this.client,
|
|
22
|
+
operation: 'query',
|
|
23
|
+
operationName: 'PrimaryKeyConstraint',
|
|
24
|
+
fieldName: 'primaryKeyConstraints',
|
|
25
|
+
document,
|
|
26
|
+
variables,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
findFirst(args) {
|
|
30
|
+
const { document, variables } = buildFindFirstDocument('PrimaryKeyConstraint', 'primaryKeyConstraints', args?.select, { where: args?.where }, 'PrimaryKeyConstraintFilter');
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'PrimaryKeyConstraint',
|
|
35
|
+
fieldName: 'primaryKeyConstraints',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('PrimaryKeyConstraint', 'createPrimaryKeyConstraint', 'primaryKeyConstraint', args.select, args.data, 'CreatePrimaryKeyConstraintInput');
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'PrimaryKeyConstraint',
|
|
46
|
+
fieldName: 'createPrimaryKeyConstraint',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
update(args) {
|
|
52
|
+
const { document, variables } = buildUpdateDocument('PrimaryKeyConstraint', 'updatePrimaryKeyConstraint', 'primaryKeyConstraint', args.select, args.where, args.data, 'UpdatePrimaryKeyConstraintInput');
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'PrimaryKeyConstraint',
|
|
57
|
+
fieldName: 'updatePrimaryKeyConstraint',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
delete(args) {
|
|
63
|
+
const { document, variables } = buildDeleteDocument('PrimaryKeyConstraint', 'deletePrimaryKeyConstraint', 'primaryKeyConstraint', args.where, 'DeletePrimaryKeyConstraintInput');
|
|
64
|
+
return new QueryBuilder({
|
|
65
|
+
client: this.client,
|
|
66
|
+
operation: 'mutation',
|
|
67
|
+
operationName: 'PrimaryKeyConstraint',
|
|
68
|
+
fieldName: 'deletePrimaryKeyConstraint',
|
|
69
|
+
document,
|
|
70
|
+
variables,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Model Class
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class ProcedureModel {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
findMany(args) {
|
|
11
|
+
const { document, variables } = buildFindManyDocument('Procedure', 'procedures', args?.select, {
|
|
12
|
+
where: args?.where,
|
|
13
|
+
orderBy: args?.orderBy,
|
|
14
|
+
first: args?.first,
|
|
15
|
+
last: args?.last,
|
|
16
|
+
after: args?.after,
|
|
17
|
+
before: args?.before,
|
|
18
|
+
offset: args?.offset,
|
|
19
|
+
}, 'ProcedureFilter', 'ProceduresOrderBy');
|
|
20
|
+
return new QueryBuilder({
|
|
21
|
+
client: this.client,
|
|
22
|
+
operation: 'query',
|
|
23
|
+
operationName: 'Procedure',
|
|
24
|
+
fieldName: 'procedures',
|
|
25
|
+
document,
|
|
26
|
+
variables,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
findFirst(args) {
|
|
30
|
+
const { document, variables } = buildFindFirstDocument('Procedure', 'procedures', args?.select, { where: args?.where }, 'ProcedureFilter');
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'Procedure',
|
|
35
|
+
fieldName: 'procedures',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('Procedure', 'createProcedure', 'procedure', args.select, args.data, 'CreateProcedureInput');
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'Procedure',
|
|
46
|
+
fieldName: 'createProcedure',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
update(args) {
|
|
52
|
+
const { document, variables } = buildUpdateDocument('Procedure', 'updateProcedure', 'procedure', args.select, args.where, args.data, 'UpdateProcedureInput');
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'Procedure',
|
|
57
|
+
fieldName: 'updateProcedure',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
delete(args) {
|
|
63
|
+
const { document, variables } = buildDeleteDocument('Procedure', 'deleteProcedure', 'procedure', args.where, 'DeleteProcedureInput');
|
|
64
|
+
return new QueryBuilder({
|
|
65
|
+
client: this.client,
|
|
66
|
+
operation: 'mutation',
|
|
67
|
+
operationName: 'Procedure',
|
|
68
|
+
fieldName: 'deleteProcedure',
|
|
69
|
+
document,
|
|
70
|
+
variables,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Model Class
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class ProfilesModuleModel {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
findMany(args) {
|
|
11
|
+
const { document, variables } = buildFindManyDocument('ProfilesModule', 'profilesModules', args?.select, {
|
|
12
|
+
where: args?.where,
|
|
13
|
+
orderBy: args?.orderBy,
|
|
14
|
+
first: args?.first,
|
|
15
|
+
last: args?.last,
|
|
16
|
+
after: args?.after,
|
|
17
|
+
before: args?.before,
|
|
18
|
+
offset: args?.offset,
|
|
19
|
+
}, 'ProfilesModuleFilter', 'ProfilesModulesOrderBy');
|
|
20
|
+
return new QueryBuilder({
|
|
21
|
+
client: this.client,
|
|
22
|
+
operation: 'query',
|
|
23
|
+
operationName: 'ProfilesModule',
|
|
24
|
+
fieldName: 'profilesModules',
|
|
25
|
+
document,
|
|
26
|
+
variables,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
findFirst(args) {
|
|
30
|
+
const { document, variables } = buildFindFirstDocument('ProfilesModule', 'profilesModules', args?.select, { where: args?.where }, 'ProfilesModuleFilter');
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'ProfilesModule',
|
|
35
|
+
fieldName: 'profilesModules',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('ProfilesModule', 'createProfilesModule', 'profilesModule', args.select, args.data, 'CreateProfilesModuleInput');
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'ProfilesModule',
|
|
46
|
+
fieldName: 'createProfilesModule',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
update(args) {
|
|
52
|
+
const { document, variables } = buildUpdateDocument('ProfilesModule', 'updateProfilesModule', 'profilesModule', args.select, args.where, args.data, 'UpdateProfilesModuleInput');
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'ProfilesModule',
|
|
57
|
+
fieldName: 'updateProfilesModule',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
delete(args) {
|
|
63
|
+
const { document, variables } = buildDeleteDocument('ProfilesModule', 'deleteProfilesModule', 'profilesModule', args.where, 'DeleteProfilesModuleInput');
|
|
64
|
+
return new QueryBuilder({
|
|
65
|
+
client: this.client,
|
|
66
|
+
operation: 'mutation',
|
|
67
|
+
operationName: 'ProfilesModule',
|
|
68
|
+
fieldName: 'deleteProfilesModule',
|
|
69
|
+
document,
|
|
70
|
+
variables,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Model Class
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class RlsFunctionModel {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
findMany(args) {
|
|
11
|
+
const { document, variables } = buildFindManyDocument('RlsFunction', 'rlsFunctions', args?.select, {
|
|
12
|
+
where: args?.where,
|
|
13
|
+
orderBy: args?.orderBy,
|
|
14
|
+
first: args?.first,
|
|
15
|
+
last: args?.last,
|
|
16
|
+
after: args?.after,
|
|
17
|
+
before: args?.before,
|
|
18
|
+
offset: args?.offset,
|
|
19
|
+
}, 'RlsFunctionFilter', 'RlsFunctionsOrderBy');
|
|
20
|
+
return new QueryBuilder({
|
|
21
|
+
client: this.client,
|
|
22
|
+
operation: 'query',
|
|
23
|
+
operationName: 'RlsFunction',
|
|
24
|
+
fieldName: 'rlsFunctions',
|
|
25
|
+
document,
|
|
26
|
+
variables,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
findFirst(args) {
|
|
30
|
+
const { document, variables } = buildFindFirstDocument('RlsFunction', 'rlsFunctions', args?.select, { where: args?.where }, 'RlsFunctionFilter');
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'RlsFunction',
|
|
35
|
+
fieldName: 'rlsFunctions',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('RlsFunction', 'createRlsFunction', 'rlsFunction', args.select, args.data, 'CreateRlsFunctionInput');
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'RlsFunction',
|
|
46
|
+
fieldName: 'createRlsFunction',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
update(args) {
|
|
52
|
+
const { document, variables } = buildUpdateDocument('RlsFunction', 'updateRlsFunction', 'rlsFunction', args.select, args.where, args.data, 'UpdateRlsFunctionInput');
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'RlsFunction',
|
|
57
|
+
fieldName: 'updateRlsFunction',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
delete(args) {
|
|
63
|
+
const { document, variables } = buildDeleteDocument('RlsFunction', 'deleteRlsFunction', 'rlsFunction', args.where, 'DeleteRlsFunctionInput');
|
|
64
|
+
return new QueryBuilder({
|
|
65
|
+
client: this.client,
|
|
66
|
+
operation: 'mutation',
|
|
67
|
+
operationName: 'RlsFunction',
|
|
68
|
+
fieldName: 'deleteRlsFunction',
|
|
69
|
+
document,
|
|
70
|
+
variables,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Model Class
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class RlsModuleModel {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
findMany(args) {
|
|
11
|
+
const { document, variables } = buildFindManyDocument('RlsModule', 'rlsModules', args?.select, {
|
|
12
|
+
where: args?.where,
|
|
13
|
+
orderBy: args?.orderBy,
|
|
14
|
+
first: args?.first,
|
|
15
|
+
last: args?.last,
|
|
16
|
+
after: args?.after,
|
|
17
|
+
before: args?.before,
|
|
18
|
+
offset: args?.offset,
|
|
19
|
+
}, 'RlsModuleFilter', 'RlsModulesOrderBy');
|
|
20
|
+
return new QueryBuilder({
|
|
21
|
+
client: this.client,
|
|
22
|
+
operation: 'query',
|
|
23
|
+
operationName: 'RlsModule',
|
|
24
|
+
fieldName: 'rlsModules',
|
|
25
|
+
document,
|
|
26
|
+
variables,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
findFirst(args) {
|
|
30
|
+
const { document, variables } = buildFindFirstDocument('RlsModule', 'rlsModules', args?.select, { where: args?.where }, 'RlsModuleFilter');
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'RlsModule',
|
|
35
|
+
fieldName: 'rlsModules',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('RlsModule', 'createRlsModule', 'rlsModule', args.select, args.data, 'CreateRlsModuleInput');
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'RlsModule',
|
|
46
|
+
fieldName: 'createRlsModule',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
update(args) {
|
|
52
|
+
const { document, variables } = buildUpdateDocument('RlsModule', 'updateRlsModule', 'rlsModule', args.select, args.where, args.data, 'UpdateRlsModuleInput');
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'RlsModule',
|
|
57
|
+
fieldName: 'updateRlsModule',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
delete(args) {
|
|
63
|
+
const { document, variables } = buildDeleteDocument('RlsModule', 'deleteRlsModule', 'rlsModule', args.where, 'DeleteRlsModuleInput');
|
|
64
|
+
return new QueryBuilder({
|
|
65
|
+
client: this.client,
|
|
66
|
+
operation: 'mutation',
|
|
67
|
+
operationName: 'RlsModule',
|
|
68
|
+
fieldName: 'deleteRlsModule',
|
|
69
|
+
document,
|
|
70
|
+
variables,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Model Class
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class SchemaModel {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
findMany(args) {
|
|
11
|
+
const { document, variables } = buildFindManyDocument('Schema', 'schemas', args?.select, {
|
|
12
|
+
where: args?.where,
|
|
13
|
+
orderBy: args?.orderBy,
|
|
14
|
+
first: args?.first,
|
|
15
|
+
last: args?.last,
|
|
16
|
+
after: args?.after,
|
|
17
|
+
before: args?.before,
|
|
18
|
+
offset: args?.offset,
|
|
19
|
+
}, 'SchemaFilter', 'SchemasOrderBy');
|
|
20
|
+
return new QueryBuilder({
|
|
21
|
+
client: this.client,
|
|
22
|
+
operation: 'query',
|
|
23
|
+
operationName: 'Schema',
|
|
24
|
+
fieldName: 'schemas',
|
|
25
|
+
document,
|
|
26
|
+
variables,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
findFirst(args) {
|
|
30
|
+
const { document, variables } = buildFindFirstDocument('Schema', 'schemas', args?.select, { where: args?.where }, 'SchemaFilter');
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'Schema',
|
|
35
|
+
fieldName: 'schemas',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('Schema', 'createSchema', 'schema', args.select, args.data, 'CreateSchemaInput');
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'Schema',
|
|
46
|
+
fieldName: 'createSchema',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
update(args) {
|
|
52
|
+
const { document, variables } = buildUpdateDocument('Schema', 'updateSchema', 'schema', args.select, args.where, args.data, 'UpdateSchemaInput');
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'Schema',
|
|
57
|
+
fieldName: 'updateSchema',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
delete(args) {
|
|
63
|
+
const { document, variables } = buildDeleteDocument('Schema', 'deleteSchema', 'schema', args.where, 'DeleteSchemaInput');
|
|
64
|
+
return new QueryBuilder({
|
|
65
|
+
client: this.client,
|
|
66
|
+
operation: 'mutation',
|
|
67
|
+
operationName: 'Schema',
|
|
68
|
+
fieldName: 'deleteSchema',
|
|
69
|
+
document,
|
|
70
|
+
variables,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Model Class
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class SchemaGrantModel {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
findMany(args) {
|
|
11
|
+
const { document, variables } = buildFindManyDocument('SchemaGrant', 'schemaGrants', args?.select, {
|
|
12
|
+
where: args?.where,
|
|
13
|
+
orderBy: args?.orderBy,
|
|
14
|
+
first: args?.first,
|
|
15
|
+
last: args?.last,
|
|
16
|
+
after: args?.after,
|
|
17
|
+
before: args?.before,
|
|
18
|
+
offset: args?.offset,
|
|
19
|
+
}, 'SchemaGrantFilter', 'SchemaGrantsOrderBy');
|
|
20
|
+
return new QueryBuilder({
|
|
21
|
+
client: this.client,
|
|
22
|
+
operation: 'query',
|
|
23
|
+
operationName: 'SchemaGrant',
|
|
24
|
+
fieldName: 'schemaGrants',
|
|
25
|
+
document,
|
|
26
|
+
variables,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
findFirst(args) {
|
|
30
|
+
const { document, variables } = buildFindFirstDocument('SchemaGrant', 'schemaGrants', args?.select, { where: args?.where }, 'SchemaGrantFilter');
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'SchemaGrant',
|
|
35
|
+
fieldName: 'schemaGrants',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
create(args) {
|
|
41
|
+
const { document, variables } = buildCreateDocument('SchemaGrant', 'createSchemaGrant', 'schemaGrant', args.select, args.data, 'CreateSchemaGrantInput');
|
|
42
|
+
return new QueryBuilder({
|
|
43
|
+
client: this.client,
|
|
44
|
+
operation: 'mutation',
|
|
45
|
+
operationName: 'SchemaGrant',
|
|
46
|
+
fieldName: 'createSchemaGrant',
|
|
47
|
+
document,
|
|
48
|
+
variables,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
update(args) {
|
|
52
|
+
const { document, variables } = buildUpdateDocument('SchemaGrant', 'updateSchemaGrant', 'schemaGrant', args.select, args.where, args.data, 'UpdateSchemaGrantInput');
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'SchemaGrant',
|
|
57
|
+
fieldName: 'updateSchemaGrant',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
delete(args) {
|
|
63
|
+
const { document, variables } = buildDeleteDocument('SchemaGrant', 'deleteSchemaGrant', 'schemaGrant', args.where, 'DeleteSchemaGrantInput');
|
|
64
|
+
return new QueryBuilder({
|
|
65
|
+
client: this.client,
|
|
66
|
+
operation: 'mutation',
|
|
67
|
+
operationName: 'SchemaGrant',
|
|
68
|
+
fieldName: 'deleteSchemaGrant',
|
|
69
|
+
document,
|
|
70
|
+
variables,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|