@constructive-io/sdk 0.22.3 → 0.22.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/index.d.ts +6 -20
- package/admin/orm/index.js +6 -10
- package/admin/orm/input-types.d.ts +488 -768
- package/admin/orm/models/appLimitWarning.d.ts +54 -0
- package/{public/orm/models/secretsModule.js → admin/orm/models/appLimitWarning.js} +27 -27
- package/admin/orm/models/index.d.ts +3 -5
- package/admin/orm/models/index.js +7 -11
- package/admin/orm/models/orgLimitWarning.d.ts +54 -0
- package/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +27 -27
- package/admin/orm/query/index.d.ts +1 -28
- package/admin/orm/query/index.js +0 -44
- package/esm/admin/orm/index.d.ts +6 -20
- package/esm/admin/orm/index.js +6 -10
- package/esm/admin/orm/input-types.d.ts +488 -768
- package/esm/admin/orm/models/appLimitWarning.d.ts +54 -0
- package/esm/{public/orm/models/appAchievement.js → admin/orm/models/appLimitWarning.js} +25 -25
- package/esm/admin/orm/models/index.d.ts +3 -5
- package/esm/admin/orm/models/index.js +3 -5
- package/esm/admin/orm/models/orgLimitWarning.d.ts +54 -0
- package/esm/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +25 -25
- package/esm/admin/orm/query/index.d.ts +1 -28
- package/esm/admin/orm/query/index.js +0 -44
- package/esm/public/orm/index.d.ts +10 -22
- package/esm/public/orm/index.js +10 -12
- package/esm/public/orm/input-types.d.ts +1024 -919
- package/esm/public/orm/input-types.js +3 -5
- package/esm/public/orm/models/appLimitWarning.d.ts +54 -0
- package/esm/{admin/orm/models/appLevel.js → public/orm/models/appLimitWarning.js} +25 -25
- package/esm/public/orm/models/eventsModule.d.ts +54 -0
- package/esm/public/orm/models/{levelsModule.js → eventsModule.js} +25 -25
- package/esm/public/orm/models/index.d.ts +5 -6
- package/esm/public/orm/models/index.js +5 -6
- package/esm/public/orm/models/orgLimitWarning.d.ts +54 -0
- package/esm/{admin/orm/models/appStep.js → public/orm/models/orgLimitWarning.js} +25 -25
- package/esm/public/orm/models/rateLimitMetersModule.d.ts +54 -0
- package/esm/{admin/orm/models/appLevelRequirement.js → public/orm/models/rateLimitMetersModule.js} +25 -25
- package/esm/public/orm/models/userStateModule.d.ts +54 -0
- package/esm/public/orm/models/userStateModule.js +100 -0
- package/esm/public/orm/mutation/index.d.ts +2 -2
- package/esm/public/orm/query/index.d.ts +1 -28
- package/esm/public/orm/query/index.js +0 -44
- package/package.json +4 -4
- package/public/orm/index.d.ts +10 -22
- package/public/orm/index.js +10 -12
- package/public/orm/input-types.d.ts +1024 -919
- package/public/orm/input-types.js +3 -5
- package/public/orm/models/appLimitWarning.d.ts +54 -0
- package/{admin/orm/models/appStep.js → public/orm/models/appLimitWarning.js} +27 -27
- package/public/orm/models/eventsModule.d.ts +54 -0
- package/public/orm/models/{levelsModule.js → eventsModule.js} +27 -27
- package/public/orm/models/index.d.ts +5 -6
- package/public/orm/models/index.js +13 -15
- package/public/orm/models/orgLimitWarning.d.ts +54 -0
- package/{admin/orm/models/appLevel.js → public/orm/models/orgLimitWarning.js} +27 -27
- package/public/orm/models/rateLimitMetersModule.d.ts +54 -0
- package/public/orm/models/{appAchievement.js → rateLimitMetersModule.js} +27 -27
- package/public/orm/models/userStateModule.d.ts +54 -0
- package/public/orm/models/userStateModule.js +104 -0
- package/public/orm/mutation/index.d.ts +2 -2
- package/public/orm/query/index.d.ts +1 -28
- package/public/orm/query/index.js +0 -44
- package/admin/orm/models/appAchievement.d.ts +0 -54
- package/admin/orm/models/appLevel.d.ts +0 -54
- package/admin/orm/models/appLevelRequirement.d.ts +0 -54
- package/admin/orm/models/appLevelRequirement.js +0 -104
- package/admin/orm/models/appStep.d.ts +0 -54
- package/esm/admin/orm/models/appAchievement.d.ts +0 -54
- package/esm/admin/orm/models/appLevel.d.ts +0 -54
- package/esm/admin/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/admin/orm/models/appStep.d.ts +0 -54
- package/esm/public/orm/models/appAchievement.d.ts +0 -54
- package/esm/public/orm/models/appLevel.d.ts +0 -54
- package/esm/public/orm/models/appLevel.js +0 -100
- package/esm/public/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/public/orm/models/appLevelRequirement.js +0 -100
- package/esm/public/orm/models/appStep.d.ts +0 -54
- package/esm/public/orm/models/appStep.js +0 -100
- package/esm/public/orm/models/levelsModule.d.ts +0 -54
- package/esm/public/orm/models/secretsModule.d.ts +0 -54
- package/esm/public/orm/models/secretsModule.js +0 -100
- package/public/orm/models/appAchievement.d.ts +0 -54
- package/public/orm/models/appLevel.d.ts +0 -54
- package/public/orm/models/appLevel.js +0 -104
- package/public/orm/models/appLevelRequirement.d.ts +0 -54
- package/public/orm/models/appLevelRequirement.js +0 -104
- package/public/orm/models/appStep.d.ts +0 -54
- package/public/orm/models/appStep.js +0 -104
- package/public/orm/models/levelsModule.d.ts +0 -54
- package/public/orm/models/secretsModule.d.ts +0 -54
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppLevel 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 { AppLevelWithRelations, AppLevelSelect, AppLevelFilter, AppLevelOrderBy, CreateAppLevelInput, AppLevelPatch } from '../input-types';
|
|
10
|
-
export declare class AppLevelModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppLevelSelect>(args: FindManyArgs<S, AppLevelFilter, AppLevelOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
16
|
-
appLevels: ConnectionResult<InferSelectResult<AppLevelWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppLevelSelect>(args: FindFirstArgs<S, AppLevelFilter, AppLevelOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
21
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppLevelSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
27
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppLevelSelect>(args: CreateArgs<S, CreateAppLevelInput['appLevel']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
32
|
-
createAppLevel: {
|
|
33
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppLevelSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppLevelPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
41
|
-
updateAppLevel: {
|
|
42
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppLevelSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppLevel: {
|
|
51
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppLevelModel = void 0;
|
|
4
|
-
const query_builder_1 = require("../query-builder");
|
|
5
|
-
const input_types_1 = require("../input-types");
|
|
6
|
-
class AppLevelModel {
|
|
7
|
-
client;
|
|
8
|
-
constructor(client) {
|
|
9
|
-
this.client = client;
|
|
10
|
-
}
|
|
11
|
-
findMany(args) {
|
|
12
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppLevel', 'appLevels', 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
|
-
}, 'AppLevelFilter', 'AppLevelOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
-
return new query_builder_1.QueryBuilder({
|
|
22
|
-
client: this.client,
|
|
23
|
-
operation: 'query',
|
|
24
|
-
operationName: 'AppLevel',
|
|
25
|
-
fieldName: 'appLevels',
|
|
26
|
-
document,
|
|
27
|
-
variables,
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
findFirst(args) {
|
|
31
|
-
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AppLevel', 'appLevels', args.select, {
|
|
32
|
-
where: args?.where,
|
|
33
|
-
orderBy: args?.orderBy,
|
|
34
|
-
}, 'AppLevelFilter', 'AppLevelOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
-
return new query_builder_1.QueryBuilder({
|
|
36
|
-
client: this.client,
|
|
37
|
-
operation: 'query',
|
|
38
|
-
operationName: 'AppLevel',
|
|
39
|
-
fieldName: 'appLevel',
|
|
40
|
-
document,
|
|
41
|
-
variables,
|
|
42
|
-
transform: (data) => ({
|
|
43
|
-
appLevel: data.appLevels?.nodes?.[0] ?? null,
|
|
44
|
-
}),
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
findOne(args) {
|
|
48
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppLevel', 'appLevels', args.select, {
|
|
49
|
-
where: {
|
|
50
|
-
id: {
|
|
51
|
-
equalTo: args.id,
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
first: 1,
|
|
55
|
-
}, 'AppLevelFilter', 'AppLevelOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
-
return new query_builder_1.QueryBuilder({
|
|
57
|
-
client: this.client,
|
|
58
|
-
operation: 'query',
|
|
59
|
-
operationName: 'AppLevel',
|
|
60
|
-
fieldName: 'appLevel',
|
|
61
|
-
document,
|
|
62
|
-
variables,
|
|
63
|
-
transform: (data) => ({
|
|
64
|
-
appLevel: data.appLevels?.nodes?.[0] ?? null,
|
|
65
|
-
}),
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
create(args) {
|
|
69
|
-
const { document, variables } = (0, query_builder_1.buildCreateDocument)('AppLevel', 'createAppLevel', 'appLevel', args.select, args.data, 'CreateAppLevelInput', input_types_1.connectionFieldsMap);
|
|
70
|
-
return new query_builder_1.QueryBuilder({
|
|
71
|
-
client: this.client,
|
|
72
|
-
operation: 'mutation',
|
|
73
|
-
operationName: 'AppLevel',
|
|
74
|
-
fieldName: 'createAppLevel',
|
|
75
|
-
document,
|
|
76
|
-
variables,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLevel', 'updateAppLevel', 'appLevel', args.select, args.where.id, args.data, 'UpdateAppLevelInput', 'id', 'appLevelPatch', input_types_1.connectionFieldsMap);
|
|
81
|
-
return new query_builder_1.QueryBuilder({
|
|
82
|
-
client: this.client,
|
|
83
|
-
operation: 'mutation',
|
|
84
|
-
operationName: 'AppLevel',
|
|
85
|
-
fieldName: 'updateAppLevel',
|
|
86
|
-
document,
|
|
87
|
-
variables,
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
delete(args) {
|
|
91
|
-
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('AppLevel', 'deleteAppLevel', 'appLevel', {
|
|
92
|
-
id: args.where.id,
|
|
93
|
-
}, 'DeleteAppLevelInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
-
return new query_builder_1.QueryBuilder({
|
|
95
|
-
client: this.client,
|
|
96
|
-
operation: 'mutation',
|
|
97
|
-
operationName: 'AppLevel',
|
|
98
|
-
fieldName: 'deleteAppLevel',
|
|
99
|
-
document,
|
|
100
|
-
variables,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.AppLevelModel = AppLevelModel;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppLevelRequirement 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 { AppLevelRequirementWithRelations, AppLevelRequirementSelect, AppLevelRequirementFilter, AppLevelRequirementOrderBy, CreateAppLevelRequirementInput, AppLevelRequirementPatch } from '../input-types';
|
|
10
|
-
export declare class AppLevelRequirementModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppLevelRequirementSelect>(args: FindManyArgs<S, AppLevelRequirementFilter, AppLevelRequirementOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
16
|
-
appLevelRequirements: ConnectionResult<InferSelectResult<AppLevelRequirementWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppLevelRequirementSelect>(args: FindFirstArgs<S, AppLevelRequirementFilter, AppLevelRequirementOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
21
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppLevelRequirementSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
27
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppLevelRequirementSelect>(args: CreateArgs<S, CreateAppLevelRequirementInput['appLevelRequirement']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
32
|
-
createAppLevelRequirement: {
|
|
33
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppLevelRequirementSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppLevelRequirementPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
41
|
-
updateAppLevelRequirement: {
|
|
42
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppLevelRequirementSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppLevelRequirement: {
|
|
51
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppLevelRequirementModel = void 0;
|
|
4
|
-
const query_builder_1 = require("../query-builder");
|
|
5
|
-
const input_types_1 = require("../input-types");
|
|
6
|
-
class AppLevelRequirementModel {
|
|
7
|
-
client;
|
|
8
|
-
constructor(client) {
|
|
9
|
-
this.client = client;
|
|
10
|
-
}
|
|
11
|
-
findMany(args) {
|
|
12
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppLevelRequirement', 'appLevelRequirements', 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
|
-
}, 'AppLevelRequirementFilter', 'AppLevelRequirementOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
-
return new query_builder_1.QueryBuilder({
|
|
22
|
-
client: this.client,
|
|
23
|
-
operation: 'query',
|
|
24
|
-
operationName: 'AppLevelRequirement',
|
|
25
|
-
fieldName: 'appLevelRequirements',
|
|
26
|
-
document,
|
|
27
|
-
variables,
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
findFirst(args) {
|
|
31
|
-
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AppLevelRequirement', 'appLevelRequirements', args.select, {
|
|
32
|
-
where: args?.where,
|
|
33
|
-
orderBy: args?.orderBy,
|
|
34
|
-
}, 'AppLevelRequirementFilter', 'AppLevelRequirementOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
-
return new query_builder_1.QueryBuilder({
|
|
36
|
-
client: this.client,
|
|
37
|
-
operation: 'query',
|
|
38
|
-
operationName: 'AppLevelRequirement',
|
|
39
|
-
fieldName: 'appLevelRequirement',
|
|
40
|
-
document,
|
|
41
|
-
variables,
|
|
42
|
-
transform: (data) => ({
|
|
43
|
-
appLevelRequirement: data.appLevelRequirements?.nodes?.[0] ?? null,
|
|
44
|
-
}),
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
findOne(args) {
|
|
48
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppLevelRequirement', 'appLevelRequirements', args.select, {
|
|
49
|
-
where: {
|
|
50
|
-
id: {
|
|
51
|
-
equalTo: args.id,
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
first: 1,
|
|
55
|
-
}, 'AppLevelRequirementFilter', 'AppLevelRequirementOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
-
return new query_builder_1.QueryBuilder({
|
|
57
|
-
client: this.client,
|
|
58
|
-
operation: 'query',
|
|
59
|
-
operationName: 'AppLevelRequirement',
|
|
60
|
-
fieldName: 'appLevelRequirement',
|
|
61
|
-
document,
|
|
62
|
-
variables,
|
|
63
|
-
transform: (data) => ({
|
|
64
|
-
appLevelRequirement: data.appLevelRequirements?.nodes?.[0] ?? null,
|
|
65
|
-
}),
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
create(args) {
|
|
69
|
-
const { document, variables } = (0, query_builder_1.buildCreateDocument)('AppLevelRequirement', 'createAppLevelRequirement', 'appLevelRequirement', args.select, args.data, 'CreateAppLevelRequirementInput', input_types_1.connectionFieldsMap);
|
|
70
|
-
return new query_builder_1.QueryBuilder({
|
|
71
|
-
client: this.client,
|
|
72
|
-
operation: 'mutation',
|
|
73
|
-
operationName: 'AppLevelRequirement',
|
|
74
|
-
fieldName: 'createAppLevelRequirement',
|
|
75
|
-
document,
|
|
76
|
-
variables,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLevelRequirement', 'updateAppLevelRequirement', 'appLevelRequirement', args.select, args.where.id, args.data, 'UpdateAppLevelRequirementInput', 'id', 'appLevelRequirementPatch', input_types_1.connectionFieldsMap);
|
|
81
|
-
return new query_builder_1.QueryBuilder({
|
|
82
|
-
client: this.client,
|
|
83
|
-
operation: 'mutation',
|
|
84
|
-
operationName: 'AppLevelRequirement',
|
|
85
|
-
fieldName: 'updateAppLevelRequirement',
|
|
86
|
-
document,
|
|
87
|
-
variables,
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
delete(args) {
|
|
91
|
-
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('AppLevelRequirement', 'deleteAppLevelRequirement', 'appLevelRequirement', {
|
|
92
|
-
id: args.where.id,
|
|
93
|
-
}, 'DeleteAppLevelRequirementInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
-
return new query_builder_1.QueryBuilder({
|
|
95
|
-
client: this.client,
|
|
96
|
-
operation: 'mutation',
|
|
97
|
-
operationName: 'AppLevelRequirement',
|
|
98
|
-
fieldName: 'deleteAppLevelRequirement',
|
|
99
|
-
document,
|
|
100
|
-
variables,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.AppLevelRequirementModel = AppLevelRequirementModel;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppStep 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 { AppStepWithRelations, AppStepSelect, AppStepFilter, AppStepOrderBy, CreateAppStepInput, AppStepPatch } from '../input-types';
|
|
10
|
-
export declare class AppStepModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppStepSelect>(args: FindManyArgs<S, AppStepFilter, AppStepOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
16
|
-
appSteps: ConnectionResult<InferSelectResult<AppStepWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppStepSelect>(args: FindFirstArgs<S, AppStepFilter, AppStepOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
21
|
-
appStep: InferSelectResult<AppStepWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppStepSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
27
|
-
appStep: InferSelectResult<AppStepWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppStepSelect>(args: CreateArgs<S, CreateAppStepInput['appStep']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
32
|
-
createAppStep: {
|
|
33
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppStepSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppStepPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
41
|
-
updateAppStep: {
|
|
42
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppStepSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppStep: {
|
|
51
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppStepModel = void 0;
|
|
4
|
-
const query_builder_1 = require("../query-builder");
|
|
5
|
-
const input_types_1 = require("../input-types");
|
|
6
|
-
class AppStepModel {
|
|
7
|
-
client;
|
|
8
|
-
constructor(client) {
|
|
9
|
-
this.client = client;
|
|
10
|
-
}
|
|
11
|
-
findMany(args) {
|
|
12
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppStep', 'appSteps', 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
|
-
}, 'AppStepFilter', 'AppStepOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
-
return new query_builder_1.QueryBuilder({
|
|
22
|
-
client: this.client,
|
|
23
|
-
operation: 'query',
|
|
24
|
-
operationName: 'AppStep',
|
|
25
|
-
fieldName: 'appSteps',
|
|
26
|
-
document,
|
|
27
|
-
variables,
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
findFirst(args) {
|
|
31
|
-
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AppStep', 'appSteps', args.select, {
|
|
32
|
-
where: args?.where,
|
|
33
|
-
orderBy: args?.orderBy,
|
|
34
|
-
}, 'AppStepFilter', 'AppStepOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
-
return new query_builder_1.QueryBuilder({
|
|
36
|
-
client: this.client,
|
|
37
|
-
operation: 'query',
|
|
38
|
-
operationName: 'AppStep',
|
|
39
|
-
fieldName: 'appStep',
|
|
40
|
-
document,
|
|
41
|
-
variables,
|
|
42
|
-
transform: (data) => ({
|
|
43
|
-
appStep: data.appSteps?.nodes?.[0] ?? null,
|
|
44
|
-
}),
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
findOne(args) {
|
|
48
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppStep', 'appSteps', args.select, {
|
|
49
|
-
where: {
|
|
50
|
-
id: {
|
|
51
|
-
equalTo: args.id,
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
first: 1,
|
|
55
|
-
}, 'AppStepFilter', 'AppStepOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
-
return new query_builder_1.QueryBuilder({
|
|
57
|
-
client: this.client,
|
|
58
|
-
operation: 'query',
|
|
59
|
-
operationName: 'AppStep',
|
|
60
|
-
fieldName: 'appStep',
|
|
61
|
-
document,
|
|
62
|
-
variables,
|
|
63
|
-
transform: (data) => ({
|
|
64
|
-
appStep: data.appSteps?.nodes?.[0] ?? null,
|
|
65
|
-
}),
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
create(args) {
|
|
69
|
-
const { document, variables } = (0, query_builder_1.buildCreateDocument)('AppStep', 'createAppStep', 'appStep', args.select, args.data, 'CreateAppStepInput', input_types_1.connectionFieldsMap);
|
|
70
|
-
return new query_builder_1.QueryBuilder({
|
|
71
|
-
client: this.client,
|
|
72
|
-
operation: 'mutation',
|
|
73
|
-
operationName: 'AppStep',
|
|
74
|
-
fieldName: 'createAppStep',
|
|
75
|
-
document,
|
|
76
|
-
variables,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppStep', 'updateAppStep', 'appStep', args.select, args.where.id, args.data, 'UpdateAppStepInput', 'id', 'appStepPatch', input_types_1.connectionFieldsMap);
|
|
81
|
-
return new query_builder_1.QueryBuilder({
|
|
82
|
-
client: this.client,
|
|
83
|
-
operation: 'mutation',
|
|
84
|
-
operationName: 'AppStep',
|
|
85
|
-
fieldName: 'updateAppStep',
|
|
86
|
-
document,
|
|
87
|
-
variables,
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
delete(args) {
|
|
91
|
-
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('AppStep', 'deleteAppStep', 'appStep', {
|
|
92
|
-
id: args.where.id,
|
|
93
|
-
}, 'DeleteAppStepInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
-
return new query_builder_1.QueryBuilder({
|
|
95
|
-
client: this.client,
|
|
96
|
-
operation: 'mutation',
|
|
97
|
-
operationName: 'AppStep',
|
|
98
|
-
fieldName: 'deleteAppStep',
|
|
99
|
-
document,
|
|
100
|
-
variables,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.AppStepModel = AppStepModel;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LevelsModule 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 { LevelsModuleWithRelations, LevelsModuleSelect, LevelsModuleFilter, LevelsModuleOrderBy, CreateLevelsModuleInput, LevelsModulePatch } from '../input-types';
|
|
10
|
-
export declare class LevelsModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends LevelsModuleSelect>(args: FindManyArgs<S, LevelsModuleFilter, LevelsModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
16
|
-
levelsModules: ConnectionResult<InferSelectResult<LevelsModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends LevelsModuleSelect>(args: FindFirstArgs<S, LevelsModuleFilter, LevelsModuleOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
21
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends LevelsModuleSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
27
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends LevelsModuleSelect>(args: CreateArgs<S, CreateLevelsModuleInput['levelsModule']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
32
|
-
createLevelsModule: {
|
|
33
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends LevelsModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, LevelsModulePatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
41
|
-
updateLevelsModule: {
|
|
42
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends LevelsModuleSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
50
|
-
deleteLevelsModule: {
|
|
51
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SecretsModule 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 { SecretsModuleWithRelations, SecretsModuleSelect, SecretsModuleFilter, SecretsModuleOrderBy, CreateSecretsModuleInput, SecretsModulePatch } from '../input-types';
|
|
10
|
-
export declare class SecretsModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends SecretsModuleSelect>(args: FindManyArgs<S, SecretsModuleFilter, SecretsModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, SecretsModuleSelect>): QueryBuilder<{
|
|
16
|
-
secretsModules: ConnectionResult<InferSelectResult<SecretsModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends SecretsModuleSelect>(args: FindFirstArgs<S, SecretsModuleFilter, SecretsModuleOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, SecretsModuleSelect>): QueryBuilder<{
|
|
21
|
-
secretsModule: InferSelectResult<SecretsModuleWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends SecretsModuleSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, SecretsModuleSelect>): QueryBuilder<{
|
|
27
|
-
secretsModule: InferSelectResult<SecretsModuleWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends SecretsModuleSelect>(args: CreateArgs<S, CreateSecretsModuleInput['secretsModule']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, SecretsModuleSelect>): QueryBuilder<{
|
|
32
|
-
createSecretsModule: {
|
|
33
|
-
secretsModule: InferSelectResult<SecretsModuleWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends SecretsModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, SecretsModulePatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, SecretsModuleSelect>): QueryBuilder<{
|
|
41
|
-
updateSecretsModule: {
|
|
42
|
-
secretsModule: InferSelectResult<SecretsModuleWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends SecretsModuleSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, SecretsModuleSelect>): QueryBuilder<{
|
|
50
|
-
deleteSecretsModule: {
|
|
51
|
-
secretsModule: InferSelectResult<SecretsModuleWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|