@kelceyp/caw-server 1.0.95 → 1.0.97
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/cli.js +4 -2
- package/dist/main.js +259 -255
- package/dist/public_html/main.js +376 -376
- package/dist/public_html/styles.css +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -9613,9 +9613,11 @@ var list_defs_default = Object.freeze({ create: create47 });
|
|
|
9613
9613
|
|
|
9614
9614
|
// src/commands/field/get-type-fields.js
|
|
9615
9615
|
var create48 = ({ httpClient }) => {
|
|
9616
|
-
return createCommand("get-type-fields").summary("Get field definitions for an entity type/subtype").param((p) => p.name("sid").type("string").flag("sid", "s").required()).param((p) => p.name("code").type("string").flag("code").required()).param((p) => p.name("subtype").type("string").flag("subtype")
|
|
9616
|
+
return createCommand("get-type-fields").summary("Get field definitions for an entity type/subtype").param((p) => p.name("sid").type("string").flag("sid", "s").required()).param((p) => p.name("code").type("string").flag("code").required()).param((p) => p.name("subtype").type("string").flag("subtype")).param((p) => p.name("store").type("string").flag("store")).run(async (ctx) => {
|
|
9617
9617
|
const { sid, code, subtype, store } = ctx.params;
|
|
9618
|
-
const args = { code
|
|
9618
|
+
const args = { code };
|
|
9619
|
+
if (subtype !== undefined)
|
|
9620
|
+
args.subtype = subtype;
|
|
9619
9621
|
if (store !== undefined)
|
|
9620
9622
|
args.store = store;
|
|
9621
9623
|
const result = await httpClient.post(`/cli/mcp-client/${sid}/dispatch`, {
|