graphile-build-pg 5.0.0-beta.2 → 5.0.0-beta.20

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.
Files changed (119) hide show
  1. package/CHANGELOG.md +417 -0
  2. package/README.md +5 -7
  3. package/dist/behavior.d.ts +0 -1
  4. package/dist/behavior.d.ts.map +1 -1
  5. package/dist/behavior.js +0 -1
  6. package/dist/behavior.js.map +1 -1
  7. package/dist/index.d.ts +84 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +6 -4
  10. package/dist/index.js.map +1 -1
  11. package/dist/plugins/PgAttributesPlugin.d.ts +0 -1
  12. package/dist/plugins/PgAttributesPlugin.d.ts.map +1 -1
  13. package/dist/plugins/PgAttributesPlugin.js +9 -11
  14. package/dist/plugins/PgAttributesPlugin.js.map +1 -1
  15. package/dist/plugins/PgBasicsPlugin.d.ts +20 -10
  16. package/dist/plugins/PgBasicsPlugin.d.ts.map +1 -1
  17. package/dist/plugins/PgBasicsPlugin.js +50 -2
  18. package/dist/plugins/PgBasicsPlugin.js.map +1 -1
  19. package/dist/plugins/PgCodecsPlugin.d.ts +6 -0
  20. package/dist/plugins/PgCodecsPlugin.d.ts.map +1 -1
  21. package/dist/plugins/PgCodecsPlugin.js +237 -205
  22. package/dist/plugins/PgCodecsPlugin.js.map +1 -1
  23. package/dist/plugins/PgConnectionArgOrderByPlugin.d.ts.map +1 -1
  24. package/dist/plugins/PgConnectionArgOrderByPlugin.js +3 -0
  25. package/dist/plugins/PgConnectionArgOrderByPlugin.js.map +1 -1
  26. package/dist/plugins/PgCustomTypeFieldPlugin.d.ts.map +1 -1
  27. package/dist/plugins/PgCustomTypeFieldPlugin.js +99 -37
  28. package/dist/plugins/PgCustomTypeFieldPlugin.js.map +1 -1
  29. package/dist/plugins/PgEnumTablesPlugin.d.ts +3 -0
  30. package/dist/plugins/PgEnumTablesPlugin.d.ts.map +1 -1
  31. package/dist/plugins/PgEnumTablesPlugin.js +49 -31
  32. package/dist/plugins/PgEnumTablesPlugin.js.map +1 -1
  33. package/dist/plugins/PgFakeConstraintsPlugin.js +3 -1
  34. package/dist/plugins/PgFakeConstraintsPlugin.js.map +1 -1
  35. package/dist/plugins/PgInterfaceModeUnionAllRowsPlugin.d.ts.map +1 -1
  36. package/dist/plugins/PgInterfaceModeUnionAllRowsPlugin.js +5 -76
  37. package/dist/plugins/PgInterfaceModeUnionAllRowsPlugin.js.map +1 -1
  38. package/dist/plugins/PgIntrospectionPlugin.d.ts.map +1 -1
  39. package/dist/plugins/PgIntrospectionPlugin.js +111 -104
  40. package/dist/plugins/PgIntrospectionPlugin.js.map +1 -1
  41. package/dist/plugins/PgLtreePlugin.d.ts +2 -0
  42. package/dist/plugins/PgLtreePlugin.d.ts.map +1 -0
  43. package/dist/plugins/PgLtreePlugin.js +66 -0
  44. package/dist/plugins/PgLtreePlugin.js.map +1 -0
  45. package/dist/plugins/PgMutationPayloadEdgePlugin.d.ts.map +1 -1
  46. package/dist/plugins/PgMutationPayloadEdgePlugin.js +2 -9
  47. package/dist/plugins/PgMutationPayloadEdgePlugin.js.map +1 -1
  48. package/dist/plugins/PgMutationUpdateDeletePlugin.d.ts.map +1 -1
  49. package/dist/plugins/PgMutationUpdateDeletePlugin.js +41 -39
  50. package/dist/plugins/PgMutationUpdateDeletePlugin.js.map +1 -1
  51. package/dist/plugins/PgNodeIdAttributesPlugin.d.ts +0 -1
  52. package/dist/plugins/PgNodeIdAttributesPlugin.d.ts.map +1 -1
  53. package/dist/plugins/PgNodeIdAttributesPlugin.js +10 -12
  54. package/dist/plugins/PgNodeIdAttributesPlugin.js.map +1 -1
  55. package/dist/plugins/PgOrderAllAttributesPlugin.d.ts.map +1 -1
  56. package/dist/plugins/PgOrderAllAttributesPlugin.js +2 -2
  57. package/dist/plugins/PgOrderAllAttributesPlugin.js.map +1 -1
  58. package/dist/plugins/PgOrderByPrimaryKeyPlugin.d.ts.map +1 -1
  59. package/dist/plugins/PgOrderByPrimaryKeyPlugin.js +3 -3
  60. package/dist/plugins/PgOrderByPrimaryKeyPlugin.js.map +1 -1
  61. package/dist/plugins/PgPolymorphismOnlyArgumentPlugin.d.ts +18 -0
  62. package/dist/plugins/PgPolymorphismOnlyArgumentPlugin.d.ts.map +1 -0
  63. package/dist/plugins/PgPolymorphismOnlyArgumentPlugin.js +136 -0
  64. package/dist/plugins/PgPolymorphismOnlyArgumentPlugin.js.map +1 -0
  65. package/dist/plugins/PgPolymorphismPlugin.d.ts +25 -1
  66. package/dist/plugins/PgPolymorphismPlugin.d.ts.map +1 -1
  67. package/dist/plugins/PgPolymorphismPlugin.js +335 -8
  68. package/dist/plugins/PgPolymorphismPlugin.js.map +1 -1
  69. package/dist/plugins/PgProceduresPlugin.d.ts.map +1 -1
  70. package/dist/plugins/PgProceduresPlugin.js +4 -2
  71. package/dist/plugins/PgProceduresPlugin.js.map +1 -1
  72. package/dist/plugins/PgRBACPlugin.d.ts.map +1 -1
  73. package/dist/plugins/PgRBACPlugin.js +7 -12
  74. package/dist/plugins/PgRBACPlugin.js.map +1 -1
  75. package/dist/plugins/PgRefsPlugin.d.ts.map +1 -1
  76. package/dist/plugins/PgRefsPlugin.js +9 -3
  77. package/dist/plugins/PgRefsPlugin.js.map +1 -1
  78. package/dist/plugins/PgRelationsPlugin.d.ts +8 -1
  79. package/dist/plugins/PgRelationsPlugin.d.ts.map +1 -1
  80. package/dist/plugins/PgRelationsPlugin.js +27 -14
  81. package/dist/plugins/PgRelationsPlugin.js.map +1 -1
  82. package/dist/plugins/PgRowByUniquePlugin.d.ts.map +1 -1
  83. package/dist/plugins/PgRowByUniquePlugin.js +1 -0
  84. package/dist/plugins/PgRowByUniquePlugin.js.map +1 -1
  85. package/dist/plugins/PgTableNodePlugin.d.ts.map +1 -1
  86. package/dist/plugins/PgTableNodePlugin.js +37 -19
  87. package/dist/plugins/PgTableNodePlugin.js.map +1 -1
  88. package/dist/plugins/PgTablesPlugin.d.ts.map +1 -1
  89. package/dist/plugins/PgTablesPlugin.js +21 -10
  90. package/dist/plugins/PgTablesPlugin.js.map +1 -1
  91. package/dist/plugins/PgTypesPlugin.d.ts +0 -1
  92. package/dist/plugins/PgTypesPlugin.d.ts.map +1 -1
  93. package/dist/plugins/PgTypesPlugin.js +4 -5
  94. package/dist/plugins/PgTypesPlugin.js.map +1 -1
  95. package/dist/preset.d.ts.map +1 -1
  96. package/dist/preset.js +6 -2
  97. package/dist/preset.js.map +1 -1
  98. package/dist/utils.d.ts +1 -0
  99. package/dist/utils.d.ts.map +1 -1
  100. package/dist/utils.js +63 -2
  101. package/dist/utils.js.map +1 -1
  102. package/dist/version.d.ts +1 -1
  103. package/dist/version.d.ts.map +1 -1
  104. package/dist/version.js +1 -1
  105. package/dist/version.js.map +1 -1
  106. package/dist/watchFixtures.js +1 -1
  107. package/package.json +34 -33
  108. package/dist/interfaces.d.ts +0 -89
  109. package/dist/interfaces.d.ts.map +0 -1
  110. package/dist/interfaces.js +0 -3
  111. package/dist/interfaces.js.map +0 -1
  112. package/dist/pgServices.d.ts +0 -18
  113. package/dist/pgServices.d.ts.map +0 -1
  114. package/dist/pgServices.js +0 -133
  115. package/dist/pgServices.js.map +0 -1
  116. package/dist/plugins/PgContextPlugin.d.ts +0 -2
  117. package/dist/plugins/PgContextPlugin.d.ts.map +0 -1
  118. package/dist/plugins/PgContextPlugin.js +0 -52
  119. package/dist/plugins/PgContextPlugin.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,422 @@
