feat(*): Modules export entities and fields (#5242)

This commit is contained in:
Carlos R. L. Rodrigues
2023-10-03 17:20:43 -04:00
committed by GitHub
parent eeceec791c
commit 130cbc1f43
27 changed files with 801 additions and 226 deletions

View File

@@ -0,0 +1,2 @@
export const camelToSnakeCase = (string) =>
string.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`)

View File

@@ -22,6 +22,7 @@ export * from "./set-metadata"
export * from "./simple-hash"
export * from "./string-to-select-relation-object"
export * from "./stringify-circular"
export * from "./camel-to-snake-case"
export * from "./to-camel-case"
export * from "./to-kebab-case"
export * from "./to-pascal-case"