@graphql-codegen/plugin-helpers 5.0.3 → 5.0.4-alpha-20240509095324-2e480ea7966d07a5313bf34742a0330b6763f159
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/package.json +1 -1
- package/typings/types.d.cts +2 -1
- package/typings/types.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/plugin-helpers",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4-alpha-20240509095324-2e480ea7966d07a5313bf34742a0330b6763f159",
|
|
4
4
|
"description": "GraphQL Code Generator common utils and types",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
package/typings/types.d.cts
CHANGED
|
@@ -507,10 +507,11 @@ export declare namespace Types {
|
|
|
507
507
|
*/
|
|
508
508
|
noSilentErrors?: boolean;
|
|
509
509
|
}
|
|
510
|
-
type ComplexPluginOutput = {
|
|
510
|
+
type ComplexPluginOutput<M = Record<string, unknown>> = {
|
|
511
511
|
content: string;
|
|
512
512
|
prepend?: string[];
|
|
513
513
|
append?: string[];
|
|
514
|
+
meta?: M;
|
|
514
515
|
};
|
|
515
516
|
type PluginOutput = string | ComplexPluginOutput;
|
|
516
517
|
type HookFunction = (...args: any[]) => void | Promise<void>;
|
package/typings/types.d.ts
CHANGED
|
@@ -507,10 +507,11 @@ export declare namespace Types {
|
|
|
507
507
|
*/
|
|
508
508
|
noSilentErrors?: boolean;
|
|
509
509
|
}
|
|
510
|
-
type ComplexPluginOutput = {
|
|
510
|
+
type ComplexPluginOutput<M = Record<string, unknown>> = {
|
|
511
511
|
content: string;
|
|
512
512
|
prepend?: string[];
|
|
513
513
|
append?: string[];
|
|
514
|
+
meta?: M;
|
|
514
515
|
};
|
|
515
516
|
type PluginOutput = string | ComplexPluginOutput;
|
|
516
517
|
type HookFunction = (...args: any[]) => void | Promise<void>;
|