@nocobase/plugin-ai 2.4.0-alpha.18 → 2.4.0-alpha.19
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/ai/docs/nocobase/api/cli/api/resource/list.md +2 -0
- package/dist/client/index.js +1 -1
- package/dist/client-v2/ai-employees/chatbox/components/ChatBoxLayout.d.ts +2 -0
- package/dist/client-v2/ai-employees/chatbox/components/ChatButton.d.ts +3 -1
- package/dist/client-v2/index.js +1 -1
- package/dist/externalVersion.js +15 -15
- package/dist/node_modules/@langchain/mistralai/package.json +1 -1
- package/dist/node_modules/@langchain/xai/package.json +1 -1
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/node_modules/jsonrepair/package.json +1 -1
- package/dist/node_modules/just-bash/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/node_modules/openai/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/ai-employees/ai-employee.js +27 -0
- package/package.json +2 -2
|
@@ -21,6 +21,7 @@ nb api resource list --resource <resource> [flags]
|
|
|
21
21
|
| `--resource` | string | Resource name, required |
|
|
22
22
|
| `--data-source` | string | Data source key, default `main` |
|
|
23
23
|
| `--source-id` | string | Source record ID for association resources |
|
|
24
|
+
| `--space` | string | Name of a single space to query with the Multi-Space plugin. |
|
|
24
25
|
| `--filter` | string | Filter conditions as a JSON object |
|
|
25
26
|
| `--fields` | string[] | Fields to query; repeatable or pass a JSON array |
|
|
26
27
|
| `--appends` | string[] | Association fields to append; repeatable or pass a JSON array |
|
|
@@ -36,6 +37,7 @@ Also supports common connection parameters from [`nb api resource`](./index.md).
|
|
|
36
37
|
|
|
37
38
|
```bash
|
|
38
39
|
nb api resource list --resource users
|
|
40
|
+
nb api resource list --resource orders --space sales
|
|
39
41
|
nb api resource list --resource posts.comments --source-id 1 --fields id --fields content
|
|
40
42
|
nb api resource list --resource users --filter '{"status":"active"}' --sort=-createdAt
|
|
41
43
|
```
|