@constructive-sdk/cli 0.13.4 → 0.14.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/admin/cli/commands/app-membership.js +22 -0
- package/admin/cli/commands/membership-type.js +44 -0
- package/{auth/cli/commands/connected-account.d.ts → admin/cli/commands/org-member-profile.d.ts} +1 -1
- package/admin/cli/commands/org-member-profile.js +392 -0
- package/admin/cli/commands/org-membership.js +44 -0
- package/admin/cli/commands.js +7 -5
- package/admin/cli/executor.d.ts +3 -2
- package/admin/orm/index.d.ts +6 -4
- package/admin/orm/index.js +6 -4
- package/admin/orm/input-types.d.ts +503 -295
- package/admin/orm/models/index.d.ts +3 -2
- package/admin/orm/models/index.js +7 -5
- package/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
- package/{esm/auth/cli/commands/one-time-token.d.ts → auth/cli/commands/create-api-key.d.ts} +1 -1
- package/{public/cli/commands/one-time-token.js → auth/cli/commands/create-api-key.js} +3 -3
- package/auth/cli/commands/disconnect-account.d.ts +8 -0
- package/auth/cli/commands/{sign-in-one-time-token.js → disconnect-account.js} +3 -3
- package/auth/cli/commands/provision-new-user.d.ts +8 -0
- package/{public/cli/commands/sign-in-one-time-token.js → auth/cli/commands/provision-new-user.js} +3 -3
- package/auth/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/auth/cli/commands/request-cross-origin-token.js +36 -0
- package/auth/cli/commands/require-step-up.d.ts +8 -0
- package/auth/cli/commands/require-step-up.js +30 -0
- package/auth/cli/commands/{one-time-token.d.ts → revoke-api-key.d.ts} +1 -1
- package/auth/cli/commands/{one-time-token.js → revoke-api-key.js} +3 -3
- package/auth/cli/commands/revoke-session.d.ts +8 -0
- package/auth/cli/commands/revoke-session.js +36 -0
- package/auth/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/auth/cli/commands/sign-in-cross-origin.js +36 -0
- package/auth/cli/commands/user-connected-account.d.ts +8 -0
- package/auth/cli/commands/user-connected-account.js +176 -0
- package/auth/cli/commands.js +23 -11
- package/auth/cli/executor.d.ts +44 -14
- package/auth/orm/index.d.ts +45 -15
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +186 -251
- package/auth/orm/input-types.js +0 -1
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/auth/orm/models/userConnectedAccount.js +76 -0
- package/auth/orm/mutation/index.d.ts +56 -16
- package/auth/orm/mutation/index.js +78 -18
- package/auth/orm/query/index.d.ts +12 -4
- package/auth/orm/query/index.js +19 -7
- package/esm/admin/cli/commands/app-membership.js +22 -0
- package/esm/admin/cli/commands/membership-type.js +44 -0
- package/esm/{public/cli/commands/connected-account.d.ts → admin/cli/commands/org-member-profile.d.ts} +1 -1
- package/esm/admin/cli/commands/org-member-profile.js +390 -0
- package/esm/admin/cli/commands/org-membership.js +44 -0
- package/esm/admin/cli/commands.js +7 -5
- package/esm/admin/cli/executor.d.ts +3 -2
- package/esm/admin/orm/index.d.ts +6 -4
- package/esm/admin/orm/index.js +6 -4
- package/esm/admin/orm/input-types.d.ts +503 -295
- package/esm/admin/orm/models/index.d.ts +3 -2
- package/esm/admin/orm/models/index.js +3 -2
- package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{public/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
- package/esm/auth/cli/commands/create-api-key.d.ts +8 -0
- package/esm/{public/cli/commands/one-time-token.js → auth/cli/commands/create-api-key.js} +3 -3
- package/esm/auth/cli/commands/disconnect-account.d.ts +8 -0
- package/esm/auth/cli/commands/{sign-in-one-time-token.js → disconnect-account.js} +3 -3
- package/esm/auth/cli/commands/provision-new-user.d.ts +8 -0
- package/esm/{public/cli/commands/sign-in-one-time-token.js → auth/cli/commands/provision-new-user.js} +3 -3
- package/esm/auth/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/esm/auth/cli/commands/request-cross-origin-token.js +34 -0
- package/esm/auth/cli/commands/require-step-up.d.ts +8 -0
- package/esm/auth/cli/commands/require-step-up.js +28 -0
- package/esm/auth/cli/commands/revoke-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/{one-time-token.js → revoke-api-key.js} +3 -3
- package/esm/auth/cli/commands/revoke-session.d.ts +8 -0
- package/esm/auth/cli/commands/revoke-session.js +34 -0
- package/esm/auth/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/esm/auth/cli/commands/sign-in-cross-origin.js +34 -0
- package/esm/auth/cli/commands/user-connected-account.d.ts +8 -0
- package/esm/auth/cli/commands/user-connected-account.js +174 -0
- package/esm/auth/cli/commands.js +23 -11
- package/esm/auth/cli/executor.d.ts +44 -14
- package/esm/auth/orm/index.d.ts +45 -15
- package/esm/auth/orm/index.js +2 -2
- package/esm/auth/orm/input-types.d.ts +186 -251
- package/esm/auth/orm/input-types.js +0 -1
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/auth/orm/models/userConnectedAccount.js +72 -0
- package/esm/auth/orm/mutation/index.d.ts +56 -16
- package/esm/auth/orm/mutation/index.js +78 -18
- package/esm/auth/orm/query/index.d.ts +12 -4
- package/esm/auth/orm/query/index.js +19 -7
- package/esm/public/cli/commands/app-membership.js +22 -0
- package/esm/public/cli/commands/construct-blueprint.js +1 -1
- package/esm/public/cli/commands/create-api-key.d.ts +8 -0
- package/esm/public/cli/commands/create-api-key.js +34 -0
- package/{public/cli/commands/connected-account.d.ts → esm/public/cli/commands/devices-module.d.ts} +1 -1
- package/esm/public/cli/commands/{connected-account.js → devices-module.js} +101 -87
- package/esm/public/cli/commands/disconnect-account.d.ts +8 -0
- package/esm/public/cli/commands/disconnect-account.js +34 -0
- package/esm/public/cli/commands/{table-template-module.d.ts → entity-type-provision.d.ts} +1 -1
- package/esm/public/cli/commands/entity-type-provision.js +554 -0
- package/esm/public/cli/commands/membership-type.js +44 -0
- package/esm/public/cli/commands/memberships-module.js +22 -0
- package/esm/{auth/cli/commands/connected-account.d.ts → public/cli/commands/org-member-profile.d.ts} +1 -1
- package/esm/public/cli/commands/org-member-profile.js +390 -0
- package/esm/public/cli/commands/org-membership.js +44 -0
- package/esm/public/cli/commands/provision-new-user.d.ts +8 -0
- package/esm/public/cli/commands/provision-new-user.js +34 -0
- package/esm/public/cli/commands/provision-spatial-relation.d.ts +8 -0
- package/esm/public/cli/commands/provision-spatial-relation.js +34 -0
- package/esm/public/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/esm/public/cli/commands/request-cross-origin-token.js +34 -0
- package/esm/public/cli/commands/require-step-up.d.ts +8 -0
- package/esm/public/cli/commands/require-step-up.js +28 -0
- package/{auth/cli/commands/sign-in-one-time-token.d.ts → esm/public/cli/commands/resolve-blueprint-field.d.ts} +1 -1
- package/esm/public/cli/commands/resolve-blueprint-field.js +38 -0
- package/esm/public/cli/commands/revoke-api-key.d.ts +8 -0
- package/esm/public/cli/commands/revoke-api-key.js +34 -0
- package/esm/public/cli/commands/revoke-session.d.ts +8 -0
- package/esm/public/cli/commands/revoke-session.js +34 -0
- package/esm/public/cli/commands/session-secrets-module.d.ts +8 -0
- package/esm/{auth/cli/commands/connected-account.js → public/cli/commands/session-secrets-module.js} +82 -90
- package/esm/public/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/esm/public/cli/commands/sign-in-cross-origin.js +34 -0
- package/esm/public/cli/commands/spatial-relation.d.ts +8 -0
- package/esm/public/cli/commands/spatial-relation.js +472 -0
- package/esm/public/cli/commands/user-auth-module.js +24 -24
- package/esm/public/cli/commands/user-connected-account.d.ts +8 -0
- package/esm/public/cli/commands/user-connected-account.js +174 -0
- package/esm/public/cli/commands/webauthn-credentials-module.d.ts +8 -0
- package/esm/public/cli/commands/{table-template-module.js → webauthn-credentials-module.js} +8 -48
- package/esm/public/cli/commands.js +41 -15
- package/esm/public/cli/executor.d.ts +61 -16
- package/esm/public/orm/index.d.ts +69 -19
- package/esm/public/orm/index.js +16 -6
- package/esm/public/orm/input-types.d.ts +2047 -640
- package/esm/public/orm/input-types.js +15 -6
- package/esm/public/orm/models/devicesModule.d.ts +56 -0
- package/esm/public/orm/models/devicesModule.js +96 -0
- package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
- package/esm/public/orm/models/index.d.ts +8 -3
- package/esm/public/orm/models/index.js +8 -3
- package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{auth/orm/models/connectedAccount.js → public/orm/models/orgMemberProfile.js} +24 -24
- package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/esm/public/orm/models/sessionSecretsModule.js +96 -0
- package/esm/public/orm/models/spatialRelation.d.ts +56 -0
- package/esm/public/orm/models/spatialRelation.js +96 -0
- package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/public/orm/models/userConnectedAccount.js +72 -0
- package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +72 -20
- package/esm/public/orm/mutation/index.js +96 -24
- package/esm/public/orm/query/index.d.ts +24 -2
- package/esm/public/orm/query/index.js +36 -4
- package/package.json +5 -5
- package/public/cli/commands/app-membership.js +22 -0
- package/public/cli/commands/construct-blueprint.js +1 -1
- package/public/cli/commands/create-api-key.d.ts +8 -0
- package/public/cli/commands/create-api-key.js +36 -0
- package/public/cli/commands/devices-module.d.ts +8 -0
- package/{auth/cli/commands/connected-account.js → public/cli/commands/devices-module.js} +101 -87
- package/public/cli/commands/disconnect-account.d.ts +8 -0
- package/public/cli/commands/disconnect-account.js +36 -0
- package/public/cli/commands/entity-type-provision.d.ts +8 -0
- package/public/cli/commands/entity-type-provision.js +556 -0
- package/public/cli/commands/membership-type.js +44 -0
- package/public/cli/commands/memberships-module.js +22 -0
- package/public/cli/commands/org-member-profile.d.ts +8 -0
- package/public/cli/commands/org-member-profile.js +392 -0
- package/public/cli/commands/org-membership.js +44 -0
- package/public/cli/commands/provision-new-user.d.ts +8 -0
- package/public/cli/commands/provision-new-user.js +36 -0
- package/public/cli/commands/provision-spatial-relation.d.ts +8 -0
- package/public/cli/commands/provision-spatial-relation.js +36 -0
- package/public/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/public/cli/commands/request-cross-origin-token.js +36 -0
- package/public/cli/commands/require-step-up.d.ts +8 -0
- package/public/cli/commands/require-step-up.js +30 -0
- package/public/cli/commands/resolve-blueprint-field.d.ts +8 -0
- package/public/cli/commands/resolve-blueprint-field.js +40 -0
- package/public/cli/commands/revoke-api-key.d.ts +8 -0
- package/public/cli/commands/revoke-api-key.js +36 -0
- package/public/cli/commands/revoke-session.d.ts +8 -0
- package/public/cli/commands/revoke-session.js +36 -0
- package/public/cli/commands/session-secrets-module.d.ts +8 -0
- package/public/cli/commands/{connected-account.js → session-secrets-module.js} +82 -90
- package/public/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/public/cli/commands/sign-in-cross-origin.js +36 -0
- package/public/cli/commands/spatial-relation.d.ts +8 -0
- package/public/cli/commands/spatial-relation.js +474 -0
- package/public/cli/commands/user-auth-module.js +24 -24
- package/public/cli/commands/user-connected-account.d.ts +8 -0
- package/public/cli/commands/user-connected-account.js +176 -0
- package/public/cli/commands/webauthn-credentials-module.d.ts +8 -0
- package/public/cli/commands/{table-template-module.js → webauthn-credentials-module.js} +8 -48
- package/public/cli/commands.js +41 -15
- package/public/cli/executor.d.ts +61 -16
- package/public/orm/index.d.ts +69 -19
- package/public/orm/index.js +16 -6
- package/public/orm/input-types.d.ts +2047 -640
- package/public/orm/input-types.js +15 -6
- package/public/orm/models/devicesModule.d.ts +56 -0
- package/public/orm/models/devicesModule.js +100 -0
- package/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
- package/public/orm/models/index.d.ts +8 -3
- package/public/orm/models/index.js +19 -9
- package/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
- package/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/public/orm/models/sessionSecretsModule.js +100 -0
- package/public/orm/models/spatialRelation.d.ts +56 -0
- package/public/orm/models/spatialRelation.js +100 -0
- package/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/public/orm/models/userConnectedAccount.js +76 -0
- package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/public/orm/models/webauthnCredentialsModule.js +100 -0
- package/public/orm/mutation/index.d.ts +72 -20
- package/public/orm/mutation/index.js +96 -24
- package/public/orm/query/index.d.ts +24 -2
- package/public/orm/query/index.js +36 -4
- package/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/auth/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/cli/commands/one-time-token.d.ts +0 -8
- package/esm/public/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/esm/public/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
- package/public/cli/commands/one-time-token.d.ts +0 -8
- package/public/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/public/cli/commands/table-template-module.d.ts +0 -8
- package/public/orm/models/connectedAccount.d.ts +0 -56
- package/public/orm/models/tableTemplateModule.d.ts +0 -56
|
@@ -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 OrgMemberProfileModel {
|
|
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('OrgMemberProfile', 'orgMemberProfiles', args.select, {
|
|
10
10
|
where: args?.where,
|
|
11
11
|
orderBy: args?.orderBy,
|
|
12
12
|
first: args?.first,
|
|
@@ -14,81 +14,81 @@ export class ConnectedAccountModel {
|
|
|
14
14
|
after: args?.after,
|
|
15
15
|
before: args?.before,
|
|
16
16
|
offset: args?.offset,
|
|
17
|
-
}, '
|
|
17
|
+
}, 'OrgMemberProfileFilter', 'OrgMemberProfileOrderBy', connectionFieldsMap);
|
|
18
18
|
return new QueryBuilder({
|
|
19
19
|
client: this.client,
|
|
20
20
|
operation: 'query',
|
|
21
|
-
operationName: '
|
|
22
|
-
fieldName: '
|
|
21
|
+
operationName: 'OrgMemberProfile',
|
|
22
|
+
fieldName: 'orgMemberProfiles',
|
|
23
23
|
document,
|
|
24
24
|
variables,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('OrgMemberProfile', 'orgMemberProfiles', args.select, {
|
|
29
29
|
where: args?.where,
|
|
30
|
-
}, '
|
|
30
|
+
}, 'OrgMemberProfileFilter', connectionFieldsMap);
|
|
31
31
|
return new QueryBuilder({
|
|
32
32
|
client: this.client,
|
|
33
33
|
operation: 'query',
|
|
34
|
-
operationName: '
|
|
35
|
-
fieldName: '
|
|
34
|
+
operationName: 'OrgMemberProfile',
|
|
35
|
+
fieldName: 'orgMemberProfiles',
|
|
36
36
|
document,
|
|
37
37
|
variables,
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
findOne(args) {
|
|
41
|
-
const { document, variables } = buildFindManyDocument('
|
|
41
|
+
const { document, variables } = buildFindManyDocument('OrgMemberProfile', 'orgMemberProfiles', args.select, {
|
|
42
42
|
where: {
|
|
43
43
|
id: {
|
|
44
44
|
equalTo: args.id,
|
|
45
45
|
},
|
|
46
46
|
},
|
|
47
47
|
first: 1,
|
|
48
|
-
}, '
|
|
48
|
+
}, 'OrgMemberProfileFilter', 'OrgMemberProfileOrderBy', connectionFieldsMap);
|
|
49
49
|
return new QueryBuilder({
|
|
50
50
|
client: this.client,
|
|
51
51
|
operation: 'query',
|
|
52
|
-
operationName: '
|
|
53
|
-
fieldName: '
|
|
52
|
+
operationName: 'OrgMemberProfile',
|
|
53
|
+
fieldName: 'orgMemberProfile',
|
|
54
54
|
document,
|
|
55
55
|
variables,
|
|
56
56
|
transform: (data) => ({
|
|
57
|
-
|
|
57
|
+
orgMemberProfile: data.orgMemberProfiles?.nodes?.[0] ?? null,
|
|
58
58
|
}),
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
create(args) {
|
|
62
|
-
const { document, variables } = buildCreateDocument('
|
|
62
|
+
const { document, variables } = buildCreateDocument('OrgMemberProfile', 'createOrgMemberProfile', 'orgMemberProfile', args.select, args.data, 'CreateOrgMemberProfileInput', connectionFieldsMap);
|
|
63
63
|
return new QueryBuilder({
|
|
64
64
|
client: this.client,
|
|
65
65
|
operation: 'mutation',
|
|
66
|
-
operationName: '
|
|
67
|
-
fieldName: '
|
|
66
|
+
operationName: 'OrgMemberProfile',
|
|
67
|
+
fieldName: 'createOrgMemberProfile',
|
|
68
68
|
document,
|
|
69
69
|
variables,
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
update(args) {
|
|
73
|
-
const { document, variables } = buildUpdateByPkDocument('
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('OrgMemberProfile', 'updateOrgMemberProfile', 'orgMemberProfile', args.select, args.where.id, args.data, 'UpdateOrgMemberProfileInput', 'id', 'orgMemberProfilePatch', connectionFieldsMap);
|
|
74
74
|
return new QueryBuilder({
|
|
75
75
|
client: this.client,
|
|
76
76
|
operation: 'mutation',
|
|
77
|
-
operationName: '
|
|
78
|
-
fieldName: '
|
|
77
|
+
operationName: 'OrgMemberProfile',
|
|
78
|
+
fieldName: 'updateOrgMemberProfile',
|
|
79
79
|
document,
|
|
80
80
|
variables,
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
delete(args) {
|
|
84
|
-
const { document, variables } = buildDeleteByPkDocument('
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('OrgMemberProfile', 'deleteOrgMemberProfile', 'orgMemberProfile', {
|
|
85
85
|
id: args.where.id,
|
|
86
|
-
}, '
|
|
86
|
+
}, 'DeleteOrgMemberProfileInput', args.select, connectionFieldsMap);
|
|
87
87
|
return new QueryBuilder({
|
|
88
88
|
client: this.client,
|
|
89
89
|
operation: 'mutation',
|
|
90
|
-
operationName: '
|
|
91
|
-
fieldName: '
|
|
90
|
+
operationName: 'OrgMemberProfile',
|
|
91
|
+
fieldName: 'deleteOrgMemberProfile',
|
|
92
92
|
document,
|
|
93
93
|
variables,
|
|
94
94
|
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionSecretsModule 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 { SessionSecretsModuleWithRelations, SessionSecretsModuleSelect, SessionSecretsModuleFilter, SessionSecretsModuleOrderBy, CreateSessionSecretsModuleInput, SessionSecretsModulePatch } from '../input-types';
|
|
10
|
+
export declare class SessionSecretsModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends SessionSecretsModuleSelect>(args: FindManyArgs<S, SessionSecretsModuleFilter, SessionSecretsModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, SessionSecretsModuleSelect>): QueryBuilder<{
|
|
16
|
+
sessionSecretsModules: ConnectionResult<InferSelectResult<SessionSecretsModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends SessionSecretsModuleSelect>(args: FindFirstArgs<S, SessionSecretsModuleFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, SessionSecretsModuleSelect>): QueryBuilder<{
|
|
21
|
+
sessionSecretsModules: {
|
|
22
|
+
nodes: InferSelectResult<SessionSecretsModuleWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends SessionSecretsModuleSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, SessionSecretsModuleSelect>): QueryBuilder<{
|
|
29
|
+
sessionSecretsModule: InferSelectResult<SessionSecretsModuleWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends SessionSecretsModuleSelect>(args: CreateArgs<S, CreateSessionSecretsModuleInput['sessionSecretsModule']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, SessionSecretsModuleSelect>): QueryBuilder<{
|
|
34
|
+
createSessionSecretsModule: {
|
|
35
|
+
sessionSecretsModule: InferSelectResult<SessionSecretsModuleWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends SessionSecretsModuleSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, SessionSecretsModulePatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, SessionSecretsModuleSelect>): QueryBuilder<{
|
|
43
|
+
updateSessionSecretsModule: {
|
|
44
|
+
sessionSecretsModule: InferSelectResult<SessionSecretsModuleWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends SessionSecretsModuleSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, SessionSecretsModuleSelect>): QueryBuilder<{
|
|
52
|
+
deleteSessionSecretsModule: {
|
|
53
|
+
sessionSecretsModule: InferSelectResult<SessionSecretsModuleWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class SessionSecretsModuleModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('SessionSecretsModule', 'sessionSecretsModules', 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
|
+
}, 'SessionSecretsModuleFilter', 'SessionSecretsModuleOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'SessionSecretsModule',
|
|
22
|
+
fieldName: 'sessionSecretsModules',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('SessionSecretsModule', 'sessionSecretsModules', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'SessionSecretsModuleFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'SessionSecretsModule',
|
|
35
|
+
fieldName: 'sessionSecretsModules',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('SessionSecretsModule', 'sessionSecretsModules', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'SessionSecretsModuleFilter', 'SessionSecretsModuleOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'SessionSecretsModule',
|
|
53
|
+
fieldName: 'sessionSecretsModule',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
sessionSecretsModule: data.sessionSecretsModules?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('SessionSecretsModule', 'createSessionSecretsModule', 'sessionSecretsModule', args.select, args.data, 'CreateSessionSecretsModuleInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'SessionSecretsModule',
|
|
67
|
+
fieldName: 'createSessionSecretsModule',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('SessionSecretsModule', 'updateSessionSecretsModule', 'sessionSecretsModule', args.select, args.where.id, args.data, 'UpdateSessionSecretsModuleInput', 'id', 'sessionSecretsModulePatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'SessionSecretsModule',
|
|
78
|
+
fieldName: 'updateSessionSecretsModule',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('SessionSecretsModule', 'deleteSessionSecretsModule', 'sessionSecretsModule', {
|
|
85
|
+
id: args.where.id,
|
|
86
|
+
}, 'DeleteSessionSecretsModuleInput', args.select, connectionFieldsMap);
|
|
87
|
+
return new QueryBuilder({
|
|
88
|
+
client: this.client,
|
|
89
|
+
operation: 'mutation',
|
|
90
|
+
operationName: 'SessionSecretsModule',
|
|
91
|
+
fieldName: 'deleteSessionSecretsModule',
|
|
92
|
+
document,
|
|
93
|
+
variables,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SpatialRelation 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 { SpatialRelationWithRelations, SpatialRelationSelect, SpatialRelationFilter, SpatialRelationOrderBy, CreateSpatialRelationInput, SpatialRelationPatch } from '../input-types';
|
|
10
|
+
export declare class SpatialRelationModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends SpatialRelationSelect>(args: FindManyArgs<S, SpatialRelationFilter, SpatialRelationOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
|
|
16
|
+
spatialRelations: ConnectionResult<InferSelectResult<SpatialRelationWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends SpatialRelationSelect>(args: FindFirstArgs<S, SpatialRelationFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
|
|
21
|
+
spatialRelations: {
|
|
22
|
+
nodes: InferSelectResult<SpatialRelationWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends SpatialRelationSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
|
|
29
|
+
spatialRelation: InferSelectResult<SpatialRelationWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends SpatialRelationSelect>(args: CreateArgs<S, CreateSpatialRelationInput['spatialRelation']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
|
|
34
|
+
createSpatialRelation: {
|
|
35
|
+
spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends SpatialRelationSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, SpatialRelationPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
|
|
43
|
+
updateSpatialRelation: {
|
|
44
|
+
spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends SpatialRelationSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
|
|
52
|
+
deleteSpatialRelation: {
|
|
53
|
+
spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class SpatialRelationModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('SpatialRelation', 'spatialRelations', 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
|
+
}, 'SpatialRelationFilter', 'SpatialRelationOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'SpatialRelation',
|
|
22
|
+
fieldName: 'spatialRelations',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('SpatialRelation', 'spatialRelations', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'SpatialRelationFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'SpatialRelation',
|
|
35
|
+
fieldName: 'spatialRelations',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('SpatialRelation', 'spatialRelations', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'SpatialRelationFilter', 'SpatialRelationOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'SpatialRelation',
|
|
53
|
+
fieldName: 'spatialRelation',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
spatialRelation: data.spatialRelations?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('SpatialRelation', 'createSpatialRelation', 'spatialRelation', args.select, args.data, 'CreateSpatialRelationInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'SpatialRelation',
|
|
67
|
+
fieldName: 'createSpatialRelation',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('SpatialRelation', 'updateSpatialRelation', 'spatialRelation', args.select, args.where.id, args.data, 'UpdateSpatialRelationInput', 'id', 'spatialRelationPatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'SpatialRelation',
|
|
78
|
+
fieldName: 'updateSpatialRelation',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('SpatialRelation', 'deleteSpatialRelation', 'spatialRelation', {
|
|
85
|
+
id: args.where.id,
|
|
86
|
+
}, 'DeleteSpatialRelationInput', args.select, connectionFieldsMap);
|
|
87
|
+
return new QueryBuilder({
|
|
88
|
+
client: this.client,
|
|
89
|
+
operation: 'mutation',
|
|
90
|
+
operationName: 'SpatialRelation',
|
|
91
|
+
fieldName: 'deleteSpatialRelation',
|
|
92
|
+
document,
|
|
93
|
+
variables,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UserConnectedAccount 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, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { UserConnectedAccountWithRelations, UserConnectedAccountSelect, UserConnectedAccountFilter, UserConnectedAccountOrderBy, CreateUserConnectedAccountInput } from '../input-types';
|
|
10
|
+
export declare class UserConnectedAccountModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends UserConnectedAccountSelect>(args: FindManyArgs<S, UserConnectedAccountFilter, UserConnectedAccountOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, UserConnectedAccountSelect>): QueryBuilder<{
|
|
16
|
+
userConnectedAccounts: ConnectionResult<InferSelectResult<UserConnectedAccountWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends UserConnectedAccountSelect>(args: FindFirstArgs<S, UserConnectedAccountFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, UserConnectedAccountSelect>): QueryBuilder<{
|
|
21
|
+
userConnectedAccounts: {
|
|
22
|
+
nodes: InferSelectResult<UserConnectedAccountWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends UserConnectedAccountSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, UserConnectedAccountSelect>): QueryBuilder<{
|
|
29
|
+
userConnectedAccount: InferSelectResult<UserConnectedAccountWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends UserConnectedAccountSelect>(args: CreateArgs<S, CreateUserConnectedAccountInput['userConnectedAccount']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, UserConnectedAccountSelect>): QueryBuilder<{
|
|
34
|
+
createUserConnectedAccount: {
|
|
35
|
+
userConnectedAccount: InferSelectResult<UserConnectedAccountWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class UserConnectedAccountModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('UserConnectedAccount', 'userConnectedAccounts', 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
|
+
}, 'UserConnectedAccountFilter', 'UserConnectedAccountOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'UserConnectedAccount',
|
|
22
|
+
fieldName: 'userConnectedAccounts',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('UserConnectedAccount', 'userConnectedAccounts', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'UserConnectedAccountFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'UserConnectedAccount',
|
|
35
|
+
fieldName: 'userConnectedAccounts',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('UserConnectedAccount', 'userConnectedAccounts', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'UserConnectedAccountFilter', 'UserConnectedAccountOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'UserConnectedAccount',
|
|
53
|
+
fieldName: 'userConnectedAccount',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
userConnectedAccount: data.userConnectedAccounts?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('UserConnectedAccount', 'createUserConnectedAccount', 'userConnectedAccount', args.select, args.data, 'CreateUserConnectedAccountInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'UserConnectedAccount',
|
|
67
|
+
fieldName: 'createUserConnectedAccount',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WebauthnCredentialsModule 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 { WebauthnCredentialsModuleWithRelations, WebauthnCredentialsModuleSelect, WebauthnCredentialsModuleFilter, WebauthnCredentialsModuleOrderBy, CreateWebauthnCredentialsModuleInput, WebauthnCredentialsModulePatch } from '../input-types';
|
|
10
|
+
export declare class WebauthnCredentialsModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends WebauthnCredentialsModuleSelect>(args: FindManyArgs<S, WebauthnCredentialsModuleFilter, WebauthnCredentialsModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, WebauthnCredentialsModuleSelect>): QueryBuilder<{
|
|
16
|
+
webauthnCredentialsModules: ConnectionResult<InferSelectResult<WebauthnCredentialsModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends WebauthnCredentialsModuleSelect>(args: FindFirstArgs<S, WebauthnCredentialsModuleFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, WebauthnCredentialsModuleSelect>): QueryBuilder<{
|
|
21
|
+
webauthnCredentialsModules: {
|
|
22
|
+
nodes: InferSelectResult<WebauthnCredentialsModuleWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends WebauthnCredentialsModuleSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, WebauthnCredentialsModuleSelect>): QueryBuilder<{
|
|
29
|
+
webauthnCredentialsModule: InferSelectResult<WebauthnCredentialsModuleWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends WebauthnCredentialsModuleSelect>(args: CreateArgs<S, CreateWebauthnCredentialsModuleInput['webauthnCredentialsModule']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, WebauthnCredentialsModuleSelect>): QueryBuilder<{
|
|
34
|
+
createWebauthnCredentialsModule: {
|
|
35
|
+
webauthnCredentialsModule: InferSelectResult<WebauthnCredentialsModuleWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends WebauthnCredentialsModuleSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, WebauthnCredentialsModulePatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, WebauthnCredentialsModuleSelect>): QueryBuilder<{
|
|
43
|
+
updateWebauthnCredentialsModule: {
|
|
44
|
+
webauthnCredentialsModule: InferSelectResult<WebauthnCredentialsModuleWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends WebauthnCredentialsModuleSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, WebauthnCredentialsModuleSelect>): QueryBuilder<{
|
|
52
|
+
deleteWebauthnCredentialsModule: {
|
|
53
|
+
webauthnCredentialsModule: InferSelectResult<WebauthnCredentialsModuleWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|