@nationalarchives/tdr-generated-graphql 1.0.198 → 1.0.201
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/index.js +27 -27
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{"use strict";var e={d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{AddAntivirusMetadata:()=>ae,AddConsignment:()=>oe,AddFfidMetadata:()=>ce,AddFileMetadata:()=>de,AddFilesAndMetadata:()=>le,AddFinalJudgmentTransferConfirmation:()=>ue,AddFinalTransferConfirmation:()=>pe,AddTransferAgreementCompliance:()=>he,AddTransferAgreementPrivateBeta:()=>me,DataType:()=>se,GetClosureMetadata:()=>fe,GetConsignment:()=>Ee,GetConsignmentFiles:()=>Te,GetConsignmentFolderDetails:()=>Ne,GetConsignmentForExport:()=>Ie,GetConsignmentReference:()=>ge,GetConsignmentStatus:()=>ye,GetConsignmentSummary:()=>Ae,GetConsignmentType:()=>De,GetFileCheckProgress:()=>ve,GetFileCheckProgressSummary:()=>Oe,GetOriginalPath:()=>Ce,GetSeries:()=>_e,MarkUploadAsCompleted:()=>xe,PropertyType:()=>re,StartUpload:()=>Se,UpdateExportData:()=>ke,UpdateTransferInitiated:()=>Fe});var n=function(){return n=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},n.apply(this,arguments)};function i(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}Object.create,Object.create;const s=/\r\n|[\n\r]/g;function r(e,t){let n=0,r=1;for(const a of e.body.matchAll(s)){if("number"==typeof a.index||i(!1),a.index>=t)break;n=a.index+a[0].length,r+=1}return{line:r,column:t+1-n}}function a(e,t){const n=e.locationOffset.column-1,i="".padStart(n)+e.body,s=t.line-1,r=e.locationOffset.line-1,a=t.line+r,c=1===t.line?n:0,d=t.column+c,l=`${e.name}:${a}:${d}\n`,u=i.split(/\r\n|[\n\r]/g),p=u[s];if(p.length>120){const e=Math.floor(d/80),t=d%80,n=[];for(let e=0;e<p.length;e+=80)n.push(p.slice(e,e+80));return l+o([[`${a} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+o([[a-1+" |",u[s-1]],[`${a} |`,p],["|","^".padStart(d)],[`${a+1} |`,u[s+1]]])}function o(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}class c extends Error{constructor(e,...t){var n,i,s;const{nodes:a,source:o,positions:l,path:u,originalError:p,extensions:h}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=p?p:void 0,this.nodes=d(Array.isArray(a)?a:a?[a]:void 0);const m=d(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=o?o:null==m||null===(i=m[0])||void 0===i?void 0:i.source,this.positions=null!=l?l:null==m?void 0:m.map((e=>e.start)),this.locations=l&&o?l.map((e=>r(o,e))):null==m?void 0:m.map((e=>r(e.source,e.start)));const f="object"==typeof(E=null==p?void 0:p.extensions)&&null!==E?null==p?void 0:p.extensions:void 0;var E;this.extensions=null!==(s=null!=h?h:f)&&void 0!==s?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=p&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,c):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(e+="\n\n"+a((t=n.loc).source,r(t.source,t.start)));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+a(this.source,t);var t;return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function d(e){return void 0===e||0===e.length?void 0:e}function l(e,t,n){return new c(`Syntax Error: ${n}`,void 0,e,[t])}class u{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class p{constructor(e,t,n,i,s,r){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=s,this.value=r,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let h,m,f,E;function I(e){return e>=48&&e<=57}function T(e){return e>=97&&e<=122||e>=65&&e<=90}function N(e){return T(e)||95===e}function g(e){var t;let n=Number.MAX_SAFE_INTEGER,i=null,s=-1;for(let t=0;t<e.length;++t){var r;const a=e[t],o=y(a);o!==a.length&&(i=null!==(r=i)&&void 0!==r?r:t,s=t,0!==t&&o<n&&(n=o))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=i)&&void 0!==t?t:0,s+1)}function y(e){let t=0;for(;t<e.length&&(9===(n=e.charCodeAt(t))||32===n);)++t;var n;return t}var A;new Set(Object.keys({Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]})),function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(h||(h={})),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(m||(m={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(f||(f={})),(A=E||(E={})).SOF="<SOF>",A.EOF="<EOF>",A.BANG="!",A.DOLLAR="$",A.AMP="&",A.PAREN_L="(",A.PAREN_R=")",A.SPREAD="...",A.COLON=":",A.EQUALS="=",A.AT="@",A.BRACKET_L="[",A.BRACKET_R="]",A.BRACE_L="{",A.PIPE="|",A.BRACE_R="}",A.NAME="Name",A.INT="Int",A.FLOAT="Float",A.STRING="String",A.BLOCK_STRING="BlockString",A.COMMENT="Comment";class D{constructor(e){const t=new p(E.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==E.EOF)do{if(e.next)e=e.next;else{const t=k(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===E.COMMENT);return e}}function v(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function O(e,t){return C(e.charCodeAt(t))&&_(e.charCodeAt(t+1))}function C(e){return e>=55296&&e<=56319}function _(e){return e>=56320&&e<=57343}function x(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return E.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function S(e,t,n,i,s){const r=e.line,a=1+n-e.lineStart;return new p(t,n,i,r,a,s)}function k(e,t){const n=e.source.body,i=n.length;let s=t;for(;s<i;){const t=n.charCodeAt(s);switch(t){case 65279:case 9:case 32:case 44:++s;continue;case 10:++s,++e.line,e.lineStart=s;continue;case 13:10===n.charCodeAt(s+1)?s+=2:++s,++e.line,e.lineStart=s;continue;case 35:return F(e,s);case 33:return S(e,E.BANG,s,s+1);case 36:return S(e,E.DOLLAR,s,s+1);case 38:return S(e,E.AMP,s,s+1);case 40:return S(e,E.PAREN_L,s,s+1);case 41:return S(e,E.PAREN_R,s,s+1);case 46:if(46===n.charCodeAt(s+1)&&46===n.charCodeAt(s+2))return S(e,E.SPREAD,s,s+3);break;case 58:return S(e,E.COLON,s,s+1);case 61:return S(e,E.EQUALS,s,s+1);case 64:return S(e,E.AT,s,s+1);case 91:return S(e,E.BRACKET_L,s,s+1);case 93:return S(e,E.BRACKET_R,s,s+1);case 123:return S(e,E.BRACE_L,s,s+1);case 124:return S(e,E.PIPE,s,s+1);case 125:return S(e,E.BRACE_R,s,s+1);case 34:return 34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)?V(e,s):L(e,s)}if(I(t)||45===t)return R(e,s,t);if(N(t))return $(e,s);throw l(e.source,s,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":v(t)||O(n,s)?`Unexpected character: ${x(e,s)}.`:`Invalid character: ${x(e,s)}.`)}return S(e,E.EOF,i,i)}function F(e,t){const n=e.source.body,i=n.length;let s=t+1;for(;s<i;){const e=n.charCodeAt(s);if(10===e||13===e)break;if(v(e))++s;else{if(!O(n,s))break;s+=2}}return S(e,E.COMMENT,t,s,n.slice(t+1,s))}function R(e,t,n){const i=e.source.body;let s=t,r=n,a=!1;if(45===r&&(r=i.charCodeAt(++s)),48===r){if(r=i.charCodeAt(++s),I(r))throw l(e.source,s,`Invalid number, unexpected digit after 0: ${x(e,s)}.`)}else s=b(e,s,r),r=i.charCodeAt(s);if(46===r&&(a=!0,r=i.charCodeAt(++s),s=b(e,s,r),r=i.charCodeAt(s)),69!==r&&101!==r||(a=!0,r=i.charCodeAt(++s),43!==r&&45!==r||(r=i.charCodeAt(++s)),s=b(e,s,r),r=i.charCodeAt(s)),46===r||N(r))throw l(e.source,s,`Invalid number, expected digit but got: ${x(e,s)}.`);return S(e,a?E.FLOAT:E.INT,t,s,i.slice(t,s))}function b(e,t,n){if(!I(n))throw l(e.source,t,`Invalid number, expected digit but got: ${x(e,t)}.`);const i=e.source.body;let s=t+1;for(;I(i.charCodeAt(s));)++s;return s}function L(e,t){const n=e.source.body,i=n.length;let s=t+1,r=s,a="";for(;s<i;){const i=n.charCodeAt(s);if(34===i)return a+=n.slice(r,s),S(e,E.STRING,t,s+1,a);if(92!==i){if(10===i||13===i)break;if(v(i))++s;else{if(!O(n,s))throw l(e.source,s,`Invalid character within String: ${x(e,s)}.`);s+=2}}else{a+=n.slice(r,s);const t=117===n.charCodeAt(s+1)?123===n.charCodeAt(s+2)?P(e,s):U(e,s):B(e,s);a+=t.value,s+=t.size,r=s}}throw l(e.source,s,"Unterminated string.")}function P(e,t){const n=e.source.body;let i=0,s=3;for(;s<12;){const e=n.charCodeAt(t+s++);if(125===e){if(s<5||!v(i))break;return{value:String.fromCodePoint(i),size:s}}if(i=i<<4|w(e),i<0)break}throw l(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+s)}".`)}function U(e,t){const n=e.source.body,i=M(n,t+2);if(v(i))return{value:String.fromCodePoint(i),size:6};if(C(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=M(n,t+8);if(_(e))return{value:String.fromCodePoint(i,e),size:12}}throw l(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function M(e,t){return w(e.charCodeAt(t))<<12|w(e.charCodeAt(t+1))<<8|w(e.charCodeAt(t+2))<<4|w(e.charCodeAt(t+3))}function w(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function B(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw l(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function V(e,t){const n=e.source.body,i=n.length;let s=e.lineStart,r=t+3,a=r,o="";const c=[];for(;r<i;){const i=n.charCodeAt(r);if(34===i&&34===n.charCodeAt(r+1)&&34===n.charCodeAt(r+2)){o+=n.slice(a,r),c.push(o);const i=S(e,E.BLOCK_STRING,t,r+3,g(c).join("\n"));return e.line+=c.length-1,e.lineStart=s,i}if(92!==i||34!==n.charCodeAt(r+1)||34!==n.charCodeAt(r+2)||34!==n.charCodeAt(r+3))if(10!==i&&13!==i)if(v(i))++r;else{if(!O(n,r))throw l(e.source,r,`Invalid character within String: ${x(e,r)}.`);r+=2}else o+=n.slice(a,r),c.push(o),13===i&&10===n.charCodeAt(r+1)?r+=2:++r,o="",a=r,s=r;else o+=n.slice(a,r),a=r+1,r+=4}throw l(e.source,r,"Unterminated string.")}function $(e,t){const n=e.source.body,i=n.length;let s=t+1;for(;s<i&&(T(r=n.charCodeAt(s))||I(r)||95===r);)++s;var r;return S(e,E.NAME,t,s,n.slice(t,s))}function G(e,t){if(!Boolean(e))throw new Error(t)}function j(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:j(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),i=e.length-n,s=[];for(let i=0;i<n;++i)s.push(j(e[i],t));return 1===i?s.push("... 1 more item"):i>1&&s.push(`... ${i} more items`),"["+s.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const i=n.map((([e,n])=>e+": "+j(n,t)));return"{ "+i.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}class K{constructor(e,t="GraphQL request",n={line:1,column:1}){var i;"string"==typeof e||G(!1,`Body must be a string. Received: ${i=e,j(i,[])}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||G(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||G(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class Y{constructor(e,t){const n=function(e){return e instanceof K}(e)?e:new K(e);this._lexer=new D(n),this._options=t}parseName(){const e=this.expectToken(E.NAME);return this.node(e,{kind:f.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:f.DOCUMENT,definitions:this.many(E.SOF,this.parseDefinition,E.EOF)})}parseDefinition(){if(this.peek(E.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===E.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw l(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(E.BRACE_L))return this.node(e,{kind:f.OPERATION_DEFINITION,operation:h.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(E.NAME)&&(n=this.parseName()),this.node(e,{kind:f.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(E.NAME);switch(e.value){case"query":return h.QUERY;case"mutation":return h.MUTATION;case"subscription":return h.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(E.PAREN_L,this.parseVariableDefinition,E.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:f.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(E.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(E.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(E.DOLLAR),this.node(e,{kind:f.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:f.SELECTION_SET,selections:this.many(E.BRACE_L,this.parseSelection,E.BRACE_R)})}parseSelection(){return this.peek(E.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,i;return this.expectOptionalToken(E.COLON)?(n=t,i=this.parseName()):i=t,this.node(e,{kind:f.FIELD,alias:n,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(E.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(E.PAREN_L,t,E.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(E.COLON),this.node(t,{kind:f.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(E.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(E.NAME)?this.node(e,{kind:f.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:f.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){var e;const t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacyFragmentVariables)?this.node(t,{kind:f.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:f.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case E.BRACKET_L:return this.parseList(e);case E.BRACE_L:return this.parseObject(e);case E.INT:return this._lexer.advance(),this.node(t,{kind:f.INT,value:t.value});case E.FLOAT:return this._lexer.advance(),this.node(t,{kind:f.FLOAT,value:t.value});case E.STRING:case E.BLOCK_STRING:return this.parseStringLiteral();case E.NAME:switch(this._lexer.advance(),t.value){case"true":return this.node(t,{kind:f.BOOLEAN,value:!0});case"false":return this.node(t,{kind:f.BOOLEAN,value:!1});case"null":return this.node(t,{kind:f.NULL});default:return this.node(t,{kind:f.ENUM,value:t.value})}case E.DOLLAR:if(e){if(this.expectToken(E.DOLLAR),this._lexer.token.kind===E.NAME){const e=this._lexer.token.value;throw l(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this._lexer.advance(),this.node(e,{kind:f.STRING,value:e.value,block:e.kind===E.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:f.LIST,values:this.any(E.BRACKET_L,(()=>this.parseValueLiteral(e)),E.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:f.OBJECT,fields:this.any(E.BRACE_L,(()=>this.parseObjectField(e)),E.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(E.COLON),this.node(t,{kind:f.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(E.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(E.AT),this.node(t,{kind:f.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(E.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(E.BRACKET_R),t=this.node(e,{kind:f.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(E.BANG)?this.node(e,{kind:f.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:f.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(E.STRING)||this.peek(E.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),i=this.many(E.BRACE_L,this.parseOperationTypeDefinition,E.BRACE_R);return this.node(e,{kind:f.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(E.COLON);const n=this.parseNamedType();return this.node(e,{kind:f.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:f.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),r=this.parseFieldsDefinition();return this.node(e,{kind:f.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:s,fields:r})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(E.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(E.BRACE_L,this.parseFieldDefinition,E.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(E.COLON);const s=this.parseTypeReference(),r=this.parseConstDirectives();return this.node(e,{kind:f.FIELD_DEFINITION,description:t,name:n,arguments:i,type:s,directives:r})}parseArgumentDefs(){return this.optionalMany(E.PAREN_L,this.parseInputValueDef,E.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(E.COLON);const i=this.parseTypeReference();let s;this.expectOptionalToken(E.EQUALS)&&(s=this.parseConstValueLiteral());const r=this.parseConstDirectives();return this.node(e,{kind:f.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:s,directives:r})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),r=this.parseFieldsDefinition();return this.node(e,{kind:f.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:s,fields:r})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(e,{kind:f.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(E.EQUALS)?this.delimitedMany(E.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(e,{kind:f.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(E.BRACE_L,this.parseEnumValueDefinition,E.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:f.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw l(this._lexer.source,this._lexer.token.start,`${q(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(e,{kind:f.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(E.BRACE_L,this.parseInputValueDef,E.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===E.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(E.BRACE_L,this.parseOperationTypeDefinition,E.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:f.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:f.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===s.length)throw this.unexpected();return this.node(e,{kind:f.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:s})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===s.length)throw this.unexpected();return this.node(e,{kind:f.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:s})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.UNION_TYPE_EXTENSION,name:t,directives:n,types:i})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(E.AT);const n=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const r=this.parseDirectiveLocations();return this.node(e,{kind:f.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:s,locations:r})}parseDirectiveLocations(){return this.delimitedMany(E.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(m,t.value))return t;throw this.unexpected(e)}node(e,t){var n;return!0!==(null===(n=this._options)||void 0===n?void 0:n.noLocation)&&(t.loc=new u(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw l(this._lexer.source,t.start,`Expected ${J(e)}, found ${q(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this._lexer.advance(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==E.NAME||t.value!==e)throw l(this._lexer.source,t.start,`Expected "${e}", found ${q(t)}.`);this._lexer.advance()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===E.NAME&&t.value===e&&(this._lexer.advance(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return l(this._lexer.source,t.start,`Unexpected ${q(t)}.`)}any(e,t,n){this.expectToken(e);const i=[];for(;!this.expectOptionalToken(n);)i.push(t.call(this));return i}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}}function q(e){const t=e.value;return J(e.kind)+(null!=t?` "${t}"`:"")}function J(e){return function(e){return e===E.BANG||e===E.DOLLAR||e===E.AMP||e===E.PAREN_L||e===E.PAREN_R||e===E.SPREAD||e===E.COLON||e===E.EQUALS||e===E.AT||e===E.BRACKET_L||e===E.BRACKET_R||e===E.BRACE_L||e===E.PIPE||e===E.BRACE_R}(e)?`"${e}"`:e}var Q=new Map,X=new Map,z=!0,H=!1;function W(e){return e.replace(/[\s,]+/g," ").trim()}function Z(e){var t,i,s,r=W(e);if(!Q.has(r)){var a=function(e,t){return new Y(e,t).parseDocument()}(e,{experimentalFragmentVariables:H,allowLegacyFragmentVariables:H});if(!a||"Document"!==a.kind)throw new Error("Not a valid GraphQL document.");Q.set(r,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var i=e[n];i&&"object"==typeof i&&t.add(i)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}((t=a,i=new Set,s=[],t.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var t=e.name.value,n=W((a=e.loc).source.body.substring(a.start,a.end)),r=X.get(t);r&&!r.has(n)?z&&console.warn("Warning: fragment with name "+t+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):r||X.set(t,r=new Set),r.add(n),i.has(n)||(i.add(n),s.push(e))}else s.push(e);var a})),n(n({},t),{definitions:s}))))}return Q.get(r)}function ee(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var i=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?i+=t.loc.source.body:i+=t,i+=e[n+1]})),Z(i)}var te,ne=ee;(te=ee||(ee={})).gql=ne,te.resetCaches=function(){Q.clear(),X.clear()},te.disableFragmentWarnings=function(){z=!1},te.enableExperimentalFragmentVariables=function(){H=!0},te.disableExperimentalFragmentVariables=function(){H=!1},ee.default=ee;const ie=ee;var se,re;!function(e){e.DateTime="DateTime",e.Decimal="Decimal",e.Integer="Integer",e.Text="Text"}(se||(se={})),function(e){e.Defined="Defined",e.Supplied="Supplied",e.System="System"}(re||(re={}));const ae=ie`
|
|
1
|
+
(()=>{"use strict";var e={333:(e,t,n)=>{n.r(t),n.d(t,{default:()=>pe,disableExperimentalFragmentVariables:()=>se,disableFragmentWarnings:()=>ie,enableExperimentalFragmentVariables:()=>re,gql:()=>te,resetCaches:()=>ne});var i=function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)};function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}Object.create,Object.create;const s=/\r\n|[\n\r]/g;function a(e,t){let n=0,i=1;for(const a of e.body.matchAll(s)){if("number"==typeof a.index||r(!1),a.index>=t)break;n=a.index+a[0].length,i+=1}return{line:i,column:t+1-n}}function o(e,t){const n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,s=e.locationOffset.line-1,a=t.line+s,o=1===t.line?n:0,d=t.column+o,l=`${e.name}:${a}:${d}\n`,u=i.split(/\r\n|[\n\r]/g),p=u[r];if(p.length>120){const e=Math.floor(d/80),t=d%80,n=[];for(let e=0;e<p.length;e+=80)n.push(p.slice(e,e+80));return l+c([[`${a} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+c([[a-1+" |",u[r-1]],[`${a} |`,p],["|","^".padStart(d)],[`${a+1} |`,u[r+1]]])}function c(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}class d extends Error{constructor(e,...t){var n,i,r;const{nodes:s,source:o,positions:c,path:u,originalError:p,extensions:h}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=p?p:void 0,this.nodes=l(Array.isArray(s)?s:s?[s]:void 0);const f=l(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=o?o:null==f||null===(i=f[0])||void 0===i?void 0:i.source,this.positions=null!=c?c:null==f?void 0:f.map((e=>e.start)),this.locations=c&&o?c.map((e=>a(o,e))):null==f?void 0:f.map((e=>a(e.source,e.start)));const m="object"==typeof(E=null==p?void 0:p.extensions)&&null!==E?null==p?void 0:p.extensions:void 0;var E;this.extensions=null!==(r=null!=h?h:m)&&void 0!==r?r:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=p&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,d):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(e+="\n\n"+o((t=n.loc).source,a(t.source,t.start)));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+o(this.source,t);var t;return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function l(e){return void 0===e||0===e.length?void 0:e}function u(e,t,n){return new d(`Syntax Error: ${n}`,void 0,e,[t])}class p{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class h{constructor(e,t,n,i,r,s){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let f,m,E,T;function I(e){return e>=48&&e<=57}function g(e){return e>=97&&e<=122||e>=65&&e<=90}function N(e){return g(e)||95===e}function A(e){var t;let n=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let t=0;t<e.length;++t){var s;const a=e[t],o=y(a);o!==a.length&&(i=null!==(s=i)&&void 0!==s?s:t,r=t,0!==t&&o<n&&(n=o))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=i)&&void 0!==t?t:0,r+1)}function y(e){let t=0;for(;t<e.length&&(9===(n=e.charCodeAt(t))||32===n);)++t;var n;return t}var D;new Set(Object.keys({Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]})),function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(f||(f={})),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(m||(m={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(E||(E={})),(D=T||(T={})).SOF="<SOF>",D.EOF="<EOF>",D.BANG="!",D.DOLLAR="$",D.AMP="&",D.PAREN_L="(",D.PAREN_R=")",D.SPREAD="...",D.COLON=":",D.EQUALS="=",D.AT="@",D.BRACKET_L="[",D.BRACKET_R="]",D.BRACE_L="{",D.PIPE="|",D.BRACE_R="}",D.NAME="Name",D.INT="Int",D.FLOAT="Float",D.STRING="String",D.BLOCK_STRING="BlockString",D.COMMENT="Comment";class v{constructor(e){const t=new h(T.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==T.EOF)do{if(e.next)e=e.next;else{const t=F(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===T.COMMENT);return e}}function C(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function O(e,t){return _(e.charCodeAt(t))&&x(e.charCodeAt(t+1))}function _(e){return e>=55296&&e<=56319}function x(e){return e>=56320&&e<=57343}function S(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return T.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function k(e,t,n,i,r){const s=e.line,a=1+n-e.lineStart;return new h(t,n,i,s,a,r)}function F(e,t){const n=e.source.body,i=n.length;let r=t;for(;r<i;){const t=n.charCodeAt(r);switch(t){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:10===n.charCodeAt(r+1)?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return R(e,r);case 33:return k(e,T.BANG,r,r+1);case 36:return k(e,T.DOLLAR,r,r+1);case 38:return k(e,T.AMP,r,r+1);case 40:return k(e,T.PAREN_L,r,r+1);case 41:return k(e,T.PAREN_R,r,r+1);case 46:if(46===n.charCodeAt(r+1)&&46===n.charCodeAt(r+2))return k(e,T.SPREAD,r,r+3);break;case 58:return k(e,T.COLON,r,r+1);case 61:return k(e,T.EQUALS,r,r+1);case 64:return k(e,T.AT,r,r+1);case 91:return k(e,T.BRACKET_L,r,r+1);case 93:return k(e,T.BRACKET_R,r,r+1);case 123:return k(e,T.BRACE_L,r,r+1);case 124:return k(e,T.PIPE,r,r+1);case 125:return k(e,T.BRACE_R,r,r+1);case 34:return 34===n.charCodeAt(r+1)&&34===n.charCodeAt(r+2)?$(e,r):P(e,r)}if(I(t)||45===t)return b(e,r,t);if(N(t))return G(e,r);throw u(e.source,r,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":C(t)||O(n,r)?`Unexpected character: ${S(e,r)}.`:`Invalid character: ${S(e,r)}.`)}return k(e,T.EOF,i,i)}function R(e,t){const n=e.source.body,i=n.length;let r=t+1;for(;r<i;){const e=n.charCodeAt(r);if(10===e||13===e)break;if(C(e))++r;else{if(!O(n,r))break;r+=2}}return k(e,T.COMMENT,t,r,n.slice(t+1,r))}function b(e,t,n){const i=e.source.body;let r=t,s=n,a=!1;if(45===s&&(s=i.charCodeAt(++r)),48===s){if(s=i.charCodeAt(++r),I(s))throw u(e.source,r,`Invalid number, unexpected digit after 0: ${S(e,r)}.`)}else r=L(e,r,s),s=i.charCodeAt(r);if(46===s&&(a=!0,s=i.charCodeAt(++r),r=L(e,r,s),s=i.charCodeAt(r)),69!==s&&101!==s||(a=!0,s=i.charCodeAt(++r),43!==s&&45!==s||(s=i.charCodeAt(++r)),r=L(e,r,s),s=i.charCodeAt(r)),46===s||N(s))throw u(e.source,r,`Invalid number, expected digit but got: ${S(e,r)}.`);return k(e,a?T.FLOAT:T.INT,t,r,i.slice(t,r))}function L(e,t,n){if(!I(n))throw u(e.source,t,`Invalid number, expected digit but got: ${S(e,t)}.`);const i=e.source.body;let r=t+1;for(;I(i.charCodeAt(r));)++r;return r}function P(e,t){const n=e.source.body,i=n.length;let r=t+1,s=r,a="";for(;r<i;){const i=n.charCodeAt(r);if(34===i)return a+=n.slice(s,r),k(e,T.STRING,t,r+1,a);if(92!==i){if(10===i||13===i)break;if(C(i))++r;else{if(!O(n,r))throw u(e.source,r,`Invalid character within String: ${S(e,r)}.`);r+=2}}else{a+=n.slice(s,r);const t=117===n.charCodeAt(r+1)?123===n.charCodeAt(r+2)?M(e,r):U(e,r):V(e,r);a+=t.value,r+=t.size,s=r}}throw u(e.source,r,"Unterminated string.")}function M(e,t){const n=e.source.body;let i=0,r=3;for(;r<12;){const e=n.charCodeAt(t+r++);if(125===e){if(r<5||!C(i))break;return{value:String.fromCodePoint(i),size:r}}if(i=i<<4|B(e),i<0)break}throw u(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}function U(e,t){const n=e.source.body,i=w(n,t+2);if(C(i))return{value:String.fromCodePoint(i),size:6};if(_(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=w(n,t+8);if(x(e))return{value:String.fromCodePoint(i,e),size:12}}throw u(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function w(e,t){return B(e.charCodeAt(t))<<12|B(e.charCodeAt(t+1))<<8|B(e.charCodeAt(t+2))<<4|B(e.charCodeAt(t+3))}function B(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function V(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw u(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function $(e,t){const n=e.source.body,i=n.length;let r=e.lineStart,s=t+3,a=s,o="";const c=[];for(;s<i;){const i=n.charCodeAt(s);if(34===i&&34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)){o+=n.slice(a,s),c.push(o);const i=k(e,T.BLOCK_STRING,t,s+3,A(c).join("\n"));return e.line+=c.length-1,e.lineStart=r,i}if(92!==i||34!==n.charCodeAt(s+1)||34!==n.charCodeAt(s+2)||34!==n.charCodeAt(s+3))if(10!==i&&13!==i)if(C(i))++s;else{if(!O(n,s))throw u(e.source,s,`Invalid character within String: ${S(e,s)}.`);s+=2}else o+=n.slice(a,s),c.push(o),13===i&&10===n.charCodeAt(s+1)?s+=2:++s,o="",a=s,r=s;else o+=n.slice(a,s),a=s+1,s+=4}throw u(e.source,s,"Unterminated string.")}function G(e,t){const n=e.source.body,i=n.length;let r=t+1;for(;r<i&&(g(s=n.charCodeAt(r))||I(s)||95===s);)++r;var s;return k(e,T.NAME,t,r,n.slice(t,r))}function j(e,t){if(!Boolean(e))throw new Error(t)}function K(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:K(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),i=e.length-n,r=[];for(let i=0;i<n;++i)r.push(K(e[i],t));return 1===i?r.push("... 1 more item"):i>1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const i=n.map((([e,n])=>e+": "+K(n,t)));return"{ "+i.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}class Y{constructor(e,t="GraphQL request",n={line:1,column:1}){var i;"string"==typeof e||j(!1,`Body must be a string. Received: ${i=e,K(i,[])}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||j(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||j(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class J{constructor(e,t){const n=function(e){return e instanceof Y}(e)?e:new Y(e);this._lexer=new v(n),this._options=t}parseName(){const e=this.expectToken(T.NAME);return this.node(e,{kind:E.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:E.DOCUMENT,definitions:this.many(T.SOF,this.parseDefinition,T.EOF)})}parseDefinition(){if(this.peek(T.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===T.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw u(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(T.BRACE_L))return this.node(e,{kind:E.OPERATION_DEFINITION,operation:f.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(T.NAME)&&(n=this.parseName()),this.node(e,{kind:E.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(T.NAME);switch(e.value){case"query":return f.QUERY;case"mutation":return f.MUTATION;case"subscription":return f.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(T.PAREN_L,this.parseVariableDefinition,T.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:E.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(T.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(T.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(T.DOLLAR),this.node(e,{kind:E.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:E.SELECTION_SET,selections:this.many(T.BRACE_L,this.parseSelection,T.BRACE_R)})}parseSelection(){return this.peek(T.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,i;return this.expectOptionalToken(T.COLON)?(n=t,i=this.parseName()):i=t,this.node(e,{kind:E.FIELD,alias:n,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(T.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(T.PAREN_L,t,T.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(T.COLON),this.node(t,{kind:E.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(T.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(T.NAME)?this.node(e,{kind:E.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:E.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){var e;const t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacyFragmentVariables)?this.node(t,{kind:E.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:E.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case T.BRACKET_L:return this.parseList(e);case T.BRACE_L:return this.parseObject(e);case T.INT:return this._lexer.advance(),this.node(t,{kind:E.INT,value:t.value});case T.FLOAT:return this._lexer.advance(),this.node(t,{kind:E.FLOAT,value:t.value});case T.STRING:case T.BLOCK_STRING:return this.parseStringLiteral();case T.NAME:switch(this._lexer.advance(),t.value){case"true":return this.node(t,{kind:E.BOOLEAN,value:!0});case"false":return this.node(t,{kind:E.BOOLEAN,value:!1});case"null":return this.node(t,{kind:E.NULL});default:return this.node(t,{kind:E.ENUM,value:t.value})}case T.DOLLAR:if(e){if(this.expectToken(T.DOLLAR),this._lexer.token.kind===T.NAME){const e=this._lexer.token.value;throw u(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this._lexer.advance(),this.node(e,{kind:E.STRING,value:e.value,block:e.kind===T.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:E.LIST,values:this.any(T.BRACKET_L,(()=>this.parseValueLiteral(e)),T.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:E.OBJECT,fields:this.any(T.BRACE_L,(()=>this.parseObjectField(e)),T.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(T.COLON),this.node(t,{kind:E.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(T.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(T.AT),this.node(t,{kind:E.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(T.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(T.BRACKET_R),t=this.node(e,{kind:E.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(T.BANG)?this.node(e,{kind:E.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:E.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(T.STRING)||this.peek(T.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),i=this.many(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);return this.node(e,{kind:E.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(T.COLON);const n=this.parseNamedType();return this.node(e,{kind:E.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:E.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:E.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(T.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseFieldDefinition,T.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(T.COLON);const r=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:E.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:s})}parseArgumentDefs(){return this.optionalMany(T.PAREN_L,this.parseInputValueDef,T.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(T.COLON);const i=this.parseTypeReference();let r;this.expectOptionalToken(T.EQUALS)&&(r=this.parseConstValueLiteral());const s=this.parseConstDirectives();return this.node(e,{kind:E.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:s})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:E.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:E.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(T.EQUALS)?this.delimitedMany(T.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:E.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r})}parseEnumValuesDefinition(){return this.optionalMany(T.BRACE_L,this.parseEnumValueDefinition,T.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:E.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw u(this._lexer.source,this._lexer.token.start,`${q(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:E.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseInputValueDef,T.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===T.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:E.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:E.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:E.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:E.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:E.UNION_TYPE_EXTENSION,name:t,directives:n,types:i})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:E.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:E.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(T.AT);const n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const s=this.parseDirectiveLocations();return this.node(e,{kind:E.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:s})}parseDirectiveLocations(){return this.delimitedMany(T.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(m,t.value))return t;throw this.unexpected(e)}node(e,t){var n;return!0!==(null===(n=this._options)||void 0===n?void 0:n.noLocation)&&(t.loc=new p(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw u(this._lexer.source,t.start,`Expected ${Q(e)}, found ${q(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this._lexer.advance(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==T.NAME||t.value!==e)throw u(this._lexer.source,t.start,`Expected "${e}", found ${q(t)}.`);this._lexer.advance()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===T.NAME&&t.value===e&&(this._lexer.advance(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return u(this._lexer.source,t.start,`Unexpected ${q(t)}.`)}any(e,t,n){this.expectToken(e);const i=[];for(;!this.expectOptionalToken(n);)i.push(t.call(this));return i}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}}function q(e){const t=e.value;return Q(e.kind)+(null!=t?` "${t}"`:"")}function Q(e){return function(e){return e===T.BANG||e===T.DOLLAR||e===T.AMP||e===T.PAREN_L||e===T.PAREN_R||e===T.SPREAD||e===T.COLON||e===T.EQUALS||e===T.AT||e===T.BRACKET_L||e===T.BRACKET_R||e===T.BRACE_L||e===T.PIPE||e===T.BRACE_R}(e)?`"${e}"`:e}var X=new Map,z=new Map,H=!0,W=!1;function Z(e){return e.replace(/[\s,]+/g," ").trim()}function ee(e){var t,n,r,s=Z(e);if(!X.has(s)){var a=function(e,t){return new J(e,t).parseDocument()}(e,{experimentalFragmentVariables:W,allowLegacyFragmentVariables:W});if(!a||"Document"!==a.kind)throw new Error("Not a valid GraphQL document.");X.set(s,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var i=e[n];i&&"object"==typeof i&&t.add(i)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}((t=a,n=new Set,r=[],t.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var t=e.name.value,i=Z((a=e.loc).source.body.substring(a.start,a.end)),s=z.get(t);s&&!s.has(i)?H&&console.warn("Warning: fragment with name "+t+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):s||z.set(t,s=new Set),s.add(i),n.has(i)||(n.add(i),r.push(e))}else r.push(e);var a})),i(i({},t),{definitions:r}))))}return X.get(s)}function te(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var i=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?i+=t.loc.source.body:i+=t,i+=e[n+1]})),ee(i)}function ne(){X.clear(),z.clear()}function ie(){H=!1}function re(){W=!0}function se(){W=!1}var ae,oe=te,ce=ne,de=ie,le=re,ue=se;(ae=te||(te={})).gql=oe,ae.resetCaches=ce,ae.disableFragmentWarnings=de,ae.enableExperimentalFragmentVariables=le,ae.disableExperimentalFragmentVariables=ue,te.default=te;const pe=te},607:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateTransferInitiated=t.UpdateExportData=t.StartUpload=t.MarkUploadAsCompleted=t.GetSeries=t.GetOriginalPath=t.GetFileCheckProgressSummary=t.GetFileCheckProgress=t.GetConsignmentType=t.GetConsignmentSummary=t.GetConsignmentStatus=t.GetConsignmentReference=t.GetConsignmentFolderDetails=t.GetConsignmentFiles=t.GetConsignmentForExport=t.GetConsignment=t.GetClosureMetadata=t.AddTransferAgreementPrivateBeta=t.AddTransferAgreementCompliance=t.AddFinalTransferConfirmation=t.AddFinalJudgmentTransferConfirmation=t.AddFilesAndMetadata=t.AddFileMetadata=t.AddFfidMetadata=t.AddConsignment=t.AddAntivirusMetadata=t.PropertyType=t.DataType=void 0;const r=i(n(333));var s,a;(a=t.DataType||(t.DataType={})).DateTime="DateTime",a.Decimal="Decimal",a.Integer="Integer",a.Text="Text",(s=t.PropertyType||(t.PropertyType={})).Defined="Defined",s.Supplied="Supplied",s.System="System",t.AddAntivirusMetadata=r.default`
|
|
2
2
|
mutation addAntivirusMetadata($input: AddAntivirusMetadataInput!) {
|
|
3
3
|
addAntivirusMetadata(addAntivirusMetadataInput: $input) {
|
|
4
4
|
fileId
|
|
@@ -9,34 +9,34 @@
|
|
|
9
9
|
datetime
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
`,
|
|
12
|
+
`,t.AddConsignment=r.default`
|
|
13
13
|
mutation addConsignment($addConsignmentInput: AddConsignmentInput!) {
|
|
14
14
|
addConsignment(addConsignmentInput: $addConsignmentInput) {
|
|
15
15
|
consignmentid
|
|
16
16
|
seriesid
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`,t.AddFfidMetadata=r.default`
|
|
20
20
|
mutation addFFIDMetadata($addFFIDMetadataInput: FFIDMetadataInput!) {
|
|
21
21
|
addFFIDMetadata(addFFIDMetadataInput: $addFFIDMetadataInput) {
|
|
22
22
|
fileId
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,t.AddFileMetadata=r.default`
|
|
26
26
|
mutation addFileMetadata($addFileMetadataInput: AddFileMetadataInput!) {
|
|
27
27
|
addFileMetadata(addFileMetadataInput: $addFileMetadataInput) {
|
|
28
28
|
fileId
|
|
29
29
|
value
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,t.AddFilesAndMetadata=r.default`
|
|
33
33
|
mutation addFilesAndMetadata($input: AddFileAndMetadataInput!) {
|
|
34
34
|
addFilesAndMetadata(addFilesAndMetadataInput: $input) {
|
|
35
35
|
fileId
|
|
36
36
|
matchId
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
39
|
+
`,t.AddFinalJudgmentTransferConfirmation=r.default`
|
|
40
40
|
mutation addFinalJudgmentTransferConfirmation($input: AddFinalJudgmentTransferConfirmationInput!) {
|
|
41
41
|
addFinalJudgmentTransferConfirmation(
|
|
42
42
|
addFinalJudgmentTransferConfirmationInput: $input
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
legalCustodyTransferConfirmed
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
`,
|
|
48
|
+
`,t.AddFinalTransferConfirmation=r.default`
|
|
49
49
|
mutation addFinalTransferConfirmation($input: AddFinalTransferConfirmationInput!) {
|
|
50
50
|
addFinalTransferConfirmation(addFinalTransferConfirmationInput: $input) {
|
|
51
51
|
consignmentId
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
legalCustodyTransferConfirmed
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
`,
|
|
56
|
+
`,t.AddTransferAgreementCompliance=r.default`
|
|
57
57
|
mutation addTransferAgreementCompliance($input: AddTransferAgreementComplianceInput!) {
|
|
58
58
|
addTransferAgreementCompliance(addTransferAgreementComplianceInput: $input) {
|
|
59
59
|
consignmentId
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
initialOpenRecords
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
65
|
+
`,t.AddTransferAgreementPrivateBeta=r.default`
|
|
66
66
|
mutation addTransferAgreementPrivateBeta($input: AddTransferAgreementPrivateBetaInput!) {
|
|
67
67
|
addTransferAgreementPrivateBeta(addTransferAgreementPrivateBetaInput: $input) {
|
|
68
68
|
consignmentId
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
allEnglish
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
`,
|
|
74
|
+
`,t.GetClosureMetadata=r.default`
|
|
75
75
|
query getClosureMetadata($consignmentId: UUID!) {
|
|
76
76
|
getClosureMetadata(consignmentid: $consignmentId) {
|
|
77
77
|
name
|
|
@@ -99,14 +99,14 @@
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
`,
|
|
102
|
+
`,t.GetConsignment=r.default`
|
|
103
103
|
query getConsignment($consignmentId: UUID!) {
|
|
104
104
|
getConsignment(consignmentid: $consignmentId) {
|
|
105
105
|
userid
|
|
106
106
|
seriesid
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
`,
|
|
109
|
+
`,t.GetConsignmentForExport=r.default`
|
|
110
110
|
query getConsignmentForExport($consignmentId: UUID!) {
|
|
111
111
|
getConsignment(consignmentid: $consignmentId) {
|
|
112
112
|
userid
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
`,
|
|
158
|
+
`,t.GetConsignmentFiles=r.default`
|
|
159
159
|
query getConsignmentFiles($consignmentId: UUID!) {
|
|
160
160
|
getConsignment(consignmentid: $consignmentId) {
|
|
161
161
|
files {
|
|
@@ -165,20 +165,20 @@
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
168
|
+
`,t.GetConsignmentFolderDetails=r.default`
|
|
169
169
|
query getConsignmentFolderDetails($consignmentId: UUID!) {
|
|
170
170
|
getConsignment(consignmentid: $consignmentId) {
|
|
171
171
|
totalFiles
|
|
172
172
|
parentFolder
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
`,
|
|
175
|
+
`,t.GetConsignmentReference=r.default`
|
|
176
176
|
query getConsignmentReference($consignmentId: UUID!) {
|
|
177
177
|
getConsignment(consignmentid: $consignmentId) {
|
|
178
178
|
consignmentReference
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
`,
|
|
181
|
+
`,t.GetConsignmentStatus=r.default`
|
|
182
182
|
query getConsignmentStatus($consignmentId: UUID!) {
|
|
183
183
|
getConsignment(consignmentid: $consignmentId) {
|
|
184
184
|
currentStatus {
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
`,
|
|
191
|
+
`,t.GetConsignmentSummary=r.default`
|
|
192
192
|
query getConsignmentSummary($consignmentId: UUID!) {
|
|
193
193
|
getConsignment(consignmentid: $consignmentId) {
|
|
194
194
|
series {
|
|
@@ -201,13 +201,13 @@
|
|
|
201
201
|
consignmentReference
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
`,
|
|
204
|
+
`,t.GetConsignmentType=r.default`
|
|
205
205
|
query getConsignmentType($consignmentId: UUID!) {
|
|
206
206
|
getConsignment(consignmentid: $consignmentId) {
|
|
207
207
|
consignmentType
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
`,
|
|
210
|
+
`,t.GetFileCheckProgress=r.default`
|
|
211
211
|
query getFileCheckProgress($consignmentId: UUID!) {
|
|
212
212
|
getConsignment(consignmentid: $consignmentId) {
|
|
213
213
|
allChecksSucceeded
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
`,
|
|
232
|
+
`,t.GetFileCheckProgressSummary=r.default`
|
|
233
233
|
query getFileCheckProgressSummary($consignmentId: UUID!) {
|
|
234
234
|
getConsignment(consignmentid: $consignmentId) {
|
|
235
235
|
totalFiles
|
|
@@ -246,13 +246,13 @@
|
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
|
-
`,
|
|
249
|
+
`,t.GetOriginalPath=r.default`
|
|
250
250
|
query getOriginalPath($fileId: UUID!) {
|
|
251
251
|
getClientFileMetadata(fileId: $fileId) {
|
|
252
252
|
originalPath
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
`,
|
|
255
|
+
`,t.GetSeries=r.default`
|
|
256
256
|
query getSeries($body: String!) {
|
|
257
257
|
getSeries(body: $body) {
|
|
258
258
|
seriesid
|
|
@@ -262,20 +262,20 @@
|
|
|
262
262
|
description
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
`,
|
|
265
|
+
`,t.MarkUploadAsCompleted=r.default`
|
|
266
266
|
mutation markUploadAsCompleted($consignmentId: UUID!) {
|
|
267
267
|
markUploadAsCompleted(consignmentid: $consignmentId)
|
|
268
268
|
}
|
|
269
|
-
`,
|
|
269
|
+
`,t.StartUpload=r.default`
|
|
270
270
|
mutation startUpload($input: StartUploadInput!) {
|
|
271
271
|
startUpload(startUploadInput: $input)
|
|
272
272
|
}
|
|
273
|
-
`,
|
|
273
|
+
`,t.UpdateExportData=r.default`
|
|
274
274
|
mutation updateExportData($updateExportDataInput: UpdateExportDataInput!) {
|
|
275
275
|
updateExportData(exportData: $updateExportDataInput)
|
|
276
276
|
}
|
|
277
|
-
`,
|
|
277
|
+
`,t.UpdateTransferInitiated=r.default`
|
|
278
278
|
mutation updateTransferInitiated($consignmentId: UUID!) {
|
|
279
279
|
updateTransferInitiated(consignmentid: $consignmentId)
|
|
280
280
|
}
|
|
281
|
-
|
|
281
|
+
`}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var s=t[i]={exports:{}};return e[i].call(s.exports,s,s.exports,n),s.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i=n(607);module.exports=i})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nationalarchives/tdr-generated-graphql",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.201",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"homepage": "https://github.com/nationalarchives/tdr-generated-graphql#readme",
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@graphql-codegen/introspection": "^2.1.1",
|
|
28
|
-
"@graphql-codegen/typescript": "^2.4.
|
|
28
|
+
"@graphql-codegen/typescript": "^2.4.8",
|
|
29
29
|
"@graphql-codegen/typescript-document-nodes": "^2.2.8",
|
|
30
30
|
"@graphql-codegen/typescript-graphql-files-modules": "^2.1.1",
|
|
31
31
|
"@graphql-codegen/typescript-operations": "^2.3.5",
|