@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,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformSiteErrorPageModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PlatformSiteErrorPageModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformSiteErrorPage', 'platformSiteErrorPages', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'PlatformSiteErrorPageFilter', 'PlatformSiteErrorPageOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PlatformSiteErrorPage',
|
|
25
|
+
fieldName: 'platformSiteErrorPages',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformSiteErrorPage', 'platformSiteErrorPages', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PlatformSiteErrorPageFilter', 'PlatformSiteErrorPageOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PlatformSiteErrorPage',
|
|
39
|
+
fieldName: 'platformSiteErrorPage',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
platformSiteErrorPage: data.platformSiteErrorPages?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformSiteErrorPage', 'platformSiteErrorPages', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PlatformSiteErrorPageFilter', 'PlatformSiteErrorPageOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PlatformSiteErrorPage',
|
|
60
|
+
fieldName: 'platformSiteErrorPage',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
platformSiteErrorPage: data.platformSiteErrorPages?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformSiteErrorPage', 'createPlatformSiteErrorPage', 'platformSiteErrorPage', args.select, args.data, 'CreatePlatformSiteErrorPageInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PlatformSiteErrorPage',
|
|
74
|
+
fieldName: 'createPlatformSiteErrorPage',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformSiteErrorPage', 'updatePlatformSiteErrorPage', 'platformSiteErrorPage', args.select, args.where.id, args.data, 'UpdatePlatformSiteErrorPageInput', 'id', 'platformSiteErrorPagePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PlatformSiteErrorPage',
|
|
85
|
+
fieldName: 'updatePlatformSiteErrorPage',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformSiteErrorPage', 'deletePlatformSiteErrorPage', 'platformSiteErrorPage', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePlatformSiteErrorPageInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlatformSiteErrorPage',
|
|
98
|
+
fieldName: 'deletePlatformSiteErrorPage',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PlatformSiteErrorPageModel = PlatformSiteErrorPageModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformSiteWebConfig 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 { PlatformSiteWebConfigWithRelations, PlatformSiteWebConfigSelect, PlatformSiteWebConfigFilter, PlatformSiteWebConfigOrderBy, CreatePlatformSiteWebConfigInput, PlatformSiteWebConfigPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformSiteWebConfigModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformSiteWebConfigSelect>(args: FindManyArgs<S, PlatformSiteWebConfigFilter, PlatformSiteWebConfigOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformSiteWebConfigSelect>): QueryBuilder<{
|
|
16
|
+
platformSiteWebConfigs: ConnectionResult<InferSelectResult<PlatformSiteWebConfigWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformSiteWebConfigSelect>(args: FindFirstArgs<S, PlatformSiteWebConfigFilter, PlatformSiteWebConfigOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformSiteWebConfigSelect>): QueryBuilder<{
|
|
21
|
+
platformSiteWebConfig: InferSelectResult<PlatformSiteWebConfigWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformSiteWebConfigSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformSiteWebConfigSelect>): QueryBuilder<{
|
|
27
|
+
platformSiteWebConfig: InferSelectResult<PlatformSiteWebConfigWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformSiteWebConfigSelect>(args: CreateArgs<S, CreatePlatformSiteWebConfigInput['platformSiteWebConfig']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformSiteWebConfigSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformSiteWebConfig: {
|
|
33
|
+
platformSiteWebConfig: InferSelectResult<PlatformSiteWebConfigWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformSiteWebConfigSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformSiteWebConfigPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformSiteWebConfigSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformSiteWebConfig: {
|
|
42
|
+
platformSiteWebConfig: InferSelectResult<PlatformSiteWebConfigWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformSiteWebConfigSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformSiteWebConfigSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformSiteWebConfig: {
|
|
51
|
+
platformSiteWebConfig: InferSelectResult<PlatformSiteWebConfigWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformSiteWebConfigModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PlatformSiteWebConfigModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformSiteWebConfig', 'platformSiteWebConfigs', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'PlatformSiteWebConfigFilter', 'PlatformSiteWebConfigOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PlatformSiteWebConfig',
|
|
25
|
+
fieldName: 'platformSiteWebConfigs',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformSiteWebConfig', 'platformSiteWebConfigs', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PlatformSiteWebConfigFilter', 'PlatformSiteWebConfigOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PlatformSiteWebConfig',
|
|
39
|
+
fieldName: 'platformSiteWebConfig',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
platformSiteWebConfig: data.platformSiteWebConfigs?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformSiteWebConfig', 'platformSiteWebConfigs', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PlatformSiteWebConfigFilter', 'PlatformSiteWebConfigOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PlatformSiteWebConfig',
|
|
60
|
+
fieldName: 'platformSiteWebConfig',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
platformSiteWebConfig: data.platformSiteWebConfigs?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformSiteWebConfig', 'createPlatformSiteWebConfig', 'platformSiteWebConfig', args.select, args.data, 'CreatePlatformSiteWebConfigInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PlatformSiteWebConfig',
|
|
74
|
+
fieldName: 'createPlatformSiteWebConfig',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformSiteWebConfig', 'updatePlatformSiteWebConfig', 'platformSiteWebConfig', args.select, args.where.id, args.data, 'UpdatePlatformSiteWebConfigInput', 'id', 'platformSiteWebConfigPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PlatformSiteWebConfig',
|
|
85
|
+
fieldName: 'updatePlatformSiteWebConfig',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformSiteWebConfig', 'deletePlatformSiteWebConfig', 'platformSiteWebConfig', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePlatformSiteWebConfigInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlatformSiteWebConfig',
|
|
98
|
+
fieldName: 'deletePlatformSiteWebConfig',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PlatformSiteWebConfigModel = PlatformSiteWebConfigModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SiteAppLink 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 { SiteAppLinkWithRelations, SiteAppLinkSelect, SiteAppLinkFilter, SiteAppLinkOrderBy, CreateSiteAppLinkInput, SiteAppLinkPatch } from '../input-types';
|
|
10
|
+
export declare class SiteAppLinkModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends SiteAppLinkSelect>(args: FindManyArgs<S, SiteAppLinkFilter, SiteAppLinkOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, SiteAppLinkSelect>): QueryBuilder<{
|
|
16
|
+
siteAppLinks: ConnectionResult<InferSelectResult<SiteAppLinkWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends SiteAppLinkSelect>(args: FindFirstArgs<S, SiteAppLinkFilter, SiteAppLinkOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, SiteAppLinkSelect>): QueryBuilder<{
|
|
21
|
+
siteAppLink: InferSelectResult<SiteAppLinkWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends SiteAppLinkSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, SiteAppLinkSelect>): QueryBuilder<{
|
|
27
|
+
siteAppLink: InferSelectResult<SiteAppLinkWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends SiteAppLinkSelect>(args: CreateArgs<S, CreateSiteAppLinkInput['siteAppLink']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, SiteAppLinkSelect>): QueryBuilder<{
|
|
32
|
+
createSiteAppLink: {
|
|
33
|
+
siteAppLink: InferSelectResult<SiteAppLinkWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends SiteAppLinkSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, SiteAppLinkPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, SiteAppLinkSelect>): QueryBuilder<{
|
|
41
|
+
updateSiteAppLink: {
|
|
42
|
+
siteAppLink: InferSelectResult<SiteAppLinkWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends SiteAppLinkSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, SiteAppLinkSelect>): QueryBuilder<{
|
|
50
|
+
deleteSiteAppLink: {
|
|
51
|
+
siteAppLink: InferSelectResult<SiteAppLinkWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.SiteAppLinkModel = void 0;
|
|
4
4
|
const query_builder_1 = require("../query-builder");
|
|
5
5
|
const input_types_1 = require("../input-types");
|
|
6
|
-
class
|
|
6
|
+
class SiteAppLinkModel {
|
|
7
7
|
client;
|
|
8
8
|
constructor(client) {
|
|
9
9
|
this.client = client;
|
|
10
10
|
}
|
|
11
11
|
findMany(args) {
|
|
12
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('SiteAppLink', 'siteAppLinks', args.select, {
|
|
13
13
|
where: args?.where,
|
|
14
14
|
orderBy: args?.orderBy,
|
|
15
15
|
first: args?.first,
|
|
@@ -17,88 +17,88 @@ class PlatformApiModel {
|
|
|
17
17
|
after: args?.after,
|
|
18
18
|
before: args?.before,
|
|
19
19
|
offset: args?.offset,
|
|
20
|
-
}, '
|
|
20
|
+
}, 'SiteAppLinkFilter', 'SiteAppLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
21
21
|
return new query_builder_1.QueryBuilder({
|
|
22
22
|
client: this.client,
|
|
23
23
|
operation: 'query',
|
|
24
|
-
operationName: '
|
|
25
|
-
fieldName: '
|
|
24
|
+
operationName: 'SiteAppLink',
|
|
25
|
+
fieldName: 'siteAppLinks',
|
|
26
26
|
document,
|
|
27
27
|
variables,
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
findFirst(args) {
|
|
31
|
-
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('SiteAppLink', 'siteAppLinks', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
33
|
orderBy: args?.orderBy,
|
|
34
|
-
}, '
|
|
34
|
+
}, 'SiteAppLinkFilter', 'SiteAppLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
35
35
|
return new query_builder_1.QueryBuilder({
|
|
36
36
|
client: this.client,
|
|
37
37
|
operation: 'query',
|
|
38
|
-
operationName: '
|
|
39
|
-
fieldName: '
|
|
38
|
+
operationName: 'SiteAppLink',
|
|
39
|
+
fieldName: 'siteAppLink',
|
|
40
40
|
document,
|
|
41
41
|
variables,
|
|
42
42
|
transform: (data) => ({
|
|
43
|
-
|
|
43
|
+
siteAppLink: data.siteAppLinks?.nodes?.[0] ?? null,
|
|
44
44
|
}),
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
findOne(args) {
|
|
48
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('SiteAppLink', 'siteAppLinks', args.select, {
|
|
49
49
|
where: {
|
|
50
50
|
id: {
|
|
51
51
|
equalTo: args.id,
|
|
52
52
|
},
|
|
53
53
|
},
|
|
54
54
|
first: 1,
|
|
55
|
-
}, '
|
|
55
|
+
}, 'SiteAppLinkFilter', 'SiteAppLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
56
56
|
return new query_builder_1.QueryBuilder({
|
|
57
57
|
client: this.client,
|
|
58
58
|
operation: 'query',
|
|
59
|
-
operationName: '
|
|
60
|
-
fieldName: '
|
|
59
|
+
operationName: 'SiteAppLink',
|
|
60
|
+
fieldName: 'siteAppLink',
|
|
61
61
|
document,
|
|
62
62
|
variables,
|
|
63
63
|
transform: (data) => ({
|
|
64
|
-
|
|
64
|
+
siteAppLink: data.siteAppLinks?.nodes?.[0] ?? null,
|
|
65
65
|
}),
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
create(args) {
|
|
69
|
-
const { document, variables } = (0, query_builder_1.buildCreateDocument)('
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('SiteAppLink', 'createSiteAppLink', 'siteAppLink', args.select, args.data, 'CreateSiteAppLinkInput', input_types_1.connectionFieldsMap);
|
|
70
70
|
return new query_builder_1.QueryBuilder({
|
|
71
71
|
client: this.client,
|
|
72
72
|
operation: 'mutation',
|
|
73
|
-
operationName: '
|
|
74
|
-
fieldName: '
|
|
73
|
+
operationName: 'SiteAppLink',
|
|
74
|
+
fieldName: 'createSiteAppLink',
|
|
75
75
|
document,
|
|
76
76
|
variables,
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('SiteAppLink', 'updateSiteAppLink', 'siteAppLink', args.select, args.where.id, args.data, 'UpdateSiteAppLinkInput', 'id', 'siteAppLinkPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
84
|
-
operationName: '
|
|
85
|
-
fieldName: '
|
|
84
|
+
operationName: 'SiteAppLink',
|
|
85
|
+
fieldName: 'updateSiteAppLink',
|
|
86
86
|
document,
|
|
87
87
|
variables,
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
delete(args) {
|
|
91
|
-
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('SiteAppLink', 'deleteSiteAppLink', 'siteAppLink', {
|
|
92
92
|
id: args.where.id,
|
|
93
|
-
}, '
|
|
93
|
+
}, 'DeleteSiteAppLinkInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
94
|
return new query_builder_1.QueryBuilder({
|
|
95
95
|
client: this.client,
|
|
96
96
|
operation: 'mutation',
|
|
97
|
-
operationName: '
|
|
98
|
-
fieldName: '
|
|
97
|
+
operationName: 'SiteAppLink',
|
|
98
|
+
fieldName: 'deleteSiteAppLink',
|
|
99
99
|
document,
|
|
100
100
|
variables,
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
exports.
|
|
104
|
+
exports.SiteAppLinkModel = SiteAppLinkModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SiteDeepLink 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 { SiteDeepLinkWithRelations, SiteDeepLinkSelect, SiteDeepLinkFilter, SiteDeepLinkOrderBy, CreateSiteDeepLinkInput, SiteDeepLinkPatch } from '../input-types';
|
|
10
|
+
export declare class SiteDeepLinkModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends SiteDeepLinkSelect>(args: FindManyArgs<S, SiteDeepLinkFilter, SiteDeepLinkOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, SiteDeepLinkSelect>): QueryBuilder<{
|
|
16
|
+
siteDeepLinks: ConnectionResult<InferSelectResult<SiteDeepLinkWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends SiteDeepLinkSelect>(args: FindFirstArgs<S, SiteDeepLinkFilter, SiteDeepLinkOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, SiteDeepLinkSelect>): QueryBuilder<{
|
|
21
|
+
siteDeepLink: InferSelectResult<SiteDeepLinkWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends SiteDeepLinkSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, SiteDeepLinkSelect>): QueryBuilder<{
|
|
27
|
+
siteDeepLink: InferSelectResult<SiteDeepLinkWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends SiteDeepLinkSelect>(args: CreateArgs<S, CreateSiteDeepLinkInput['siteDeepLink']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, SiteDeepLinkSelect>): QueryBuilder<{
|
|
32
|
+
createSiteDeepLink: {
|
|
33
|
+
siteDeepLink: InferSelectResult<SiteDeepLinkWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends SiteDeepLinkSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, SiteDeepLinkPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, SiteDeepLinkSelect>): QueryBuilder<{
|
|
41
|
+
updateSiteDeepLink: {
|
|
42
|
+
siteDeepLink: InferSelectResult<SiteDeepLinkWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends SiteDeepLinkSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, SiteDeepLinkSelect>): QueryBuilder<{
|
|
50
|
+
deleteSiteDeepLink: {
|
|
51
|
+
siteDeepLink: InferSelectResult<SiteDeepLinkWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SiteDeepLinkModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class SiteDeepLinkModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('SiteDeepLink', 'siteDeepLinks', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'SiteDeepLinkFilter', 'SiteDeepLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'SiteDeepLink',
|
|
25
|
+
fieldName: 'siteDeepLinks',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('SiteDeepLink', 'siteDeepLinks', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'SiteDeepLinkFilter', 'SiteDeepLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'SiteDeepLink',
|
|
39
|
+
fieldName: 'siteDeepLink',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
siteDeepLink: data.siteDeepLinks?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('SiteDeepLink', 'siteDeepLinks', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'SiteDeepLinkFilter', 'SiteDeepLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'SiteDeepLink',
|
|
60
|
+
fieldName: 'siteDeepLink',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
siteDeepLink: data.siteDeepLinks?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('SiteDeepLink', 'createSiteDeepLink', 'siteDeepLink', args.select, args.data, 'CreateSiteDeepLinkInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'SiteDeepLink',
|
|
74
|
+
fieldName: 'createSiteDeepLink',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('SiteDeepLink', 'updateSiteDeepLink', 'siteDeepLink', args.select, args.where.id, args.data, 'UpdateSiteDeepLinkInput', 'id', 'siteDeepLinkPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'SiteDeepLink',
|
|
85
|
+
fieldName: 'updateSiteDeepLink',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('SiteDeepLink', 'deleteSiteDeepLink', 'siteDeepLink', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteSiteDeepLinkInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'SiteDeepLink',
|
|
98
|
+
fieldName: 'deleteSiteDeepLink',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.SiteDeepLinkModel = SiteDeepLinkModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SiteErrorPage 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 { SiteErrorPageWithRelations, SiteErrorPageSelect, SiteErrorPageFilter, SiteErrorPageOrderBy, CreateSiteErrorPageInput, SiteErrorPagePatch } from '../input-types';
|
|
10
|
+
export declare class SiteErrorPageModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends SiteErrorPageSelect>(args: FindManyArgs<S, SiteErrorPageFilter, SiteErrorPageOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, SiteErrorPageSelect>): QueryBuilder<{
|
|
16
|
+
siteErrorPages: ConnectionResult<InferSelectResult<SiteErrorPageWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends SiteErrorPageSelect>(args: FindFirstArgs<S, SiteErrorPageFilter, SiteErrorPageOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, SiteErrorPageSelect>): QueryBuilder<{
|
|
21
|
+
siteErrorPage: InferSelectResult<SiteErrorPageWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends SiteErrorPageSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, SiteErrorPageSelect>): QueryBuilder<{
|
|
27
|
+
siteErrorPage: InferSelectResult<SiteErrorPageWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends SiteErrorPageSelect>(args: CreateArgs<S, CreateSiteErrorPageInput['siteErrorPage']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, SiteErrorPageSelect>): QueryBuilder<{
|
|
32
|
+
createSiteErrorPage: {
|
|
33
|
+
siteErrorPage: InferSelectResult<SiteErrorPageWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends SiteErrorPageSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, SiteErrorPagePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, SiteErrorPageSelect>): QueryBuilder<{
|
|
41
|
+
updateSiteErrorPage: {
|
|
42
|
+
siteErrorPage: InferSelectResult<SiteErrorPageWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends SiteErrorPageSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, SiteErrorPageSelect>): QueryBuilder<{
|
|
50
|
+
deleteSiteErrorPage: {
|
|
51
|
+
siteErrorPage: InferSelectResult<SiteErrorPageWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|