@budibase/shared-core 3.17.5 → 3.18.1
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/helpers/duplicate.d.ts +1 -1
- package/dist/index.js +3 -63
- package/dist/index.js.map +4 -4
- package/dist/sdk/documents/users.d.ts +0 -1
- package/package.json +5 -5
|
@@ -32,7 +32,7 @@ export declare const duplicateName: (name: string, allNames: string[]) => string
|
|
|
32
32
|
* @param getName optional function to extract the name for an item, if not a
|
|
33
33
|
* flat array of strings
|
|
34
34
|
*/
|
|
35
|
-
export declare const getSequentialName: <T extends
|
|
35
|
+
export declare const getSequentialName: <T extends any>(items: T[] | null, prefix: string | null, { getName, numberFirstItem, separator, }?: {
|
|
36
36
|
getName?: (item: T) => string;
|
|
37
37
|
numberFirstItem?: boolean;
|
|
38
38
|
separator?: string;
|