@alienplatform/core 3.3.40 → 3.3.42

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 CHANGED
@@ -163,9 +163,9 @@ declare const AlienEventSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
163
163
  aws: "aws";
164
164
  azure: "azure";
165
165
  gcp: "gcp";
166
+ local: "local";
166
167
  kubernetes: "kubernetes";
167
168
  machines: "machines";
168
- local: "local";
169
169
  test: "test";
170
170
  }>;
171
171
  resourcePrefix: z$2.ZodString;
@@ -179,9 +179,9 @@ declare const AlienEventSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
179
179
  aws: "aws";
180
180
  azure: "azure";
181
181
  gcp: "gcp";
182
+ local: "local";
182
183
  kubernetes: "kubernetes";
183
184
  machines: "machines";
184
- local: "local";
185
185
  test: "test";
186
186
  }>, z$2.ZodNull]>>;
187
187
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -4376,9 +4376,9 @@ declare const ComputeClusterSchema: z$2.ZodObject<{
4376
4376
  aws: "aws";
4377
4377
  azure: "azure";
4378
4378
  gcp: "gcp";
4379
+ local: "local";
4379
4380
  kubernetes: "kubernetes";
4380
4381
  machines: "machines";
4381
- local: "local";
4382
4382
  test: "test";
4383
4383
  }>>>>;
4384
4384
  selectedFailureDomains: z$2.ZodOptional<z$2.ZodObject<{}, z$2.core.$catchall<z$2.ZodArray<z$2.ZodString>>>>;
@@ -6733,9 +6733,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
6733
6733
  aws: "aws";
6734
6734
  azure: "azure";
6735
6735
  gcp: "gcp";
6736
+ local: "local";
6736
6737
  kubernetes: "kubernetes";
6737
6738
  machines: "machines";
6738
- local: "local";
6739
6739
  test: "test";
6740
6740
  }>;
6741
6741
  resourcePrefix: z$2.ZodString;
@@ -6749,9 +6749,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
6749
6749
  aws: "aws";
6750
6750
  azure: "azure";
6751
6751
  gcp: "gcp";
6752
+ local: "local";
6752
6753
  kubernetes: "kubernetes";
6753
6754
  machines: "machines";
6754
- local: "local";
6755
6755
  test: "test";
6756
6756
  }>, z$2.ZodNull]>>;
6757
6757
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -7006,9 +7006,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
7006
7006
  aws: "aws";
7007
7007
  azure: "azure";
7008
7008
  gcp: "gcp";
7009
+ local: "local";
7009
7010
  kubernetes: "kubernetes";
7010
7011
  machines: "machines";
7011
- local: "local";
7012
7012
  test: "test";
7013
7013
  }>;
7014
7014
  resourcePrefix: z$2.ZodString;
@@ -7022,9 +7022,9 @@ declare const EventChangeSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
7022
7022
  aws: "aws";
7023
7023
  azure: "azure";
7024
7024
  gcp: "gcp";
7025
+ local: "local";
7025
7026
  kubernetes: "kubernetes";
7026
7027
  machines: "machines";
7027
- local: "local";
7028
7028
  test: "test";
7029
7029
  }>, z$2.ZodNull]>>;
7030
7030
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -9463,8 +9463,8 @@ declare const HeartbeatBackendSchema: z$2.ZodEnum<{
9463
9463
  aws: "aws";
9464
9464
  azure: "azure";
9465
9465
  gcp: "gcp";
9466
- kubernetes: "kubernetes";
9467
9466
  local: "local";
9467
+ kubernetes: "kubernetes";
9468
9468
  test: "test";
9469
9469
  managed: "managed";
9470
9470
  }>;
@@ -12389,8 +12389,8 @@ declare const ObservedInventoryBatchSchema: z$2.ZodObject<{
12389
12389
  aws: "aws";
12390
12390
  azure: "azure";
12391
12391
  gcp: "gcp";
12392
- kubernetes: "kubernetes";
12393
12392
  local: "local";
12393
+ kubernetes: "kubernetes";
12394
12394
  test: "test";
12395
12395
  managed: "managed";
12396
12396
  }>;
@@ -12399,9 +12399,9 @@ declare const ObservedInventoryBatchSchema: z$2.ZodObject<{
12399
12399
  aws: "aws";
12400
12400
  azure: "azure";
12401
12401
  gcp: "gcp";
12402
+ local: "local";
12402
12403
  kubernetes: "kubernetes";
12403
12404
  machines: "machines";
12404
- local: "local";
12405
12405
  test: "test";
12406
12406
  }>;
12407
12407
  inventoryScope: z$2.ZodString;
@@ -13094,9 +13094,9 @@ declare const PlatformSchema: z$2.ZodEnum<{
13094
13094
  aws: "aws";
13095
13095
  azure: "azure";
13096
13096
  gcp: "gcp";
13097
+ local: "local";
13097
13098
  kubernetes: "kubernetes";
13098
13099
  machines: "machines";
13099
- local: "local";
13100
13100
  test: "test";
13101
13101
  }>;
13102
13102
  type Platform = z$2.infer<typeof PlatformSchema>;
@@ -19650,8 +19650,8 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
19650
19650
  aws: "aws";
19651
19651
  azure: "azure";
19652
19652
  gcp: "gcp";
19653
- kubernetes: "kubernetes";
19654
19653
  local: "local";
19654
+ kubernetes: "kubernetes";
19655
19655
  test: "test";
19656
19656
  managed: "managed";
