feat(*): Modules export entities and fields (#5242)
This commit is contained in:
committed by
GitHub
parent
eeceec791c
commit
130cbc1f43
2
packages/utils/src/common/camel-to-snake-case.ts
Normal file
2
packages/utils/src/common/camel-to-snake-case.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export const camelToSnakeCase = (string) =>
|
||||
string.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`)
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user