@budibase/shared-core 3.13.23 → 3.13.25

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/dist/table.d.ts CHANGED
@@ -2,4 +2,5 @@ import { FieldType, Table } from "@budibase/types";
2
2
  export declare function canBeDisplayColumn(type: FieldType): boolean;
3
3
  export declare function canBeSortColumn(type: FieldType): boolean;
4
4
  export declare function canHaveDefaultColumn(type: FieldType): boolean;
5
+ export declare function isAllowedDisplayField(name: string, type: FieldType): boolean;
5
6
  export declare function findDuplicateInternalColumns(table: Table): string[];
package/dist/utils.d.ts CHANGED
@@ -3,7 +3,7 @@ export declare function unreachable(value: never, opts?: {
3
3
  message?: string;
4
4
  doNotThrow?: boolean;
5
5
  }): void;
6
- export declare function parallelForeach<T>(items: T[], task: (item: T) => Promise<void>, maxConcurrency: number): Promise<void>;
6
+ export declare function parallelForeach<T>(items: Iterable<T> | AsyncIterable<T>, task: (item: T) => Promise<void>, maxConcurrency: number): Promise<void>;
7
7
  export declare function filterValueToLabel(): {
8
8
  [key: string]: string;
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budibase/shared-core",
3
- "version": "3.13.23",
3
+ "version": "3.13.25",
4
4
  "description": "Shared data utils",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,5 +36,5 @@
36
36
  }
37
37
  }
38
38
  },
39
- "gitHead": "52957bfa203f547d8fbb70f1de02931e6b9681c5"
39
+ "gitHead": "b0c1421ade63bdeae3d10d2eb6ada7a97b5e02fe"
40
40
  }