@confighub/api 0.4.14 → 0.4.15
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/index.d.cts +35 -88
- package/dist/index.d.ts +35 -88
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2314,7 +2314,7 @@ interface paths {
|
|
|
2314
2314
|
put?: never;
|
|
2315
2315
|
/**
|
|
2316
2316
|
* Upload a bundle of configuration
|
|
2317
|
-
* @description Takes a bundle of rendered configuration files,
|
|
2317
|
+
* @description Takes a bundle of rendered configuration files, splits it into resources, and makes a Space's Units, Links, and Invocations match it. Creates what is missing, 3-way merges what changed, and empties the Units of resources the bundle no longer contains, so uploading the same bundle again changes nothing. Every resource becomes its own Unit.
|
|
2318
2318
|
*/
|
|
2319
2319
|
post: operations["Upload"];
|
|
2320
2320
|
delete?: never;
|
|
@@ -5991,14 +5991,6 @@ interface components {
|
|
|
5991
5991
|
/** @description References that resolved to no resource in the bundle. */
|
|
5992
5992
|
UnmatchedReferences?: components["schemas"]["UploadUnmatchedReference"][];
|
|
5993
5993
|
};
|
|
5994
|
-
UploadDuplicate: {
|
|
5995
|
-
/** @description The other Units that define the resource. */
|
|
5996
|
-
Others?: components["schemas"]["UploadUnitRef"][];
|
|
5997
|
-
/** @description The resource identity, as in UploadUnitResult.Resource. */
|
|
5998
|
-
Resource?: string;
|
|
5999
|
-
/** @description The slug of this upload's Unit for the resource. */
|
|
6000
|
-
Slug?: string;
|
|
6001
|
-
};
|
|
6002
5994
|
UploadLinkResult: {
|
|
6003
5995
|
/** @description Create or Unchanged. */
|
|
6004
5996
|
Action?: string;
|
|
@@ -6018,12 +6010,6 @@ interface components {
|
|
|
6018
6010
|
/** @description The release Namespace the bundle already carries. */
|
|
6019
6011
|
Namespace?: string;
|
|
6020
6012
|
};
|
|
6021
|
-
UploadRegistryCredentials: {
|
|
6022
|
-
/** @description The password, or an access token for registries that issue them. */
|
|
6023
|
-
Password?: string;
|
|
6024
|
-
/** @description The registry username. */
|
|
6025
|
-
Username?: string;
|
|
6026
|
-
};
|
|
6027
6013
|
UploadRequest: {
|
|
6028
6014
|
/** @description Recorded on each Unit write. */
|
|
6029
6015
|
ChangeDescription?: string;
|
|
@@ -6036,7 +6022,7 @@ interface components {
|
|
|
6036
6022
|
ChangeSetID?: string;
|
|
6037
6023
|
/** @description Placement of each component. Exactly one is supported. */
|
|
6038
6024
|
Components?: components["schemas"]["UploadComponentRequest"][];
|
|
6039
|
-
/** @description The bundle's files. Paths must be relative and may not contain "..".
|
|
6025
|
+
/** @description The bundle's files. Paths must be relative and may not contain "..". */
|
|
6040
6026
|
Files?: components["schemas"]["UploadRequestFile"][];
|
|
6041
6027
|
Source?: components["schemas"]["UploadSourceInfo"];
|
|
6042
6028
|
/** @description Labels applied to every Space, merge-patch: keys given are set, keys omitted are left alone. */
|
|
@@ -6058,18 +6044,13 @@ interface components {
|
|
|
6058
6044
|
DryRun?: boolean;
|
|
6059
6045
|
/** @description Digest of the planned actions. */
|
|
6060
6046
|
Plan?: string;
|
|
6061
|
-
/** @description The digest of the manifest the server pulled, when Source.Pull was set. Send it as Source.Digest to upload exactly the bundle a dry run read. */
|
|
6062
|
-
SourceDigest?: string;
|
|
6063
6047
|
};
|
|
6064
6048
|
UploadSourceInfo: {
|
|
6065
6049
|
/** @description The client that uploaded: cub, installer, ui. */
|
|
6066
6050
|
Client?: string;
|
|
6067
6051
|
ClientVersion?: string;
|
|
6068
|
-
Credentials?: components["schemas"]["UploadRegistryCredentials"];
|
|
6069
6052
|
/** @description The resolved digest, when the transport has one. */
|
|
6070
6053
|
Digest?: string;
|
|
6071
|
-
/** @description Fetch the bundle from Ref, an oci:// reference, instead of taking Files. With Digest set, that manifest is fetched rather than whatever Ref's tag names now. */
|
|
6072
|
-
Pull?: boolean;
|
|
6073
6054
|
/** @description Where the bundle came from, e.g. oci://ghcr.io/confighub/configs/cubbychat:1.4.0 or a local path. */
|
|
6074
6055
|
Ref?: string;
|
|
6075
6056
|
};
|
|
@@ -6082,8 +6063,6 @@ interface components {
|
|
|
6082
6063
|
* @example 248df4b7-aa70-47b8-a036-33ac447e668d
|
|
6083
6064
|
*/
|
|
6084
6065
|
ChangeSetID?: string;
|
|
6085
|
-
/** @description Resources this upload writes that other Units deployed to the same Target also define: the Space's other Units, and when the Space has a Target, Units elsewhere on that Target. */
|
|
6086
|
-
Duplicates?: components["schemas"]["UploadDuplicate"][];
|
|
6087
6066
|
Links?: components["schemas"]["UploadLinkResult"][];
|
|
6088
6067
|
Namespace?: string;
|
|
6089
6068
|
/**
|
|
@@ -6095,20 +6074,6 @@ interface components {
|
|
|
6095
6074
|
SpaceSlug?: string;
|
|
6096
6075
|
Units?: components["schemas"]["UploadUnitResult"][];
|
|
6097
6076
|
};
|
|
6098
|
-
UploadUnitRef: {
|
|
6099
|
-
/**
|
|
6100
|
-
* Format: uuid
|
|
6101
|
-
* @example 248df4b7-aa70-47b8-a036-33ac447e668d
|
|
6102
|
-
*/
|
|
6103
|
-
SpaceID?: string;
|
|
6104
|
-
SpaceSlug?: string;
|
|
6105
|
-
/**
|
|
6106
|
-
* Format: uuid
|
|
6107
|
-
* @example 248df4b7-aa70-47b8-a036-33ac447e668d
|
|
6108
|
-
*/
|
|
6109
|
-
UnitID?: string;
|
|
6110
|
-
UnitSlug?: string;
|
|
6111
|
-
};
|
|
6112
6077
|
UploadUnitResult: {
|
|
6113
6078
|
/** @description Create, Update, Unchanged, Empty, Revive, or Adopt. */
|
|
6114
6079
|
Action?: string;
|
|
@@ -6689,7 +6654,7 @@ interface operations {
|
|
|
6689
6654
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
6690
6655
|
};
|
|
6691
6656
|
};
|
|
6692
|
-
/** @description Space
|
|
6657
|
+
/** @description Space data conflict. Data has changed since last read. */
|
|
6693
6658
|
409: {
|
|
6694
6659
|
headers: {
|
|
6695
6660
|
[name: string]: unknown;
|
|
@@ -7515,7 +7480,7 @@ interface operations {
|
|
|
7515
7480
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
7516
7481
|
};
|
|
7517
7482
|
};
|
|
7518
|
-
/** @description Attribute
|
|
7483
|
+
/** @description Attribute data conflict. Data has changed since last read. */
|
|
7519
7484
|
409: {
|
|
7520
7485
|
headers: {
|
|
7521
7486
|
[name: string]: unknown;
|
|
@@ -8018,7 +7983,7 @@ interface operations {
|
|
|
8018
7983
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
8019
7984
|
};
|
|
8020
7985
|
};
|
|
8021
|
-
/** @description BridgeWorker
|
|
7986
|
+
/** @description BridgeWorker data conflict. Data has changed since last read. */
|
|
8022
7987
|
409: {
|
|
8023
7988
|
headers: {
|
|
8024
7989
|
[name: string]: unknown;
|
|
@@ -9169,7 +9134,7 @@ interface operations {
|
|
|
9169
9134
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
9170
9135
|
};
|
|
9171
9136
|
};
|
|
9172
|
-
/** @description ChangeOrder
|
|
9137
|
+
/** @description ChangeOrder data conflict. Data has changed since last read. */
|
|
9173
9138
|
409: {
|
|
9174
9139
|
headers: {
|
|
9175
9140
|
[name: string]: unknown;
|
|
@@ -9996,7 +9961,7 @@ interface operations {
|
|
|
9996
9961
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
9997
9962
|
};
|
|
9998
9963
|
};
|
|
9999
|
-
/** @description ChangeSet
|
|
9964
|
+
/** @description ChangeSet data conflict. Data has changed since last read. */
|
|
10000
9965
|
409: {
|
|
10001
9966
|
headers: {
|
|
10002
9967
|
[name: string]: unknown;
|
|
@@ -10815,7 +10780,7 @@ interface operations {
|
|
|
10815
10780
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
10816
10781
|
};
|
|
10817
10782
|
};
|
|
10818
|
-
/** @description ChangeWorkflow
|
|
10783
|
+
/** @description ChangeWorkflow data conflict. Data has changed since last read. */
|
|
10819
10784
|
409: {
|
|
10820
10785
|
headers: {
|
|
10821
10786
|
[name: string]: unknown;
|
|
@@ -11643,7 +11608,7 @@ interface operations {
|
|
|
11643
11608
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
11644
11609
|
};
|
|
11645
11610
|
};
|
|
11646
|
-
/** @description Filter
|
|
11611
|
+
/** @description Filter data conflict. Data has changed since last read. */
|
|
11647
11612
|
409: {
|
|
11648
11613
|
headers: {
|
|
11649
11614
|
[name: string]: unknown;
|
|
@@ -12836,7 +12801,7 @@ interface operations {
|
|
|
12836
12801
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
12837
12802
|
};
|
|
12838
12803
|
};
|
|
12839
|
-
/** @description Invocation
|
|
12804
|
+
/** @description Invocation data conflict. Data has changed since last read. */
|
|
12840
12805
|
409: {
|
|
12841
12806
|
headers: {
|
|
12842
12807
|
[name: string]: unknown;
|
|
@@ -13682,7 +13647,7 @@ interface operations {
|
|
|
13682
13647
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
13683
13648
|
};
|
|
13684
13649
|
};
|
|
13685
|
-
/** @description Link
|
|
13650
|
+
/** @description Link data conflict. Data has changed since last read. */
|
|
13686
13651
|
409: {
|
|
13687
13652
|
headers: {
|
|
13688
13653
|
[name: string]: unknown;
|
|
@@ -14401,7 +14366,7 @@ interface operations {
|
|
|
14401
14366
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
14402
14367
|
};
|
|
14403
14368
|
};
|
|
14404
|
-
/** @description OAuthClient
|
|
14369
|
+
/** @description OAuthClient data conflict. Data has changed since last read. */
|
|
14405
14370
|
409: {
|
|
14406
14371
|
headers: {
|
|
14407
14372
|
[name: string]: unknown;
|
|
@@ -14943,7 +14908,7 @@ interface operations {
|
|
|
14943
14908
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
14944
14909
|
};
|
|
14945
14910
|
};
|
|
14946
|
-
/** @description Organization
|
|
14911
|
+
/** @description Organization data conflict. Data has changed since last read. */
|
|
14947
14912
|
409: {
|
|
14948
14913
|
headers: {
|
|
14949
14914
|
[name: string]: unknown;
|
|
@@ -15359,7 +15324,7 @@ interface operations {
|
|
|
15359
15324
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
15360
15325
|
};
|
|
15361
15326
|
};
|
|
15362
|
-
/** @description OrganizationMember
|
|
15327
|
+
/** @description OrganizationMember data conflict. Data has changed since last read. */
|
|
15363
15328
|
409: {
|
|
15364
15329
|
headers: {
|
|
15365
15330
|
[name: string]: unknown;
|
|
@@ -16867,7 +16832,7 @@ interface operations {
|
|
|
16867
16832
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
16868
16833
|
};
|
|
16869
16834
|
};
|
|
16870
|
-
/** @description Space
|
|
16835
|
+
/** @description Space data conflict. Data has changed since last read. */
|
|
16871
16836
|
409: {
|
|
16872
16837
|
headers: {
|
|
16873
16838
|
[name: string]: unknown;
|
|
@@ -17554,7 +17519,7 @@ interface operations {
|
|
|
17554
17519
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
17555
17520
|
};
|
|
17556
17521
|
};
|
|
17557
|
-
/** @description Attribute
|
|
17522
|
+
/** @description Attribute data conflict. Data has changed since last read. */
|
|
17558
17523
|
409: {
|
|
17559
17524
|
headers: {
|
|
17560
17525
|
[name: string]: unknown;
|
|
@@ -18247,7 +18212,7 @@ interface operations {
|
|
|
18247
18212
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
18248
18213
|
};
|
|
18249
18214
|
};
|
|
18250
|
-
/** @description BridgeWorker
|
|
18215
|
+
/** @description BridgeWorker data conflict. Data has changed since last read. */
|
|
18251
18216
|
409: {
|
|
18252
18217
|
headers: {
|
|
18253
18218
|
[name: string]: unknown;
|
|
@@ -19116,7 +19081,7 @@ interface operations {
|
|
|
19116
19081
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
19117
19082
|
};
|
|
19118
19083
|
};
|
|
19119
|
-
/** @description ChangeOrder
|
|
19084
|
+
/** @description ChangeOrder data conflict. Data has changed since last read. */
|
|
19120
19085
|
409: {
|
|
19121
19086
|
headers: {
|
|
19122
19087
|
[name: string]: unknown;
|
|
@@ -19795,7 +19760,7 @@ interface operations {
|
|
|
19795
19760
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
19796
19761
|
};
|
|
19797
19762
|
};
|
|
19798
|
-
/** @description ChangeSet
|
|
19763
|
+
/** @description ChangeSet data conflict. Data has changed since last read. */
|
|
19799
19764
|
409: {
|
|
19800
19765
|
headers: {
|
|
19801
19766
|
[name: string]: unknown;
|
|
@@ -20461,7 +20426,7 @@ interface operations {
|
|
|
20461
20426
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
20462
20427
|
};
|
|
20463
20428
|
};
|
|
20464
|
-
/** @description ChangeWorkflow
|
|
20429
|
+
/** @description ChangeWorkflow data conflict. Data has changed since last read. */
|
|
20465
20430
|
409: {
|
|
20466
20431
|
headers: {
|
|
20467
20432
|
[name: string]: unknown;
|
|
@@ -21136,7 +21101,7 @@ interface operations {
|
|
|
21136
21101
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
21137
21102
|
};
|
|
21138
21103
|
};
|
|
21139
|
-
/** @description Filter
|
|
21104
|
+
/** @description Filter data conflict. Data has changed since last read. */
|
|
21140
21105
|
409: {
|
|
21141
21106
|
headers: {
|
|
21142
21107
|
[name: string]: unknown;
|
|
@@ -22163,7 +22128,7 @@ interface operations {
|
|
|
22163
22128
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
22164
22129
|
};
|
|
22165
22130
|
};
|
|
22166
|
-
/** @description Invocation
|
|
22131
|
+
/** @description Invocation data conflict. Data has changed since last read. */
|
|
22167
22132
|
409: {
|
|
22168
22133
|
headers: {
|
|
22169
22134
|
[name: string]: unknown;
|
|
@@ -22843,7 +22808,7 @@ interface operations {
|
|
|
22843
22808
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
22844
22809
|
};
|
|
22845
22810
|
};
|
|
22846
|
-
/** @description Link
|
|
22811
|
+
/** @description Link data conflict. Data has changed since last read. */
|
|
22847
22812
|
409: {
|
|
22848
22813
|
headers: {
|
|
22849
22814
|
[name: string]: unknown;
|
|
@@ -23549,7 +23514,7 @@ interface operations {
|
|
|
23549
23514
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
23550
23515
|
};
|
|
23551
23516
|
};
|
|
23552
|
-
/** @description Release
|
|
23517
|
+
/** @description Release data conflict. Data has changed since last read. */
|
|
23553
23518
|
409: {
|
|
23554
23519
|
headers: {
|
|
23555
23520
|
[name: string]: unknown;
|
|
@@ -24386,7 +24351,7 @@ interface operations {
|
|
|
24386
24351
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
24387
24352
|
};
|
|
24388
24353
|
};
|
|
24389
|
-
/** @description Tag
|
|
24354
|
+
/** @description Tag data conflict. Data has changed since last read. */
|
|
24390
24355
|
409: {
|
|
24391
24356
|
headers: {
|
|
24392
24357
|
[name: string]: unknown;
|
|
@@ -25054,7 +25019,7 @@ interface operations {
|
|
|
25054
25019
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25055
25020
|
};
|
|
25056
25021
|
};
|
|
25057
|
-
/** @description Target
|
|
25022
|
+
/** @description Target data conflict. Data has changed since last read. */
|
|
25058
25023
|
409: {
|
|
25059
25024
|
headers: {
|
|
25060
25025
|
[name: string]: unknown;
|
|
@@ -25764,7 +25729,7 @@ interface operations {
|
|
|
25764
25729
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25765
25730
|
};
|
|
25766
25731
|
};
|
|
25767
|
-
/** @description Trigger
|
|
25732
|
+
/** @description Trigger data conflict. Data has changed since last read. */
|
|
25768
25733
|
409: {
|
|
25769
25734
|
headers: {
|
|
25770
25735
|
[name: string]: unknown;
|
|
@@ -26608,7 +26573,7 @@ interface operations {
|
|
|
26608
26573
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
26609
26574
|
};
|
|
26610
26575
|
};
|
|
26611
|
-
/** @description Unit
|
|
26576
|
+
/** @description Unit data conflict. Data has changed since last read. */
|
|
26612
26577
|
409: {
|
|
26613
26578
|
headers: {
|
|
26614
26579
|
[name: string]: unknown;
|
|
@@ -29638,7 +29603,7 @@ interface operations {
|
|
|
29638
29603
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
29639
29604
|
};
|
|
29640
29605
|
};
|
|
29641
|
-
/** @description View
|
|
29606
|
+
/** @description View data conflict. Data has changed since last read. */
|
|
29642
29607
|
409: {
|
|
29643
29608
|
headers: {
|
|
29644
29609
|
[name: string]: unknown;
|
|
@@ -30370,7 +30335,7 @@ interface operations {
|
|
|
30370
30335
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
30371
30336
|
};
|
|
30372
30337
|
};
|
|
30373
|
-
/** @description Tag
|
|
30338
|
+
/** @description Tag data conflict. Data has changed since last read. */
|
|
30374
30339
|
409: {
|
|
30375
30340
|
headers: {
|
|
30376
30341
|
[name: string]: unknown;
|
|
@@ -30920,7 +30885,7 @@ interface operations {
|
|
|
30920
30885
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
30921
30886
|
};
|
|
30922
30887
|
};
|
|
30923
|
-
/** @description Target
|
|
30888
|
+
/** @description Target data conflict. Data has changed since last read. */
|
|
30924
30889
|
409: {
|
|
30925
30890
|
headers: {
|
|
30926
30891
|
[name: string]: unknown;
|
|
@@ -31784,7 +31749,7 @@ interface operations {
|
|
|
31784
31749
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
31785
31750
|
};
|
|
31786
31751
|
};
|
|
31787
|
-
/** @description Trigger
|
|
31752
|
+
/** @description Trigger data conflict. Data has changed since last read. */
|
|
31788
31753
|
409: {
|
|
31789
31754
|
headers: {
|
|
31790
31755
|
[name: string]: unknown;
|
|
@@ -32724,7 +32689,7 @@ interface operations {
|
|
|
32724
32689
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
32725
32690
|
};
|
|
32726
32691
|
};
|
|
32727
|
-
/** @description Unit
|
|
32692
|
+
/** @description Unit data conflict. Data has changed since last read. */
|
|
32728
32693
|
409: {
|
|
32729
32694
|
headers: {
|
|
32730
32695
|
[name: string]: unknown;
|
|
@@ -34410,15 +34375,6 @@ interface operations {
|
|
|
34410
34375
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34411
34376
|
};
|
|
34412
34377
|
};
|
|
34413
|
-
/** @description The bundle could not be pulled from Source.Ref */
|
|
34414
|
-
422: {
|
|
34415
|
-
headers: {
|
|
34416
|
-
[name: string]: unknown;
|
|
34417
|
-
};
|
|
34418
|
-
content: {
|
|
34419
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34420
|
-
};
|
|
34421
|
-
};
|
|
34422
34378
|
/** @description Something went wrong while processing Upload. */
|
|
34423
34379
|
500: {
|
|
34424
34380
|
headers: {
|
|
@@ -34428,15 +34384,6 @@ interface operations {
|
|
|
34428
34384
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34429
34385
|
};
|
|
34430
34386
|
};
|
|
34431
|
-
/** @description Pulling the bundle from Source.Ref took too long */
|
|
34432
|
-
504: {
|
|
34433
|
-
headers: {
|
|
34434
|
-
[name: string]: unknown;
|
|
34435
|
-
};
|
|
34436
|
-
content: {
|
|
34437
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34438
|
-
};
|
|
34439
|
-
};
|
|
34440
34387
|
/** @description Unexpected error. */
|
|
34441
34388
|
default: {
|
|
34442
34389
|
headers: {
|
|
@@ -34898,7 +34845,7 @@ interface operations {
|
|
|
34898
34845
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34899
34846
|
};
|
|
34900
34847
|
};
|
|
34901
|
-
/** @description User
|
|
34848
|
+
/** @description User data conflict. Data has changed since last read. */
|
|
34902
34849
|
409: {
|
|
34903
34850
|
headers: {
|
|
34904
34851
|
[name: string]: unknown;
|
|
@@ -35519,7 +35466,7 @@ interface operations {
|
|
|
35519
35466
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
35520
35467
|
};
|
|
35521
35468
|
};
|
|
35522
|
-
/** @description View
|
|
35469
|
+
/** @description View data conflict. Data has changed since last read. */
|
|
35523
35470
|
409: {
|
|
35524
35471
|
headers: {
|
|
35525
35472
|
[name: string]: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -2314,7 +2314,7 @@ interface paths {
|
|
|
2314
2314
|
put?: never;
|
|
2315
2315
|
/**
|
|
2316
2316
|
* Upload a bundle of configuration
|
|
2317
|
-
* @description Takes a bundle of rendered configuration files,
|
|
2317
|
+
* @description Takes a bundle of rendered configuration files, splits it into resources, and makes a Space's Units, Links, and Invocations match it. Creates what is missing, 3-way merges what changed, and empties the Units of resources the bundle no longer contains, so uploading the same bundle again changes nothing. Every resource becomes its own Unit.
|
|
2318
2318
|
*/
|
|
2319
2319
|
post: operations["Upload"];
|
|
2320
2320
|
delete?: never;
|
|
@@ -5991,14 +5991,6 @@ interface components {
|
|
|
5991
5991
|
/** @description References that resolved to no resource in the bundle. */
|
|
5992
5992
|
UnmatchedReferences?: components["schemas"]["UploadUnmatchedReference"][];
|
|
5993
5993
|
};
|
|
5994
|
-
UploadDuplicate: {
|
|
5995
|
-
/** @description The other Units that define the resource. */
|
|
5996
|
-
Others?: components["schemas"]["UploadUnitRef"][];
|
|
5997
|
-
/** @description The resource identity, as in UploadUnitResult.Resource. */
|
|
5998
|
-
Resource?: string;
|
|
5999
|
-
/** @description The slug of this upload's Unit for the resource. */
|
|
6000
|
-
Slug?: string;
|
|
6001
|
-
};
|
|
6002
5994
|
UploadLinkResult: {
|
|
6003
5995
|
/** @description Create or Unchanged. */
|
|
6004
5996
|
Action?: string;
|
|
@@ -6018,12 +6010,6 @@ interface components {
|
|
|
6018
6010
|
/** @description The release Namespace the bundle already carries. */
|
|
6019
6011
|
Namespace?: string;
|
|
6020
6012
|
};
|
|
6021
|
-
UploadRegistryCredentials: {
|
|
6022
|
-
/** @description The password, or an access token for registries that issue them. */
|
|
6023
|
-
Password?: string;
|
|
6024
|
-
/** @description The registry username. */
|
|
6025
|
-
Username?: string;
|
|
6026
|
-
};
|
|
6027
6013
|
UploadRequest: {
|
|
6028
6014
|
/** @description Recorded on each Unit write. */
|
|
6029
6015
|
ChangeDescription?: string;
|
|
@@ -6036,7 +6022,7 @@ interface components {
|
|
|
6036
6022
|
ChangeSetID?: string;
|
|
6037
6023
|
/** @description Placement of each component. Exactly one is supported. */
|
|
6038
6024
|
Components?: components["schemas"]["UploadComponentRequest"][];
|
|
6039
|
-
/** @description The bundle's files. Paths must be relative and may not contain "..".
|
|
6025
|
+
/** @description The bundle's files. Paths must be relative and may not contain "..". */
|
|
6040
6026
|
Files?: components["schemas"]["UploadRequestFile"][];
|
|
6041
6027
|
Source?: components["schemas"]["UploadSourceInfo"];
|
|
6042
6028
|
/** @description Labels applied to every Space, merge-patch: keys given are set, keys omitted are left alone. */
|
|
@@ -6058,18 +6044,13 @@ interface components {
|
|
|
6058
6044
|
DryRun?: boolean;
|
|
6059
6045
|
/** @description Digest of the planned actions. */
|
|
6060
6046
|
Plan?: string;
|
|
6061
|
-
/** @description The digest of the manifest the server pulled, when Source.Pull was set. Send it as Source.Digest to upload exactly the bundle a dry run read. */
|
|
6062
|
-
SourceDigest?: string;
|
|
6063
6047
|
};
|
|
6064
6048
|
UploadSourceInfo: {
|
|
6065
6049
|
/** @description The client that uploaded: cub, installer, ui. */
|
|
6066
6050
|
Client?: string;
|
|
6067
6051
|
ClientVersion?: string;
|
|
6068
|
-
Credentials?: components["schemas"]["UploadRegistryCredentials"];
|
|
6069
6052
|
/** @description The resolved digest, when the transport has one. */
|
|
6070
6053
|
Digest?: string;
|
|
6071
|
-
/** @description Fetch the bundle from Ref, an oci:// reference, instead of taking Files. With Digest set, that manifest is fetched rather than whatever Ref's tag names now. */
|
|
6072
|
-
Pull?: boolean;
|
|
6073
6054
|
/** @description Where the bundle came from, e.g. oci://ghcr.io/confighub/configs/cubbychat:1.4.0 or a local path. */
|
|
6074
6055
|
Ref?: string;
|
|
6075
6056
|
};
|
|
@@ -6082,8 +6063,6 @@ interface components {
|
|
|
6082
6063
|
* @example 248df4b7-aa70-47b8-a036-33ac447e668d
|
|
6083
6064
|
*/
|
|
6084
6065
|
ChangeSetID?: string;
|
|
6085
|
-
/** @description Resources this upload writes that other Units deployed to the same Target also define: the Space's other Units, and when the Space has a Target, Units elsewhere on that Target. */
|
|
6086
|
-
Duplicates?: components["schemas"]["UploadDuplicate"][];
|
|
6087
6066
|
Links?: components["schemas"]["UploadLinkResult"][];
|
|
6088
6067
|
Namespace?: string;
|
|
6089
6068
|
/**
|
|
@@ -6095,20 +6074,6 @@ interface components {
|
|
|
6095
6074
|
SpaceSlug?: string;
|
|
6096
6075
|
Units?: components["schemas"]["UploadUnitResult"][];
|
|
6097
6076
|
};
|
|
6098
|
-
UploadUnitRef: {
|
|
6099
|
-
/**
|
|
6100
|
-
* Format: uuid
|
|
6101
|
-
* @example 248df4b7-aa70-47b8-a036-33ac447e668d
|
|
6102
|
-
*/
|
|
6103
|
-
SpaceID?: string;
|
|
6104
|
-
SpaceSlug?: string;
|
|
6105
|
-
/**
|
|
6106
|
-
* Format: uuid
|
|
6107
|
-
* @example 248df4b7-aa70-47b8-a036-33ac447e668d
|
|
6108
|
-
*/
|
|
6109
|
-
UnitID?: string;
|
|
6110
|
-
UnitSlug?: string;
|
|
6111
|
-
};
|
|
6112
6077
|
UploadUnitResult: {
|
|
6113
6078
|
/** @description Create, Update, Unchanged, Empty, Revive, or Adopt. */
|
|
6114
6079
|
Action?: string;
|
|
@@ -6689,7 +6654,7 @@ interface operations {
|
|
|
6689
6654
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
6690
6655
|
};
|
|
6691
6656
|
};
|
|
6692
|
-
/** @description Space
|
|
6657
|
+
/** @description Space data conflict. Data has changed since last read. */
|
|
6693
6658
|
409: {
|
|
6694
6659
|
headers: {
|
|
6695
6660
|
[name: string]: unknown;
|
|
@@ -7515,7 +7480,7 @@ interface operations {
|
|
|
7515
7480
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
7516
7481
|
};
|
|
7517
7482
|
};
|
|
7518
|
-
/** @description Attribute
|
|
7483
|
+
/** @description Attribute data conflict. Data has changed since last read. */
|
|
7519
7484
|
409: {
|
|
7520
7485
|
headers: {
|
|
7521
7486
|
[name: string]: unknown;
|
|
@@ -8018,7 +7983,7 @@ interface operations {
|
|
|
8018
7983
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
8019
7984
|
};
|
|
8020
7985
|
};
|
|
8021
|
-
/** @description BridgeWorker
|
|
7986
|
+
/** @description BridgeWorker data conflict. Data has changed since last read. */
|
|
8022
7987
|
409: {
|
|
8023
7988
|
headers: {
|
|
8024
7989
|
[name: string]: unknown;
|
|
@@ -9169,7 +9134,7 @@ interface operations {
|
|
|
9169
9134
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
9170
9135
|
};
|
|
9171
9136
|
};
|
|
9172
|
-
/** @description ChangeOrder
|
|
9137
|
+
/** @description ChangeOrder data conflict. Data has changed since last read. */
|
|
9173
9138
|
409: {
|
|
9174
9139
|
headers: {
|
|
9175
9140
|
[name: string]: unknown;
|
|
@@ -9996,7 +9961,7 @@ interface operations {
|
|
|
9996
9961
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
9997
9962
|
};
|
|
9998
9963
|
};
|
|
9999
|
-
/** @description ChangeSet
|
|
9964
|
+
/** @description ChangeSet data conflict. Data has changed since last read. */
|
|
10000
9965
|
409: {
|
|
10001
9966
|
headers: {
|
|
10002
9967
|
[name: string]: unknown;
|
|
@@ -10815,7 +10780,7 @@ interface operations {
|
|
|
10815
10780
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
10816
10781
|
};
|
|
10817
10782
|
};
|
|
10818
|
-
/** @description ChangeWorkflow
|
|
10783
|
+
/** @description ChangeWorkflow data conflict. Data has changed since last read. */
|
|
10819
10784
|
409: {
|
|
10820
10785
|
headers: {
|
|
10821
10786
|
[name: string]: unknown;
|
|
@@ -11643,7 +11608,7 @@ interface operations {
|
|
|
11643
11608
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
11644
11609
|
};
|
|
11645
11610
|
};
|
|
11646
|
-
/** @description Filter
|
|
11611
|
+
/** @description Filter data conflict. Data has changed since last read. */
|
|
11647
11612
|
409: {
|
|
11648
11613
|
headers: {
|
|
11649
11614
|
[name: string]: unknown;
|
|
@@ -12836,7 +12801,7 @@ interface operations {
|
|
|
12836
12801
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
12837
12802
|
};
|
|
12838
12803
|
};
|
|
12839
|
-
/** @description Invocation
|
|
12804
|
+
/** @description Invocation data conflict. Data has changed since last read. */
|
|
12840
12805
|
409: {
|
|
12841
12806
|
headers: {
|
|
12842
12807
|
[name: string]: unknown;
|
|
@@ -13682,7 +13647,7 @@ interface operations {
|
|
|
13682
13647
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
13683
13648
|
};
|
|
13684
13649
|
};
|
|
13685
|
-
/** @description Link
|
|
13650
|
+
/** @description Link data conflict. Data has changed since last read. */
|
|
13686
13651
|
409: {
|
|
13687
13652
|
headers: {
|
|
13688
13653
|
[name: string]: unknown;
|
|
@@ -14401,7 +14366,7 @@ interface operations {
|
|
|
14401
14366
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
14402
14367
|
};
|
|
14403
14368
|
};
|
|
14404
|
-
/** @description OAuthClient
|
|
14369
|
+
/** @description OAuthClient data conflict. Data has changed since last read. */
|
|
14405
14370
|
409: {
|
|
14406
14371
|
headers: {
|
|
14407
14372
|
[name: string]: unknown;
|
|
@@ -14943,7 +14908,7 @@ interface operations {
|
|
|
14943
14908
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
14944
14909
|
};
|
|
14945
14910
|
};
|
|
14946
|
-
/** @description Organization
|
|
14911
|
+
/** @description Organization data conflict. Data has changed since last read. */
|
|
14947
14912
|
409: {
|
|
14948
14913
|
headers: {
|
|
14949
14914
|
[name: string]: unknown;
|
|
@@ -15359,7 +15324,7 @@ interface operations {
|
|
|
15359
15324
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
15360
15325
|
};
|
|
15361
15326
|
};
|
|
15362
|
-
/** @description OrganizationMember
|
|
15327
|
+
/** @description OrganizationMember data conflict. Data has changed since last read. */
|
|
15363
15328
|
409: {
|
|
15364
15329
|
headers: {
|
|
15365
15330
|
[name: string]: unknown;
|
|
@@ -16867,7 +16832,7 @@ interface operations {
|
|
|
16867
16832
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
16868
16833
|
};
|
|
16869
16834
|
};
|
|
16870
|
-
/** @description Space
|
|
16835
|
+
/** @description Space data conflict. Data has changed since last read. */
|
|
16871
16836
|
409: {
|
|
16872
16837
|
headers: {
|
|
16873
16838
|
[name: string]: unknown;
|
|
@@ -17554,7 +17519,7 @@ interface operations {
|
|
|
17554
17519
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
17555
17520
|
};
|
|
17556
17521
|
};
|
|
17557
|
-
/** @description Attribute
|
|
17522
|
+
/** @description Attribute data conflict. Data has changed since last read. */
|
|
17558
17523
|
409: {
|
|
17559
17524
|
headers: {
|
|
17560
17525
|
[name: string]: unknown;
|
|
@@ -18247,7 +18212,7 @@ interface operations {
|
|
|
18247
18212
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
18248
18213
|
};
|
|
18249
18214
|
};
|
|
18250
|
-
/** @description BridgeWorker
|
|
18215
|
+
/** @description BridgeWorker data conflict. Data has changed since last read. */
|
|
18251
18216
|
409: {
|
|
18252
18217
|
headers: {
|
|
18253
18218
|
[name: string]: unknown;
|
|
@@ -19116,7 +19081,7 @@ interface operations {
|
|
|
19116
19081
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
19117
19082
|
};
|
|
19118
19083
|
};
|
|
19119
|
-
/** @description ChangeOrder
|
|
19084
|
+
/** @description ChangeOrder data conflict. Data has changed since last read. */
|
|
19120
19085
|
409: {
|
|
19121
19086
|
headers: {
|
|
19122
19087
|
[name: string]: unknown;
|
|
@@ -19795,7 +19760,7 @@ interface operations {
|
|
|
19795
19760
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
19796
19761
|
};
|
|
19797
19762
|
};
|
|
19798
|
-
/** @description ChangeSet
|
|
19763
|
+
/** @description ChangeSet data conflict. Data has changed since last read. */
|
|
19799
19764
|
409: {
|
|
19800
19765
|
headers: {
|
|
19801
19766
|
[name: string]: unknown;
|
|
@@ -20461,7 +20426,7 @@ interface operations {
|
|
|
20461
20426
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
20462
20427
|
};
|
|
20463
20428
|
};
|
|
20464
|
-
/** @description ChangeWorkflow
|
|
20429
|
+
/** @description ChangeWorkflow data conflict. Data has changed since last read. */
|
|
20465
20430
|
409: {
|
|
20466
20431
|
headers: {
|
|
20467
20432
|
[name: string]: unknown;
|
|
@@ -21136,7 +21101,7 @@ interface operations {
|
|
|
21136
21101
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
21137
21102
|
};
|
|
21138
21103
|
};
|
|
21139
|
-
/** @description Filter
|
|
21104
|
+
/** @description Filter data conflict. Data has changed since last read. */
|
|
21140
21105
|
409: {
|
|
21141
21106
|
headers: {
|
|
21142
21107
|
[name: string]: unknown;
|
|
@@ -22163,7 +22128,7 @@ interface operations {
|
|
|
22163
22128
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
22164
22129
|
};
|
|
22165
22130
|
};
|
|
22166
|
-
/** @description Invocation
|
|
22131
|
+
/** @description Invocation data conflict. Data has changed since last read. */
|
|
22167
22132
|
409: {
|
|
22168
22133
|
headers: {
|
|
22169
22134
|
[name: string]: unknown;
|
|
@@ -22843,7 +22808,7 @@ interface operations {
|
|
|
22843
22808
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
22844
22809
|
};
|
|
22845
22810
|
};
|
|
22846
|
-
/** @description Link
|
|
22811
|
+
/** @description Link data conflict. Data has changed since last read. */
|
|
22847
22812
|
409: {
|
|
22848
22813
|
headers: {
|
|
22849
22814
|
[name: string]: unknown;
|
|
@@ -23549,7 +23514,7 @@ interface operations {
|
|
|
23549
23514
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
23550
23515
|
};
|
|
23551
23516
|
};
|
|
23552
|
-
/** @description Release
|
|
23517
|
+
/** @description Release data conflict. Data has changed since last read. */
|
|
23553
23518
|
409: {
|
|
23554
23519
|
headers: {
|
|
23555
23520
|
[name: string]: unknown;
|
|
@@ -24386,7 +24351,7 @@ interface operations {
|
|
|
24386
24351
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
24387
24352
|
};
|
|
24388
24353
|
};
|
|
24389
|
-
/** @description Tag
|
|
24354
|
+
/** @description Tag data conflict. Data has changed since last read. */
|
|
24390
24355
|
409: {
|
|
24391
24356
|
headers: {
|
|
24392
24357
|
[name: string]: unknown;
|
|
@@ -25054,7 +25019,7 @@ interface operations {
|
|
|
25054
25019
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25055
25020
|
};
|
|
25056
25021
|
};
|
|
25057
|
-
/** @description Target
|
|
25022
|
+
/** @description Target data conflict. Data has changed since last read. */
|
|
25058
25023
|
409: {
|
|
25059
25024
|
headers: {
|
|
25060
25025
|
[name: string]: unknown;
|
|
@@ -25764,7 +25729,7 @@ interface operations {
|
|
|
25764
25729
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
25765
25730
|
};
|
|
25766
25731
|
};
|
|
25767
|
-
/** @description Trigger
|
|
25732
|
+
/** @description Trigger data conflict. Data has changed since last read. */
|
|
25768
25733
|
409: {
|
|
25769
25734
|
headers: {
|
|
25770
25735
|
[name: string]: unknown;
|
|
@@ -26608,7 +26573,7 @@ interface operations {
|
|
|
26608
26573
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
26609
26574
|
};
|
|
26610
26575
|
};
|
|
26611
|
-
/** @description Unit
|
|
26576
|
+
/** @description Unit data conflict. Data has changed since last read. */
|
|
26612
26577
|
409: {
|
|
26613
26578
|
headers: {
|
|
26614
26579
|
[name: string]: unknown;
|
|
@@ -29638,7 +29603,7 @@ interface operations {
|
|
|
29638
29603
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
29639
29604
|
};
|
|
29640
29605
|
};
|
|
29641
|
-
/** @description View
|
|
29606
|
+
/** @description View data conflict. Data has changed since last read. */
|
|
29642
29607
|
409: {
|
|
29643
29608
|
headers: {
|
|
29644
29609
|
[name: string]: unknown;
|
|
@@ -30370,7 +30335,7 @@ interface operations {
|
|
|
30370
30335
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
30371
30336
|
};
|
|
30372
30337
|
};
|
|
30373
|
-
/** @description Tag
|
|
30338
|
+
/** @description Tag data conflict. Data has changed since last read. */
|
|
30374
30339
|
409: {
|
|
30375
30340
|
headers: {
|
|
30376
30341
|
[name: string]: unknown;
|
|
@@ -30920,7 +30885,7 @@ interface operations {
|
|
|
30920
30885
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
30921
30886
|
};
|
|
30922
30887
|
};
|
|
30923
|
-
/** @description Target
|
|
30888
|
+
/** @description Target data conflict. Data has changed since last read. */
|
|
30924
30889
|
409: {
|
|
30925
30890
|
headers: {
|
|
30926
30891
|
[name: string]: unknown;
|
|
@@ -31784,7 +31749,7 @@ interface operations {
|
|
|
31784
31749
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
31785
31750
|
};
|
|
31786
31751
|
};
|
|
31787
|
-
/** @description Trigger
|
|
31752
|
+
/** @description Trigger data conflict. Data has changed since last read. */
|
|
31788
31753
|
409: {
|
|
31789
31754
|
headers: {
|
|
31790
31755
|
[name: string]: unknown;
|
|
@@ -32724,7 +32689,7 @@ interface operations {
|
|
|
32724
32689
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
32725
32690
|
};
|
|
32726
32691
|
};
|
|
32727
|
-
/** @description Unit
|
|
32692
|
+
/** @description Unit data conflict. Data has changed since last read. */
|
|
32728
32693
|
409: {
|
|
32729
32694
|
headers: {
|
|
32730
32695
|
[name: string]: unknown;
|
|
@@ -34410,15 +34375,6 @@ interface operations {
|
|
|
34410
34375
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34411
34376
|
};
|
|
34412
34377
|
};
|
|
34413
|
-
/** @description The bundle could not be pulled from Source.Ref */
|
|
34414
|
-
422: {
|
|
34415
|
-
headers: {
|
|
34416
|
-
[name: string]: unknown;
|
|
34417
|
-
};
|
|
34418
|
-
content: {
|
|
34419
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34420
|
-
};
|
|
34421
|
-
};
|
|
34422
34378
|
/** @description Something went wrong while processing Upload. */
|
|
34423
34379
|
500: {
|
|
34424
34380
|
headers: {
|
|
@@ -34428,15 +34384,6 @@ interface operations {
|
|
|
34428
34384
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34429
34385
|
};
|
|
34430
34386
|
};
|
|
34431
|
-
/** @description Pulling the bundle from Source.Ref took too long */
|
|
34432
|
-
504: {
|
|
34433
|
-
headers: {
|
|
34434
|
-
[name: string]: unknown;
|
|
34435
|
-
};
|
|
34436
|
-
content: {
|
|
34437
|
-
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34438
|
-
};
|
|
34439
|
-
};
|
|
34440
34387
|
/** @description Unexpected error. */
|
|
34441
34388
|
default: {
|
|
34442
34389
|
headers: {
|
|
@@ -34898,7 +34845,7 @@ interface operations {
|
|
|
34898
34845
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
34899
34846
|
};
|
|
34900
34847
|
};
|
|
34901
|
-
/** @description User
|
|
34848
|
+
/** @description User data conflict. Data has changed since last read. */
|
|
34902
34849
|
409: {
|
|
34903
34850
|
headers: {
|
|
34904
34851
|
[name: string]: unknown;
|
|
@@ -35519,7 +35466,7 @@ interface operations {
|
|
|
35519
35466
|
"application/json": components["schemas"]["StandardErrorResponse"];
|
|
35520
35467
|
};
|
|
35521
35468
|
};
|
|
35522
|
-
/** @description View
|
|
35469
|
+
/** @description View data conflict. Data has changed since last read. */
|
|
35523
35470
|
409: {
|
|
35524
35471
|
headers: {
|
|
35525
35472
|
[name: string]: unknown;
|