@secondlayer/subgraphs 3.26.2 → 3.26.3

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.
@@ -16,6 +16,13 @@ function quotePgIdent(name) {
16
16
  return name;
17
17
  return `"${name.replace(/"/g, '""')}"`;
18
18
  }
19
+ function snakeToCamel(name) {
20
+ return name.replace(/_([a-z0-9])/g, (_, c) => c.toUpperCase());
21
+ }
22
+ function pascalCase(name) {
23
+ const camel = snakeToCamel(name);
24
+ return camel.charAt(0).toUpperCase() + camel.slice(1);
25
+ }
19
26
 
20
27
  // src/schema/generator.ts
21
28
  var TYPE_MAP = {
@@ -3450,5 +3457,5 @@ export {
3450
3457
  handleSubgraphReorg
3451
3458
  };
3452
3459
 
3453
- //# debugId=902B28BBF3E6B7B064756E2164756E21
3460
+ //# debugId=2EEB85F9F0ECD1CF64756E2164756E21
3454
3461
  //# sourceMappingURL=reorg.js.map