feat: Remote Joiner (#4098)
This commit is contained in:
@@ -2,6 +2,7 @@ export * from "./build-query"
|
||||
export * from "./errors"
|
||||
export * from "./generate-entity-id"
|
||||
export * from "./get-config-file"
|
||||
export * from "./handle-postgres-database-error"
|
||||
export * from "./is-date"
|
||||
export * from "./is-defined"
|
||||
export * from "./is-email"
|
||||
@@ -17,5 +18,6 @@ export * from "./wrap-handler"
|
||||
export * from "./to-kebab-case"
|
||||
export * from "./to-camel-case"
|
||||
export * from "./stringify-circular"
|
||||
export * from "./build-query"
|
||||
export * from "./handle-postgres-database-error"
|
||||
export * from "./to-kebab-case"
|
||||
export * from "./to-pascal-case"
|
||||
export * from "./wrap-handler"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
export function toPascalCase(s: string): string {
|
||||
return s.replace(/(^\w|_\w)/g, (match) =>
|
||||
match.replace(/_/g, "").toUpperCase()
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user