@constructive-io/graphql-server 2.19.2 → 2.19.4
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/index.d.ts +7 -603
- package/codegen/orm/index.js +4 -127
- package/codegen/orm/input-types.d.ts +14682 -7790
- package/codegen/orm/input-types.js +0 -5
- package/codegen/orm/models/api.d.ts +6 -6
- package/codegen/orm/models/api.js +3 -4
- package/codegen/orm/models/domain.d.ts +6 -6
- package/codegen/orm/models/domain.js +3 -4
- package/codegen/orm/models/index.d.ts +1 -58
- package/codegen/orm/models/index.js +3 -118
- package/codegen/orm/mutation/index.d.ts +1 -525
- package/codegen/orm/mutation/index.js +2 -591
- package/codegen/orm/query/index.d.ts +3 -257
- package/codegen/orm/query/index.js +8 -274
- package/codegen/orm/query-builder.d.ts +2 -1
- package/codegen/orm/query-builder.js +376 -129
- package/codegen/orm/select-types.d.ts +33 -0
- package/esm/codegen/orm/index.js +4 -127
- package/esm/codegen/orm/input-types.js +0 -5
- package/esm/codegen/orm/models/api.js +3 -4
- package/esm/codegen/orm/models/domain.js +3 -4
- package/esm/codegen/orm/models/index.js +1 -58
- package/esm/codegen/orm/mutation/index.js +2 -591
- package/esm/codegen/orm/query/index.js +8 -274
- package/esm/codegen/orm/query-builder.js +343 -129
- package/esm/middleware/api.js +145 -173
- package/esm/middleware/gql.js +72 -71
- package/middleware/api.d.ts +16 -3
- package/middleware/api.js +148 -173
- package/middleware/gql.d.ts +174 -24
- package/middleware/gql.js +76 -76
- package/middleware/types.d.ts +3 -19
- package/package.json +17 -14
- package/types.d.ts +17 -44
- package/codegen/orm/models/apiExtension.d.ts +0 -42
- package/codegen/orm/models/apiExtension.js +0 -77
- package/codegen/orm/models/apiModule.d.ts +0 -42
- package/codegen/orm/models/apiModule.js +0 -77
- package/codegen/orm/models/apiSchema.d.ts +0 -42
- package/codegen/orm/models/apiSchema.js +0 -77
- package/codegen/orm/models/app.d.ts +0 -42
- package/codegen/orm/models/app.js +0 -77
- package/codegen/orm/models/checkConstraint.d.ts +0 -42
- package/codegen/orm/models/checkConstraint.js +0 -77
- package/codegen/orm/models/connectedAccountsModule.d.ts +0 -42
- package/codegen/orm/models/connectedAccountsModule.js +0 -77
- package/codegen/orm/models/cryptoAddressesModule.d.ts +0 -42
- package/codegen/orm/models/cryptoAddressesModule.js +0 -77
- package/codegen/orm/models/cryptoAuthModule.d.ts +0 -42
- package/codegen/orm/models/cryptoAuthModule.js +0 -77
- package/codegen/orm/models/database.d.ts +0 -42
- package/codegen/orm/models/database.js +0 -77
- package/codegen/orm/models/databaseExtension.d.ts +0 -42
- package/codegen/orm/models/databaseExtension.js +0 -77
- package/codegen/orm/models/databaseProvision.d.ts +0 -42
- package/codegen/orm/models/databaseProvision.js +0 -77
- package/codegen/orm/models/defaultIdsModule.d.ts +0 -42
- package/codegen/orm/models/defaultIdsModule.js +0 -77
- package/codegen/orm/models/denormalizedTableField.d.ts +0 -42
- package/codegen/orm/models/denormalizedTableField.js +0 -77
- package/codegen/orm/models/emailsModule.d.ts +0 -42
- package/codegen/orm/models/emailsModule.js +0 -77
- package/codegen/orm/models/encryptedSecretsModule.d.ts +0 -42
- package/codegen/orm/models/encryptedSecretsModule.js +0 -77
- package/codegen/orm/models/extension.d.ts +0 -42
- package/codegen/orm/models/extension.js +0 -77
- package/codegen/orm/models/field.d.ts +0 -42
- package/codegen/orm/models/field.js +0 -77
- package/codegen/orm/models/fieldModule.d.ts +0 -42
- package/codegen/orm/models/fieldModule.js +0 -77
- package/codegen/orm/models/foreignKeyConstraint.d.ts +0 -42
- package/codegen/orm/models/foreignKeyConstraint.js +0 -77
- package/codegen/orm/models/fullTextSearch.d.ts +0 -42
- package/codegen/orm/models/fullTextSearch.js +0 -77
- package/codegen/orm/models/hierarchyModule.d.ts +0 -42
- package/codegen/orm/models/hierarchyModule.js +0 -77
- package/codegen/orm/models/indexModel.d.ts +0 -42
- package/codegen/orm/models/indexModel.js +0 -77
- package/codegen/orm/models/invitesModule.d.ts +0 -42
- package/codegen/orm/models/invitesModule.js +0 -77
- package/codegen/orm/models/levelsModule.d.ts +0 -42
- package/codegen/orm/models/levelsModule.js +0 -77
- package/codegen/orm/models/limitFunction.d.ts +0 -42
- package/codegen/orm/models/limitFunction.js +0 -77
- package/codegen/orm/models/limitsModule.d.ts +0 -42
- package/codegen/orm/models/limitsModule.js +0 -77
- package/codegen/orm/models/membershipTypesModule.d.ts +0 -42
- package/codegen/orm/models/membershipTypesModule.js +0 -77
- package/codegen/orm/models/membershipsModule.d.ts +0 -42
- package/codegen/orm/models/membershipsModule.js +0 -77
- package/codegen/orm/models/module.d.ts +0 -42
- package/codegen/orm/models/module.js +0 -77
- package/codegen/orm/models/moduleDefinition.d.ts +0 -42
- package/codegen/orm/models/moduleDefinition.js +0 -77
- package/codegen/orm/models/moduleField.d.ts +0 -42
- package/codegen/orm/models/moduleField.js +0 -77
- package/codegen/orm/models/moduleInputRecord.d.ts +0 -42
- package/codegen/orm/models/moduleInputRecord.js +0 -77
- package/codegen/orm/models/moduleOutput.d.ts +0 -42
- package/codegen/orm/models/moduleOutput.js +0 -77
- package/codegen/orm/models/permissionsModule.d.ts +0 -42
- package/codegen/orm/models/permissionsModule.js +0 -77
- package/codegen/orm/models/phoneNumbersModule.d.ts +0 -42
- package/codegen/orm/models/phoneNumbersModule.js +0 -77
- package/codegen/orm/models/policy.d.ts +0 -42
- package/codegen/orm/models/policy.js +0 -77
- package/codegen/orm/models/primaryKeyConstraint.d.ts +0 -42
- package/codegen/orm/models/primaryKeyConstraint.js +0 -77
- package/codegen/orm/models/procedure.d.ts +0 -42
- package/codegen/orm/models/procedure.js +0 -77
- package/codegen/orm/models/profilesModule.d.ts +0 -42
- package/codegen/orm/models/profilesModule.js +0 -77
- package/codegen/orm/models/rlsFunction.d.ts +0 -42
- package/codegen/orm/models/rlsFunction.js +0 -77
- package/codegen/orm/models/rlsModule.d.ts +0 -42
- package/codegen/orm/models/rlsModule.js +0 -77
- package/codegen/orm/models/schema.d.ts +0 -42
- package/codegen/orm/models/schema.js +0 -77
- package/codegen/orm/models/schemaGrant.d.ts +0 -42
- package/codegen/orm/models/schemaGrant.js +0 -77
- package/codegen/orm/models/secretsModule.d.ts +0 -42
- package/codegen/orm/models/secretsModule.js +0 -77
- package/codegen/orm/models/site.d.ts +0 -42
- package/codegen/orm/models/site.js +0 -77
- package/codegen/orm/models/siteMetadatum.d.ts +0 -42
- package/codegen/orm/models/siteMetadatum.js +0 -77
- package/codegen/orm/models/siteModule.d.ts +0 -42
- package/codegen/orm/models/siteModule.js +0 -77
- package/codegen/orm/models/siteTheme.d.ts +0 -42
- package/codegen/orm/models/siteTheme.js +0 -77
- package/codegen/orm/models/table.d.ts +0 -42
- package/codegen/orm/models/table.js +0 -77
- package/codegen/orm/models/tableGrant.d.ts +0 -42
- package/codegen/orm/models/tableGrant.js +0 -77
- package/codegen/orm/models/tokensModule.d.ts +0 -42
- package/codegen/orm/models/tokensModule.js +0 -77
- package/codegen/orm/models/trigger.d.ts +0 -42
- package/codegen/orm/models/trigger.js +0 -77
- package/codegen/orm/models/triggerFunction.d.ts +0 -42
- package/codegen/orm/models/triggerFunction.js +0 -77
- package/codegen/orm/models/uniqueConstraint.d.ts +0 -42
- package/codegen/orm/models/uniqueConstraint.js +0 -77
- package/codegen/orm/models/userAuthModule.d.ts +0 -42
- package/codegen/orm/models/userAuthModule.js +0 -77
- package/codegen/orm/models/usersModule.d.ts +0 -42
- package/codegen/orm/models/usersModule.js +0 -77
- package/codegen/orm/models/uuidModule.d.ts +0 -42
- package/codegen/orm/models/uuidModule.js +0 -77
- package/esm/codegen/orm/models/apiExtension.js +0 -73
- package/esm/codegen/orm/models/apiModule.js +0 -73
- package/esm/codegen/orm/models/apiSchema.js +0 -73
- package/esm/codegen/orm/models/app.js +0 -73
- package/esm/codegen/orm/models/checkConstraint.js +0 -73
- package/esm/codegen/orm/models/connectedAccountsModule.js +0 -73
- package/esm/codegen/orm/models/cryptoAddressesModule.js +0 -73
- package/esm/codegen/orm/models/cryptoAuthModule.js +0 -73
- package/esm/codegen/orm/models/database.js +0 -73
- package/esm/codegen/orm/models/databaseExtension.js +0 -73
- package/esm/codegen/orm/models/databaseProvision.js +0 -73
- package/esm/codegen/orm/models/defaultIdsModule.js +0 -73
- package/esm/codegen/orm/models/denormalizedTableField.js +0 -73
- package/esm/codegen/orm/models/emailsModule.js +0 -73
- package/esm/codegen/orm/models/encryptedSecretsModule.js +0 -73
- package/esm/codegen/orm/models/extension.js +0 -73
- package/esm/codegen/orm/models/field.js +0 -73
- package/esm/codegen/orm/models/fieldModule.js +0 -73
- package/esm/codegen/orm/models/foreignKeyConstraint.js +0 -73
- package/esm/codegen/orm/models/fullTextSearch.js +0 -73
- package/esm/codegen/orm/models/hierarchyModule.js +0 -73
- package/esm/codegen/orm/models/indexModel.js +0 -73
- package/esm/codegen/orm/models/invitesModule.js +0 -73
- package/esm/codegen/orm/models/levelsModule.js +0 -73
- package/esm/codegen/orm/models/limitFunction.js +0 -73
- package/esm/codegen/orm/models/limitsModule.js +0 -73
- package/esm/codegen/orm/models/membershipTypesModule.js +0 -73
- package/esm/codegen/orm/models/membershipsModule.js +0 -73
- package/esm/codegen/orm/models/module.js +0 -73
- package/esm/codegen/orm/models/moduleDefinition.js +0 -73
- package/esm/codegen/orm/models/moduleField.js +0 -73
- package/esm/codegen/orm/models/moduleInputRecord.js +0 -73
- package/esm/codegen/orm/models/moduleOutput.js +0 -73
- package/esm/codegen/orm/models/permissionsModule.js +0 -73
- package/esm/codegen/orm/models/phoneNumbersModule.js +0 -73
- package/esm/codegen/orm/models/policy.js +0 -73
- package/esm/codegen/orm/models/primaryKeyConstraint.js +0 -73
- package/esm/codegen/orm/models/procedure.js +0 -73
- package/esm/codegen/orm/models/profilesModule.js +0 -73
- package/esm/codegen/orm/models/rlsFunction.js +0 -73
- package/esm/codegen/orm/models/rlsModule.js +0 -73
- package/esm/codegen/orm/models/schema.js +0 -73
- package/esm/codegen/orm/models/schemaGrant.js +0 -73
- package/esm/codegen/orm/models/secretsModule.js +0 -73
- package/esm/codegen/orm/models/site.js +0 -73
- package/esm/codegen/orm/models/siteMetadatum.js +0 -73
- package/esm/codegen/orm/models/siteModule.js +0 -73
- package/esm/codegen/orm/models/siteTheme.js +0 -73
- package/esm/codegen/orm/models/table.js +0 -73
- package/esm/codegen/orm/models/tableGrant.js +0 -73
- package/esm/codegen/orm/models/tokensModule.js +0 -73
- package/esm/codegen/orm/models/trigger.js +0 -73
- package/esm/codegen/orm/models/triggerFunction.js +0 -73
- package/esm/codegen/orm/models/uniqueConstraint.js +0 -73
- package/esm/codegen/orm/models/userAuthModule.js +0 -73
- package/esm/codegen/orm/models/usersModule.js +0 -73
- package/esm/codegen/orm/models/uuidModule.js +0 -73
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
-
// ============================================================================
|
|
3
|
-
// Model Class
|
|
4
|
-
// ============================================================================
|
|
5
|
-
export class ModuleDefinitionModel {
|
|
6
|
-
client;
|
|
7
|
-
constructor(client) {
|
|
8
|
-
this.client = client;
|
|
9
|
-
}
|
|
10
|
-
findMany(args) {
|
|
11
|
-
const { document, variables } = buildFindManyDocument('ModuleDefinition', 'moduleDefinitions', 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
|
-
}, 'ModuleDefinitionFilter', 'ModuleDefinitionsOrderBy');
|
|
20
|
-
return new QueryBuilder({
|
|
21
|
-
client: this.client,
|
|
22
|
-
operation: 'query',
|
|
23
|
-
operationName: 'ModuleDefinition',
|
|
24
|
-
fieldName: 'moduleDefinitions',
|
|
25
|
-
document,
|
|
26
|
-
variables,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
findFirst(args) {
|
|
30
|
-
const { document, variables } = buildFindFirstDocument('ModuleDefinition', 'moduleDefinitions', args?.select, { where: args?.where }, 'ModuleDefinitionFilter');
|
|
31
|
-
return new QueryBuilder({
|
|
32
|
-
client: this.client,
|
|
33
|
-
operation: 'query',
|
|
34
|
-
operationName: 'ModuleDefinition',
|
|
35
|
-
fieldName: 'moduleDefinitions',
|
|
36
|
-
document,
|
|
37
|
-
variables,
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
create(args) {
|
|
41
|
-
const { document, variables } = buildCreateDocument('ModuleDefinition', 'createModuleDefinition', 'moduleDefinition', args.select, args.data, 'CreateModuleDefinitionInput');
|
|
42
|
-
return new QueryBuilder({
|
|
43
|
-
client: this.client,
|
|
44
|
-
operation: 'mutation',
|
|
45
|
-
operationName: 'ModuleDefinition',
|
|
46
|
-
fieldName: 'createModuleDefinition',
|
|
47
|
-
document,
|
|
48
|
-
variables,
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
update(args) {
|
|
52
|
-
const { document, variables } = buildUpdateDocument('ModuleDefinition', 'updateModuleDefinition', 'moduleDefinition', args.select, args.where, args.data, 'UpdateModuleDefinitionInput');
|
|
53
|
-
return new QueryBuilder({
|
|
54
|
-
client: this.client,
|
|
55
|
-
operation: 'mutation',
|
|
56
|
-
operationName: 'ModuleDefinition',
|
|
57
|
-
fieldName: 'updateModuleDefinition',
|
|
58
|
-
document,
|
|
59
|
-
variables,
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
delete(args) {
|
|
63
|
-
const { document, variables } = buildDeleteDocument('ModuleDefinition', 'deleteModuleDefinition', 'moduleDefinition', args.where, 'DeleteModuleDefinitionInput');
|
|
64
|
-
return new QueryBuilder({
|
|
65
|
-
client: this.client,
|
|
66
|
-
operation: 'mutation',
|
|
67
|
-
operationName: 'ModuleDefinition',
|
|
68
|
-
fieldName: 'deleteModuleDefinition',
|
|
69
|
-
document,
|
|
70
|
-
variables,
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
-
// ============================================================================
|
|
3
|
-
// Model Class
|
|
4
|
-
// ============================================================================
|
|
5
|
-
export class ModuleFieldModel {
|
|
6
|
-
client;
|
|
7
|
-
constructor(client) {
|
|
8
|
-
this.client = client;
|
|
9
|
-
}
|
|
10
|
-
findMany(args) {
|
|
11
|
-
const { document, variables } = buildFindManyDocument('ModuleField', 'moduleFields', 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
|
-
}, 'ModuleFieldFilter', 'ModuleFieldsOrderBy');
|
|
20
|
-
return new QueryBuilder({
|
|
21
|
-
client: this.client,
|
|
22
|
-
operation: 'query',
|
|
23
|
-
operationName: 'ModuleField',
|
|
24
|
-
fieldName: 'moduleFields',
|
|
25
|
-
document,
|
|
26
|
-
variables,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
findFirst(args) {
|
|
30
|
-
const { document, variables } = buildFindFirstDocument('ModuleField', 'moduleFields', args?.select, { where: args?.where }, 'ModuleFieldFilter');
|
|
31
|
-
return new QueryBuilder({
|
|
32
|
-
client: this.client,
|
|
33
|
-
operation: 'query',
|
|
34
|
-
operationName: 'ModuleField',
|
|
35
|
-
fieldName: 'moduleFields',
|
|
36
|
-
document,
|
|
37
|
-
variables,
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
create(args) {
|
|
41
|
-
const { document, variables } = buildCreateDocument('ModuleField', 'createModuleField', 'moduleField', args.select, args.data, 'CreateModuleFieldInput');
|
|
42
|
-
return new QueryBuilder({
|
|
43
|
-
client: this.client,
|
|
44
|
-
operation: 'mutation',
|
|
45
|
-
operationName: 'ModuleField',
|
|
46
|
-
fieldName: 'createModuleField',
|
|
47
|
-
document,
|
|
48
|
-
variables,
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
update(args) {
|
|
52
|
-
const { document, variables } = buildUpdateDocument('ModuleField', 'updateModuleField', 'moduleField', args.select, args.where, args.data, 'UpdateModuleFieldInput');
|
|
53
|
-
return new QueryBuilder({
|
|
54
|
-
client: this.client,
|
|
55
|
-
operation: 'mutation',
|
|
56
|
-
operationName: 'ModuleField',
|
|
57
|
-
fieldName: 'updateModuleField',
|
|
58
|
-
document,
|
|
59
|
-
variables,
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
delete(args) {
|
|
63
|
-
const { document, variables } = buildDeleteDocument('ModuleField', 'deleteModuleField', 'moduleField', args.where, 'DeleteModuleFieldInput');
|
|
64
|
-
return new QueryBuilder({
|
|
65
|
-
client: this.client,
|
|
66
|
-
operation: 'mutation',
|
|
67
|
-
operationName: 'ModuleField',
|
|
68
|
-
fieldName: 'deleteModuleField',
|
|
69
|
-
document,
|
|
70
|
-
variables,
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
-
// ============================================================================
|
|
3
|
-
// Model Class
|
|
4
|
-
// ============================================================================
|
|
5
|
-
export class ModuleInputRecordModel {
|
|
6
|
-
client;
|
|
7
|
-
constructor(client) {
|
|
8
|
-
this.client = client;
|
|
9
|
-
}
|
|
10
|
-
findMany(args) {
|
|
11
|
-
const { document, variables } = buildFindManyDocument('ModuleInputRecord', 'moduleInputRecords', 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
|
-
}, 'ModuleInputRecordFilter', 'ModuleInputRecordsOrderBy');
|
|
20
|
-
return new QueryBuilder({
|
|
21
|
-
client: this.client,
|
|
22
|
-
operation: 'query',
|
|
23
|
-
operationName: 'ModuleInputRecord',
|
|
24
|
-
fieldName: 'moduleInputRecords',
|
|
25
|
-
document,
|
|
26
|
-
variables,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
findFirst(args) {
|
|
30
|
-
const { document, variables } = buildFindFirstDocument('ModuleInputRecord', 'moduleInputRecords', args?.select, { where: args?.where }, 'ModuleInputRecordFilter');
|
|
31
|
-
return new QueryBuilder({
|
|
32
|
-
client: this.client,
|
|
33
|
-
operation: 'query',
|
|
34
|
-
operationName: 'ModuleInputRecord',
|
|
35
|
-
fieldName: 'moduleInputRecords',
|
|
36
|
-
document,
|
|
37
|
-
variables,
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
create(args) {
|
|
41
|
-
const { document, variables } = buildCreateDocument('ModuleInputRecord', 'createModuleInputRecord', 'moduleInputRecord', args.select, args.data, 'CreateModuleInputRecordInput');
|
|
42
|
-
return new QueryBuilder({
|
|
43
|
-
client: this.client,
|
|
44
|
-
operation: 'mutation',
|
|
45
|
-
operationName: 'ModuleInputRecord',
|
|
46
|
-
fieldName: 'createModuleInputRecord',
|
|
47
|
-
document,
|
|
48
|
-
variables,
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
update(args) {
|
|
52
|
-
const { document, variables } = buildUpdateDocument('ModuleInputRecord', 'updateModuleInputRecord', 'moduleInputRecord', args.select, args.where, args.data, 'UpdateModuleInputRecordInput');
|
|
53
|
-
return new QueryBuilder({
|
|
54
|
-
client: this.client,
|
|
55
|
-
operation: 'mutation',
|
|
56
|
-
operationName: 'ModuleInputRecord',
|
|
57
|
-
fieldName: 'updateModuleInputRecord',
|
|
58
|
-
document,
|
|
59
|
-
variables,
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
delete(args) {
|
|
63
|
-
const { document, variables } = buildDeleteDocument('ModuleInputRecord', 'deleteModuleInputRecord', 'moduleInputRecord', args.where, 'DeleteModuleInputRecordInput');
|
|
64
|
-
return new QueryBuilder({
|
|
65
|
-
client: this.client,
|
|
66
|
-
operation: 'mutation',
|
|
67
|
-
operationName: 'ModuleInputRecord',
|
|
68
|
-
fieldName: 'deleteModuleInputRecord',
|
|
69
|
-
document,
|
|
70
|
-
variables,
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
-
// ============================================================================
|
|
3
|
-
// Model Class
|
|
4
|
-
// ============================================================================
|
|
5
|
-
export class ModuleOutputModel {
|
|
6
|
-
client;
|
|
7
|
-
constructor(client) {
|
|
8
|
-
this.client = client;
|
|
9
|
-
}
|
|
10
|
-
findMany(args) {
|
|
11
|
-
const { document, variables } = buildFindManyDocument('ModuleOutput', 'moduleOutputs', 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
|
-
}, 'ModuleOutputFilter', 'ModuleOutputsOrderBy');
|
|
20
|
-
return new QueryBuilder({
|
|
21
|
-
client: this.client,
|
|
22
|
-
operation: 'query',
|
|
23
|
-
operationName: 'ModuleOutput',
|
|
24
|
-
fieldName: 'moduleOutputs',
|
|
25
|
-
document,
|
|
26
|
-
variables,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
findFirst(args) {
|
|
30
|
-
const { document, variables } = buildFindFirstDocument('ModuleOutput', 'moduleOutputs', args?.select, { where: args?.where }, 'ModuleOutputFilter');
|
|
31
|
-
return new QueryBuilder({
|
|
32
|
-
client: this.client,
|
|
33
|
-
operation: 'query',
|
|
34
|
-
operationName: 'ModuleOutput',
|
|
35
|
-
fieldName: 'moduleOutputs',
|
|
36
|
-
document,
|
|
37
|
-
variables,
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
create(args) {
|
|
41
|
-
const { document, variables } = buildCreateDocument('ModuleOutput', 'createModuleOutput', 'moduleOutput', args.select, args.data, 'CreateModuleOutputInput');
|
|
42
|
-
return new QueryBuilder({
|
|
43
|
-
client: this.client,
|
|
44
|
-
operation: 'mutation',
|
|
45
|
-
operationName: 'ModuleOutput',
|
|
46
|
-
fieldName: 'createModuleOutput',
|
|
47
|
-
document,
|
|
48
|
-
variables,
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
update(args) {
|
|
52
|
-
const { document, variables } = buildUpdateDocument('ModuleOutput', 'updateModuleOutput', 'moduleOutput', args.select, args.where, args.data, 'UpdateModuleOutputInput');
|
|
53
|
-
return new QueryBuilder({
|
|
54
|
-
client: this.client,
|
|
55
|
-
operation: 'mutation',
|
|
56
|
-
operationName: 'ModuleOutput',
|
|
57
|
-
fieldName: 'updateModuleOutput',
|
|
58
|
-
document,
|
|
59
|
-
variables,
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
delete(args) {
|
|
63
|
-
const { document, variables } = buildDeleteDocument('ModuleOutput', 'deleteModuleOutput', 'moduleOutput', args.where, 'DeleteModuleOutputInput');
|
|
64
|
-
return new QueryBuilder({
|
|
65
|
-
client: this.client,
|
|
66
|
-
operation: 'mutation',
|
|
67
|
-
operationName: 'ModuleOutput',
|
|
68
|
-
fieldName: 'deleteModuleOutput',
|
|
69
|
-
document,
|
|
70
|
-
variables,
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateDocument, buildDeleteDocument, } from '../query-builder';
|
|
2
|
-
// ============================================================================
|
|
3
|
-
// Model Class
|
|
4
|
-
// ============================================================================
|
|
5
|
-
export class PermissionsModuleModel {
|
|
6
|
-
client;
|
|
7
|
-
constructor(client) {
|
|
8
|
-
this.client = client;
|
|
9
|
-
}
|
|
10
|
-
findMany(args) {
|
|
11
|
-
const { document, variables } = buildFindManyDocument('PermissionsModule', 'permissionsModules', 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
|
-
}, 'PermissionsModuleFilter', 'PermissionsModulesOrderBy');
|
|
20
|
-
return new QueryBuilder({
|
|
21
|
-
client: this.client,
|
|
22
|
-
operation: 'query',
|
|
23
|
-
operationName: 'PermissionsModule',
|
|
24
|
-
fieldName: 'permissionsModules',
|
|
25
|
-
document,
|
|
26
|
-
variables,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
findFirst(args) {
|
|
30
|
-
const { document, variables } = buildFindFirstDocument('PermissionsModule', 'permissionsModules', args?.select, { where: args?.where }, 'PermissionsModuleFilter');
|
|
31
|
-
return new QueryBuilder({
|
|
32
|
-
client: this.client,
|
|
33
|
-
operation: 'query',
|
|
34
|
-
operationName: 'PermissionsModule',
|
|
35
|
-
fieldName: 'permissionsModules',
|
|
36
|
-
document,
|
|
37
|
-
variables,
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
create(args) {
|
|
41
|
-
const { document, variables } = buildCreateDocument('PermissionsModule', 'createPermissionsModule', 'permissionsModule', args.select, args.data, 'CreatePermissionsModuleInput');
|
|
42
|
-
return new QueryBuilder({
|
|
43
|
-
client: this.client,
|
|
44
|
-
operation: 'mutation',
|
|
45
|
-
operationName: 'PermissionsModule',
|
|
46
|
-
fieldName: 'createPermissionsModule',
|
|
47
|
-
document,
|
|
48
|
-
variables,
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
update(args) {
|
|
52
|
-
const { document, variables } = buildUpdateDocument('PermissionsModule', 'updatePermissionsModule', 'permissionsModule', args.select, args.where, args.data, 'UpdatePermissionsModuleInput');
|
|
53
|
-
return new QueryBuilder({
|
|
54
|
-
client: this.client,
|
|
55
|
-
operation: 'mutation',
|
|
56
|
-
operationName: 'PermissionsModule',
|
|
57
|
-
fieldName: 'updatePermissionsModule',
|
|
58
|
-
document,
|
|
59
|
-
variables,
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
delete(args) {
|
|
63
|
-
const { document, variables } = buildDeleteDocument('PermissionsModule', 'deletePermissionsModule', 'permissionsModule', args.where, 'DeletePermissionsModuleInput');
|
|
64
|
-
return new QueryBuilder({
|
|
65
|
-
client: this.client,
|
|
66
|
-
operation: 'mutation',
|
|
67
|
-
operationName: 'PermissionsModule',
|
|
68
|
-
fieldName: 'deletePermissionsModule',
|
|
69
|
-
document,
|
|
70
|
-
variables,
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
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
|
-
}
|