@theconcurrent/query
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -43,3 +43,3 @@ function m(e, t, i) { | ||
} | ||
function U(e, t) { | ||
function T(e, t) { | ||
var o; | ||
@@ -62,3 +62,3 @@ const n = (o = f(e, t, "Query").directives) == null ? void 0 : o.find((r) => r.name === "collection"); | ||
} | ||
function T(e, t) { | ||
function U(e, t) { | ||
var n; | ||
@@ -87,3 +87,3 @@ const i = f(e, t, "Mutation"); | ||
function y(e, t, i) { | ||
const { simplifiedEntities: n } = e, o = t.split("."), r = o.shift(), a = T(n, r); | ||
const { simplifiedEntities: n } = e, o = t.split("."), r = o.shift(), a = U(n, r); | ||
if (!a) | ||
@@ -204,3 +204,3 @@ throw new Error(`Can't generate ${i} Mutation`); | ||
config: { nodeRepresentatives: o } | ||
} = e, r = U(n, t); | ||
} = e, r = T(n, t); | ||
if (!r) | ||
@@ -207,0 +207,0 @@ throw new Error("Can't generate List Query"); |
@@ -42,3 +42,3 @@ /// <reference types="react" /> | ||
kind: 'InputObject'; | ||
inputFields: Array<SimplifiedInputField>; | ||
inputFields: Array<SimplifiedField>; | ||
} & TypeNameAndDescriptionAndDirective; | ||
@@ -58,3 +58,2 @@ export type SimplifiedField = { | ||
}; | ||
type SimplifiedInputField = SimplifiedField; | ||
type SimplifiedEnumValue = { | ||
@@ -99,3 +98,3 @@ name: string; | ||
description: string | undefined; | ||
kind: 'Scalar' | 'Object' | 'Enum' | 'InputObject'; | ||
kind: 'Scalar' | 'Object' | 'Enum'; | ||
isList: boolean; | ||
@@ -108,3 +107,3 @@ isNonNull: boolean; | ||
fields?: FieldObject[]; | ||
schemaDirectives: any; | ||
schemaDirectives?: DirectiveInfo[]; | ||
collection: any; | ||
@@ -111,0 +110,0 @@ isUnion: boolean; |
{ | ||
"name": "@theconcurrent/query", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"main": "./dist/index.umd.js", | ||
@@ -27,8 +27,8 @@ "module": "./dist/index.es.js", | ||
"dependencies": { | ||
"@theconcurrent/utility": "0.0.16" | ||
"@theconcurrent/utility": "0.0.17" | ||
}, | ||
"peerDependencies": { | ||
"@theconcurrent/utility": "0.0.16" | ||
"@theconcurrent/utility": "0.0.17" | ||
}, | ||
"gitHead": "65f44097b9fb1d2ec36c92b8d530db725aa71f52" | ||
"gitHead": "2dadaf04eec8dd75c0e6b9e0a384f8b30f48afdb" | ||
} |
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
103350
645
+ Added@theconcurrent/utility@0.0.17(transitive)
- Removed@theconcurrent/utility@0.0.16(transitive)