@nocobase/client 1.2.34-alpha → 1.2.36-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.
@@ -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 {};