feat: Remote Joiner (#4098)

This commit is contained in:
Carlos R. L. Rodrigues
2023-06-29 15:29:01 +02:00
committed by GitHub
parent 9dcdc0041a
commit 499c3478c9
20 changed files with 2227 additions and 5 deletions
+4 -2
View File
@@ -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()
)
}