@anchrd/colab-sdk 0.1.5 → 0.1.6
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.
|
@@ -34,7 +34,7 @@ export declare const resources: {
|
|
|
34
34
|
readonly secret: "secrets";
|
|
35
35
|
};
|
|
36
36
|
export declare const actions: readonly ["list", "get", "create", "update", "archive", "restore", "purge"];
|
|
37
|
-
export declare const verbs: readonly ["invite", "resend", "disable", "enable", "rotate", "share", "move", "start", "complete", "test", "revoke", "remove", "unlock", "publish", "schedule", "unpublish"];
|
|
37
|
+
export declare const verbs: readonly ["invite", "resend", "disable", "enable", "rotate", "share", "move", "start", "complete", "test", "revoke", "remove", "unlock", "publish", "schedule", "unpublish", "cancel"];
|
|
38
38
|
export type Package = (typeof packages)[number];
|
|
39
39
|
export type Resource = keyof typeof resources;
|
|
40
40
|
export type Action = (typeof actions)[number] | (typeof verbs)[number];
|
package/dist/grammar/grammar.js
CHANGED
|
@@ -84,6 +84,10 @@ export const verbs = [
|
|
|
84
84
|
"publish",
|
|
85
85
|
"schedule",
|
|
86
86
|
"unpublish",
|
|
87
|
+
// A connector's run at the provider is ended before it completes (#567, E108):
|
|
88
|
+
// `fal_request_cancel`. Not `revoke`, which ends an access in Colab, and not `archive`: nothing
|
|
89
|
+
// stays to restore, and a cancelled run may still be billed.
|
|
90
|
+
"cancel",
|
|
87
91
|
];
|
|
88
92
|
export function isPackage(word) {
|
|
89
93
|
return packages.includes(word);
|
package/package.json
CHANGED