@lessly/sdk-app 56.0.0 → 57.0.0
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/dist/_types/gen/client.gen.d.ts +10 -4
- package/dist/_types/gen/deployment/index.d.ts +1 -1
- package/dist/_types/gen/deployment/queryOptions.gen.d.ts +13 -5
- package/dist/_types/gen/types.gen.d.ts +171 -23
- package/dist/deployment/index.cjs +15 -5
- package/dist/deployment/index.cjs.map +1 -1
- package/dist/deployment/index.js +13 -5
- package/dist/deployment/index.js.map +1 -1
- package/dist/index.cjs +95 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +95 -33
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +95 -33
- package/src/gen/client.gen.ts +15 -5
- package/src/gen/deployment/index.ts +1 -1
- package/src/gen/deployment/queryOptions.gen.ts +20 -7
- package/src/gen/types.gen.ts +177 -25
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "57.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -176,5 +176,5 @@
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
|
-
"sdkContentHash": "sha256:
|
|
179
|
+
"sdkContentHash": "sha256:d57a47ead3a9281461679fa95a184e7bb82cecb224f333adf1376d42749ff149"
|
|
180
180
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -2012,39 +2012,6 @@ export const bindings: BindingsMap = {
|
|
|
2012
2012
|
"readOnly": true
|
|
2013
2013
|
}
|
|
2014
2014
|
},
|
|
2015
|
-
"audit": {
|
|
2016
|
-
"list": {
|
|
2017
|
-
"method": "GET",
|
|
2018
|
-
"params": [
|
|
2019
|
-
{
|
|
2020
|
-
"in": "path",
|
|
2021
|
-
"name": "environmentId"
|
|
2022
|
-
},
|
|
2023
|
-
{
|
|
2024
|
-
"in": "query",
|
|
2025
|
-
"name": "entityType"
|
|
2026
|
-
},
|
|
2027
|
-
{
|
|
2028
|
-
"in": "query",
|
|
2029
|
-
"name": "action"
|
|
2030
|
-
},
|
|
2031
|
-
{
|
|
2032
|
-
"in": "query",
|
|
2033
|
-
"name": "actorId"
|
|
2034
|
-
},
|
|
2035
|
-
{
|
|
2036
|
-
"in": "query",
|
|
2037
|
-
"name": "serviceId"
|
|
2038
|
-
},
|
|
2039
|
-
{
|
|
2040
|
-
"in": "query",
|
|
2041
|
-
"name": "limit"
|
|
2042
|
-
}
|
|
2043
|
-
],
|
|
2044
|
-
"path": "/deployment/environments/:environmentId/audit",
|
|
2045
|
-
"readOnly": true
|
|
2046
|
-
}
|
|
2047
|
-
},
|
|
2048
2015
|
"build": {
|
|
2049
2016
|
"get": {
|
|
2050
2017
|
"method": "GET",
|
|
@@ -2740,6 +2707,57 @@ export const bindings: BindingsMap = {
|
|
|
2740
2707
|
"readOnly": true
|
|
2741
2708
|
}
|
|
2742
2709
|
},
|
|
2710
|
+
"job": {
|
|
2711
|
+
"run": {
|
|
2712
|
+
"method": "POST",
|
|
2713
|
+
"params": [
|
|
2714
|
+
{
|
|
2715
|
+
"in": "path",
|
|
2716
|
+
"name": "serviceId"
|
|
2717
|
+
}
|
|
2718
|
+
],
|
|
2719
|
+
"path": "/deployment/services/:serviceId/runs",
|
|
2720
|
+
"readOnly": false
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2723
|
+
"job-run": {
|
|
2724
|
+
"logs": {
|
|
2725
|
+
"method": "GET",
|
|
2726
|
+
"params": [
|
|
2727
|
+
{
|
|
2728
|
+
"in": "path",
|
|
2729
|
+
"name": "serviceId"
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"in": "path",
|
|
2733
|
+
"name": "runId"
|
|
2734
|
+
}
|
|
2735
|
+
],
|
|
2736
|
+
"path": "/deployment/services/:serviceId/runs/:runId/logs",
|
|
2737
|
+
"readOnly": true
|
|
2738
|
+
}
|
|
2739
|
+
},
|
|
2740
|
+
"job-runs": {
|
|
2741
|
+
"list": {
|
|
2742
|
+
"method": "GET",
|
|
2743
|
+
"params": [
|
|
2744
|
+
{
|
|
2745
|
+
"in": "path",
|
|
2746
|
+
"name": "serviceId"
|
|
2747
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"in": "query",
|
|
2750
|
+
"name": "limit"
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
"in": "query",
|
|
2754
|
+
"name": "cursor"
|
|
2755
|
+
}
|
|
2756
|
+
],
|
|
2757
|
+
"path": "/deployment/services/:serviceId/runs",
|
|
2758
|
+
"readOnly": true
|
|
2759
|
+
}
|
|
2760
|
+
},
|
|
2743
2761
|
"managed-service": {
|
|
2744
2762
|
"backup": {
|
|
2745
2763
|
"method": "POST",
|
|
@@ -3067,6 +3085,26 @@ export const bindings: BindingsMap = {
|
|
|
3067
3085
|
{
|
|
3068
3086
|
"in": "body",
|
|
3069
3087
|
"name": "canvas"
|
|
3088
|
+
},
|
|
3089
|
+
{
|
|
3090
|
+
"in": "body",
|
|
3091
|
+
"name": "mode"
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
"in": "body",
|
|
3095
|
+
"name": "schedule"
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
"in": "body",
|
|
3099
|
+
"name": "command"
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"in": "body",
|
|
3103
|
+
"name": "jobTimeoutSec"
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"in": "body",
|
|
3107
|
+
"name": "jobConcurrency"
|
|
3070
3108
|
}
|
|
3071
3109
|
],
|
|
3072
3110
|
"path": "/deployment/environments/:environmentId/services",
|
|
@@ -3242,6 +3280,30 @@ export const bindings: BindingsMap = {
|
|
|
3242
3280
|
"in": "body",
|
|
3243
3281
|
"name": "autoDeploy"
|
|
3244
3282
|
},
|
|
3283
|
+
{
|
|
3284
|
+
"in": "body",
|
|
3285
|
+
"name": "schedule"
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
"in": "body",
|
|
3289
|
+
"name": "scheduleSuspended"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"in": "body",
|
|
3293
|
+
"name": "command"
|
|
3294
|
+
},
|
|
3295
|
+
{
|
|
3296
|
+
"in": "body",
|
|
3297
|
+
"name": "jobTimeoutSec"
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
"in": "body",
|
|
3301
|
+
"name": "jobConcurrency"
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
"in": "body",
|
|
3305
|
+
"name": "mode"
|
|
3306
|
+
},
|
|
3245
3307
|
{
|
|
3246
3308
|
"in": "path",
|
|
3247
3309
|
"name": "id"
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -222,8 +222,6 @@ import type {
|
|
|
222
222
|
DeploymentAlertUpdateOutput,
|
|
223
223
|
DeploymentAnalyticsQueryInput,
|
|
224
224
|
DeploymentAnalyticsQueryOutput,
|
|
225
|
-
DeploymentAuditListInput,
|
|
226
|
-
DeploymentAuditListOutput,
|
|
227
225
|
DeploymentBuildGetInput,
|
|
228
226
|
DeploymentBuildGetOutput,
|
|
229
227
|
DeploymentBuildListInput,
|
|
@@ -314,6 +312,12 @@ import type {
|
|
|
314
312
|
DeploymentEventsListByEnvironmentOutput,
|
|
315
313
|
DeploymentEventsListByServiceInput,
|
|
316
314
|
DeploymentEventsListByServiceOutput,
|
|
315
|
+
DeploymentJobRunInput,
|
|
316
|
+
DeploymentJobRunLogsInput,
|
|
317
|
+
DeploymentJobRunLogsOutput,
|
|
318
|
+
DeploymentJobRunOutput,
|
|
319
|
+
DeploymentJobRunsListInput,
|
|
320
|
+
DeploymentJobRunsListOutput,
|
|
317
321
|
DeploymentManagedServiceBackupInput,
|
|
318
322
|
DeploymentManagedServiceBackupListInput,
|
|
319
323
|
DeploymentManagedServiceBackupListOutput,
|
|
@@ -1285,9 +1289,6 @@ export interface GeneratedClient {
|
|
|
1285
1289
|
analytics: {
|
|
1286
1290
|
query(input: DeploymentAnalyticsQueryInput): Promise<DeploymentAnalyticsQueryOutput>;
|
|
1287
1291
|
};
|
|
1288
|
-
audit: {
|
|
1289
|
-
list(input: DeploymentAuditListInput): Promise<DeploymentAuditListOutput>;
|
|
1290
|
-
};
|
|
1291
1292
|
build: {
|
|
1292
1293
|
get(input: DeploymentBuildGetInput): Promise<DeploymentBuildGetOutput>;
|
|
1293
1294
|
list(input: DeploymentBuildListInput): Promise<DeploymentBuildListOutput>;
|
|
@@ -1365,6 +1366,15 @@ export interface GeneratedClient {
|
|
|
1365
1366
|
environment(input: DeploymentEventsListByEnvironmentInput): Promise<DeploymentEventsListByEnvironmentOutput>;
|
|
1366
1367
|
service(input: DeploymentEventsListByServiceInput): Promise<DeploymentEventsListByServiceOutput>;
|
|
1367
1368
|
};
|
|
1369
|
+
job: {
|
|
1370
|
+
run(input: DeploymentJobRunInput): Promise<DeploymentJobRunOutput>;
|
|
1371
|
+
};
|
|
1372
|
+
'job-run': {
|
|
1373
|
+
logs(input: DeploymentJobRunLogsInput): Promise<DeploymentJobRunLogsOutput>;
|
|
1374
|
+
};
|
|
1375
|
+
'job-runs': {
|
|
1376
|
+
list(input: DeploymentJobRunsListInput): Promise<DeploymentJobRunsListOutput>;
|
|
1377
|
+
};
|
|
1368
1378
|
'managed-service': {
|
|
1369
1379
|
backup(input: DeploymentManagedServiceBackupInput): Promise<DeploymentManagedServiceBackupOutput>;
|
|
1370
1380
|
delete(input: DeploymentManagedServiceDeleteInput): Promise<DeploymentManagedServiceDeleteOutput>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput,
|
|
3
|
+
export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput, DeploymentBuildGetInput, DeploymentBuildGetOutput, DeploymentBuildListInput, DeploymentBuildListOutput, DeploymentBuildLogsInput, DeploymentBuildLogsOutput, DeploymentCanvasGetInput, DeploymentCanvasGetOutput, DeploymentCanvasMoveNodeInput, DeploymentCanvasMoveNodeOutput, DeploymentCloudSqlBackfillLogFlagsInput, DeploymentCloudSqlBackfillLogFlagsOutput, DeploymentCloudSqlDatabaseAttachInput, DeploymentCloudSqlDatabaseAttachOutput, DeploymentCloudSqlDatabaseCreateInput, DeploymentCloudSqlDatabaseCreateOutput, DeploymentCloudSqlDatabaseDeleteInput, DeploymentCloudSqlDatabaseDeleteOutput, DeploymentCloudSqlDatabaseDetachInput, DeploymentCloudSqlDatabaseDetachOutput, DeploymentCloudSqlDatabaseGetInput, DeploymentCloudSqlDatabaseGetOutput, DeploymentCloudSqlDatabaseListInput, DeploymentCloudSqlDatabaseListOutput, DeploymentCloudSqlInstanceBackupInput, DeploymentCloudSqlInstanceBackupListInput, DeploymentCloudSqlInstanceBackupListOutput, DeploymentCloudSqlInstanceBackupOutput, DeploymentCloudSqlInstanceCreateInput, DeploymentCloudSqlInstanceCreateOutput, DeploymentCloudSqlInstanceDeleteInput, DeploymentCloudSqlInstanceDeleteOutput, DeploymentCloudSqlInstanceGetInput, DeploymentCloudSqlInstanceGetOutput, DeploymentCloudSqlInstanceListInput, DeploymentCloudSqlInstanceListOutput, DeploymentCloudSqlInstanceResizeInput, DeploymentCloudSqlInstanceResizeOutput, DeploymentCloudSqlInstanceRestoreInput, DeploymentCloudSqlInstanceRestoreOutput, DeploymentCloudSqlLogsInput, DeploymentCloudSqlLogsOutput, DeploymentDeploymentCancelInput, DeploymentDeploymentCancelOutput, DeploymentDeploymentGetInput, DeploymentDeploymentGetOutput, DeploymentDeploymentListInput, DeploymentDeploymentListOutput, DeploymentDomainAddInput, DeploymentDomainAddOutput, DeploymentDomainAllowedListInput, DeploymentDomainAllowedListOutput, DeploymentDomainGetInput, DeploymentDomainGetOutput, DeploymentDomainListByServiceInput, DeploymentDomainListByServiceOutput, DeploymentDomainListInput, DeploymentDomainListOutput, DeploymentDomainRedirectWwwInput, DeploymentDomainRedirectWwwOutput, DeploymentDomainRemoveInput, DeploymentDomainRemoveOutput, DeploymentDomainRoutesAddInput, DeploymentDomainRoutesAddOutput, DeploymentDomainRoutesListInput, DeploymentDomainRoutesListOutput, DeploymentDomainRoutesRemoveInput, DeploymentDomainRoutesRemoveOutput, DeploymentDomainRoutesUpdateInput, DeploymentDomainRoutesUpdateOutput, DeploymentDomainVerifyInput, DeploymentDomainVerifyOutput, DeploymentEnvironmentCreateInput, DeploymentEnvironmentCreateOutput, DeploymentEnvironmentDeleteInput, DeploymentEnvironmentDeleteOutput, DeploymentEnvironmentForkInput, DeploymentEnvironmentForkOutput, DeploymentEnvironmentGetInput, DeploymentEnvironmentGetOutput, DeploymentEnvironmentListInput, DeploymentEnvironmentListOutput, DeploymentEnvironmentReconcileInput, DeploymentEnvironmentReconcileOutput, DeploymentEnvironmentUpdateInput, DeploymentEnvironmentUpdateOutput, DeploymentEventsListByEnvironmentInput, DeploymentEventsListByEnvironmentOutput, DeploymentEventsListByServiceInput, DeploymentEventsListByServiceOutput, DeploymentJobRunInput, DeploymentJobRunLogsInput, DeploymentJobRunLogsOutput, DeploymentJobRunOutput, DeploymentJobRunsListInput, DeploymentJobRunsListOutput, DeploymentManagedServiceBackupInput, DeploymentManagedServiceBackupListInput, DeploymentManagedServiceBackupListOutput, DeploymentManagedServiceBackupOutput, DeploymentManagedServiceConnectInfoInput, DeploymentManagedServiceConnectInfoOutput, DeploymentManagedServiceDeleteInput, DeploymentManagedServiceDeleteOutput, DeploymentManagedServiceGetInput, DeploymentManagedServiceGetOutput, DeploymentManagedServiceListInput, DeploymentManagedServiceListOutput, DeploymentManagedServiceLogsInput, DeploymentManagedServiceLogsOutput, DeploymentManagedServiceProvisionInput, DeploymentManagedServiceProvisionOutput, DeploymentManagedServiceReconcileInput, DeploymentManagedServiceReconcileOutput, DeploymentManagedServiceResizeInput, DeploymentManagedServiceResizeOutput, DeploymentManagedServiceRestoreInput, DeploymentManagedServiceRestoreOutput, DeploymentManagedServiceStartInput, DeploymentManagedServiceStartOutput, DeploymentManagedServiceStopInput, DeploymentManagedServiceStopOutput, DeploymentManagedServiceTypesInput, DeploymentManagedServiceTypesOutput, DeploymentMetricsGetInput, DeploymentMetricsGetOutput, DeploymentPreviewEnvironmentCreateInput, DeploymentPreviewEnvironmentCreateOutput, DeploymentPreviewEnvironmentDeleteInput, DeploymentPreviewEnvironmentDeleteOutput, DeploymentPreviewEnvironmentListInput, DeploymentPreviewEnvironmentListOutput, DeploymentPreviewPolicyGetInput, DeploymentPreviewPolicyGetOutput, DeploymentPreviewPolicySetInput, DeploymentPreviewPolicySetOutput, DeploymentServiceCreateInput, DeploymentServiceCreateOutput, DeploymentServiceDeleteInput, DeploymentServiceDeleteOutput, DeploymentServiceExecInput, DeploymentServiceExecOutput, DeploymentServiceGetInput, DeploymentServiceGetOutput, DeploymentServiceListInput, DeploymentServiceListOutput, DeploymentServiceLogsInput, DeploymentServiceLogsOutput, DeploymentServiceRedeployInput, DeploymentServiceRedeployOutput, DeploymentServiceRestartInput, DeploymentServiceRestartOutput, DeploymentServiceRollbackInput, DeploymentServiceRollbackOutput, DeploymentServiceScaleInput, DeploymentServiceScaleOutput, DeploymentServiceUpdateInput, DeploymentServiceUpdateOutput, DeploymentServiceWakeInput, DeploymentServiceWakeOutput, DeploymentSshCommandInput, DeploymentSshCommandOutput, DeploymentSshKeyDeleteInput, DeploymentSshKeyDeleteOutput, DeploymentSshKeyListInput, DeploymentSshKeyListOutput, DeploymentSshKeyRegisterInput, DeploymentSshKeyRegisterOutput, DeploymentSuspensionGetInput, DeploymentSuspensionGetOutput, DeploymentVariableListEnvInput, DeploymentVariableListEnvOutput, DeploymentVariableListInput, DeploymentVariableListOutput, DeploymentVariableListProductInput, DeploymentVariableListProductOutput, DeploymentVariableSetEnvInput, DeploymentVariableSetEnvOutput, DeploymentVariableSetInput, DeploymentVariableSetOutput, DeploymentVariableSetProductInput, DeploymentVariableSetProductOutput, DeploymentVariableUnsetEnvInput, DeploymentVariableUnsetEnvOutput, DeploymentVariableUnsetInput, DeploymentVariableUnsetOutput, DeploymentVariableUnsetProductInput, DeploymentVariableUnsetProductOutput, DeploymentVcsBranchListInput, DeploymentVcsBranchListOutput, DeploymentVcsConnectionListInput, DeploymentVcsConnectionListOutput, DeploymentVcsRepoListInput, DeploymentVcsRepoListOutput, DeploymentVolumeCreateInput, DeploymentVolumeCreateOutput, DeploymentVolumeDeleteInput, DeploymentVolumeDeleteOutput, DeploymentVolumeDetachInput, DeploymentVolumeDetachOutput, DeploymentVolumeGetInput, DeploymentVolumeGetOutput, DeploymentVolumeListInput, DeploymentVolumeListOutput, DeploymentVolumeResizeInput, DeploymentVolumeResizeOutput } from '../types.gen';
|
|
@@ -10,8 +10,6 @@ import type {
|
|
|
10
10
|
DeploymentAlertUpdateInput,
|
|
11
11
|
DeploymentAnalyticsQueryInput,
|
|
12
12
|
DeploymentAnalyticsQueryOutput,
|
|
13
|
-
DeploymentAuditListInput,
|
|
14
|
-
DeploymentAuditListOutput,
|
|
15
13
|
DeploymentBuildGetInput,
|
|
16
14
|
DeploymentBuildGetOutput,
|
|
17
15
|
DeploymentBuildListInput,
|
|
@@ -78,6 +76,11 @@ import type {
|
|
|
78
76
|
DeploymentEventsListByEnvironmentOutput,
|
|
79
77
|
DeploymentEventsListByServiceInput,
|
|
80
78
|
DeploymentEventsListByServiceOutput,
|
|
79
|
+
DeploymentJobRunInput,
|
|
80
|
+
DeploymentJobRunLogsInput,
|
|
81
|
+
DeploymentJobRunLogsOutput,
|
|
82
|
+
DeploymentJobRunsListInput,
|
|
83
|
+
DeploymentJobRunsListOutput,
|
|
81
84
|
DeploymentManagedServiceBackupInput,
|
|
82
85
|
DeploymentManagedServiceBackupListInput,
|
|
83
86
|
DeploymentManagedServiceBackupListOutput,
|
|
@@ -188,11 +191,6 @@ export const deploymentAnalyticsQueryQueryOptions = (sdk: GeneratedClient, input
|
|
|
188
191
|
queryFn: () => sdk['deployment']['analytics']['query'](input),
|
|
189
192
|
});
|
|
190
193
|
|
|
191
|
-
export const deploymentAuditListQueryOptions = (sdk: GeneratedClient, input: DeploymentAuditListInput) => ({
|
|
192
|
-
queryKey: ['deployment', 'audit', 'list', input] as const,
|
|
193
|
-
queryFn: () => sdk['deployment']['audit']['list'](input),
|
|
194
|
-
});
|
|
195
|
-
|
|
196
194
|
export const deploymentBuildGetQueryOptions = (sdk: GeneratedClient, input: DeploymentBuildGetInput) => ({
|
|
197
195
|
queryKey: ['deployment', 'build', 'get', input] as const,
|
|
198
196
|
queryFn: () => sdk['deployment']['build']['get'](input),
|
|
@@ -418,6 +416,21 @@ export const deploymentEventsListByServiceQueryOptions = (sdk: GeneratedClient,
|
|
|
418
416
|
queryFn: () => sdk['deployment']['events-list-by']['service'](input),
|
|
419
417
|
});
|
|
420
418
|
|
|
419
|
+
export const deploymentJobRunMutationOptions = (sdk: GeneratedClient) => ({
|
|
420
|
+
mutationKey: ['deployment', 'job', 'run'],
|
|
421
|
+
mutationFn: (input: DeploymentJobRunInput) => sdk['deployment']['job']['run'](input),
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
export const deploymentJobRunLogsQueryOptions = (sdk: GeneratedClient, input: DeploymentJobRunLogsInput) => ({
|
|
425
|
+
queryKey: ['deployment', 'job-run', 'logs', input] as const,
|
|
426
|
+
queryFn: () => sdk['deployment']['job-run']['logs'](input),
|
|
427
|
+
});
|
|
428
|
+
|
|
429
|
+
export const deploymentJobRunsListQueryOptions = (sdk: GeneratedClient, input: DeploymentJobRunsListInput) => ({
|
|
430
|
+
queryKey: ['deployment', 'job-runs', 'list', input] as const,
|
|
431
|
+
queryFn: () => sdk['deployment']['job-runs']['list'](input),
|
|
432
|
+
});
|
|
433
|
+
|
|
421
434
|
export const deploymentManagedServiceBackupMutationOptions = (sdk: GeneratedClient) => ({
|
|
422
435
|
mutationKey: ['deployment', 'managed-service', 'backup'],
|
|
423
436
|
mutationFn: (input: DeploymentManagedServiceBackupInput) => sdk['deployment']['managed-service']['backup'](input),
|