@graphql-codegen/typescript-document-nodes 2.3.12 → 2.3.13-alpha-20230109074516-4d59d62ba
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/cjs/visitor.js +1 -1
- package/esm/visitor.js +1 -1
- package/package.json +2 -2
- package/typings/visitor.d.cts +2 -2
- package/typings/visitor.d.ts +2 -2
package/cjs/visitor.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TypeScriptDocumentNodesVisitor = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const auto_bind_1 = tslib_1.__importDefault(require("auto-bind"));
|
|
6
5
|
const visitor_plugin_common_1 = require("@graphql-codegen/visitor-plugin-common");
|
|
6
|
+
const auto_bind_1 = tslib_1.__importDefault(require("auto-bind"));
|
|
7
7
|
class TypeScriptDocumentNodesVisitor extends visitor_plugin_common_1.ClientSideBaseVisitor {
|
|
8
8
|
constructor(schema, fragments, rawConfig, documents) {
|
|
9
9
|
const additionalConfig = {
|
package/esm/visitor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ClientSideBaseVisitor, getConfigValue, } from '@graphql-codegen/visitor-plugin-common';
|
|
1
2
|
import autoBind from 'auto-bind';
|
|
2
|
-
import { getConfigValue, ClientSideBaseVisitor, } from '@graphql-codegen/visitor-plugin-common';
|
|
3
3
|
export class TypeScriptDocumentNodesVisitor extends ClientSideBaseVisitor {
|
|
4
4
|
constructor(schema, fragments, rawConfig, documents) {
|
|
5
5
|
const additionalConfig = {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/typescript-document-nodes",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.13-alpha-20230109074516-4d59d62ba",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating TypeScript modules with embedded GraphQL document nodes",
|
|
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"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@graphql-codegen/plugin-helpers": "^3.1.2",
|
|
10
|
-
"@graphql-codegen/visitor-plugin-common": "2.13.
|
|
10
|
+
"@graphql-codegen/visitor-plugin-common": "2.13.8-alpha-20230109074516-4d59d62ba",
|
|
11
11
|
"auto-bind": "~4.0.0",
|
|
12
12
|
"tslib": "~2.4.0"
|
|
13
13
|
},
|
package/typings/visitor.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TypeScriptDocumentNodesRawPluginConfig } from './index.cjs';
|
|
2
1
|
import { Types } from '@graphql-codegen/plugin-helpers';
|
|
3
|
-
import {
|
|
2
|
+
import { ClientSideBasePluginConfig, ClientSideBaseVisitor, LoadedFragment, NamingConvention } from '@graphql-codegen/visitor-plugin-common';
|
|
4
3
|
import { GraphQLSchema } from 'graphql';
|
|
4
|
+
import { TypeScriptDocumentNodesRawPluginConfig } from './index.cjs';
|
|
5
5
|
export interface TypeScriptDocumentNodesPluginConfig extends ClientSideBasePluginConfig {
|
|
6
6
|
namingConvention: NamingConvention;
|
|
7
7
|
transformUnderscore: boolean;
|
package/typings/visitor.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TypeScriptDocumentNodesRawPluginConfig } from './index.js';
|
|
2
1
|
import { Types } from '@graphql-codegen/plugin-helpers';
|
|
3
|
-
import {
|
|
2
|
+
import { ClientSideBasePluginConfig, ClientSideBaseVisitor, LoadedFragment, NamingConvention } from '@graphql-codegen/visitor-plugin-common';
|
|
4
3
|
import { GraphQLSchema } from 'graphql';
|
|
4
|
+
import { TypeScriptDocumentNodesRawPluginConfig } from './index.js';
|
|
5
5
|
export interface TypeScriptDocumentNodesPluginConfig extends ClientSideBasePluginConfig {
|
|
6
6
|
namingConvention: NamingConvention;
|
|
7
7
|
transformUnderscore: boolean;
|