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

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 +535 -0
  2. package/README.md +6 -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 +240 -211
  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 +105 -40
  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 +119 -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 +32 -32
  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 +5 -5
  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 +51 -33
  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 +28 -22
  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 +6 -7
  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,540 @@
1
1
  # graphile-build-pg
2
2
 
3
+ ## 5.0.0-beta.21
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2015](https://github.com/graphile/crystal/pull/2015)
8
+ [`5eca6d65a`](https://github.com/graphile/crystal/commit/5eca6d65a816bac3d0ceaa6cafa7df1a79c2be47)
9
+ Thanks [@benjie](https://github.com/benjie)! - Use `inhibitOnNull` when
10
+ decoding a spec ID to prevent it being consumed if invalid (e.g. don't allow
11
+ using a 'Post' node ID to fetch a 'Person' record).
12
+
13
+ - [#1994](https://github.com/graphile/crystal/pull/1994)
14
+ [`ab08cbf9c`](https://github.com/graphile/crystal/commit/ab08cbf9c504c3cc22495a99a965e7634c18a6a3)
15
+ Thanks [@benjie](https://github.com/benjie)! - Introduce
16
+ `interface SQLable {[$toSQL](): SQL}` to `pg-sql2` and use it to simplify SQL
17
+ fragments in various places.
18
+
19
+ - [#1978](https://github.com/graphile/crystal/pull/1978)
20
+ [`a287a57c2`](https://github.com/graphile/crystal/commit/a287a57c2765da0fb6a132ea0953f64453210ceb)
21
+ Thanks [@benjie](https://github.com/benjie)! - Breaking: `connection()` step
22
+ now accepts configuration object in place of 2nd argument onwards:
23
+
24
+ ```diff
25
+ -return connection($list, nodePlan, cursorPlan);
26
+ +return connection($list, { nodePlan, cursorPlan });
27
+ ```
28
+
29
+ Feature: `edgeDataPlan` can be specified as part of this configuration object,
30
+ allowing you to associate edge data with your connection edges:
31
+
32
+ ```ts
33
+ return connection($list, {
34
+ edgeDataPlan($item) {
35
+ return object({ item: $item, otherThing: $otherThing });
36
+ },
37
+ });
38
+
39
+ // ...
40
+
41
+ const plans = {
42
+ FooEdge: {
43
+ otherThing($edge) {
44
+ return $edge.data().get("otherThing");
45
+ },
46
+ },
47
+ };
48
+ ```
49
+
50
+ Feature: `ConnectionStep` and `EdgeStep` gain `get()` methods, so
51
+ `*Connection.edges`, `*Connection.nodes`, `*Connection.pageInfo`, `*Edge.node`
52
+ and `*Edge.cursor` no longer need plans to be defined.
53
+
54
+ - [#2051](https://github.com/graphile/crystal/pull/2051)
55
+ [`45e10950b`](https://github.com/graphile/crystal/commit/45e10950b533f97cdd986e5442e2e160a8e431a2)
56
+ Thanks [@benjie](https://github.com/benjie)! - Resource options now marked
57
+ EXPORTABLE _after_ hooks called, enabling more plugins to be exportable.
58
+
59
+ - [#2050](https://github.com/graphile/crystal/pull/2050)
60
+ [`272608c13`](https://github.com/graphile/crystal/commit/272608c135e4ef0f76b8b5a9f764494a3f3ad779)
61
+ Thanks [@benjie](https://github.com/benjie)! - Add missing EXPORTABLE (and
62
+ remove excessive EXPORTABLE) to fix schema exports.
63
+
64
+ - [#2006](https://github.com/graphile/crystal/pull/2006)
65
+ [`bee0a0a68`](https://github.com/graphile/crystal/commit/bee0a0a68d48816f84b1a7f5ec69bd6069211426)
66
+ Thanks [@benjie](https://github.com/benjie)! - Adopt improved inflection
67
+ typings.
68
+
69
+ - [#2019](https://github.com/graphile/crystal/pull/2019)
70
+ [`51a94417f`](https://github.com/graphile/crystal/commit/51a94417fb62b54d309be184f4be479bc267c2b7)
71
+ Thanks [@benjie](https://github.com/benjie)! - Now possible to filter by relay
72
+ node identifiers without weird results if you pass an incompatible node id
73
+ (e.g. a 'Post' ID where a 'User' ID was expected) - significantly improves the
74
+ Relay preset.
75
+ - Updated dependencies
76
+ [[`357d475f5`](https://github.com/graphile/crystal/commit/357d475f54fecc8c51892e0346d6872b34132430),
77
+ [`30bcd6c12`](https://github.com/graphile/crystal/commit/30bcd6c12e59f878617ea987c35a2f589ce05cb8),
78
+ [`3551725e7`](https://github.com/graphile/crystal/commit/3551725e71c3ed876554e19e5ab2c1dcb0fb1143),
79
+ [`80836471e`](https://github.com/graphile/crystal/commit/80836471e5cedb29dee63bc5002550c4f1713cfd),
80
+ [`b788dd868`](https://github.com/graphile/crystal/commit/b788dd86849e703cc3aa863fd9190c36a087b865),
81
+ [`a5c20fefb`](https://github.com/graphile/crystal/commit/a5c20fefb571dea6d1187515dc48dd547e9e6204),
82
+ [`1ce08980e`](https://github.com/graphile/crystal/commit/1ce08980e2a52ed9bc81564d248c19648ecd3616),
83
+ [`ab08cbf9c`](https://github.com/graphile/crystal/commit/ab08cbf9c504c3cc22495a99a965e7634c18a6a3),
84
+ [`dff4f2535`](https://github.com/graphile/crystal/commit/dff4f2535ac6ce893089b312fcd5fffcd98573a5),
85
+ [`a287a57c2`](https://github.com/graphile/crystal/commit/a287a57c2765da0fb6a132ea0953f64453210ceb),
86
+ [`2fe56f9a6`](https://github.com/graphile/crystal/commit/2fe56f9a6dac03484ace45c29c2223a65f9ca1db),
87
+ [`fed603d71`](https://github.com/graphile/crystal/commit/fed603d719c02f33e12190f925c9e3b06c581fac),
88
+ [`ed6e0d278`](https://github.com/graphile/crystal/commit/ed6e0d2788217a1c419634837f4208013eaf2923),
89
+ [`86168b740`](https://github.com/graphile/crystal/commit/86168b740510aef17bde7ae21f1d0eebb0c5c9b3),
90
+ [`7ad35fe4d`](https://github.com/graphile/crystal/commit/7ad35fe4d9b20f6ec82dc95c362390a87e25b42c),
91
+ [`e82e4911e`](https://github.com/graphile/crystal/commit/e82e4911e32138df1b90ec0fde555ea963018d21),
92
+ [`94a05064e`](https://github.com/graphile/crystal/commit/94a05064ea05108685ff71174a9f871ab5b4c147),
93
+ [`272608c13`](https://github.com/graphile/crystal/commit/272608c135e4ef0f76b8b5a9f764494a3f3ad779),
94
+ [`7606a5b87`](https://github.com/graphile/crystal/commit/7606a5b87aed747fad4eb11744ef7b01cfa3b879),
95
+ [`42ece5aa6`](https://github.com/graphile/crystal/commit/42ece5aa6ca05345ebc17fb5c7d55df3b79b7612),
96
+ [`e0d69e518`](https://github.com/graphile/crystal/commit/e0d69e518a98c70f9b90f59d243ce33978c1b5a1),
97
+ [`db8ceed0f`](https://github.com/graphile/crystal/commit/db8ceed0f17923eb78ff09c9f3f28800a5c7e3b6),
98
+ [`6699388ec`](https://github.com/graphile/crystal/commit/6699388ec167d35c71220ce5d9113cac578da6cb),
99
+ [`966203504`](https://github.com/graphile/crystal/commit/96620350467ab8c65b56adf2f055e19450f8e772),
100
+ [`c1645b249`](https://github.com/graphile/crystal/commit/c1645b249aae949a548cd916e536ccfb63e5ab35),
101
+ [`ed8bbaa3c`](https://github.com/graphile/crystal/commit/ed8bbaa3cd1563a7601ca8c6b0412633b0ea4ce9),
102
+ [`a0e82b9c5`](https://github.com/graphile/crystal/commit/a0e82b9c5f4e585f1af1e147299cd07944ece6f8),
103
+ [`14e2412ee`](https://github.com/graphile/crystal/commit/14e2412ee368e8d53abf6774c7f0069f32d4e8a3),
104
+ [`c48d3da7f`](https://github.com/graphile/crystal/commit/c48d3da7fe4fac2562fab5f085d252a0bfb6f0b6),
105
+ [`57ab0e1e7`](https://github.com/graphile/crystal/commit/57ab0e1e72c01213b21d3efc539cd655d83d993a),
106
+ [`8442242e4`](https://github.com/graphile/crystal/commit/8442242e43cac7d89ca0c413cf42c9fabf6f247f),
107
+ [`bee0a0a68`](https://github.com/graphile/crystal/commit/bee0a0a68d48816f84b1a7f5ec69bd6069211426),
108
+ [`51a94417f`](https://github.com/graphile/crystal/commit/51a94417fb62b54d309be184f4be479bc267c2b7),
109
+ [`64ce7b765`](https://github.com/graphile/crystal/commit/64ce7b7650530251aec38a51089da66f914c19b4),
110
+ [`cba842357`](https://github.com/graphile/crystal/commit/cba84235786acbd77ade53bae7a3fba4a9be1eb7),
111
+ [`2fa77d0f2`](https://github.com/graphile/crystal/commit/2fa77d0f237cdb98d3dafb6b5e4083a2c6c38673),
112
+ [`81d17460c`](https://github.com/graphile/crystal/commit/81d17460ced08608814635779c5cf997c19c101d)]:
113
+ - @dataplan/pg@0.0.1-beta.18
114
+ - grafast@0.1.1-beta.7
115
+ - tamedevil@0.0.0-beta.7
116
+ - pg-sql2@5.0.0-beta.6
117
+ - graphile-build@5.0.0-beta.17
118
+ - pg-introspection@0.0.1-beta.8
119
+ - graphile-config@0.0.1-beta.8
120
+
121
+ ## 5.0.0-beta.20
122
+
123
+ ### Patch Changes
124
+
125
+ - [#1955](https://github.com/graphile/crystal/pull/1955)
126
+ [`6c6be29f1`](https://github.com/graphile/crystal/commit/6c6be29f12b24782c926b2bc62ed2ede09ac05de)
127
+ Thanks [@benjie](https://github.com/benjie)! - Steps are now prevented from
128
+ calling other steps' lifecycle methods. GRAPHILE_ENV is actively encouraged,
129
+ and falls back to NODE_ENV.
130
+
131
+ - [#1949](https://github.com/graphile/crystal/pull/1949)
132
+ [`179d25b09`](https://github.com/graphile/crystal/commit/179d25b09bb3272eeef564067b8e512d8de0112f)
133
+ Thanks [@benjie](https://github.com/benjie)! - Add support for registering
134
+ PgCodecs via plugins, add support for ltree type, improve error messages, no
135
+ longer need to set a gather namespace to use cache/state.
136
+
137
+ - [#1958](https://github.com/graphile/crystal/pull/1958)
138
+ [`8315e8d01`](https://github.com/graphile/crystal/commit/8315e8d01c118cebc4ebbc53a2f264b958b252ad)
139
+ Thanks [@benjie](https://github.com/benjie)! - EXPORTABLE now accepts a third
140
+ argument, `nameHint`, which is used to hint what variable name to use for the
141
+ given value. Used this in `graphile-export` along with some fixes and
142
+ optimizations to improve the exports further.
143
+ - Updated dependencies
144
+ [[`9f85c614d`](https://github.com/graphile/crystal/commit/9f85c614d48dc745c5fed15333dbb75af7fddc88),
145
+ [`6c6be29f1`](https://github.com/graphile/crystal/commit/6c6be29f12b24782c926b2bc62ed2ede09ac05de),
146
+ [`6c80c44b7`](https://github.com/graphile/crystal/commit/6c80c44b76a5eb30cc2b1555ba81a4b6236f4300),
147
+ [`179d25b09`](https://github.com/graphile/crystal/commit/179d25b09bb3272eeef564067b8e512d8de0112f),
148
+ [`8315e8d01`](https://github.com/graphile/crystal/commit/8315e8d01c118cebc4ebbc53a2f264b958b252ad),
149
+ [`9d53dde72`](https://github.com/graphile/crystal/commit/9d53dde726b7304962e921b88a159649e49156e5),
150
+ [`46d8289b4`](https://github.com/graphile/crystal/commit/46d8289b44ab10aea1ff3d2915184650d6896b81)]:
151
+ - @dataplan/pg@0.0.1-beta.17
152
+ - grafast@0.1.1-beta.6
153
+ - graphile-build@5.0.0-beta.16
154
+ - tamedevil@0.0.0-beta.6
155
+ - pg-introspection@0.0.1-beta.7
156
+
157
+ ## 5.0.0-beta.19
158
+
159
+ ### Patch Changes
160
+
161
+ - [#1933](https://github.com/graphile/crystal/pull/1933)
162
+ [`3a2ea80ee`](https://github.com/graphile/crystal/commit/3a2ea80ee470b2aef91366727d7d60a0c65067f5)
163
+ Thanks [@mattiarossi](https://github.com/mattiarossi)! -
164
+ `eslint-plugin-graphile-export` now spots instances of `inputPlan`,
165
+ `applyPlan` and `assertStep` so they can be checked - thanks @mattiarossi!
166
+
167
+ - [#1935](https://github.com/graphile/crystal/pull/1935)
168
+ [`8ea67f891`](https://github.com/graphile/crystal/commit/8ea67f8910693edaf70daa9952e35d8396166f38)
169
+ Thanks [@benjie](https://github.com/benjie)! - Fix lots of things related to
170
+ exporting a schema with `graphile-export`.
171
+
172
+ - [#1935](https://github.com/graphile/crystal/pull/1935)
173
+ [`e20e66ed7`](https://github.com/graphile/crystal/commit/e20e66ed71b499ee5bbf05105f981809fd302212)
174
+ Thanks [@benjie](https://github.com/benjie)! - Make even more of the schema
175
+ exportable, including handling scalars with no parseLiteral definition.
176
+ - Updated dependencies
177
+ [[`49fd8afed`](https://github.com/graphile/crystal/commit/49fd8afed1afe573ea76a2a7a821dfa5d6288e2d),
178
+ [`00d32d887`](https://github.com/graphile/crystal/commit/00d32d887a6ae01374a4fda1babab7c8f14832c0),
179
+ [`63dd7ea99`](https://github.com/graphile/crystal/commit/63dd7ea992d30ad711dd85a73a127484a0e35479),
180
+ [`c62eee10b`](https://github.com/graphile/crystal/commit/c62eee10b445f9455bf2a0524ad2b828bdf4ffa6),
181
+ [`d801c9778`](https://github.com/graphile/crystal/commit/d801c9778a86d61e060896460af9fe62a733534a),
182
+ [`3a2ea80ee`](https://github.com/graphile/crystal/commit/3a2ea80ee470b2aef91366727d7d60a0c65067f5),
183
+ [`ef44c29b2`](https://github.com/graphile/crystal/commit/ef44c29b24a1ad5a042ae1536a4546dd64b17195),
184
+ [`8ea67f891`](https://github.com/graphile/crystal/commit/8ea67f8910693edaf70daa9952e35d8396166f38),
185
+ [`5de3e86eb`](https://github.com/graphile/crystal/commit/5de3e86eba1ddfe5e07732d0325c63e5d72d4b5b),
186
+ [`e20e66ed7`](https://github.com/graphile/crystal/commit/e20e66ed71b499ee5bbf05105f981809fd302212)]:
187
+ - tamedevil@0.0.0-beta.5
188
+ - pg-introspection@0.0.1-beta.6
189
+ - grafast@0.1.1-beta.5
190
+ - graphile-build@5.0.0-beta.15
191
+ - @dataplan/pg@0.0.1-beta.16
192
+ - pg-sql2@5.0.0-beta.5
193
+ - graphile-config@0.0.1-beta.7
194
+
195
+ ## 5.0.0-beta.18
196
+
197
+ ### Patch Changes
198
+
199
+ - [#1904](https://github.com/graphile/crystal/pull/1904)
200
+ [`5b2db0c75`](https://github.com/graphile/crystal/commit/5b2db0c7586182523015f8f79fa4d43f98679c1e)
201
+ Thanks [@benjie](https://github.com/benjie)! - Add pgRefDetails to scope for
202
+ some ref-generated fields, to enable plugins to hook them.
203
+
204
+ - [#1905](https://github.com/graphile/crystal/pull/1905)
205
+ [`184773382`](https://github.com/graphile/crystal/commit/184773382f074a3b5339e4cfabec55173cd4f1e1)
206
+ Thanks [@benjie](https://github.com/benjie)! - Enable specifying the
207
+ polymorphic subtype a function returns via `@returnType MyType` smart tag.
208
+ - Updated dependencies
209
+ [[`555a2be03`](https://github.com/graphile/crystal/commit/555a2be037f49bd599abbaafe6e5d5ab190c96d6),
210
+ [`1b6c2f636`](https://github.com/graphile/crystal/commit/1b6c2f6360a316a8dc550c60e28c61deea538f19),
211
+ [`a2176ea32`](https://github.com/graphile/crystal/commit/a2176ea324db0801249661b30e9c9d314c6fb159),
212
+ [`886833e2e`](https://github.com/graphile/crystal/commit/886833e2e319f23d905d7184ca88fca701b94044),
213
+ [`f97d7976a`](https://github.com/graphile/crystal/commit/f97d7976a683a1e2cb0fed1ce0e30aeff8cc1886)]:
214
+ - @dataplan/pg@0.0.1-beta.15
215
+ - tamedevil@0.0.0-beta.4
216
+ - grafast@0.1.1-beta.4
217
+ - graphile-build@5.0.0-beta.14
218
+
219
+ ## 5.0.0-beta.17
220
+
221
+ ### Patch Changes
222
+
223
+ - Updated dependencies
224
+ [[`0df5511ac`](https://github.com/graphile/crystal/commit/0df5511ac8b79ea34f8d12ebf8feeb421f8fe971),
225
+ [`7851d89ab`](https://github.com/graphile/crystal/commit/7851d89ab4216b0252583f0068a69900fa2ddc88),
226
+ [`470ee4000`](https://github.com/graphile/crystal/commit/470ee40008689de7cf6f206a9897abbe4891ff9b)]:
227
+ - graphile-config@0.0.1-beta.6
228
+ - pg-introspection@0.0.1-beta.5
229
+ - @dataplan/pg@0.0.1-beta.14
230
+ - grafast@0.1.1-beta.3
231
+ - graphile-build@5.0.0-beta.13
232
+
233
+ ## 5.0.0-beta.16
234
+
235
+ ### Patch Changes
236
+
237
+ - [#1884](https://github.com/graphile/crystal/pull/1884)
238
+ [`bce0636d4`](https://github.com/graphile/crystal/commit/bce0636d424476664672166193a181c83476423a)
239
+ Thanks [@benjie](https://github.com/benjie)! - Fixes multiple pgServices codec
240
+ name conflicts by prepending the service name if it's not 'main'.
241
+
242
+ - [#1817](https://github.com/graphile/crystal/pull/1817)
243
+ [`f305c3278`](https://github.com/graphile/crystal/commit/f305c327848eb7baef46c5384a7cc5af6f79db8d)
244
+ Thanks [@benjie](https://github.com/benjie)! - Add support for limiting
245
+ polymorphic plans (only some of them, specifically `pgUnionAll()` right now)
246
+ to limit the types of their results; exposed via an experimental 'only'
247
+ argument on fields, for example
248
+ `allApplications(only: [GcpApplication, AwsApplication])` would limit the type
249
+ of applications returned to only be the two specified.
250
+
251
+ - [#1875](https://github.com/graphile/crystal/pull/1875)
252
+ [`3b558e0c1`](https://github.com/graphile/crystal/commit/3b558e0c110dd49e5d51e49a5ad6463a9ed68ecb)
253
+ Thanks [@enisdenjo](https://github.com/enisdenjo)! - Consider attribute's
254
+ `isNotNull` flag for polymorphic types
255
+
256
+ - [#1884](https://github.com/graphile/crystal/pull/1884)
257
+ [`2ae8d33aa`](https://github.com/graphile/crystal/commit/2ae8d33aa83955649dcd6e7489604b059ed2daf4)
258
+ Thanks [@benjie](https://github.com/benjie)! - Fixes missing await which might
259
+ cause process to exit when something goes wrong during schema building.
260
+
261
+ - [#1885](https://github.com/graphile/crystal/pull/1885)
262
+ [`9e1df08b7`](https://github.com/graphile/crystal/commit/9e1df08b702ae32870a8f1324bab37f447cba868)
263
+ Thanks [@benjie](https://github.com/benjie)! - Fix `orderBy:null` regression
264
+
265
+ - [#1877](https://github.com/graphile/crystal/pull/1877)
266
+ [`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f)
267
+ Thanks [@benjie](https://github.com/benjie)! - Move 'declare global' out of
268
+ 'interfaces.ts' and into 'index.ts' or equivalent. Should make TypeScript more
269
+ aware of these types.
270
+
271
+ - [#1879](https://github.com/graphile/crystal/pull/1879)
272
+ [`dbd91fdd8`](https://github.com/graphile/crystal/commit/dbd91fdd836f041b6e2ff9d358c6a6f521f43914)
273
+ Thanks [@benjie](https://github.com/benjie)! - Move PgContextPlugin from
274
+ graphile-build-pg into @dataplan/pg so it can be used after schema export
275
+ without needing dependency on graphile-build-pg
276
+
277
+ - [#1841](https://github.com/graphile/crystal/pull/1841)
278
+ [`f1d5ad18e`](https://github.com/graphile/crystal/commit/f1d5ad18e1cd0d59b9e74f619ec6b0de57f07b17)
279
+ Thanks [@benjie](https://github.com/benjie)! - Make smart tags parser more
280
+ forgiving (track parenthesis)
281
+
282
+ - [#1884](https://github.com/graphile/crystal/pull/1884)
283
+ [`c66c3527c`](https://github.com/graphile/crystal/commit/c66c3527ce2bb38afa37242ecb5a22247efd6db9)
284
+ Thanks [@benjie](https://github.com/benjie)! - List codecs can now have names.
285
+
286
+ - [#1876](https://github.com/graphile/crystal/pull/1876)
287
+ [`9fb5cc06e`](https://github.com/graphile/crystal/commit/9fb5cc06ee52165378392969172e6ee8128833f6)
288
+ Thanks [@enisdenjo](https://github.com/enisdenjo)! - Specify `from` in `@ref`
289
+ to apply refs to a single type
290
+
291
+ - Updated dependencies
292
+ [[`3fdc2bce4`](https://github.com/graphile/crystal/commit/3fdc2bce42418773f808c5b8309dfb361cd95ce9),
293
+ [`aeef362b5`](https://github.com/graphile/crystal/commit/aeef362b5744816f01e4a6f714bbd77f92332bc5),
294
+ [`8a76db07f`](https://github.com/graphile/crystal/commit/8a76db07f4c110cecc6225504f9a05ccbcbc7b92),
295
+ [`f305c3278`](https://github.com/graphile/crystal/commit/f305c327848eb7baef46c5384a7cc5af6f79db8d),
296
+ [`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f),
297
+ [`dbd91fdd8`](https://github.com/graphile/crystal/commit/dbd91fdd836f041b6e2ff9d358c6a6f521f43914),
298
+ [`c66c3527c`](https://github.com/graphile/crystal/commit/c66c3527ce2bb38afa37242ecb5a22247efd6db9),
299
+ [`f66cc40b3`](https://github.com/graphile/crystal/commit/f66cc40b3bc5bf2e7f92fe5a6bd5638e2a51ac2b),
300
+ [`f18635a5c`](https://github.com/graphile/crystal/commit/f18635a5cf55845c9534d82bb483e5fbb9ed179e),
301
+ [`1c9f1c0ed`](https://github.com/graphile/crystal/commit/1c9f1c0edf4e621a5b6345d3a41527a18143c6ae)]:
302
+ - grafast@0.1.1-beta.2
303
+ - @dataplan/pg@0.0.1-beta.13
304
+ - graphile-build@5.0.0-beta.12
305
+ - graphile-config@0.0.1-beta.5
306
+
307
+ ## 5.0.0-beta.15
308
+
309
+ ### Patch Changes
310
+
311
+ - [#1834](https://github.com/graphile/crystal/pull/1834)
312
+ [`2e7fc6449`](https://github.com/graphile/crystal/commit/2e7fc6449c2d08c44c32985811bb2e233a04056b)
313
+ Thanks [@benjie](https://github.com/benjie)! - Fix issue with watch mode where
314
+ schema omits database resources in some situations.
315
+ - Updated dependencies
316
+ [[`49fcb0d58`](https://github.com/graphile/crystal/commit/49fcb0d585b31b291c9072c339d6f5b550eefc9f),
317
+ [`7aef73319`](https://github.com/graphile/crystal/commit/7aef73319a8a147c700727be62427e1eefdefbf8)]:
318
+ - grafast@0.1.1-beta.1
319
+ - graphile-config@0.0.1-beta.4
320
+ - @dataplan/pg@0.0.1-beta.12
321
+ - graphile-build@5.0.0-beta.11
322
+
323
+ ## 5.0.0-beta.14
324
+
325
+ ### Patch Changes
326
+
327
+ - [#1801](https://github.com/graphile/crystal/pull/1801)
328
+ [`2d447a6b4`](https://github.com/graphile/crystal/commit/2d447a6b45d7db2813bd957f412cd959e2185759)
329
+ Thanks [@benjie](https://github.com/benjie)! - Fix bug where the owner of a
330
+ database object wasn't seen as having any privileges.
331
+ - Updated dependencies
332
+ [[`2d447a6b4`](https://github.com/graphile/crystal/commit/2d447a6b45d7db2813bd957f412cd959e2185759)]:
333
+ - pg-introspection@0.0.1-beta.4
334
+ - @dataplan/pg@0.0.1-beta.11
335
+
336
+ ## 5.0.0-beta.13
337
+
338
+ ### Patch Changes
339
+
340
+ - [#1797](https://github.com/graphile/crystal/pull/1797)
341
+ [`26e0bc726`](https://github.com/graphile/crystal/commit/26e0bc72653cd8dcef4b6cfb3c76876a5e620a12)
342
+ Thanks [@benjie](https://github.com/benjie)! - Fix that smart tags were not
343
+ copied onto enum codecs.
344
+
345
+ - Updated dependencies
346
+ [[`26e0bc726`](https://github.com/graphile/crystal/commit/26e0bc72653cd8dcef4b6cfb3c76876a5e620a12)]:
347
+ - @dataplan/pg@0.0.1-beta.11
348
+
349
+ ## 5.0.0-beta.12
350
+
351
+ ### Patch Changes
352
+
353
+ - Updated dependencies
354
+ [[`2805edc68`](https://github.com/graphile/crystal/commit/2805edc68b90546bf71ffd293af4d87a79345825)]:
355
+ - pg-sql2@5.0.0-beta.4
356
+ - @dataplan/pg@0.0.1-beta.10
357
+ - grafast@0.1.1-beta.0
358
+
359
+ ## 5.0.0-beta.11
360
+
361
+ ### Patch Changes
362
+
363
+ - [#1770](https://github.com/graphile/crystal/pull/1770)
364
+ [`9a84bc6dd`](https://github.com/graphile/crystal/commit/9a84bc6dd5b33c1919f75f867df1f61c78686695)
365
+ Thanks [@benjie](https://github.com/benjie)! - Fix issues around enum tables:
366
+ indicate when an enum table codec replaces a regular attribute codec, expose
367
+ helpers for working with enum tables, and don't exclude enum table references
368
+ when using the Relay preset.
369
+
370
+ - [#1769](https://github.com/graphile/crystal/pull/1769)
371
+ [`b728d7fb9`](https://github.com/graphile/crystal/commit/b728d7fb91eb29fbb21d955af5fd9cb4278f6222)
372
+ Thanks [@benjie](https://github.com/benjie)! - Fix error message when ref is
373
+ used with no foreign key.
374
+
375
+ - [#1774](https://github.com/graphile/crystal/pull/1774)
376
+ [`7d55d2c34`](https://github.com/graphile/crystal/commit/7d55d2c343880d7e665f9743f6ae7e39343c22cc)
377
+ Thanks [@benjie](https://github.com/benjie)! - Add
378
+ `preset.gather.pgIdentifiers` setting (values: 'qualified' or 'unqualified');
379
+ if set to 'unqualified' then we will not add the schema name to table or
380
+ function identifiers - it's up to you to ensure they're present in the
381
+ `search_path` (which you can set via `pgSettings` on a per-request basis).
382
+ - Updated dependencies
383
+ [[`4a4d26d87`](https://github.com/graphile/crystal/commit/4a4d26d87ce74589429b8ca5126a7bfdf30351b8),
384
+ [`b2bce88da`](https://github.com/graphile/crystal/commit/b2bce88da26c7a8965468be16fc2d935eadd3434),
385
+ [`861a8a306`](https://github.com/graphile/crystal/commit/861a8a306ef42a821da19e77903ddd7e8130bfb3),
386
+ [`9a84bc6dd`](https://github.com/graphile/crystal/commit/9a84bc6dd5b33c1919f75f867df1f61c78686695),
387
+ [`b728d7fb9`](https://github.com/graphile/crystal/commit/b728d7fb91eb29fbb21d955af5fd9cb4278f6222)]:
388
+ - grafast@0.1.1-beta.0
389
+ - @dataplan/pg@0.0.1-beta.9
390
+ - graphile-build@5.0.0-beta.10
391
+
392
+ ## 5.0.0-beta.10
393
+
394
+ ### Patch Changes
395
+
396
+ - [#514](https://github.com/graphile/crystal-pre-merge/pull/514)
397
+ [`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)
398
+ Thanks [@benjie](https://github.com/benjie)! - Update package.json repository
399
+ information
400
+
401
+ - Updated dependencies
402
+ [[`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b),
403
+ [`ede1092fe`](https://github.com/graphile/crystal-pre-merge/commit/ede1092fe197719b6fa786f4cfa75f6a1f4c56c1),
404
+ [`566983fbd`](https://github.com/graphile/crystal-pre-merge/commit/566983fbd99c4b2df8c4ebd6260521670a2b7dfc),
405
+ [`409bf6071`](https://github.com/graphile/crystal-pre-merge/commit/409bf607180d4d8faec658c803e5ec4d1a00c451)]:
406
+ - graphile-build@5.0.0-beta.9
407
+ - pg-introspection@0.0.1-beta.3
408
+ - graphile-config@0.0.1-beta.3
409
+ - @dataplan/pg@0.0.1-beta.8
410
+ - grafast@0.0.1-beta.8
411
+ - tamedevil@0.0.0-beta.3
412
+ - pg-sql2@5.0.0-beta.3
413
+
414
+ ## 5.0.0-beta.9
415
+
416
+ ### Patch Changes
417
+
418
+ - Updated dependencies
419
+ [[`3700e204f`](https://github.com/benjie/crystal/commit/3700e204f430db182c92ca7abc82017c81fa1f9b)]:
420
+ - grafast@0.0.1-beta.7
421
+ - @dataplan/pg@0.0.1-beta.7
422
+ - graphile-build@5.0.0-beta.8
423
+
424
+ ## 5.0.0-beta.8
425
+
426
+ ### Patch Changes
427
+
428
+ - [#496](https://github.com/benjie/crystal/pull/496)
429
+ [`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
430
+ Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
431
+ through major versions).
432
+
433
+ - Updated dependencies
434
+ [[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1),
435
+ [`e613b476d`](https://github.com/benjie/crystal/commit/e613b476d6ee867d1f7509c895dabee40e7f9a31)]:
436
+ - graphile-build@5.0.0-beta.7
437
+ - pg-introspection@0.0.1-beta.2
438
+ - graphile-config@0.0.1-beta.2
439
+ - @dataplan/pg@0.0.1-beta.6
440
+ - grafast@0.0.1-beta.6
441
+ - tamedevil@0.0.0-beta.2
442
+ - pg-sql2@5.0.0-beta.2
443
+
444
+ ## 5.0.0-beta.7
445
+
446
+ ### Patch Changes
447
+
448
+ - [#488](https://github.com/benjie/crystal/pull/488)
449
+ [`e916b7412`](https://github.com/benjie/crystal/commit/e916b7412fc1fbbcb1578dbe07684189c2a720ad)
450
+ Thanks [@benjie](https://github.com/benjie)! - Fix issues with polymorphism
451
+ when interacting with nodeIds, particularly in mutations and SQL functions.
452
+
453
+ - [#488](https://github.com/benjie/crystal/pull/488)
454
+ [`109c8ec67`](https://github.com/benjie/crystal/commit/109c8ec6784dc74f4c4c4c43cc61516cc12401c8)
455
+ Thanks [@benjie](https://github.com/benjie)! - Add new pgTableResource helper
456
+ and refactor a lot of code to use it, reducing code in many cases
457
+ - Updated dependencies
458
+ [[`95e902f54`](https://github.com/benjie/crystal/commit/95e902f5403c16895e874692f7650293d77590dd),
459
+ [`53186213a`](https://github.com/benjie/crystal/commit/53186213ade962f4b66cb0d5ea8b57b5ce7ea85f),
460
+ [`73f1b5218`](https://github.com/benjie/crystal/commit/73f1b52187b2e009d502afa1db8a4e8f702e2958)]:
461
+ - @dataplan/pg@0.0.1-beta.5
462
+ - grafast@0.0.1-beta.5
463
+ - graphile-build@5.0.0-beta.6
464
+
465
+ ## 5.0.0-beta.6
466
+
467
+ ### Patch Changes
468
+
469
+ - [#459](https://github.com/benjie/crystal/pull/459)
470
+ [`d17dd1cd4`](https://github.com/benjie/crystal/commit/d17dd1cd47d6cb125fbc84c38a8c004857e1bdd2)
471
+ Thanks [@benjie](https://github.com/benjie)! - Disable mutations for
472
+ `@interface mode:relational` tables. (They shouldn't have been enabled, and
473
+ they don't work yet.)
474
+
475
+ - [#464](https://github.com/benjie/crystal/pull/464)
476
+ [`00d026409`](https://github.com/benjie/crystal/commit/00d0264090f90914eac881b34918fa3370782adc)
477
+ Thanks [@benjie](https://github.com/benjie)! - `@dataplan/pg/adaptors/pg` now
478
+ adds `rawClient` property which is the underlying Postgres client for use with
479
+ `pgTyped`, `zapatos`, and other libraries that can use a raw postgres client.
480
+ This is exposed via `NodePostgresPgClient` interface which is a subtype of
481
+ `PgClient`.
482
+ - Updated dependencies
483
+ [[`53f0488b1`](https://github.com/benjie/crystal/commit/53f0488b1c060fe9f5dfcd67ad5c0bd932a4b7aa),
484
+ [`f9cc88dc4`](https://github.com/benjie/crystal/commit/f9cc88dc442d371aee154a28d4e63c6da39f6b2e),
485
+ [`00d026409`](https://github.com/benjie/crystal/commit/00d0264090f90914eac881b34918fa3370782adc)]:
486
+ - @dataplan/pg@0.0.1-beta.4
487
+ - grafast@0.0.1-beta.4
488
+ - graphile-build@5.0.0-beta.5
489
+
490
+ ## 5.0.0-beta.5
491
+
492
+ ### Patch Changes
493
+
494
+ - [#457](https://github.com/benjie/crystal/pull/457)
495
+ [`22ecd1e5d`](https://github.com/benjie/crystal/commit/22ecd1e5de1dcd094be3085cba56b705446413f9)
496
+ Thanks [@benjie](https://github.com/benjie)! - Hotfix: PgTableNodePlugin
497
+ should only deal with table resources
498
+
499
+ ## 5.0.0-beta.4
500
+
501
+ ### Patch Changes
502
+
503
+ - [#454](https://github.com/benjie/crystal/pull/454)
504
+ [`196e5c1aa`](https://github.com/benjie/crystal/commit/196e5c1aab52dbe2a069d0a15b9e4931523fd2dd)
505
+ Thanks [@benjie](https://github.com/benjie)! -
506
+ `@interface mode=single/relational` now get `Node` interface if the table has
507
+ a PK.
508
+
509
+ 🚨 `@interface mode=union` no longer gets `Node` interface unless you also add
510
+ `@behavior node`.
511
+
512
+ - [#454](https://github.com/benjie/crystal/pull/454)
513
+ [`e75bf57dd`](https://github.com/benjie/crystal/commit/e75bf57ddb20d20c86dba880cbb1970ec6a875af)
514
+ Thanks [@benjie](https://github.com/benjie)! - Automatically register
515
+ connection types for unionMember unions.
516
+
517
+ - Updated dependencies
518
+ [[`196e5c1aa`](https://github.com/benjie/crystal/commit/196e5c1aab52dbe2a069d0a15b9e4931523fd2dd)]:
519
+ - graphile-build@5.0.0-beta.4
520
+ - @dataplan/pg@0.0.1-beta.3
521
+
522
+ ## 5.0.0-beta.3
523
+
524
+ ### Patch Changes
525
+
526
+ - [#452](https://github.com/benjie/crystal/pull/452)
527
+ [`d3ab4e12d`](https://github.com/benjie/crystal/commit/d3ab4e12d5bf0dc1c0364c603585175fa4d94d34)
528
+ Thanks [@benjie](https://github.com/benjie)! - Improve error messages with
529
+ links to more details.
530
+
531
+ - Updated dependencies
532
+ [[`46cd08aa1`](https://github.com/benjie/crystal/commit/46cd08aa13e3bac4d186c72c6ce24997f37658af),
533
+ [`d3ab4e12d`](https://github.com/benjie/crystal/commit/d3ab4e12d5bf0dc1c0364c603585175fa4d94d34)]:
534
+ - grafast@0.0.1-beta.3
535
+ - graphile-build@5.0.0-beta.3
536
+ - @dataplan/pg@0.0.1-beta.3
537
+
3
538
  ## 5.0.0-beta.2
4
539
 
5
540
  ### 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,11 @@ 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>
47
+ <td align="center"><a href="https://www.sylvera.com/"><img src="https://graphile.org/images/sponsors/sylvera.svg" width="90" height="90" alt="Sylvera" /><br />Sylvera</a> *</td>
49
48
  </tr></table>
50
49
 
51
50
  <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;KACjC;IACD,OAAO,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE3B,SAAS,GAAG,CACV,WAAiE;QAEjE,MAAM,QAAQ,GACZ,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC;QACrE,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;YAC3B,IAAI,eAAK,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE;gBAC7C,MAAM,IAAI,KAAK,CACb,8GAA8G,IAAA,cAAO,EACnH,QAAQ,CACT,EAAE,CACJ,CAAC;aACH;YACD,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;YACnC,OAAO;SACR;QACD,IAAI,eAAe,CAAC,QAAQ,CAAC,EAAE;YAC7B,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACzB,OAAO;SACR;QACD,MAAM,IAAI,KAAK,CACb,8GAA8G,IAAA,cAAO,EACnH,QAAQ,CACT,EAAE,CACJ,CAAC;IACJ,CAAC;AACH,CAAC;AArDD,kCAqDC;AAED;;;;;;;GAOG;AACH,SAAS,eAAe,CAAC,QAAiB;IACxC,OAAO,CACL,OAAO,QAAQ,KAAK,QAAQ;QAC5B,0FAA0F,CAAC,IAAI,CAC7F,QAAQ,CACT,CACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"behavior.js","sourceRoot":"","sources":["../src/behavior.ts"],"names":[],"mappings":";;;AAMA,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;KACjC;IACD,OAAO,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE3B,SAAS,GAAG,CACV,WAAiE;QAEjE,MAAM,QAAQ,GACZ,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC;QACrE,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;YAC3B,IAAI,eAAK,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE;gBAC7C,MAAM,IAAI,KAAK,CACb,8GAA8G,IAAA,cAAO,EACnH,QAAQ,CACT,EAAE,CACJ,CAAC;aACH;YACD,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;YACnC,OAAO;SACR;QACD,IAAI,eAAe,CAAC,QAAQ,CAAC,EAAE;YAC7B,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACzB,OAAO;SACR;QACD,MAAM,IAAI,KAAK,CACb,8GAA8G,IAAA,cAAO,EACnH,QAAQ,CACT,EAAE,CACJ,CAAC;IACJ,CAAC;AACH,CAAC;AArDD,kCAqDC;AAED;;;;;;;GAOG;AACH,SAAS,eAAe,CAAC,QAAiB;IACxC,OAAO,CACL,OAAO,QAAQ,KAAK,QAAQ;QAC5B,0FAA0F,CAAC,IAAI,CAC7F,QAAQ,CACT,CACF,CAAC;AACJ,CAAC"}