@nocobase/client-v2 2.4.0-alpha.13 → 2.4.0-alpha.15

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/README.md CHANGED
@@ -24,7 +24,7 @@ Online Demo:
24
24
  https://demo.nocobase.com/new
25
25
 
26
26
  Documents:
27
- https://docs.nocobase.com/
27
+ https://nocode.docs.nocobase.com/
28
28
 
29
29
  Forum:
30
30
  https://forum.nocobase.com/
@@ -80,15 +80,15 @@ Adding more no-code features will never cover every business case. NocoBase is b
80
80
 
81
81
  NocoBase supports three installation methods:
82
82
 
83
- - <a target="_blank" href="https://docs.nocobase.com/welcome/getting-started/installation/docker-compose">Installing With Docker (👍Recommended)</a>
83
+ - <a target="_blank" href="https://nocode.docs.nocobase.com/welcome/getting-started/installation/docker-compose">Installing With Docker (👍Recommended)</a>
84
84
 
85
85
  Suitable for no-code scenarios, no code to write. When upgrading, just download the latest image and reboot.
86
86
 
87
- - <a target="_blank" href="https://docs.nocobase.com/welcome/getting-started/installation/create-nocobase-app">Installing from create-nocobase-app CLI</a>
87
+ - <a target="_blank" href="https://nocode.docs.nocobase.com/welcome/getting-started/installation/create-nocobase-app">Installing from create-nocobase-app CLI</a>
88
88
 
89
89
  The business code of the project is completely independent and supports low-code development.
90
90
 
91
- - <a target="_blank" href="https://docs.nocobase.com/welcome/getting-started/installation/git-clone">Installing from Git source code</a>
91
+ - <a target="_blank" href="https://nocode.docs.nocobase.com/welcome/getting-started/installation/git-clone">Installing from Git source code</a>
92
92
 
93
93
  If you want to experience the latest unreleased version, or want to participate in the contribution, you need to make changes and debug on the source code, it is recommended to choose this installation method, which requires a high level of development skills, and if the code has been updated, you can git pull the latest code.
94
94
 
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ type ArrayValueCollectionField = {
10
+ interface?: string;
11
+ uiSchema?: {
12
+ type?: string;
13
+ } | null;
14
+ } | null | undefined;
15
+ /**
16
+ * Fields whose stored value is an array. Besides `multipleSelect`/`checkboxGroup`,
17
+ * some legacy fields declare `uiSchema.type === 'array'` explicitly.
18
+ */
19
+ export declare function isArrayValueField(collectionField: ArrayValueCollectionField): boolean;
20
+ /**
21
+ * Normalize a constant assignment value for array-valued fields.
22
+ *
23
+ * Historical configurations may store a scalar (before the multi-select control
24
+ * was rendered correctly), so wrap it into an array instead of submitting a
25
+ * string to the server. Variable expressions, RunJS values, Null and empty
26
+ * values are kept as-is so the assignment mode is not changed.
27
+ */
28
+ export declare function normalizeAssignFormValue(value: unknown, arrayValueField: boolean): unknown;
29
+ export {};