@vxil/cli 0.36.0 → 0.37.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/_vxil-feature-configs.d.ts +19 -0
- package/dist/vxil-main.js +4822 -4620
- package/package.json +3 -3
|
@@ -73,6 +73,24 @@ export declare const SNS_TOPIC_ARN_PATTERN = "^arn:aws(-[a-z]+)?:sns:[a-z0-9-]+:
|
|
|
73
73
|
* a list so a newly launched SES region needs no vxil release; a typo still
|
|
74
74
|
* fails at `vxil push` (TypeBox), never as a DNS error on the first send. */
|
|
75
75
|
export declare const SES_REGION_PATTERN = "^[a-z]{2}(-[a-z]+)+-\\d$";
|
|
76
|
+
/** (w45 W44-WEBHOOK-SECRETREF-PATTERN) the ONE pattern every webhook secret
|
|
77
|
+
* ref shares (notifications `webhookSecretRef`, payments `stripe` / `paddle`
|
|
78
|
+
* / `revenuecat` `webhookSecretRef`): a secret-store name, letters, digits or
|
|
79
|
+
* '_', at most 64, with the optional `secret:` prefix both resolvers strip
|
|
80
|
+
* (payments-v1 resolveProviderSecrets, notifications-v1
|
|
81
|
+
* resolveTenantSecretRef). Stored secret names are lowercase-only
|
|
82
|
+
* (control-plane SECRET_NAME_RE), so both resolvers LOWERCASE the name after
|
|
83
|
+
* the strip: a capital ref reads its lowercase row. Upper case is accepted
|
|
84
|
+
* (founder decision D-k2-1 option (a), parked; built per the w45 brief) so
|
|
85
|
+
* this pattern refuses no stored config: the w45 read-only count found
|
|
86
|
+
* stored refs with capitals on staging, which never resolved before the
|
|
87
|
+
* lowercasing (so they were not live). A typo shape (a space, '-', '.', a
|
|
88
|
+
* path, an empty or over-long name) is refused at push instead of failing
|
|
89
|
+
* closed only when a webhook arrives. */
|
|
90
|
+
export declare const WEBHOOK_SECRET_REF_PATTERN = "^(secret:)?[A-Za-z0-9_]{1,64}$";
|
|
91
|
+
/** The validator's message for a ref that misses WEBHOOK_SECRET_REF_PATTERN
|
|
92
|
+
* (TypeBox's own reads "Expected string to match '…'"). */
|
|
93
|
+
export declare const WEBHOOK_SECRET_REF_MESSAGE = "a secret ref is the name of a stored secret: lowercase letters, numbers or '_' (capitals are read as lowercase), at most 64 characters, optionally prefixed 'secret:'";
|
|
76
94
|
export declare const NotificationsConfigSchema: import("@sinclair/typebox").TObject<{
|
|
77
95
|
enabled: import("@sinclair/typebox").TBoolean;
|
|
78
96
|
fromEmail: import("@sinclair/typebox").TString;
|
|
@@ -834,6 +852,7 @@ export declare const PaymentsConfigSchema: import("@sinclair/typebox").TObject<{
|
|
|
834
852
|
webhookSecretRef: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
835
853
|
acceptSandbox: import("@sinclair/typebox").TBoolean;
|
|
836
854
|
sandboxUsers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
855
|
+
testStore: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"accept">, import("@sinclair/typebox").TLiteral<"reject">]>>;
|
|
837
856
|
}>>;
|
|
838
857
|
paypal: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
839
858
|
clientIdRef: import("@sinclair/typebox").TString;
|