@lunora/container 1.0.0-alpha.66 → 1.0.0-alpha.67
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/do/index.d.mts +1 -1
- package/dist/do/index.d.ts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/packem_shared/{jurisdiction.d-t4mtuqYW.d.mts → jurisdiction.d-B8_fht7G.d.mts} +7 -6
- package/dist/packem_shared/{jurisdiction.d-t4mtuqYW.d.ts → jurisdiction.d-B8_fht7G.d.ts} +7 -6
- package/dist/sandbox/index.d.mts +1 -1
- package/dist/sandbox/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/do/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as ContainerRuntimeInstanceType, C as ContainerDefinition, D as DurableObjectJurisdiction, b as ContainerSnapshot, e as ContainerSpawnRequest } from "../packem_shared/jurisdiction.d-
|
|
1
|
+
import { d as ContainerRuntimeInstanceType, C as ContainerDefinition, D as DurableObjectJurisdiction, b as ContainerSnapshot, e as ContainerSpawnRequest } from "../packem_shared/jurisdiction.d-B8_fht7G.mjs";
|
|
2
2
|
import { DurableObject, WorkerEntrypoint, RpcTarget } from 'cloudflare:workers';
|
|
3
3
|
/**
|
|
4
4
|
* ContainerStartOptions as they come from worker types
|
package/dist/do/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as ContainerRuntimeInstanceType, C as ContainerDefinition, D as DurableObjectJurisdiction, b as ContainerSnapshot, e as ContainerSpawnRequest } from "../packem_shared/jurisdiction.d-
|
|
1
|
+
import { d as ContainerRuntimeInstanceType, C as ContainerDefinition, D as DurableObjectJurisdiction, b as ContainerSnapshot, e as ContainerSpawnRequest } from "../packem_shared/jurisdiction.d-B8_fht7G.js";
|
|
2
2
|
import { DurableObject, WorkerEntrypoint, RpcTarget } from 'cloudflare:workers';
|
|
3
3
|
/**
|
|
4
4
|
* ContainerStartOptions as they come from worker types
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ContainerSpawnOptions, b as ContainerSnapshot, c as ContainerProcess, d as ContainerRuntimeInstanceType, e as ContainerSpawnRequest, S as SpawnResult, D as DurableObjectJurisdiction, f as DefaultScheduledContainerConfig, g as DurableObjectScheduledContainerConfig, C as ContainerDefinition, h as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-
|
|
2
|
-
export type { B as BuildImageSource, i as ContainerBackupStorage, j as ContainerConfig, k as ContainerConfigBase, l as ContainerInstanceType, m as ContainerNamedImageSource, n as ContainerReadinessCheck, o as ContainerRollout, p as CustomContainerInstanceType, q as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-
|
|
1
|
+
import { a as ContainerSpawnOptions, b as ContainerSnapshot, c as ContainerProcess, d as ContainerRuntimeInstanceType, e as ContainerSpawnRequest, S as SpawnResult, D as DurableObjectJurisdiction, f as DefaultScheduledContainerConfig, g as DurableObjectScheduledContainerConfig, C as ContainerDefinition, h as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-B8_fht7G.mjs";
|
|
2
|
+
export type { B as BuildImageSource, i as ContainerBackupStorage, j as ContainerConfig, k as ContainerConfigBase, l as ContainerInstanceType, m as ContainerNamedImageSource, n as ContainerReadinessCheck, o as ContainerRollout, p as CustomContainerInstanceType, q as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-B8_fht7G.mjs";
|
|
3
3
|
import { b as ContainerBackupOptions, C as ContainerFileOptions, c as ContainerMountRequest, a as ContainerFileContent, d as ContainerSandboxControls } from "./packem_shared/sandbox-types.d-DXlHnsEg.mjs";
|
|
4
4
|
export type { e as ContainerFiles, f as ContainerMountCredentials } from "./packem_shared/sandbox-types.d-DXlHnsEg.mjs";
|
|
5
5
|
import { DirectoryBackupRecord, S3MountInspection, SandboxDirectoryEntry, SandboxFileStat } from '@cloudflare/sandbox';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ContainerSpawnOptions, b as ContainerSnapshot, c as ContainerProcess, d as ContainerRuntimeInstanceType, e as ContainerSpawnRequest, S as SpawnResult, D as DurableObjectJurisdiction, f as DefaultScheduledContainerConfig, g as DurableObjectScheduledContainerConfig, C as ContainerDefinition, h as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-
|
|
2
|
-
export type { B as BuildImageSource, i as ContainerBackupStorage, j as ContainerConfig, k as ContainerConfigBase, l as ContainerInstanceType, m as ContainerNamedImageSource, n as ContainerReadinessCheck, o as ContainerRollout, p as CustomContainerInstanceType, q as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-
|
|
1
|
+
import { a as ContainerSpawnOptions, b as ContainerSnapshot, c as ContainerProcess, d as ContainerRuntimeInstanceType, e as ContainerSpawnRequest, S as SpawnResult, D as DurableObjectJurisdiction, f as DefaultScheduledContainerConfig, g as DurableObjectScheduledContainerConfig, C as ContainerDefinition, h as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-B8_fht7G.js";
|
|
2
|
+
export type { B as BuildImageSource, i as ContainerBackupStorage, j as ContainerConfig, k as ContainerConfigBase, l as ContainerInstanceType, m as ContainerNamedImageSource, n as ContainerReadinessCheck, o as ContainerRollout, p as CustomContainerInstanceType, q as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-B8_fht7G.js";
|
|
3
3
|
import { b as ContainerBackupOptions, C as ContainerFileOptions, c as ContainerMountRequest, a as ContainerFileContent, d as ContainerSandboxControls } from "./packem_shared/sandbox-types.d-DXlHnsEg.js";
|
|
4
4
|
export type { e as ContainerFiles, f as ContainerMountCredentials } from "./packem_shared/sandbox-types.d-DXlHnsEg.js";
|
|
5
5
|
import { DirectoryBackupRecord, S3MountInspection, SandboxDirectoryEntry, SandboxFileStat } from '@cloudflare/sandbox';
|
|
@@ -99,16 +99,17 @@ interface ContainerProcess {
|
|
|
99
99
|
*/
|
|
100
100
|
type NamedContainerInstanceType = "basic" | "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
|
|
101
101
|
/**
|
|
102
|
-
* A custom instance type
|
|
103
|
-
* 4 vCPU, 12 GiB memory, 20 GB disk
|
|
104
|
-
*
|
|
102
|
+
* A custom instance type, available to every Containers account. Cloudflare's
|
|
103
|
+
* documented bounds: 1–4 vCPU, up to 12 GiB memory, up to 20 GB disk at any
|
|
104
|
+
* memory size, and ≥ 3 GiB memory per vCPU. For less than 1 vCPU use the named
|
|
105
|
+
* `lite` or `basic` types. The config-layer validator enforces these ranges.
|
|
105
106
|
*/
|
|
106
107
|
interface CustomContainerInstanceType {
|
|
107
|
-
/** Disk in MB. Cloudflare's default is 2000 (2 GB). */
|
|
108
|
+
/** Disk in MB, up to 20000 (20 GB) at any memory size. Cloudflare's default is 2000 (2 GB). */
|
|
108
109
|
diskMb?: number;
|
|
109
|
-
/** Memory in MiB. Cloudflare's default is 256. */
|
|
110
|
+
/** Memory in MiB, up to 12288 (12 GiB) and ≥ 3072 MiB per vCPU. Cloudflare's default is 256. */
|
|
110
111
|
memoryMib?: number;
|
|
111
|
-
/** vCPU count. Cloudflare's default is 0.0625 (1/16 vCPU). */
|
|
112
|
+
/** vCPU count, 1–4 when set. Cloudflare's default is 0.0625 (1/16 vCPU). */
|
|
112
113
|
vcpu?: number;
|
|
113
114
|
}
|
|
114
115
|
/**
|
|
@@ -99,16 +99,17 @@ interface ContainerProcess {
|
|
|
99
99
|
*/
|
|
100
100
|
type NamedContainerInstanceType = "basic" | "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
|
|
101
101
|
/**
|
|
102
|
-
* A custom instance type
|
|
103
|
-
* 4 vCPU, 12 GiB memory, 20 GB disk
|
|
104
|
-
*
|
|
102
|
+
* A custom instance type, available to every Containers account. Cloudflare's
|
|
103
|
+
* documented bounds: 1–4 vCPU, up to 12 GiB memory, up to 20 GB disk at any
|
|
104
|
+
* memory size, and ≥ 3 GiB memory per vCPU. For less than 1 vCPU use the named
|
|
105
|
+
* `lite` or `basic` types. The config-layer validator enforces these ranges.
|
|
105
106
|
*/
|
|
106
107
|
interface CustomContainerInstanceType {
|
|
107
|
-
/** Disk in MB. Cloudflare's default is 2000 (2 GB). */
|
|
108
|
+
/** Disk in MB, up to 20000 (20 GB) at any memory size. Cloudflare's default is 2000 (2 GB). */
|
|
108
109
|
diskMb?: number;
|
|
109
|
-
/** Memory in MiB. Cloudflare's default is 256. */
|
|
110
|
+
/** Memory in MiB, up to 12288 (12 GiB) and ≥ 3072 MiB per vCPU. Cloudflare's default is 256. */
|
|
110
111
|
memoryMib?: number;
|
|
111
|
-
/** vCPU count. Cloudflare's default is 0.0625 (1/16 vCPU). */
|
|
112
|
+
/** vCPU count, 1–4 when set. Cloudflare's default is 0.0625 (1/16 vCPU). */
|
|
112
113
|
vcpu?: number;
|
|
113
114
|
}
|
|
114
115
|
/**
|
package/dist/sandbox/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { SandboxFileStat, SandboxDirectoryEntry, DirectoryBackupRecord, S3MountI
|
|
|
2
2
|
export { DirectoryBackupGateway, S3Gateway } from '@cloudflare/sandbox';
|
|
3
3
|
import { LunoraContainer } from "../do/index.mjs";
|
|
4
4
|
import { C as ContainerFileOptions, a as ContainerFileContent, b as ContainerBackupOptions, c as ContainerMountRequest } from "../packem_shared/sandbox-types.d-DXlHnsEg.mjs";
|
|
5
|
-
import { C as ContainerDefinition } from "../packem_shared/jurisdiction.d-
|
|
5
|
+
import { C as ContainerDefinition } from "../packem_shared/jurisdiction.d-B8_fht7G.mjs";
|
|
6
6
|
import 'cloudflare:workers';
|
|
7
7
|
type DurableObjectContext = ConstructorParameters<typeof LunoraContainer>[0];
|
|
8
8
|
declare class LunoraSandboxContainer<Env = unknown> extends LunoraContainer<Env> {
|
package/dist/sandbox/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SandboxFileStat, SandboxDirectoryEntry, DirectoryBackupRecord, S3MountI
|
|
|
2
2
|
export { DirectoryBackupGateway, S3Gateway } from '@cloudflare/sandbox';
|
|
3
3
|
import { LunoraContainer } from "../do/index.js";
|
|
4
4
|
import { C as ContainerFileOptions, a as ContainerFileContent, b as ContainerBackupOptions, c as ContainerMountRequest } from "../packem_shared/sandbox-types.d-DXlHnsEg.js";
|
|
5
|
-
import { C as ContainerDefinition } from "../packem_shared/jurisdiction.d-
|
|
5
|
+
import { C as ContainerDefinition } from "../packem_shared/jurisdiction.d-B8_fht7G.js";
|
|
6
6
|
import 'cloudflare:workers';
|
|
7
7
|
type DurableObjectContext = ConstructorParameters<typeof LunoraContainer>[0];
|
|
8
8
|
declare class LunoraSandboxContainer<Env = unknown> extends LunoraContainer<Env> {
|
package/package.json
CHANGED