@constructive-io/sdk 1.11.2 → 1.11.4
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 +6 -6
- 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.PlatformApisModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PlatformApisModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformApis', 'platformApises', 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
|
+
}, 'PlatformApisFilter', 'PlatformApisOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PlatformApis',
|
|
25
|
+
fieldName: 'platformApises',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformApis', 'platformApises', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PlatformApisFilter', 'PlatformApisOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PlatformApis',
|
|
39
|
+
fieldName: 'platformApis',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
platformApis: data.platformApises?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformApis', 'platformApises', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PlatformApisFilter', 'PlatformApisOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PlatformApis',
|
|
60
|
+
fieldName: 'platformApis',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
platformApis: data.platformApises?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformApis', 'createPlatformApis', 'platformApis', args.select, args.data, 'CreatePlatformApisInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PlatformApis',
|
|
74
|
+
fieldName: 'createPlatformApis',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformApis', 'updatePlatformApis', 'platformApis', args.select, args.where.id, args.data, 'UpdatePlatformApisInput', 'id', 'platformApisPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PlatformApis',
|
|
85
|
+
fieldName: 'updatePlatformApis',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformApis', 'deletePlatformApis', 'platformApis', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePlatformApisInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlatformApis',
|
|
98
|
+
fieldName: 'deletePlatformApis',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PlatformApisModel = PlatformApisModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformPage 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 { PlatformPageWithRelations, PlatformPageSelect, PlatformPageFilter, PlatformPageOrderBy, CreatePlatformPageInput, PlatformPagePatch } from '../input-types';
|
|
10
|
+
export declare class PlatformPageModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformPageSelect>(args: FindManyArgs<S, PlatformPageFilter, PlatformPageOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformPageSelect>): QueryBuilder<{
|
|
16
|
+
platformPages: ConnectionResult<InferSelectResult<PlatformPageWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformPageSelect>(args: FindFirstArgs<S, PlatformPageFilter, PlatformPageOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformPageSelect>): QueryBuilder<{
|
|
21
|
+
platformPage: InferSelectResult<PlatformPageWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformPageSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformPageSelect>): QueryBuilder<{
|
|
27
|
+
platformPage: InferSelectResult<PlatformPageWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformPageSelect>(args: CreateArgs<S, CreatePlatformPageInput['platformPage']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformPageSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformPage: {
|
|
33
|
+
platformPage: InferSelectResult<PlatformPageWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformPageSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformPagePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformPageSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformPage: {
|
|
42
|
+
platformPage: InferSelectResult<PlatformPageWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformPageSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformPageSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformPage: {
|
|
51
|
+
platformPage: InferSelectResult<PlatformPageWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformPageModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PlatformPageModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformPage', 'platformPages', 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
|
+
}, 'PlatformPageFilter', 'PlatformPageOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PlatformPage',
|
|
25
|
+
fieldName: 'platformPages',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformPage', 'platformPages', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PlatformPageFilter', 'PlatformPageOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PlatformPage',
|
|
39
|
+
fieldName: 'platformPage',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
platformPage: data.platformPages?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformPage', 'platformPages', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PlatformPageFilter', 'PlatformPageOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PlatformPage',
|
|
60
|
+
fieldName: 'platformPage',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
platformPage: data.platformPages?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformPage', 'createPlatformPage', 'platformPage', args.select, args.data, 'CreatePlatformPageInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PlatformPage',
|
|
74
|
+
fieldName: 'createPlatformPage',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformPage', 'updatePlatformPage', 'platformPage', args.select, args.where.id, args.data, 'UpdatePlatformPageInput', 'id', 'platformPagePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PlatformPage',
|
|
85
|
+
fieldName: 'updatePlatformPage',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformPage', 'deletePlatformPage', 'platformPage', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePlatformPageInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlatformPage',
|
|
98
|
+
fieldName: 'deletePlatformPage',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PlatformPageModel = PlatformPageModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformSiteAppLink 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 { PlatformSiteAppLinkWithRelations, PlatformSiteAppLinkSelect, PlatformSiteAppLinkFilter, PlatformSiteAppLinkOrderBy, CreatePlatformSiteAppLinkInput, PlatformSiteAppLinkPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformSiteAppLinkModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformSiteAppLinkSelect>(args: FindManyArgs<S, PlatformSiteAppLinkFilter, PlatformSiteAppLinkOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformSiteAppLinkSelect>): QueryBuilder<{
|
|
16
|
+
platformSiteAppLinks: ConnectionResult<InferSelectResult<PlatformSiteAppLinkWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformSiteAppLinkSelect>(args: FindFirstArgs<S, PlatformSiteAppLinkFilter, PlatformSiteAppLinkOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformSiteAppLinkSelect>): QueryBuilder<{
|
|
21
|
+
platformSiteAppLink: InferSelectResult<PlatformSiteAppLinkWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformSiteAppLinkSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformSiteAppLinkSelect>): QueryBuilder<{
|
|
27
|
+
platformSiteAppLink: InferSelectResult<PlatformSiteAppLinkWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformSiteAppLinkSelect>(args: CreateArgs<S, CreatePlatformSiteAppLinkInput['platformSiteAppLink']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformSiteAppLinkSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformSiteAppLink: {
|
|
33
|
+
platformSiteAppLink: InferSelectResult<PlatformSiteAppLinkWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformSiteAppLinkSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformSiteAppLinkPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformSiteAppLinkSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformSiteAppLink: {
|
|
42
|
+
platformSiteAppLink: InferSelectResult<PlatformSiteAppLinkWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformSiteAppLinkSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformSiteAppLinkSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformSiteAppLink: {
|
|
51
|
+
platformSiteAppLink: InferSelectResult<PlatformSiteAppLinkWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformSiteAppLinkModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PlatformSiteAppLinkModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformSiteAppLink', 'platformSiteAppLinks', 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
|
+
}, 'PlatformSiteAppLinkFilter', 'PlatformSiteAppLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PlatformSiteAppLink',
|
|
25
|
+
fieldName: 'platformSiteAppLinks',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformSiteAppLink', 'platformSiteAppLinks', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PlatformSiteAppLinkFilter', 'PlatformSiteAppLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PlatformSiteAppLink',
|
|
39
|
+
fieldName: 'platformSiteAppLink',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
platformSiteAppLink: data.platformSiteAppLinks?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformSiteAppLink', 'platformSiteAppLinks', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PlatformSiteAppLinkFilter', 'PlatformSiteAppLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PlatformSiteAppLink',
|
|
60
|
+
fieldName: 'platformSiteAppLink',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
platformSiteAppLink: data.platformSiteAppLinks?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformSiteAppLink', 'createPlatformSiteAppLink', 'platformSiteAppLink', args.select, args.data, 'CreatePlatformSiteAppLinkInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PlatformSiteAppLink',
|
|
74
|
+
fieldName: 'createPlatformSiteAppLink',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformSiteAppLink', 'updatePlatformSiteAppLink', 'platformSiteAppLink', args.select, args.where.id, args.data, 'UpdatePlatformSiteAppLinkInput', 'id', 'platformSiteAppLinkPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PlatformSiteAppLink',
|
|
85
|
+
fieldName: 'updatePlatformSiteAppLink',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformSiteAppLink', 'deletePlatformSiteAppLink', 'platformSiteAppLink', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePlatformSiteAppLinkInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlatformSiteAppLink',
|
|
98
|
+
fieldName: 'deletePlatformSiteAppLink',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PlatformSiteAppLinkModel = PlatformSiteAppLinkModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformSiteDeepLink 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 { PlatformSiteDeepLinkWithRelations, PlatformSiteDeepLinkSelect, PlatformSiteDeepLinkFilter, PlatformSiteDeepLinkOrderBy, CreatePlatformSiteDeepLinkInput, PlatformSiteDeepLinkPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformSiteDeepLinkModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformSiteDeepLinkSelect>(args: FindManyArgs<S, PlatformSiteDeepLinkFilter, PlatformSiteDeepLinkOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformSiteDeepLinkSelect>): QueryBuilder<{
|
|
16
|
+
platformSiteDeepLinks: ConnectionResult<InferSelectResult<PlatformSiteDeepLinkWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformSiteDeepLinkSelect>(args: FindFirstArgs<S, PlatformSiteDeepLinkFilter, PlatformSiteDeepLinkOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformSiteDeepLinkSelect>): QueryBuilder<{
|
|
21
|
+
platformSiteDeepLink: InferSelectResult<PlatformSiteDeepLinkWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformSiteDeepLinkSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformSiteDeepLinkSelect>): QueryBuilder<{
|
|
27
|
+
platformSiteDeepLink: InferSelectResult<PlatformSiteDeepLinkWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformSiteDeepLinkSelect>(args: CreateArgs<S, CreatePlatformSiteDeepLinkInput['platformSiteDeepLink']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformSiteDeepLinkSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformSiteDeepLink: {
|
|
33
|
+
platformSiteDeepLink: InferSelectResult<PlatformSiteDeepLinkWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformSiteDeepLinkSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformSiteDeepLinkPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformSiteDeepLinkSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformSiteDeepLink: {
|
|
42
|
+
platformSiteDeepLink: InferSelectResult<PlatformSiteDeepLinkWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformSiteDeepLinkSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformSiteDeepLinkSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformSiteDeepLink: {
|
|
51
|
+
platformSiteDeepLink: InferSelectResult<PlatformSiteDeepLinkWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformSiteDeepLinkModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PlatformSiteDeepLinkModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformSiteDeepLink', 'platformSiteDeepLinks', 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
|
+
}, 'PlatformSiteDeepLinkFilter', 'PlatformSiteDeepLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PlatformSiteDeepLink',
|
|
25
|
+
fieldName: 'platformSiteDeepLinks',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformSiteDeepLink', 'platformSiteDeepLinks', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PlatformSiteDeepLinkFilter', 'PlatformSiteDeepLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PlatformSiteDeepLink',
|
|
39
|
+
fieldName: 'platformSiteDeepLink',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
platformSiteDeepLink: data.platformSiteDeepLinks?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformSiteDeepLink', 'platformSiteDeepLinks', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PlatformSiteDeepLinkFilter', 'PlatformSiteDeepLinkOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PlatformSiteDeepLink',
|
|
60
|
+
fieldName: 'platformSiteDeepLink',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
platformSiteDeepLink: data.platformSiteDeepLinks?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformSiteDeepLink', 'createPlatformSiteDeepLink', 'platformSiteDeepLink', args.select, args.data, 'CreatePlatformSiteDeepLinkInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PlatformSiteDeepLink',
|
|
74
|
+
fieldName: 'createPlatformSiteDeepLink',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformSiteDeepLink', 'updatePlatformSiteDeepLink', 'platformSiteDeepLink', args.select, args.where.id, args.data, 'UpdatePlatformSiteDeepLinkInput', 'id', 'platformSiteDeepLinkPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PlatformSiteDeepLink',
|
|
85
|
+
fieldName: 'updatePlatformSiteDeepLink',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformSiteDeepLink', 'deletePlatformSiteDeepLink', 'platformSiteDeepLink', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePlatformSiteDeepLinkInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlatformSiteDeepLink',
|
|
98
|
+
fieldName: 'deletePlatformSiteDeepLink',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PlatformSiteDeepLinkModel = PlatformSiteDeepLinkModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformSiteErrorPage 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 { PlatformSiteErrorPageWithRelations, PlatformSiteErrorPageSelect, PlatformSiteErrorPageFilter, PlatformSiteErrorPageOrderBy, CreatePlatformSiteErrorPageInput, PlatformSiteErrorPagePatch } from '../input-types';
|
|
10
|
+
export declare class PlatformSiteErrorPageModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformSiteErrorPageSelect>(args: FindManyArgs<S, PlatformSiteErrorPageFilter, PlatformSiteErrorPageOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformSiteErrorPageSelect>): QueryBuilder<{
|
|
16
|
+
platformSiteErrorPages: ConnectionResult<InferSelectResult<PlatformSiteErrorPageWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformSiteErrorPageSelect>(args: FindFirstArgs<S, PlatformSiteErrorPageFilter, PlatformSiteErrorPageOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformSiteErrorPageSelect>): QueryBuilder<{
|
|
21
|
+
platformSiteErrorPage: InferSelectResult<PlatformSiteErrorPageWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformSiteErrorPageSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformSiteErrorPageSelect>): QueryBuilder<{
|
|
27
|
+
platformSiteErrorPage: InferSelectResult<PlatformSiteErrorPageWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformSiteErrorPageSelect>(args: CreateArgs<S, CreatePlatformSiteErrorPageInput['platformSiteErrorPage']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformSiteErrorPageSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformSiteErrorPage: {
|
|
33
|
+
platformSiteErrorPage: InferSelectResult<PlatformSiteErrorPageWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformSiteErrorPageSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformSiteErrorPagePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformSiteErrorPageSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformSiteErrorPage: {
|
|
42
|
+
platformSiteErrorPage: InferSelectResult<PlatformSiteErrorPageWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformSiteErrorPageSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformSiteErrorPageSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformSiteErrorPage: {
|
|
51
|
+
platformSiteErrorPage: InferSelectResult<PlatformSiteErrorPageWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|