@constructive-io/sdk 1.11.2 → 1.11.3
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/orm/client.js +11 -1
- package/agent/orm/client.js +11 -1
- package/agent/orm/input-types.d.ts +0 -3
- package/api/orm/client.js +11 -1
- package/api/orm/index.d.ts +66 -4
- package/api/orm/index.js +36 -4
- package/api/orm/input-types.d.ts +4946 -630
- package/api/orm/input-types.js +34 -6
- package/api/orm/models/apis.d.ts +54 -0
- package/api/orm/models/{api.js → apis.js} +27 -27
- package/api/orm/models/derive.d.ts +54 -0
- package/api/orm/models/derive.js +104 -0
- package/api/orm/models/fieldBehavior.d.ts +54 -0
- package/api/orm/models/fieldBehavior.js +104 -0
- package/api/orm/models/foreignKeyConstraintBehavior.d.ts +54 -0
- package/api/orm/models/foreignKeyConstraintBehavior.js +104 -0
- package/api/orm/models/index.d.ts +18 -2
- package/api/orm/models/index.js +38 -6
- package/api/orm/models/page.d.ts +54 -0
- package/api/orm/models/page.js +104 -0
- package/api/orm/models/platformApis.d.ts +54 -0
- package/api/orm/models/platformApis.js +104 -0
- package/api/orm/models/platformPage.d.ts +54 -0
- package/api/orm/models/platformPage.js +104 -0
- package/api/orm/models/platformSiteAppLink.d.ts +54 -0
- package/api/orm/models/platformSiteAppLink.js +104 -0
- package/api/orm/models/platformSiteDeepLink.d.ts +54 -0
- package/api/orm/models/platformSiteDeepLink.js +104 -0
- package/api/orm/models/platformSiteErrorPage.d.ts +54 -0
- package/api/orm/models/platformSiteErrorPage.js +104 -0
- package/api/orm/models/platformSiteWebConfig.d.ts +54 -0
- package/api/orm/models/platformSiteWebConfig.js +104 -0
- package/api/orm/models/siteAppLink.d.ts +54 -0
- package/api/orm/models/{platformApi.js → siteAppLink.js} +27 -27
- package/api/orm/models/siteDeepLink.d.ts +54 -0
- package/api/orm/models/siteDeepLink.js +104 -0
- package/api/orm/models/siteErrorPage.d.ts +54 -0
- package/api/orm/models/siteErrorPage.js +104 -0
- package/api/orm/models/siteWebConfig.d.ts +54 -0
- package/api/orm/models/siteWebConfig.js +104 -0
- package/api/orm/models/tableBehavior.d.ts +54 -0
- package/api/orm/models/tableBehavior.js +104 -0
- package/api/orm/models/uniqueConstraintBehavior.d.ts +54 -0
- package/api/orm/models/uniqueConstraintBehavior.js +104 -0
- package/api/orm/models/viewBehavior.d.ts +54 -0
- package/api/orm/models/viewBehavior.js +104 -0
- package/api/orm/mutation/index.d.ts +33 -1
- package/api/orm/mutation/index.js +48 -0
- package/api/orm/query/index.d.ts +17 -0
- package/api/orm/query/index.js +28 -0
- package/auth/orm/client.js +11 -1
- package/auth/orm/input-types.d.ts +166 -220
- package/auth/orm/input-types.js +6 -11
- package/compute/orm/client.js +11 -1
- package/compute/orm/index.d.ts +4 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +539 -8
- package/compute/orm/input-types.js +2 -0
- package/compute/orm/models/functionCapabilityBinding.d.ts +54 -0
- package/compute/orm/models/functionCapabilityBinding.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +6 -2
- package/compute/orm/models/platformFunctionCapabilityBinding.d.ts +54 -0
- package/compute/orm/models/platformFunctionCapabilityBinding.js +104 -0
- package/config/orm/client.js +11 -1
- package/config/orm/input-types.d.ts +53 -5
- package/esm/admin/orm/client.js +11 -1
- package/esm/agent/orm/client.js +11 -1
- package/esm/agent/orm/input-types.d.ts +0 -3
- package/esm/api/orm/client.js +11 -1
- package/esm/api/orm/index.d.ts +66 -4
- package/esm/api/orm/index.js +36 -4
- package/esm/api/orm/input-types.d.ts +4946 -630
- package/esm/api/orm/input-types.js +34 -6
- package/esm/api/orm/models/apis.d.ts +54 -0
- package/esm/api/orm/models/{api.js → apis.js} +25 -25
- package/esm/api/orm/models/derive.d.ts +54 -0
- package/esm/api/orm/models/derive.js +100 -0
- package/esm/api/orm/models/fieldBehavior.d.ts +54 -0
- package/esm/api/orm/models/fieldBehavior.js +100 -0
- package/esm/api/orm/models/foreignKeyConstraintBehavior.d.ts +54 -0
- package/esm/api/orm/models/foreignKeyConstraintBehavior.js +100 -0
- package/esm/api/orm/models/index.d.ts +18 -2
- package/esm/api/orm/models/index.js +18 -2
- package/esm/api/orm/models/page.d.ts +54 -0
- package/esm/api/orm/models/page.js +100 -0
- package/esm/api/orm/models/platformApis.d.ts +54 -0
- package/esm/api/orm/models/{platformApi.js → platformApis.js} +25 -25
- package/esm/api/orm/models/platformPage.d.ts +54 -0
- package/esm/api/orm/models/platformPage.js +100 -0
- package/esm/api/orm/models/platformSiteAppLink.d.ts +54 -0
- package/esm/api/orm/models/platformSiteAppLink.js +100 -0
- package/esm/api/orm/models/platformSiteDeepLink.d.ts +54 -0
- package/esm/api/orm/models/platformSiteDeepLink.js +100 -0
- package/esm/api/orm/models/platformSiteErrorPage.d.ts +54 -0
- package/esm/api/orm/models/platformSiteErrorPage.js +100 -0
- package/esm/api/orm/models/platformSiteWebConfig.d.ts +54 -0
- package/esm/api/orm/models/platformSiteWebConfig.js +100 -0
- package/esm/api/orm/models/siteAppLink.d.ts +54 -0
- package/esm/api/orm/models/siteAppLink.js +100 -0
- package/esm/api/orm/models/siteDeepLink.d.ts +54 -0
- package/esm/api/orm/models/siteDeepLink.js +100 -0
- package/esm/api/orm/models/siteErrorPage.d.ts +54 -0
- package/esm/api/orm/models/siteErrorPage.js +100 -0
- package/esm/api/orm/models/siteWebConfig.d.ts +54 -0
- package/esm/api/orm/models/siteWebConfig.js +100 -0
- package/esm/api/orm/models/tableBehavior.d.ts +54 -0
- package/esm/api/orm/models/tableBehavior.js +100 -0
- package/esm/api/orm/models/uniqueConstraintBehavior.d.ts +54 -0
- package/esm/api/orm/models/uniqueConstraintBehavior.js +100 -0
- package/esm/api/orm/models/viewBehavior.d.ts +54 -0
- package/esm/api/orm/models/viewBehavior.js +100 -0
- package/esm/api/orm/mutation/index.d.ts +33 -1
- package/esm/api/orm/mutation/index.js +48 -0
- package/esm/api/orm/query/index.d.ts +17 -0
- package/esm/api/orm/query/index.js +28 -0
- package/esm/auth/orm/client.js +11 -1
- package/esm/auth/orm/input-types.d.ts +166 -220
- package/esm/auth/orm/input-types.js +6 -11
- package/esm/compute/orm/client.js +11 -1
- package/esm/compute/orm/index.d.ts +4 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +539 -8
- package/esm/compute/orm/input-types.js +2 -0
- package/esm/compute/orm/models/functionCapabilityBinding.d.ts +54 -0
- package/esm/compute/orm/models/functionCapabilityBinding.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/models/platformFunctionCapabilityBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionCapabilityBinding.js +100 -0
- package/esm/config/orm/client.js +11 -1
- package/esm/config/orm/input-types.d.ts +53 -5
- package/esm/infra/orm/client.js +11 -1
- package/esm/modules/orm/client.js +11 -1
- package/esm/modules/orm/index.d.ts +2 -0
- package/esm/modules/orm/index.js +2 -0
- package/esm/modules/orm/input-types.d.ts +2116 -122
- package/esm/modules/orm/input-types.js +40 -0
- package/esm/modules/orm/models/index.d.ts +1 -0
- package/esm/modules/orm/models/index.js +1 -0
- package/esm/modules/orm/models/pagesModule.d.ts +54 -0
- package/esm/modules/orm/models/pagesModule.js +100 -0
- package/esm/objects/orm/client.js +11 -1
- package/esm/usage/orm/client.js +11 -1
- package/infra/orm/client.js +11 -1
- package/modules/orm/client.js +11 -1
- package/modules/orm/index.d.ts +2 -0
- package/modules/orm/index.js +2 -0
- package/modules/orm/input-types.d.ts +2116 -122
- package/modules/orm/input-types.js +40 -0
- package/modules/orm/models/index.d.ts +1 -0
- package/modules/orm/models/index.js +4 -2
- package/modules/orm/models/pagesModule.d.ts +54 -0
- package/modules/orm/models/pagesModule.js +104 -0
- package/objects/orm/client.js +11 -1
- package/package.json +5 -5
- package/usage/orm/client.js +11 -1
- package/api/orm/models/api.d.ts +0 -54
- package/api/orm/models/platformApi.d.ts +0 -54
- package/esm/api/orm/models/api.d.ts +0 -54
- package/esm/api/orm/models/platformApi.d.ts +0 -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 SiteWebConfigModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('SiteWebConfig', 'siteWebConfigs', 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
|
+
}, 'SiteWebConfigFilter', 'SiteWebConfigOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'SiteWebConfig',
|
|
22
|
+
fieldName: 'siteWebConfigs',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('SiteWebConfig', 'siteWebConfigs', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'SiteWebConfigFilter', 'SiteWebConfigOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'SiteWebConfig',
|
|
36
|
+
fieldName: 'siteWebConfig',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
siteWebConfig: data.siteWebConfigs?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('SiteWebConfig', 'siteWebConfigs', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'SiteWebConfigFilter', 'SiteWebConfigOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'SiteWebConfig',
|
|
57
|
+
fieldName: 'siteWebConfig',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
siteWebConfig: data.siteWebConfigs?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('SiteWebConfig', 'createSiteWebConfig', 'siteWebConfig', args.select, args.data, 'CreateSiteWebConfigInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'SiteWebConfig',
|
|
71
|
+
fieldName: 'createSiteWebConfig',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('SiteWebConfig', 'updateSiteWebConfig', 'siteWebConfig', args.select, args.where.id, args.data, 'UpdateSiteWebConfigInput', 'id', 'siteWebConfigPatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'SiteWebConfig',
|
|
82
|
+
fieldName: 'updateSiteWebConfig',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('SiteWebConfig', 'deleteSiteWebConfig', 'siteWebConfig', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeleteSiteWebConfigInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'SiteWebConfig',
|
|
95
|
+
fieldName: 'deleteSiteWebConfig',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TableBehavior 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 { TableBehaviorWithRelations, TableBehaviorSelect, TableBehaviorFilter, TableBehaviorOrderBy, CreateTableBehaviorInput, TableBehaviorPatch } from '../input-types';
|
|
10
|
+
export declare class TableBehaviorModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends TableBehaviorSelect>(args: FindManyArgs<S, TableBehaviorFilter, TableBehaviorOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, TableBehaviorSelect>): QueryBuilder<{
|
|
16
|
+
tableBehaviors: ConnectionResult<InferSelectResult<TableBehaviorWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends TableBehaviorSelect>(args: FindFirstArgs<S, TableBehaviorFilter, TableBehaviorOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, TableBehaviorSelect>): QueryBuilder<{
|
|
21
|
+
tableBehavior: InferSelectResult<TableBehaviorWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends TableBehaviorSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, TableBehaviorSelect>): QueryBuilder<{
|
|
27
|
+
tableBehavior: InferSelectResult<TableBehaviorWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends TableBehaviorSelect>(args: CreateArgs<S, CreateTableBehaviorInput['tableBehavior']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, TableBehaviorSelect>): QueryBuilder<{
|
|
32
|
+
createTableBehavior: {
|
|
33
|
+
tableBehavior: InferSelectResult<TableBehaviorWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends TableBehaviorSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, TableBehaviorPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, TableBehaviorSelect>): QueryBuilder<{
|
|
41
|
+
updateTableBehavior: {
|
|
42
|
+
tableBehavior: InferSelectResult<TableBehaviorWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends TableBehaviorSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, TableBehaviorSelect>): QueryBuilder<{
|
|
50
|
+
deleteTableBehavior: {
|
|
51
|
+
tableBehavior: InferSelectResult<TableBehaviorWithRelations, 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 TableBehaviorModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('TableBehavior', 'tableBehaviors', 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
|
+
}, 'TableBehaviorFilter', 'TableBehaviorOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'TableBehavior',
|
|
22
|
+
fieldName: 'tableBehaviors',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('TableBehavior', 'tableBehaviors', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'TableBehaviorFilter', 'TableBehaviorOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'TableBehavior',
|
|
36
|
+
fieldName: 'tableBehavior',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
tableBehavior: data.tableBehaviors?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('TableBehavior', 'tableBehaviors', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'TableBehaviorFilter', 'TableBehaviorOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'TableBehavior',
|
|
57
|
+
fieldName: 'tableBehavior',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
tableBehavior: data.tableBehaviors?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('TableBehavior', 'createTableBehavior', 'tableBehavior', args.select, args.data, 'CreateTableBehaviorInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'TableBehavior',
|
|
71
|
+
fieldName: 'createTableBehavior',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('TableBehavior', 'updateTableBehavior', 'tableBehavior', args.select, args.where.id, args.data, 'UpdateTableBehaviorInput', 'id', 'tableBehaviorPatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'TableBehavior',
|
|
82
|
+
fieldName: 'updateTableBehavior',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('TableBehavior', 'deleteTableBehavior', 'tableBehavior', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeleteTableBehaviorInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'TableBehavior',
|
|
95
|
+
fieldName: 'deleteTableBehavior',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UniqueConstraintBehavior 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 { UniqueConstraintBehaviorWithRelations, UniqueConstraintBehaviorSelect, UniqueConstraintBehaviorFilter, UniqueConstraintBehaviorOrderBy, CreateUniqueConstraintBehaviorInput, UniqueConstraintBehaviorPatch } from '../input-types';
|
|
10
|
+
export declare class UniqueConstraintBehaviorModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends UniqueConstraintBehaviorSelect>(args: FindManyArgs<S, UniqueConstraintBehaviorFilter, UniqueConstraintBehaviorOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, UniqueConstraintBehaviorSelect>): QueryBuilder<{
|
|
16
|
+
uniqueConstraintBehaviors: ConnectionResult<InferSelectResult<UniqueConstraintBehaviorWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends UniqueConstraintBehaviorSelect>(args: FindFirstArgs<S, UniqueConstraintBehaviorFilter, UniqueConstraintBehaviorOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, UniqueConstraintBehaviorSelect>): QueryBuilder<{
|
|
21
|
+
uniqueConstraintBehavior: InferSelectResult<UniqueConstraintBehaviorWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends UniqueConstraintBehaviorSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, UniqueConstraintBehaviorSelect>): QueryBuilder<{
|
|
27
|
+
uniqueConstraintBehavior: InferSelectResult<UniqueConstraintBehaviorWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends UniqueConstraintBehaviorSelect>(args: CreateArgs<S, CreateUniqueConstraintBehaviorInput['uniqueConstraintBehavior']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, UniqueConstraintBehaviorSelect>): QueryBuilder<{
|
|
32
|
+
createUniqueConstraintBehavior: {
|
|
33
|
+
uniqueConstraintBehavior: InferSelectResult<UniqueConstraintBehaviorWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends UniqueConstraintBehaviorSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, UniqueConstraintBehaviorPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, UniqueConstraintBehaviorSelect>): QueryBuilder<{
|
|
41
|
+
updateUniqueConstraintBehavior: {
|
|
42
|
+
uniqueConstraintBehavior: InferSelectResult<UniqueConstraintBehaviorWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends UniqueConstraintBehaviorSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, UniqueConstraintBehaviorSelect>): QueryBuilder<{
|
|
50
|
+
deleteUniqueConstraintBehavior: {
|
|
51
|
+
uniqueConstraintBehavior: InferSelectResult<UniqueConstraintBehaviorWithRelations, 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 UniqueConstraintBehaviorModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('UniqueConstraintBehavior', 'uniqueConstraintBehaviors', 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
|
+
}, 'UniqueConstraintBehaviorFilter', 'UniqueConstraintBehaviorOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'UniqueConstraintBehavior',
|
|
22
|
+
fieldName: 'uniqueConstraintBehaviors',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('UniqueConstraintBehavior', 'uniqueConstraintBehaviors', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'UniqueConstraintBehaviorFilter', 'UniqueConstraintBehaviorOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'UniqueConstraintBehavior',
|
|
36
|
+
fieldName: 'uniqueConstraintBehavior',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
uniqueConstraintBehavior: data.uniqueConstraintBehaviors?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('UniqueConstraintBehavior', 'uniqueConstraintBehaviors', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'UniqueConstraintBehaviorFilter', 'UniqueConstraintBehaviorOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'UniqueConstraintBehavior',
|
|
57
|
+
fieldName: 'uniqueConstraintBehavior',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
uniqueConstraintBehavior: data.uniqueConstraintBehaviors?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('UniqueConstraintBehavior', 'createUniqueConstraintBehavior', 'uniqueConstraintBehavior', args.select, args.data, 'CreateUniqueConstraintBehaviorInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'UniqueConstraintBehavior',
|
|
71
|
+
fieldName: 'createUniqueConstraintBehavior',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('UniqueConstraintBehavior', 'updateUniqueConstraintBehavior', 'uniqueConstraintBehavior', args.select, args.where.id, args.data, 'UpdateUniqueConstraintBehaviorInput', 'id', 'uniqueConstraintBehaviorPatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'UniqueConstraintBehavior',
|
|
82
|
+
fieldName: 'updateUniqueConstraintBehavior',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('UniqueConstraintBehavior', 'deleteUniqueConstraintBehavior', 'uniqueConstraintBehavior', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeleteUniqueConstraintBehaviorInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'UniqueConstraintBehavior',
|
|
95
|
+
fieldName: 'deleteUniqueConstraintBehavior',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ViewBehavior 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 { ViewBehaviorWithRelations, ViewBehaviorSelect, ViewBehaviorFilter, ViewBehaviorOrderBy, CreateViewBehaviorInput, ViewBehaviorPatch } from '../input-types';
|
|
10
|
+
export declare class ViewBehaviorModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ViewBehaviorSelect>(args: FindManyArgs<S, ViewBehaviorFilter, ViewBehaviorOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ViewBehaviorSelect>): QueryBuilder<{
|
|
16
|
+
viewBehaviors: ConnectionResult<InferSelectResult<ViewBehaviorWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ViewBehaviorSelect>(args: FindFirstArgs<S, ViewBehaviorFilter, ViewBehaviorOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ViewBehaviorSelect>): QueryBuilder<{
|
|
21
|
+
viewBehavior: InferSelectResult<ViewBehaviorWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends ViewBehaviorSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, ViewBehaviorSelect>): QueryBuilder<{
|
|
27
|
+
viewBehavior: InferSelectResult<ViewBehaviorWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends ViewBehaviorSelect>(args: CreateArgs<S, CreateViewBehaviorInput['viewBehavior']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, ViewBehaviorSelect>): QueryBuilder<{
|
|
32
|
+
createViewBehavior: {
|
|
33
|
+
viewBehavior: InferSelectResult<ViewBehaviorWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends ViewBehaviorSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, ViewBehaviorPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, ViewBehaviorSelect>): QueryBuilder<{
|
|
41
|
+
updateViewBehavior: {
|
|
42
|
+
viewBehavior: InferSelectResult<ViewBehaviorWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends ViewBehaviorSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, ViewBehaviorSelect>): QueryBuilder<{
|
|
50
|
+
deleteViewBehavior: {
|
|
51
|
+
viewBehavior: InferSelectResult<ViewBehaviorWithRelations, 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 ViewBehaviorModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('ViewBehavior', 'viewBehaviors', 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
|
+
}, 'ViewBehaviorFilter', 'ViewBehaviorOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'ViewBehavior',
|
|
22
|
+
fieldName: 'viewBehaviors',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('ViewBehavior', 'viewBehaviors', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'ViewBehaviorFilter', 'ViewBehaviorOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'ViewBehavior',
|
|
36
|
+
fieldName: 'viewBehavior',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
viewBehavior: data.viewBehaviors?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('ViewBehavior', 'viewBehaviors', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'ViewBehaviorFilter', 'ViewBehaviorOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'ViewBehavior',
|
|
57
|
+
fieldName: 'viewBehavior',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
viewBehavior: data.viewBehaviors?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('ViewBehavior', 'createViewBehavior', 'viewBehavior', args.select, args.data, 'CreateViewBehaviorInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'ViewBehavior',
|
|
71
|
+
fieldName: 'createViewBehavior',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('ViewBehavior', 'updateViewBehavior', 'viewBehavior', args.select, args.where.id, args.data, 'UpdateViewBehaviorInput', 'id', 'viewBehaviorPatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'ViewBehavior',
|
|
82
|
+
fieldName: 'updateViewBehavior',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('ViewBehavior', 'deleteViewBehavior', 'viewBehavior', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeleteViewBehaviorInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'ViewBehavior',
|
|
95
|
+
fieldName: 'deleteViewBehavior',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -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 { AcceptDatabaseTransferInput, ApplyRlsInput, CancelDatabaseTransferInput, ProvisionBucketInput, RejectDatabaseTransferInput, RequestDatabaseInput, SetFieldOrderInput, AcceptDatabaseTransferPayload, ApplyRlsPayload, CancelDatabaseTransferPayload, ProvisionBucketPayload, RejectDatabaseTransferPayload, RequestDatabasePayload, SetFieldOrderPayload, AcceptDatabaseTransferPayloadSelect, ApplyRlsPayloadSelect, CancelDatabaseTransferPayloadSelect, ProvisionBucketPayloadSelect, RejectDatabaseTransferPayloadSelect, RequestDatabasePayloadSelect, SetFieldOrderPayloadSelect } from '../input-types';
|
|
9
|
+
import type { AcceptDatabaseTransferInput, ApplyRlsInput, CancelDatabaseTransferInput, DomainsAssignSubdomainInput, PlatformDomainsAssignSubdomainInput, PlatformSitesProvisionStaticSiteInput, ProvisionBucketInput, RejectDatabaseTransferInput, RequestDatabaseInput, SetFieldOrderInput, SitesProvisionStaticSiteInput, AcceptDatabaseTransferPayload, ApplyRlsPayload, CancelDatabaseTransferPayload, DomainsAssignSubdomainPayload, PlatformDomainsAssignSubdomainPayload, PlatformSitesProvisionStaticSitePayload, ProvisionBucketPayload, RejectDatabaseTransferPayload, RequestDatabasePayload, SetFieldOrderPayload, SitesProvisionStaticSitePayload, AcceptDatabaseTransferPayloadSelect, ApplyRlsPayloadSelect, CancelDatabaseTransferPayloadSelect, DomainsAssignSubdomainPayloadSelect, PlatformDomainsAssignSubdomainPayloadSelect, PlatformSitesProvisionStaticSitePayloadSelect, ProvisionBucketPayloadSelect, RejectDatabaseTransferPayloadSelect, RequestDatabasePayloadSelect, SetFieldOrderPayloadSelect, SitesProvisionStaticSitePayloadSelect } from '../input-types';
|
|
10
10
|
export interface AcceptDatabaseTransferVariables {
|
|
11
11
|
input: AcceptDatabaseTransferInput;
|
|
12
12
|
}
|
|
@@ -16,6 +16,15 @@ export interface ApplyRlsVariables {
|
|
|
16
16
|
export interface CancelDatabaseTransferVariables {
|
|
17
17
|
input: CancelDatabaseTransferInput;
|
|
18
18
|
}
|
|
19
|
+
export interface DomainsAssignSubdomainVariables {
|
|
20
|
+
input: DomainsAssignSubdomainInput;
|
|
21
|
+
}
|
|
22
|
+
export interface PlatformDomainsAssignSubdomainVariables {
|
|
23
|
+
input: PlatformDomainsAssignSubdomainInput;
|
|
24
|
+
}
|
|
25
|
+
export interface PlatformSitesProvisionStaticSiteVariables {
|
|
26
|
+
input: PlatformSitesProvisionStaticSiteInput;
|
|
27
|
+
}
|
|
19
28
|
/**
|
|
20
29
|
* Variables for provisionBucket
|
|
21
30
|
* Provision an S3 bucket for a logical bucket in the database.
|
|
@@ -45,6 +54,9 @@ export interface RequestDatabaseVariables {
|
|
|
45
54
|
export interface SetFieldOrderVariables {
|
|
46
55
|
input: SetFieldOrderInput;
|
|
47
56
|
}
|
|
57
|
+
export interface SitesProvisionStaticSiteVariables {
|
|
58
|
+
input: SitesProvisionStaticSiteInput;
|
|
59
|
+
}
|
|
48
60
|
export declare function createMutationOperations(client: OrmClient): {
|
|
49
61
|
acceptDatabaseTransfer: <S extends AcceptDatabaseTransferPayloadSelect>(args: AcceptDatabaseTransferVariables, options: {
|
|
50
62
|
select: S;
|
|
@@ -61,6 +73,21 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
61
73
|
} & StrictSelect<S, CancelDatabaseTransferPayloadSelect>) => QueryBuilder<{
|
|
62
74
|
cancelDatabaseTransfer: InferSelectResult<CancelDatabaseTransferPayload, S> | null;
|
|
63
75
|
}>;
|
|
76
|
+
domainsAssignSubdomain: <S extends DomainsAssignSubdomainPayloadSelect>(args: DomainsAssignSubdomainVariables, options: {
|
|
77
|
+
select: S;
|
|
78
|
+
} & StrictSelect<S, DomainsAssignSubdomainPayloadSelect>) => QueryBuilder<{
|
|
79
|
+
domainsAssignSubdomain: InferSelectResult<DomainsAssignSubdomainPayload, S> | null;
|
|
80
|
+
}>;
|
|
81
|
+
platformDomainsAssignSubdomain: <S extends PlatformDomainsAssignSubdomainPayloadSelect>(args: PlatformDomainsAssignSubdomainVariables, options: {
|
|
82
|
+
select: S;
|
|
83
|
+
} & StrictSelect<S, PlatformDomainsAssignSubdomainPayloadSelect>) => QueryBuilder<{
|
|
84
|
+
platformDomainsAssignSubdomain: InferSelectResult<PlatformDomainsAssignSubdomainPayload, S> | null;
|
|
85
|
+
}>;
|
|
86
|
+
platformSitesProvisionStaticSite: <S extends PlatformSitesProvisionStaticSitePayloadSelect>(args: PlatformSitesProvisionStaticSiteVariables, options: {
|
|
87
|
+
select: S;
|
|
88
|
+
} & StrictSelect<S, PlatformSitesProvisionStaticSitePayloadSelect>) => QueryBuilder<{
|
|
89
|
+
platformSitesProvisionStaticSite: InferSelectResult<PlatformSitesProvisionStaticSitePayload, S> | null;
|
|
90
|
+
}>;
|
|
64
91
|
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
65
92
|
select: S;
|
|
66
93
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
@@ -81,4 +108,9 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
81
108
|
} & StrictSelect<S, SetFieldOrderPayloadSelect>) => QueryBuilder<{
|
|
82
109
|
setFieldOrder: InferSelectResult<SetFieldOrderPayload, S> | null;
|
|
83
110
|
}>;
|
|
111
|
+
sitesProvisionStaticSite: <S extends SitesProvisionStaticSitePayloadSelect>(args: SitesProvisionStaticSiteVariables, options: {
|
|
112
|
+
select: S;
|
|
113
|
+
} & StrictSelect<S, SitesProvisionStaticSitePayloadSelect>) => QueryBuilder<{
|
|
114
|
+
sitesProvisionStaticSite: InferSelectResult<SitesProvisionStaticSitePayload, S> | null;
|
|
115
|
+
}>;
|
|
84
116
|
};
|