@alienplatform/core 3.3.41 → 3.3.42-dev.6e3a661b219b3886d55014b3cef8af0ecdcc65fe
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.ts +180 -36
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +68 -23
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/LICENSE.md +0 -105
package/dist/index.d.ts
CHANGED
|
@@ -46,6 +46,8 @@ declare const AgentStatusSchema: z$2.ZodObject<{
|
|
|
46
46
|
"delete-failed": "delete-failed";
|
|
47
47
|
"teardown-required": "teardown-required";
|
|
48
48
|
"teardown-failed": "teardown-failed";
|
|
49
|
+
"retention-required": "retention-required";
|
|
50
|
+
retained: "retained";
|
|
49
51
|
deleted: "deleted";
|
|
50
52
|
}>;
|
|
51
53
|
}, z$2.core.$strip>;
|
|
@@ -163,9 +165,9 @@ declare const AlienEventSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
163
165
|
aws: "aws";
|
|
164
166
|
azure: "azure";
|
|
165
167
|
gcp: "gcp";
|
|
168
|
+
local: "local";
|
|
166
169
|
kubernetes: "kubernetes";
|
|
167
170
|
machines: "machines";
|
|
168
|
-
local: "local";
|
|
169
171
|
test: "test";
|
|
170
172
|
}>;
|
|
171
173
|
resourcePrefix: z$2.ZodString;
|
|
@@ -179,15 +181,17 @@ declare const AlienEventSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
179
181
|
aws: "aws";
|
|
180
182
|
azure: "azure";
|
|
181
183
|
gcp: "gcp";
|
|
184
|
+
local: "local";
|
|
182
185
|
kubernetes: "kubernetes";
|
|
183
186
|
machines: "machines";
|
|
184
|
-
local: "local";
|
|
185
187
|
test: "test";
|
|
186
188
|
}>, z$2.ZodNull]>>;
|
|
187
189
|
dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
188
190
|
id: z$2.ZodString;
|
|
189
191
|
type: z$2.ZodString;
|
|
190
192
|
}, z$2.core.$strip>>>;
|
|
193
|
+
description: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
194
|
+
displayName: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
191
195
|
error: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
192
196
|
code: z$2.ZodString;
|
|
193
197
|
context: z$2.ZodOptional<z$2.ZodAny>;
|
|
@@ -210,6 +214,7 @@ declare const AlienEventSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
210
214
|
id: z$2.ZodString;
|
|
211
215
|
type: z$2.ZodString;
|
|
212
216
|
}, z$2.core.$catchall<z$2.ZodAny>>, z$2.ZodNull]>>;
|
|
217
|
+
progress: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
213
218
|
remoteBindingParams: z$2.ZodOptional<z$2.ZodAny>;
|
|
214
219
|
retryAttempt: z$2.ZodOptional<z$2.ZodInt>;
|
|
215
220
|
status: z$2.ZodEnum<{
|
|
@@ -4376,9 +4381,9 @@ declare const ComputeClusterSchema: z$2.ZodObject<{
|
|
|
4376
4381
|
aws: "aws";
|
|
4377
4382
|
azure: "azure";
|
|
4378
4383
|
gcp: "gcp";
|
|
4384
|
+
local: "local";
|
|
4379
4385
|
kubernetes: "kubernetes";
|
|
4380
4386
|
machines: "machines";
|
|
4381
|
-
local: "local";
|
|
4382
4387
|
test: "test";
|
|
4383
4388
|
}>>>>;
|
|
4384
4389
|
selectedFailureDomains: z$2.ZodOptional<z$2.ZodObject<{}, z$2.core.$catchall<z$2.ZodArray<z$2.ZodString>>>>;
|
|
@@ -6427,6 +6432,8 @@ declare const DevStatusSchema: z$2.ZodObject<{
|
|
|
6427
6432
|
"delete-failed": "delete-failed";
|
|
6428
6433
|
"teardown-required": "teardown-required";
|
|
6429
6434
|
"teardown-failed": "teardown-failed";
|
|
6435
|
+
"retention-required": "retention-required";
|
|
6436
|
+
retained: "retained";
|
|
6430
6437
|
deleted: "deleted";
|
|
6431
6438
|
}>;
|
|
6432
6439
|
}, z$2.core.$strip>>>>;
|
|
@@ -6733,9 +6740,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
6733
6740
|
aws: "aws";
|
|
6734
6741
|
azure: "azure";
|
|
6735
6742
|
gcp: "gcp";
|
|
6743
|
+
local: "local";
|
|
6736
6744
|
kubernetes: "kubernetes";
|
|
6737
6745
|
machines: "machines";
|
|
6738
|
-
local: "local";
|
|
6739
6746
|
test: "test";
|
|
6740
6747
|
}>;
|
|
6741
6748
|
resourcePrefix: z$2.ZodString;
|
|
@@ -6749,15 +6756,17 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
6749
6756
|
aws: "aws";
|
|
6750
6757
|
azure: "azure";
|
|
6751
6758
|
gcp: "gcp";
|
|
6759
|
+
local: "local";
|
|
6752
6760
|
kubernetes: "kubernetes";
|
|
6753
6761
|
machines: "machines";
|
|
6754
|
-
local: "local";
|
|
6755
6762
|
test: "test";
|
|
6756
6763
|
}>, z$2.ZodNull]>>;
|
|
6757
6764
|
dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
6758
6765
|
id: z$2.ZodString;
|
|
6759
6766
|
type: z$2.ZodString;
|
|
6760
6767
|
}, z$2.core.$strip>>>;
|
|
6768
|
+
description: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
6769
|
+
displayName: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
6761
6770
|
error: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
6762
6771
|
code: z$2.ZodString;
|
|
6763
6772
|
context: z$2.ZodOptional<z$2.ZodAny>;
|
|
@@ -6780,6 +6789,7 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
6780
6789
|
id: z$2.ZodString;
|
|
6781
6790
|
type: z$2.ZodString;
|
|
6782
6791
|
}, z$2.core.$catchall<z$2.ZodAny>>, z$2.ZodNull]>>;
|
|
6792
|
+
progress: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
6783
6793
|
remoteBindingParams: z$2.ZodOptional<z$2.ZodAny>;
|
|
6784
6794
|
retryAttempt: z$2.ZodOptional<z$2.ZodInt>;
|
|
6785
6795
|
status: z$2.ZodEnum<{
|
|
@@ -7006,9 +7016,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
7006
7016
|
aws: "aws";
|
|
7007
7017
|
azure: "azure";
|
|
7008
7018
|
gcp: "gcp";
|
|
7019
|
+
local: "local";
|
|
7009
7020
|
kubernetes: "kubernetes";
|
|
7010
7021
|
machines: "machines";
|
|
7011
|
-
local: "local";
|
|
7012
7022
|
test: "test";
|
|
7013
7023
|
}>;
|
|
7014
7024
|
resourcePrefix: z$2.ZodString;
|
|
@@ -7022,15 +7032,17 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
7022
7032
|
aws: "aws";
|
|
7023
7033
|
azure: "azure";
|
|
7024
7034
|
gcp: "gcp";
|
|
7035
|
+
local: "local";
|
|
7025
7036
|
kubernetes: "kubernetes";
|
|
7026
7037
|
machines: "machines";
|
|
7027
|
-
local: "local";
|
|
7028
7038
|
test: "test";
|
|
7029
7039
|
}>, z$2.ZodNull]>>;
|
|
7030
7040
|
dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
7031
7041
|
id: z$2.ZodString;
|
|
7032
7042
|
type: z$2.ZodString;
|
|
7033
7043
|
}, z$2.core.$strip>>>;
|
|
7044
|
+
description: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
7045
|
+
displayName: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
7034
7046
|
error: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
7035
7047
|
code: z$2.ZodString;
|
|
7036
7048
|
context: z$2.ZodOptional<z$2.ZodAny>;
|
|
@@ -7053,6 +7065,7 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
7053
7065
|
id: z$2.ZodString;
|
|
7054
7066
|
type: z$2.ZodString;
|
|
7055
7067
|
}, z$2.core.$catchall<z$2.ZodAny>>, z$2.ZodNull]>>;
|
|
7068
|
+
progress: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
7056
7069
|
remoteBindingParams: z$2.ZodOptional<z$2.ZodAny>;
|
|
7057
7070
|
retryAttempt: z$2.ZodOptional<z$2.ZodInt>;
|
|
7058
7071
|
status: z$2.ZodEnum<{
|
|
@@ -7739,6 +7752,41 @@ declare const ExternalBindingSchema: z$2.ZodUnion<readonly [z$2.ZodIntersection<
|
|
|
7739
7752
|
service: z$2.ZodEnum<{
|
|
7740
7753
|
aurora: "aurora";
|
|
7741
7754
|
}>;
|
|
7755
|
+
}, z$2.core.$strip>>, z$2.ZodIntersection<z$2.ZodLazy<z$2.ZodObject<{
|
|
7756
|
+
clusterEndpoint: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
7757
|
+
secretRef: z$2.ZodObject<{
|
|
7758
|
+
key: z$2.ZodString;
|
|
7759
|
+
name: z$2.ZodString;
|
|
7760
|
+
}, z$2.core.$strip>;
|
|
7761
|
+
}, z$2.core.$strip>]>;
|
|
7762
|
+
database: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
7763
|
+
secretRef: z$2.ZodObject<{
|
|
7764
|
+
key: z$2.ZodString;
|
|
7765
|
+
name: z$2.ZodString;
|
|
7766
|
+
}, z$2.core.$strip>;
|
|
7767
|
+
}, z$2.core.$strip>]>;
|
|
7768
|
+
passwordSecretArn: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
7769
|
+
secretRef: z$2.ZodObject<{
|
|
7770
|
+
key: z$2.ZodString;
|
|
7771
|
+
name: z$2.ZodString;
|
|
7772
|
+
}, z$2.core.$strip>;
|
|
7773
|
+
}, z$2.core.$strip>]>;
|
|
7774
|
+
port: z$2.ZodUnion<readonly [z$2.ZodInt, z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodObject<{
|
|
7775
|
+
secretRef: z$2.ZodObject<{
|
|
7776
|
+
key: z$2.ZodString;
|
|
7777
|
+
name: z$2.ZodString;
|
|
7778
|
+
}, z$2.core.$strip>;
|
|
7779
|
+
}, z$2.core.$strip>]>;
|
|
7780
|
+
username: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
7781
|
+
secretRef: z$2.ZodObject<{
|
|
7782
|
+
key: z$2.ZodString;
|
|
7783
|
+
name: z$2.ZodString;
|
|
7784
|
+
}, z$2.core.$strip>;
|
|
7785
|
+
}, z$2.core.$strip>]>;
|
|
7786
|
+
}, z$2.core.$strip>>, z$2.ZodObject<{
|
|
7787
|
+
service: z$2.ZodEnum<{
|
|
7788
|
+
"aurora-managed": "aurora-managed";
|
|
7789
|
+
}>;
|
|
7742
7790
|
}, z$2.core.$strip>>, z$2.ZodIntersection<z$2.ZodLazy<z$2.ZodObject<{
|
|
7743
7791
|
database: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
7744
7792
|
secretRef: z$2.ZodObject<{
|
|
@@ -8397,6 +8445,41 @@ declare const ExternalBindingsSchema: z$2.ZodObject<{}, z$2.core.$catchall<z$2.Z
|
|
|
8397
8445
|
service: z$2.ZodEnum<{
|
|
8398
8446
|
aurora: "aurora";
|
|
8399
8447
|
}>;
|
|
8448
|
+
}, z$2.core.$strip>>, z$2.ZodIntersection<z$2.ZodLazy<z$2.ZodObject<{
|
|
8449
|
+
clusterEndpoint: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
8450
|
+
secretRef: z$2.ZodObject<{
|
|
8451
|
+
key: z$2.ZodString;
|
|
8452
|
+
name: z$2.ZodString;
|
|
8453
|
+
}, z$2.core.$strip>;
|
|
8454
|
+
}, z$2.core.$strip>]>;
|
|
8455
|
+
database: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
8456
|
+
secretRef: z$2.ZodObject<{
|
|
8457
|
+
key: z$2.ZodString;
|
|
8458
|
+
name: z$2.ZodString;
|
|
8459
|
+
}, z$2.core.$strip>;
|
|
8460
|
+
}, z$2.core.$strip>]>;
|
|
8461
|
+
passwordSecretArn: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
8462
|
+
secretRef: z$2.ZodObject<{
|
|
8463
|
+
key: z$2.ZodString;
|
|
8464
|
+
name: z$2.ZodString;
|
|
8465
|
+
}, z$2.core.$strip>;
|
|
8466
|
+
}, z$2.core.$strip>]>;
|
|
8467
|
+
port: z$2.ZodUnion<readonly [z$2.ZodInt, z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodObject<{
|
|
8468
|
+
secretRef: z$2.ZodObject<{
|
|
8469
|
+
key: z$2.ZodString;
|
|
8470
|
+
name: z$2.ZodString;
|
|
8471
|
+
}, z$2.core.$strip>;
|
|
8472
|
+
}, z$2.core.$strip>]>;
|
|
8473
|
+
username: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
8474
|
+
secretRef: z$2.ZodObject<{
|
|
8475
|
+
key: z$2.ZodString;
|
|
8476
|
+
name: z$2.ZodString;
|
|
8477
|
+
}, z$2.core.$strip>;
|
|
8478
|
+
}, z$2.core.$strip>]>;
|
|
8479
|
+
}, z$2.core.$strip>>, z$2.ZodObject<{
|
|
8480
|
+
service: z$2.ZodEnum<{
|
|
8481
|
+
"aurora-managed": "aurora-managed";
|
|
8482
|
+
}>;
|
|
8400
8483
|
}, z$2.core.$strip>>, z$2.ZodIntersection<z$2.ZodLazy<z$2.ZodObject<{
|
|
8401
8484
|
database: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
8402
8485
|
secretRef: z$2.ZodObject<{
|
|
@@ -9459,12 +9542,12 @@ declare const HealthCheckSchema: z$2.ZodObject<{
|
|
|
9459
9542
|
}, z$2.core.$strip>;
|
|
9460
9543
|
type HealthCheck = z$2.infer<typeof HealthCheckSchema>;
|
|
9461
9544
|
declare const HeartbeatBackendSchema: z$2.ZodEnum<{
|
|
9545
|
+
external: "external";
|
|
9462
9546
|
aws: "aws";
|
|
9463
9547
|
azure: "azure";
|
|
9464
9548
|
gcp: "gcp";
|
|
9465
|
-
external: "external";
|
|
9466
|
-
kubernetes: "kubernetes";
|
|
9467
9549
|
local: "local";
|
|
9550
|
+
kubernetes: "kubernetes";
|
|
9468
9551
|
test: "test";
|
|
9469
9552
|
managed: "managed";
|
|
9470
9553
|
}>;
|
|
@@ -12385,12 +12468,12 @@ declare const ObservedHealthSchema: z$2.ZodEnum<{
|
|
|
12385
12468
|
type ObservedHealth = z$2.infer<typeof ObservedHealthSchema>;
|
|
12386
12469
|
declare const ObservedInventoryBatchSchema: z$2.ZodObject<{
|
|
12387
12470
|
backend: z$2.ZodEnum<{
|
|
12471
|
+
external: "external";
|
|
12388
12472
|
aws: "aws";
|
|
12389
12473
|
azure: "azure";
|
|
12390
12474
|
gcp: "gcp";
|
|
12391
|
-
external: "external";
|
|
12392
|
-
kubernetes: "kubernetes";
|
|
12393
12475
|
local: "local";
|
|
12476
|
+
kubernetes: "kubernetes";
|
|
12394
12477
|
test: "test";
|
|
12395
12478
|
managed: "managed";
|
|
12396
12479
|
}>;
|
|
@@ -12399,9 +12482,9 @@ declare const ObservedInventoryBatchSchema: z$2.ZodObject<{
|
|
|
12399
12482
|
aws: "aws";
|
|
12400
12483
|
azure: "azure";
|
|
12401
12484
|
gcp: "gcp";
|
|
12485
|
+
local: "local";
|
|
12402
12486
|
kubernetes: "kubernetes";
|
|
12403
12487
|
machines: "machines";
|
|
12404
|
-
local: "local";
|
|
12405
12488
|
test: "test";
|
|
12406
12489
|
}>;
|
|
12407
12490
|
inventoryScope: z$2.ZodString;
|
|
@@ -13094,9 +13177,9 @@ declare const PlatformSchema: z$2.ZodEnum<{
|
|
|
13094
13177
|
aws: "aws";
|
|
13095
13178
|
azure: "azure";
|
|
13096
13179
|
gcp: "gcp";
|
|
13180
|
+
local: "local";
|
|
13097
13181
|
kubernetes: "kubernetes";
|
|
13098
13182
|
machines: "machines";
|
|
13099
|
-
local: "local";
|
|
13100
13183
|
test: "test";
|
|
13101
13184
|
}>;
|
|
13102
13185
|
type Platform = z$2.infer<typeof PlatformSchema>;
|
|
@@ -19646,12 +19729,12 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
|
|
|
19646
19729
|
type ResourceHeartbeatData = z$2.infer<typeof ResourceHeartbeatDataSchema>;
|
|
19647
19730
|
declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
19648
19731
|
backend: z$2.ZodEnum<{
|
|
19732
|
+
external: "external";
|
|
19649
19733
|
aws: "aws";
|
|
19650
19734
|
azure: "azure";
|
|
19651
19735
|
gcp: "gcp";
|
|
19652
|
-
external: "external";
|
|
19653
|
-
kubernetes: "kubernetes";
|
|
19654
19736
|
local: "local";
|
|
19737
|
+
kubernetes: "kubernetes";
|
|
19655
19738
|
test: "test";
|
|
19656
19739
|
managed: "managed";
|
|
19657
19740
|
}>;
|
|
@@ -19659,9 +19742,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
|
19659
19742
|
aws: "aws";
|
|
19660
19743
|
azure: "azure";
|
|
19661
19744
|
gcp: "gcp";
|
|
19745
|
+
local: "local";
|
|
19662
19746
|
kubernetes: "kubernetes";
|
|
19663
19747
|
machines: "machines";
|
|
19664
|
-
local: "local";
|
|
19665
19748
|
test: "test";
|
|
19666
19749
|
}>;
|
|
19667
19750
|
data: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -26434,9 +26517,9 @@ declare const StackInputDefinitionSchema: z$2.ZodObject<{
|
|
|
26434
26517
|
aws: "aws";
|
|
26435
26518
|
azure: "azure";
|
|
26436
26519
|
gcp: "gcp";
|
|
26520
|
+
local: "local";
|
|
26437
26521
|
kubernetes: "kubernetes";
|
|
26438
26522
|
machines: "machines";
|
|
26439
|
-
local: "local";
|
|
26440
26523
|
test: "test";
|
|
26441
26524
|
}>>>>;
|
|
26442
26525
|
providedBy: z$2.ZodArray<z$2.ZodEnum<{
|
|
@@ -26533,15 +26616,17 @@ declare const StackResourceStateSchema: z$2.ZodObject<{
|
|
|
26533
26616
|
aws: "aws";
|
|
26534
26617
|
azure: "azure";
|
|
26535
26618
|
gcp: "gcp";
|
|
26619
|
+
local: "local";
|
|
26536
26620
|
kubernetes: "kubernetes";
|
|
26537
26621
|
machines: "machines";
|
|
26538
|
-
local: "local";
|
|
26539
26622
|
test: "test";
|
|
26540
26623
|
}>, z$2.ZodNull]>>;
|
|
26541
26624
|
dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
26542
26625
|
id: z$2.ZodString;
|
|
26543
26626
|
type: z$2.ZodString;
|
|
26544
26627
|
}, z$2.core.$strip>>>;
|
|
26628
|
+
description: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
26629
|
+
displayName: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
26545
26630
|
error: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
26546
26631
|
code: z$2.ZodString;
|
|
26547
26632
|
context: z$2.ZodOptional<z$2.ZodAny>;
|
|
@@ -26564,6 +26649,7 @@ declare const StackResourceStateSchema: z$2.ZodObject<{
|
|
|
26564
26649
|
id: z$2.ZodString;
|
|
26565
26650
|
type: z$2.ZodString;
|
|
26566
26651
|
}, z$2.core.$catchall<z$2.ZodAny>>, z$2.ZodNull]>>;
|
|
26652
|
+
progress: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
26567
26653
|
remoteBindingParams: z$2.ZodOptional<z$2.ZodAny>;
|
|
26568
26654
|
retryAttempt: z$2.ZodOptional<z$2.ZodInt>;
|
|
26569
26655
|
status: z$2.ZodEnum<{
|
|
@@ -26639,9 +26725,9 @@ declare const StackSchema: z$2.ZodObject<{
|
|
|
26639
26725
|
aws: "aws";
|
|
26640
26726
|
azure: "azure";
|
|
26641
26727
|
gcp: "gcp";
|
|
26728
|
+
local: "local";
|
|
26642
26729
|
kubernetes: "kubernetes";
|
|
26643
26730
|
machines: "machines";
|
|
26644
|
-
local: "local";
|
|
26645
26731
|
test: "test";
|
|
26646
26732
|
}>>>>;
|
|
26647
26733
|
providedBy: z$2.ZodArray<z$2.ZodEnum<{
|
|
@@ -26957,6 +27043,8 @@ declare const StackSchema: z$2.ZodObject<{
|
|
|
26957
27043
|
id: z$2.ZodString;
|
|
26958
27044
|
type: z$2.ZodString;
|
|
26959
27045
|
}, z$2.core.$strip>>;
|
|
27046
|
+
description: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
27047
|
+
displayName: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
26960
27048
|
enabledWhen: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
26961
27049
|
lifecycle: z$2.ZodEnum<{
|
|
26962
27050
|
frozen: "frozen";
|
|
@@ -26968,9 +27056,9 @@ declare const StackSchema: z$2.ZodObject<{
|
|
|
26968
27056
|
aws: "aws";
|
|
26969
27057
|
azure: "azure";
|
|
26970
27058
|
gcp: "gcp";
|
|
27059
|
+
local: "local";
|
|
26971
27060
|
kubernetes: "kubernetes";
|
|
26972
27061
|
machines: "machines";
|
|
26973
|
-
local: "local";
|
|
26974
27062
|
test: "test";
|
|
26975
27063
|
}>>>>;
|
|
26976
27064
|
}, z$2.core.$strip>;
|
|
@@ -27547,6 +27635,41 @@ declare const StackSettingsSchema: z$2.ZodObject<{
|
|
|
27547
27635
|
service: z$2.ZodEnum<{
|
|
27548
27636
|
aurora: "aurora";
|
|
27549
27637
|
}>;
|
|
27638
|
+
}, z$2.core.$strip>>, z$2.ZodIntersection<z$2.ZodLazy<z$2.ZodObject<{
|
|
27639
|
+
clusterEndpoint: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
27640
|
+
secretRef: z$2.ZodObject<{
|
|
27641
|
+
key: z$2.ZodString;
|
|
27642
|
+
name: z$2.ZodString;
|
|
27643
|
+
}, z$2.core.$strip>;
|
|
27644
|
+
}, z$2.core.$strip>]>;
|
|
27645
|
+
database: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
27646
|
+
secretRef: z$2.ZodObject<{
|
|
27647
|
+
key: z$2.ZodString;
|
|
27648
|
+
name: z$2.ZodString;
|
|
27649
|
+
}, z$2.core.$strip>;
|
|
27650
|
+
}, z$2.core.$strip>]>;
|
|
27651
|
+
passwordSecretArn: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
27652
|
+
secretRef: z$2.ZodObject<{
|
|
27653
|
+
key: z$2.ZodString;
|
|
27654
|
+
name: z$2.ZodString;
|
|
27655
|
+
}, z$2.core.$strip>;
|
|
27656
|
+
}, z$2.core.$strip>]>;
|
|
27657
|
+
port: z$2.ZodUnion<readonly [z$2.ZodInt, z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodObject<{
|
|
27658
|
+
secretRef: z$2.ZodObject<{
|
|
27659
|
+
key: z$2.ZodString;
|
|
27660
|
+
name: z$2.ZodString;
|
|
27661
|
+
}, z$2.core.$strip>;
|
|
27662
|
+
}, z$2.core.$strip>]>;
|
|
27663
|
+
username: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
27664
|
+
secretRef: z$2.ZodObject<{
|
|
27665
|
+
key: z$2.ZodString;
|
|
27666
|
+
name: z$2.ZodString;
|
|
27667
|
+
}, z$2.core.$strip>;
|
|
27668
|
+
}, z$2.core.$strip>]>;
|
|
27669
|
+
}, z$2.core.$strip>>, z$2.ZodObject<{
|
|
27670
|
+
service: z$2.ZodEnum<{
|
|
27671
|
+
"aurora-managed": "aurora-managed";
|
|
27672
|
+
}>;
|
|
27550
27673
|
}, z$2.core.$strip>>, z$2.ZodIntersection<z$2.ZodLazy<z$2.ZodObject<{
|
|
27551
27674
|
database: z$2.ZodUnion<readonly [z$2.ZodLazy<z$2.ZodJSONSchema>, z$2.ZodString, z$2.ZodObject<{
|
|
27552
27675
|
secretRef: z$2.ZodObject<{
|
|
@@ -27981,9 +28104,9 @@ declare const StackStateSchema: z$2.ZodObject<{
|
|
|
27981
28104
|
aws: "aws";
|
|
27982
28105
|
azure: "azure";
|
|
27983
28106
|
gcp: "gcp";
|
|
28107
|
+
local: "local";
|
|
27984
28108
|
kubernetes: "kubernetes";
|
|
27985
28109
|
machines: "machines";
|
|
27986
|
-
local: "local";
|
|
27987
28110
|
test: "test";
|
|
27988
28111
|
}>;
|
|
27989
28112
|
resourcePrefix: z$2.ZodString;
|
|
@@ -27997,15 +28120,17 @@ declare const StackStateSchema: z$2.ZodObject<{
|
|
|
27997
28120
|
aws: "aws";
|
|
27998
28121
|
azure: "azure";
|
|
27999
28122
|
gcp: "gcp";
|
|
28123
|
+
local: "local";
|
|
28000
28124
|
kubernetes: "kubernetes";
|
|
28001
28125
|
machines: "machines";
|
|
28002
|
-
local: "local";
|
|
28003
28126
|
test: "test";
|
|
28004
28127
|
}>, z$2.ZodNull]>>;
|
|
28005
28128
|
dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
28006
28129
|
id: z$2.ZodString;
|
|
28007
28130
|
type: z$2.ZodString;
|
|
28008
28131
|
}, z$2.core.$strip>>>;
|
|
28132
|
+
description: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
28133
|
+
displayName: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
28009
28134
|
error: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
28010
28135
|
code: z$2.ZodString;
|
|
28011
28136
|
context: z$2.ZodOptional<z$2.ZodAny>;
|
|
@@ -28028,6 +28153,7 @@ declare const StackStateSchema: z$2.ZodObject<{
|
|
|
28028
28153
|
id: z$2.ZodString;
|
|
28029
28154
|
type: z$2.ZodString;
|
|
28030
28155
|
}, z$2.core.$catchall<z$2.ZodAny>>, z$2.ZodNull]>>;
|
|
28156
|
+
progress: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
28031
28157
|
remoteBindingParams: z$2.ZodOptional<z$2.ZodAny>;
|
|
28032
28158
|
retryAttempt: z$2.ZodOptional<z$2.ZodInt>;
|
|
28033
28159
|
status: z$2.ZodEnum<{
|
|
@@ -29728,12 +29854,14 @@ declare class Resource {
|
|
|
29728
29854
|
* ungated ones, which shows up in the stack snapshots.
|
|
29729
29855
|
*/
|
|
29730
29856
|
readonly enabledWhen?: string;
|
|
29857
|
+
readonly displayName?: string;
|
|
29858
|
+
readonly description?: string;
|
|
29731
29859
|
/**
|
|
29732
29860
|
* Creates a new Resource instance.
|
|
29733
29861
|
* @param config The configuration object for this specific resource type.
|
|
29734
29862
|
* @param enabledWhen Id of the boolean stack input gating this resource's creation.
|
|
29735
29863
|
*/
|
|
29736
|
-
constructor(config: BaseResource, enabledWhen?: string);
|
|
29864
|
+
constructor(config: BaseResource, enabledWhen?: string, displayName?: string, description?: string);
|
|
29737
29865
|
/**
|
|
29738
29866
|
* Returns a reference to this resource.
|
|
29739
29867
|
* A resource reference is used to link resources together (e.g., granting a Worker access to a Storage bucket).
|
|
@@ -29742,10 +29870,19 @@ declare class Resource {
|
|
|
29742
29870
|
ref(): ResourceRef;
|
|
29743
29871
|
}
|
|
29744
29872
|
/**
|
|
29745
|
-
*
|
|
29746
|
-
* `.enabled()` gate without each builder reimplementing it.
|
|
29873
|
+
* Shared display metadata for resource builders.
|
|
29747
29874
|
*/
|
|
29748
|
-
declare abstract class
|
|
29875
|
+
declare abstract class ResourceMetadataBuilder {
|
|
29876
|
+
private _displayName?;
|
|
29877
|
+
private _description?;
|
|
29878
|
+
/** Sets a friendly name; the resource ID remains its stable identity. */
|
|
29879
|
+
displayName(name: string): this;
|
|
29880
|
+
/** Describes this resource's purpose as plain text. */
|
|
29881
|
+
description(description: string): this;
|
|
29882
|
+
protected resource(config: BaseResource, enabledWhen?: string): Resource;
|
|
29883
|
+
}
|
|
29884
|
+
/** Shared conditional creation for resource types that support gates. */
|
|
29885
|
+
declare abstract class ResourceBuilder extends ResourceMetadataBuilder {
|
|
29749
29886
|
private _enabledWhen?;
|
|
29750
29887
|
/**
|
|
29751
29888
|
* Creates this resource only when the given boolean stack input is true.
|
|
@@ -29793,7 +29930,7 @@ declare class AI extends ResourceBuilder {
|
|
|
29793
29930
|
* This is a high-level wrapper resource that provides a cloud-agnostic interface over
|
|
29794
29931
|
* AWS ECR, GCP Artifact Registry, and Azure Container Registry.
|
|
29795
29932
|
*/
|
|
29796
|
-
declare class ArtifactRegistry {
|
|
29933
|
+
declare class ArtifactRegistry extends ResourceMetadataBuilder {
|
|
29797
29934
|
private _config;
|
|
29798
29935
|
/**
|
|
29799
29936
|
* Creates a new ArtifactRegistry builder.
|
|
@@ -29807,11 +29944,9 @@ declare class ArtifactRegistry {
|
|
|
29807
29944
|
*/
|
|
29808
29945
|
static any(): ResourceType;
|
|
29809
29946
|
/**
|
|
29810
|
-
* AWS
|
|
29811
|
-
*
|
|
29812
|
-
*
|
|
29813
|
-
* compute runs in a different region).
|
|
29814
|
-
* @param regions - AWS region codes to replicate to (e.g., ["us-east-2", "eu-west-1"])
|
|
29947
|
+
* Legacy AWS replication setting. Accepted with a warning; account replication is unchanged.
|
|
29948
|
+
* Configure destination regions through the account infrastructure owner.
|
|
29949
|
+
* @deprecated Per-deployment ECR replication is unsupported.
|
|
29815
29950
|
*/
|
|
29816
29951
|
replicationRegions(regions: string[]): this;
|
|
29817
29952
|
/**
|
|
@@ -29826,7 +29961,7 @@ declare class ArtifactRegistry {
|
|
|
29826
29961
|
* Builds are designed to be stateless and can be triggered on-demand to compile,
|
|
29827
29962
|
* test, or package application code.
|
|
29828
29963
|
*/
|
|
29829
|
-
declare class Build {
|
|
29964
|
+
declare class Build extends ResourceMetadataBuilder {
|
|
29830
29965
|
private _config;
|
|
29831
29966
|
/**
|
|
29832
29967
|
* Creates a new Build builder.
|
|
@@ -30394,7 +30529,7 @@ type ComputePoolInput = {
|
|
|
30394
30529
|
* Provider instance types, selected zones, custom container CIDRs, GPU, and
|
|
30395
30530
|
* nested virtualization requirements are unsupported and fail validation.
|
|
30396
30531
|
*/
|
|
30397
|
-
declare class ComputeCluster {
|
|
30532
|
+
declare class ComputeCluster extends ResourceMetadataBuilder {
|
|
30398
30533
|
private _config;
|
|
30399
30534
|
constructor(id: string);
|
|
30400
30535
|
/**
|
|
@@ -31642,8 +31777,16 @@ declare class Postgres extends ResourceBuilder {
|
|
|
31642
31777
|
*/
|
|
31643
31778
|
cpu(value: string): this;
|
|
31644
31779
|
/**
|
|
31645
|
-
* Requests memory (e.g. "
|
|
31780
|
+
* Requests memory (e.g. "2Gi", "8Gi"). Drives the size on AWS (the ACU ceiling) and, together
|
|
31646
31781
|
* with `cpu`, the tier on GCP and Azure.
|
|
31782
|
+
*
|
|
31783
|
+
* Use binary units: Ki, Mi, Gi or Ti (e.g. "512Mi", "4Gi"). Decimal units are powers of 1000,
|
|
31784
|
+
* as in Kubernetes: "8G" is 8×10^9 bytes, about 7.45 GiB, so it can pick a smaller tier than
|
|
31785
|
+
* "8Gi". A number without a unit retains its historical meaning in GiB.
|
|
31786
|
+
*
|
|
31787
|
+
* On AWS (Aurora Serverless v2) the ceiling is memory / 2 GiB per ACU, with a minimum of 1 ACU
|
|
31788
|
+
* (about 2 GiB): Aurora rejects a lower maximum capacity, so anything under "2Gi" is sized
|
|
31789
|
+
* up to 1 ACU.
|
|
31647
31790
|
* @param value The requested memory.
|
|
31648
31791
|
* @returns The Postgres builder instance.
|
|
31649
31792
|
*/
|
|
@@ -31656,6 +31799,7 @@ declare class Postgres extends ResourceBuilder {
|
|
|
31656
31799
|
storage(value: string): this;
|
|
31657
31800
|
/**
|
|
31658
31801
|
* Enables multi-AZ / regional / zone-redundant high availability. Default `false`.
|
|
31802
|
+
* AWS currently keeps one Aurora compute instance and warns when this is true.
|
|
31659
31803
|
* @param value Whether to enable HA.
|
|
31660
31804
|
* @returns The Postgres builder instance.
|
|
31661
31805
|
*/
|
|
@@ -31783,7 +31927,7 @@ declare class Sandbox extends ResourceBuilder {
|
|
|
31783
31927
|
* .build()
|
|
31784
31928
|
* ```
|
|
31785
31929
|
*/
|
|
31786
|
-
declare class ServiceAccount {
|
|
31930
|
+
declare class ServiceAccount extends ResourceMetadataBuilder {
|
|
31787
31931
|
private _config;
|
|
31788
31932
|
/**
|
|
31789
31933
|
* Creates a new ServiceAccount builder.
|