@nocobase/client 1.2.34-alpha → 1.2.35-alpha
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/es/block-provider/hooks/index.d.ts +7 -0
- package/es/data-source/collection/Collection.d.ts +5 -0
- package/es/index.mjs +1229 -1180
- package/es/variables/types.d.ts +2 -0
- package/lib/index.js +50 -50
- package/package.json +5 -5
- /package/es/{md-1OKMvqVH.mjs → md-oH2RssNY.mjs} +0 -0
- /package/lib/{md-1OKMvqVH-tU4j-cWD.js → md-oH2RssNY-IQIU5F3r.js} +0 -0
|
@@ -160,3 +160,10 @@ export declare function parseVariablesAndChangeParamsToQueryString({ searchParam
|
|
|
160
160
|
export declare function reduceValueSize(value: any): any;
|
|
161
161
|
export declare function completeURL(url: string, origin?: string): string;
|
|
162
162
|
export declare function navigateWithinSelf(link: string, navigate: NavigateFunction, origin?: string): void;
|
|
163
|
+
/**
|
|
164
|
+
* 为多层级的关系字段补充上父级字段
|
|
165
|
+
* e.g. ['a', 'b.c'] => ['a', 'b', 'b.c']
|
|
166
|
+
* @param appends
|
|
167
|
+
* @returns
|
|
168
|
+
*/
|
|
169
|
+
export declare function fillParentFields(appends: Set<string>): Set<string>;
|
|
@@ -131,5 +131,10 @@ export declare class Collection {
|
|
|
131
131
|
getField(name: SchemaKey): any;
|
|
132
132
|
hasField(name: SchemaKey): boolean;
|
|
133
133
|
isTitleField(field: CollectionFieldOptions): boolean;
|
|
134
|
+
/**
|
|
135
|
+
* is inherited from other collection
|
|
136
|
+
* @returns boolean
|
|
137
|
+
*/
|
|
138
|
+
isInherited(): boolean;
|
|
134
139
|
}
|
|
135
140
|
export {};
|