1
1
  # graphile-build-pg
2
2
 
3
+ ## 5.0.0-beta.20
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1955](https://github.com/graphile/crystal/pull/1955)
8
+ [`6c6be29f1`](https://github.com/graphile/crystal/commit/6c6be29f12b24782c926b2bc62ed2ede09ac05de)
9
+ Thanks [@benjie](https://github.com/benjie)! - Steps are now prevented from
10
+ calling other steps' lifecycle methods. GRAPHILE_ENV is actively encouraged,
11
+ and falls back to NODE_ENV.
12
+
13
+ - [#1949](https://github.com/graphile/crystal/pull/1949)
14
+ [`179d25b09`](https://github.com/graphile/crystal/commit/179d25b09bb3272eeef564067b8e512d8de0112f)
15
+ Thanks [@benjie](https://github.com/benjie)! - Add support for registering
16
+ PgCodecs via plugins, add support for ltree type, improve error messages, no
17
+ longer need to set a gather namespace to use cache/state.
18
+
19
+ - [#1958](https://github.com/graphile/crystal/pull/1958)
20
+ [`8315e8d01`](https://github.com/graphile/crystal/commit/8315e8d01c118cebc4ebbc53a2f264b958b252ad)
21
+ Thanks [@benjie](https://github.com/benjie)! - EXPORTABLE now accepts a third
22
+ argument, `nameHint`, which is used to hint what variable name to use for the
23
+ given value. Used this in `graphile-export` along with some fixes and
24
+ optimizations to improve the exports further.
25
+ - Updated dependencies
26
+ [[`9f85c614d`](https://github.com/graphile/crystal/commit/9f85c614d48dc745c5fed15333dbb75af7fddc88),
27
+ [`6c6be29f1`](https://github.com/graphile/crystal/commit/6c6be29f12b24782c926b2bc62ed2ede09ac05de),
28
+ [`6c80c44b7`](https://github.com/graphile/crystal/commit/6c80c44b76a5eb30cc2b1555ba81a4b6236f4300),
29
+ [`179d25b09`](https://github.com/graphile/crystal/commit/179d25b09bb3272eeef564067b8e512d8de0112f),
30
+ [`8315e8d01`](https://github.com/graphile/crystal/commit/8315e8d01c118cebc4ebbc53a2f264b958b252ad),
31
+ [`9d53dde72`](https://github.com/graphile/crystal/commit/9d53dde726b7304962e921b88a159649e49156e5),
32
+ [`46d8289b4`](https://github.com/graphile/crystal/commit/46d8289b44ab10aea1ff3d2915184650d6896b81)]:
33
+ - @dataplan/pg@0.0.1-beta.17
34
+ - grafast@0.1.1-beta.6
35
+ - graphile-build@5.0.0-beta.16
36
+ - tamedevil@0.0.0-beta.6
37
+ - pg-introspection@0.0.1-beta.7
38
+
39
+ ## 5.0.0-beta.19
40
+
41
+ ### Patch Changes
42
+
43
+ - [#1933](https://github.com/graphile/crystal/pull/1933)
44
+ [`3a2ea80ee`](https://github.com/graphile/crystal/commit/3a2ea80ee470b2aef91366727d7d60a0c65067f5)
45
+ Thanks [@mattiarossi](https://github.com/mattiarossi)! -
46
+ `eslint-plugin-graphile-export` now spots instances of `inputPlan`,
47
+ `applyPlan` and `assertStep` so they can be checked - thanks @mattiarossi!
48
+
49
+ - [#1935](https://github.com/graphile/crystal/pull/1935)
50
+ [`8ea67f891`](https://github.com/graphile/crystal/commit/8ea67f8910693edaf70daa9952e35d8396166f38)
51
+ Thanks [@benjie](https://github.com/benjie)! - Fix lots of things related to
52
+ exporting a schema with `graphile-export`.
53
+
54
+ - [#1935](https://github.com/graphile/crystal/pull/1935)
55
+ [`e20e66ed7`](https://github.com/graphile/crystal/commit/e20e66ed71b499ee5bbf05105f981809fd302212)
56
+ Thanks [@benjie](https://github.com/benjie)! - Make even more of the schema
57
+ exportable, including handling scalars with no parseLiteral definition.
58
+ - Updated dependencies
59
+ [[`49fd8afed`](https://github.com/graphile/crystal/commit/49fd8afed1afe573ea76a2a7a821dfa5d6288e2d),
60
+ [`00d32d887`](https://github.com/graphile/crystal/commit/00d32d887a6ae01374a4fda1babab7c8f14832c0),
61
+ [`63dd7ea99`](https://github.com/graphile/crystal/commit/63dd7ea992d30ad711dd85a73a127484a0e35479),
62
+ [`c62eee10b`](https://github.com/graphile/crystal/commit/c62eee10b445f9455bf2a0524ad2b828bdf4ffa6),
63
+ [`d801c9778`](https://github.com/graphile/crystal/commit/d801c9778a86d61e060896460af9fe62a733534a),
64
+ [`3a2ea80ee`](https://github.com/graphile/crystal/commit/3a2ea80ee470b2aef91366727d7d60a0c65067f5),
65
+ [`ef44c29b2`](https://github.com/graphile/crystal/commit/ef44c29b24a1ad5a042ae1536a4546dd64b17195),
66
+ [`8ea67f891`](https://github.com/graphile/crystal/commit/8ea67f8910693edaf70daa9952e35d8396166f38),
67
+ [`5de3e86eb`](https://github.com/graphile/crystal/commit/5de3e86eba1ddfe5e07732d0325c63e5d72d4b5b),
68
+ [`e20e66ed7`](https://github.com/graphile/crystal/commit/e20e66ed71b499ee5bbf05105f981809fd302212)]:
69
+ - tamedevil@0.0.0-beta.5
70
+ - pg-introspection@0.0.1-beta.6
71
+ - grafast@0.1.1-beta.5
72
+ - graphile-build@5.0.0-beta.15
73
+ - @dataplan/pg@0.0.1-beta.16
74
+ - pg-sql2@5.0.0-beta.5
75
+ - graphile-config@0.0.1-beta.7
76
+
77
+ ## 5.0.0-beta.18
78
+
79
+ ### Patch Changes
80
+
81
+ - [#1904](https://github.com/graphile/crystal/pull/1904)
82
+ [`5b2db0c75`](https://github.com/graphile/crystal/commit/5b2db0c7586182523015f8f79fa4d43f98679c1e)
83
+ Thanks [@benjie](https://github.com/benjie)! - Add pgRefDetails to scope for
84
+ some ref-generated fields, to enable plugins to hook them.
85
+
86
+ - [#1905](https://github.com/graphile/crystal/pull/1905)
87
+ [`184773382`](https://github.com/graphile/crystal/commit/184773382f074a3b5339e4cfabec55173cd4f1e1)
88
+ Thanks [@benjie](https://github.com/benjie)! - Enable specifying the
89
+ polymorphic subtype a function returns via `@returnType MyType` smart tag.
90
+ - Updated dependencies
91
+ [[`555a2be03`](https://github.com/graphile/crystal/commit/555a2be037f49bd599abbaafe6e5d5ab190c96d6),
92
+ [`1b6c2f636`](https://github.com/graphile/crystal/commit/1b6c2f6360a316a8dc550c60e28c61deea538f19),
93
+ [`a2176ea32`](https://github.com/graphile/crystal/commit/a2176ea324db0801249661b30e9c9d314c6fb159),
94
+ [`886833e2e`](https://github.com/graphile/crystal/commit/886833e2e319f23d905d7184ca88fca701b94044),
95
+ [`f97d7976a`](https://github.com/graphile/crystal/commit/f97d7976a683a1e2cb0fed1ce0e30aeff8cc1886)]:
96
+ - @dataplan/pg@0.0.1-beta.15
97
+ - tamedevil@0.0.0-beta.4
98
+ - grafast@0.1.1-beta.4
99
+ - graphile-build@5.0.0-beta.14
100
+
101
+ ## 5.0.0-beta.17
102
+
103
+ ### Patch Changes
104
+
105
+ - Updated dependencies
106
+ [[`0df5511ac`](https://github.com/graphile/crystal/commit/0df5511ac8b79ea34f8d12ebf8feeb421f8fe971),
107
+ [`7851d89ab`](https://github.com/graphile/crystal/commit/7851d89ab4216b0252583f0068a69900fa2ddc88),
108
+ [`470ee4000`](https://github.com/graphile/crystal/commit/470ee40008689de7cf6f206a9897abbe4891ff9b)]:
109
+ - graphile-config@0.0.1-beta.6
110
+ - pg-introspection@0.0.1-beta.5
111
+ - @dataplan/pg@0.0.1-beta.14
112
+ - grafast@0.1.1-beta.3
113
+ - graphile-build@5.0.0-beta.13
114
+
115
+ ## 5.0.0-beta.16
116
+
117
+ ### Patch Changes
118
+
119
+ - [#1884](https://github.com/graphile/crystal/pull/1884)
120
+ [`bce0636d4`](https://github.com/graphile/crystal/commit/bce0636d424476664672166193a181c83476423a)
121
+ Thanks [@benjie](https://github.com/benjie)! - Fixes multiple pgServices codec
122
+ name conflicts by prepending the service name if it's not 'main'.
123
+
124
+ - [#1817](https://github.com/graphile/crystal/pull/1817)
125
+ [`f305c3278`](https://github.com/graphile/crystal/commit/f305c327848eb7baef46c5384a7cc5af6f79db8d)
126
+ Thanks [@benjie](https://github.com/benjie)! - Add support for limiting
127
+ polymorphic plans (only some of them, specifically `pgUnionAll()` right now)
128
+ to limit the types of their results; exposed via an experimental 'only'
129
+ argument on fields, for example
130
+ `allApplications(only: [GcpApplication, AwsApplication])` would limit the type
131
+ of applications returned to only be the two specified.
132
+
133
+ - [#1875](https://github.com/graphile/crystal/pull/1875)
134
+ [`3b558e0c1`](https://github.com/graphile/crystal/commit/3b558e0c110dd49e5d51e49a5ad6463a9ed68ecb)
135
+ Thanks [@enisdenjo](https://github.com/enisdenjo)! - Consider attribute's
136
+ `isNotNull` flag for polymorphic types
137
+
138
+ - [#1884](https://github.com/graphile/crystal/pull/1884)
139
+ [`2ae8d33aa`](https://github.com/graphile/crystal/commit/2ae8d33aa83955649dcd6e7489604b059ed2daf4)
140
+ Thanks [@benjie](https://github.com/benjie)! - Fixes missing await which might
141
+ cause process to exit when something goes wrong during schema building.
142
+
143
+ - [#1885](https://github.com/graphile/crystal/pull/1885)
144
+ [`9e1df08b7`](https://github.com/graphile/crystal/commit/9e1df08b702ae32870a8f1324bab37f447cba868)
145
+ Thanks [@benjie](https://github.com/benjie)! - Fix `orderBy:null` regression
146
+
147
+ - [#1877](https://github.com/graphile/crystal/pull/1877)
148
+ [`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f)
149
+ Thanks [@benjie](https://github.com/benjie)! - Move 'declare global' out of
150
+ 'interfaces.ts' and into 'index.ts' or equivalent. Should make TypeScript more
151
+ aware of these types.
152
+
153
+ - [#1879](https://github.com/graphile/crystal/pull/1879)
154
+ [`dbd91fdd8`](https://github.com/graphile/crystal/commit/dbd91fdd836f041b6e2ff9d358c6a6f521f43914)
155
+ Thanks [@benjie](https://github.com/benjie)! - Move PgContextPlugin from
156
+ graphile-build-pg into @dataplan/pg so it can be used after schema export
157
+ without needing dependency on graphile-build-pg
158
+
159
+ - [#1841](https://github.com/graphile/crystal/pull/1841)
160
+ [`f1d5ad18e`](https://github.com/graphile/crystal/commit/f1d5ad18e1cd0d59b9e74f619ec6b0de57f07b17)
161
+ Thanks [@benjie](https://github.com/benjie)! - Make smart tags parser more
162
+ forgiving (track parenthesis)
163
+
164
+ - [#1884](https://github.com/graphile/crystal/pull/1884)
165
+ [`c66c3527c`](https://github.com/graphile/crystal/commit/c66c3527ce2bb38afa37242ecb5a22247efd6db9)
166
+ Thanks [@benjie](https://github.com/benjie)! - List codecs can now have names.
167
+
168
+ - [#1876](https://github.com/graphile/crystal/pull/1876)
169
+ [`9fb5cc06e`](https://github.com/graphile/crystal/commit/9fb5cc06ee52165378392969172e6ee8128833f6)
170
+ Thanks [@enisdenjo](https://github.com/enisdenjo)! - Specify `from` in `@ref`
171
+ to apply refs to a single type
172
+
173
+ - Updated dependencies
174
+ [[`3fdc2bce4`](https://github.com/graphile/crystal/commit/3fdc2bce42418773f808c5b8309dfb361cd95ce9),
175
+ [`aeef362b5`](https://github.com/graphile/crystal/commit/aeef362b5744816f01e4a6f714bbd77f92332bc5),
176
+ [`8a76db07f`](https://github.com/graphile/crystal/commit/8a76db07f4c110cecc6225504f9a05ccbcbc7b92),
177
+ [`f305c3278`](https://github.com/graphile/crystal/commit/f305c327848eb7baef46c5384a7cc5af6f79db8d),
178
+ [`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f),
179
+ [`dbd91fdd8`](https://github.com/graphile/crystal/commit/dbd91fdd836f041b6e2ff9d358c6a6f521f43914),
180
+ [`c66c3527c`](https://github.com/graphile/crystal/commit/c66c3527ce2bb38afa37242ecb5a22247efd6db9),
181
+ [`f66cc40b3`](https://github.com/graphile/crystal/commit/f66cc40b3bc5bf2e7f92fe5a6bd5638e2a51ac2b),
182
+ [`f18635a5c`](https://github.com/graphile/crystal/commit/f18635a5cf55845c9534d82bb483e5fbb9ed179e),
183
+ [`1c9f1c0ed`](https://github.com/graphile/crystal/commit/1c9f1c0edf4e621a5b6345d3a41527a18143c6ae)]:
184
+ - grafast@0.1.1-beta.2
185
+ - @dataplan/pg@0.0.1-beta.13
186
+ - graphile-build@5.0.0-beta.12
187
+ - graphile-config@0.0.1-beta.5
188
+
189
+ ## 5.0.0-beta.15
190
+
191
+ ### Patch Changes
192
+
193
+ - [#1834](https://github.com/graphile/crystal/pull/1834)
194
+ [`2e7fc6449`](https://github.com/graphile/crystal/commit/2e7fc6449c2d08c44c32985811bb2e233a04056b)
195
+ Thanks [@benjie](https://github.com/benjie)! - Fix issue with watch mode where
196
+ schema omits database resources in some situations.
197
+ - Updated dependencies
198
+ [[`49fcb0d58`](https://github.com/graphile/crystal/commit/49fcb0d585b31b291c9072c339d6f5b550eefc9f),
199
+ [`7aef73319`](https://github.com/graphile/crystal/commit/7aef73319a8a147c700727be62427e1eefdefbf8)]:
200
+ - grafast@0.1.1-beta.1
201
+ - graphile-config@0.0.1-beta.4
202
+ - @dataplan/pg@0.0.1-beta.12
203
+ - graphile-build@5.0.0-beta.11
204
+
205
+ ## 5.0.0-beta.14
206
+
207
+ ### Patch Changes
208
+
209
+ - [#1801](https://github.com/graphile/crystal/pull/1801)
210
+ [`2d447a6b4`](https://github.com/graphile/crystal/commit/2d447a6b45d7db2813bd957f412cd959e2185759)
211
+ Thanks [@benjie](https://github.com/benjie)! - Fix bug where the owner of a
212
+ database object wasn't seen as having any privileges.
213
+ - Updated dependencies
214
+ [[`2d447a6b4`](https://github.com/graphile/crystal/commit/2d447a6b45d7db2813bd957f412cd959e2185759)]:
215
+ - pg-introspection@0.0.1-beta.4
216
+ - @dataplan/pg@0.0.1-beta.11
217
+
218
+ ## 5.0.0-beta.13
219
+
220
+ ### Patch Changes
221
+
222
+ - [#1797](https://github.com/graphile/crystal/pull/1797)
223
+ [`26e0bc726`](https://github.com/graphile/crystal/commit/26e0bc72653cd8dcef4b6cfb3c76876a5e620a12)
224
+ Thanks [@benjie](https://github.com/benjie)! - Fix that smart tags were not
225
+ copied onto enum codecs.
226
+
227
+ - Updated dependencies
228
+ [[`26e0bc726`](https://github.com/graphile/crystal/commit/26e0bc72653cd8dcef4b6cfb3c76876a5e620a12)]:
229
+ - @dataplan/pg@0.0.1-beta.11
230
+
231
+ ## 5.0.0-beta.12
232
+
233
+ ### Patch Changes
234
+
235
+ - Updated dependencies
236
+ [[`2805edc68`](https://github.com/graphile/crystal/commit/2805edc68b90546bf71ffd293af4d87a79345825)]:
237
+ - pg-sql2@5.0.0-beta.4
238
+ - @dataplan/pg@0.0.1-beta.10
239
+ - grafast@0.1.1-beta.0
240
+
241
+ ## 5.0.0-beta.11
242
+
243
+ ### Patch Changes
244
+
245
+ - [#1770](https://github.com/graphile/crystal/pull/1770)
246
+ [`9a84bc6dd`](https://github.com/graphile/crystal/commit/9a84bc6dd5b33c1919f75f867df1f61c78686695)
247
+ Thanks [@benjie](https://github.com/benjie)! - Fix issues around enum tables:
248
+ indicate when an enum table codec replaces a regular attribute codec, expose
249
+ helpers for working with enum tables, and don't exclude enum table references
250
+ when using the Relay preset.
251
+
252
+ - [#1769](https://github.com/graphile/crystal/pull/1769)
253
+ [`b728d7fb9`](https://github.com/graphile/crystal/commit/b728d7fb91eb29fbb21d955af5fd9cb4278f6222)
254
+ Thanks [@benjie](https://github.com/benjie)! - Fix error message when ref is
255
+ used with no foreign key.
256
+
257
+ - [#1774](https://github.com/graphile/crystal/pull/1774)
258
+ [`7d55d2c34`](https://github.com/graphile/crystal/commit/7d55d2c343880d7e665f9743f6ae7e39343c22cc)
259
+ Thanks [@benjie](https://github.com/benjie)! - Add
260
+ `preset.gather.pgIdentifiers` setting (values: 'qualified' or 'unqualified');
261
+ if set to 'unqualified' then we will not add the schema name to table or
262
+ function identifiers - it's up to you to ensure they're present in the
263
+ `search_path` (which you can set via `pgSettings` on a per-request basis).
264
+ - Updated dependencies
265
+ [[`4a4d26d87`](https://github.com/graphile/crystal/commit/4a4d26d87ce74589429b8ca5126a7bfdf30351b8),
266
+ [`b2bce88da`](https://github.com/graphile/crystal/commit/b2bce88da26c7a8965468be16fc2d935eadd3434),
267
+ [`861a8a306`](https://github.com/graphile/crystal/commit/861a8a306ef42a821da19e77903ddd7e8130bfb3),
268
+ [`9a84bc6dd`](https://github.com/graphile/crystal/commit/9a84bc6dd5b33c1919f75f867df1f61c78686695),
269
+ [`b728d7fb9`](https://github.com/graphile/crystal/commit/b728d7fb91eb29fbb21d955af5fd9cb4278f6222)]:
270
+ - grafast@0.1.1-beta.0
271
+ - @dataplan/pg@0.0.1-beta.9
272
+ - graphile-build@5.0.0-beta.10
273
+
274
+ ## 5.0.0-beta.10
275
+
276
+ ### Patch Changes
277
+
278
+ - [#514](https://github.com/graphile/crystal-pre-merge/pull/514)
279
+ [`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)
280
+ Thanks [@benjie](https://github.com/benjie)! - Update package.json repository
281
+ information
282
+
283
+ - Updated dependencies
284
+ [[`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b),
285
+ [`ede1092fe`](https://github.com/graphile/crystal-pre-merge/commit/ede1092fe197719b6fa786f4cfa75f6a1f4c56c1),
286
+ [`566983fbd`](https://github.com/graphile/crystal-pre-merge/commit/566983fbd99c4b2df8c4ebd6260521670a2b7dfc),
287
+ [`409bf6071`](https://github.com/graphile/crystal-pre-merge/commit/409bf607180d4d8faec658c803e5ec4d1a00c451)]:
288
+ - graphile-build@5.0.0-beta.9
289
+ - pg-introspection@0.0.1-beta.3
290
+ - graphile-config@0.0.1-beta.3
291
+ - @dataplan/pg@0.0.1-beta.8
292
+ - grafast@0.0.1-beta.8
293
+ - tamedevil@0.0.0-beta.3
294
+ - pg-sql2@5.0.0-beta.3
295
+
296
+ ## 5.0.0-beta.9
297
+
298
+ ### Patch Changes
299
+
300
+ - Updated dependencies
301
+ [[`3700e204f`](https://github.com/benjie/crystal/commit/3700e204f430db182c92ca7abc82017c81fa1f9b)]:
302
+ - grafast@0.0.1-beta.7
303
+ - @dataplan/pg@0.0.1-beta.7
304
+ - graphile-build@5.0.0-beta.8
305
+
306
+ ## 5.0.0-beta.8
307
+
308
+ ### Patch Changes
309
+
310
+ - [#496](https://github.com/benjie/crystal/pull/496)
311
+ [`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
312
+ Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
313
+ through major versions).
314
+
315
+ - Updated dependencies
316
+ [[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1),
317
+ [`e613b476d`](https://github.com/benjie/crystal/commit/e613b476d6ee867d1f7509c895dabee40e7f9a31)]:
318
+ - graphile-build@5.0.0-beta.7
319
+ - pg-introspection@0.0.1-beta.2
320
+ - graphile-config@0.0.1-beta.2
321
+ - @dataplan/pg@0.0.1-beta.6
322
+ - grafast@0.0.1-beta.6
323
+ - tamedevil@0.0.0-beta.2
324
+ - pg-sql2@5.0.0-beta.2
325
+
326
+ ## 5.0.0-beta.7
327
+
328
+ ### Patch Changes
329
+
330
+ - [#488](https://github.com/benjie/crystal/pull/488)
331
+ [`e916b7412`](https://github.com/benjie/crystal/commit/e916b7412fc1fbbcb1578dbe07684189c2a720ad)
332
+ Thanks [@benjie](https://github.com/benjie)! - Fix issues with polymorphism
333
+ when interacting with nodeIds, particularly in mutations and SQL functions.
334
+
335
+ - [#488](https://github.com/benjie/crystal/pull/488)
336
+ [`109c8ec67`](https://github.com/benjie/crystal/commit/109c8ec6784dc74f4c4c4c43cc61516cc12401c8)
337
+ Thanks [@benjie](https://github.com/benjie)! - Add new pgTableResource helper
338
+ and refactor a lot of code to use it, reducing code in many cases
339
+ - Updated dependencies
340
+ [[`95e902f54`](https://github.com/benjie/crystal/commit/95e902f5403c16895e874692f7650293d77590dd),
341
+ [`53186213a`](https://github.com/benjie/crystal/commit/53186213ade962f4b66cb0d5ea8b57b5ce7ea85f),
342
+ [`73f1b5218`](https://github.com/benjie/crystal/commit/73f1b52187b2e009d502afa1db8a4e8f702e2958)]:
343
+ - @dataplan/pg@0.0.1-beta.5
344
+ - grafast@0.0.1-beta.5
345
+ - graphile-build@5.0.0-beta.6
346
+
347
+ ## 5.0.0-beta.6
348
+
349
+ ### Patch Changes
350
+
351
+ - [#459](https://github.com/benjie/crystal/pull/459)
352
+ [`d17dd1cd4`](https://github.com/benjie/crystal/commit/d17dd1cd47d6cb125fbc84c38a8c004857e1bdd2)
353
+ Thanks [@benjie](https://github.com/benjie)! - Disable mutations for
354
+ `@interface mode:relational` tables. (They shouldn't have been enabled, and
355
+ they don't work yet.)
356
+
357
+ - [#464](https://github.com/benjie/crystal/pull/464)
358
+ [`00d026409`](https://github.com/benjie/crystal/commit/00d0264090f90914eac881b34918fa3370782adc)
359
+ Thanks [@benjie](https://github.com/benjie)! - `@dataplan/pg/adaptors/pg` now
360
+ adds `rawClient` property which is the underlying Postgres client for use with
361
+ `pgTyped`, `zapatos`, and other libraries that can use a raw postgres client.
362
+ This is exposed via `NodePostgresPgClient` interface which is a subtype of
363
+ `PgClient`.
364
+ - Updated dependencies
365
+ [[`53f0488b1`](https://github.com/benjie/crystal/commit/53f0488b1c060fe9f5dfcd67ad5c0bd932a4b7aa),
366
+ [`f9cc88dc4`](https://github.com/benjie/crystal/commit/f9cc88dc442d371aee154a28d4e63c6da39f6b2e),
367
+ [`00d026409`](https://github.com/benjie/crystal/commit/00d0264090f90914eac881b34918fa3370782adc)]:
368
+ - @dataplan/pg@0.0.1-beta.4
369
+ - grafast@0.0.1-beta.4
370
+ - graphile-build@5.0.0-beta.5
371
+
372
+ ## 5.0.0-beta.5
373
+
374
+ ### Patch Changes
375
+
376
+ - [#457](https://github.com/benjie/crystal/pull/457)
377
+ [`22ecd1e5d`](https://github.com/benjie/crystal/commit/22ecd1e5de1dcd094be3085cba56b705446413f9)
378
+ Thanks [@benjie](https://github.com/benjie)! - Hotfix: PgTableNodePlugin
379
+ should only deal with table resources
380
+
381
+ ## 5.0.0-beta.4
382
+
383
+ ### Patch Changes
384
+
385
+ - [#454](https://github.com/benjie/crystal/pull/454)
386
+ [`196e5c1aa`](https://github.com/benjie/crystal/commit/196e5c1aab52dbe2a069d0a15b9e4931523fd2dd)
387
+ Thanks [@benjie](https://github.com/benjie)! -
388
+ `@interface mode=single/relational` now get `Node` interface if the table has
389
+ a PK.
390
+
391
+ 🚨 `@interface mode=union` no longer gets `Node` interface unless you also add
392
+ `@behavior node`.
393
+
394
+ - [#454](https://github.com/benjie/crystal/pull/454)
395
+ [`e75bf57dd`](https://github.com/benjie/crystal/commit/e75bf57ddb20d20c86dba880cbb1970ec6a875af)
396
+ Thanks [@benjie](https://github.com/benjie)! - Automatically register
397
+ connection types for unionMember unions.
398
+
399
+ - Updated dependencies
400
+ [[`196e5c1aa`](https://github.com/benjie/crystal/commit/196e5c1aab52dbe2a069d0a15b9e4931523fd2dd)]:
401
+ - graphile-build@5.0.0-beta.4
402
+ - @dataplan/pg@0.0.1-beta.3
403
+
404
+ ## 5.0.0-beta.3
405
+
406
+ ### Patch Changes
407
+
408
+ - [#452](https://github.com/benjie/crystal/pull/452)
409
+ [`d3ab4e12d`](https://github.com/benjie/crystal/commit/d3ab4e12d5bf0dc1c0364c603585175fa4d94d34)
410
+ Thanks [@benjie](https://github.com/benjie)! - Improve error messages with
411
+ links to more details.
412
+
413
+ - Updated dependencies
414
+ [[`46cd08aa1`](https://github.com/benjie/crystal/commit/46cd08aa13e3bac4d186c72c6ce24997f37658af),
415
+ [`d3ab4e12d`](https://github.com/benjie/crystal/commit/d3ab4e12d5bf0dc1c0364c603585175fa4d94d34)]:
416
+ - grafast@0.0.1-beta.3
417
+ - graphile-build@5.0.0-beta.3
418
+ - @dataplan/pg@0.0.1-beta.3
419
+
3
420
  ## 5.0.0-beta.2
4
421
 
5
422
  ### Patch Changes
package/README.md CHANGED
@@ -29,9 +29,9 @@ backed primarily by a PostgreSQL database with minimal developer effort.
29
29
 
30
30
  ## Crowd-funded open-source software
31
31
 
32
- To help us develop this software sustainably under the MIT license, we ask all
33
- individuals and businesses that use it to help support its ongoing maintenance
34
- and development via sponsorship.
32
+ To help us develop this software sustainably, we ask all individuals and
33
+ businesses that use it to help support its ongoing maintenance and development
34
+ via sponsorship.
35
35
 
36
36
  ### [Click here to find out more about sponsors and sponsorship.](https://www.graphile.org/sponsor/)
37
37
 
@@ -40,12 +40,10 @@ And please give some love to our featured sponsors 🤩:
40
40
  <table><tr>
41
41
  <td align="center"><a href="https://www.the-guild.dev/"><img src="https://graphile.org/images/sponsors/theguild.png" width="90" height="90" alt="The Guild" /><br />The Guild</a> *</td>
42
42
  <td align="center"><a href="https://dovetailapp.com/"><img src="https://graphile.org/images/sponsors/dovetail.png" width="90" height="90" alt="Dovetail" /><br />Dovetail</a> *</td>
43
- <td align="center"><a href="https://qwick.com/"><img src="https://graphile.org/images/sponsors/qwick.png" width="90" height="90" alt="Qwick" /><br />Qwick</a> *</td>
44
43
  <td align="center"><a href="https://www.netflix.com/"><img src="https://graphile.org/images/sponsors/Netflix.png" width="90" height="90" alt="Netflix" /><br />Netflix</a> *</td>
45
- </tr><tr>
46
- <td align="center"><a href=""><img src="https://graphile.org/images/sponsors/chadf.png" width="90" height="90" alt="Chad Furman" /><br />Chad Furman</a> *</td>
47
44
  <td align="center"><a href="https://stellate.co/"><img src="https://graphile.org/images/sponsors/Stellate.png" width="90" height="90" alt="Stellate" /><br />Stellate</a> *</td>
48
- <td align="center"><a href="https://www.accenture.com/"><img src="https://graphile.org/images/sponsors/accenture.svg" width="90" height="90" alt="Accenture" /><br />Accenture</a> *</td>
45
+ </tr><tr>
46
+ <td align="center"><a href="https://gosteelhead.com/"><img src="https://graphile.org/images/sponsors/steelhead.svg" width="90" height="90" alt="Steelhead" /><br />Steelhead</a> *</td>
49
47
  </tr></table>
50
48
 
51
49
  <em>\* Sponsors the entire Graphile suite</em>
@@ -1,4 +1,3 @@
1
- import "./interfaces.js";
2
1
  import type { PgCodecExtensions, PgCodecRefExtensions, PgCodecRelationExtensions, PgResourceExtensions } from "@dataplan/pg";
3
2
  type ArrayOrDirect<T> = Array<T> | T;
4
3
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"behavior.d.ts","sourceRoot":"","sources":["../src/behavior.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,cAAc,CAAC;AAOtB,KAAK,aAAa,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAErC;;;GAGG;AACH,wBAAgB,WAAW,CACzB,UAAU,EAAE,aAAa,CACrB,OAAO,CACH,oBAAoB,GACpB,yBAAyB,GACzB,iBAAiB,GACjB,oBAAoB,CACvB,GACD,SAAS,CACZ,GACA,MAAM,CA2CR"}
1
+ {"version":3,"file":"behavior.d.ts","sourceRoot":"","sources":["../src/behavior.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,cAAc,CAAC;AAOtB,KAAK,aAAa,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAErC;;;GAGG;AACH,wBAAgB,WAAW,CACzB,UAAU,EAAE,aAAa,CACrB,OAAO,CACH,oBAAoB,GACpB,yBAAyB,GACzB,iBAAiB,GACjB,oBAAoB,CACvB,GACD,SAAS,CACZ,GACA,MAAM,CA2CR"}
package/dist/behavior.js CHANGED
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getBehavior = void 0;
4
- require("./interfaces.js");
5
4
  const grafast_1 = require("grafast");
6
5
  const util_1 = require("util");
7
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"behavior.js","sourceRoot":"","sources":["../src/behavior.ts"],"names":[],"mappings":";;;AAAA,2BAAyB;AAQzB,qCAAgC;AAChC,+BAA+B;AAO/B;;;GAGG;AACH,SAAgB,WAAW,CACzB,UAQC;IAED,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IAC5E,MAAM,SAAS,GAAa,EAAE,CAAC;IAC/B,KAAK,MAAM,UAAU,IAAI,aAAa,EAAE;QACtC,+FAA+F;QAC/F,GAAG,CAAC,UAAU,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;QAClC,GAAG,CAAC,UAAU,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;QACjC,GAAG,CAAC,UAAU,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;QAEjC,uBAAuB;QACvB,GAAG,CAAC,UAAU,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC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CACL,OAAO,QAAQ,KAAK,QAAQ;QAC5B,0FAA0F,CAAC,IAAI,CAC7F,QAAQ,CACT,CACF,CAAC;AACJ,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { getWithPgClientFromPgService, withPgClientFromPgService, } from "./pgServices.js";
1
+ import type { PgRegistry } from "@dataplan/pg";
2
2
  export { PgAllRowsPlugin } from "./plugins/PgAllRowsPlugin.js";
3
3
  export { PgAttributeDeprecationPlugin } from "./plugins/PgAttributeDeprecationPlugin.js";
4
4
  export { PgAttributesPlugin } from "./plugins/PgAttributesPlugin.js";
@@ -16,6 +16,7 @@ export { PgFirstLastBeforeAfterArgsPlugin } from "./plugins/PgFirstLastBeforeAft
16
16
  export { PgInterfaceModeUnionAllRowsPlugin } from "./plugins/PgInterfaceModeUnionAllRowsPlugin.js";
17
17
  export { PgIntrospectionPlugin } from "./plugins/PgIntrospectionPlugin.js";
18
18
  export { PgJWTPlugin } from "./plugins/PgJWTPlugin.js";
19
+ export { PgLtreePlugin } from "./plugins/PgLtreePlugin.js";
19
20
  export { PgMutationCreatePlugin } from "./plugins/PgMutationCreatePlugin.js";
20
21
  export { PgMutationPayloadEdgePlugin } from "./plugins/PgMutationPayloadEdgePlugin.js";
21
22
  export { PgMutationUpdateDeletePlugin } from "./plugins/PgMutationUpdateDeletePlugin.js";
@@ -35,4 +36,86 @@ export { PgTypesPlugin } from "./plugins/PgTypesPlugin.js";
35
36
  export { defaultPreset } from "./preset.js";
36
37
  export { addBehaviorToTags, parseDatabaseIdentifier, parseDatabaseIdentifiers, } from "./utils.js";
37
38
  export { version } from "./version.js";
39
+ declare global {
40
+ namespace GraphileBuild {
41
+ interface PgResourceTags extends PgSmartTagsDict {
42
+ name: string;
43
+ /** For a computed attribute function/etc, what field name should we use? */
44
+ fieldName: string;
45
+ /** For a custom mutation function, what field name should we use on the payload to store the result? */
46
+ resultFieldName: string;
47
+ behavior: string | string[];
48
+ primaryKey: string;
49
+ foreignKey: string | string[];
50
+ unique: string | string[];
51
+ deprecated: string | string[];
52
+ /** For functions returning polymorphic type, which type to choose? */
53
+ returnType: string;
54
+ }
55
+ interface PgResourceUniqueTags extends PgSmartTagsDict {
56
+ /** The field name for the root-level accessor for a row by this unique constraint */
57
+ fieldName: string;
58
+ behavior: string | string[];
59
+ }
60
+ interface PgCodecRelationTags extends PgSmartTagsDict {
61
+ behavior: string | string[];
62
+ deprecated: string | string[];
63
+ notNull: true;
64
+ }
65
+ interface PgCodecRefTags extends PgSmartTagsDict {
66
+ behavior: string | string[];
67
+ deprecated: string | string[];
68
+ notNull: true;
69
+ }
70
+ interface PgCodecAttributeTags extends PgSmartTagsDict {
71
+ name: string;
72
+ behavior: string | string[];
73
+ notNull: true;
74
+ }
75
+ interface PgCodecTags extends PgSmartTagsDict {
76
+ behavior: string | string[];
77
+ deprecated: string | string[];
78
+ implements: string | string[];
79
+ interface: string;
80
+ name: string;
81
+ unionMember: string | string[];
82
+ }
83
+ interface PgSmartTagsDict {
84
+ [tagName: string]: null | true | string | (string | true)[];
85
+ }
86
+ interface BuildInput {
87
+ pgRegistry: PgRegistry;
88
+ }
89
+ }
90
+ namespace DataplanPg {
91
+ interface PgResourceExtensions {
92
+ tags: Partial<GraphileBuild.PgResourceTags>;
93
+ singleOutputParameterName?: string;
94
+ /** For v4 compatibility, what's the name of the actual table. */
95
+ pg?: {
96
+ serviceName: string;
97
+ schemaName: string;
98
+ name: string;
99
+ };
100
+ }
101
+ interface PgResourceUniqueExtensions {
102
+ tags: Partial<GraphileBuild.PgResourceUniqueTags>;
103
+ }
104
+ interface PgCodecRelationExtensions {
105
+ tags: Partial<GraphileBuild.PgCodecRelationTags>;
106
+ }
107
+ interface PgCodecRefExtensions {
108
+ tags: Partial<GraphileBuild.PgCodecRefTags>;
109
+ }
110
+ interface PgCodecAttributeExtensions {
111
+ tags: Partial<GraphileBuild.PgCodecAttributeTags>;
112
+ }
113
+ interface PgCodecExtensions {
114
+ /** If false but the codec has attributes then it's probably a composite type */
115
+ isTableLike?: boolean;
116
+ tags: Partial<GraphileBuild.PgCodecTags>;
117
+ }
118
+ }
119
+ }
120
+ export { getWithPgClientFromPgService, withPgClientFromPgService, } from "@dataplan/pg";
38
121
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,EAAE,wCAAwC,EAAE,MAAM,uDAAuD,CAAC;AACjH,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAE,iCAAiC,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,s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BACnB,IAAI,EAAE,MAAM,CAAC;aACd,CAAC;SACH;QAED,UAAU,0BAA0B;YAClC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;SACnD;QAED,UAAU,yBAAyB;YACjC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;SAClD;QAED,UAAU,oBAAoB;YAC5B,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;SAC7C;QAED,UAAU,0BAA0B;YAClC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;SACnD;QAED,UAAU,iBAAiB;YACzB,gFAAgF;YAChF,WAAW,CAAC,EAAE,OAAO,CAAC;YACtB,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;SAC1C;KACF;CACF;AAED,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.version = exports.parseDatabaseIdentifiers = exports.parseDatabaseIdentifier = exports.addBehaviorToTags = exports.defaultPreset = exports.PgTypesPlugin = exports.PgTablesPlugin = exports.PgTableNodePlugin = exports.PgRowByUniquePlugin = exports.PgRelationsPlugin = exports.PgRegistryPlugin = exports.PgRBACPlugin = exports.PgProceduresPlugin = exports.PgPolymorphismPlugin = exports.PgOrderCustomFieldsPlugin = exports.PgOrderByPrimaryKeyPlugin = exports.PgOrderAllAttributesPlugin = exports.PgNodeIdAttributesPlugin = exports.PgMutationUpdateDeletePlugin = exports.PgMutationPayloadEdgePlugin = exports.PgMutationCreatePlugin = exports.PgJWTPlugin = exports.PgIntrospectionPlugin = exports.PgInterfaceModeUnionAllRowsPlugin = exports.PgFirstLastBeforeAfterArgsPlugin = exports.PgFakeConstraintsPlugin = exports.PgEnumTablesPlugin = exports.PgCustomTypeFieldPlugin = exports.PgConnectionTotalCountPlugin = exports.PgConnectionArgOrderByPlugin = exports.PgConnectionArgOrderByDefaultValuePlugin = exports.PgConditionCustomFieldsPlugin = exports.PgConditionArgumentPlugin = exports.PgCodecsPlugin = exports.PgBasicsPlugin = exports.PgAttributesPlugin = exports.PgAttributeDeprecationPlugin = exports.PgAllRowsPlugin = exports.withPgClientFromPgService = exports.getWithPgClientFromPgService = void 0;
4
- var pgServices_js_1 = require("./pgServices.js");
5
- Object.defineProperty(exports, "getWithPgClientFromPgService", { enumerable: true, get: function () { return pgServices_js_1.getWithPgClientFromPgService; } });
6
- Object.defineProperty(exports, "withPgClientFromPgService", { enumerable: true, get: function () { return pgServices_js_1.withPgClientFromPgService; } });
3
+ exports.withPgClientFromPgService = exports.getWithPgClientFromPgService = exports.version = exports.parseDatabaseIdentifiers = exports.parseDatabaseIdentifier = exports.addBehaviorToTags = exports.defaultPreset = exports.PgTypesPlugin = exports.PgTablesPlugin = exports.PgTableNodePlugin = exports.PgRowByUniquePlugin = exports.PgRelationsPlugin = exports.PgRegistryPlugin = exports.PgRBACPlugin = exports.PgProceduresPlugin = exports.PgPolymorphismPlugin = exports.PgOrderCustomFieldsPlugin = exports.PgOrderByPrimaryKeyPlugin = exports.PgOrderAllAttributesPlugin = exports.PgNodeIdAttributesPlugin = exports.PgMutationUpdateDeletePlugin = exports.PgMutationPayloadEdgePlugin = exports.PgMutationCreatePlugin = exports.PgLtreePlugin = exports.PgJWTPlugin = exports.PgIntrospectionPlugin = exports.PgInterfaceModeUnionAllRowsPlugin = exports.PgFirstLastBeforeAfterArgsPlugin = exports.PgFakeConstraintsPlugin = exports.PgEnumTablesPlugin = exports.PgCustomTypeFieldPlugin = exports.PgConnectionTotalCountPlugin = exports.PgConnectionArgOrderByPlugin = exports.PgConnectionArgOrderByDefaultValuePlugin = exports.PgConditionCustomFieldsPlugin = exports.PgConditionArgumentPlugin = exports.PgCodecsPlugin = exports.PgBasicsPlugin = exports.PgAttributesPlugin = exports.PgAttributeDeprecationPlugin = exports.PgAllRowsPlugin = void 0;
7
4
  var PgAllRowsPlugin_js_1 = require("./plugins/PgAllRowsPlugin.js");
8
5
  Object.defineProperty(exports, "PgAllRowsPlugin", { enumerable: true, get: function () { return PgAllRowsPlugin_js_1.PgAllRowsPlugin; } });
9
6
  var PgAttributeDeprecationPlugin_js_1 = require("./plugins/PgAttributeDeprecationPlugin.js");
@@ -38,6 +35,8 @@ var PgIntrospectionPlugin_js_1 = require("./plugins/PgIntrospectionPlugin.js");
38
35
  Object.defineProperty(exports, "PgIntrospectionPlugin", { enumerable: true, get: function () { return PgIntrospectionPlugin_js_1.PgIntrospectionPlugin; } });
39
36
  var PgJWTPlugin_js_1 = require("./plugins/PgJWTPlugin.js");
40
37
  Object.defineProperty(exports, "PgJWTPlugin", { enumerable: true, get: function () { return PgJWTPlugin_js_1.PgJWTPlugin; } });
38
+ var PgLtreePlugin_js_1 = require("./plugins/PgLtreePlugin.js");
39
+ Object.defineProperty(exports, "PgLtreePlugin", { enumerable: true, get: function () { return PgLtreePlugin_js_1.PgLtreePlugin; } });
41
40
  var PgMutationCreatePlugin_js_1 = require("./plugins/PgMutationCreatePlugin.js");
42
41
  Object.defineProperty(exports, "PgMutationCreatePlugin", { enumerable: true, get: function () { return PgMutationCreatePlugin_js_1.PgMutationCreatePlugin; } });
43
42
  var PgMutationPayloadEdgePlugin_js_1 = require("./plugins/PgMutationPayloadEdgePlugin.js");
@@ -78,4 +77,7 @@ Object.defineProperty(exports, "parseDatabaseIdentifier", { enumerable: true, ge
78
77
  Object.defineProperty(exports, "parseDatabaseIdentifiers", { enumerable: true, get: function () { return utils_js_1.parseDatabaseIdentifiers; } });
79
78
  var version_js_1 = require("./version.js");
80
79
  Object.defineProperty(exports, "version", { enumerable: true, get: function () { return version_js_1.version; } });
80
+ var pg_1 = require("@dataplan/pg");
81
+ Object.defineProperty(exports, "getWithPgClientFromPgService", { enumerable: true, get: function () { return pg_1.getWithPgClientFromPgService; } });
82
+ Object.defineProperty(exports, "withPgClientFromPgService", { enumerable: true, get: function () { return pg_1.withPgClientFromPgService; } });
81
83
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,iDAGyB;AAFvB,6HAAA,4BAA4B,OAAA;AAC5B,0HAAA,yBAAyB,OAAA;AAE3B,mEAA+D;AAAtD,qHAAA,eAAe,OAAA;AACxB,6FAAyF;AAAhF,+IAAA,4BAA4B,OAAA;AACrC,yEAAqE;AAA5D,2HAAA,kBAAkB,OAAA;AAC3B,iEAA6D;AAApD,mHAAA,cAAc,OAAA;AACvB,iEAA6D;AAApD,mHAAA,cAAc,OAAA;AACvB,uFAAmF;AAA1E,yIAAA,yBAAyB,OAAA;AAClC,+FAA2F;AAAlF,iJAAA,6BAA6B,OAAA;AACtC,qHAAiH;AAAxG,uKAAA,wCAAwC,OAAA;AACjD,6FAAyF;AAAhF,+IAAA,4BAA4B,OAAA;AACrC,6FAAyF;AAAhF,+IAAA,4BAA4B,OAAA;AACrC,mFAA+E;AAAtE,qIAAA,uBAAuB,OAAA;AAChC,yEAAqE;AAA5D,2HAAA,kBAAkB,OAAA;AAC3B,mFAA+E;AAAtE,qIAAA,uBAAuB,OAAA;AAChC,qGAAiG;AAAxF,uJAAA,gCAAgC,OAAA;AACzC,uGAAmG;AAA1F,yJAAA,iCAAiC,OAAA;AAC1C,+EAA2E;AAAlE,iIAAA,qBAAqB,OAAA;AAC9B,2DAAuD;AAA9C,6GAAA,WAAW,OAAA;AACpB,iFAA6E;AAApE,mIAAA,sBAAsB,OAAA;AAC/B,2FAAuF;AAA9E,6IAAA,2BAA2B,OAAA;AACpC,6FAAyF;AAAhF,+IAAA,4BAA4B,OAAA;AACrC,qFAAiF;AAAxE,uIAAA,wBAAwB,OAAA;AACjC,yFAAqF;AAA5E,2IAAA,0BAA0B,OAAA;AACnC,uFAA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