@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.
@@ -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
  ```