@norskvideo/ctl-commands 0.1.10 → 0.1.11
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/commands.d.ts +3 -0
- package/commands.js +1 -0
- package/package.json +1 -1
package/commands.d.ts
CHANGED
|
@@ -346,6 +346,9 @@ export declare const commands: {
|
|
|
346
346
|
readonly kind: "user.delete";
|
|
347
347
|
readonly name: string;
|
|
348
348
|
}>;
|
|
349
|
+
readonly list: LeafCmd<() => {
|
|
350
|
+
readonly kind: "user.list";
|
|
351
|
+
}>;
|
|
349
352
|
};
|
|
350
353
|
};
|
|
351
354
|
/** Every leaf in a factory subtree, as a union of its `LeafCmd` types. */
|
package/commands.js
CHANGED
|
@@ -110,5 +110,6 @@ export const commands = {
|
|
|
110
110
|
user: {
|
|
111
111
|
set: leaf("user.set", (name, opts) => ({ kind: "user.set", name, opts }), "name"),
|
|
112
112
|
delete: leaf("user.delete", (name) => ({ kind: "user.delete", name }), "name"),
|
|
113
|
+
list: leaf("user.list", () => ({ kind: "user.list" })),
|
|
113
114
|
},
|
|
114
115
|
};
|