19657
19657
  }>;
@@ -19659,9 +19659,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
19659
19659
  aws: "aws";
19660
19660
  azure: "azure";
19661
19661
  gcp: "gcp";
19662
+ local: "local";
19662
19663
  kubernetes: "kubernetes";
19663
19664
  machines: "machines";
19664
- local: "local";
19665
19665
  test: "test";
19666
19666
  }>;
19667
19667
  data: z$2.ZodUnion<readonly [z$2.ZodObject<{
@@ -26434,9 +26434,9 @@ declare const StackInputDefinitionSchema: z$2.ZodObject<{
26434
26434
  aws: "aws";
26435
26435
  azure: "azure";
26436
26436
  gcp: "gcp";
26437
+ local: "local";
26437
26438
  kubernetes: "kubernetes";
26438
26439
  machines: "machines";
26439
- local: "local";
26440
26440
  test: "test";
26441
26441
  }>>>>;
26442
26442
  providedBy: z$2.ZodArray<z$2.ZodEnum<{
@@ -26533,9 +26533,9 @@ declare const StackResourceStateSchema: z$2.ZodObject<{
26533
26533
  aws: "aws";
26534
26534
  azure: "azure";
26535
26535
  gcp: "gcp";
26536
+ local: "local";
26536
26537
  kubernetes: "kubernetes";
26537
26538
  machines: "machines";
26538
- local: "local";
26539
26539
  test: "test";
26540
26540
  }>, z$2.ZodNull]>>;
26541
26541
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -26639,9 +26639,9 @@ declare const StackSchema: z$2.ZodObject<{
26639
26639
  aws: "aws";
26640
26640
  azure: "azure";
26641
26641
  gcp: "gcp";
26642
+ local: "local";
26642
26643
  kubernetes: "kubernetes";
26643
26644
  machines: "machines";
26644
- local: "local";
26645
26645
  test: "test";
26646
26646
  }>>>>;
26647
26647
  providedBy: z$2.ZodArray<z$2.ZodEnum<{
@@ -26968,9 +26968,9 @@ declare const StackSchema: z$2.ZodObject<{
26968
26968
  aws: "aws";
26969
26969
  azure: "azure";
26970
26970
  gcp: "gcp";
26971
+ local: "local";
26971
26972
  kubernetes: "kubernetes";
26972
26973
  machines: "machines";
26973
- local: "local";
26974
26974
  test: "test";
26975
26975
  }>>>>;
26976
26976
  }, z$2.core.$strip>;
@@ -27981,9 +27981,9 @@ declare const StackStateSchema: z$2.ZodObject<{
27981
27981
  aws: "aws";
27982
27982
  azure: "azure";
27983
27983
  gcp: "gcp";
27984
+ local: "local";
27984
27985
  kubernetes: "kubernetes";
27985
27986
  machines: "machines";
27986
- local: "local";
27987
27987
  test: "test";
27988
27988
  }>;
27989
27989
  resourcePrefix: z$2.ZodString;
@@ -27997,9 +27997,9 @@ declare const StackStateSchema: z$2.ZodObject<{
27997
27997
  aws: "aws";
27998
27998
  azure: "azure";
27999
27999
  gcp: "gcp";
28000
+ local: "local";
28000
28001
  kubernetes: "kubernetes";
28001
28002
  machines: "machines";
28002
- local: "local";
28003
28003
  test: "test";
28004
28004
  }>, z$2.ZodNull]>>;
28005
28005
  dependencies: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
@@ -31642,8 +31642,16 @@ declare class Postgres extends ResourceBuilder {
31642
31642
  */
31643
31643
  cpu(value: string): this;
31644
31644
  /**
31645
- * Requests memory (e.g. "1Gi", "8Gi"). Drives the size on AWS (the ACU ceiling) and, together
31645
+ * Requests memory (e.g. "2Gi", "8Gi"). Drives the size on AWS (the ACU ceiling) and, together
31646
31646
  * with `cpu`, the tier on GCP and Azure.
31647
+ *
31648
+ * Use binary units: Ki, Mi, Gi or Ti (e.g. "512Mi", "4Gi"). Decimal units are powers of 1000,
31649
+ * as in Kubernetes: "8G" is 8×10^9 bytes, about 7.45 GiB, so it can pick a smaller tier than
31650
+ * "8Gi". A number without a unit is rejected.
31651
+ *
31652
+ * On AWS (Aurora Serverless v2) the ceiling is memory / 2 GiB per ACU, with a minimum of 1 ACU
31653
+ * (about 2 GiB): Aurora rejects a lower maximum capacity, so anything under "2Gi" is sized
31654
+ * up to 1 ACU.
31647
31655
  * @param value The requested memory.
31648
31656
  * @returns The Postgres builder instance.
31649
31657
  */
@@ -31731,11 +31739,6 @@ declare class Sandbox extends ResourceBuilder {
31731
31739
  * opt into the gateway. They are deprecated in favor of the new values.
31732
31740
  */
31733
31741
  egress(egress: SandboxEgress): this;
31734
- /**
31735
- * @deprecated Existing supervisor enforcement is preserved. The new
31736
- * egress("internet") enables gateway enforcement and the supervisor automatically.
31737
- */
31738
- privilegedSupervisor(settings: SandboxPrivilegedSupervisor): this;
31739
31742
  /** Sets the runtime policy used when create omits one; requires egress("internet"). */
31740
31743
  defaultPolicy(policy: EgressPolicy): this;
31741
31744
  /**