@senpi/runtime 3.0.232 → 3.0.233

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.
@@ -1,7 +0,0 @@
1
- export declare const DEFAULT_MAX_RUNTIMES_PER_BOX = 20;
2
- /** The cap, and the raw value when one was set but is not a positive whole number. */
3
- export declare function maxRuntimesPerBox(env: NodeJS.ProcessEnv): {
4
- cap: number;
5
- invalid?: string;
6
- };
7
- //# sourceMappingURL=box-cap.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"box-cap.d.ts","sourceRoot":"","sources":["../../src/deploy/box-cap.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C,sFAAsF;AACtF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAQ3F"}
@@ -1,13 +0,0 @@
1
- export const DEFAULT_MAX_RUNTIMES_PER_BOX = 20;
2
- /** The cap, and the raw value when one was set but is not a positive whole number. */
3
- export function maxRuntimesPerBox(env) {
4
- const raw = env.MAX_RUNTIMES_PER_BOX;
5
- if (raw === undefined)
6
- return { cap: DEFAULT_MAX_RUNTIMES_PER_BOX };
7
- const cap = Number(raw);
8
- if (raw.trim() === "" || !Number.isSafeInteger(cap) || cap < 1) {
9
- return { cap: DEFAULT_MAX_RUNTIMES_PER_BOX, invalid: raw };
10
- }
11
- return { cap };
12
- }
13
- //# sourceMappingURL=box-cap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"box-cap.js","sourceRoot":"","sources":["../../src/deploy/box-cap.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAE/C,sFAAsF;AACtF,MAAM,UAAU,iBAAiB,CAAC,GAAsB;IACtD,MAAM,GAAG,GAAG,GAAG,CAAC,oBAAoB,CAAC;IACrC,IAAI,GAAG,KAAK,SAAS;QAAE,OAAO,EAAE,GAAG,EAAE,4BAA4B,EAAE,CAAC;IACpE,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACxB,IAAI,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,EAAE,CAAC;QAC/D,OAAO,EAAE,GAAG,EAAE,4BAA4B,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;IAC7D,CAAC;IACD,OAAO,EAAE,GAAG,EAAE,CAAC;AACjB,CAAC"}