@constructive-io/react 1.19.7 → 1.19.9
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/agent/orm/input-types.d.ts +4 -4
- package/agent/schema-types.d.ts +4 -4
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -0
- package/api/hooks/invalidation.js +16 -0
- package/api/hooks/mutation-keys.d.ts +12 -0
- package/api/hooks/mutation-keys.js +12 -2
- package/api/hooks/mutations/index.d.ts +1 -0
- package/api/hooks/mutations/index.js +1 -0
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +34 -0
- package/api/hooks/queries/index.d.ts +2 -0
- package/api/hooks/queries/index.js +2 -0
- package/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
- package/api/hooks/queries/useListSuspendedDatabasesQuery.js +38 -0
- package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
- package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +53 -0
- package/api/hooks/query-keys.d.ts +14 -0
- package/api/hooks/query-keys.js +10 -2
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +60 -30
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
- package/api/schema-types.d.ts +22 -21
- package/api/types.d.ts +7 -2
- package/auth/hooks/mutation-keys.d.ts +6 -2
- package/auth/hooks/mutation-keys.js +9 -3
- package/auth/hooks/mutations/index.d.ts +3 -1
- package/auth/hooks/mutations/index.js +3 -1
- package/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
- package/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +5 -5
- package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +26 -0
- package/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSendSmsOtpMutation.js +26 -0
- package/auth/orm/index.d.ts +15 -5
- package/auth/orm/input-types.d.ts +44 -14
- package/auth/orm/mutation/index.d.ts +25 -9
- package/auth/orm/mutation/index.js +36 -12
- package/auth/schema-types.d.ts +29 -10
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -0
- package/compute/hooks/invalidation.js +32 -0
- package/compute/hooks/mutation-keys.d.ts +28 -0
- package/compute/hooks/mutation-keys.js +26 -3
- package/compute/hooks/mutations/index.d.ts +8 -0
- package/compute/hooks/mutations/index.js +8 -0
- package/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +34 -0
- package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +39 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +39 -0
- package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +26 -0
- package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +40 -0
- package/compute/hooks/queries/index.d.ts +4 -0
- package/compute/hooks/queries/index.js +4 -0
- package/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
- package/compute/hooks/queries/useFunctionScheduleQuery.js +53 -0
- package/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
- package/compute/hooks/queries/useFunctionSchedulesQuery.js +38 -0
- package/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +53 -0
- package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +38 -0
- package/compute/hooks/query-keys.d.ts +28 -0
- package/compute/hooks/query-keys.js +19 -3
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +553 -4
- package/compute/orm/input-types.js +2 -0
- package/compute/orm/models/functionSchedule.d.ts +54 -0
- package/compute/orm/models/functionSchedule.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/compute/orm/models/platformFunctionSchedule.js +104 -0
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/compute/schema-types.d.ts +319 -1
- package/compute/types.d.ts +29 -0
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/agent/schema-types.d.ts +4 -4
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -0
- package/esm/api/hooks/invalidation.js +17 -1
- package/esm/api/hooks/mutation-keys.d.ts +12 -0
- package/esm/api/hooks/mutation-keys.js +10 -0
- package/esm/api/hooks/mutations/index.d.ts +1 -0
- package/esm/api/hooks/mutations/index.js +1 -0
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +31 -0
- package/esm/api/hooks/queries/index.d.ts +2 -0
- package/esm/api/hooks/queries/index.js +2 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.js +32 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +47 -0
- package/esm/api/hooks/query-keys.d.ts +14 -0
- package/esm/api/hooks/query-keys.js +8 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +60 -30
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
- package/esm/api/schema-types.d.ts +22 -21
- package/esm/api/types.d.ts +7 -2
- package/esm/auth/hooks/mutation-keys.d.ts +6 -2
- package/esm/auth/hooks/mutation-keys.js +9 -3
- package/esm/auth/hooks/mutations/index.d.ts +3 -1
- package/esm/auth/hooks/mutations/index.js +3 -1
- package/esm/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +4 -4
- package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +23 -0
- package/esm/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSendSmsOtpMutation.js +23 -0
- package/esm/auth/orm/index.d.ts +15 -5
- package/esm/auth/orm/input-types.d.ts +44 -14
- package/esm/auth/orm/mutation/index.d.ts +25 -9
- package/esm/auth/orm/mutation/index.js +36 -12
- package/esm/auth/schema-types.d.ts +29 -10
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +12 -0
- package/esm/compute/hooks/invalidation.js +33 -1
- package/esm/compute/hooks/mutation-keys.d.ts +28 -0
- package/esm/compute/hooks/mutation-keys.js +23 -0
- package/esm/compute/hooks/mutations/index.d.ts +8 -0
- package/esm/compute/hooks/mutations/index.js +8 -0
- package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +31 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +36 -0
- package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +23 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -0
- package/esm/compute/hooks/queries/index.js +4 -0
- package/esm/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useFunctionScheduleQuery.js +47 -0
- package/esm/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useFunctionSchedulesQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -0
- package/esm/compute/hooks/query-keys.js +16 -0
- package/esm/compute/orm/index.d.ts +14 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +553 -4
- package/esm/compute/orm/input-types.js +2 -0
- package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/functionSchedule.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/platformFunctionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
- package/esm/compute/orm/mutation/index.d.ts +17 -1
- package/esm/compute/orm/mutation/index.js +24 -0
- package/esm/compute/schema-types.d.ts +319 -1
- package/esm/compute/types.d.ts +29 -0
- package/esm/modules/orm/input-types.d.ts +26 -48
- package/esm/modules/schema-types.d.ts +17 -33
- package/esm/modules/types.d.ts +3 -5
- package/esm/remote/orm/input-types.d.ts +13 -1
- package/esm/remote/schema-types.d.ts +8 -1
- package/esm/remote/types.d.ts +1 -0
- package/modules/orm/input-types.d.ts +26 -48
- package/modules/schema-types.d.ts +17 -33
- package/modules/types.d.ts +3 -5
- package/package.json +5 -5
- package/remote/orm/input-types.d.ts +13 -1
- package/remote/schema-types.d.ts +8 -1
- package/remote/types.d.ts +1 -0
- package/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
- package/esm/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
|
@@ -14,6 +14,7 @@ exports.connectionFieldsMap = {
|
|
|
14
14
|
FunctionDefinition: {
|
|
15
15
|
functionApiBindings: 'FunctionApiBinding',
|
|
16
16
|
functionCapabilityBindingsByFunctionId: 'FunctionCapabilityBinding',
|
|
17
|
+
functionSchedules: 'FunctionSchedule',
|
|
17
18
|
webhookEndpoints: 'WebhookEndpoint',
|
|
18
19
|
},
|
|
19
20
|
FunctionGraph: {
|
|
@@ -39,6 +40,7 @@ exports.connectionFieldsMap = {
|
|
|
39
40
|
PlatformFunctionDefinition: {
|
|
40
41
|
platformFunctionApiBindingsByFunctionDefinitionId: 'PlatformFunctionApiBinding',
|
|
41
42
|
platformFunctionCapabilityBindingsByFunctionId: 'PlatformFunctionCapabilityBinding',
|
|
43
|
+
platformFunctionSchedulesByFunctionDefinitionId: 'PlatformFunctionSchedule',
|
|
42
44
|
platformWebhookEndpointsByFunctionDefinitionId: 'PlatformWebhookEndpoint',
|
|
43
45
|
},
|
|
44
46
|
PlatformImage: {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FunctionSchedule 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 { FunctionScheduleWithRelations, FunctionScheduleSelect, FunctionScheduleFilter, FunctionScheduleOrderBy, CreateFunctionScheduleInput, FunctionSchedulePatch } from '../input-types';
|
|
10
|
+
export declare class FunctionScheduleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends FunctionScheduleSelect>(args: FindManyArgs<S, FunctionScheduleFilter, FunctionScheduleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
|
|
16
|
+
functionSchedules: ConnectionResult<InferSelectResult<FunctionScheduleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends FunctionScheduleSelect>(args: FindFirstArgs<S, FunctionScheduleFilter, FunctionScheduleOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
|
|
21
|
+
functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends FunctionScheduleSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
|
|
27
|
+
functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends FunctionScheduleSelect>(args: CreateArgs<S, CreateFunctionScheduleInput['functionSchedule']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
|
|
32
|
+
createFunctionSchedule: {
|
|
33
|
+
functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends FunctionScheduleSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, FunctionSchedulePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
|
|
41
|
+
updateFunctionSchedule: {
|
|
42
|
+
functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends FunctionScheduleSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, FunctionScheduleSelect>): QueryBuilder<{
|
|
50
|
+
deleteFunctionSchedule: {
|
|
51
|
+
functionSchedule: InferSelectResult<FunctionScheduleWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FunctionScheduleModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class FunctionScheduleModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('FunctionSchedule', 'functionSchedules', 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
|
+
}, 'FunctionScheduleFilter', 'FunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'FunctionSchedule',
|
|
25
|
+
fieldName: 'functionSchedules',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('FunctionSchedule', 'functionSchedules', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'FunctionScheduleFilter', 'FunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'FunctionSchedule',
|
|
39
|
+
fieldName: 'functionSchedule',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
functionSchedule: data.functionSchedules?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('FunctionSchedule', 'functionSchedules', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'FunctionScheduleFilter', 'FunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'FunctionSchedule',
|
|
60
|
+
fieldName: 'functionSchedule',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
functionSchedule: data.functionSchedules?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('FunctionSchedule', 'createFunctionSchedule', 'functionSchedule', args.select, args.data, 'CreateFunctionScheduleInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'FunctionSchedule',
|
|
74
|
+
fieldName: 'createFunctionSchedule',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('FunctionSchedule', 'updateFunctionSchedule', 'functionSchedule', args.select, args.where.id, args.data, 'UpdateFunctionScheduleInput', 'id', 'functionSchedulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'FunctionSchedule',
|
|
85
|
+
fieldName: 'updateFunctionSchedule',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('FunctionSchedule', 'deleteFunctionSchedule', 'functionSchedule', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteFunctionScheduleInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'FunctionSchedule',
|
|
98
|
+
fieldName: 'deleteFunctionSchedule',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.FunctionScheduleModel = FunctionScheduleModel;
|
|
@@ -33,6 +33,7 @@ export { FunctionGraphRefModel } from './functionGraphRef';
|
|
|
33
33
|
export { FunctionGraphStoreModel } from './functionGraphStore';
|
|
34
34
|
export { FunctionInvocationAttemptModel } from './functionInvocationAttempt';
|
|
35
35
|
export { FunctionInvocationModel } from './functionInvocation';
|
|
36
|
+
export { FunctionScheduleModel } from './functionSchedule';
|
|
36
37
|
export { GetAllTreeNodesRecordModel } from './getAllTreeNodesRecord';
|
|
37
38
|
export { ImageModel } from './image';
|
|
38
39
|
export { ImageGrantModel } from './imageGrant';
|
|
@@ -55,6 +56,7 @@ export { PlatformFunctionDeploymentEventModel } from './platformFunctionDeployme
|
|
|
55
56
|
export { PlatformFunctionExecutionLogModel } from './platformFunctionExecutionLog';
|
|
56
57
|
export { PlatformFunctionInvocationAttemptModel } from './platformFunctionInvocationAttempt';
|
|
57
58
|
export { PlatformFunctionInvocationModel } from './platformFunctionInvocation';
|
|
59
|
+
export { PlatformFunctionScheduleModel } from './platformFunctionSchedule';
|
|
58
60
|
export { PlatformImageModel } from './platformImage';
|
|
59
61
|
export { PlatformImageGrantModel } from './platformImageGrant';
|
|
60
62
|
export { PlatformInfraCommitModel } from './platformInfraCommit';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.WebhookEventModel = exports.WebhookEndpointModel = exports.ResourcesResolvedRequirementModel = exports.ResourcesRequirementsStateModel = exports.ResourcesHealthModel = exports.ResourceUtilizationModel = exports.ResourceUsageSummaryModel = exports.ResourceUsageLogModel = exports.ResourceStatusCheckModel = exports.ResourceObservedStorageModel = exports.ResourceInstallationModel = exports.ResourceEventModel = exports.ResourceDefinitionModel = exports.ResourceDeclaredCapacityModel = exports.ResourceModel = exports.RepositoryWorkflowModel = exports.RepositoryRequiredCheckModel = exports.RepositoryEventModel = exports.RepositoryModel = void 0;
|
|
3
|
+
exports.PlatformFunctionDeploymentEventModel = exports.PlatformFunctionDeploymentModel = exports.PlatformFunctionDefinitionModel = exports.PlatformFunctionCapabilityBindingModel = exports.PlatformFunctionApiBindingModel = exports.PlatformBuilderBindingModel = exports.PlatformBuildStepModel = exports.PlatformBuildModel = exports.NamespaceEventModel = exports.NamespaceModel = exports.IntegrationProviderModel = exports.InfraStoreModel = exports.InfraRefModel = exports.InfraObjectModel = exports.InfraGetAllTreeNodesRecordModel = exports.InfraCommitModel = exports.ImageGrantModel = exports.ImageModel = exports.GetAllTreeNodesRecordModel = exports.FunctionScheduleModel = exports.FunctionInvocationModel = exports.FunctionInvocationAttemptModel = exports.FunctionGraphStoreModel = exports.FunctionGraphRefModel = exports.FunctionGraphObjectModel = exports.FunctionGraphExecutionOutputModel = exports.FunctionGraphExecutionNodeStateModel = exports.FunctionGraphExecutionModel = exports.FunctionGraphModel = exports.FunctionGraphCommitModel = exports.FunctionExecutionLogModel = exports.FunctionDeploymentEventModel = exports.FunctionDeploymentModel = exports.FunctionDefinitionModel = exports.FunctionCapabilityBindingModel = exports.FunctionApiBindingModel = exports.DbPresetModel = exports.DatabaseGraphStoreModel = exports.DatabaseGraphRefModel = exports.DatabaseGraphObjectModel = exports.DatabaseGraphGetAllTreeNodesRecordModel = exports.DatabaseGraphCommitModel = exports.DatabaseFunctionGraphExecutionOutputModel = exports.DatabaseFunctionGraphExecutionNodeStateModel = exports.DatabaseFunctionGraphExecutionModel = exports.DatabaseFunctionGraphModel = exports.ContentPresetModel = exports.BuilderBindingModel = exports.BuildStepModel = exports.BuildModel = void 0;
|
|
4
|
+
exports.RegistryBindingModel = exports.ProposalsChunkModel = exports.ProposalReviewModel = exports.ProposalReactionModel = exports.ProposalFileViewModel = exports.ProposalModel = exports.ProposalCommentModel = exports.PlatformWebhookEventModel = exports.PlatformWebhookEndpointModel = exports.PlatformResourcesResolvedRequirementModel = exports.PlatformResourcesRequirementsStateModel = exports.PlatformResourcesHealthModel = exports.PlatformResourceUtilizationModel = exports.PlatformResourceUsageSummaryModel = exports.PlatformResourceUsageLogModel = exports.PlatformResourceStatusCheckModel = exports.PlatformResourceObservedStorageModel = exports.PlatformResourceInstallationModel = exports.PlatformResourceEventModel = exports.PlatformResourceDefinitionModel = exports.PlatformResourceDeclaredCapacityModel = exports.PlatformResourceModel = exports.PlatformRepositoryWorkflowModel = exports.PlatformRepositoryRequiredCheckModel = exports.PlatformRepositoryEventModel = exports.PlatformRepositoryModel = exports.PlatformRegistryGrantModel = exports.PlatformRegistryModel = exports.PlatformRegistryBindingModel = exports.PlatformProposalsChunkModel = exports.PlatformProposalReviewModel = exports.PlatformProposalReactionModel = exports.PlatformProposalFileViewModel = exports.PlatformProposalModel = exports.PlatformProposalCommentModel = exports.PlatformNamespaceEventModel = exports.PlatformNamespaceModel = exports.PlatformK8sSpecRuleModel = exports.PlatformK8sResourceKindModel = exports.PlatformInfraStoreModel = exports.PlatformInfraRefModel = exports.PlatformInfraObjectModel = exports.PlatformInfraGetAllTreeNodesRecordModel = exports.PlatformInfraCommitModel = exports.PlatformImageGrantModel = exports.PlatformImageModel = exports.PlatformFunctionScheduleModel = exports.PlatformFunctionInvocationModel = exports.PlatformFunctionInvocationAttemptModel = exports.PlatformFunctionExecutionLogModel = void 0;
|
|
5
|
+
exports.WebhookEventModel = exports.WebhookEndpointModel = exports.ResourcesResolvedRequirementModel = exports.ResourcesRequirementsStateModel = exports.ResourcesHealthModel = exports.ResourceUtilizationModel = exports.ResourceUsageSummaryModel = exports.ResourceUsageLogModel = exports.ResourceStatusCheckModel = exports.ResourceObservedStorageModel = exports.ResourceInstallationModel = exports.ResourceEventModel = exports.ResourceDefinitionModel = exports.ResourceDeclaredCapacityModel = exports.ResourceModel = exports.RepositoryWorkflowModel = exports.RepositoryRequiredCheckModel = exports.RepositoryEventModel = exports.RepositoryModel = exports.RegistryGrantModel = exports.RegistryModel = void 0;
|
|
6
6
|
/**
|
|
7
7
|
* Models barrel export
|
|
8
8
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -68,6 +68,8 @@ var functionInvocationAttempt_1 = require("./functionInvocationAttempt");
|
|
|
68
68
|
Object.defineProperty(exports, "FunctionInvocationAttemptModel", { enumerable: true, get: function () { return functionInvocationAttempt_1.FunctionInvocationAttemptModel; } });
|
|
69
69
|
var functionInvocation_1 = require("./functionInvocation");
|
|
70
70
|
Object.defineProperty(exports, "FunctionInvocationModel", { enumerable: true, get: function () { return functionInvocation_1.FunctionInvocationModel; } });
|
|
71
|
+
var functionSchedule_1 = require("./functionSchedule");
|
|
72
|
+
Object.defineProperty(exports, "FunctionScheduleModel", { enumerable: true, get: function () { return functionSchedule_1.FunctionScheduleModel; } });
|
|
71
73
|
var getAllTreeNodesRecord_1 = require("./getAllTreeNodesRecord");
|
|
72
74
|
Object.defineProperty(exports, "GetAllTreeNodesRecordModel", { enumerable: true, get: function () { return getAllTreeNodesRecord_1.GetAllTreeNodesRecordModel; } });
|
|
73
75
|
var image_1 = require("./image");
|
|
@@ -112,6 +114,8 @@ var platformFunctionInvocationAttempt_1 = require("./platformFunctionInvocationA
|
|
|
112
114
|
Object.defineProperty(exports, "PlatformFunctionInvocationAttemptModel", { enumerable: true, get: function () { return platformFunctionInvocationAttempt_1.PlatformFunctionInvocationAttemptModel; } });
|
|
113
115
|
var platformFunctionInvocation_1 = require("./platformFunctionInvocation");
|
|
114
116
|
Object.defineProperty(exports, "PlatformFunctionInvocationModel", { enumerable: true, get: function () { return platformFunctionInvocation_1.PlatformFunctionInvocationModel; } });
|
|
117
|
+
var platformFunctionSchedule_1 = require("./platformFunctionSchedule");
|
|
118
|
+
Object.defineProperty(exports, "PlatformFunctionScheduleModel", { enumerable: true, get: function () { return platformFunctionSchedule_1.PlatformFunctionScheduleModel; } });
|
|
115
119
|
var platformImage_1 = require("./platformImage");
|
|
116
120
|
Object.defineProperty(exports, "PlatformImageModel", { enumerable: true, get: function () { return platformImage_1.PlatformImageModel; } });
|
|
117
121
|
var platformImageGrant_1 = require("./platformImageGrant");
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformFunctionSchedule 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 { PlatformFunctionScheduleWithRelations, PlatformFunctionScheduleSelect, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy, CreatePlatformFunctionScheduleInput, PlatformFunctionSchedulePatch } from '../input-types';
|
|
10
|
+
export declare class PlatformFunctionScheduleModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformFunctionScheduleSelect>(args: FindManyArgs<S, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
|
|
16
|
+
platformFunctionSchedules: ConnectionResult<InferSelectResult<PlatformFunctionScheduleWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformFunctionScheduleSelect>(args: FindFirstArgs<S, PlatformFunctionScheduleFilter, PlatformFunctionScheduleOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
|
|
21
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformFunctionScheduleSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
|
|
27
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformFunctionScheduleSelect>(args: CreateArgs<S, CreatePlatformFunctionScheduleInput['platformFunctionSchedule']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformFunctionSchedule: {
|
|
33
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformFunctionScheduleSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformFunctionSchedulePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformFunctionSchedule: {
|
|
42
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformFunctionScheduleSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformFunctionScheduleSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformFunctionSchedule: {
|
|
51
|
+
platformFunctionSchedule: InferSelectResult<PlatformFunctionScheduleWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformFunctionScheduleModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PlatformFunctionScheduleModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformFunctionSchedule', 'platformFunctionSchedules', 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
|
+
}, 'PlatformFunctionScheduleFilter', 'PlatformFunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PlatformFunctionSchedule',
|
|
25
|
+
fieldName: 'platformFunctionSchedules',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformFunctionSchedule', 'platformFunctionSchedules', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PlatformFunctionScheduleFilter', 'PlatformFunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PlatformFunctionSchedule',
|
|
39
|
+
fieldName: 'platformFunctionSchedule',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
platformFunctionSchedule: data.platformFunctionSchedules?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformFunctionSchedule', 'platformFunctionSchedules', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PlatformFunctionScheduleFilter', 'PlatformFunctionScheduleOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PlatformFunctionSchedule',
|
|
60
|
+
fieldName: 'platformFunctionSchedule',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
platformFunctionSchedule: data.platformFunctionSchedules?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformFunctionSchedule', 'createPlatformFunctionSchedule', 'platformFunctionSchedule', args.select, args.data, 'CreatePlatformFunctionScheduleInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PlatformFunctionSchedule',
|
|
74
|
+
fieldName: 'createPlatformFunctionSchedule',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformFunctionSchedule', 'updatePlatformFunctionSchedule', 'platformFunctionSchedule', args.select, args.where.id, args.data, 'UpdatePlatformFunctionScheduleInput', 'id', 'platformFunctionSchedulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PlatformFunctionSchedule',
|
|
85
|
+
fieldName: 'updatePlatformFunctionSchedule',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformFunctionSchedule', 'deletePlatformFunctionSchedule', 'platformFunctionSchedule', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePlatformFunctionScheduleInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlatformFunctionSchedule',
|
|
98
|
+
fieldName: 'deletePlatformFunctionSchedule',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PlatformFunctionScheduleModel = PlatformFunctionScheduleModel;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AddEdgeInput, AddEdgeAndSaveInput, AddNodeInput, AddNodeAndSaveInput, ApproveNodeInput, CopyGraphInput, DatabaseAddEdgeInput, DatabaseAddEdgeAndSaveInput, DatabaseAddNodeInput, DatabaseAddNodeAndSaveInput, DatabaseApproveNodeInput, DatabaseCopyGraphInput, DatabaseCreateFunctionGraphInput, DatabaseGraphInitEmptyRepoInput, DatabaseGraphInsertNodeAtPathInput, DatabaseGraphInsertNodesAtPathsInput, DatabaseGraphSetAndCommitInput, DatabaseGraphSetDataAtPathInput, DatabaseGraphSetManyAndCommitInput, DatabaseImportDefinitionsInput, DatabaseImportGraphJsonInput, DatabaseSaveGraphInput, DatabaseStartExecutionInput, DatabaseValidateFunctionGraphInput, FunctionInvocationsCreateSyncInput, ImportDefinitionsInput, ImportGraphJsonInput, InfraInitEmptyRepoInput, InfraInsertNodeAtPathInput, InfraInsertNodesAtPathsInput, InfraSetAndCommitInput, InfraSetDataAtPathInput, InfraSetManyAndCommitInput, InitEmptyRepoInput, InsertNodeAtPathInput, InsertNodesAtPathsInput, PlatformFunctionInvocationsCreateSyncInput, PlatformInfraInitEmptyRepoInput, PlatformInfraInsertNodeAtPathInput, PlatformInfraInsertNodesAtPathsInput, PlatformInfraSetAndCommitInput, PlatformInfraSetDataAtPathInput, PlatformInfraSetManyAndCommitInput, PlatformResourceInstallationsInstallInput, PlatformResourceInstallationsRollbackInput, PlatformResourceInstallationsUninstallInput, PlatformResourceInstallationsUpgradeInput, ProvisionBucketInput, ResourceInstallationsInstallInput, ResourceInstallationsRollbackInput, ResourceInstallationsUninstallInput, ResourceInstallationsUpgradeInput, SaveGraphInput, SetAndCommitInput, SetDataAtPathInput, SetManyAndCommitInput, StartExecutionInput, ValidateFunctionGraphInput, AddEdgePayload, AddEdgeAndSavePayload, AddNodePayload, AddNodeAndSavePayload, ApproveNodePayload, CopyGraphPayload, DatabaseAddEdgePayload, DatabaseAddEdgeAndSavePayload, DatabaseAddNodePayload, DatabaseAddNodeAndSavePayload, DatabaseApproveNodePayload, DatabaseCopyGraphPayload, DatabaseCreateFunctionGraphPayload, DatabaseGraphInitEmptyRepoPayload, DatabaseGraphInsertNodeAtPathPayload, DatabaseGraphInsertNodesAtPathsPayload, DatabaseGraphSetAndCommitPayload, DatabaseGraphSetDataAtPathPayload, DatabaseGraphSetManyAndCommitPayload, DatabaseImportDefinitionsPayload, DatabaseImportGraphJsonPayload, DatabaseSaveGraphPayload, DatabaseStartExecutionPayload, DatabaseValidateFunctionGraphPayload, FunctionInvocationsCreateSyncPayload, ImportDefinitionsPayload, ImportGraphJsonPayload, InfraInitEmptyRepoPayload, InfraInsertNodeAtPathPayload, InfraInsertNodesAtPathsPayload, InfraSetAndCommitPayload, InfraSetDataAtPathPayload, InfraSetManyAndCommitPayload, InitEmptyRepoPayload, InsertNodeAtPathPayload, InsertNodesAtPathsPayload, PlatformFunctionInvocationsCreateSyncPayload, PlatformInfraInitEmptyRepoPayload, PlatformInfraInsertNodeAtPathPayload, PlatformInfraInsertNodesAtPathsPayload, PlatformInfraSetAndCommitPayload, PlatformInfraSetDataAtPathPayload, PlatformInfraSetManyAndCommitPayload, PlatformResourceInstallationsInstallPayload, PlatformResourceInstallationsRollbackPayload, PlatformResourceInstallationsUninstallPayload, PlatformResourceInstallationsUpgradePayload, ProvisionBucketPayload, ResourceInstallationsInstallPayload, ResourceInstallationsRollbackPayload, ResourceInstallationsUninstallPayload, ResourceInstallationsUpgradePayload, SaveGraphPayload, SetAndCommitPayload, SetDataAtPathPayload, SetManyAndCommitPayload, StartExecutionPayload, ValidateFunctionGraphPayload, AddEdgePayloadSelect, AddEdgeAndSavePayloadSelect, AddNodePayloadSelect, AddNodeAndSavePayloadSelect, ApproveNodePayloadSelect, CopyGraphPayloadSelect, DatabaseAddEdgePayloadSelect, DatabaseAddEdgeAndSavePayloadSelect, DatabaseAddNodePayloadSelect, DatabaseAddNodeAndSavePayloadSelect, DatabaseApproveNodePayloadSelect, DatabaseCopyGraphPayloadSelect, DatabaseCreateFunctionGraphPayloadSelect, DatabaseGraphInitEmptyRepoPayloadSelect, DatabaseGraphInsertNodeAtPathPayloadSelect, DatabaseGraphInsertNodesAtPathsPayloadSelect, DatabaseGraphSetAndCommitPayloadSelect, DatabaseGraphSetDataAtPathPayloadSelect, DatabaseGraphSetManyAndCommitPayloadSelect, DatabaseImportDefinitionsPayloadSelect, DatabaseImportGraphJsonPayloadSelect, DatabaseSaveGraphPayloadSelect, DatabaseStartExecutionPayloadSelect, DatabaseValidateFunctionGraphPayloadSelect, FunctionInvocationsCreateSyncPayloadSelect, ImportDefinitionsPayloadSelect, ImportGraphJsonPayloadSelect, InfraInitEmptyRepoPayloadSelect, InfraInsertNodeAtPathPayloadSelect, InfraInsertNodesAtPathsPayloadSelect, InfraSetAndCommitPayloadSelect, InfraSetDataAtPathPayloadSelect, InfraSetManyAndCommitPayloadSelect, InitEmptyRepoPayloadSelect, InsertNodeAtPathPayloadSelect, InsertNodesAtPathsPayloadSelect, PlatformFunctionInvocationsCreateSyncPayloadSelect, PlatformInfraInitEmptyRepoPayloadSelect, PlatformInfraInsertNodeAtPathPayloadSelect, PlatformInfraInsertNodesAtPathsPayloadSelect, PlatformInfraSetAndCommitPayloadSelect, PlatformInfraSetDataAtPathPayloadSelect, PlatformInfraSetManyAndCommitPayloadSelect, PlatformResourceInstallationsInstallPayloadSelect, PlatformResourceInstallationsRollbackPayloadSelect, PlatformResourceInstallationsUninstallPayloadSelect, PlatformResourceInstallationsUpgradePayloadSelect, ProvisionBucketPayloadSelect, ResourceInstallationsInstallPayloadSelect, ResourceInstallationsRollbackPayloadSelect, ResourceInstallationsUninstallPayloadSelect, ResourceInstallationsUpgradePayloadSelect, SaveGraphPayloadSelect, SetAndCommitPayloadSelect, SetDataAtPathPayloadSelect, SetManyAndCommitPayloadSelect, StartExecutionPayloadSelect, ValidateFunctionGraphPayloadSelect } from '../input-types';
|
|
9
|
+
import type { AddEdgeInput, AddEdgeAndSaveInput, AddNodeInput, AddNodeAndSaveInput, ApproveNodeInput, CopyGraphInput, DatabaseAddEdgeInput, DatabaseAddEdgeAndSaveInput, DatabaseAddNodeInput, DatabaseAddNodeAndSaveInput, DatabaseApproveNodeInput, DatabaseCopyGraphInput, DatabaseCreateFunctionGraphInput, DatabaseGraphInitEmptyRepoInput, DatabaseGraphInsertNodeAtPathInput, DatabaseGraphInsertNodesAtPathsInput, DatabaseGraphSetAndCommitInput, DatabaseGraphSetDataAtPathInput, DatabaseGraphSetManyAndCommitInput, DatabaseImportDefinitionsInput, DatabaseImportGraphJsonInput, DatabaseSaveGraphInput, DatabaseStartExecutionInput, DatabaseValidateFunctionGraphInput, FunctionExecutionLogsAppendInput, FunctionInvocationsCreateSyncInput, ImportDefinitionsInput, ImportGraphJsonInput, InfraInitEmptyRepoInput, InfraInsertNodeAtPathInput, InfraInsertNodesAtPathsInput, InfraSetAndCommitInput, InfraSetDataAtPathInput, InfraSetManyAndCommitInput, InitEmptyRepoInput, InsertNodeAtPathInput, InsertNodesAtPathsInput, PlatformFunctionExecutionLogsAppendInput, PlatformFunctionInvocationsCreateSyncInput, PlatformInfraInitEmptyRepoInput, PlatformInfraInsertNodeAtPathInput, PlatformInfraInsertNodesAtPathsInput, PlatformInfraSetAndCommitInput, PlatformInfraSetDataAtPathInput, PlatformInfraSetManyAndCommitInput, PlatformResourceInstallationsInstallInput, PlatformResourceInstallationsRollbackInput, PlatformResourceInstallationsUninstallInput, PlatformResourceInstallationsUpgradeInput, ProvisionBucketInput, ResourceInstallationsInstallInput, ResourceInstallationsRollbackInput, ResourceInstallationsUninstallInput, ResourceInstallationsUpgradeInput, SaveGraphInput, SetAndCommitInput, SetDataAtPathInput, SetManyAndCommitInput, StartExecutionInput, ValidateFunctionGraphInput, AddEdgePayload, AddEdgeAndSavePayload, AddNodePayload, AddNodeAndSavePayload, ApproveNodePayload, CopyGraphPayload, DatabaseAddEdgePayload, DatabaseAddEdgeAndSavePayload, DatabaseAddNodePayload, DatabaseAddNodeAndSavePayload, DatabaseApproveNodePayload, DatabaseCopyGraphPayload, DatabaseCreateFunctionGraphPayload, DatabaseGraphInitEmptyRepoPayload, DatabaseGraphInsertNodeAtPathPayload, DatabaseGraphInsertNodesAtPathsPayload, DatabaseGraphSetAndCommitPayload, DatabaseGraphSetDataAtPathPayload, DatabaseGraphSetManyAndCommitPayload, DatabaseImportDefinitionsPayload, DatabaseImportGraphJsonPayload, DatabaseSaveGraphPayload, DatabaseStartExecutionPayload, DatabaseValidateFunctionGraphPayload, FunctionExecutionLogsAppendPayload, FunctionInvocationsCreateSyncPayload, ImportDefinitionsPayload, ImportGraphJsonPayload, InfraInitEmptyRepoPayload, InfraInsertNodeAtPathPayload, InfraInsertNodesAtPathsPayload, InfraSetAndCommitPayload, InfraSetDataAtPathPayload, InfraSetManyAndCommitPayload, InitEmptyRepoPayload, InsertNodeAtPathPayload, InsertNodesAtPathsPayload, PlatformFunctionExecutionLogsAppendPayload, PlatformFunctionInvocationsCreateSyncPayload, PlatformInfraInitEmptyRepoPayload, PlatformInfraInsertNodeAtPathPayload, PlatformInfraInsertNodesAtPathsPayload, PlatformInfraSetAndCommitPayload, PlatformInfraSetDataAtPathPayload, PlatformInfraSetManyAndCommitPayload, PlatformResourceInstallationsInstallPayload, PlatformResourceInstallationsRollbackPayload, PlatformResourceInstallationsUninstallPayload, PlatformResourceInstallationsUpgradePayload, ProvisionBucketPayload, ResourceInstallationsInstallPayload, ResourceInstallationsRollbackPayload, ResourceInstallationsUninstallPayload, ResourceInstallationsUpgradePayload, SaveGraphPayload, SetAndCommitPayload, SetDataAtPathPayload, SetManyAndCommitPayload, StartExecutionPayload, ValidateFunctionGraphPayload, AddEdgePayloadSelect, AddEdgeAndSavePayloadSelect, AddNodePayloadSelect, AddNodeAndSavePayloadSelect, ApproveNodePayloadSelect, CopyGraphPayloadSelect, DatabaseAddEdgePayloadSelect, DatabaseAddEdgeAndSavePayloadSelect, DatabaseAddNodePayloadSelect, DatabaseAddNodeAndSavePayloadSelect, DatabaseApproveNodePayloadSelect, DatabaseCopyGraphPayloadSelect, DatabaseCreateFunctionGraphPayloadSelect, DatabaseGraphInitEmptyRepoPayloadSelect, DatabaseGraphInsertNodeAtPathPayloadSelect, DatabaseGraphInsertNodesAtPathsPayloadSelect, DatabaseGraphSetAndCommitPayloadSelect, DatabaseGraphSetDataAtPathPayloadSelect, DatabaseGraphSetManyAndCommitPayloadSelect, DatabaseImportDefinitionsPayloadSelect, DatabaseImportGraphJsonPayloadSelect, DatabaseSaveGraphPayloadSelect, DatabaseStartExecutionPayloadSelect, DatabaseValidateFunctionGraphPayloadSelect, FunctionExecutionLogsAppendPayloadSelect, FunctionInvocationsCreateSyncPayloadSelect, ImportDefinitionsPayloadSelect, ImportGraphJsonPayloadSelect, InfraInitEmptyRepoPayloadSelect, InfraInsertNodeAtPathPayloadSelect, InfraInsertNodesAtPathsPayloadSelect, InfraSetAndCommitPayloadSelect, InfraSetDataAtPathPayloadSelect, InfraSetManyAndCommitPayloadSelect, InitEmptyRepoPayloadSelect, InsertNodeAtPathPayloadSelect, InsertNodesAtPathsPayloadSelect, PlatformFunctionExecutionLogsAppendPayloadSelect, PlatformFunctionInvocationsCreateSyncPayloadSelect, PlatformInfraInitEmptyRepoPayloadSelect, PlatformInfraInsertNodeAtPathPayloadSelect, PlatformInfraInsertNodesAtPathsPayloadSelect, PlatformInfraSetAndCommitPayloadSelect, PlatformInfraSetDataAtPathPayloadSelect, PlatformInfraSetManyAndCommitPayloadSelect, PlatformResourceInstallationsInstallPayloadSelect, PlatformResourceInstallationsRollbackPayloadSelect, PlatformResourceInstallationsUninstallPayloadSelect, PlatformResourceInstallationsUpgradePayloadSelect, ProvisionBucketPayloadSelect, ResourceInstallationsInstallPayloadSelect, ResourceInstallationsRollbackPayloadSelect, ResourceInstallationsUninstallPayloadSelect, ResourceInstallationsUpgradePayloadSelect, SaveGraphPayloadSelect, SetAndCommitPayloadSelect, SetDataAtPathPayloadSelect, SetManyAndCommitPayloadSelect, StartExecutionPayloadSelect, ValidateFunctionGraphPayloadSelect } from '../input-types';
|
|
10
10
|
export interface AddEdgeVariables {
|
|
11
11
|
input: AddEdgeInput;
|
|
12
12
|
}
|
|
@@ -79,6 +79,9 @@ export interface DatabaseStartExecutionVariables {
|
|
|
79
79
|
export interface DatabaseValidateFunctionGraphVariables {
|
|
80
80
|
input: DatabaseValidateFunctionGraphInput;
|
|
81
81
|
}
|
|
82
|
+
export interface FunctionExecutionLogsAppendVariables {
|
|
83
|
+
input: FunctionExecutionLogsAppendInput;
|
|
84
|
+
}
|
|
82
85
|
export interface FunctionInvocationsCreateSyncVariables {
|
|
83
86
|
input: FunctionInvocationsCreateSyncInput;
|
|
84
87
|
}
|
|
@@ -115,6 +118,9 @@ export interface InsertNodeAtPathVariables {
|
|
|
115
118
|
export interface InsertNodesAtPathsVariables {
|
|
116
119
|
input: InsertNodesAtPathsInput;
|
|
117
120
|
}
|
|
121
|
+
export interface PlatformFunctionExecutionLogsAppendVariables {
|
|
122
|
+
input: PlatformFunctionExecutionLogsAppendInput;
|
|
123
|
+
}
|
|
118
124
|
export interface PlatformFunctionInvocationsCreateSyncVariables {
|
|
119
125
|
input: PlatformFunctionInvocationsCreateSyncInput;
|
|
120
126
|
}
|
|
@@ -310,6 +316,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
310
316
|
} & StrictSelect<S, DatabaseValidateFunctionGraphPayloadSelect>) => QueryBuilder<{
|
|
311
317
|
databaseValidateFunctionGraph: InferSelectResult<DatabaseValidateFunctionGraphPayload, S> | null;
|
|
312
318
|
}>;
|
|
319
|
+
functionExecutionLogsAppend: <S extends FunctionExecutionLogsAppendPayloadSelect>(args: FunctionExecutionLogsAppendVariables, options: {
|
|
320
|
+
select: S;
|
|
321
|
+
} & StrictSelect<S, FunctionExecutionLogsAppendPayloadSelect>) => QueryBuilder<{
|
|
322
|
+
functionExecutionLogsAppend: InferSelectResult<FunctionExecutionLogsAppendPayload, S> | null;
|
|
323
|
+
}>;
|
|
313
324
|
functionInvocationsCreateSync: <S extends FunctionInvocationsCreateSyncPayloadSelect>(args: FunctionInvocationsCreateSyncVariables, options: {
|
|
314
325
|
select: S;
|
|
315
326
|
} & StrictSelect<S, FunctionInvocationsCreateSyncPayloadSelect>) => QueryBuilder<{
|
|
@@ -370,6 +381,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
370
381
|
} & StrictSelect<S, InsertNodesAtPathsPayloadSelect>) => QueryBuilder<{
|
|
371
382
|
insertNodesAtPaths: InferSelectResult<InsertNodesAtPathsPayload, S> | null;
|
|
372
383
|
}>;
|
|
384
|
+
platformFunctionExecutionLogsAppend: <S extends PlatformFunctionExecutionLogsAppendPayloadSelect>(args: PlatformFunctionExecutionLogsAppendVariables, options: {
|
|
385
|
+
select: S;
|
|
386
|
+
} & StrictSelect<S, PlatformFunctionExecutionLogsAppendPayloadSelect>) => QueryBuilder<{
|
|
387
|
+
platformFunctionExecutionLogsAppend: InferSelectResult<PlatformFunctionExecutionLogsAppendPayload, S> | null;
|
|
388
|
+
}>;
|
|
373
389
|
platformFunctionInvocationsCreateSync: <S extends PlatformFunctionInvocationsCreateSyncPayloadSelect>(args: PlatformFunctionInvocationsCreateSyncVariables, options: {
|
|
374
390
|
select: S;
|
|
375
391
|
} & StrictSelect<S, PlatformFunctionInvocationsCreateSyncPayloadSelect>) => QueryBuilder<{
|
|
@@ -293,6 +293,18 @@ function createMutationOperations(client) {
|
|
|
293
293
|
},
|
|
294
294
|
], input_types_1.connectionFieldsMap, 'DatabaseValidateFunctionGraphPayload'),
|
|
295
295
|
}),
|
|
296
|
+
functionExecutionLogsAppend: (args, options) => new query_builder_1.QueryBuilder({
|
|
297
|
+
client,
|
|
298
|
+
operation: 'mutation',
|
|
299
|
+
operationName: 'FunctionExecutionLogsAppend',
|
|
300
|
+
fieldName: 'functionExecutionLogsAppend',
|
|
301
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'FunctionExecutionLogsAppend', 'functionExecutionLogsAppend', options.select, args, [
|
|
302
|
+
{
|
|
303
|
+
name: 'input',
|
|
304
|
+
type: 'FunctionExecutionLogsAppendInput!',
|
|
305
|
+
},
|
|
306
|
+
], input_types_1.connectionFieldsMap, 'FunctionExecutionLogsAppendPayload'),
|
|
307
|
+
}),
|
|
296
308
|
functionInvocationsCreateSync: (args, options) => new query_builder_1.QueryBuilder({
|
|
297
309
|
client,
|
|
298
310
|
operation: 'mutation',
|
|
@@ -437,6 +449,18 @@ function createMutationOperations(client) {
|
|
|
437
449
|
},
|
|
438
450
|
], input_types_1.connectionFieldsMap, 'InsertNodesAtPathsPayload'),
|
|
439
451
|
}),
|
|
452
|
+
platformFunctionExecutionLogsAppend: (args, options) => new query_builder_1.QueryBuilder({
|
|
453
|
+
client,
|
|
454
|
+
operation: 'mutation',
|
|
455
|
+
operationName: 'PlatformFunctionExecutionLogsAppend',
|
|
456
|
+
fieldName: 'platformFunctionExecutionLogsAppend',
|
|
457
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'PlatformFunctionExecutionLogsAppend', 'platformFunctionExecutionLogsAppend', options.select, args, [
|
|
458
|
+
{
|
|
459
|
+
name: 'input',
|
|
460
|
+
type: 'PlatformFunctionExecutionLogsAppendInput!',
|
|
461
|
+
},
|
|
462
|
+
], input_types_1.connectionFieldsMap, 'PlatformFunctionExecutionLogsAppendPayload'),
|
|
463
|
+
}),
|
|
440
464
|
platformFunctionInvocationsCreateSync: (args, options) => new query_builder_1.QueryBuilder({
|
|
441
465
|
client,
|
|
442
466
|
operation: 'mutation',
|