@alienplatform/core 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +39 -39
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3575,9 +3575,9 @@ declare const CommandStatusResponseSchema: z$2.ZodObject<{
|
|
|
3575
3575
|
target: z$2.ZodObject<{
|
|
3576
3576
|
resourceId: z$2.ZodString;
|
|
3577
3577
|
resourceType: z$2.ZodEnum<{
|
|
3578
|
-
worker: "worker";
|
|
3579
|
-
container: "container";
|
|
3580
3578
|
daemon: "daemon";
|
|
3579
|
+
container: "container";
|
|
3580
|
+
worker: "worker";
|
|
3581
3581
|
}>;
|
|
3582
3582
|
}, z$2.core.$strip>;
|
|
3583
3583
|
}, z$2.core.$strip>;
|
|
@@ -3590,9 +3590,9 @@ type CommandStatusResponse = z$2.infer<typeof CommandStatusResponseSchema>;
|
|
|
3590
3590
|
declare const CommandTargetSchema: z$2.ZodObject<{
|
|
3591
3591
|
resourceId: z$2.ZodString;
|
|
3592
3592
|
resourceType: z$2.ZodEnum<{
|
|
3593
|
-
worker: "worker";
|
|
3594
|
-
container: "container";
|
|
3595
3593
|
daemon: "daemon";
|
|
3594
|
+
container: "container";
|
|
3595
|
+
worker: "worker";
|
|
3596
3596
|
}>;
|
|
3597
3597
|
}, z$2.core.$strip>;
|
|
3598
3598
|
type CommandTarget = z$2.infer<typeof CommandTargetSchema>;
|
|
@@ -3602,9 +3602,9 @@ type CommandTarget = z$2.infer<typeof CommandTargetSchema>;
|
|
|
3602
3602
|
* @description The kind of command-capable resource a command targets.
|
|
3603
3603
|
*/
|
|
3604
3604
|
declare const CommandTargetTypeSchema: z$2.ZodEnum<{
|
|
3605
|
-
worker: "worker";
|
|
3606
|
-
container: "container";
|
|
3607
3605
|
daemon: "daemon";
|
|
3606
|
+
container: "container";
|
|
3607
|
+
worker: "worker";
|
|
3608
3608
|
}>;
|
|
3609
3609
|
type CommandTargetType = z$2.infer<typeof CommandTargetTypeSchema>;
|
|
3610
3610
|
//#endregion
|
|
@@ -4603,8 +4603,8 @@ declare const ContainerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodInters
|
|
|
4603
4603
|
}, z$2.core.$strip>;
|
|
4604
4604
|
schedulingMode: z$2.ZodEnum<{
|
|
4605
4605
|
stateful: "stateful";
|
|
4606
|
-
daemon: "daemon";
|
|
4607
4606
|
replicated: "replicated";
|
|
4607
|
+
daemon: "daemon";
|
|
4608
4608
|
}>;
|
|
4609
4609
|
status: z$2.ZodObject<{
|
|
4610
4610
|
collectionIssues: z$2.ZodArray<z$2.ZodObject<{
|
|
@@ -4827,8 +4827,8 @@ declare const ContainerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodInters
|
|
|
4827
4827
|
value: z$2.ZodNumber;
|
|
4828
4828
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
4829
4829
|
kind: z$2.ZodEnum<{
|
|
4830
|
-
container: "container";
|
|
4831
4830
|
daemon: "daemon";
|
|
4831
|
+
container: "container";
|
|
4832
4832
|
process: "process";
|
|
4833
4833
|
}>;
|
|
4834
4834
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -5886,8 +5886,8 @@ declare const DaemonHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodIntersect
|
|
|
5886
5886
|
value: z$2.ZodNumber;
|
|
5887
5887
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
5888
5888
|
kind: z$2.ZodEnum<{
|
|
5889
|
-
container: "container";
|
|
5890
5889
|
daemon: "daemon";
|
|
5890
|
+
container: "container";
|
|
5891
5891
|
process: "process";
|
|
5892
5892
|
}>;
|
|
5893
5893
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -6365,9 +6365,9 @@ declare const EnvelopeSchema: z$2.ZodObject<{
|
|
|
6365
6365
|
target: z$2.ZodObject<{
|
|
6366
6366
|
resourceId: z$2.ZodString;
|
|
6367
6367
|
resourceType: z$2.ZodEnum<{
|
|
6368
|
-
worker: "worker";
|
|
6369
|
-
container: "container";
|
|
6370
6368
|
daemon: "daemon";
|
|
6369
|
+
container: "container";
|
|
6370
|
+
worker: "worker";
|
|
6371
6371
|
}>;
|
|
6372
6372
|
}, z$2.core.$strip>;
|
|
6373
6373
|
traceContext: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -8040,8 +8040,8 @@ declare const HorizonContainerHeartbeatDataSchema: z$2.ZodObject<{
|
|
|
8040
8040
|
}, z$2.core.$strip>;
|
|
8041
8041
|
schedulingMode: z$2.ZodEnum<{
|
|
8042
8042
|
stateful: "stateful";
|
|
8043
|
-
daemon: "daemon";
|
|
8044
8043
|
replicated: "replicated";
|
|
8044
|
+
daemon: "daemon";
|
|
8045
8045
|
}>;
|
|
8046
8046
|
status: z$2.ZodObject<{
|
|
8047
8047
|
collectionIssues: z$2.ZodArray<z$2.ZodObject<{
|
|
@@ -9332,9 +9332,9 @@ declare const LeaseInfoSchema: z$2.ZodObject<{
|
|
|
9332
9332
|
target: z$2.ZodObject<{
|
|
9333
9333
|
resourceId: z$2.ZodString;
|
|
9334
9334
|
resourceType: z$2.ZodEnum<{
|
|
9335
|
-
worker: "worker";
|
|
9336
|
-
container: "container";
|
|
9337
9335
|
daemon: "daemon";
|
|
9336
|
+
container: "container";
|
|
9337
|
+
worker: "worker";
|
|
9338
9338
|
}>;
|
|
9339
9339
|
}, z$2.core.$strip>;
|
|
9340
9340
|
traceContext: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -9358,9 +9358,9 @@ declare const LeaseRequestSchema: z$2.ZodObject<{
|
|
|
9358
9358
|
target: z$2.ZodObject<{
|
|
9359
9359
|
resourceId: z$2.ZodString;
|
|
9360
9360
|
resourceType: z$2.ZodEnum<{
|
|
9361
|
-
worker: "worker";
|
|
9362
|
-
container: "container";
|
|
9363
9361
|
daemon: "daemon";
|
|
9362
|
+
container: "container";
|
|
9363
|
+
worker: "worker";
|
|
9364
9364
|
}>;
|
|
9365
9365
|
}, z$2.core.$strip>;
|
|
9366
9366
|
}, z$2.core.$strip>;
|
|
@@ -9454,9 +9454,9 @@ declare const LeaseResponseSchema: z$2.ZodObject<{
|
|
|
9454
9454
|
target: z$2.ZodObject<{
|
|
9455
9455
|
resourceId: z$2.ZodString;
|
|
9456
9456
|
resourceType: z$2.ZodEnum<{
|
|
9457
|
-
worker: "worker";
|
|
9458
|
-
container: "container";
|
|
9459
9457
|
daemon: "daemon";
|
|
9458
|
+
container: "container";
|
|
9459
|
+
worker: "worker";
|
|
9460
9460
|
}>;
|
|
9461
9461
|
}, z$2.core.$strip>;
|
|
9462
9462
|
traceContext: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -9603,8 +9603,8 @@ declare const LocalContainerHeartbeatDataSchema: z$2.ZodObject<{
|
|
|
9603
9603
|
value: z$2.ZodNumber;
|
|
9604
9604
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
9605
9605
|
kind: z$2.ZodEnum<{
|
|
9606
|
-
container: "container";
|
|
9607
9606
|
daemon: "daemon";
|
|
9607
|
+
container: "container";
|
|
9608
9608
|
process: "process";
|
|
9609
9609
|
}>;
|
|
9610
9610
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -9728,8 +9728,8 @@ declare const LocalDaemonHeartbeatDataSchema: z$2.ZodObject<{
|
|
|
9728
9728
|
value: z$2.ZodNumber;
|
|
9729
9729
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
9730
9730
|
kind: z$2.ZodEnum<{
|
|
9731
|
-
container: "container";
|
|
9732
9731
|
daemon: "daemon";
|
|
9732
|
+
container: "container";
|
|
9733
9733
|
process: "process";
|
|
9734
9734
|
}>;
|
|
9735
9735
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -9939,8 +9939,8 @@ type LocalRuntimeEventSubject = z$2.infer<typeof LocalRuntimeEventSubjectSchema>
|
|
|
9939
9939
|
//#endregion
|
|
9940
9940
|
//#region src/generated/zod/local-runtime-unit-kind-schema.d.ts
|
|
9941
9941
|
declare const LocalRuntimeUnitKindSchema: z$2.ZodEnum<{
|
|
9942
|
-
container: "container";
|
|
9943
9942
|
daemon: "daemon";
|
|
9943
|
+
container: "container";
|
|
9944
9944
|
process: "process";
|
|
9945
9945
|
}>;
|
|
9946
9946
|
type LocalRuntimeUnitKind = z$2.infer<typeof LocalRuntimeUnitKindSchema>;
|
|
@@ -9959,8 +9959,8 @@ declare const LocalRuntimeUnitStatusSchema: z$2.ZodObject<{
|
|
|
9959
9959
|
value: z$2.ZodNumber;
|
|
9960
9960
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
9961
9961
|
kind: z$2.ZodEnum<{
|
|
9962
|
-
container: "container";
|
|
9963
9962
|
daemon: "daemon";
|
|
9963
|
+
container: "container";
|
|
9964
9964
|
process: "process";
|
|
9965
9965
|
}>;
|
|
9966
9966
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -10184,8 +10184,8 @@ declare const LocalWorkerHeartbeatDataSchema: z$2.ZodObject<{
|
|
|
10184
10184
|
value: z$2.ZodNumber;
|
|
10185
10185
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
10186
10186
|
kind: z$2.ZodEnum<{
|
|
10187
|
-
container: "container";
|
|
10188
10187
|
daemon: "daemon";
|
|
10188
|
+
container: "container";
|
|
10189
10189
|
process: "process";
|
|
10190
10190
|
}>;
|
|
10191
10191
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -12655,8 +12655,8 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
|
|
|
12655
12655
|
value: z$2.ZodNumber;
|
|
12656
12656
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
12657
12657
|
kind: z$2.ZodEnum<{
|
|
12658
|
-
container: "container";
|
|
12659
12658
|
daemon: "daemon";
|
|
12659
|
+
container: "container";
|
|
12660
12660
|
process: "process";
|
|
12661
12661
|
}>;
|
|
12662
12662
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -12829,8 +12829,8 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
|
|
|
12829
12829
|
}, z$2.core.$strip>;
|
|
12830
12830
|
schedulingMode: z$2.ZodEnum<{
|
|
12831
12831
|
stateful: "stateful";
|
|
12832
|
-
daemon: "daemon";
|
|
12833
12832
|
replicated: "replicated";
|
|
12833
|
+
daemon: "daemon";
|
|
12834
12834
|
}>;
|
|
12835
12835
|
status: z$2.ZodObject<{
|
|
12836
12836
|
collectionIssues: z$2.ZodArray<z$2.ZodObject<{
|
|
@@ -13053,8 +13053,8 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
|
|
|
13053
13053
|
value: z$2.ZodNumber;
|
|
13054
13054
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
13055
13055
|
kind: z$2.ZodEnum<{
|
|
13056
|
-
container: "container";
|
|
13057
13056
|
daemon: "daemon";
|
|
13057
|
+
container: "container";
|
|
13058
13058
|
process: "process";
|
|
13059
13059
|
}>;
|
|
13060
13060
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -13823,8 +13823,8 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
|
|
|
13823
13823
|
value: z$2.ZodNumber;
|
|
13824
13824
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
13825
13825
|
kind: z$2.ZodEnum<{
|
|
13826
|
-
container: "container";
|
|
13827
13826
|
daemon: "daemon";
|
|
13827
|
+
container: "container";
|
|
13828
13828
|
process: "process";
|
|
13829
13829
|
}>;
|
|
13830
13830
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -17785,8 +17785,8 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
|
17785
17785
|
value: z$2.ZodNumber;
|
|
17786
17786
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
17787
17787
|
kind: z$2.ZodEnum<{
|
|
17788
|
-
container: "container";
|
|
17789
17788
|
daemon: "daemon";
|
|
17789
|
+
container: "container";
|
|
17790
17790
|
process: "process";
|
|
17791
17791
|
}>;
|
|
17792
17792
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -17959,8 +17959,8 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
|
17959
17959
|
}, z$2.core.$strip>;
|
|
17960
17960
|
schedulingMode: z$2.ZodEnum<{
|
|
17961
17961
|
stateful: "stateful";
|
|
17962
|
-
daemon: "daemon";
|
|
17963
17962
|
replicated: "replicated";
|
|
17963
|
+
daemon: "daemon";
|
|
17964
17964
|
}>;
|
|
17965
17965
|
status: z$2.ZodObject<{
|
|
17966
17966
|
collectionIssues: z$2.ZodArray<z$2.ZodObject<{
|
|
@@ -18183,8 +18183,8 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
|
18183
18183
|
value: z$2.ZodNumber;
|
|
18184
18184
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
18185
18185
|
kind: z$2.ZodEnum<{
|
|
18186
|
-
container: "container";
|
|
18187
18186
|
daemon: "daemon";
|
|
18187
|
+
container: "container";
|
|
18188
18188
|
process: "process";
|
|
18189
18189
|
}>;
|
|
18190
18190
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -18953,8 +18953,8 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
|
18953
18953
|
value: z$2.ZodNumber;
|
|
18954
18954
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
18955
18955
|
kind: z$2.ZodEnum<{
|
|
18956
|
-
container: "container";
|
|
18957
18956
|
daemon: "daemon";
|
|
18957
|
+
container: "container";
|
|
18958
18958
|
process: "process";
|
|
18959
18959
|
}>;
|
|
18960
18960
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -23777,8 +23777,8 @@ declare const StackSettingsSchema: z$2.ZodObject<{
|
|
|
23777
23777
|
vnet_resource_id: z$2.ZodString;
|
|
23778
23778
|
}, z$2.core.$strip>]>, z$2.ZodNull]>>;
|
|
23779
23779
|
telemetry: z$2.ZodOptional<z$2.ZodEnum<{
|
|
23780
|
-
off: "off";
|
|
23781
23780
|
auto: "auto";
|
|
23781
|
+
off: "off";
|
|
23782
23782
|
"approval-required": "approval-required";
|
|
23783
23783
|
}>>;
|
|
23784
23784
|
updates: z$2.ZodOptional<z$2.ZodEnum<{
|
|
@@ -24362,8 +24362,8 @@ type SubmitResponseRequest = z$2.infer<typeof SubmitResponseRequestSchema>;
|
|
|
24362
24362
|
* @description How telemetry (logs, metrics, traces) is handled.
|
|
24363
24363
|
*/
|
|
24364
24364
|
declare const TelemetryModeSchema: z$2.ZodEnum<{
|
|
24365
|
-
off: "off";
|
|
24366
24365
|
auto: "auto";
|
|
24366
|
+
off: "off";
|
|
24367
24367
|
"approval-required": "approval-required";
|
|
24368
24368
|
}>;
|
|
24369
24369
|
type TelemetryMode = z$2.infer<typeof TelemetryModeSchema>;
|
|
@@ -25168,8 +25168,8 @@ declare const WorkerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodIntersect
|
|
|
25168
25168
|
value: z$2.ZodNumber;
|
|
25169
25169
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
25170
25170
|
kind: z$2.ZodEnum<{
|
|
25171
|
-
container: "container";
|
|
25172
25171
|
daemon: "daemon";
|
|
25172
|
+
container: "container";
|
|
25173
25173
|
process: "process";
|
|
25174
25174
|
}>;
|
|
25175
25175
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
@@ -25632,7 +25632,7 @@ interface WorkerPublicEndpointOptions {
|
|
|
25632
25632
|
* Represents a serverless worker that executes code in response to triggers or direct invocations.
|
|
25633
25633
|
* Workers are the primary compute resource in serverless applications, designed to be stateless and ephemeral.
|
|
25634
25634
|
*/
|
|
25635
|
-
declare class Worker {
|
|
25635
|
+
declare class Worker extends ResourceBuilder {
|
|
25636
25636
|
private _config;
|
|
25637
25637
|
/**
|
|
25638
25638
|
* Creates a new Worker builder.
|
|
@@ -25792,7 +25792,7 @@ interface PersistentStorageOptions {
|
|
|
25792
25792
|
* by the managed container backend. They're designed for always-on workloads
|
|
25793
25793
|
* like web services, APIs, databases, and background workers.
|
|
25794
25794
|
*/
|
|
25795
|
-
declare class Container {
|
|
25795
|
+
declare class Container extends ResourceBuilder {
|
|
25796
25796
|
private _config;
|
|
25797
25797
|
/**
|
|
25798
25798
|
* Creates a new Container builder.
|
|
@@ -26064,7 +26064,7 @@ type DaemonPublicEndpointOptions = ExposeProtocol | {
|
|
|
26064
26064
|
* Daemons are intended for long-lived background processes such as endpoint
|
|
26065
26065
|
* agents and local side services.
|
|
26066
26066
|
*/
|
|
26067
|
-
declare class Daemon {
|
|
26067
|
+
declare class Daemon extends ResourceBuilder {
|
|
26068
26068
|
private _config;
|
|
26069
26069
|
/**
|
|
26070
26070
|
* Creates a new Daemon builder.
|
|
@@ -26455,7 +26455,7 @@ declare class Queue extends ResourceBuilder {
|
|
|
26455
26455
|
* region, so an AWS stack may contain only one Email with inbound delivery,
|
|
26456
26456
|
* and installing it makes its rule set the account's active rule set.
|
|
26457
26457
|
*/
|
|
26458
|
-
declare class Email {
|
|
26458
|
+
declare class Email extends ResourceBuilder {
|
|
26459
26459
|
private _config;
|
|
26460
26460
|
/**
|
|
26461
26461
|
* Creates a new Email builder.
|
|
@@ -27485,7 +27485,7 @@ declare const UnexpectedResourceTypeError: {
|
|
|
27485
27485
|
* lowercase letter, contain only lowercase letters, digits, and hyphens, and
|
|
27486
27486
|
* be at most 23 characters.
|
|
27487
27487
|
*/
|
|
27488
|
-
declare class AwsOpenSearch$1 {
|
|
27488
|
+
declare class AwsOpenSearch$1 extends ResourceBuilder {
|
|
27489
27489
|
private _config;
|
|
27490
27490
|
/**
|
|
27491
27491
|
* Creates a new AwsOpenSearch builder.
|