@constructive-io/sdk 0.23.3 → 0.24.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/README.md +4 -0
- package/admin/orm/index.d.ts +31 -33
- package/admin/orm/index.js +32 -33
- package/admin/orm/input-types.d.ts +2090 -2039
- package/admin/orm/input-types.js +4 -4
- package/admin/orm/models/appLimitEvent.d.ts +26 -2
- package/admin/orm/models/appLimitEvent.js +45 -0
- package/admin/orm/models/index.d.ts +15 -16
- package/admin/orm/models/index.js +31 -33
- package/admin/orm/models/orgLimitEvent.d.ts +26 -2
- package/admin/orm/models/orgLimitEvent.js +45 -0
- package/auth/orm/index.d.ts +8 -8
- package/auth/orm/index.js +4 -3
- package/auth/orm/input-types.d.ts +94 -94
- package/auth/orm/input-types.js +1 -1
- package/auth/orm/models/auditLogAuth.d.ts +54 -0
- package/{public/orm/models/agentMessage.js → auth/orm/models/auditLogAuth.js} +27 -27
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/mutation/index.d.ts +9 -9
- package/auth/orm/mutation/index.js +12 -12
- package/esm/admin/orm/index.d.ts +31 -33
- package/esm/admin/orm/index.js +31 -33
- package/esm/admin/orm/input-types.d.ts +2090 -2039
- package/esm/admin/orm/input-types.js +4 -4
- package/esm/admin/orm/models/appLimitEvent.d.ts +26 -2
- package/esm/admin/orm/models/appLimitEvent.js +46 -1
- package/esm/admin/orm/models/index.d.ts +15 -16
- package/esm/admin/orm/models/index.js +15 -16
- package/esm/admin/orm/models/orgLimitEvent.d.ts +26 -2
- package/esm/admin/orm/models/orgLimitEvent.js +46 -1
- package/esm/auth/orm/index.d.ts +8 -8
- package/esm/auth/orm/index.js +3 -3
- package/esm/auth/orm/input-types.d.ts +94 -94
- package/esm/auth/orm/input-types.js +1 -1
- package/esm/auth/orm/models/auditLogAuth.d.ts +54 -0
- package/esm/{public/orm/models/auditLog.js → auth/orm/models/auditLogAuth.js} +25 -25
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/mutation/index.d.ts +9 -9
- package/esm/auth/orm/mutation/index.js +12 -12
- package/esm/objects/orm/index.d.ts +1 -1
- package/esm/objects/orm/index.js +1 -1
- package/esm/public/orm/index.d.ts +102 -153
- package/esm/public/orm/index.js +59 -55
- package/esm/public/orm/input-types.d.ts +6255 -3877
- package/esm/public/orm/input-types.js +24 -15
- package/esm/public/orm/models/agentModule.d.ts +54 -0
- package/esm/public/orm/models/{agentThread.js → agentModule.js} +25 -25
- package/esm/public/orm/models/appLimitEvent.d.ts +26 -2
- package/esm/public/orm/models/appLimitEvent.js +46 -1
- package/esm/public/orm/models/auditLogAuth.d.ts +54 -0
- package/esm/{auth/orm/models/auditLog.js → public/orm/models/auditLogAuth.js} +25 -25
- package/esm/public/orm/models/computeLogModule.d.ts +54 -0
- package/esm/public/orm/models/{commit.js → computeLogModule.js} +25 -25
- package/esm/public/orm/models/configSecretsOrgModule.d.ts +54 -0
- package/esm/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +25 -25
- package/esm/public/orm/models/configSecretsUserModule.d.ts +54 -0
- package/esm/public/orm/models/configSecretsUserModule.js +100 -0
- package/esm/public/orm/models/dbUsageModule.d.ts +54 -0
- package/esm/{admin/orm/models/usageSnapshot.js → public/orm/models/dbUsageModule.js} +25 -25
- package/esm/public/orm/models/functionModule.d.ts +54 -0
- package/esm/public/orm/models/{agentMessage.js → functionModule.js} +25 -25
- package/esm/public/orm/models/graphModule.d.ts +54 -0
- package/esm/public/orm/models/{agentTask.js → graphModule.js} +25 -25
- package/esm/public/orm/models/index.d.ts +29 -27
- package/esm/public/orm/models/index.js +29 -27
- package/esm/public/orm/models/inferenceLogModule.d.ts +54 -0
- package/esm/public/orm/models/inferenceLogModule.js +100 -0
- package/esm/public/orm/models/merkleStoreModule.d.ts +54 -0
- package/esm/public/orm/models/merkleStoreModule.js +100 -0
- package/esm/public/orm/models/namespaceModule.d.ts +54 -0
- package/esm/public/orm/models/namespaceModule.js +100 -0
- package/esm/public/orm/models/orgLimitEvent.d.ts +26 -2
- package/esm/public/orm/models/orgLimitEvent.js +46 -1
- package/esm/public/orm/models/storageLogModule.d.ts +54 -0
- package/esm/public/orm/models/{store.js → storageLogModule.js} +25 -25
- package/esm/public/orm/models/transferLogModule.d.ts +54 -0
- package/esm/public/orm/models/transferLogModule.js +100 -0
- package/esm/public/orm/mutation/index.d.ts +69 -133
- package/esm/public/orm/mutation/index.js +78 -174
- package/esm/public/orm/query/index.d.ts +22 -71
- package/esm/public/orm/query/index.js +36 -124
- package/objects/orm/index.d.ts +1 -1
- package/objects/orm/index.js +2 -1
- package/package.json +6 -6
- package/public/orm/index.d.ts +102 -153
- package/public/orm/index.js +60 -55
- package/public/orm/input-types.d.ts +6255 -3877
- package/public/orm/input-types.js +24 -15
- package/public/orm/models/agentModule.d.ts +54 -0
- package/public/orm/models/{agentThread.js → agentModule.js} +27 -27
- package/public/orm/models/appLimitEvent.d.ts +26 -2
- package/public/orm/models/appLimitEvent.js +45 -0
- package/public/orm/models/auditLogAuth.d.ts +54 -0
- package/public/orm/models/{usageSnapshot.js → auditLogAuth.js} +27 -27
- package/public/orm/models/computeLogModule.d.ts +54 -0
- package/public/orm/models/computeLogModule.js +104 -0
- package/public/orm/models/configSecretsOrgModule.d.ts +54 -0
- package/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +27 -27
- package/public/orm/models/configSecretsUserModule.d.ts +54 -0
- package/public/orm/models/{ref.js → configSecretsUserModule.js} +27 -27
- package/public/orm/models/dbUsageModule.d.ts +54 -0
- package/{admin/orm/models/usageSnapshot.js → public/orm/models/dbUsageModule.js} +27 -27
- package/public/orm/models/functionModule.d.ts +54 -0
- package/{auth/orm/models/auditLog.js → public/orm/models/functionModule.js} +27 -27
- package/public/orm/models/graphModule.d.ts +54 -0
- package/public/orm/models/{agentTask.js → graphModule.js} +27 -27
- package/public/orm/models/index.d.ts +29 -27
- package/public/orm/models/index.js +61 -57
- package/public/orm/models/inferenceLogModule.d.ts +54 -0
- package/public/orm/models/inferenceLogModule.js +104 -0
- package/public/orm/models/merkleStoreModule.d.ts +54 -0
- package/public/orm/models/merkleStoreModule.js +104 -0
- package/public/orm/models/namespaceModule.d.ts +54 -0
- package/public/orm/models/namespaceModule.js +104 -0
- package/public/orm/models/orgLimitEvent.d.ts +26 -2
- package/public/orm/models/orgLimitEvent.js +45 -0
- package/public/orm/models/storageLogModule.d.ts +54 -0
- package/public/orm/models/storageLogModule.js +104 -0
- package/public/orm/models/transferLogModule.d.ts +54 -0
- package/public/orm/models/transferLogModule.js +104 -0
- package/public/orm/mutation/index.d.ts +69 -133
- package/public/orm/mutation/index.js +78 -174
- package/public/orm/query/index.d.ts +22 -71
- package/public/orm/query/index.js +36 -124
- package/admin/orm/models/usageSnapshot.d.ts +0 -54
- package/auth/orm/models/auditLog.d.ts +0 -54
- package/esm/admin/orm/models/usageSnapshot.d.ts +0 -54
- package/esm/auth/orm/models/auditLog.d.ts +0 -54
- package/esm/public/orm/models/agentMessage.d.ts +0 -54
- package/esm/public/orm/models/agentTask.d.ts +0 -54
- package/esm/public/orm/models/agentThread.d.ts +0 -54
- package/esm/public/orm/models/auditLog.d.ts +0 -54
- package/esm/public/orm/models/commit.d.ts +0 -54
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +0 -54
- package/esm/public/orm/models/getAllRecord.d.ts +0 -30
- package/esm/public/orm/models/getAllRecord.js +0 -55
- package/esm/public/orm/models/object.d.ts +0 -54
- package/esm/public/orm/models/object.js +0 -90
- package/esm/public/orm/models/ref.d.ts +0 -54
- package/esm/public/orm/models/ref.js +0 -100
- package/esm/public/orm/models/store.d.ts +0 -54
- package/esm/public/orm/models/usageSnapshot.d.ts +0 -54
- package/esm/public/orm/models/usageSnapshot.js +0 -100
- package/public/orm/models/agentMessage.d.ts +0 -54
- package/public/orm/models/agentTask.d.ts +0 -54
- package/public/orm/models/agentThread.d.ts +0 -54
- package/public/orm/models/auditLog.d.ts +0 -54
- package/public/orm/models/auditLog.js +0 -104
- package/public/orm/models/commit.d.ts +0 -54
- package/public/orm/models/commit.js +0 -104
- package/public/orm/models/encryptedSecretsModule.d.ts +0 -54
- package/public/orm/models/getAllRecord.d.ts +0 -30
- package/public/orm/models/getAllRecord.js +0 -59
- package/public/orm/models/object.d.ts +0 -54
- package/public/orm/models/object.js +0 -94
- package/public/orm/models/ref.d.ts +0 -54
- package/public/orm/models/store.d.ts +0 -54
- package/public/orm/models/store.js +0 -104
- package/public/orm/models/usageSnapshot.d.ts +0 -54
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class
|
|
3
|
+
export class ComputeLogModuleModel {
|
|
4
4
|
client;
|
|
5
5
|
constructor(client) {
|
|
6
6
|
this.client = client;
|
|
7
7
|
}
|
|
8
8
|
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('
|
|
9
|
+
const { document, variables } = buildFindManyDocument('ComputeLogModule', 'computeLogModules', args.select, {
|
|
10
10
|
where: args?.where,
|
|
11
11
|
orderBy: args?.orderBy,
|
|
12
12
|
first: args?.first,
|
|
@@ -14,85 +14,85 @@ export class CommitModel {
|
|
|
14
14
|
after: args?.after,
|
|
15
15
|
before: args?.before,
|
|
16
16
|
offset: args?.offset,
|
|
17
|
-
}, '
|
|
17
|
+
}, 'ComputeLogModuleFilter', 'ComputeLogModuleOrderBy', connectionFieldsMap);
|
|
18
18
|
return new QueryBuilder({
|
|
19
19
|
client: this.client,
|
|
20
20
|
operation: 'query',
|
|
21
|
-
operationName: '
|
|
22
|
-
fieldName: '
|
|
21
|
+
operationName: 'ComputeLogModule',
|
|
22
|
+
fieldName: 'computeLogModules',
|
|
23
23
|
document,
|
|
24
24
|
variables,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('ComputeLogModule', 'computeLogModules', args.select, {
|
|
29
29
|
where: args?.where,
|
|
30
30
|
orderBy: args?.orderBy,
|
|
31
|
-
}, '
|
|
31
|
+
}, 'ComputeLogModuleFilter', 'ComputeLogModuleOrderBy', connectionFieldsMap);
|
|
32
32
|
return new QueryBuilder({
|
|
33
33
|
client: this.client,
|
|
34
34
|
operation: 'query',
|
|
35
|
-
operationName: '
|
|
36
|
-
fieldName: '
|
|
35
|
+
operationName: 'ComputeLogModule',
|
|
36
|
+
fieldName: 'computeLogModule',
|
|
37
37
|
document,
|
|
38
38
|
variables,
|
|
39
39
|
transform: (data) => ({
|
|
40
|
-
|
|
40
|
+
computeLogModule: data.computeLogModules?.nodes?.[0] ?? null,
|
|
41
41
|
}),
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
findOne(args) {
|
|
45
|
-
const { document, variables } = buildFindManyDocument('
|
|
45
|
+
const { document, variables } = buildFindManyDocument('ComputeLogModule', 'computeLogModules', args.select, {
|
|
46
46
|
where: {
|
|
47
47
|
id: {
|
|
48
48
|
equalTo: args.id,
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
51
|
first: 1,
|
|
52
|
-
}, '
|
|
52
|
+
}, 'ComputeLogModuleFilter', 'ComputeLogModuleOrderBy', connectionFieldsMap);
|
|
53
53
|
return new QueryBuilder({
|
|
54
54
|
client: this.client,
|
|
55
55
|
operation: 'query',
|
|
56
|
-
operationName: '
|
|
57
|
-
fieldName: '
|
|
56
|
+
operationName: 'ComputeLogModule',
|
|
57
|
+
fieldName: 'computeLogModule',
|
|
58
58
|
document,
|
|
59
59
|
variables,
|
|
60
60
|
transform: (data) => ({
|
|
61
|
-
|
|
61
|
+
computeLogModule: data.computeLogModules?.nodes?.[0] ?? null,
|
|
62
62
|
}),
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('
|
|
66
|
+
const { document, variables } = buildCreateDocument('ComputeLogModule', 'createComputeLogModule', 'computeLogModule', args.select, args.data, 'CreateComputeLogModuleInput', connectionFieldsMap);
|
|
67
67
|
return new QueryBuilder({
|
|
68
68
|
client: this.client,
|
|
69
69
|
operation: 'mutation',
|
|
70
|
-
operationName: '
|
|
71
|
-
fieldName: '
|
|
70
|
+
operationName: 'ComputeLogModule',
|
|
71
|
+
fieldName: 'createComputeLogModule',
|
|
72
72
|
document,
|
|
73
73
|
variables,
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('ComputeLogModule', 'updateComputeLogModule', 'computeLogModule', args.select, args.where.id, args.data, 'UpdateComputeLogModuleInput', 'id', 'computeLogModulePatch', connectionFieldsMap);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
81
|
-
operationName: '
|
|
82
|
-
fieldName: '
|
|
81
|
+
operationName: 'ComputeLogModule',
|
|
82
|
+
fieldName: 'updateComputeLogModule',
|
|
83
83
|
document,
|
|
84
84
|
variables,
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
delete(args) {
|
|
88
|
-
const { document, variables } = buildDeleteByPkDocument('
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('ComputeLogModule', 'deleteComputeLogModule', 'computeLogModule', {
|
|
89
89
|
id: args.where.id,
|
|
90
|
-
}, '
|
|
90
|
+
}, 'DeleteComputeLogModuleInput', args.select, connectionFieldsMap);
|
|
91
91
|
return new QueryBuilder({
|
|
92
92
|
client: this.client,
|
|
93
93
|
operation: 'mutation',
|
|
94
|
-
operationName: '
|
|
95
|
-
fieldName: '
|
|
94
|
+
operationName: 'ComputeLogModule',
|
|
95
|
+
fieldName: 'deleteComputeLogModule',
|
|
96
96
|
document,
|
|
97
97
|
variables,
|
|
98
98
|
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ConfigSecretsOrgModule model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { ConfigSecretsOrgModuleWithRelations, ConfigSecretsOrgModuleSelect, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy, CreateConfigSecretsOrgModuleInput, ConfigSecretsOrgModulePatch } from '../input-types';
|
|
10
|
+
export declare class ConfigSecretsOrgModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ConfigSecretsOrgModuleSelect>(args: FindManyArgs<S, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
|
|
16
|
+
configSecretsOrgModules: ConnectionResult<InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ConfigSecretsOrgModuleSelect>(args: FindFirstArgs<S, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
|
|
21
|
+
configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends ConfigSecretsOrgModuleSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
|
|
27
|
+
configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends ConfigSecretsOrgModuleSelect>(args: CreateArgs<S, CreateConfigSecretsOrgModuleInput['configSecretsOrgModule']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
|
|
32
|
+
createConfigSecretsOrgModule: {
|
|
33
|
+
configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends ConfigSecretsOrgModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, ConfigSecretsOrgModulePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
|
|
41
|
+
updateConfigSecretsOrgModule: {
|
|
42
|
+
configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends ConfigSecretsOrgModuleSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
|
|
50
|
+
deleteConfigSecretsOrgModule: {
|
|
51
|
+
configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class
|
|
3
|
+
export class ConfigSecretsOrgModuleModel {
|
|
4
4
|
client;
|
|
5
5
|
constructor(client) {
|
|
6
6
|
this.client = client;
|
|
7
7
|
}
|
|
8
8
|
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('
|
|
9
|
+
const { document, variables } = buildFindManyDocument('ConfigSecretsOrgModule', 'configSecretsOrgModules', args.select, {
|
|
10
10
|
where: args?.where,
|
|
11
11
|
orderBy: args?.orderBy,
|
|
12
12
|
first: args?.first,
|
|
@@ -14,85 +14,85 @@ export class EncryptedSecretsModuleModel {
|
|
|
14
14
|
after: args?.after,
|
|
15
15
|
before: args?.before,
|
|
16
16
|
offset: args?.offset,
|
|
17
|
-
}, '
|
|
17
|
+
}, 'ConfigSecretsOrgModuleFilter', 'ConfigSecretsOrgModuleOrderBy', connectionFieldsMap);
|
|
18
18
|
return new QueryBuilder({
|
|
19
19
|
client: this.client,
|
|
20
20
|
operation: 'query',
|
|
21
|
-
operationName: '
|
|
22
|
-
fieldName: '
|
|
21
|
+
operationName: 'ConfigSecretsOrgModule',
|
|
22
|
+
fieldName: 'configSecretsOrgModules',
|
|
23
23
|
document,
|
|
24
24
|
variables,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('ConfigSecretsOrgModule', 'configSecretsOrgModules', args.select, {
|
|
29
29
|
where: args?.where,
|
|
30
30
|
orderBy: args?.orderBy,
|
|
31
|
-
}, '
|
|
31
|
+
}, 'ConfigSecretsOrgModuleFilter', 'ConfigSecretsOrgModuleOrderBy', connectionFieldsMap);
|
|
32
32
|
return new QueryBuilder({
|
|
33
33
|
client: this.client,
|
|
34
34
|
operation: 'query',
|
|
35
|
-
operationName: '
|
|
36
|
-
fieldName: '
|
|
35
|
+
operationName: 'ConfigSecretsOrgModule',
|
|
36
|
+
fieldName: 'configSecretsOrgModule',
|
|
37
37
|
document,
|
|
38
38
|
variables,
|
|
39
39
|
transform: (data) => ({
|
|
40
|
-
|
|
40
|
+
configSecretsOrgModule: data.configSecretsOrgModules?.nodes?.[0] ?? null,
|
|
41
41
|
}),
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
findOne(args) {
|
|
45
|
-
const { document, variables } = buildFindManyDocument('
|
|
45
|
+
const { document, variables } = buildFindManyDocument('ConfigSecretsOrgModule', 'configSecretsOrgModules', args.select, {
|
|
46
46
|
where: {
|
|
47
47
|
id: {
|
|
48
48
|
equalTo: args.id,
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
51
|
first: 1,
|
|
52
|
-
}, '
|
|
52
|
+
}, 'ConfigSecretsOrgModuleFilter', 'ConfigSecretsOrgModuleOrderBy', connectionFieldsMap);
|
|
53
53
|
return new QueryBuilder({
|
|
54
54
|
client: this.client,
|
|
55
55
|
operation: 'query',
|
|
56
|
-
operationName: '
|
|
57
|
-
fieldName: '
|
|
56
|
+
operationName: 'ConfigSecretsOrgModule',
|
|
57
|
+
fieldName: 'configSecretsOrgModule',
|
|
58
58
|
document,
|
|
59
59
|
variables,
|
|
60
60
|
transform: (data) => ({
|
|
61
|
-
|
|
61
|
+
configSecretsOrgModule: data.configSecretsOrgModules?.nodes?.[0] ?? null,
|
|
62
62
|
}),
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('
|
|
66
|
+
const { document, variables } = buildCreateDocument('ConfigSecretsOrgModule', 'createConfigSecretsOrgModule', 'configSecretsOrgModule', args.select, args.data, 'CreateConfigSecretsOrgModuleInput', connectionFieldsMap);
|
|
67
67
|
return new QueryBuilder({
|
|
68
68
|
client: this.client,
|
|
69
69
|
operation: 'mutation',
|
|
70
|
-
operationName: '
|
|
71
|
-
fieldName: '
|
|
70
|
+
operationName: 'ConfigSecretsOrgModule',
|
|
71
|
+
fieldName: 'createConfigSecretsOrgModule',
|
|
72
72
|
document,
|
|
73
73
|
variables,
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('ConfigSecretsOrgModule', 'updateConfigSecretsOrgModule', 'configSecretsOrgModule', args.select, args.where.id, args.data, 'UpdateConfigSecretsOrgModuleInput', 'id', 'configSecretsOrgModulePatch', connectionFieldsMap);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
81
|
-
operationName: '
|
|
82
|
-
fieldName: '
|
|
81
|
+
operationName: 'ConfigSecretsOrgModule',
|
|
82
|
+
fieldName: 'updateConfigSecretsOrgModule',
|
|
83
83
|
document,
|
|
84
84
|
variables,
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
delete(args) {
|
|
88
|
-
const { document, variables } = buildDeleteByPkDocument('
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('ConfigSecretsOrgModule', 'deleteConfigSecretsOrgModule', 'configSecretsOrgModule', {
|
|
89
89
|
id: args.where.id,
|
|
90
|
-
}, '
|
|
90
|
+
}, 'DeleteConfigSecretsOrgModuleInput', args.select, connectionFieldsMap);
|
|
91
91
|
return new QueryBuilder({
|
|
92
92
|
client: this.client,
|
|
93
93
|
operation: 'mutation',
|
|
94
|
-
operationName: '
|
|
95
|
-
fieldName: '
|
|
94
|
+
operationName: 'ConfigSecretsOrgModule',
|
|
95
|
+
fieldName: 'deleteConfigSecretsOrgModule',
|
|
96
96
|
document,
|
|
97
97
|
variables,
|
|
98
98
|
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ConfigSecretsUserModule model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { ConfigSecretsUserModuleWithRelations, ConfigSecretsUserModuleSelect, ConfigSecretsUserModuleFilter, ConfigSecretsUserModuleOrderBy, CreateConfigSecretsUserModuleInput, ConfigSecretsUserModulePatch } from '../input-types';
|
|
10
|
+
export declare class ConfigSecretsUserModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ConfigSecretsUserModuleSelect>(args: FindManyArgs<S, ConfigSecretsUserModuleFilter, ConfigSecretsUserModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
|
|
16
|
+
configSecretsUserModules: ConnectionResult<InferSelectResult<ConfigSecretsUserModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ConfigSecretsUserModuleSelect>(args: FindFirstArgs<S, ConfigSecretsUserModuleFilter, ConfigSecretsUserModuleOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
|
|
21
|
+
configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends ConfigSecretsUserModuleSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
|
|
27
|
+
configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends ConfigSecretsUserModuleSelect>(args: CreateArgs<S, CreateConfigSecretsUserModuleInput['configSecretsUserModule']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
|
|
32
|
+
createConfigSecretsUserModule: {
|
|
33
|
+
configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends ConfigSecretsUserModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, ConfigSecretsUserModulePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
|
|
41
|
+
updateConfigSecretsUserModule: {
|
|
42
|
+
configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends ConfigSecretsUserModuleSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
|
|
50
|
+
deleteConfigSecretsUserModule: {
|
|
51
|
+
configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class ConfigSecretsUserModuleModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('ConfigSecretsUserModule', 'configSecretsUserModules', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'ConfigSecretsUserModuleFilter', 'ConfigSecretsUserModuleOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'ConfigSecretsUserModule',
|
|
22
|
+
fieldName: 'configSecretsUserModules',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('ConfigSecretsUserModule', 'configSecretsUserModules', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'ConfigSecretsUserModuleFilter', 'ConfigSecretsUserModuleOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'ConfigSecretsUserModule',
|
|
36
|
+
fieldName: 'configSecretsUserModule',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
configSecretsUserModule: data.configSecretsUserModules?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('ConfigSecretsUserModule', 'configSecretsUserModules', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'ConfigSecretsUserModuleFilter', 'ConfigSecretsUserModuleOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'ConfigSecretsUserModule',
|
|
57
|
+
fieldName: 'configSecretsUserModule',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
configSecretsUserModule: data.configSecretsUserModules?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('ConfigSecretsUserModule', 'createConfigSecretsUserModule', 'configSecretsUserModule', args.select, args.data, 'CreateConfigSecretsUserModuleInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'ConfigSecretsUserModule',
|
|
71
|
+
fieldName: 'createConfigSecretsUserModule',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('ConfigSecretsUserModule', 'updateConfigSecretsUserModule', 'configSecretsUserModule', args.select, args.where.id, args.data, 'UpdateConfigSecretsUserModuleInput', 'id', 'configSecretsUserModulePatch', connectionFieldsMap);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'ConfigSecretsUserModule',
|
|
82
|
+
fieldName: 'updateConfigSecretsUserModule',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('ConfigSecretsUserModule', 'deleteConfigSecretsUserModule', 'configSecretsUserModule', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeleteConfigSecretsUserModuleInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'ConfigSecretsUserModule',
|
|
95
|
+
fieldName: 'deleteConfigSecretsUserModule',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DbUsageModule model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { DbUsageModuleWithRelations, DbUsageModuleSelect, DbUsageModuleFilter, DbUsageModuleOrderBy, CreateDbUsageModuleInput, DbUsageModulePatch } from '../input-types';
|
|
10
|
+
export declare class DbUsageModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends DbUsageModuleSelect>(args: FindManyArgs<S, DbUsageModuleFilter, DbUsageModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
|
|
16
|
+
dbUsageModules: ConnectionResult<InferSelectResult<DbUsageModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends DbUsageModuleSelect>(args: FindFirstArgs<S, DbUsageModuleFilter, DbUsageModuleOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
|
|
21
|
+
dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends DbUsageModuleSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
|
|
27
|
+
dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends DbUsageModuleSelect>(args: CreateArgs<S, CreateDbUsageModuleInput['dbUsageModule']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
|
|
32
|
+
createDbUsageModule: {
|
|
33
|
+
dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends DbUsageModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, DbUsageModulePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
|
|
41
|
+
updateDbUsageModule: {
|
|
42
|
+
dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends DbUsageModuleSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
|
|
50
|
+
deleteDbUsageModule: {
|
|
51
|
+
dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class
|
|
3
|
+
export class DbUsageModuleModel {
|
|
4
4
|
client;
|
|
5
5
|
constructor(client) {
|
|
6
6
|
this.client = client;
|
|
7
7
|
}
|
|
8
8
|
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('
|
|
9
|
+
const { document, variables } = buildFindManyDocument('DbUsageModule', 'dbUsageModules', args.select, {
|
|
10
10
|
where: args?.where,
|
|
11
11
|
orderBy: args?.orderBy,
|
|
12
12
|
first: args?.first,
|
|
@@ -14,85 +14,85 @@ export class UsageSnapshotModel {
|
|
|
14
14
|
after: args?.after,
|
|
15
15
|
before: args?.before,
|
|
16
16
|
offset: args?.offset,
|
|
17
|
-
}, '
|
|
17
|
+
}, 'DbUsageModuleFilter', 'DbUsageModuleOrderBy', connectionFieldsMap);
|
|
18
18
|
return new QueryBuilder({
|
|
19
19
|
client: this.client,
|
|
20
20
|
operation: 'query',
|
|
21
|
-
operationName: '
|
|
22
|
-
fieldName: '
|
|
21
|
+
operationName: 'DbUsageModule',
|
|
22
|
+
fieldName: 'dbUsageModules',
|
|
23
23
|
document,
|
|
24
24
|
variables,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('DbUsageModule', 'dbUsageModules', args.select, {
|
|
29
29
|
where: args?.where,
|
|
30
30
|
orderBy: args?.orderBy,
|
|
31
|
-
}, '
|
|
31
|
+
}, 'DbUsageModuleFilter', 'DbUsageModuleOrderBy', connectionFieldsMap);
|
|
32
32
|
return new QueryBuilder({
|
|
33
33
|
client: this.client,
|
|
34
34
|
operation: 'query',
|
|
35
|
-
operationName: '
|
|
36
|
-
fieldName: '
|
|
35
|
+
operationName: 'DbUsageModule',
|
|
36
|
+
fieldName: 'dbUsageModule',
|
|
37
37
|
document,
|
|
38
38
|
variables,
|
|
39
39
|
transform: (data) => ({
|
|
40
|
-
|
|
40
|
+
dbUsageModule: data.dbUsageModules?.nodes?.[0] ?? null,
|
|
41
41
|
}),
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
findOne(args) {
|
|
45
|
-
const { document, variables } = buildFindManyDocument('
|
|
45
|
+
const { document, variables } = buildFindManyDocument('DbUsageModule', 'dbUsageModules', args.select, {
|
|
46
46
|
where: {
|
|
47
47
|
id: {
|
|
48
48
|
equalTo: args.id,
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
51
|
first: 1,
|
|
52
|
-
}, '
|
|
52
|
+
}, 'DbUsageModuleFilter', 'DbUsageModuleOrderBy', connectionFieldsMap);
|
|
53
53
|
return new QueryBuilder({
|
|
54
54
|
client: this.client,
|
|
55
55
|
operation: 'query',
|
|
56
|
-
operationName: '
|
|
57
|
-
fieldName: '
|
|
56
|
+
operationName: 'DbUsageModule',
|
|
57
|
+
fieldName: 'dbUsageModule',
|
|
58
58
|
document,
|
|
59
59
|
variables,
|
|
60
60
|
transform: (data) => ({
|
|
61
|
-
|
|
61
|
+
dbUsageModule: data.dbUsageModules?.nodes?.[0] ?? null,
|
|
62
62
|
}),
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('
|
|
66
|
+
const { document, variables } = buildCreateDocument('DbUsageModule', 'createDbUsageModule', 'dbUsageModule', args.select, args.data, 'CreateDbUsageModuleInput', connectionFieldsMap);
|
|
67
67
|
return new QueryBuilder({
|
|
68
68
|
client: this.client,
|
|
69
69
|
operation: 'mutation',
|
|
70
|
-
operationName: '
|
|
71
|
-
fieldName: '
|
|
70
|
+
operationName: 'DbUsageModule',
|
|
71
|
+
fieldName: 'createDbUsageModule',
|
|
72
72
|
document,
|
|
73
73
|
variables,
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('DbUsageModule', 'updateDbUsageModule', 'dbUsageModule', args.select, args.where.id, args.data, 'UpdateDbUsageModuleInput', 'id', 'dbUsageModulePatch', connectionFieldsMap);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
81
|
-
operationName: '
|
|
82
|
-
fieldName: '
|
|
81
|
+
operationName: 'DbUsageModule',
|
|
82
|
+
fieldName: 'updateDbUsageModule',
|
|
83
83
|
document,
|
|
84
84
|
variables,
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
delete(args) {
|
|
88
|
-
const { document, variables } = buildDeleteByPkDocument('
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('DbUsageModule', 'deleteDbUsageModule', 'dbUsageModule', {
|
|
89
89
|
id: args.where.id,
|
|
90
|
-
}, '
|
|
90
|
+
}, 'DeleteDbUsageModuleInput', args.select, connectionFieldsMap);
|
|
91
91
|
return new QueryBuilder({
|
|
92
92
|
client: this.client,
|
|
93
93
|
operation: 'mutation',
|
|
94
|
-
operationName: '
|
|
95
|
-
fieldName: '
|
|
94
|
+
operationName: 'DbUsageModule',
|
|
95
|
+
fieldName: 'deleteDbUsageModule',
|
|
96
96
|
document,
|
|
97
97
|
variables,
|
|
98
98
|
});
|