@vxil/sdk 0.11.0 → 0.11.1
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.ts +5 -2
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3998,9 +3998,12 @@ export declare class Vxil<S extends VxilSchemaShape = VxilSchemaShape> {
|
|
|
3998
3998
|
/** The deployed functions (name, endpoint, bindings, scopes, limits, the
|
|
3999
3999
|
* runtime each script runs under), `runtime`, the settings a deploy uses
|
|
4000
4000
|
* now, and `cpuMsCeiling`, the per-invocation CPU limit (ms) the plan
|
|
4001
|
-
* gives a function now (its own `limits.cpuMs` can only lower it)
|
|
4002
|
-
*
|
|
4001
|
+
* gives a function now (its own `limits.cpuMs` can only lower it), and
|
|
4002
|
+
* `enabled`: false while the project's functions are paused as a whole
|
|
4003
|
+
* (a Free project on the production workload, a downgrade) — invokes then
|
|
4004
|
+
* answer 404. Any authenticated key may read it. (GET /v1/functions) */
|
|
4003
4005
|
list: () => Promise<{
|
|
4006
|
+
enabled?: boolean;
|
|
4004
4007
|
functions: DeployedFunction[];
|
|
4005
4008
|
runtime?: {
|
|
4006
4009
|
compatibilityDate: string;
|
package/dist/index.js
CHANGED
|
@@ -1388,8 +1388,10 @@ export class Vxil {
|
|
|
1388
1388
|
/** The deployed functions (name, endpoint, bindings, scopes, limits, the
|
|
1389
1389
|
* runtime each script runs under), `runtime`, the settings a deploy uses
|
|
1390
1390
|
* now, and `cpuMsCeiling`, the per-invocation CPU limit (ms) the plan
|
|
1391
|
-
* gives a function now (its own `limits.cpuMs` can only lower it)
|
|
1392
|
-
*
|
|
1391
|
+
* gives a function now (its own `limits.cpuMs` can only lower it), and
|
|
1392
|
+
* `enabled`: false while the project's functions are paused as a whole
|
|
1393
|
+
* (a Free project on the production workload, a downgrade) — invokes then
|
|
1394
|
+
* answer 404. Any authenticated key may read it. (GET /v1/functions) */
|
|
1393
1395
|
list: async () => (await this.call('GET', '/v1/functions')).data,
|
|
1394
1396
|
/**
|
|
1395
1397
|
* Remove ONE function from the deployed set — a new functions config
|
package/package.json
CHANGED