@alienplatform/sdk 3.3.43 → 3.3.45
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/dist.js +73 -4
- package/package.json +4 -4
package/dist/dist.js
CHANGED
|
@@ -9772,6 +9772,14 @@ const KubernetesCustomCertificateConfigSchema = object({ get "tlsSecretRef"() {
|
|
|
9772
9772
|
* Do not edit manually.
|
|
9773
9773
|
*/
|
|
9774
9774
|
/**
|
|
9775
|
+
* @description Managed certificate issuance settings.
|
|
9776
|
+
*/
|
|
9777
|
+
const ManagedCustomCertificateConfigSchema = object({}).describe("Managed certificate issuance settings.");
|
|
9778
|
+
/**
|
|
9779
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
9780
|
+
* Do not edit manually.
|
|
9781
|
+
*/
|
|
9782
|
+
/**
|
|
9775
9783
|
* @description Platform-specific certificate references for custom domains.
|
|
9776
9784
|
*/
|
|
9777
9785
|
const CustomCertificateConfigSchema = object({
|
|
@@ -9786,6 +9794,9 @@ const CustomCertificateConfigSchema = object({
|
|
|
9786
9794
|
},
|
|
9787
9795
|
get "kubernetes"() {
|
|
9788
9796
|
return union([KubernetesCustomCertificateConfigSchema, _null()]).optional();
|
|
9797
|
+
},
|
|
9798
|
+
get "managed"() {
|
|
9799
|
+
return union([ManagedCustomCertificateConfigSchema, _null()]).optional();
|
|
9789
9800
|
}
|
|
9790
9801
|
}).describe("Platform-specific certificate references for custom domains.");
|
|
9791
9802
|
/**
|
|
@@ -9799,7 +9810,8 @@ const CustomDomainConfigSchema = object({
|
|
|
9799
9810
|
get "certificate"() {
|
|
9800
9811
|
return CustomCertificateConfigSchema.describe("Platform-specific certificate references for custom domains.");
|
|
9801
9812
|
},
|
|
9802
|
-
"domain": string().describe("Fully qualified domain name
|
|
9813
|
+
"domain": optional(string().describe("Fully qualified domain name for a supplied certificate.")),
|
|
9814
|
+
"endpoints": optional(object({}).catchall(string()).describe("Hostnames keyed by endpoint name for a managed certificate."))
|
|
9803
9815
|
}).describe("Custom domain configuration for a single resource.");
|
|
9804
9816
|
/**
|
|
9805
9817
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -10190,14 +10202,14 @@ const PublicEndpointTargetSettingsSchema = union([object({ "mode": _enum(["machi
|
|
|
10190
10202
|
* Do not edit manually.
|
|
10191
10203
|
*/
|
|
10192
10204
|
/**
|
|
10193
|
-
* @description Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains
|
|
10205
|
+
* @description Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains with supplied or managed certificates. Otherwise, Alien auto-generates domains.
|
|
10194
10206
|
*/
|
|
10195
10207
|
const DomainSettingsSchema = object({
|
|
10196
10208
|
"customDomains": object({}).catchall(lazy(() => CustomDomainConfigSchema).describe("Custom domain configuration for a single resource.")).describe("Custom domain configuration per resource ID.").nullish(),
|
|
10197
10209
|
get "publicEndpointTarget"() {
|
|
10198
10210
|
return union([PublicEndpointTargetSettingsSchema, _null()]).optional();
|
|
10199
10211
|
}
|
|
10200
|
-
}).describe("Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains
|
|
10212
|
+
}).describe("Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains with supplied or managed certificates. Otherwise, Alien auto-generates domains.");
|
|
10201
10213
|
/**
|
|
10202
10214
|
* Generated by Kubb (https://kubb.dev/).
|
|
10203
10215
|
* Do not edit manually.
|
|
@@ -10511,6 +10523,20 @@ const KvBindingSchema = union([
|
|
|
10511
10523
|
* Generated by Kubb (https://kubb.dev/).
|
|
10512
10524
|
* Do not edit manually.
|
|
10513
10525
|
*/
|
|
10526
|
+
const ExternalPasswordSecretKeyRefSchema = object({ get "secretKeyRef"() {
|
|
10527
|
+
return SecretReferenceSchema.describe("Reference to a Kubernetes Secret");
|
|
10528
|
+
} });
|
|
10529
|
+
/**
|
|
10530
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
10531
|
+
* Do not edit manually.
|
|
10532
|
+
*/
|
|
10533
|
+
const ExternalPasswordSecretRefSchema = object({ get "secretRef"() {
|
|
10534
|
+
return SecretReferenceSchema.describe("Reference to a Kubernetes Secret");
|
|
10535
|
+
} });
|
|
10536
|
+
/**
|
|
10537
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
10538
|
+
* Do not edit manually.
|
|
10539
|
+
*/
|
|
10514
10540
|
/**
|
|
10515
10541
|
* @description TLS policy for an operator-provided / BYO Postgres database.\n\nUnlike libpq\'s ambiguous `prefer` mode, both choices map exactly to the\nconnection settings exposed by every supported SDK.
|
|
10516
10542
|
*/
|
|
@@ -10529,7 +10555,13 @@ const ExternalPostgresBindingSchema = object({
|
|
|
10529
10555
|
get "host"() {
|
|
10530
10556
|
return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
|
|
10531
10557
|
},
|
|
10532
|
-
"password"
|
|
10558
|
+
get "password"() {
|
|
10559
|
+
return union([
|
|
10560
|
+
ExternalPasswordSecretRefSchema,
|
|
10561
|
+
ExternalPasswordSecretKeyRefSchema,
|
|
10562
|
+
string()
|
|
10563
|
+
]).describe("Connection password or Kubernetes Secret reference. Kubernetes workloads resolve\nthe reference through secretKeyRef before the application loads its binding.");
|
|
10564
|
+
},
|
|
10533
10565
|
get "port"() {
|
|
10534
10566
|
return BindingValueU16Schema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
|
|
10535
10567
|
},
|
|
@@ -11598,6 +11630,16 @@ const KubernetesExposureSettingsSchema = union([
|
|
|
11598
11630
|
get "route"() {
|
|
11599
11631
|
return KubernetesRouteProfileSchema.describe("Kubernetes route API selected for public endpoints.");
|
|
11600
11632
|
}
|
|
11633
|
+
}),
|
|
11634
|
+
object({
|
|
11635
|
+
"baseDomain": string().describe("DNS name without a wildcard or URL scheme, for example `app.example.com`."),
|
|
11636
|
+
get "certificate"() {
|
|
11637
|
+
return KubernetesCertificateModeSchema.describe("Certificate publication or reference mode for Kubernetes public endpoints.");
|
|
11638
|
+
},
|
|
11639
|
+
"mode": _enum(["customBaseDomain"]),
|
|
11640
|
+
get "route"() {
|
|
11641
|
+
return KubernetesRouteProfileSchema.describe("Kubernetes route API selected for public endpoints.");
|
|
11642
|
+
}
|
|
11601
11643
|
})
|
|
11602
11644
|
]).describe("Kubernetes public HTTPS exposure mode.");
|
|
11603
11645
|
/**
|
|
@@ -12656,6 +12698,7 @@ const UpdatesModeSchema = _enum(["auto", "approval-required"]).describe("How upd
|
|
|
12656
12698
|
* @description User-customizable deployment settings specified at deploy time.\n\nThese settings are provided by the customer via CloudFormation parameters,\nTerraform attributes, CLI flags, or Helm values. They customize how the\ndeployment runs and what capabilities are enabled.\n\n**Key distinction**: StackSettings is user-customizable, while ManagementConfig\nis platform-derived (from the Manager\'s ServiceAccount).
|
|
12657
12699
|
*/
|
|
12658
12700
|
const StackSettingsSchema = object({
|
|
12701
|
+
"airgapped": optional(boolean().describe("Deliver Kubernetes updates and reports as carried bundles instead of a live connection.\nThe Operator still executes deployments with the pull model.")),
|
|
12659
12702
|
get "compute"() {
|
|
12660
12703
|
return union([ComputeSettingsSchema, _null()]).optional();
|
|
12661
12704
|
},
|
|
@@ -12738,6 +12781,17 @@ object({
|
|
|
12738
12781
|
* Do not edit manually.
|
|
12739
12782
|
*/
|
|
12740
12783
|
/**
|
|
12784
|
+
* @description A boolean input condition controlling whether another input applies.
|
|
12785
|
+
*/
|
|
12786
|
+
const StackInputConditionSchema = object({
|
|
12787
|
+
"equals": boolean().describe("Boolean value for which this input applies."),
|
|
12788
|
+
"input": string().describe("ID of an unconditional boolean input in the same stack.")
|
|
12789
|
+
}).describe("A boolean input condition controlling whether another input applies.");
|
|
12790
|
+
/**
|
|
12791
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
12792
|
+
* Do not edit manually.
|
|
12793
|
+
*/
|
|
12794
|
+
/**
|
|
12741
12795
|
* @description Stack input default value.
|
|
12742
12796
|
*/
|
|
12743
12797
|
const StackInputDefaultValueSchema = union([
|
|
@@ -12863,6 +12917,9 @@ const StackInputDefinitionSchema = object({
|
|
|
12863
12917
|
"required": boolean().describe("Whether a resolved value is required before deployment can proceed."),
|
|
12864
12918
|
get "validation"() {
|
|
12865
12919
|
return union([StackInputValidationSchema, _null()]).optional();
|
|
12920
|
+
},
|
|
12921
|
+
get "when"() {
|
|
12922
|
+
return union([StackInputConditionSchema, _null()]).optional();
|
|
12866
12923
|
}
|
|
12867
12924
|
}).describe("Stack input definition serialized into a release stack.");
|
|
12868
12925
|
union([object({ "external": string().describe("Reference to another stack by ID") }), _enum(["current"])]).describe("Reference to a stack for management permissions");
|
|
@@ -13657,4 +13714,16 @@ defineError({
|
|
|
13657
13714
|
internal: false,
|
|
13658
13715
|
httpStatusCode: 400
|
|
13659
13716
|
});
|
|
13717
|
+
defineError({
|
|
13718
|
+
code: "INVALID_INPUT_CONDITION",
|
|
13719
|
+
context: object({
|
|
13720
|
+
input: string(),
|
|
13721
|
+
reference: string(),
|
|
13722
|
+
reason: string()
|
|
13723
|
+
}),
|
|
13724
|
+
message: ({ input, reference, reason }) => `Stack input '${input}' when '${reference}': ${reason}`,
|
|
13725
|
+
retryable: false,
|
|
13726
|
+
internal: false,
|
|
13727
|
+
httpStatusCode: 400
|
|
13728
|
+
});
|
|
13660
13729
|
export { logSystemError as _, object as a, getCommands as c, onQueueBatch as d, onQueueMessage as f, waitUntil as g, setOnTaskRegistered as h, defineError as i, getEventHandlers as l, runCommand as m, BindingNotFoundError as n, string as o, onStorageEvent as p, InvalidBindingConfigError as r, command as s, AlienError as t, onCronEvent as u, logSystemWarn as v };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alienplatform/sdk",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.45",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"nice-grpc": "^2.1.11",
|
|
58
58
|
"nice-grpc-common": "^2.0.2",
|
|
59
59
|
"zod": "^4.5.2",
|
|
60
|
-
"@alienplatform/ai-gateway": "^3.3.
|
|
61
|
-
"@alienplatform/bindings": "^3.3.
|
|
62
|
-
"@alienplatform/core": "^3.3.
|
|
60
|
+
"@alienplatform/ai-gateway": "^3.3.45",
|
|
61
|
+
"@alienplatform/bindings": "^3.3.45",
|
|
62
|
+
"@alienplatform/core": "^3.3.45"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "tsdown && tsc --emitDeclarationOnly",
|