@nocobase/client 1.6.21 → 1.6.23
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.
|
@@ -25,6 +25,7 @@ export declare class InheritanceCollectionMixin extends Collection {
|
|
|
25
25
|
protected parentCollectionFields: Record<string, CollectionFieldOptions[]>;
|
|
26
26
|
protected allCollectionsInheritChain: string[];
|
|
27
27
|
protected inheritCollectionsChain: string[];
|
|
28
|
+
protected inheritChain: string[];
|
|
28
29
|
protected foreignKeyFields: CollectionFieldOptions[];
|
|
29
30
|
getParentCollectionsName(): string[];
|
|
30
31
|
getParentCollections(): Collection[];
|
|
@@ -36,6 +37,11 @@ export declare class InheritanceCollectionMixin extends Collection {
|
|
|
36
37
|
getParentCollectionFields(parentCollectionName: string): CollectionFieldOptions[];
|
|
37
38
|
getAllCollectionsInheritChain(): string[];
|
|
38
39
|
getInheritCollectionsChain(): string[];
|
|
40
|
+
/**
|
|
41
|
+
* 获取所有祖先数据表和后代数据表,不包括兄弟表。用于下面这些地方:
|
|
42
|
+
* - 筛选区块链接数据区块时使用
|
|
43
|
+
*/
|
|
44
|
+
getInheritChain(): string[];
|
|
39
45
|
getAllFields(predicate?: GetCollectionFieldPredicate): CollectionFieldOptions[];
|
|
40
46
|
getForeignKeyFields(): CollectionFieldOptions[];
|
|
41
47
|
}
|
|
@@ -16,7 +16,7 @@ export interface DataSourceManagerProviderProps {
|
|
|
16
16
|
export declare const DataSourceManagerProvider: FC<DataSourceManagerProviderProps>;
|
|
17
17
|
export declare function useDataSourceManager(): DataSourceManager;
|
|
18
18
|
/**
|
|
19
|
-
* 获取当前 collection 继承链路上的所有 collection
|
|
19
|
+
* 获取当前 collection 继承链路上的所有 collection(不包括兄弟表)
|
|
20
20
|
* @returns
|
|
21
21
|
*/
|
|
22
22
|
export declare function useAllCollectionsInheritChainGetter(): {
|