@nocobase/client 1.3.31-beta → 1.3.33-beta

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.
@@ -126,6 +126,7 @@ export declare class Collection {
126
126
  * getFields((field) => field.name === 'nickname') // Get the field with `name: 'nickname`'
127
127
  */
128
128
  getFields(predicate?: GetCollectionFieldPredicate): CollectionFieldOptions[];
129
+ getAllFields(predicate?: GetCollectionFieldPredicate): CollectionFieldOptions[];
129
130
  protected getFieldsMap(): Record<string, CollectionFieldOptions>;
130
131
  private getFieldByAssociationName;
131
132
  getField(name: SchemaKey): any;
@@ -40,6 +40,7 @@ export declare class CollectionManager {
40
40
  */
41
41
  getCollectionField(path: SchemaKey | CollectionFieldOptions): any;
42
42
  getCollectionFields(collectionName: string, predicate?: GetCollectionFieldPredicate): CollectionFieldOptions[];
43
+ getCollectionAllFields(collectionName: string, predicate?: GetCollectionFieldPredicate): CollectionFieldOptions[];
43
44
  /**
44
45
  * @example
45
46
  * getFilterByTK('users', { id: 1 }); // 1