@anatine/graphql-zod-validation
Advanced tools
Comparing version 0.6.0 to 0.8.1
{ | ||
"name": "@anatine/graphql-zod-validation", | ||
"version": "0.6.0", | ||
"version": "0.8.1", | ||
"description": "GraphQL Code Generator plugin to generate form validation schema from your GraphQL schema", | ||
@@ -35,5 +35,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@graphql-codegen/plugin-helpers": "^2.5.0", | ||
"@graphql-codegen/plugin-helpers": "^2.6.0", | ||
"@graphql-codegen/schema-ast": "^2.5.0", | ||
"@graphql-codegen/visitor-plugin-common": "^2.11.1", | ||
"@graphql-codegen/visitor-plugin-common": "^2.12.0", | ||
"@graphql-tools/utils": "^8.8.0" | ||
@@ -40,0 +40,0 @@ }, |
"use strict"; | ||
var __rest = (this && this.__rest) || function (s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) | ||
t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.plugin = void 0; | ||
const tslib_1 = require("tslib"); | ||
const index_1 = require("./zod/index"); | ||
@@ -22,3 +12,3 @@ const index_2 = require("./myzod/index"); | ||
const { schema: _schema, ast } = (0, schema_ast_1.transformSchemaAST)(schema, config); | ||
const _a = schemaVisitor(_schema, config), { buildImports, initialEmit } = _a, visitor = __rest(_a, ["buildImports", "initialEmit"]); | ||
const _a = schemaVisitor(_schema, config), { buildImports, initialEmit } = _a, visitor = tslib_1.__rest(_a, ["buildImports", "initialEmit"]); | ||
const result = (0, graphql_1.visit)(ast, { | ||
@@ -25,0 +15,0 @@ InputObjectTypeDefinition: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
71232
25
1026
2
0