@alienplatform/core 1.11.2 → 1.13.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/.turbo/turbo-build.log +14 -14
- package/dist/index.d.ts +23 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/stack.js +12 -10
- package/dist/stack.js.map +1 -1
- package/package.json +2 -2
- package/src/error.ts +6 -0
- package/src/generated/schemas/agentStatus.json +1 -1
- package/src/generated/schemas/azureNetworkImportData.json +1 -1
- package/src/generated/schemas/deploymentStatus.json +1 -1
- package/src/generated/schemas/devStatus.json +1 -1
- package/src/generated/zod/azure-network-import-data-schema.ts +1 -0
- package/src/generated/zod/deployment-status-schema.ts +1 -1
- package/src/generated/zod/kubernetes-certificate-mode-schema.ts +1 -1
- package/src/generated/zod/kubernetes-route-profile-schema.ts +2 -2
- package/src/generated/zod/management-config-schema.ts +3 -3
- package/src/generated/zod/postgres-heartbeat-data-schema.ts +4 -4
- package/src/generated/zod/submit-response-request-schema.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @alienplatform/core@1.
|
|
2
|
+
> @alienplatform/core@1.13.0 build /home/runner/work/alien/alien/packages/core
|
|
3
3
|
> tsdown
|
|
4
4
|
|
|
5
|
-
[34mℹ[39m tsdown [2mv0.13.5[22m powered by rolldown [2mv1.1.
|
|
5
|
+
[34mℹ[39m tsdown [2mv0.13.5[22m powered by rolldown [2mv1.1.4[22m
|
|
6
6
|
[34mℹ[39m Using tsdown config: [4m/home/runner/work/alien/alien/packages/core/tsdown.config.ts[24m
|
|
7
7
|
[34mℹ[39m entry: [34msrc/index.ts, src/tests/index.ts[39m
|
|
8
8
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
[34mℹ[39m Cleaning 11 files
|
|
11
11
|
[33mWarning: Invalid input options (1 issue found)
|
|
12
12
|
- For the "define". Invalid key: Expected never but received "define". [0m
|
|
13
|
-
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m 75.
|
|
13
|
+
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m 75.39 kB[22m [2m│ gzip: 17.45 kB[22m
|
|
14
14
|
[34mℹ[39m [2mdist/[22m[1mtests/index.js[22m [2m 0.26 kB[22m [2m│ gzip: 0.20 kB[22m
|
|
15
|
-
[34mℹ[39m [2mdist/[22mstack.js.map [2m
|
|
16
|
-
[34mℹ[39m [2mdist/[22mstack.js [2m 294.
|
|
17
|
-
[34mℹ[39m [2mdist/[22mindex.d.ts.map [2m 143.
|
|
18
|
-
[34mℹ[39m [2mdist/[22mindex.js.map [2m 96.
|
|
15
|
+
[34mℹ[39m [2mdist/[22mstack.js.map [2m 528.62 kB[22m [2m│ gzip: 76.00 kB[22m
|
|
16
|
+
[34mℹ[39m [2mdist/[22mstack.js [2m 294.87 kB[22m [2m│ gzip: 48.94 kB[22m
|
|
17
|
+
[34mℹ[39m [2mdist/[22mindex.d.ts.map [2m 143.72 kB[22m [2m│ gzip: 24.36 kB[22m
|
|
18
|
+
[34mℹ[39m [2mdist/[22mindex.js.map [2m 96.61 kB[22m [2m│ gzip: 20.56 kB[22m
|
|
19
19
|
[34mℹ[39m [2mdist/[22mtests/index.js.map [2m 0.42 kB[22m [2m│ gzip: 0.31 kB[22m
|
|
20
20
|
[34mℹ[39m [2mdist/[22mtests/index.d.ts.map [2m 0.19 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
21
|
-
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m1051.
|
|
21
|
+
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m1051.68 kB[22m
|
|
22
22
|
[34mℹ[39m [2mdist/[22m[32m[1mtests/index.d.ts[22m[39m [2m 1.49 kB[22m [2m│ gzip: 0.53 kB[22m
|
|
23
|
-
[34mℹ[39m 10 files, total:
|
|
23
|
+
[34mℹ[39m 10 files, total: 2193.25 kB
|
|
24
24
|
[33m[PLUGIN_TIMINGS] [0mYour build spent significant time in plugins. Here is a breakdown:
|
|
25
|
-
- rolldown-plugin-dts:generate (
|
|
26
|
-
- rolldown-plugin-dts:fake-js (
|
|
27
|
-
- rolldown-plugin-dts:resolver (
|
|
28
|
-
See https://rolldown.rs/
|
|
25
|
+
- rolldown-plugin-dts:generate (40%)
|
|
26
|
+
- rolldown-plugin-dts:fake-js (39%)
|
|
27
|
+
- rolldown-plugin-dts:resolver (18%)
|
|
28
|
+
See https://rolldown.rs/reference/InputOptions.checks#plugintimings for more details.
|
|
29
29
|
|
|
30
|
-
[32m✔[39m Build complete in [
|
|
30
|
+
[32m✔[39m Build complete in [32m5796ms[39m
|
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ declare const AgentStatusSchema: z$2.ZodObject<{
|
|
|
41
41
|
"preflights-failed": "preflights-failed";
|
|
42
42
|
"initial-setup": "initial-setup";
|
|
43
43
|
"initial-setup-failed": "initial-setup-failed";
|
|
44
|
+
"waiting-for-machines": "waiting-for-machines";
|
|
44
45
|
"provisioning-failed": "provisioning-failed";
|
|
45
46
|
"update-pending": "update-pending";
|
|
46
47
|
"delete-pending": "delete-pending";
|
|
@@ -2223,6 +2224,7 @@ declare const AzureNetworkImportDataSchema: z$2.ZodObject<{
|
|
|
2223
2224
|
isByoVnet: z$2.ZodBoolean;
|
|
2224
2225
|
natGatewayId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
2225
2226
|
networkSecurityGroupId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
2227
|
+
privateEndpointSubnetName: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
|
|
2226
2228
|
resourceGroup: z$2.ZodString;
|
|
2227
2229
|
subnetIds: z$2.ZodArray<z$2.ZodString>;
|
|
2228
2230
|
subscriptionId: z$2.ZodString;
|
|
@@ -4490,8 +4492,8 @@ declare const ContainerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodInters
|
|
|
4490
4492
|
}, z$2.core.$strip>;
|
|
4491
4493
|
schedulingMode: z$2.ZodEnum<{
|
|
4492
4494
|
stateful: "stateful";
|
|
4493
|
-
replicated: "replicated";
|
|
4494
4495
|
daemon: "daemon";
|
|
4496
|
+
replicated: "replicated";
|
|
4495
4497
|
}>;
|
|
4496
4498
|
status: z$2.ZodObject<{
|
|
4497
4499
|
collectionIssues: z$2.ZodArray<z$2.ZodObject<{
|
|
@@ -4714,9 +4716,9 @@ declare const ContainerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodInters
|
|
|
4714
4716
|
value: z$2.ZodNumber;
|
|
4715
4717
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
4716
4718
|
kind: z$2.ZodEnum<{
|
|
4717
|
-
daemon: "daemon";
|
|
4718
4719
|
container: "container";
|
|
4719
4720
|
process: "process";
|
|
4721
|
+
daemon: "daemon";
|
|
4720
4722
|
}>;
|
|
4721
4723
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
4722
4724
|
unit: z$2.ZodEnum<{
|
|
@@ -5762,9 +5764,9 @@ declare const DaemonHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodIntersect
|
|
|
5762
5764
|
value: z$2.ZodNumber;
|
|
5763
5765
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
5764
5766
|
kind: z$2.ZodEnum<{
|
|
5765
|
-
daemon: "daemon";
|
|
5766
5767
|
container: "container";
|
|
5767
5768
|
process: "process";
|
|
5769
|
+
daemon: "daemon";
|
|
5768
5770
|
}>;
|
|
5769
5771
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
5770
5772
|
unit: z$2.ZodEnum<{
|
|
@@ -6023,6 +6025,7 @@ declare const DevStatusSchema: z$2.ZodObject<{
|
|
|
6023
6025
|
"preflights-failed": "preflights-failed";
|
|
6024
6026
|
"initial-setup": "initial-setup";
|
|
6025
6027
|
"initial-setup-failed": "initial-setup-failed";
|
|
6028
|
+
"waiting-for-machines": "waiting-for-machines";
|
|
6026
6029
|
"provisioning-failed": "provisioning-failed";
|
|
6027
6030
|
"update-pending": "update-pending";
|
|
6028
6031
|
"delete-pending": "delete-pending";
|
|
@@ -7812,8 +7815,8 @@ declare const HorizonContainerHeartbeatDataSchema: z$2.ZodObject<{
|
|
|
7812
7815
|
}, z$2.core.$strip>;
|
|
7813
7816
|
schedulingMode: z$2.ZodEnum<{
|
|
7814
7817
|
stateful: "stateful";
|
|
7815
|
-
replicated: "replicated";
|
|
7816
7818
|
daemon: "daemon";
|
|
7819
|
+
replicated: "replicated";
|
|
7817
7820
|
}>;
|
|
7818
7821
|
status: z$2.ZodObject<{
|
|
7819
7822
|
collectionIssues: z$2.ZodArray<z$2.ZodObject<{
|
|
@@ -9343,9 +9346,9 @@ declare const LocalContainerHeartbeatDataSchema: z$2.ZodObject<{
|
|
|
9343
9346
|
value: z$2.ZodNumber;
|
|
9344
9347
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
9345
9348
|
kind: z$2.ZodEnum<{
|
|
9346
|
-
daemon: "daemon";
|
|
9347
9349
|
container: "container";
|
|
9348
9350
|
process: "process";
|
|
9351
|
+
daemon: "daemon";
|
|
9349
9352
|
}>;
|
|
9350
9353
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
9351
9354
|
unit: z$2.ZodEnum<{
|
|
@@ -9468,9 +9471,9 @@ declare const LocalDaemonHeartbeatDataSchema: z$2.ZodObject<{
|
|
|
9468
9471
|
value: z$2.ZodNumber;
|
|
9469
9472
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
9470
9473
|
kind: z$2.ZodEnum<{
|
|
9471
|
-
daemon: "daemon";
|
|
9472
9474
|
container: "container";
|
|
9473
9475
|
process: "process";
|
|
9476
|
+
daemon: "daemon";
|
|
9474
9477
|
}>;
|
|
9475
9478
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
9476
9479
|
unit: z$2.ZodEnum<{
|
|
@@ -9679,9 +9682,9 @@ type LocalRuntimeEventSubject = z$2.infer<typeof LocalRuntimeEventSubjectSchema>
|
|
|
9679
9682
|
//#endregion
|
|
9680
9683
|
//#region src/generated/zod/local-runtime-unit-kind-schema.d.ts
|
|
9681
9684
|
declare const LocalRuntimeUnitKindSchema: z$2.ZodEnum<{
|
|
9682
|
-
daemon: "daemon";
|
|
9683
9685
|
container: "container";
|
|
9684
9686
|
process: "process";
|
|
9687
|
+
daemon: "daemon";
|
|
9685
9688
|
}>;
|
|
9686
9689
|
type LocalRuntimeUnitKind = z$2.infer<typeof LocalRuntimeUnitKindSchema>;
|
|
9687
9690
|
//#endregion
|
|
@@ -9699,9 +9702,9 @@ declare const LocalRuntimeUnitStatusSchema: z$2.ZodObject<{
|
|
|
9699
9702
|
value: z$2.ZodNumber;
|
|
9700
9703
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
9701
9704
|
kind: z$2.ZodEnum<{
|
|
9702
|
-
daemon: "daemon";
|
|
9703
9705
|
container: "container";
|
|
9704
9706
|
process: "process";
|
|
9707
|
+
daemon: "daemon";
|
|
9705
9708
|
}>;
|
|
9706
9709
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
9707
9710
|
unit: z$2.ZodEnum<{
|
|
@@ -9924,9 +9927,9 @@ declare const LocalWorkerHeartbeatDataSchema: z$2.ZodObject<{
|
|
|
9924
9927
|
value: z$2.ZodNumber;
|
|
9925
9928
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
9926
9929
|
kind: z$2.ZodEnum<{
|
|
9927
|
-
daemon: "daemon";
|
|
9928
9930
|
container: "container";
|
|
9929
9931
|
process: "process";
|
|
9932
|
+
daemon: "daemon";
|
|
9930
9933
|
}>;
|
|
9931
9934
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
9932
9935
|
unit: z$2.ZodEnum<{
|
|
@@ -12395,9 +12398,9 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
|
|
|
12395
12398
|
value: z$2.ZodNumber;
|
|
12396
12399
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
12397
12400
|
kind: z$2.ZodEnum<{
|
|
12398
|
-
daemon: "daemon";
|
|
12399
12401
|
container: "container";
|
|
12400
12402
|
process: "process";
|
|
12403
|
+
daemon: "daemon";
|
|
12401
12404
|
}>;
|
|
12402
12405
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
12403
12406
|
unit: z$2.ZodEnum<{
|
|
@@ -12567,8 +12570,8 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
|
|
|
12567
12570
|
}, z$2.core.$strip>;
|
|
12568
12571
|
schedulingMode: z$2.ZodEnum<{
|
|
12569
12572
|
stateful: "stateful";
|
|
12570
|
-
replicated: "replicated";
|
|
12571
12573
|
daemon: "daemon";
|
|
12574
|
+
replicated: "replicated";
|
|
12572
12575
|
}>;
|
|
12573
12576
|
status: z$2.ZodObject<{
|
|
12574
12577
|
collectionIssues: z$2.ZodArray<z$2.ZodObject<{
|
|
@@ -12791,9 +12794,9 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
|
|
|
12791
12794
|
value: z$2.ZodNumber;
|
|
12792
12795
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
12793
12796
|
kind: z$2.ZodEnum<{
|
|
12794
|
-
daemon: "daemon";
|
|
12795
12797
|
container: "container";
|
|
12796
12798
|
process: "process";
|
|
12799
|
+
daemon: "daemon";
|
|
12797
12800
|
}>;
|
|
12798
12801
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
12799
12802
|
unit: z$2.ZodEnum<{
|
|
@@ -13557,9 +13560,9 @@ declare const ResourceHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
|
|
|
13557
13560
|
value: z$2.ZodNumber;
|
|
13558
13561
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
13559
13562
|
kind: z$2.ZodEnum<{
|
|
13560
|
-
daemon: "daemon";
|
|
13561
13563
|
container: "container";
|
|
13562
13564
|
process: "process";
|
|
13565
|
+
daemon: "daemon";
|
|
13563
13566
|
}>;
|
|
13564
13567
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
13565
13568
|
unit: z$2.ZodEnum<{
|
|
@@ -17519,9 +17522,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
|
17519
17522
|
value: z$2.ZodNumber;
|
|
17520
17523
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
17521
17524
|
kind: z$2.ZodEnum<{
|
|
17522
|
-
daemon: "daemon";
|
|
17523
17525
|
container: "container";
|
|
17524
17526
|
process: "process";
|
|
17527
|
+
daemon: "daemon";
|
|
17525
17528
|
}>;
|
|
17526
17529
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
17527
17530
|
unit: z$2.ZodEnum<{
|
|
@@ -17691,8 +17694,8 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
|
17691
17694
|
}, z$2.core.$strip>;
|
|
17692
17695
|
schedulingMode: z$2.ZodEnum<{
|
|
17693
17696
|
stateful: "stateful";
|
|
17694
|
-
replicated: "replicated";
|
|
17695
17697
|
daemon: "daemon";
|
|
17698
|
+
replicated: "replicated";
|
|
17696
17699
|
}>;
|
|
17697
17700
|
status: z$2.ZodObject<{
|
|
17698
17701
|
collectionIssues: z$2.ZodArray<z$2.ZodObject<{
|
|
@@ -17915,9 +17918,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
|
17915
17918
|
value: z$2.ZodNumber;
|
|
17916
17919
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
17917
17920
|
kind: z$2.ZodEnum<{
|
|
17918
|
-
daemon: "daemon";
|
|
17919
17921
|
container: "container";
|
|
17920
17922
|
process: "process";
|
|
17923
|
+
daemon: "daemon";
|
|
17921
17924
|
}>;
|
|
17922
17925
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
17923
17926
|
unit: z$2.ZodEnum<{
|
|
@@ -18681,9 +18684,9 @@ declare const ResourceHeartbeatSchema: z$2.ZodObject<{
|
|
|
18681
18684
|
value: z$2.ZodNumber;
|
|
18682
18685
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
18683
18686
|
kind: z$2.ZodEnum<{
|
|
18684
|
-
daemon: "daemon";
|
|
18685
18687
|
container: "container";
|
|
18686
18688
|
process: "process";
|
|
18689
|
+
daemon: "daemon";
|
|
18687
18690
|
}>;
|
|
18688
18691
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
18689
18692
|
unit: z$2.ZodEnum<{
|
|
@@ -24876,9 +24879,9 @@ declare const WorkerHeartbeatDataSchema: z$2.ZodUnion<readonly [z$2.ZodIntersect
|
|
|
24876
24879
|
value: z$2.ZodNumber;
|
|
24877
24880
|
}, z$2.core.$strip>, z$2.ZodNull]>>;
|
|
24878
24881
|
kind: z$2.ZodEnum<{
|
|
24879
|
-
daemon: "daemon";
|
|
24880
24882
|
container: "container";
|
|
24881
24883
|
process: "process";
|
|
24884
|
+
daemon: "daemon";
|
|
24882
24885
|
}>;
|
|
24883
24886
|
memory: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
24884
24887
|
unit: z$2.ZodEnum<{
|
|
@@ -26759,6 +26762,8 @@ declare class AlienError<TContext extends z.ZodTypeAny = z.ZodAny> extends Error
|
|
|
26759
26762
|
readonly httpStatusCode: number;
|
|
26760
26763
|
/** Type-safe context data specific to this error */
|
|
26761
26764
|
readonly context?: z.infer<TContext>;
|
|
26765
|
+
/** Optional human-facing remediation hint */
|
|
26766
|
+
readonly hint?: string | null;
|
|
26762
26767
|
/** Source error that caused this error (for chaining) */
|
|
26763
26768
|
readonly source?: AlienError<any>;
|
|
26764
26769
|
constructor(input: AlienErrorDefinition<TContext> | (AlienError$1 & {
|