windmill-cli 1.724.0 → 1.725.1
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/esm/main.js +361 -62
- package/package.json +1 -1
package/esm/main.js
CHANGED
|
@@ -16772,7 +16772,7 @@ var init_OpenAPI = __esm(() => {
|
|
|
16772
16772
|
PASSWORD: undefined,
|
|
16773
16773
|
TOKEN: getEnv3("WM_TOKEN"),
|
|
16774
16774
|
USERNAME: undefined,
|
|
16775
|
-
VERSION: "1.
|
|
16775
|
+
VERSION: "1.725.1",
|
|
16776
16776
|
WITH_CREDENTIALS: true,
|
|
16777
16777
|
interceptors: {
|
|
16778
16778
|
request: new Interceptors,
|
|
@@ -17081,6 +17081,7 @@ __export(exports_services_gen, {
|
|
|
17081
17081
|
updateFlowHistory: () => updateFlowHistory,
|
|
17082
17082
|
updateFlow: () => updateFlow,
|
|
17083
17083
|
updateEmailTrigger: () => updateEmailTrigger,
|
|
17084
|
+
updateDraft: () => updateDraft,
|
|
17084
17085
|
updateConfig: () => updateConfig,
|
|
17085
17086
|
updateAzureTrigger: () => updateAzureTrigger,
|
|
17086
17087
|
updateAppRaw: () => updateAppRaw,
|
|
@@ -17323,6 +17324,7 @@ __export(exports_services_gen, {
|
|
|
17323
17324
|
listExtJwtTokens: () => listExtJwtTokens,
|
|
17324
17325
|
listEmailTriggers: () => listEmailTriggers,
|
|
17325
17326
|
listDucklakes: () => listDucklakes,
|
|
17327
|
+
listDrafts: () => listDrafts,
|
|
17326
17328
|
listDeploymentRequestEligibleDeployers: () => listDeploymentRequestEligibleDeployers,
|
|
17327
17329
|
listDedicatedWithDeps: () => listDedicatedWithDeps,
|
|
17328
17330
|
listDataTables: () => listDataTables,
|
|
@@ -17412,7 +17414,6 @@ __export(exports_services_gen, {
|
|
|
17412
17414
|
getScriptLatestVersion: () => getScriptLatestVersion,
|
|
17413
17415
|
getScriptHistoryByPath: () => getScriptHistoryByPath,
|
|
17414
17416
|
getScriptDeploymentStatus: () => getScriptDeploymentStatus,
|
|
17415
|
-
getScriptByPathWithDraft: () => getScriptByPathWithDraft,
|
|
17416
17417
|
getScriptByPath: () => getScriptByPath,
|
|
17417
17418
|
getScriptByHash: () => getScriptByHash,
|
|
17418
17419
|
getScheduledFor: () => getScheduledFor,
|
|
@@ -17508,10 +17509,10 @@ __export(exports_services_gen, {
|
|
|
17508
17509
|
getFlowHistory: () => getFlowHistory,
|
|
17509
17510
|
getFlowDeploymentStatus: () => getFlowDeploymentStatus,
|
|
17510
17511
|
getFlowDebugInfo: () => getFlowDebugInfo,
|
|
17511
|
-
getFlowByPathWithDraft: () => getFlowByPathWithDraft,
|
|
17512
17512
|
getFlowByPath: () => getFlowByPath,
|
|
17513
17513
|
getFlowAllLogs: () => getFlowAllLogs,
|
|
17514
17514
|
getEmailTrigger: () => getEmailTrigger,
|
|
17515
|
+
getDraftForUser: () => getDraftForUser,
|
|
17515
17516
|
getDeployTo: () => getDeployTo,
|
|
17516
17517
|
getDependentsAmounts: () => getDependentsAmounts,
|
|
17517
17518
|
getDependents: () => getDependents,
|
|
@@ -17550,7 +17551,6 @@ __export(exports_services_gen, {
|
|
|
17550
17551
|
getAppLatestVersion: () => getAppLatestVersion,
|
|
17551
17552
|
getAppHistoryByPath: () => getAppHistoryByPath,
|
|
17552
17553
|
getAppByVersion: () => getAppByVersion,
|
|
17553
|
-
getAppByPathWithDraft: () => getAppByPathWithDraft,
|
|
17554
17554
|
getAppByPath: () => getAppByPath,
|
|
17555
17555
|
generateOpenapiSpec: () => generateOpenapiSpec,
|
|
17556
17556
|
generateNativeTriggerServiceConnectUrl: () => generateNativeTriggerServiceConnectUrl,
|
|
@@ -17664,7 +17664,6 @@ __export(exports_services_gen, {
|
|
|
17664
17664
|
deleteFlowConversation: () => deleteFlowConversation,
|
|
17665
17665
|
deleteFlowByPath: () => deleteFlowByPath,
|
|
17666
17666
|
deleteEmailTrigger: () => deleteEmailTrigger,
|
|
17667
|
-
deleteDraft: () => deleteDraft,
|
|
17668
17667
|
deleteConfig: () => deleteConfig,
|
|
17669
17668
|
deleteConcurrencyGroup: () => deleteConcurrencyGroup,
|
|
17670
17669
|
deleteCompletedJob: () => deleteCompletedJob,
|
|
@@ -17712,7 +17711,6 @@ __export(exports_services_gen, {
|
|
|
17712
17711
|
createFolder: () => createFolder,
|
|
17713
17712
|
createFlow: () => createFlow,
|
|
17714
17713
|
createEmailTrigger: () => createEmailTrigger,
|
|
17715
|
-
createDraft: () => createDraft,
|
|
17716
17714
|
createDeploymentRequestComment: () => createDeploymentRequestComment,
|
|
17717
17715
|
createDeploymentRequest: () => createDeploymentRequest,
|
|
17718
17716
|
createCustomerPortalSession: () => createCustomerPortalSession,
|
|
@@ -19506,7 +19504,8 @@ var backendVersion = () => {
|
|
|
19506
19504
|
},
|
|
19507
19505
|
query: {
|
|
19508
19506
|
decrypt_secret: data3.decryptSecret,
|
|
19509
|
-
include_encrypted: data3.includeEncrypted
|
|
19507
|
+
include_encrypted: data3.includeEncrypted,
|
|
19508
|
+
get_draft: data3.getDraft
|
|
19510
19509
|
}
|
|
19511
19510
|
});
|
|
19512
19511
|
}, getVariableValue = (data3) => {
|
|
@@ -19545,7 +19544,8 @@ var backendVersion = () => {
|
|
|
19545
19544
|
broad_filter: data3.broadFilter,
|
|
19546
19545
|
page: data3.page,
|
|
19547
19546
|
per_page: data3.perPage,
|
|
19548
|
-
label: data3.label
|
|
19547
|
+
label: data3.label,
|
|
19548
|
+
include_draft_only: data3.includeDraftOnly
|
|
19549
19549
|
}
|
|
19550
19550
|
});
|
|
19551
19551
|
}, listContextualVariables = (data3) => {
|
|
@@ -19960,6 +19960,9 @@ var backendVersion = () => {
|
|
|
19960
19960
|
path: {
|
|
19961
19961
|
workspace: data3.workspace,
|
|
19962
19962
|
path: data3.path
|
|
19963
|
+
},
|
|
19964
|
+
query: {
|
|
19965
|
+
get_draft: data3.getDraft
|
|
19963
19966
|
}
|
|
19964
19967
|
});
|
|
19965
19968
|
}, getResourceValueInterpolated = (data3) => {
|
|
@@ -20022,7 +20025,8 @@ var backendVersion = () => {
|
|
|
20022
20025
|
description: data3.description,
|
|
20023
20026
|
value: data3.value,
|
|
20024
20027
|
broad_filter: data3.broadFilter,
|
|
20025
|
-
label: data3.label
|
|
20028
|
+
label: data3.label,
|
|
20029
|
+
include_draft_only: data3.includeDraftOnly
|
|
20026
20030
|
}
|
|
20027
20031
|
});
|
|
20028
20032
|
}, listSearchResource = (data3) => {
|
|
@@ -20318,26 +20322,42 @@ var backendVersion = () => {
|
|
|
20318
20322
|
workspace: data3.workspace
|
|
20319
20323
|
}
|
|
20320
20324
|
});
|
|
20321
|
-
},
|
|
20325
|
+
}, listDrafts = (data3) => {
|
|
20322
20326
|
return request(OpenAPI, {
|
|
20323
|
-
method: "
|
|
20324
|
-
url: "/w/{workspace}/drafts/
|
|
20327
|
+
method: "GET",
|
|
20328
|
+
url: "/w/{workspace}/drafts/list",
|
|
20325
20329
|
path: {
|
|
20326
20330
|
workspace: data3.workspace
|
|
20327
|
-
}
|
|
20328
|
-
body: data3.requestBody,
|
|
20329
|
-
mediaType: "application/json"
|
|
20331
|
+
}
|
|
20330
20332
|
});
|
|
20331
|
-
},
|
|
20333
|
+
}, getDraftForUser = (data3) => {
|
|
20332
20334
|
return request(OpenAPI, {
|
|
20333
|
-
method: "
|
|
20334
|
-
url: "/w/{workspace}/drafts/
|
|
20335
|
+
method: "GET",
|
|
20336
|
+
url: "/w/{workspace}/drafts/get/{kind}/{path}",
|
|
20335
20337
|
path: {
|
|
20336
20338
|
workspace: data3.workspace,
|
|
20337
20339
|
kind: data3.kind,
|
|
20338
20340
|
path: data3.path
|
|
20341
|
+
},
|
|
20342
|
+
query: {
|
|
20343
|
+
username: data3.username
|
|
20344
|
+
},
|
|
20345
|
+
errors: {
|
|
20346
|
+
404: "no draft for that owner at that path"
|
|
20339
20347
|
}
|
|
20340
20348
|
});
|
|
20349
|
+
}, updateDraft = (data3) => {
|
|
20350
|
+
return request(OpenAPI, {
|
|
20351
|
+
method: "POST",
|
|
20352
|
+
url: "/w/{workspace}/drafts/update/{kind}/{path}",
|
|
20353
|
+
path: {
|
|
20354
|
+
workspace: data3.workspace,
|
|
20355
|
+
kind: data3.kind,
|
|
20356
|
+
path: data3.path
|
|
20357
|
+
},
|
|
20358
|
+
body: data3.requestBody,
|
|
20359
|
+
mediaType: "application/json"
|
|
20360
|
+
});
|
|
20341
20361
|
}, createScript = (data3) => {
|
|
20342
20362
|
return request(OpenAPI, {
|
|
20343
20363
|
method: "POST",
|
|
@@ -20497,7 +20517,8 @@ var backendVersion = () => {
|
|
|
20497
20517
|
path: data3.path
|
|
20498
20518
|
},
|
|
20499
20519
|
query: {
|
|
20500
|
-
with_starred_info: data3.withStarredInfo
|
|
20520
|
+
with_starred_info: data3.withStarredInfo,
|
|
20521
|
+
get_draft: data3.getDraft
|
|
20501
20522
|
}
|
|
20502
20523
|
});
|
|
20503
20524
|
}, getTriggersCountOfScript = (data3) => {
|
|
@@ -20518,15 +20539,6 @@ var backendVersion = () => {
|
|
|
20518
20539
|
path: data3.path
|
|
20519
20540
|
}
|
|
20520
20541
|
});
|
|
20521
|
-
}, getScriptByPathWithDraft = (data3) => {
|
|
20522
|
-
return request(OpenAPI, {
|
|
20523
|
-
method: "GET",
|
|
20524
|
-
url: "/w/{workspace}/scripts/get/draft/{path}",
|
|
20525
|
-
path: {
|
|
20526
|
-
workspace: data3.workspace,
|
|
20527
|
-
path: data3.path
|
|
20528
|
-
}
|
|
20529
|
-
});
|
|
20530
20542
|
}, getScriptHistoryByPath = (data3) => {
|
|
20531
20543
|
return request(OpenAPI, {
|
|
20532
20544
|
method: "GET",
|
|
@@ -21070,7 +21082,8 @@ var backendVersion = () => {
|
|
|
21070
21082
|
path: data3.path
|
|
21071
21083
|
},
|
|
21072
21084
|
query: {
|
|
21073
|
-
with_starred_info: data3.withStarredInfo
|
|
21085
|
+
with_starred_info: data3.withStarredInfo,
|
|
21086
|
+
get_draft: data3.getDraft
|
|
21074
21087
|
}
|
|
21075
21088
|
});
|
|
21076
21089
|
}, getFlowDeploymentStatus = (data3) => {
|
|
@@ -21111,15 +21124,6 @@ var backendVersion = () => {
|
|
|
21111
21124
|
body: data3.requestBody,
|
|
21112
21125
|
mediaType: "application/json"
|
|
21113
21126
|
});
|
|
21114
|
-
}, getFlowByPathWithDraft = (data3) => {
|
|
21115
|
-
return request(OpenAPI, {
|
|
21116
|
-
method: "GET",
|
|
21117
|
-
url: "/w/{workspace}/flows/get/draft/{path}",
|
|
21118
|
-
path: {
|
|
21119
|
-
workspace: data3.workspace,
|
|
21120
|
-
path: data3.path
|
|
21121
|
-
}
|
|
21122
|
-
});
|
|
21123
21127
|
}, existsFlowByPath = (data3) => {
|
|
21124
21128
|
return request(OpenAPI, {
|
|
21125
21129
|
method: "GET",
|
|
@@ -21235,7 +21239,8 @@ var backendVersion = () => {
|
|
|
21235
21239
|
path_start: data3.pathStart,
|
|
21236
21240
|
path_exact: data3.pathExact,
|
|
21237
21241
|
starred_only: data3.starredOnly,
|
|
21238
|
-
label: data3.label
|
|
21242
|
+
label: data3.label,
|
|
21243
|
+
include_draft_only: data3.includeDraftOnly
|
|
21239
21244
|
}
|
|
21240
21245
|
});
|
|
21241
21246
|
}, getSharedUi = (data3) => {
|
|
@@ -21347,7 +21352,9 @@ var backendVersion = () => {
|
|
|
21347
21352
|
path: data3.path
|
|
21348
21353
|
},
|
|
21349
21354
|
query: {
|
|
21350
|
-
with_starred_info: data3.withStarredInfo
|
|
21355
|
+
with_starred_info: data3.withStarredInfo,
|
|
21356
|
+
get_draft: data3.getDraft,
|
|
21357
|
+
raw_app: data3.rawApp
|
|
21351
21358
|
}
|
|
21352
21359
|
});
|
|
21353
21360
|
}, getAppLiteByPath = (data3) => {
|
|
@@ -21359,15 +21366,6 @@ var backendVersion = () => {
|
|
|
21359
21366
|
path: data3.path
|
|
21360
21367
|
}
|
|
21361
21368
|
});
|
|
21362
|
-
}, getAppByPathWithDraft = (data3) => {
|
|
21363
|
-
return request(OpenAPI, {
|
|
21364
|
-
method: "GET",
|
|
21365
|
-
url: "/w/{workspace}/apps/get/draft/{path}",
|
|
21366
|
-
path: {
|
|
21367
|
-
workspace: data3.workspace,
|
|
21368
|
-
path: data3.path
|
|
21369
|
-
}
|
|
21370
|
-
});
|
|
21371
21369
|
}, getAppHistoryByPath = (data3) => {
|
|
21372
21370
|
return request(OpenAPI, {
|
|
21373
21371
|
method: "GET",
|
|
@@ -22598,6 +22596,9 @@ var backendVersion = () => {
|
|
|
22598
22596
|
path: {
|
|
22599
22597
|
workspace: data3.workspace,
|
|
22600
22598
|
path: data3.path
|
|
22599
|
+
},
|
|
22600
|
+
query: {
|
|
22601
|
+
get_draft: data3.getDraft
|
|
22601
22602
|
}
|
|
22602
22603
|
});
|
|
22603
22604
|
}, existsSchedule = (data3) => {
|
|
@@ -22627,7 +22628,8 @@ var backendVersion = () => {
|
|
|
22627
22628
|
description: data3.description,
|
|
22628
22629
|
summary: data3.summary,
|
|
22629
22630
|
broad_filter: data3.broadFilter,
|
|
22630
|
-
label: data3.label
|
|
22631
|
+
label: data3.label,
|
|
22632
|
+
include_draft_only: data3.includeDraftOnly
|
|
22631
22633
|
}
|
|
22632
22634
|
});
|
|
22633
22635
|
}, listSchedulesWithJobs = (data3) => {
|
|
@@ -22719,6 +22721,9 @@ var backendVersion = () => {
|
|
|
22719
22721
|
path: {
|
|
22720
22722
|
workspace: data3.workspace,
|
|
22721
22723
|
path: data3.path
|
|
22724
|
+
},
|
|
22725
|
+
query: {
|
|
22726
|
+
get_draft: data3.getDraft
|
|
22722
22727
|
}
|
|
22723
22728
|
});
|
|
22724
22729
|
}, listHttpTriggers = (data3) => {
|
|
@@ -22734,7 +22739,8 @@ var backendVersion = () => {
|
|
|
22734
22739
|
path: data3.path,
|
|
22735
22740
|
is_flow: data3.isFlow,
|
|
22736
22741
|
path_start: data3.pathStart,
|
|
22737
|
-
label: data3.label
|
|
22742
|
+
label: data3.label,
|
|
22743
|
+
include_draft_only: data3.includeDraftOnly
|
|
22738
22744
|
}
|
|
22739
22745
|
});
|
|
22740
22746
|
}, existsHttpTrigger = (data3) => {
|
|
@@ -22804,6 +22810,9 @@ var backendVersion = () => {
|
|
|
22804
22810
|
path: {
|
|
22805
22811
|
workspace: data3.workspace,
|
|
22806
22812
|
path: data3.path
|
|
22813
|
+
},
|
|
22814
|
+
query: {
|
|
22815
|
+
get_draft: data3.getDraft
|
|
22807
22816
|
}
|
|
22808
22817
|
});
|
|
22809
22818
|
}, listWebsocketTriggers = (data3) => {
|
|
@@ -22819,7 +22828,8 @@ var backendVersion = () => {
|
|
|
22819
22828
|
path: data3.path,
|
|
22820
22829
|
is_flow: data3.isFlow,
|
|
22821
22830
|
path_start: data3.pathStart,
|
|
22822
|
-
label: data3.label
|
|
22831
|
+
label: data3.label,
|
|
22832
|
+
include_draft_only: data3.includeDraftOnly
|
|
22823
22833
|
}
|
|
22824
22834
|
});
|
|
22825
22835
|
}, existsWebsocketTrigger = (data3) => {
|
|
@@ -22889,6 +22899,9 @@ var backendVersion = () => {
|
|
|
22889
22899
|
path: {
|
|
22890
22900
|
workspace: data3.workspace,
|
|
22891
22901
|
path: data3.path
|
|
22902
|
+
},
|
|
22903
|
+
query: {
|
|
22904
|
+
get_draft: data3.getDraft
|
|
22892
22905
|
}
|
|
22893
22906
|
});
|
|
22894
22907
|
}, listKafkaTriggers = (data3) => {
|
|
@@ -22904,7 +22917,8 @@ var backendVersion = () => {
|
|
|
22904
22917
|
path: data3.path,
|
|
22905
22918
|
is_flow: data3.isFlow,
|
|
22906
22919
|
path_start: data3.pathStart,
|
|
22907
|
-
label: data3.label
|
|
22920
|
+
label: data3.label,
|
|
22921
|
+
include_draft_only: data3.includeDraftOnly
|
|
22908
22922
|
}
|
|
22909
22923
|
});
|
|
22910
22924
|
}, existsKafkaTrigger = (data3) => {
|
|
@@ -22994,6 +23008,9 @@ var backendVersion = () => {
|
|
|
22994
23008
|
path: {
|
|
22995
23009
|
workspace: data3.workspace,
|
|
22996
23010
|
path: data3.path
|
|
23011
|
+
},
|
|
23012
|
+
query: {
|
|
23013
|
+
get_draft: data3.getDraft
|
|
22997
23014
|
}
|
|
22998
23015
|
});
|
|
22999
23016
|
}, listNatsTriggers = (data3) => {
|
|
@@ -23009,7 +23026,8 @@ var backendVersion = () => {
|
|
|
23009
23026
|
path: data3.path,
|
|
23010
23027
|
is_flow: data3.isFlow,
|
|
23011
23028
|
path_start: data3.pathStart,
|
|
23012
|
-
label: data3.label
|
|
23029
|
+
label: data3.label,
|
|
23030
|
+
include_draft_only: data3.includeDraftOnly
|
|
23013
23031
|
}
|
|
23014
23032
|
});
|
|
23015
23033
|
}, existsNatsTrigger = (data3) => {
|
|
@@ -23079,6 +23097,9 @@ var backendVersion = () => {
|
|
|
23079
23097
|
path: {
|
|
23080
23098
|
workspace: data3.workspace,
|
|
23081
23099
|
path: data3.path
|
|
23100
|
+
},
|
|
23101
|
+
query: {
|
|
23102
|
+
get_draft: data3.getDraft
|
|
23082
23103
|
}
|
|
23083
23104
|
});
|
|
23084
23105
|
}, listSqsTriggers = (data3) => {
|
|
@@ -23094,7 +23115,8 @@ var backendVersion = () => {
|
|
|
23094
23115
|
path: data3.path,
|
|
23095
23116
|
is_flow: data3.isFlow,
|
|
23096
23117
|
path_start: data3.pathStart,
|
|
23097
|
-
label: data3.label
|
|
23118
|
+
label: data3.label,
|
|
23119
|
+
include_draft_only: data3.includeDraftOnly
|
|
23098
23120
|
}
|
|
23099
23121
|
});
|
|
23100
23122
|
}, existsSqsTrigger = (data3) => {
|
|
@@ -23262,7 +23284,8 @@ var backendVersion = () => {
|
|
|
23262
23284
|
per_page: data3.perPage,
|
|
23263
23285
|
path: data3.path,
|
|
23264
23286
|
is_flow: data3.isFlow,
|
|
23265
|
-
label: data3.label
|
|
23287
|
+
label: data3.label,
|
|
23288
|
+
include_draft_only: data3.includeDraftOnly
|
|
23266
23289
|
}
|
|
23267
23290
|
});
|
|
23268
23291
|
}, existsNativeTrigger = (data3) => {
|
|
@@ -23379,6 +23402,9 @@ var backendVersion = () => {
|
|
|
23379
23402
|
path: {
|
|
23380
23403
|
workspace: data3.workspace,
|
|
23381
23404
|
path: data3.path
|
|
23405
|
+
},
|
|
23406
|
+
query: {
|
|
23407
|
+
get_draft: data3.getDraft
|
|
23382
23408
|
}
|
|
23383
23409
|
});
|
|
23384
23410
|
}, listMqttTriggers = (data3) => {
|
|
@@ -23394,7 +23420,8 @@ var backendVersion = () => {
|
|
|
23394
23420
|
path: data3.path,
|
|
23395
23421
|
is_flow: data3.isFlow,
|
|
23396
23422
|
path_start: data3.pathStart,
|
|
23397
|
-
label: data3.label
|
|
23423
|
+
label: data3.label,
|
|
23424
|
+
include_draft_only: data3.includeDraftOnly
|
|
23398
23425
|
}
|
|
23399
23426
|
});
|
|
23400
23427
|
}, existsMqttTrigger = (data3) => {
|
|
@@ -23464,6 +23491,9 @@ var backendVersion = () => {
|
|
|
23464
23491
|
path: {
|
|
23465
23492
|
workspace: data3.workspace,
|
|
23466
23493
|
path: data3.path
|
|
23494
|
+
},
|
|
23495
|
+
query: {
|
|
23496
|
+
get_draft: data3.getDraft
|
|
23467
23497
|
}
|
|
23468
23498
|
});
|
|
23469
23499
|
}, listGcpTriggers = (data3) => {
|
|
@@ -23479,7 +23509,8 @@ var backendVersion = () => {
|
|
|
23479
23509
|
path: data3.path,
|
|
23480
23510
|
is_flow: data3.isFlow,
|
|
23481
23511
|
path_start: data3.pathStart,
|
|
23482
|
-
label: data3.label
|
|
23512
|
+
label: data3.label,
|
|
23513
|
+
include_draft_only: data3.includeDraftOnly
|
|
23483
23514
|
}
|
|
23484
23515
|
});
|
|
23485
23516
|
}, existsGcpTrigger = (data3) => {
|
|
@@ -23580,6 +23611,9 @@ var backendVersion = () => {
|
|
|
23580
23611
|
path: {
|
|
23581
23612
|
workspace: data3.workspace,
|
|
23582
23613
|
path: data3.path
|
|
23614
|
+
},
|
|
23615
|
+
query: {
|
|
23616
|
+
get_draft: data3.getDraft
|
|
23583
23617
|
}
|
|
23584
23618
|
});
|
|
23585
23619
|
}, listAzureTriggers = (data3) => {
|
|
@@ -23594,7 +23628,8 @@ var backendVersion = () => {
|
|
|
23594
23628
|
per_page: data3.perPage,
|
|
23595
23629
|
path: data3.path,
|
|
23596
23630
|
is_flow: data3.isFlow,
|
|
23597
|
-
path_start: data3.pathStart
|
|
23631
|
+
path_start: data3.pathStart,
|
|
23632
|
+
include_draft_only: data3.includeDraftOnly
|
|
23598
23633
|
}
|
|
23599
23634
|
});
|
|
23600
23635
|
}, existsAzureTrigger = (data3) => {
|
|
@@ -23836,6 +23871,9 @@ var backendVersion = () => {
|
|
|
23836
23871
|
path: {
|
|
23837
23872
|
workspace: data3.workspace,
|
|
23838
23873
|
path: data3.path
|
|
23874
|
+
},
|
|
23875
|
+
query: {
|
|
23876
|
+
get_draft: data3.getDraft
|
|
23839
23877
|
}
|
|
23840
23878
|
});
|
|
23841
23879
|
}, listPostgresTriggers = (data3) => {
|
|
@@ -23851,7 +23889,8 @@ var backendVersion = () => {
|
|
|
23851
23889
|
path: data3.path,
|
|
23852
23890
|
is_flow: data3.isFlow,
|
|
23853
23891
|
path_start: data3.pathStart,
|
|
23854
|
-
label: data3.label
|
|
23892
|
+
label: data3.label,
|
|
23893
|
+
include_draft_only: data3.includeDraftOnly
|
|
23855
23894
|
}
|
|
23856
23895
|
});
|
|
23857
23896
|
}, existsPostgresTrigger = (data3) => {
|
|
@@ -23921,6 +23960,9 @@ var backendVersion = () => {
|
|
|
23921
23960
|
path: {
|
|
23922
23961
|
workspace: data3.workspace,
|
|
23923
23962
|
path: data3.path
|
|
23963
|
+
},
|
|
23964
|
+
query: {
|
|
23965
|
+
get_draft: data3.getDraft
|
|
23924
23966
|
}
|
|
23925
23967
|
});
|
|
23926
23968
|
}, listEmailTriggers = (data3) => {
|
|
@@ -23936,7 +23978,8 @@ var backendVersion = () => {
|
|
|
23936
23978
|
path: data3.path,
|
|
23937
23979
|
is_flow: data3.isFlow,
|
|
23938
23980
|
path_start: data3.pathStart,
|
|
23939
|
-
label: data3.label
|
|
23981
|
+
label: data3.label,
|
|
23982
|
+
include_draft_only: data3.includeDraftOnly
|
|
23940
23983
|
}
|
|
23941
23984
|
});
|
|
23942
23985
|
}, existsEmailTrigger = (data3) => {
|
|
@@ -25304,7 +25347,7 @@ var init_auth = __esm(async () => {
|
|
|
25304
25347
|
});
|
|
25305
25348
|
|
|
25306
25349
|
// src/core/constants.ts
|
|
25307
|
-
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.
|
|
25350
|
+
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.725.1";
|
|
25308
25351
|
|
|
25309
25352
|
// src/utils/git.ts
|
|
25310
25353
|
var exports_git = {};
|
|
@@ -65931,6 +65974,7 @@ __export(exports_sync, {
|
|
|
65931
65974
|
readDirRecursiveWithIgnore: () => readDirRecursiveWithIgnore2,
|
|
65932
65975
|
push: () => push4,
|
|
65933
65976
|
pull: () => pull,
|
|
65977
|
+
preservePendingScriptLocks: () => preservePendingScriptLocks,
|
|
65934
65978
|
isWhitelisted: () => isWhitelisted,
|
|
65935
65979
|
isCaseInsensitiveFilesystem: () => isCaseInsensitiveFilesystem,
|
|
65936
65980
|
ignoreF: () => ignoreF,
|
|
@@ -67258,6 +67302,42 @@ async function isCaseInsensitiveFilesystem(dir) {
|
|
|
67258
67302
|
_caseInsensitiveFsCache = result;
|
|
67259
67303
|
return result;
|
|
67260
67304
|
}
|
|
67305
|
+
function preservePendingScriptLocks(remote, local) {
|
|
67306
|
+
const modMeta = getModuleFolderSuffix() + SEP9 + "script";
|
|
67307
|
+
for (const metaKey of Object.keys(remote)) {
|
|
67308
|
+
const isYaml = metaKey.endsWith(".script.yaml") || metaKey.endsWith(modMeta + ".yaml");
|
|
67309
|
+
const isJson = metaKey.endsWith(".script.json") || metaKey.endsWith(modMeta + ".json");
|
|
67310
|
+
if (!isYaml && !isJson)
|
|
67311
|
+
continue;
|
|
67312
|
+
const localMeta = local[metaKey];
|
|
67313
|
+
if (localMeta === undefined)
|
|
67314
|
+
continue;
|
|
67315
|
+
let remoteParsed;
|
|
67316
|
+
let localParsed;
|
|
67317
|
+
try {
|
|
67318
|
+
remoteParsed = isYaml ? yamlParseContent(metaKey, remote[metaKey]) : JSON.parse(remote[metaKey]);
|
|
67319
|
+
localParsed = isYaml ? yamlParseContent(metaKey, localMeta) : JSON.parse(localMeta);
|
|
67320
|
+
} catch {
|
|
67321
|
+
continue;
|
|
67322
|
+
}
|
|
67323
|
+
if (typeof remoteParsed !== "object" || remoteParsed === null)
|
|
67324
|
+
continue;
|
|
67325
|
+
if (typeof localParsed !== "object" || localParsed === null)
|
|
67326
|
+
continue;
|
|
67327
|
+
const remoteLock = remoteParsed["lock"];
|
|
67328
|
+
if (remoteLock !== undefined && remoteLock !== null)
|
|
67329
|
+
continue;
|
|
67330
|
+
const localLock = localParsed["lock"];
|
|
67331
|
+
if (typeof localLock !== "string" || !localLock.startsWith("!inline "))
|
|
67332
|
+
continue;
|
|
67333
|
+
const lockKey = localLock.slice("!inline ".length).replaceAll("/", SEP9);
|
|
67334
|
+
if (local[lockKey] === undefined)
|
|
67335
|
+
continue;
|
|
67336
|
+
remoteParsed["lock"] = localLock;
|
|
67337
|
+
remote[metaKey] = isYaml ? import_yaml11.stringify(remoteParsed, yamlOptions) : JSON.stringify(remoteParsed, null, 2);
|
|
67338
|
+
remote[lockKey] = local[lockKey];
|
|
67339
|
+
}
|
|
67340
|
+
}
|
|
67261
67341
|
async function compareDynFSElement(els1, els2, ignore, json, skips, ignoreMetadataDeletion, codebases, ignoreCodebaseChanges, specificItems, branchOverride, isEls1Remote, caseInsensitiveFs) {
|
|
67262
67342
|
let [m1, m2] = els2 ? await Promise.all([
|
|
67263
67343
|
elementsToMap(els1, ignore, json, skips, specificItems, branchOverride, isEls1Remote),
|
|
@@ -67281,6 +67361,9 @@ async function compareDynFSElement(els1, els2, ignore, json, skips, ignoreMetada
|
|
|
67281
67361
|
}
|
|
67282
67362
|
}
|
|
67283
67363
|
}
|
|
67364
|
+
if (isEls1Remote === true) {
|
|
67365
|
+
preservePendingScriptLocks(m1, m2);
|
|
67366
|
+
}
|
|
67284
67367
|
const changes = [];
|
|
67285
67368
|
function parseYaml(k, v) {
|
|
67286
67369
|
if (k.endsWith(".script.yaml")) {
|
|
@@ -85357,6 +85440,26 @@ properties:
|
|
|
85357
85440
|
type: array
|
|
85358
85441
|
items:
|
|
85359
85442
|
type: string
|
|
85443
|
+
draft_only:
|
|
85444
|
+
type: boolean
|
|
85445
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
85446
|
+
|
|
85447
|
+
trigger at the same path. Set by list endpoints when
|
|
85448
|
+
|
|
85449
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
85450
|
+
|
|
85451
|
+
draft. Frontend renders a "Draft" badge.
|
|
85452
|
+
|
|
85453
|
+
'
|
|
85454
|
+
is_draft:
|
|
85455
|
+
type: boolean
|
|
85456
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
85457
|
+
|
|
85458
|
+
(over a deployed row or a synthesized draft-only row).
|
|
85459
|
+
|
|
85460
|
+
Frontend appends a \`*\` to the displayed name.
|
|
85461
|
+
|
|
85462
|
+
'
|
|
85360
85463
|
azure_resource_path:
|
|
85361
85464
|
type: string
|
|
85362
85465
|
azure_mode:
|
|
@@ -85442,6 +85545,26 @@ properties:
|
|
|
85442
85545
|
type: array
|
|
85443
85546
|
items:
|
|
85444
85547
|
type: string
|
|
85548
|
+
draft_only:
|
|
85549
|
+
type: boolean
|
|
85550
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
85551
|
+
|
|
85552
|
+
trigger at the same path. Set by list endpoints when
|
|
85553
|
+
|
|
85554
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
85555
|
+
|
|
85556
|
+
draft. Frontend renders a "Draft" badge.
|
|
85557
|
+
|
|
85558
|
+
'
|
|
85559
|
+
is_draft:
|
|
85560
|
+
type: boolean
|
|
85561
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
85562
|
+
|
|
85563
|
+
(over a deployed row or a synthesized draft-only row).
|
|
85564
|
+
|
|
85565
|
+
Frontend appends a \`*\` to the displayed name.
|
|
85566
|
+
|
|
85567
|
+
'
|
|
85445
85568
|
local_part:
|
|
85446
85569
|
type: string
|
|
85447
85570
|
workspaced_local_part:
|
|
@@ -85507,6 +85630,26 @@ properties:
|
|
|
85507
85630
|
type: array
|
|
85508
85631
|
items:
|
|
85509
85632
|
type: string
|
|
85633
|
+
draft_only:
|
|
85634
|
+
type: boolean
|
|
85635
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
85636
|
+
|
|
85637
|
+
trigger at the same path. Set by list endpoints when
|
|
85638
|
+
|
|
85639
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
85640
|
+
|
|
85641
|
+
draft. Frontend renders a "Draft" badge.
|
|
85642
|
+
|
|
85643
|
+
'
|
|
85644
|
+
is_draft:
|
|
85645
|
+
type: boolean
|
|
85646
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
85647
|
+
|
|
85648
|
+
(over a deployed row or a synthesized draft-only row).
|
|
85649
|
+
|
|
85650
|
+
Frontend appends a \`*\` to the displayed name.
|
|
85651
|
+
|
|
85652
|
+
'
|
|
85510
85653
|
gcp_resource_path:
|
|
85511
85654
|
type: string
|
|
85512
85655
|
description: Path to the GCP resource containing service account credentials for
|
|
@@ -85608,6 +85751,26 @@ properties:
|
|
|
85608
85751
|
type: array
|
|
85609
85752
|
items:
|
|
85610
85753
|
type: string
|
|
85754
|
+
draft_only:
|
|
85755
|
+
type: boolean
|
|
85756
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
85757
|
+
|
|
85758
|
+
trigger at the same path. Set by list endpoints when
|
|
85759
|
+
|
|
85760
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
85761
|
+
|
|
85762
|
+
draft. Frontend renders a "Draft" badge.
|
|
85763
|
+
|
|
85764
|
+
'
|
|
85765
|
+
is_draft:
|
|
85766
|
+
type: boolean
|
|
85767
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
85768
|
+
|
|
85769
|
+
(over a deployed row or a synthesized draft-only row).
|
|
85770
|
+
|
|
85771
|
+
Frontend appends a \`*\` to the displayed name.
|
|
85772
|
+
|
|
85773
|
+
'
|
|
85611
85774
|
route_path:
|
|
85612
85775
|
type: string
|
|
85613
85776
|
description: The URL route path that will trigger this endpoint (e.g., 'api/myendpoint').
|
|
@@ -85742,6 +85905,26 @@ properties:
|
|
|
85742
85905
|
type: array
|
|
85743
85906
|
items:
|
|
85744
85907
|
type: string
|
|
85908
|
+
draft_only:
|
|
85909
|
+
type: boolean
|
|
85910
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
85911
|
+
|
|
85912
|
+
trigger at the same path. Set by list endpoints when
|
|
85913
|
+
|
|
85914
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
85915
|
+
|
|
85916
|
+
draft. Frontend renders a "Draft" badge.
|
|
85917
|
+
|
|
85918
|
+
'
|
|
85919
|
+
is_draft:
|
|
85920
|
+
type: boolean
|
|
85921
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
85922
|
+
|
|
85923
|
+
(over a deployed row or a synthesized draft-only row).
|
|
85924
|
+
|
|
85925
|
+
Frontend appends a \`*\` to the displayed name.
|
|
85926
|
+
|
|
85927
|
+
'
|
|
85745
85928
|
kafka_resource_path:
|
|
85746
85929
|
type: string
|
|
85747
85930
|
description: Path to the Kafka resource containing connection configuration
|
|
@@ -85845,6 +86028,26 @@ properties:
|
|
|
85845
86028
|
type: array
|
|
85846
86029
|
items:
|
|
85847
86030
|
type: string
|
|
86031
|
+
draft_only:
|
|
86032
|
+
type: boolean
|
|
86033
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
86034
|
+
|
|
86035
|
+
trigger at the same path. Set by list endpoints when
|
|
86036
|
+
|
|
86037
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
86038
|
+
|
|
86039
|
+
draft. Frontend renders a "Draft" badge.
|
|
86040
|
+
|
|
86041
|
+
'
|
|
86042
|
+
is_draft:
|
|
86043
|
+
type: boolean
|
|
86044
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
86045
|
+
|
|
86046
|
+
(over a deployed row or a synthesized draft-only row).
|
|
86047
|
+
|
|
86048
|
+
Frontend appends a \`*\` to the displayed name.
|
|
86049
|
+
|
|
86050
|
+
'
|
|
85848
86051
|
mqtt_resource_path:
|
|
85849
86052
|
type: string
|
|
85850
86053
|
description: Path to the MQTT resource containing broker connection configuration
|
|
@@ -85939,6 +86142,26 @@ properties:
|
|
|
85939
86142
|
type: array
|
|
85940
86143
|
items:
|
|
85941
86144
|
type: string
|
|
86145
|
+
draft_only:
|
|
86146
|
+
type: boolean
|
|
86147
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
86148
|
+
|
|
86149
|
+
trigger at the same path. Set by list endpoints when
|
|
86150
|
+
|
|
86151
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
86152
|
+
|
|
86153
|
+
draft. Frontend renders a "Draft" badge.
|
|
86154
|
+
|
|
86155
|
+
'
|
|
86156
|
+
is_draft:
|
|
86157
|
+
type: boolean
|
|
86158
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
86159
|
+
|
|
86160
|
+
(over a deployed row or a synthesized draft-only row).
|
|
86161
|
+
|
|
86162
|
+
Frontend appends a \`*\` to the displayed name.
|
|
86163
|
+
|
|
86164
|
+
'
|
|
85942
86165
|
nats_resource_path:
|
|
85943
86166
|
type: string
|
|
85944
86167
|
description: Path to the NATS resource containing connection configuration
|
|
@@ -86020,6 +86243,26 @@ properties:
|
|
|
86020
86243
|
type: array
|
|
86021
86244
|
items:
|
|
86022
86245
|
type: string
|
|
86246
|
+
draft_only:
|
|
86247
|
+
type: boolean
|
|
86248
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
86249
|
+
|
|
86250
|
+
trigger at the same path. Set by list endpoints when
|
|
86251
|
+
|
|
86252
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
86253
|
+
|
|
86254
|
+
draft. Frontend renders a "Draft" badge.
|
|
86255
|
+
|
|
86256
|
+
'
|
|
86257
|
+
is_draft:
|
|
86258
|
+
type: boolean
|
|
86259
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
86260
|
+
|
|
86261
|
+
(over a deployed row or a synthesized draft-only row).
|
|
86262
|
+
|
|
86263
|
+
Frontend appends a \`*\` to the displayed name.
|
|
86264
|
+
|
|
86265
|
+
'
|
|
86023
86266
|
postgres_resource_path:
|
|
86024
86267
|
type: string
|
|
86025
86268
|
description: Path to the PostgreSQL resource containing connection configuration
|
|
@@ -86202,6 +86445,22 @@ properties:
|
|
|
86202
86445
|
type: array
|
|
86203
86446
|
items:
|
|
86204
86447
|
type: string
|
|
86448
|
+
draft_only:
|
|
86449
|
+
type: boolean
|
|
86450
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
86451
|
+
|
|
86452
|
+
schedule at the same path. Frontend renders a "Draft" badge.
|
|
86453
|
+
|
|
86454
|
+
'
|
|
86455
|
+
is_draft:
|
|
86456
|
+
type: boolean
|
|
86457
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
86458
|
+
|
|
86459
|
+
(over a deployed row or a synthesized draft-only row).
|
|
86460
|
+
|
|
86461
|
+
Frontend appends a \`*\` to the displayed name.
|
|
86462
|
+
|
|
86463
|
+
'
|
|
86205
86464
|
inherited_labels:
|
|
86206
86465
|
type: array
|
|
86207
86466
|
items:
|
|
@@ -86233,6 +86492,26 @@ properties:
|
|
|
86233
86492
|
type: array
|
|
86234
86493
|
items:
|
|
86235
86494
|
type: string
|
|
86495
|
+
draft_only:
|
|
86496
|
+
type: boolean
|
|
86497
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
86498
|
+
|
|
86499
|
+
trigger at the same path. Set by list endpoints when
|
|
86500
|
+
|
|
86501
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
86502
|
+
|
|
86503
|
+
draft. Frontend renders a "Draft" badge.
|
|
86504
|
+
|
|
86505
|
+
'
|
|
86506
|
+
is_draft:
|
|
86507
|
+
type: boolean
|
|
86508
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
86509
|
+
|
|
86510
|
+
(over a deployed row or a synthesized draft-only row).
|
|
86511
|
+
|
|
86512
|
+
Frontend appends a \`*\` to the displayed name.
|
|
86513
|
+
|
|
86514
|
+
'
|
|
86236
86515
|
queue_url:
|
|
86237
86516
|
type: string
|
|
86238
86517
|
description: The full URL of the AWS SQS queue to poll for messages
|
|
@@ -86313,6 +86592,26 @@ properties:
|
|
|
86313
86592
|
type: array
|
|
86314
86593
|
items:
|
|
86315
86594
|
type: string
|
|
86595
|
+
draft_only:
|
|
86596
|
+
type: boolean
|
|
86597
|
+
description: 'True when this row is a per-user draft with no deployed
|
|
86598
|
+
|
|
86599
|
+
trigger at the same path. Set by list endpoints when
|
|
86600
|
+
|
|
86601
|
+
\`include_draft_only=true\` synthesizes the row from the
|
|
86602
|
+
|
|
86603
|
+
draft. Frontend renders a "Draft" badge.
|
|
86604
|
+
|
|
86605
|
+
'
|
|
86606
|
+
is_draft:
|
|
86607
|
+
type: boolean
|
|
86608
|
+
description: 'True when the authed user has a per-user draft at this path
|
|
86609
|
+
|
|
86610
|
+
(over a deployed row or a synthesized draft-only row).
|
|
86611
|
+
|
|
86612
|
+
Frontend appends a \`*\` to the displayed name.
|
|
86613
|
+
|
|
86614
|
+
'
|
|
86316
86615
|
url:
|
|
86317
86616
|
type: string
|
|
86318
86617
|
description: The WebSocket URL to connect to (can be a static URL or computed
|