graphile-config 0.0.1-beta.4 → 0.0.1-beta.5
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.
- package/CHANGELOG.md +10 -0
- package/README.md +1 -2
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/interfaces.d.ts +0 -28
- package/dist/interfaces.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# graphile-config
|
|
2
2
|
|
|
3
|
+
## 0.0.1-beta.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1877](https://github.com/graphile/crystal/pull/1877)
|
|
8
|
+
[`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f)
|
|
9
|
+
Thanks [@benjie](https://github.com/benjie)! - Move 'declare global' out of
|
|
10
|
+
'interfaces.ts' and into 'index.ts' or equivalent. Should make TypeScript more
|
|
11
|
+
aware of these types.
|
|
12
|
+
|
|
3
13
|
## 0.0.1-beta.4
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -127,9 +127,8 @@ And please give some love to our featured sponsors 🤩:
|
|
|
127
127
|
<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>
|
|
128
128
|
<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>
|
|
129
129
|
<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>
|
|
130
|
-
<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>
|
|
131
|
-
</tr><tr>
|
|
132
130
|
<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>
|
|
131
|
+
</tr><tr>
|
|
133
132
|
<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>
|
|
134
133
|
<td align="center"><a href="https://microteam.io/"><img src="https://graphile.org/images/sponsors/micro.png" width="90" height="90" alt="We Love Micro" /><br />We Love Micro</a> *</td>
|
|
135
134
|
</tr></table>
|
package/dist/index.d.ts
CHANGED
|
@@ -4,4 +4,32 @@ export { applyHooks, AsyncHooks, HookObject } from "./hooks.js";
|
|
|
4
4
|
export type { PluginHook, PluginHookObject } from "./interfaces.js";
|
|
5
5
|
export { isResolvedPreset, resolvePresets } from "./resolvePresets.js";
|
|
6
6
|
export declare function sortedPlugins(plugins: GraphileConfig.Plugin[] | undefined): GraphileConfig.Plugin[];
|
|
7
|
+
declare global {
|
|
8
|
+
namespace GraphileConfig {
|
|
9
|
+
interface Plugin {
|
|
10
|
+
name: string;
|
|
11
|
+
version: string;
|
|
12
|
+
experimental?: boolean;
|
|
13
|
+
description?: string;
|
|
14
|
+
provides?: string[];
|
|
15
|
+
after?: string[];
|
|
16
|
+
before?: string[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A Graphile Config Preset that can be combined with other presets to
|
|
20
|
+
* ultimately build a resolved preset: a combination of plugins and
|
|
21
|
+
* configuration options to be used by the various Graphile tools.
|
|
22
|
+
*/
|
|
23
|
+
interface Preset {
|
|
24
|
+
extends?: ReadonlyArray<Preset>;
|
|
25
|
+
plugins?: Plugin[];
|
|
26
|
+
disablePlugins?: ReadonlyArray<string>;
|
|
27
|
+
}
|
|
28
|
+
interface ResolvedPreset extends Preset {
|
|
29
|
+
extends?: ReadonlyArray<never>;
|
|
30
|
+
plugins?: Plugin[];
|
|
31
|
+
disablePlugins?: ReadonlyArray<string>;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
7
35
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AAIzB,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAChE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEvE,wBAAgB,aAAa,CAC3B,OAAO,EAAE,cAAc,CAAC,MAAM,EAAE,GAAG,SAAS,GAC3C,cAAc,CAAC,MAAM,EAAE,CAMzB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AAIzB,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAChE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEvE,wBAAgB,aAAa,CAC3B,OAAO,EAAE,cAAc,CAAC,MAAM,EAAE,GAAG,SAAS,GAC3C,cAAc,CAAC,MAAM,EAAE,CAMzB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,cAAc,CAAC;QACvB,UAAU,MAAM;YACd,IAAI,EAAE,MAAM,CAAC;YACb,OAAO,EAAE,MAAM,CAAC;YAChB,YAAY,CAAC,EAAE,OAAO,CAAC;YACvB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;YACpB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;YACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;SACnB;QAED;;;;WAIG;QACH,UAAU,MAAM;YACd,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;YAChC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;YACnB,cAAc,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;SAGxC;QAED,UAAU,cAAe,SAAQ,MAAM;YAErC,OAAO,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAC/B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;YACnB,cAAc,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;SACxC;KACF;CACF"}
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
namespace GraphileConfig {
|
|
3
|
-
interface Plugin {
|
|
4
|
-
name: string;
|
|
5
|
-
version: string;
|
|
6
|
-
experimental?: boolean;
|
|
7
|
-
description?: string;
|
|
8
|
-
provides?: string[];
|
|
9
|
-
after?: string[];
|
|
10
|
-
before?: string[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* A Graphile Config Preset that can be combined with other presets to
|
|
14
|
-
* ultimately build a resolved preset: a combination of plugins and
|
|
15
|
-
* configuration options to be used by the various Graphile tools.
|
|
16
|
-
*/
|
|
17
|
-
interface Preset {
|
|
18
|
-
extends?: ReadonlyArray<Preset>;
|
|
19
|
-
plugins?: Plugin[];
|
|
20
|
-
disablePlugins?: ReadonlyArray<string>;
|
|
21
|
-
}
|
|
22
|
-
interface ResolvedPreset extends Preset {
|
|
23
|
-
extends?: ReadonlyArray<never>;
|
|
24
|
-
plugins?: Plugin[];
|
|
25
|
-
disablePlugins?: ReadonlyArray<string>;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
1
|
export type PluginHookObject<T extends (...args: any[]) => any> = {
|
|
30
2
|
provides?: string[];
|
|
31
3
|
before?: string[];
|
package/dist/interfaces.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IAAI;IAChE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,CAAC,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IACpD,CAAC,GACD,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAExB,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,IAC1E,CAAC,SAAS,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC"}
|