@void/deploy-core 0.20.1 → 0.20.3
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.mts +8 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -271,6 +271,12 @@ export type SandboxManifestMeta = {
|
|
|
271
271
|
instanceType?: string;
|
|
272
272
|
maxInstances?: number;
|
|
273
273
|
migrations?: ReadonlyArray<SandboxMigrationMeta>;
|
|
274
|
+
/** Written by the managed platform, never accepted from deployment clients. */
|
|
275
|
+
runtime?: {
|
|
276
|
+
protocol: 1;
|
|
277
|
+
};
|
|
278
|
+
/** Managed transport implemented by the application's bundled Void runtime. */
|
|
279
|
+
controllerProtocol?: 1;
|
|
274
280
|
};
|
|
275
281
|
export type LiveMigrationMeta = {
|
|
276
282
|
tag: string;
|
|
@@ -286,6 +292,8 @@ export type LiveManifestMeta = {
|
|
|
286
292
|
export type DeployManifest = {
|
|
287
293
|
version: number;
|
|
288
294
|
assetManifestVersion?: 1 | 2;
|
|
295
|
+
/** Authenticated framed HTTP delivery for managed inbound email. */
|
|
296
|
+
emailProtocolVersion?: 1;
|
|
289
297
|
auth?: boolean;
|
|
290
298
|
bindings: {
|
|
291
299
|
d1?: Array<string>;
|
package/dist/index.mjs
CHANGED
|
@@ -38,6 +38,7 @@ function validateRuleHost(ruleObject, ruleKind, sourceRef) {
|
|
|
38
38
|
function validateManifestShape(parsed) {
|
|
39
39
|
if (parsed == null || typeof parsed !== "object" || Array.isArray(parsed)) return "invalid manifest shape: expected a JSON object";
|
|
40
40
|
const manifest = parsed;
|
|
41
|
+
if (manifest.emailProtocolVersion !== void 0 && manifest.emailProtocolVersion !== 1) return "invalid manifest shape: emailProtocolVersion must be 1";
|
|
41
42
|
if (manifest.bindings == null || typeof manifest.bindings !== "object" || Array.isArray(manifest.bindings)) return "invalid manifest shape: bindings must be an object";
|
|
42
43
|
const bindings = manifest.bindings;
|
|
43
44
|
for (const key of [
|