@constructive-sdk/cli 0.12.15 → 0.12.17
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/esm/public/cli/commands/blueprint-construction.d.ts +8 -0
- package/esm/public/cli/commands/blueprint-construction.js +392 -0
- package/esm/public/cli/commands/blueprint.js +0 -110
- package/esm/public/cli/commands/construct-blueprint.js +1 -1
- package/esm/public/cli/commands/provision-full-text-search.d.ts +8 -0
- package/esm/public/cli/commands/provision-full-text-search.js +34 -0
- package/esm/public/cli/commands/provision-index.d.ts +8 -0
- package/esm/public/cli/commands/provision-index.js +34 -0
- package/esm/public/cli/commands/provision-relation.d.ts +8 -0
- package/esm/public/cli/commands/provision-relation.js +34 -0
- package/esm/public/cli/commands/provision-table.d.ts +8 -0
- package/esm/public/cli/commands/provision-table.js +34 -0
- package/esm/public/cli/commands/provision-unique-constraint.d.ts +8 -0
- package/esm/public/cli/commands/provision-unique-constraint.js +34 -0
- package/esm/public/cli/commands/relation-provision.js +12 -34
- package/esm/public/cli/commands/resolve-blueprint-table.d.ts +8 -0
- package/esm/public/cli/commands/resolve-blueprint-table.js +48 -0
- package/esm/public/cli/commands/secure-table-provision.js +14 -36
- package/esm/public/cli/commands/storage-module.d.ts +8 -0
- package/esm/public/cli/commands/storage-module.js +536 -0
- package/esm/public/cli/commands.js +27 -11
- package/esm/public/cli/executor.d.ts +49 -17
- package/esm/public/orm/index.d.ts +53 -19
- package/esm/public/orm/index.js +8 -4
- package/esm/public/orm/input-types.d.ts +886 -249
- package/esm/public/orm/input-types.js +5 -0
- package/esm/public/orm/models/blueprintConstruction.d.ts +56 -0
- package/esm/public/orm/models/blueprintConstruction.js +96 -0
- package/esm/public/orm/models/index.d.ts +4 -2
- package/esm/public/orm/models/index.js +4 -2
- package/esm/public/orm/models/storageModule.d.ts +56 -0
- package/esm/public/orm/models/storageModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +86 -26
- package/esm/public/orm/mutation/index.js +96 -36
- package/esm/public/orm/query/index.d.ts +16 -0
- package/esm/public/orm/query/index.js +28 -0
- package/package.json +3 -3
- package/public/cli/commands/blueprint-construction.d.ts +8 -0
- package/public/cli/commands/blueprint-construction.js +394 -0
- package/public/cli/commands/blueprint.js +0 -110
- package/public/cli/commands/construct-blueprint.js +1 -1
- package/public/cli/commands/provision-full-text-search.d.ts +8 -0
- package/public/cli/commands/provision-full-text-search.js +36 -0
- package/public/cli/commands/provision-index.d.ts +8 -0
- package/public/cli/commands/provision-index.js +36 -0
- package/public/cli/commands/provision-relation.d.ts +8 -0
- package/public/cli/commands/provision-relation.js +36 -0
- package/public/cli/commands/provision-table.d.ts +8 -0
- package/public/cli/commands/provision-table.js +36 -0
- package/public/cli/commands/provision-unique-constraint.d.ts +8 -0
- package/public/cli/commands/provision-unique-constraint.js +36 -0
- package/public/cli/commands/relation-provision.js +12 -34
- package/public/cli/commands/resolve-blueprint-table.d.ts +8 -0
- package/public/cli/commands/resolve-blueprint-table.js +50 -0
- package/public/cli/commands/secure-table-provision.js +14 -36
- package/public/cli/commands/storage-module.d.ts +8 -0
- package/public/cli/commands/storage-module.js +538 -0
- package/public/cli/commands.js +27 -11
- package/public/cli/executor.d.ts +49 -17
- package/public/orm/index.d.ts +53 -19
- package/public/orm/index.js +8 -4
- package/public/orm/input-types.d.ts +886 -249
- package/public/orm/input-types.js +5 -0
- package/public/orm/models/blueprintConstruction.d.ts +56 -0
- package/public/orm/models/blueprintConstruction.js +100 -0
- package/public/orm/models/index.d.ts +4 -2
- package/public/orm/models/index.js +11 -7
- package/public/orm/models/storageModule.d.ts +56 -0
- package/public/orm/models/storageModule.js +100 -0
- package/public/orm/mutation/index.d.ts +86 -26
- package/public/orm/mutation/index.js +96 -36
- package/public/orm/query/index.d.ts +16 -0
- package/public/orm/query/index.js +28 -0
|
@@ -54,6 +54,8 @@ export const connectionFieldsMap = {
|
|
|
54
54
|
secureTableProvisions: 'SecureTableProvision',
|
|
55
55
|
relationProvisions: 'RelationProvision',
|
|
56
56
|
blueprints: 'Blueprint',
|
|
57
|
+
blueprintConstructions: 'BlueprintConstruction',
|
|
58
|
+
storageModules: 'StorageModule',
|
|
57
59
|
databaseProvisionModules: 'DatabaseProvisionModule',
|
|
58
60
|
},
|
|
59
61
|
Schema: {
|
|
@@ -103,6 +105,9 @@ export const connectionFieldsMap = {
|
|
|
103
105
|
siteModules: 'SiteModule',
|
|
104
106
|
siteThemes: 'SiteTheme',
|
|
105
107
|
},
|
|
108
|
+
Blueprint: {
|
|
109
|
+
blueprintConstructions: 'BlueprintConstruction',
|
|
110
|
+
},
|
|
106
111
|
BlueprintTemplate: {
|
|
107
112
|
blueprintTemplatesByForkedFromId: 'BlueprintTemplate',
|
|
108
113
|
blueprintsByTemplateId: 'Blueprint',
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BlueprintConstruction 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 { BlueprintConstructionWithRelations, BlueprintConstructionSelect, BlueprintConstructionFilter, BlueprintConstructionOrderBy, CreateBlueprintConstructionInput, BlueprintConstructionPatch } from '../input-types';
|
|
10
|
+
export declare class BlueprintConstructionModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends BlueprintConstructionSelect>(args: FindManyArgs<S, BlueprintConstructionFilter, never, BlueprintConstructionOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, BlueprintConstructionSelect>): QueryBuilder<{
|
|
16
|
+
blueprintConstructions: ConnectionResult<InferSelectResult<BlueprintConstructionWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends BlueprintConstructionSelect>(args: FindFirstArgs<S, BlueprintConstructionFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, BlueprintConstructionSelect>): QueryBuilder<{
|
|
21
|
+
blueprintConstructions: {
|
|
22
|
+
nodes: InferSelectResult<BlueprintConstructionWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends BlueprintConstructionSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, BlueprintConstructionSelect>): QueryBuilder<{
|
|
29
|
+
blueprintConstruction: InferSelectResult<BlueprintConstructionWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends BlueprintConstructionSelect>(args: CreateArgs<S, CreateBlueprintConstructionInput['blueprintConstruction']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, BlueprintConstructionSelect>): QueryBuilder<{
|
|
34
|
+
createBlueprintConstruction: {
|
|
35
|
+
blueprintConstruction: InferSelectResult<BlueprintConstructionWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends BlueprintConstructionSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, BlueprintConstructionPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, BlueprintConstructionSelect>): QueryBuilder<{
|
|
43
|
+
updateBlueprintConstruction: {
|
|
44
|
+
blueprintConstruction: InferSelectResult<BlueprintConstructionWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends BlueprintConstructionSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, BlueprintConstructionSelect>): QueryBuilder<{
|
|
52
|
+
deleteBlueprintConstruction: {
|
|
53
|
+
blueprintConstruction: InferSelectResult<BlueprintConstructionWithRelations, 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 BlueprintConstructionModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('BlueprintConstruction', 'blueprintConstructions', 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
|
+
}, 'BlueprintConstructionFilter', 'BlueprintConstructionOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'BlueprintConstruction',
|
|
22
|
+
fieldName: 'blueprintConstructions',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('BlueprintConstruction', 'blueprintConstructions', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'BlueprintConstructionFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'BlueprintConstruction',
|
|
35
|
+
fieldName: 'blueprintConstructions',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('BlueprintConstruction', 'blueprintConstructions', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'BlueprintConstructionFilter', 'BlueprintConstructionOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'BlueprintConstruction',
|
|
53
|
+
fieldName: 'blueprintConstruction',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
blueprintConstruction: data.blueprintConstructions?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('BlueprintConstruction', 'createBlueprintConstruction', 'blueprintConstruction', args.select, args.data, 'CreateBlueprintConstructionInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'BlueprintConstruction',
|
|
67
|
+
fieldName: 'createBlueprintConstruction',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('BlueprintConstruction', 'updateBlueprintConstruction', 'blueprintConstruction', args.select, args.where.id, args.data, 'UpdateBlueprintConstructionInput', 'id', 'blueprintConstructionPatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'BlueprintConstruction',
|
|
78
|
+
fieldName: 'updateBlueprintConstruction',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('BlueprintConstruction', 'deleteBlueprintConstruction', 'blueprintConstruction', {
|
|
85
|
+
id: args.where.id,
|
|
86
|
+
}, 'DeleteBlueprintConstructionInput', args.select, connectionFieldsMap);
|
|
87
|
+
return new QueryBuilder({
|
|
88
|
+
client: this.client,
|
|
89
|
+
operation: 'mutation',
|
|
90
|
+
operationName: 'BlueprintConstruction',
|
|
91
|
+
fieldName: 'deleteBlueprintConstruction',
|
|
92
|
+
document,
|
|
93
|
+
variables,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export { GetAllRecordModel } from './getAllRecord';
|
|
7
6
|
export { OrgGetManagersRecordModel } from './orgGetManagersRecord';
|
|
8
7
|
export { OrgGetSubordinatesRecordModel } from './orgGetSubordinatesRecord';
|
|
8
|
+
export { GetAllRecordModel } from './getAllRecord';
|
|
9
9
|
export { ObjectModel } from './object';
|
|
10
10
|
export { AppPermissionModel } from './appPermission';
|
|
11
11
|
export { OrgPermissionModel } from './orgPermission';
|
|
@@ -66,6 +66,8 @@ export { UserAuthModuleModel } from './userAuthModule';
|
|
|
66
66
|
export { UsersModuleModel } from './usersModule';
|
|
67
67
|
export { BlueprintModel } from './blueprint';
|
|
68
68
|
export { BlueprintTemplateModel } from './blueprintTemplate';
|
|
69
|
+
export { BlueprintConstructionModel } from './blueprintConstruction';
|
|
70
|
+
export { StorageModuleModel } from './storageModule';
|
|
69
71
|
export { DatabaseProvisionModuleModel } from './databaseProvisionModule';
|
|
70
72
|
export { AppAdminGrantModel } from './appAdminGrant';
|
|
71
73
|
export { AppOwnerGrantModel } from './appOwnerGrant';
|
|
@@ -96,9 +98,9 @@ export { RefModel } from './ref';
|
|
|
96
98
|
export { StoreModel } from './store';
|
|
97
99
|
export { AppPermissionDefaultModel } from './appPermissionDefault';
|
|
98
100
|
export { RoleTypeModel } from './roleType';
|
|
99
|
-
export { MigrateFileModel } from './migrateFile';
|
|
100
101
|
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
101
102
|
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
103
|
+
export { MigrateFileModel } from './migrateFile';
|
|
102
104
|
export { MembershipTypeModel } from './membershipType';
|
|
103
105
|
export { CommitModel } from './commit';
|
|
104
106
|
export { AppMembershipDefaultModel } from './appMembershipDefault';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export { GetAllRecordModel } from './getAllRecord';
|
|
7
6
|
export { OrgGetManagersRecordModel } from './orgGetManagersRecord';
|
|
8
7
|
export { OrgGetSubordinatesRecordModel } from './orgGetSubordinatesRecord';
|
|
8
|
+
export { GetAllRecordModel } from './getAllRecord';
|
|
9
9
|
export { ObjectModel } from './object';
|
|
10
10
|
export { AppPermissionModel } from './appPermission';
|
|
11
11
|
export { OrgPermissionModel } from './orgPermission';
|
|
@@ -66,6 +66,8 @@ export { UserAuthModuleModel } from './userAuthModule';
|
|
|
66
66
|
export { UsersModuleModel } from './usersModule';
|
|
67
67
|
export { BlueprintModel } from './blueprint';
|
|
68
68
|
export { BlueprintTemplateModel } from './blueprintTemplate';
|
|
69
|
+
export { BlueprintConstructionModel } from './blueprintConstruction';
|
|
70
|
+
export { StorageModuleModel } from './storageModule';
|
|
69
71
|
export { DatabaseProvisionModuleModel } from './databaseProvisionModule';
|
|
70
72
|
export { AppAdminGrantModel } from './appAdminGrant';
|
|
71
73
|
export { AppOwnerGrantModel } from './appOwnerGrant';
|
|
@@ -96,9 +98,9 @@ export { RefModel } from './ref';
|
|
|
96
98
|
export { StoreModel } from './store';
|
|
97
99
|
export { AppPermissionDefaultModel } from './appPermissionDefault';
|
|
98
100
|
export { RoleTypeModel } from './roleType';
|
|
99
|
-
export { MigrateFileModel } from './migrateFile';
|
|
100
101
|
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
101
102
|
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
103
|
+
export { MigrateFileModel } from './migrateFile';
|
|
102
104
|
export { MembershipTypeModel } from './membershipType';
|
|
103
105
|
export { CommitModel } from './commit';
|
|
104
106
|
export { AppMembershipDefaultModel } from './appMembershipDefault';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StorageModule 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 { StorageModuleWithRelations, StorageModuleSelect, StorageModuleFilter, StorageModuleOrderBy, CreateStorageModuleInput, StorageModulePatch } from '../input-types';
|
|
10
|
+
export declare class StorageModuleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends StorageModuleSelect>(args: FindManyArgs<S, StorageModuleFilter, never, StorageModuleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, StorageModuleSelect>): QueryBuilder<{
|
|
16
|
+
storageModules: ConnectionResult<InferSelectResult<StorageModuleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends StorageModuleSelect>(args: FindFirstArgs<S, StorageModuleFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, StorageModuleSelect>): QueryBuilder<{
|
|
21
|
+
storageModules: {
|
|
22
|
+
nodes: InferSelectResult<StorageModuleWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends StorageModuleSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, StorageModuleSelect>): QueryBuilder<{
|
|
29
|
+
storageModule: InferSelectResult<StorageModuleWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends StorageModuleSelect>(args: CreateArgs<S, CreateStorageModuleInput['storageModule']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, StorageModuleSelect>): QueryBuilder<{
|
|
34
|
+
createStorageModule: {
|
|
35
|
+
storageModule: InferSelectResult<StorageModuleWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends StorageModuleSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, StorageModulePatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, StorageModuleSelect>): QueryBuilder<{
|
|
43
|
+
updateStorageModule: {
|
|
44
|
+
storageModule: InferSelectResult<StorageModuleWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends StorageModuleSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, StorageModuleSelect>): QueryBuilder<{
|
|
52
|
+
deleteStorageModule: {
|
|
53
|
+
storageModule: InferSelectResult<StorageModuleWithRelations, 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 StorageModuleModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('StorageModule', 'storageModules', 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
|
+
}, 'StorageModuleFilter', 'StorageModuleOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'StorageModule',
|
|
22
|
+
fieldName: 'storageModules',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('StorageModule', 'storageModules', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
}, 'StorageModuleFilter', connectionFieldsMap);
|
|
31
|
+
return new QueryBuilder({
|
|
32
|
+
client: this.client,
|
|
33
|
+
operation: 'query',
|
|
34
|
+
operationName: 'StorageModule',
|
|
35
|
+
fieldName: 'storageModules',
|
|
36
|
+
document,
|
|
37
|
+
variables,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
findOne(args) {
|
|
41
|
+
const { document, variables } = buildFindManyDocument('StorageModule', 'storageModules', args.select, {
|
|
42
|
+
where: {
|
|
43
|
+
id: {
|
|
44
|
+
equalTo: args.id,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
first: 1,
|
|
48
|
+
}, 'StorageModuleFilter', 'StorageModuleOrderBy', connectionFieldsMap);
|
|
49
|
+
return new QueryBuilder({
|
|
50
|
+
client: this.client,
|
|
51
|
+
operation: 'query',
|
|
52
|
+
operationName: 'StorageModule',
|
|
53
|
+
fieldName: 'storageModule',
|
|
54
|
+
document,
|
|
55
|
+
variables,
|
|
56
|
+
transform: (data) => ({
|
|
57
|
+
storageModule: data.storageModules?.nodes?.[0] ?? null,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
create(args) {
|
|
62
|
+
const { document, variables } = buildCreateDocument('StorageModule', 'createStorageModule', 'storageModule', args.select, args.data, 'CreateStorageModuleInput', connectionFieldsMap);
|
|
63
|
+
return new QueryBuilder({
|
|
64
|
+
client: this.client,
|
|
65
|
+
operation: 'mutation',
|
|
66
|
+
operationName: 'StorageModule',
|
|
67
|
+
fieldName: 'createStorageModule',
|
|
68
|
+
document,
|
|
69
|
+
variables,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
update(args) {
|
|
73
|
+
const { document, variables } = buildUpdateByPkDocument('StorageModule', 'updateStorageModule', 'storageModule', args.select, args.where.id, args.data, 'UpdateStorageModuleInput', 'id', 'storageModulePatch', connectionFieldsMap);
|
|
74
|
+
return new QueryBuilder({
|
|
75
|
+
client: this.client,
|
|
76
|
+
operation: 'mutation',
|
|
77
|
+
operationName: 'StorageModule',
|
|
78
|
+
fieldName: 'updateStorageModule',
|
|
79
|
+
document,
|
|
80
|
+
variables,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
delete(args) {
|
|
84
|
+
const { document, variables } = buildDeleteByPkDocument('StorageModule', 'deleteStorageModule', 'storageModule', {
|
|
85
|
+
id: args.where.id,
|
|
86
|
+
}, 'DeleteStorageModuleInput', args.select, connectionFieldsMap);
|
|
87
|
+
return new QueryBuilder({
|
|
88
|
+
client: this.client,
|
|
89
|
+
operation: 'mutation',
|
|
90
|
+
operationName: 'StorageModule',
|
|
91
|
+
fieldName: 'deleteStorageModule',
|
|
92
|
+
document,
|
|
93
|
+
variables,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, SubmitInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ResetPasswordInput, RemoveNodeAtPathInput,
|
|
9
|
+
import type { SendAccountDeletionEmailInput, SignOutInput, AcceptDatabaseTransferInput, CancelDatabaseTransferInput, RejectDatabaseTransferInput, SubmitInviteCodeInput, SubmitOrgInviteCodeInput, CheckPasswordInput, ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, FreezeObjectsInput, InitEmptyRepoInput, ConstructBlueprintInput, ResetPasswordInput, RemoveNodeAtPathInput, CopyTemplateToBlueprintInput, BootstrapUserInput, SetFieldOrderInput, ProvisionUniqueConstraintInput, ProvisionFullTextSearchInput, ProvisionIndexInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, ProvisionRelationInput, ApplyRlsInput, SignInOneTimeTokenInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, SignInInput, SignUpInput, OneTimeTokenInput, ProvisionTableInput, SendVerificationEmailInput, ForgotPasswordInput, VerifyPasswordInput, VerifyTotpInput, SendAccountDeletionEmailPayload, SignOutPayload, AcceptDatabaseTransferPayload, CancelDatabaseTransferPayload, RejectDatabaseTransferPayload, SubmitInviteCodePayload, SubmitOrgInviteCodePayload, CheckPasswordPayload, ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, FreezeObjectsPayload, InitEmptyRepoPayload, ConstructBlueprintPayload, ResetPasswordPayload, RemoveNodeAtPathPayload, CopyTemplateToBlueprintPayload, BootstrapUserPayload, SetFieldOrderPayload, ProvisionUniqueConstraintPayload, ProvisionFullTextSearchPayload, ProvisionIndexPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, ProvisionRelationPayload, ApplyRlsPayload, SignInOneTimeTokenPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, SignInPayload, SignUpPayload, OneTimeTokenPayload, ProvisionTablePayload, SendVerificationEmailPayload, ForgotPasswordPayload, VerifyPasswordPayload, VerifyTotpPayload, SendAccountDeletionEmailPayloadSelect, SignOutPayloadSelect, AcceptDatabaseTransferPayloadSelect, CancelDatabaseTransferPayloadSelect, RejectDatabaseTransferPayloadSelect, SubmitInviteCodePayloadSelect, SubmitOrgInviteCodePayloadSelect, CheckPasswordPayloadSelect, ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, ConstructBlueprintPayloadSelect, ResetPasswordPayloadSelect, RemoveNodeAtPathPayloadSelect, CopyTemplateToBlueprintPayloadSelect, BootstrapUserPayloadSelect, SetFieldOrderPayloadSelect, ProvisionUniqueConstraintPayloadSelect, ProvisionFullTextSearchPayloadSelect, ProvisionIndexPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, ProvisionRelationPayloadSelect, ApplyRlsPayloadSelect, SignInOneTimeTokenPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, SignInPayloadSelect, SignUpPayloadSelect, OneTimeTokenPayloadSelect, ProvisionTablePayloadSelect, SendVerificationEmailPayloadSelect, ForgotPasswordPayloadSelect, VerifyPasswordPayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
10
10
|
export interface SendAccountDeletionEmailVariables {
|
|
11
11
|
input: SendAccountDeletionEmailInput;
|
|
12
12
|
}
|
|
@@ -48,7 +48,7 @@ export interface InitEmptyRepoVariables {
|
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Variables for constructBlueprint
|
|
51
|
-
* Executes a
|
|
51
|
+
* Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with all nodes[], fields[], policies[], grants, and table-level indexes/fts/unique_constraints in a single call, (2) provision_relation() for each relation, (3) provision_index() for top-level indexes, (4) provision_full_text_search() for top-level FTS, (5) provision_unique_constraint() for top-level unique constraints. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.
|
|
52
52
|
*/
|
|
53
53
|
export interface ConstructBlueprintVariables {
|
|
54
54
|
input: ConstructBlueprintInput;
|
|
@@ -59,12 +59,6 @@ export interface ResetPasswordVariables {
|
|
|
59
59
|
export interface RemoveNodeAtPathVariables {
|
|
60
60
|
input: RemoveNodeAtPathInput;
|
|
61
61
|
}
|
|
62
|
-
export interface SetDataAtPathVariables {
|
|
63
|
-
input: SetDataAtPathInput;
|
|
64
|
-
}
|
|
65
|
-
export interface SetPropsAndCommitVariables {
|
|
66
|
-
input: SetPropsAndCommitInput;
|
|
67
|
-
}
|
|
68
62
|
/**
|
|
69
63
|
* Variables for copyTemplateToBlueprint
|
|
70
64
|
* Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.
|
|
@@ -72,15 +66,42 @@ export interface SetPropsAndCommitVariables {
|
|
|
72
66
|
export interface CopyTemplateToBlueprintVariables {
|
|
73
67
|
input: CopyTemplateToBlueprintInput;
|
|
74
68
|
}
|
|
75
|
-
export interface ProvisionDatabaseWithUserVariables {
|
|
76
|
-
input: ProvisionDatabaseWithUserInput;
|
|
77
|
-
}
|
|
78
69
|
export interface BootstrapUserVariables {
|
|
79
70
|
input: BootstrapUserInput;
|
|
80
71
|
}
|
|
81
72
|
export interface SetFieldOrderVariables {
|
|
82
73
|
input: SetFieldOrderInput;
|
|
83
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Variables for provisionUniqueConstraint
|
|
77
|
+
* Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.
|
|
78
|
+
*/
|
|
79
|
+
export interface ProvisionUniqueConstraintVariables {
|
|
80
|
+
input: ProvisionUniqueConstraintInput;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Variables for provisionFullTextSearch
|
|
84
|
+
* Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.
|
|
85
|
+
*/
|
|
86
|
+
export interface ProvisionFullTextSearchVariables {
|
|
87
|
+
input: ProvisionFullTextSearchInput;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Variables for provisionIndex
|
|
91
|
+
* Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.
|
|
92
|
+
*/
|
|
93
|
+
export interface ProvisionIndexVariables {
|
|
94
|
+
input: ProvisionIndexInput;
|
|
95
|
+
}
|
|
96
|
+
export interface SetDataAtPathVariables {
|
|
97
|
+
input: SetDataAtPathInput;
|
|
98
|
+
}
|
|
99
|
+
export interface SetPropsAndCommitVariables {
|
|
100
|
+
input: SetPropsAndCommitInput;
|
|
101
|
+
}
|
|
102
|
+
export interface ProvisionDatabaseWithUserVariables {
|
|
103
|
+
input: ProvisionDatabaseWithUserInput;
|
|
104
|
+
}
|
|
84
105
|
export interface InsertNodeAtPathVariables {
|
|
85
106
|
input: InsertNodeAtPathInput;
|
|
86
107
|
}
|
|
@@ -90,6 +111,13 @@ export interface UpdateNodeAtPathVariables {
|
|
|
90
111
|
export interface SetAndCommitVariables {
|
|
91
112
|
input: SetAndCommitInput;
|
|
92
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* Variables for provisionRelation
|
|
116
|
+
* Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).
|
|
117
|
+
*/
|
|
118
|
+
export interface ProvisionRelationVariables {
|
|
119
|
+
input: ProvisionRelationInput;
|
|
120
|
+
}
|
|
93
121
|
export interface ApplyRlsVariables {
|
|
94
122
|
input: ApplyRlsInput;
|
|
95
123
|
}
|
|
@@ -130,6 +158,13 @@ export interface SignUpVariables {
|
|
|
130
158
|
export interface OneTimeTokenVariables {
|
|
131
159
|
input: OneTimeTokenInput;
|
|
132
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* Variables for provisionTable
|
|
163
|
+
* Composable table provisioning: creates or finds a table, then applies N nodes (Data* modules), creates fields, enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).
|
|
164
|
+
*/
|
|
165
|
+
export interface ProvisionTableVariables {
|
|
166
|
+
input: ProvisionTableInput;
|
|
167
|
+
}
|
|
133
168
|
export interface SendVerificationEmailVariables {
|
|
134
169
|
input: SendVerificationEmailInput;
|
|
135
170
|
}
|
|
@@ -223,26 +258,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
223
258
|
} & StrictSelect<S, RemoveNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
224
259
|
removeNodeAtPath: InferSelectResult<RemoveNodeAtPathPayload, S> | null;
|
|
225
260
|
}>;
|
|
226
|
-
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
227
|
-
select: S;
|
|
228
|
-
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
229
|
-
setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
|
|
230
|
-
}>;
|
|
231
|
-
setPropsAndCommit: <S extends SetPropsAndCommitPayloadSelect>(args: SetPropsAndCommitVariables, options: {
|
|
232
|
-
select: S;
|
|
233
|
-
} & StrictSelect<S, SetPropsAndCommitPayloadSelect>) => QueryBuilder<{
|
|
234
|
-
setPropsAndCommit: InferSelectResult<SetPropsAndCommitPayload, S> | null;
|
|
235
|
-
}>;
|
|
236
261
|
copyTemplateToBlueprint: <S extends CopyTemplateToBlueprintPayloadSelect>(args: CopyTemplateToBlueprintVariables, options: {
|
|
237
262
|
select: S;
|
|
238
263
|
} & StrictSelect<S, CopyTemplateToBlueprintPayloadSelect>) => QueryBuilder<{
|
|
239
264
|
copyTemplateToBlueprint: InferSelectResult<CopyTemplateToBlueprintPayload, S> | null;
|
|
240
265
|
}>;
|
|
241
|
-
provisionDatabaseWithUser: <S extends ProvisionDatabaseWithUserPayloadSelect>(args: ProvisionDatabaseWithUserVariables, options: {
|
|
242
|
-
select: S;
|
|
243
|
-
} & StrictSelect<S, ProvisionDatabaseWithUserPayloadSelect>) => QueryBuilder<{
|
|
244
|
-
provisionDatabaseWithUser: InferSelectResult<ProvisionDatabaseWithUserPayload, S> | null;
|
|
245
|
-
}>;
|
|
246
266
|
bootstrapUser: <S extends BootstrapUserPayloadSelect>(args: BootstrapUserVariables, options: {
|
|
247
267
|
select: S;
|
|
248
268
|
} & StrictSelect<S, BootstrapUserPayloadSelect>) => QueryBuilder<{
|
|
@@ -253,6 +273,36 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
253
273
|
} & StrictSelect<S, SetFieldOrderPayloadSelect>) => QueryBuilder<{
|
|
254
274
|
setFieldOrder: InferSelectResult<SetFieldOrderPayload, S> | null;
|
|
255
275
|
}>;
|
|
276
|
+
provisionUniqueConstraint: <S extends ProvisionUniqueConstraintPayloadSelect>(args: ProvisionUniqueConstraintVariables, options: {
|
|
277
|
+
select: S;
|
|
278
|
+
} & StrictSelect<S, ProvisionUniqueConstraintPayloadSelect>) => QueryBuilder<{
|
|
279
|
+
provisionUniqueConstraint: InferSelectResult<ProvisionUniqueConstraintPayload, S> | null;
|
|
280
|
+
}>;
|
|
281
|
+
provisionFullTextSearch: <S extends ProvisionFullTextSearchPayloadSelect>(args: ProvisionFullTextSearchVariables, options: {
|
|
282
|
+
select: S;
|
|
283
|
+
} & StrictSelect<S, ProvisionFullTextSearchPayloadSelect>) => QueryBuilder<{
|
|
284
|
+
provisionFullTextSearch: InferSelectResult<ProvisionFullTextSearchPayload, S> | null;
|
|
285
|
+
}>;
|
|
286
|
+
provisionIndex: <S extends ProvisionIndexPayloadSelect>(args: ProvisionIndexVariables, options: {
|
|
287
|
+
select: S;
|
|
288
|
+
} & StrictSelect<S, ProvisionIndexPayloadSelect>) => QueryBuilder<{
|
|
289
|
+
provisionIndex: InferSelectResult<ProvisionIndexPayload, S> | null;
|
|
290
|
+
}>;
|
|
291
|
+
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
292
|
+
select: S;
|
|
293
|
+
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
294
|
+
setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
|
|
295
|
+
}>;
|
|
296
|
+
setPropsAndCommit: <S extends SetPropsAndCommitPayloadSelect>(args: SetPropsAndCommitVariables, options: {
|
|
297
|
+
select: S;
|
|
298
|
+
} & StrictSelect<S, SetPropsAndCommitPayloadSelect>) => QueryBuilder<{
|
|
299
|
+
setPropsAndCommit: InferSelectResult<SetPropsAndCommitPayload, S> | null;
|
|
300
|
+
}>;
|
|
301
|
+
provisionDatabaseWithUser: <S extends ProvisionDatabaseWithUserPayloadSelect>(args: ProvisionDatabaseWithUserVariables, options: {
|
|
302
|
+
select: S;
|
|
303
|
+
} & StrictSelect<S, ProvisionDatabaseWithUserPayloadSelect>) => QueryBuilder<{
|
|
304
|
+
provisionDatabaseWithUser: InferSelectResult<ProvisionDatabaseWithUserPayload, S> | null;
|
|
305
|
+
}>;
|
|
256
306
|
insertNodeAtPath: <S extends InsertNodeAtPathPayloadSelect>(args: InsertNodeAtPathVariables, options: {
|
|
257
307
|
select: S;
|
|
258
308
|
} & StrictSelect<S, InsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
@@ -268,6 +318,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
268
318
|
} & StrictSelect<S, SetAndCommitPayloadSelect>) => QueryBuilder<{
|
|
269
319
|
setAndCommit: InferSelectResult<SetAndCommitPayload, S> | null;
|
|
270
320
|
}>;
|
|
321
|
+
provisionRelation: <S extends ProvisionRelationPayloadSelect>(args: ProvisionRelationVariables, options: {
|
|
322
|
+
select: S;
|
|
323
|
+
} & StrictSelect<S, ProvisionRelationPayloadSelect>) => QueryBuilder<{
|
|
324
|
+
provisionRelation: InferSelectResult<ProvisionRelationPayload, S> | null;
|
|
325
|
+
}>;
|
|
271
326
|
applyRls: <S extends ApplyRlsPayloadSelect>(args: ApplyRlsVariables, options: {
|
|
272
327
|
select: S;
|
|
273
328
|
} & StrictSelect<S, ApplyRlsPayloadSelect>) => QueryBuilder<{
|
|
@@ -303,6 +358,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
303
358
|
} & StrictSelect<S, OneTimeTokenPayloadSelect>) => QueryBuilder<{
|
|
304
359
|
oneTimeToken: InferSelectResult<OneTimeTokenPayload, S> | null;
|
|
305
360
|
}>;
|
|
361
|
+
provisionTable: <S extends ProvisionTablePayloadSelect>(args: ProvisionTableVariables, options: {
|
|
362
|
+
select: S;
|
|
363
|
+
} & StrictSelect<S, ProvisionTablePayloadSelect>) => QueryBuilder<{
|
|
364
|
+
provisionTable: InferSelectResult<ProvisionTablePayload, S> | null;
|
|
365
|
+
}>;
|
|
306
366
|
sendVerificationEmail: <S extends SendVerificationEmailPayloadSelect>(args: SendVerificationEmailVariables, options: {
|
|
307
367
|
select: S;
|
|
308
368
|
} & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{
|