diff --git a/.github/workflows/deploy-yoga.yml b/.github/workflows/deploy-yoga.yml index e53fd33..ec1edc7 100644 --- a/.github/workflows/deploy-yoga.yml +++ b/.github/workflows/deploy-yoga.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Upload to Deno Deploy uses: denoland/deployctl@v1 diff --git a/.github/workflows/jsr.yml b/.github/workflows/jsr.yml new file mode 100644 index 0000000..ad5781d --- /dev/null +++ b/.github/workflows/jsr.yml @@ -0,0 +1,19 @@ +name: Publish +on: + push: + branches: + - main + +jobs: + publish: + runs-on: ubuntu-latest + + permissions: + contents: read + id-token: write + + steps: + - uses: actions/checkout@v4 + + - name: Publish package + run: npx jsr publish diff --git a/.vscode/settings.json b/.vscode/settings.json index 6f4f84f..c8dc233 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ { "deno.enable": true, "deno.lint": true, - "editor.defaultFormatter": "denoland.vscode-deno" + "editor.defaultFormatter": "denoland.vscode-deno", + "[typescript]": { + "editor.defaultFormatter": "denoland.vscode-deno" + } } diff --git a/README.md b/README.md index b0e7806..aa6b039 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# fresh_graphql +# fresh-graphql GraphQL development for Deno Fresh. @@ -7,7 +7,7 @@ GraphQL development for Deno Fresh. 1. [`graphql-yoga`](https://fresh-graphql-yoga.deno.dev/graphql) 1. `apollo-server` (soon™) -## Why `fresh_graphql`? +## Why `fresh-graphql`? 1. Familiar developer experience with `fresh` projects. 1. `deno deploy` has no dynamic imports. @@ -15,56 +15,31 @@ GraphQL development for Deno Fresh. ## Installation -`fresh_graphql` hooks into the `dev.ts` lifecycle of fresh, -[create a fresh project](https://fresh.deno.dev/docs/getting-started/create-a-project) -if you haven't done so. +```bash +# deno +deno add @vicary/fresh-graphql -You need to patch 3 files from an existing fresh project: +# npm +npx jsr add @vicary/fresh-graphql -### 1. `import_map.json` +# yarn +yarn dlx jsr add @vicary/fresh-graphql -Versions are removed for clarity, should be compatible with `fresh@^1.1.1`. - -```diff -{ - "imports": { - "$fresh/": "https://deno.land/x/fresh/", -+ "$fresh_graphql/": "https://deno.land/x/fresh_graphql/", - - "preact": "https://esm.sh/preact", - "preact/": "https://esm.sh/preact/", - - "preact-render-to-string": "https://esm.sh/*preact-render-to-string", - - "twind": "https://esm.sh/twind", - "twind/": "https://esm.sh/twind/" - } -} -``` - -### 2. `deno.json` - -```diff -{ - "tasks": { -- "start": "deno run -A --watch=static/,routes/ dev.ts" -+ "start": "deno run -A --watch=static/,routes/,graphql/ dev.ts" - } -} +# pnpm +pnpm dlx jsr add @vicary/fresh-graphql ``` -### 3. `dev.ts` +1. [Create a fresh project](https://fresh.deno.dev/docs/getting-started/create-a-project) + or checkout your existing Fresh project. +1. Add the following lines to your `dev.ts`: ```diff -- #!/usr/bin/env -S deno run -A --watch=static/,routes/ -+ #!/usr/bin/env -S deno run -A --watch=static/,routes/,graphql/ - import "https://deno.land/x/dotenv/load.ts"; import dev from "$fresh/dev.ts"; -+ import { dev as graphqlDev } from "$fresh_graphql/mod.ts"; ++ import { dev as graphql } from "@vicary/fresh-graphql"; -+ await graphqlDev(import.meta.url); ++ await graphql(import.meta.url); await dev(import.meta.url, "./main.ts"); ``` @@ -80,10 +55,11 @@ convension. import type { HandlerContext } from "$fresh/server.ts"; import { createServer } from "@graphql-yoga/common"; -import { fromManifest } from "$fresh_graphql/schema.ts"; -import manifest from "../fresh_graphql.gen.ts"; +import { fromManifest } from "@vicary/fresh-graphql"; +import manifest from "../graphql.gen.ts"; const yoga = createServer({ + graphiql: Deno.env.has("FRSH_GQL_DEV"), // Enable GraphiQL in development logging: true, maskedErrors: false, schema: fromManifest(manifest), @@ -94,11 +70,6 @@ export const handler = async (req: Request, ctx: HandlerContext) => { }; ``` -1. `@graphql-yoga/common` is chosen for it's simplicity, you may use any GraphQL - serveres compatible with `@graphql-tools/schema`. -1. `fresh_graphql.gen.ts` This is the manifest file generated whenever you make - changes to source codes in the `./graphql` directory. - ### Queries and Mutations ```ts @@ -161,6 +132,13 @@ export const resolver = async function* (_, { from }) { }; ``` +### Side notes + +1. `@graphql-yoga/common` is chosen for it's simplicity, you may use any GraphQL + serveres compatible with `@graphql-tools/schema`. +1. `graphql.gen.ts` This is the manifest file generated whenever you make + changes to source codes in the `./graphql` directory. + ## Sponsorship If you think I did a good job or want to see a feature happening, diff --git a/deno.json b/deno.json index e2d1f96..cb31e40 100644 --- a/deno.json +++ b/deno.json @@ -1,11 +1,6 @@ { - "tasks": { - "deploy:yoga": "deployctl deploy --project=fresh-graphql-yoga examples/graphql-yoga/main.ts", - "start:yoga": "deno run -A --watch=static/,routes/,graphql/ examples/graphql-yoga/dev.ts" - }, - "importMap": "./import_map.json", - "compilerOptions": { - "jsx": "react-jsx", - "jsxImportSource": "preact" - } + "name": "@vicary/fresh-graphql", + "version": "0.1.0", + "exports": "./mod.ts", + "lock": false } diff --git a/deps.ts b/deps.ts index b9dddd1..a0a9977 100644 --- a/deps.ts +++ b/deps.ts @@ -1,45 +1,42 @@ -export { ensureMinDenoVersion } from "$fresh/src/dev/mod.ts"; -export { ensureDir, walk } from "https://deno.land/std@0.159.0/fs/mod.ts"; +export { assert } from "jsr:@std/assert@^0.219.1"; +export { ensureDir, walk } from "jsr:@std/fs@^0.219.1"; export { dirname, fromFileUrl, join, parse as parsePath, toFileUrl, -} from "https://deno.land/std@0.159.0/path/mod.ts"; -export { assert } from "https://deno.land/std@0.159.0/testing/asserts.ts"; -export { makeExecutableSchema } from "https://esm.sh/@graphql-tools/schema@9.0.9?external=graphql"; -export type { IExecutableSchemaDefinition } from "https://esm.sh/@graphql-tools/schema@9.0.9?external=graphql"; +} from "jsr:@std/path@^0.219.1"; export { + type IExecutableSchemaDefinition, + makeExecutableSchema, +} from "npm:@graphql-tools/schema@^10.0.3"; +export { + type ArgumentMapper, + type EnumTypeMapper, + type EnumValueMapper, + type FieldMapper, + type GenericFieldMapper, getDirective, + type IFieldResolver, + type InputFieldMapper, + type InputObjectTypeMapper, + type InterfaceTypeMapper, + type IResolvers, MapperKind, mapSchema, -} from "https://esm.sh/@graphql-tools/utils@9.1.0?external=graphql"; -export type { - ArgumentMapper, - EnumTypeMapper, - EnumValueMapper, - FieldMapper, - GenericFieldMapper, - IFieldResolver, - InputFieldMapper, - InputObjectTypeMapper, - InterfaceTypeMapper, - IResolvers, - ObjectTypeMapper, - ScalarTypeMapper, - SchemaMapper, - UnionTypeMapper, -} from "https://esm.sh/@graphql-tools/utils@9.1.0?external=graphql"; + type ObjectTypeMapper, + type ScalarTypeMapper, + type SchemaMapper, + type UnionTypeMapper, +} from "npm:@graphql-tools/utils@^10.1.0"; export { defaultFieldResolver, + type DirectiveDefinitionNode, + type GraphQLFieldConfig, + type GraphQLFieldResolver, + type GraphQLInputFieldConfig, + type GraphQLScalarType, + type GraphQLSchema, parse as parseGraphQL, -} from "https://esm.sh/graphql@16.6.0"; -export type { - DirectiveDefinitionNode, - GraphQLFieldConfig, - GraphQLFieldResolver, - GraphQLInputFieldConfig, - GraphQLScalarType, - GraphQLSchema, -} from "https://esm.sh/graphql@16.6.0"; +} from "npm:graphql@^16.8.0"; diff --git a/dev.ts b/dev.ts index b254236..162c1b0 100644 --- a/dev.ts +++ b/dev.ts @@ -3,7 +3,6 @@ import { dirname, ensureDir, - ensureMinDenoVersion, fromFileUrl, join, parsePath, @@ -42,9 +41,7 @@ export async function collect(directory: string): Promise { }) ) { if (entry.isFile) { - modules.push( - toFileUrl(entry.path).href.substring(baseUrl.length), - ); + modules.push(toFileUrl(entry.path).href.substring(baseUrl.length)); } } } catch (err) { @@ -58,29 +55,31 @@ export async function collect(directory: string): Promise { } export async function generate(entrypoint: string, { modules }: Manifest) { - const output = /* TypeScript */ `// DO NOT EDIT. -// This file is generated and updated by fresh_graphql during development. + const output = `// DO NOT EDIT. +// This file is generated and updated by fresh-graphql during development. // This file should be checked into source control. ${ - modules.map((file, i) => `import * as $${i} from "./graphql${file}";`) + modules + .map((file, i) => `import * as $${i} from "./graphql${file}";`) .join("\n") } const manifest = { modules: { ${ - modules.map((file, i) => { - const { dir, name } = parsePath(file); - const key: string = [ + modules + .map((file, i) => { + const { dir, name } = parsePath(file); // Remove leading slash - dir.slice(1), - name, - ].map((v) => v.trim()).filter(Boolean) - .join("."); + const key: string = [dir.slice(1), name] + .map((v) => v.trim()) + .filter(Boolean) + .join("."); - return `"${key}": $${i}`; - }).join(",\n ") + return `"${key}": $${i}`; + }) + .join(",\n ") } }, baseUrl: import.meta.url, @@ -89,28 +88,33 @@ const manifest = { export default manifest; `; - const procFmt = Deno.run({ - cmd: [Deno.execPath(), "fmt", "-"], - stdin: "piped", - stdout: "piped", - stderr: "null", - }); + const procFmt = new Deno.Command( + Deno.execPath(), + { + args: ["fmt", "-"], + stdin: "piped", + stdout: "piped", + stderr: "null", + }, + ).spawn(); await ensureDir(dirname(entrypoint)); - const file = await Deno.create(entrypoint); + await Promise.all([ + (async (): Promise => { + const writer = procFmt.stdin.getWriter(); + await writer.ready; - await new ReadableStream({ - start(controller) { - controller.enqueue(new TextEncoder().encode(output)); - controller.close(); - }, - }).pipeTo(procFmt.stdin.writable); + writer.write(new TextEncoder().encode(output)); + await writer.close(); + })(), + (async (): Promise => { + const file = await Deno.create(entrypoint); + await procFmt.stdout.pipeTo(file.writable); + })(), + ]); - await procFmt.stdout.readable.pipeTo(file.writable); - await procFmt.status(); - - procFmt.close(); + await procFmt.status; console.log( `%cGraphQL schema has been generated for ${modules.length} resolvers.`, @@ -118,24 +122,27 @@ export default manifest; ); } -export async function dev(base: string, { - entrypoint = `./fresh_graphql.gen.ts`, -}: DevOptions = {}) { - ensureMinDenoVersion(); +export async function dev( + base: string, + { entrypoint = `./graphql.gen.ts` }: DevOptions = {}, +) { + // ensureMinDenoVersion(); + + Deno.env.set("FRSH_GQL_DEV", "1"); entrypoint = new URL(entrypoint, base).href; const dir = dirname(fromFileUrl(base)); let currentManifest: Manifest; - const prevManifest = Deno.env.get("FRSH_FQL_DEV_PREVIOUS_MANIFEST"); + const prevManifest = Deno.env.get("FRSH_FQL_DEV_MANIFEST"); if (prevManifest) { currentManifest = JSON.parse(prevManifest); } else { currentManifest = { modules: [] }; } const newManifest = await collect(dir); - Deno.env.set("FRSH_FQL_DEV_PREVIOUS_MANIFEST", JSON.stringify(newManifest)); + Deno.env.set("FRSH_FQL_DEV_MANIFEST", JSON.stringify(newManifest)); const manifestChanged = !arraysEqual( currentManifest.modules, diff --git a/examples/graphql-yoga/_fresh/chunk-REY47OEU.js b/examples/graphql-yoga/_fresh/chunk-REY47OEU.js new file mode 100644 index 0000000..4ecbeb8 --- /dev/null +++ b/examples/graphql-yoga/_fresh/chunk-REY47OEU.js @@ -0,0 +1 @@ +var F,a,J,tn,x,V,K,H,_n,w={},Q=[],on=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,$=Array.isArray;function C(n,e){for(var t in e)n[t]=e[t];return n}function X(n){var e=n.parentNode;e&&e.removeChild(n)}function ln(n,e,t){var l,o,r,s={};for(r in e)r=="key"?l=e[r]:r=="ref"?o=e[r]:s[r]=e[r];if(arguments.length>2&&(s.children=arguments.length>3?F.call(arguments,2):t),typeof n=="function"&&n.defaultProps!=null)for(r in n.defaultProps)s[r]===void 0&&(s[r]=n.defaultProps[r]);return W(n,s,l,o,null)}function W(n,e,t,l,o){var r={type:n,props:e,key:t,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++J,__i:-1,__u:0};return o==null&&a.vnode!=null&&a.vnode(r),r}function N(n){return n.children}function M(n,e){this.props=n,this.context=e}function P(n,e){if(e==null)return n.__?P(n.__,n.__i+1):null;for(var t;ee&&x.sort(H));L.__r=0}function Z(n,e,t,l,o,r,s,f,c,u,p){var _,m,i,h,k,v=l&&l.__k||Q,d=e.length;for(t.__d=c,rn(t,e,v),c=t.__d,_=0;_0?W(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=n,o.__b=n.__b+1,f=un(o,t,s=l+_,p),o.__i=f,r=null,f!==-1&&(p--,(r=t[f])&&(r.__u|=131072)),r==null||r.__v===null?(f==-1&&_--,typeof o.type!="function"&&(o.__u|=65536)):f!==s&&(f===s+1?_++:f>s?p>c-s?_+=f-s:_--:_=f(c!=null&&!(131072&c.__u)?1:0))for(;s>=0||f=0){if((c=e[s])&&!(131072&c.__u)&&o==c.key&&r===c.type)return s;s--}if(f"u"&&(window.globalThis=window);var Y="e763f7b1a0171f8501466da2de7f8bdc4aa2b77c";var j="/_frsh",z="__frsh_c";function G(e){if(!e.startsWith("/")||e.startsWith("//"))return e;try{let t=new URL(e,"https://freshassetcache.local");return t.protocol!=="https:"||t.host!=="freshassetcache.local"||t.searchParams.has(z)?e:(t.searchParams.set(z,Y),t.pathname+t.search+t.hash)}catch(t){return console.warn(`Failed to create asset() URL, falling back to regular path ('${e}'):`,t),e}}function de(e){if(e.includes("("))return e;let t=e.split(","),r=[];for(let n of t){let o=n.trimStart(),a=n.length-o.length;if(o==="")return e;let s=o.indexOf(" ");s===-1&&(s=o.length);let l=n.substring(0,a),i=o.substring(0,s),d=o.substring(s);r.push(l+G(i)+d)}return r.join(",")}function J(e){if(e.type==="img"||e.type==="source"){let{props:t}=e;if(t["data-fresh-disable-lock"])return;typeof t.src=="string"&&(t.src=G(t.src)),typeof t.srcset=="string"&&(t.srcset=de(t.srcset))}}var k="fresh-partial",L="f-partial",w="f-loading",P="f-client-nav",W="data-fresh-key",E="data-current",x="data-ancestor";function K(e,t){let r=new URL(t,"http://localhost").pathname;return r!=="/"&&r.endsWith("/")&&(r=r.slice(0,-1)),e!=="/"&&e.endsWith("/")&&(e=e.slice(0,-1)),e===r?2:e.startsWith(r+"/")||r==="/"?1:0}function Q(e,t){let r=e.props,n=r.href;if(typeof n=="string"&&n.startsWith("/")){let o=K(t,n);o===2?(r[E]="true",r["aria-current"]="page"):o===1&&(r[x]="true",r["aria-current"]="true")}}function ce(e,t,r){return e.__k={_frshRootFrag:!0,nodeType:1,parentNode:e,nextSibling:null,get firstChild(){let n=t.nextSibling;return n===r?null:n},get childNodes(){let n=[],o=t.nextSibling;for(;o!==null&&o!==r;)n.push(o),o=o.nextSibling;return n},insertBefore(n,o){e.insertBefore(n,o??r)},appendChild(n){e.insertBefore(n,r)},removeChild(n){e.removeChild(n)}}}function ne(e){return e.nodeType===Node.COMMENT_NODE}function ue(e){return e.nodeType===Node.TEXT_NODE}function re(e){return e.nodeType===Node.ELEMENT_NODE&&!("_frshRootFrag"in e)}function Ie(e,t){let r=[];U(e,t,[],[R(_,null)],document.body,r);for(let n=0;n{X(o,a)};"scheduler"in window?scheduler.postTask(s):setTimeout(s,0)}}function oe(e){return e.children}oe.displayName="PreactServerComponent";function H(e,t){let r=e.props;r.children==null?r.children=t:Array.isArray(r.children)?r.children.push(t):r.children=[r.children,t]}var v=class extends ${componentDidMount(){se.set(this.props.name,this)}render(){return this.props.children}};var Z=!1,se=new Map;function q(e){let{startNode:t,endNode:r}=e,n=r.parentNode;if(!Z&&t!==null&&t.nodeType===Node.COMMENT_NODE){let o=new Text("");e.startNode=o,n.insertBefore(o,t),t.remove()}if(!Z&&r!==null&&r.nodeType===Node.COMMENT_NODE){let o=new Text("");e.endNode=o,n.insertBefore(o,r),r.remove()}}function ee(e,t,r,n,o,a){let[s,l]=o.slice(6).split(":"),i=`#frsh-slot-${s}-${l}-children`,d=document.querySelector(i);if(d!==null){r.push({kind:1,endNode:null,startNode:null,text:o.slice(1)});let c=d.content.cloneNode(!0);U(e,t,r,n,c,a),r.pop()}}function U(e,t,r,n,o,a){let s=o;for(;s!==null;){let l=r.length>0?r[r.length-1]:null;if(ne(s)){let i=s.data;if(i.startsWith("!--")&&(i=i.slice(3,-2)),i.startsWith("frsh-slot"))r.push({startNode:s,text:i,endNode:null,kind:1}),n.push(R(oe,{id:i}));else if(i.startsWith("frsh-partial")){let[d,c,p,N]=i.split(":");r.push({startNode:s,text:c,endNode:null,kind:2}),n.push(R(v,{name:c,key:N,mode:+p}))}else if(i.startsWith("frsh-key:")){let d=i.slice(9);n.push(R(_,{key:d}))}else if(i.startsWith("/frsh-key:")){let d=n.pop(),c=n[n.length-1];H(c,d),s=s.nextSibling;continue}else if(l!==null&&(i.startsWith("/frsh")||l.text===i)){if(l.endNode=s,r.pop(),l.kind===1){let d=n.pop(),c=n[n.length-1];c.props.children=d,q(l),s=l.endNode.nextSibling;continue}else if(l!==null&&(l.kind===0||l.kind===2))if(r.length===0){let d=n[n.length-1];d.props.children==null&&ee(e,t,r,n,i,a),n.pop();let c=s.parentNode;q(l);let p=ce(c,l.startNode,l.endNode);a.push({vnode:d,marker:l,rootFragment:p}),s=l.endNode.nextSibling;continue}else{let d=n[n.length-1];d&&d.props.children==null?(ee(e,t,r,n,i,a),d.props.children==null&&n.pop()):n.pop(),l.endNode=s,q(l);let c=n[n.length-1];H(c,d),s=l.endNode.nextSibling;continue}}else if(i.startsWith("frsh")){let[d,c,p]=i.slice(5).split(":"),N=t[Number(c)];r.push({startNode:s,endNode:null,text:i,kind:0});let g=R(e[d],N);p&&(g.key=p),n.push(g)}}else if(ue(s)){let i=n[n.length-1];l!==null&&(l.kind===1||l.kind===2)&&H(i,s.data)}else{let i=n[n.length-1];if(re(s))if(l!==null&&(l.kind===1||l.kind===2)){let c={children:s.childNodes.length<=1?null:[]},p=!1;for(let g=0;g{let r=K(e.pathname,t.href);r===2?(t.setAttribute(E,"true"),t.setAttribute("aria-current","page"),t.removeAttribute(x)):r===1?(t.setAttribute(x,"true"),t.setAttribute("aria-current","true"),t.removeAttribute(E)):(t.removeAttribute(E),t.removeAttribute(x),t.removeAttribute("aria-current"))})}function le(e,t,r,n){let o=null,a=n.firstChild,s=0;for(;a!==null;){if(ne(a)){let l=a.data;if(l.startsWith("frsh-partial"))o=a,s++;else if(l.startsWith("/frsh-partial")){s--;let i={_frshRootFrag:!0,nodeType:1,nextSibling:null,firstChild:o,parentNode:n,get childNodes(){let d=[o],c=o;for(;(c=c.nextSibling)!==null;)d.push(c);return d}};U(t,r[0]??[],[],[R(_,null)],i,e)}}else s===0&&re(a)&&le(e,t,r,a);a=a.nextSibling}}var D=class extends Error{};async function he(e){let t=e.headers.get("Content-Type"),r=e.headers.get("X-Fresh-UUID");if(t!=="text/html; charset=utf-8")throw new Error(fe);let n=await e.text(),o=new DOMParser().parseFromString(n,"text/html"),a=[],s={},l=o.getElementById(`__FRSH_PARTIAL_DATA_${r}`),i=null;l!==null&&(i=JSON.parse(l.textContent),a.push(...Array.from(Object.entries(i.islands)).map(async f=>{let h=await import(`${f[1].url}`);s[f[0]]=h[f[1].export]})));let d=o.getElementById(`__FRSH_STATE_${r}`)?.textContent,c=[[],[]],p;i!==null&&i.signals!==null&&a.push(import(i.signals).then(f=>{p=f.signal}));let N;d&&i&&i.deserializer!==null&&a.push(import(i.deserializer).then(f=>N=f.deserialize)),await Promise.all(a),d&&(c=N?N(d,p):JSON.parse(d)?.v);let g=[];if(le(g,s,c,o.body),g.length===0)throw new D(`Found no partials in HTML response. Please make sure to render at least one partial. Requested url: ${e.url}`);o.title&&(document.title=o.title),Array.from(o.head.childNodes).forEach(f=>{let h=f;if(h.nodeName!=="TITLE"){if(h.nodeName==="META"){let u=h;if(u.hasAttribute("charset"))return;let y=u.name;if(y!==""){let T=document.head.querySelector(`meta[name="${y}"]`);T!==null?T.content!==u.content&&(T.content=u.content):document.head.appendChild(u)}else{let T=h.getAttribute("property"),m=document.head.querySelector(`meta[property="${T}"]`);m!==null?m.content!==u.content&&(m.content=u.content):document.head.appendChild(u)}}else if(h.nodeName==="LINK"){let u=h;if(u.rel==="modulepreload")return;u.rel==="stylesheet"&&Array.from(document.head.querySelectorAll("link")).find(T=>T.href===u.href)===void 0&&document.head.appendChild(u)}else if(h.nodeName==="SCRIPT"){if(h.src===`${j}/refresh.js`)return}else if(h.nodeName==="STYLE"){let u=h;u.id===""&&document.head.appendChild(u)}}});for(let f=0;f{J(e),e.type==="a"&&Q(e,location.pathname),te&&te(e)};function M(e){if(e===null)return document.querySelector(`[${P}="true"]`)!==null;let t=e.closest(`[${P}]`);return t===null?!1:t.getAttribute(P)==="true"}var I=history.state?.index||0;if(!history.state){let e={index:I,scrollX,scrollY};history.replaceState(e,document.title)}function ae(e){if(e.href!==globalThis.location.href){let t={index:I,scrollX:globalThis.scrollX,scrollY:globalThis.scrollY};history.replaceState({...t},"",location.href),I++,t.scrollX=0,t.scrollY=0,history.pushState(t,"",e.href)}}document.addEventListener("click",async e=>{let t=e.target;if(t&&t instanceof HTMLElement){let r=t;if(t.nodeName!=="A"&&(t=t.closest("a")),t&&t instanceof HTMLAnchorElement&&t.href&&(!t.target||t.target==="_self")&&t.origin===location.origin&&e.button===0&&!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button)&&!e.defaultPrevented){let n=t.getAttribute(L);if(t.getAttribute("href")?.startsWith("#")||!M(t))return;let o=t._freshIndicator;o!==void 0&&(o.value=!0),e.preventDefault();let a=new URL(t.href);try{ae(a);let s=new URL(n||a.href,location.href);await S(s),ie(a),scrollTo({left:0,top:0,behavior:"instant"})}finally{o!==void 0&&(o.value=!1)}}else{let n=r;if(n.nodeName!=="A"&&(n=n.closest("button")),n!==null&&n instanceof HTMLButtonElement&&(n.type!=="submit"||n.form===null)){let o=n.getAttribute(L);if(o===null||!M(n))return;let a=new URL(o,location.href);await S(a)}}}});addEventListener("popstate",async e=>{if(e.state===null){history.scrollRestoration&&(history.scrollRestoration="auto");return}let t=history.state;if(I=t.index??I+1,!M(null)){location.reload();return}history.scrollRestoration&&(history.scrollRestoration="manual");let n=new URL(location.href,location.origin);try{await S(n),ie(n),scrollTo({left:t.scrollX??0,top:t.scrollY??0,behavior:"instant"})}catch(o){if(o instanceof D){location.reload();return}throw o}});document.addEventListener("submit",async e=>{let t=e.target;if(t!==null&&t instanceof HTMLFormElement&&!e.defaultPrevented){if(!M(t)||e.submitter!==null&&!M(e.submitter))return;let r=e.submitter?.getAttribute("formmethod")?.toLowerCase()??t.method.toLowerCase();if(r!=="get"&&r!=="post"&&r!=="dialog")return;let n=e.submitter?.getAttribute(L)??e.submitter?.getAttribute("formaction")??t.getAttribute(L)??t.action;if(n!==""){e.preventDefault();let o=new URL(n,location.href),a;r==="get"?new URLSearchParams(new FormData(t)).forEach((l,i)=>o.searchParams.set(i,l)):a={body:new FormData(t),method:r},ae(o),await S(o,a)}}});export{he as applyPartials,Ie as revive}; diff --git a/examples/graphql-yoga/_fresh/metafile.json b/examples/graphql-yoga/_fresh/metafile.json new file mode 100644 index 0000000..cfbc307 --- /dev/null +++ b/examples/graphql-yoga/_fresh/metafile.json @@ -0,0 +1 @@ +{"inputs":{"https://deno.land/x/fresh@1.6.5/src/runtime/polyfills.ts":{"bytes":231,"imports":[]},"https://esm.sh/stable/preact@10.19.2/denonext/preact.mjs":{"bytes":11085,"imports":[],"format":"esm"},"https://esm.sh/preact@10.19.2":{"bytes":90,"imports":[{"path":"https://esm.sh/stable/preact@10.19.2/denonext/preact.mjs","kind":"import-statement","original":"/stable/preact@10.19.2/denonext/preact.mjs"}],"format":"esm"},"https://deno.land/x/fresh@1.6.5/src/runtime/build_id.ts":{"bytes":67,"imports":[],"format":"esm"},"https://deno.land/x/fresh@1.6.5/src/runtime/utils.ts":{"bytes":2835,"imports":[{"path":"preact","kind":"import-statement","external":true},{"path":"https://deno.land/x/fresh@1.6.5/src/runtime/build_id.ts","kind":"import-statement","original":"./build_id.ts"}],"format":"esm"},"https://deno.land/x/fresh@1.6.5/src/constants.ts":{"bytes":386,"imports":[],"format":"esm"},"https://deno.land/x/fresh@1.6.5/src/runtime/active_url.ts":{"bytes":1290,"imports":[{"path":"preact","kind":"import-statement","external":true},{"path":"https://deno.land/x/fresh@1.6.5/src/constants.ts","kind":"import-statement","original":"../constants.ts"}],"format":"esm"},"https://deno.land/x/fresh@1.6.5/src/runtime/entrypoints/main.ts":{"bytes":31679,"imports":[{"path":"https://deno.land/x/fresh@1.6.5/src/runtime/polyfills.ts","kind":"import-statement","original":"../polyfills.ts"},{"path":"https://esm.sh/preact@10.19.2","kind":"import-statement","original":"preact"},{"path":"https://deno.land/x/fresh@1.6.5/src/runtime/utils.ts","kind":"import-statement","original":"../utils.ts"},{"path":"../../server/rendering/fresh_tags.tsx","kind":"import-statement","external":true},{"path":"https://deno.land/x/fresh@1.6.5/src/constants.ts","kind":"import-statement","original":"../../constants.ts"},{"path":"https://deno.land/x/fresh@1.6.5/src/runtime/active_url.ts","kind":"import-statement","original":"../active_url.ts"}],"format":"esm"},"https://deno.land/x/fresh@1.6.5/src/runtime/deserializer.ts":{"bytes":2087,"imports":[],"format":"esm"},"https://deno.land/x/fresh@1.6.5/src/runtime/entrypoints/deserializer.ts":{"bytes":50,"imports":[{"path":"https://deno.land/x/fresh@1.6.5/src/runtime/deserializer.ts","kind":"import-statement","original":"../deserializer.ts"}],"format":"esm"},"https://esm.sh/stable/preact@10.19.2/denonext/hooks.js":{"bytes":3804,"imports":[{"path":"https://esm.sh/stable/preact@10.19.2/denonext/preact.mjs","kind":"import-statement","original":"/stable/preact@10.19.2/denonext/preact.mjs"}],"format":"esm"},"https://esm.sh/preact@10.19.2/hooks":{"bytes":147,"imports":[{"path":"https://esm.sh/stable/preact@10.19.2/denonext/preact.mjs","kind":"import-statement","original":"/stable/preact@10.19.2/denonext/preact.mjs"},{"path":"https://esm.sh/stable/preact@10.19.2/denonext/hooks.js","kind":"import-statement","original":"/stable/preact@10.19.2/denonext/hooks.js"}],"format":"esm"},"https://esm.sh/v135/@preact/signals-core@1.5.0/X-ZS8q/denonext/signals-core.mjs":{"bytes":4342,"imports":[],"format":"esm"},"https://esm.sh/*@preact/signals-core@1.5.0":{"bytes":125,"imports":[{"path":"https://esm.sh/v135/@preact/signals-core@1.5.0/X-ZS8q/denonext/signals-core.mjs","kind":"import-statement","original":"/v135/@preact/signals-core@1.5.0/X-ZS8q/denonext/signals-core.mjs"}],"format":"esm"},"https://esm.sh/v135/@preact/signals@1.2.1/X-ZS8q/denonext/signals.mjs":{"bytes":2825,"imports":[{"path":"https://esm.sh/preact@10.19.2","kind":"import-statement","original":"preact"},{"path":"https://esm.sh/preact@10.19.2/hooks","kind":"import-statement","original":"preact/hooks"},{"path":"https://esm.sh/*@preact/signals-core@1.5.0","kind":"import-statement","original":"@preact/signals-core"},{"path":"https://esm.sh/*@preact/signals-core@1.5.0","kind":"import-statement","original":"@preact/signals-core"}],"format":"esm"},"https://esm.sh/*@preact/signals@1.2.1":{"bytes":110,"imports":[{"path":"https://esm.sh/v135/@preact/signals@1.2.1/X-ZS8q/denonext/signals.mjs","kind":"import-statement","original":"/v135/@preact/signals@1.2.1/X-ZS8q/denonext/signals.mjs"}],"format":"esm"},"https://deno.land/x/fresh@1.6.5/src/runtime/entrypoints/signals.ts":{"bytes":42,"imports":[{"path":"https://esm.sh/*@preact/signals@1.2.1","kind":"import-statement","original":"@preact/signals"}],"format":"esm"}},"outputs":{"main.js":{"imports":[{"path":"chunk-REY47OEU.js","kind":"import-statement"}],"exports":["applyPartials","revive"],"entryPoint":"https://deno.land/x/fresh@1.6.5/src/runtime/entrypoints/main.ts","inputs":{"https://deno.land/x/fresh@1.6.5/src/runtime/polyfills.ts":{"bytesInOutput":50},"https://deno.land/x/fresh@1.6.5/src/runtime/build_id.ts":{"bytesInOutput":49},"https://deno.land/x/fresh@1.6.5/src/runtime/utils.ts":{"bytesInOutput":871},"https://deno.land/x/fresh@1.6.5/src/constants.ts":{"bytesInOutput":121},"https://deno.land/x/fresh@1.6.5/src/runtime/active_url.ts":{"bytesInOutput":383},"https://deno.land/x/fresh@1.6.5/src/runtime/entrypoints/main.ts":{"bytesInOutput":9530}},"bytes":11121},"deserializer.js":{"imports":[],"exports":["deserialize"],"entryPoint":"https://deno.land/x/fresh@1.6.5/src/runtime/entrypoints/deserializer.ts","inputs":{"https://deno.land/x/fresh@1.6.5/src/runtime/deserializer.ts":{"bytesInOutput":753},"https://deno.land/x/fresh@1.6.5/src/runtime/entrypoints/deserializer.ts":{"bytesInOutput":0}},"bytes":779},"signals.js":{"imports":[{"path":"chunk-REY47OEU.js","kind":"import-statement"}],"exports":["signal"],"entryPoint":"https://deno.land/x/fresh@1.6.5/src/runtime/entrypoints/signals.ts","inputs":{"https://esm.sh/stable/preact@10.19.2/denonext/hooks.js":{"bytesInOutput":1661},"https://esm.sh/preact@10.19.2/hooks":{"bytesInOutput":0},"https://esm.sh/v135/@preact/signals-core@1.5.0/X-ZS8q/denonext/signals-core.mjs":{"bytesInOutput":3989},"https://esm.sh/*@preact/signals-core@1.5.0":{"bytesInOutput":0},"https://esm.sh/v135/@preact/signals@1.2.1/X-ZS8q/denonext/signals.mjs":{"bytesInOutput":2105},"https://esm.sh/*@preact/signals@1.2.1":{"bytesInOutput":0},"https://deno.land/x/fresh@1.6.5/src/runtime/entrypoints/signals.ts":{"bytesInOutput":0}},"bytes":7830},"chunk-REY47OEU.js":{"imports":[],"exports":["a","b","c","d","e","f"],"inputs":{"https://esm.sh/stable/preact@10.19.2/denonext/preact.mjs":{"bytesInOutput":9800},"https://esm.sh/preact@10.19.2":{"bytesInOutput":0}},"bytes":9849}}} \ No newline at end of file diff --git a/examples/graphql-yoga/_fresh/signals.js b/examples/graphql-yoga/_fresh/signals.js new file mode 100644 index 0000000..218f23f --- /dev/null +++ b/examples/graphql-yoga/_fresh/signals.js @@ -0,0 +1 @@ +import{a as f,b as F,e as P}from"./chunk-REY47OEU.js";var w,c,E,T,j=0,J=[],g=[],q=f.__b,R=f.__r,M=f.diffed,I=f.__c,B=f.unmount;function Y(i,t){f.__h&&f.__h(c,i,j||t),j=0;var n=c.__H||(c.__H={__:[],__h:[]});return i>=n.__.length&&n.__.push({__V:g}),n.__[i]}function U(i,t){var n=Y(w++,7);return it(n.__H,t)?(n.__V=i(),n.i=t,n.__h=i,n.__V):n.__}function Z(){for(var i;i=J.shift();)if(i.__P&&i.__H)try{i.__H.__h.forEach(S),i.__H.__h.forEach(N),i.__H.__h=[]}catch(t){i.__H.__h=[],f.__e(t,i.__v)}}f.__b=function(i){c=null,q&&q(i)},f.__r=function(i){R&&R(i),w=0;var t=(c=i.__c).__H;t&&(E===c?(t.__h=[],c.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=g,n.__N=n.i=void 0})):(t.__h.forEach(S),t.__h.forEach(N),t.__h=[],w=0)),E=c},f.diffed=function(i){M&&M(i);var t=i.__c;t&&t.__H&&(t.__H.__h.length&&(J.push(t)!==1&&T===f.requestAnimationFrame||((T=f.requestAnimationFrame)||tt)(Z)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==g&&(n.__=n.__V),n.i=void 0,n.__V=g})),E=c=null},f.__c=function(i,t){t.some(function(n){try{n.__h.forEach(S),n.__h=n.__h.filter(function(e){return!e.__||N(e)})}catch(e){t.some(function(o){o.__h&&(o.__h=[])}),t=[],f.__e(e,n.__v)}}),I&&I(i,t)},f.unmount=function(i){B&&B(i);var t,n=i.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{S(e)}catch(o){t=o}}),n.__H=void 0,t&&f.__e(t,n.__v))};var G=typeof requestAnimationFrame=="function";function tt(i){var t,n=function(){clearTimeout(e),G&&cancelAnimationFrame(t),setTimeout(i)},e=setTimeout(n,100);G&&(t=requestAnimationFrame(n))}function S(i){var t=c,n=i.__c;typeof n=="function"&&(i.__c=void 0,n()),c=t}function N(i){var t=c;i.__c=i.__(),c=t}function it(i,t){return!i||i.length!==t.length||t.some(function(n,e){return n!==i[e]})}function x(){throw new Error("Cycle detected")}var nt=Symbol.for("preact-signals");function k(){if(l>1){l--;return}let i,t=!1;for(;p!==void 0;){let n=p;for(p=void 0,$++;n!==void 0;){let e=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&W(n))try{n.c()}catch(o){t||(i=o,t=!0)}n=e}}if($=0,l--,t)throw i}var _,p;var l=0,$=0,b=0;function L(i){if(_===void 0)return;let t=i.n;if(t===void 0||t.t!==_)return t={i:0,S:i,p:_.s,n:void 0,t:_,e:void 0,x:void 0,r:t},_.s!==void 0&&(_.s.n=t),_.s=t,i.n=t,32&_.f&&i.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=_.s,t.n=void 0,_.s.n=t,_.s=t),t}function s(i){this.v=i,this.i=0,this.n=void 0,this.t=void 0}s.prototype.brand=nt;s.prototype.h=function(){return!0};s.prototype.S=function(i){this.t!==i&&i.e===void 0&&(i.x=this.t,this.t!==void 0&&(this.t.e=i),this.t=i)};s.prototype.U=function(i){if(this.t!==void 0){let t=i.e,n=i.x;t!==void 0&&(t.x=n,i.e=void 0),n!==void 0&&(n.e=t,i.x=void 0),i===this.t&&(this.t=n)}};s.prototype.subscribe=function(i){let t=this;return m(function(){let n=t.value,e=32&this.f;this.f&=-33;try{i(n)}finally{this.f|=e}})};s.prototype.valueOf=function(){return this.value};s.prototype.toString=function(){return this.value+""};s.prototype.toJSON=function(){return this.value};s.prototype.peek=function(){return this.v};Object.defineProperty(s.prototype,"value",{get(){let i=L(this);return i!==void 0&&(i.i=this.i),this.v},set(i){if(_ instanceof h&&function(){throw new Error("Computed cannot have side-effects")}(),i!==this.v){$>100&&x(),this.v=i,this.i++,b++,l++;try{for(let t=this.t;t!==void 0;t=t.x)t.t.N()}finally{k()}}}});function d(i){return new s(i)}function W(i){for(let t=i.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function z(i){for(let t=i.s;t!==void 0;t=t.n){let n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){i.s=t;break}}}function K(i){let t,n=i.s;for(;n!==void 0;){let e=n.p;n.i===-1?(n.S.U(n),e!==void 0&&(e.n=n.n),n.n!==void 0&&(n.n.p=e)):t=n,n.S.n=n.r,n.r!==void 0&&(n.r=void 0),n=e}i.s=t}function h(i){s.call(this,void 0),this.x=i,this.s=void 0,this.g=b-1,this.f=4}(h.prototype=new s).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===b))return!0;if(this.g=b,this.f|=1,this.i>0&&!W(this))return this.f&=-2,!0;let i=_;try{z(this),_=this;let t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return _=i,K(this),this.f&=-2,!0};h.prototype.S=function(i){if(this.t===void 0){this.f|=36;for(let t=this.s;t!==void 0;t=t.n)t.S.S(t)}s.prototype.S.call(this,i)};h.prototype.U=function(i){if(this.t!==void 0&&(s.prototype.U.call(this,i),this.t===void 0)){this.f&=-33;for(let t=this.s;t!==void 0;t=t.n)t.S.U(t)}};h.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(let i=this.t;i!==void 0;i=i.x)i.t.N()}};h.prototype.peek=function(){if(this.h()||x(),16&this.f)throw this.v;return this.v};Object.defineProperty(h.prototype,"value",{get(){1&this.f&&x();let i=L(this);if(this.h(),i!==void 0&&(i.i=this.i),16&this.f)throw this.v;return this.v}});function V(i){return new h(i)}function Q(i){let t=i.u;if(i.u=void 0,typeof t=="function"){l++;let n=_;_=void 0;try{t()}catch(e){throw i.f&=-2,i.f|=8,C(i),e}finally{_=n,k()}}}function C(i){for(let t=i.s;t!==void 0;t=t.n)t.S.U(t);i.x=void 0,i.s=void 0,Q(i)}function et(i){if(_!==this)throw new Error("Out-of-order effect");K(this),_=i,this.f&=-2,8&this.f&&C(this),k()}function y(i){this.x=i,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}y.prototype.c=function(){let i=this.S();try{if(8&this.f||this.x===void 0)return;let t=this.x();typeof t=="function"&&(this.u=t)}finally{i()}};y.prototype.S=function(){1&this.f&&x(),this.f|=1,this.f&=-9,Q(this),z(this),l++;let i=_;return _=this,et.bind(this,i)};y.prototype.N=function(){2&this.f||(this.f|=2,this.o=p,p=this)};y.prototype.d=function(){this.f|=8,1&this.f||C(this)};function m(i){let t=new y(i);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}function v(i,t){f[i]=t.bind(null,f[i]||(()=>{}))}var O,A;function H(i){A&&A(),A=i&&i.S()}function X({data:i}){let t=rt(i);t.value=i;let n=U(()=>{let e=this.__v;for(;e=e.__;)if(e.__c){e.__c.__$f|=4;break}return this.__$u.c=()=>{var o;!F(n.peek())&&((o=this.base)==null?void 0:o.nodeType)===3?this.base.data=n.peek():(this.__$f|=1,this.setState({}))},V(()=>{let o=t.value.value;return o===0?0:o===!0?"":o||""})},[]);return n.value}X.displayName="_st";Object.defineProperties(s.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:X},props:{configurable:!0,get(){return{data:this}}},__b:{configurable:!0,value:1}});v("__b",(i,t)=>{if(typeof t.type=="string"){let n,e=t.props;for(let o in e){if(o==="children")continue;let r=e[o];r instanceof s&&(n||(t.__np=n={}),n[o]=r,e[o]=r.peek())}}i(t)});v("__r",(i,t)=>{H();let n,e=t.__c;e&&(e.__$f&=-2,n=e.__$u,n===void 0&&(e.__$u=n=function(o){let r;return m(function(){r=this}),r.c=()=>{e.__$f|=1,e.setState({})},r}())),O=e,H(n),i(t)});v("__e",(i,t,n,e)=>{H(),O=void 0,i(t,n,e)});v("diffed",(i,t)=>{H(),O=void 0;let n;if(typeof t.type=="string"&&(n=t.__e)){let e=t.__np,o=t.props;if(e){let r=n.U;if(r)for(let u in r){let a=r[u];a!==void 0&&!(u in e)&&(a.d(),r[u]=void 0)}else r={},n.U=r;for(let u in e){let a=r[u],D=e[u];a===void 0?(a=ot(n,u,D,o),r[u]=a):a.o(D,o)}}}i(t)});function ot(i,t,n,e){let o=t in i&&i.ownerSVGElement===void 0,r=d(n);return{o:(u,a)=>{r.value=u,e=a},d:m(()=>{let u=r.value.value;e[t]!==u&&(e[t]=u,o?i[t]=u:u?i.setAttribute(t,u):i.removeAttribute(t))})}}v("unmount",(i,t)=>{if(typeof t.type=="string"){let n=t.__e;if(n){let e=n.U;if(e){n.U=void 0;for(let o in e){let r=e[o];r&&r.d()}}}}else{let n=t.__c;if(n){let e=n.__$u;e&&(n.__$u=void 0,e.d())}}i(t)});v("__h",(i,t,n,e)=>{(e<3||e===9)&&(t.__$f|=2),i(t,n,e)});P.prototype.shouldComponentUpdate=function(i,t){let n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(let e in t)return!0;for(let e in i)if(e!=="__source"&&i[e]!==this.props[e])return!0;for(let e in this.props)if(!(e in i))return!0;return!1};function rt(i){return U(()=>d(i),[])}export{d as signal}; diff --git a/examples/graphql-yoga/_fresh/snapshot.json b/examples/graphql-yoga/_fresh/snapshot.json new file mode 100644 index 0000000..553b526 --- /dev/null +++ b/examples/graphql-yoga/_fresh/snapshot.json @@ -0,0 +1,14 @@ +{ + "build_id": "e763f7b1a0171f8501466da2de7f8bdc4aa2b77c", + "files": { + "main.js": [ + "chunk-REY47OEU.js" + ], + "deserializer.js": [], + "signals.js": [ + "chunk-REY47OEU.js" + ], + "chunk-REY47OEU.js": [], + "metafile.json": [] + } +} \ No newline at end of file diff --git a/examples/graphql-yoga/deno.json b/examples/graphql-yoga/deno.json index 70e989f..2074da6 100644 --- a/examples/graphql-yoga/deno.json +++ b/examples/graphql-yoga/deno.json @@ -1,7 +1,29 @@ { - "importMap": "../../import_map.json", "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" + }, + "imports": { + "$fresh/": "https://deno.land/x/fresh@1.6.5/", + "$std/": "https://deno.land/std@0.219.0/", + "@graphql-tools/schema": "npm:@graphql-tools/schema@^10.0.0", + "@graphql-tools/utils": "npm:@graphql-tools/utils@^10.0.0", + "@preact/signals": "https://esm.sh/*@preact/signals@1.2.1", + "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.0", + "@vicary/fresh-graphql": "jsr:@vicary/fresh-graphql@^0.1.0", + "graphql": "npm:graphql@^16.0.0", + "graphql-yoga": "npm:graphql-yoga@^5.1.1", + "preact": "https://esm.sh/preact@10.19.2", + "preact/": "https://esm.sh/preact@10.19.2/" + }, + "lock": false, + "tasks": { + "build": "deno run -A dev.ts build", + "check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", + "cli": "echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -", + "manifest": "deno task cli manifest $(pwd)", + "preview": "deno run -A main.ts", + "start": "deno run -A --watch=static/,routes/ dev.ts", + "update": "deno run -A -r https://fresh.deno.dev/update ." } } diff --git a/examples/graphql-yoga/deno.lock b/examples/graphql-yoga/deno.lock deleted file mode 100644 index d775081..0000000 --- a/examples/graphql-yoga/deno.lock +++ /dev/null @@ -1,495 +0,0 @@ -{ - "version": "2", - "remote": { - "https://deno.land/std@0.140.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", - "https://deno.land/std@0.140.0/_util/os.ts": "3b4c6e27febd119d36a416d7a97bd3b0251b77c88942c8f16ee5953ea13e2e49", - "https://deno.land/std@0.140.0/fs/_util.ts": "0fb24eb4bfebc2c194fb1afdb42b9c3dda12e368f43e8f2321f84fc77d42cb0f", - "https://deno.land/std@0.140.0/fs/ensure_dir.ts": "9dc109c27df4098b9fc12d949612ae5c9c7169507660dcf9ad90631833209d9d", - "https://deno.land/std@0.140.0/fs/expand_glob.ts": "0c10130d67c9b02164b03df8e43c6d6defbf8e395cb69d09e84a8586e6d72ac3", - "https://deno.land/std@0.140.0/fs/walk.ts": "117403ccd21fd322febe56ba06053b1ad5064c802170f19b1ea43214088fe95f", - "https://deno.land/std@0.140.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", - "https://deno.land/std@0.140.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", - "https://deno.land/std@0.140.0/path/_util.ts": "c1e9686d0164e29f7d880b2158971d805b6e0efc3110d0b3e24e4b8af2190d2b", - "https://deno.land/std@0.140.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", - "https://deno.land/std@0.140.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee", - "https://deno.land/std@0.140.0/path/mod.ts": "d3e68d0abb393fb0bf94a6d07c46ec31dc755b544b13144dee931d8d5f06a52d", - "https://deno.land/std@0.140.0/path/posix.ts": "293cdaec3ecccec0a9cc2b534302dfe308adb6f10861fa183275d6695faace44", - "https://deno.land/std@0.140.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", - "https://deno.land/std@0.140.0/path/win32.ts": "31811536855e19ba37a999cd8d1b62078235548d67902ece4aa6b814596dd757", - "https://deno.land/std@0.150.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", - "https://deno.land/std@0.150.0/_util/os.ts": "3b4c6e27febd119d36a416d7a97bd3b0251b77c88942c8f16ee5953ea13e2e49", - "https://deno.land/std@0.150.0/async/abortable.ts": "87aa7230be8360c24ad437212311c9e8d4328854baec27b4c7abb26e85515c06", - "https://deno.land/std@0.150.0/async/deadline.ts": "48ac998d7564969f3e6ec6b6f9bf0217ebd00239b1b2292feba61272d5dd58d0", - "https://deno.land/std@0.150.0/async/debounce.ts": "564273ef242bcfcda19a439132f940db8694173abffc159ea34f07d18fc42620", - "https://deno.land/std@0.150.0/async/deferred.ts": "bc18e28108252c9f67dfca2bbc4587c3cbf3aeb6e155f8c864ca8ecff992b98a", - "https://deno.land/std@0.150.0/async/delay.ts": "cbbdf1c87d1aed8edc7bae13592fb3e27e3106e0748f089c263390d4f49e5f6c", - "https://deno.land/std@0.150.0/async/mod.ts": "9852cd8ed897ab2d41a8fbee611d574e97898327db5c19d9d58e41126473f02c", - "https://deno.land/std@0.150.0/async/mux_async_iterator.ts": "5b4aca6781ad0f2e19ccdf1d1a1c092ccd3e00d52050d9c27c772658c8367256", - "https://deno.land/std@0.150.0/async/pool.ts": "ef9eb97b388543acbf0ac32647121e4dbe629236899586c4d4311a8770fbb239", - "https://deno.land/std@0.150.0/async/tee.ts": "bcfae0017ebb718cf4eef9e2420e8675d91cb1bcc0ed9b668681af6e6caad846", - "https://deno.land/std@0.150.0/flags/mod.ts": "594472736e24b2f2afd3451cf7ccd58a21706ce91006478a544fdfa056c69697", - "https://deno.land/std@0.150.0/fs/_util.ts": "2cf50bfb1081c2d5f2efec10ac19abbc2baf478e51cd1b057d0da2f30585b6ba", - "https://deno.land/std@0.150.0/fs/walk.ts": "6ce8d87fbaeda23383e979599ad27f3f94b3e5ff0c0cd976b5fc5c2aa0df7d92", - "https://deno.land/std@0.150.0/http/http_status.ts": "897575a7d6bc2b9123f6a38ecbc0f03d95a532c5d92029315dc9f508e12526b8", - "https://deno.land/std@0.150.0/http/server.ts": "0b0a9f3abfcfecead944b31ee9098a0c11a59b0495bf873ee200eb80e7441483", - "https://deno.land/std@0.150.0/media_types/_util.ts": "ce9b4fc4ba1c447dafab619055e20fd88236ca6bdd7834a21f98bd193c3fbfa1", - "https://deno.land/std@0.150.0/media_types/mod.ts": "2d4b6f32a087029272dc59e0a55ae3cc4d1b27b794ccf528e94b1925795b3118", - "https://deno.land/std@0.150.0/media_types/vendor/mime-db.v1.52.0.ts": "724cee25fa40f1a52d3937d6b4fbbfdd7791ff55e1b7ac08d9319d5632c7f5af", - "https://deno.land/std@0.150.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", - "https://deno.land/std@0.150.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", - "https://deno.land/std@0.150.0/path/_util.ts": "c1e9686d0164e29f7d880b2158971d805b6e0efc3110d0b3e24e4b8af2190d2b", - "https://deno.land/std@0.150.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", - "https://deno.land/std@0.150.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee", - "https://deno.land/std@0.150.0/path/mod.ts": "4945b430b759b0b3d98f2a278542cbcf95e0ad2bd8eaaed3c67322b306b2b346", - "https://deno.land/std@0.150.0/path/posix.ts": "c1f7afe274290ea0b51da07ee205653b2964bd74909a82deb07b69a6cc383aaa", - "https://deno.land/std@0.150.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", - "https://deno.land/std@0.150.0/path/win32.ts": "bd7549042e37879c68ff2f8576a25950abbfca1d696d41d82c7bca0b7e6f452c", - "https://deno.land/std@0.150.0/semver/mod.ts": "4a5195fa81b4aede8875a386550a1119f01fb58d74aea899b2cfb136c05a7310", - "https://deno.land/std@0.152.0/async/abortable.ts": "87aa7230be8360c24ad437212311c9e8d4328854baec27b4c7abb26e85515c06", - "https://deno.land/std@0.152.0/async/deadline.ts": "48ac998d7564969f3e6ec6b6f9bf0217ebd00239b1b2292feba61272d5dd58d0", - "https://deno.land/std@0.152.0/async/debounce.ts": "564273ef242bcfcda19a439132f940db8694173abffc159ea34f07d18fc42620", - "https://deno.land/std@0.152.0/async/deferred.ts": "bc18e28108252c9f67dfca2bbc4587c3cbf3aeb6e155f8c864ca8ecff992b98a", - "https://deno.land/std@0.152.0/async/delay.ts": "cbbdf1c87d1aed8edc7bae13592fb3e27e3106e0748f089c263390d4f49e5f6c", - "https://deno.land/std@0.152.0/async/mod.ts": "dd0a8ed4f3984ffabe2fcca7c9f466b7932d57b1864ffee148a5d5388316db6b", - "https://deno.land/std@0.152.0/async/mux_async_iterator.ts": "5b4aca6781ad0f2e19ccdf1d1a1c092ccd3e00d52050d9c27c772658c8367256", - "https://deno.land/std@0.152.0/async/pool.ts": "ef9eb97b388543acbf0ac32647121e4dbe629236899586c4d4311a8770fbb239", - "https://deno.land/std@0.152.0/async/tee.ts": "bcfae0017ebb718cf4eef9e2420e8675d91cb1bcc0ed9b668681af6e6caad846", - "https://deno.land/std@0.152.0/http/server.ts": "0b0a9f3abfcfecead944b31ee9098a0c11a59b0495bf873ee200eb80e7441483", - "https://deno.land/std@0.159.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", - "https://deno.land/std@0.159.0/_util/os.ts": "8a33345f74990e627b9dfe2de9b040004b08ea5146c7c9e8fe9a29070d193934", - "https://deno.land/std@0.159.0/fmt/colors.ts": "ff7dc9c9f33a72bd48bc24b21bbc1b4545d8494a431f17894dbc5fe92a938fc4", - "https://deno.land/std@0.159.0/fs/_util.ts": "fdc156f897197f261a1c096dcf8ff9267ed0ff42bd5b31f55053a4763a4bae3b", - "https://deno.land/std@0.159.0/fs/copy.ts": "73bdf24f4322648d9bc38ef983b818637ba368351d17aa03644209d3ce3eac31", - "https://deno.land/std@0.159.0/fs/empty_dir.ts": "c15a0aaaf40f8c21cca902aa1e01a789ad0c2fd1b7e2eecf4957053c5dbf707f", - "https://deno.land/std@0.159.0/fs/ensure_dir.ts": "76395fc1c989ca8d2de3aedfa8240eb8f5225cde20f926de957995b063135b80", - "https://deno.land/std@0.159.0/fs/ensure_file.ts": "b8e32ea63aa21221d0219760ba3f741f682d7f7d68d0d24a3ec067c338568152", - "https://deno.land/std@0.159.0/fs/ensure_link.ts": "5cc1c04f18487d7d1edf4c5469705f30b61390ffd24ad7db6df85e7209b32bb2", - "https://deno.land/std@0.159.0/fs/ensure_symlink.ts": "5273557b8c50be69477aa9cb003b54ff2240a336db52a40851c97abce76b96ab", - "https://deno.land/std@0.159.0/fs/eol.ts": "b92f0b88036de507e7e6fbedbe8f666835ea9dcbf5ac85917fa1fadc919f83a5", - "https://deno.land/std@0.159.0/fs/exists.ts": "6a447912e49eb79cc640adacfbf4b0baf8e17ede6d5bed057062ce33c4fa0d68", - "https://deno.land/std@0.159.0/fs/expand_glob.ts": "333a8b9b0726b6909e5af30fb99c68e5b0e734d37af8cbc2ad1f062f26ca4d50", - "https://deno.land/std@0.159.0/fs/mod.ts": "354a6f972ef4e00c4dd1f1339a8828ef0764c1c23d3c0010af3fcc025d8655b0", - "https://deno.land/std@0.159.0/fs/move.ts": "6d7fa9da60dbc7a32dd7fdbc2ff812b745861213c8e92ba96dace0669b0c378c", - "https://deno.land/std@0.159.0/fs/walk.ts": "d6c73a2a2fb5fde60150ce27cff3fff420e72e5bb84131b4919c9a41d74712ce", - "https://deno.land/std@0.159.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", - "https://deno.land/std@0.159.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", - "https://deno.land/std@0.159.0/path/_util.ts": "d16be2a16e1204b65f9d0dfc54a9bc472cafe5f4a190b3c8471ec2016ccd1677", - "https://deno.land/std@0.159.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", - "https://deno.land/std@0.159.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee", - "https://deno.land/std@0.159.0/path/mod.ts": "56fec03ad0ebd61b6ab39ddb9b0ddb4c4a5c9f2f4f632e09dd37ec9ebfd722ac", - "https://deno.land/std@0.159.0/path/posix.ts": "c1f7afe274290ea0b51da07ee205653b2964bd74909a82deb07b69a6cc383aaa", - "https://deno.land/std@0.159.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", - "https://deno.land/std@0.159.0/path/win32.ts": "bd7549042e37879c68ff2f8576a25950abbfca1d696d41d82c7bca0b7e6f452c", - "https://deno.land/std@0.159.0/testing/_diff.ts": "a23e7fc2b4d8daa3e158fa06856bedf5334ce2a2831e8bf9e509717f455adb2c", - "https://deno.land/std@0.159.0/testing/_format.ts": "cd11136e1797791045e639e9f0f4640d5b4166148796cad37e6ef75f7d7f3832", - "https://deno.land/std@0.159.0/testing/asserts.ts": "9ff3259f6cdc2908af478f9340f4e470d23234324bd33e7f74c683a00ed4d211", - "https://deno.land/std@0.162.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", - "https://deno.land/std@0.162.0/_util/os.ts": "8a33345f74990e627b9dfe2de9b040004b08ea5146c7c9e8fe9a29070d193934", - "https://deno.land/std@0.162.0/async/abortable.ts": "87aa7230be8360c24ad437212311c9e8d4328854baec27b4c7abb26e85515c06", - "https://deno.land/std@0.162.0/async/deadline.ts": "48ac998d7564969f3e6ec6b6f9bf0217ebd00239b1b2292feba61272d5dd58d0", - "https://deno.land/std@0.162.0/async/debounce.ts": "dc8b92d4a4fe7eac32c924f2b8d3e62112530db70cadce27042689d82970b350", - "https://deno.land/std@0.162.0/async/deferred.ts": "d8fb253ffde2a056e4889ef7e90f3928f28be9f9294b6505773d33f136aab4e6", - "https://deno.land/std@0.162.0/async/delay.ts": "0419dfc993752849692d1f9647edf13407c7facc3509b099381be99ffbc9d699", - "https://deno.land/std@0.162.0/async/mod.ts": "dd0a8ed4f3984ffabe2fcca7c9f466b7932d57b1864ffee148a5d5388316db6b", - "https://deno.land/std@0.162.0/async/mux_async_iterator.ts": "3447b28a2a582224a3d4d3596bccbba6e85040da3b97ed64012f7decce98d093", - "https://deno.land/std@0.162.0/async/pool.ts": "ef9eb97b388543acbf0ac32647121e4dbe629236899586c4d4311a8770fbb239", - "https://deno.land/std@0.162.0/async/tee.ts": "9af3a3e7612af75861308b52249e167f5ebc3dcfc8a1a4d45462d96606ee2b70", - "https://deno.land/std@0.162.0/bytes/bytes_list.ts": "aba5e2369e77d426b10af1de0dcc4531acecec27f9b9056f4f7bfbf8ac147ab4", - "https://deno.land/std@0.162.0/bytes/equals.ts": "3c3558c3ae85526f84510aa2b48ab2ad7bdd899e2e0f5b7a8ffc85acb3a6043a", - "https://deno.land/std@0.162.0/bytes/mod.ts": "b2e342fd3669176a27a4e15061e9d588b89c1aaf5008ab71766e23669565d179", - "https://deno.land/std@0.162.0/crypto/timing_safe_equal.ts": "82a29b737bc8932d75d7a20c404136089d5d23629e94ba14efa98a8cc066c73e", - "https://deno.land/std@0.162.0/encoding/base64.ts": "c57868ca7fa2fbe919f57f88a623ad34e3d970d675bdc1ff3a9d02bba7409db2", - "https://deno.land/std@0.162.0/encoding/base64url.ts": "a5f82a9fa703bd85a5eb8e7c1296bc6529e601ebd9642cc2b5eaa6b38fa9e05a", - "https://deno.land/std@0.162.0/flags/mod.ts": "e35fbfc7e90db230f7a4a99bc2888c60d9ccbff415cb930350366a38b0de79c7", - "https://deno.land/std@0.162.0/fmt/colors.ts": "9e36a716611dcd2e4865adea9c4bec916b5c60caad4cdcdc630d4974e6bb8bd4", - "https://deno.land/std@0.162.0/io/buffer.ts": "fae02290f52301c4e0188670e730cd902f9307fb732d79c4aa14ebdc82497289", - "https://deno.land/std@0.162.0/io/types.d.ts": "107e1e64834c5ba917c783f446b407d33432c5d612c4b3430df64fc2b4ecf091", - "https://deno.land/std@0.162.0/node/_core.ts": "ca7acad30ced9cc815a4a4cbb5fec97b7c300e99edf076ab6d92d4ead1eb0868", - "https://deno.land/std@0.162.0/node/_events.d.ts": "3899ee9c37055fbb750e32cb43d7c435077c04446af948300080e1a590c6edf0", - "https://deno.land/std@0.162.0/node/_events.mjs": "303e8aa60ace559e4ca0d19e8475f87311bee9e8330b4b497644d70f2002fc27", - "https://deno.land/std@0.162.0/node/_global.d.ts": "6dadaf8cec2a0c506b22170617286e0bdc80be53dd0673e67fc7dd37a1130c68", - "https://deno.land/std@0.162.0/node/_next_tick.ts": "81c1826675493b76f90c646fb1274a4c84b5cc913a80ca4526c32cd7c46a0b06", - "https://deno.land/std@0.162.0/node/_process/exiting.ts": "bc9694769139ffc596f962087155a8bfef10101d03423b9dcbc51ce6e1f88fce", - "https://deno.land/std@0.162.0/node/_process/process.ts": "d5bf113a4b62f4abe4cb7ec5a9d00d44dac0ad9e82a23d00cc27d71e05ae8b66", - "https://deno.land/std@0.162.0/node/_process/stdio.mjs": "971c3b086040d8521562155db13f22f9971d5c42c852b2081d4d2f0d8b6ab6bd", - "https://deno.land/std@0.162.0/node/_process/streams.mjs": "3ce63d9eb24a8a8ec45eeebf5c184b43d888064f663f87e8f453888368e00f90", - "https://deno.land/std@0.162.0/node/_stream.d.ts": "83e9da2f81de3205926f1e86ba54442aa5a3caf4c5e84a4c8699402ad340142b", - "https://deno.land/std@0.162.0/node/_stream.mjs": "9a80217d9734f6e4284aae0ea55dd82b243f5517bc1814e983ad41b01732f712", - "https://deno.land/std@0.162.0/node/_utils.ts": "3d5462910bafe08a79797fefedfde5cc743702b4d24e2d13b9c47c1603d9d33d", - "https://deno.land/std@0.162.0/node/buffer.ts": "43f07b2d1523345bf35b7deb7fcdad6e916020a631a7bc1b5efcaff556db4e1d", - "https://deno.land/std@0.162.0/node/events.ts": "f848398d3591534ca94ac6b852a9f3c4dbb2da310c3a26059cf4ff06b7eae088", - "https://deno.land/std@0.162.0/node/internal/buffer.d.ts": "90f674081428a61978b6d481c5f557ff743a3f4a85d7ae113caab48fdf5b8a63", - "https://deno.land/std@0.162.0/node/internal/buffer.mjs": "70b74b34f1617b3492aee6dec35c7bdabbf26e034bfcf640aa61b3d63c5c850f", - "https://deno.land/std@0.162.0/node/internal/crypto/_keys.ts": "7f993ece8c8e94a292944518cf4173521c6bf01785e75be014cd45a9cc2e4ad5", - "https://deno.land/std@0.162.0/node/internal/crypto/constants.ts": "d2c8821977aef55e4d66414d623c24a2447791a8b49b6404b8db32d81e20c315", - "https://deno.land/std@0.162.0/node/internal/error_codes.ts": "ac03c4eae33de3a69d6c98e8678003207eecf75a6900eb847e3fea3c8c9e6d8f", - "https://deno.land/std@0.162.0/node/internal/errors.ts": "1b65ad547acb9a8501d87409cbebb0d26d9879c9de9458ee6ea9aa5a71fdbe9f", - "https://deno.land/std@0.162.0/node/internal/fixed_queue.ts": "455b3c484de48e810b13bdf95cd1658ecb1ba6bcb8b9315ffe994efcde3ba5f5", - "https://deno.land/std@0.162.0/node/internal/hide_stack_frames.ts": "a91962ec84610bc7ec86022c4593cdf688156a5910c07b5bcd71994225c13a03", - "https://deno.land/std@0.162.0/node/internal/net.ts": "1239886cd2508a68624c2dae8abf895e8aa3bb15a748955349f9ac5539032238", - "https://deno.land/std@0.162.0/node/internal/normalize_encoding.mjs": "3779ec8a7adf5d963b0224f9b85d1bc974a2ec2db0e858396b5d3c2c92138a0a", - "https://deno.land/std@0.162.0/node/internal/options.ts": "a23c285975e058cb26a19abcb048cd8b46ab12d21cfb028868ac8003fffb43ac", - "https://deno.land/std@0.162.0/node/internal/primordials.mjs": "7cf5afe471583e4a384eeea109bdff276b6b7f3a3af830f99f951fb7d57ef423", - "https://deno.land/std@0.162.0/node/internal/process/per_thread.mjs": "bc1be72a6a662bf81573c20fe74893374847a7302065ddf52fb3fb2af505f31f", - "https://deno.land/std@0.162.0/node/internal/readline/callbacks.mjs": "17d9270a54fb5dceea8f894669e3401e5c6260bab075a1e9675a62f1fef50d8c", - "https://deno.land/std@0.162.0/node/internal/readline/utils.mjs": "a93ebb99f85e0dbb4f05f4aff5583d12a15150e45c335e4ecf925e1879dc9c84", - "https://deno.land/std@0.162.0/node/internal/streams/destroy.mjs": "9c9bbeb172a437041d529829f433df72cf0b63ae49f3ee6080a55ffbef7572ad", - "https://deno.land/std@0.162.0/node/internal/streams/end-of-stream.mjs": "38be76eaceac231dfde643e72bc0940625446bf6d1dbd995c91c5ba9fd59b338", - "https://deno.land/std@0.162.0/node/internal/streams/utils.mjs": "a0a6b93a7e68ef52bef4ed00b0c82bb7e335abf360af57335b07c6a3fcdde717", - "https://deno.land/std@0.162.0/node/internal/util.mjs": "35d24fb775468cd24443bcf0ec68904b8aa44e5b53845491a5e3382421917f9a", - "https://deno.land/std@0.162.0/node/internal/util/inspect.mjs": "1ddace0c97719d2cc0869ba177d375e96051301352ec235cbfb2ecbfcd4e8fba", - "https://deno.land/std@0.162.0/node/internal/util/types.ts": "de6e2b7f9b9985ab881b1e78f05ae51d1fc829ae1584063df21e57b35312f3c4", - "https://deno.land/std@0.162.0/node/internal/validators.mjs": "67deae0f488d013c8bf485742a5478112b8e48837cb2458c4a8b2669cf7017db", - "https://deno.land/std@0.162.0/node/internal_binding/_libuv_winerror.ts": "801e05c2742ae6cd42a5f0fd555a255a7308a65732551e962e5345f55eedc519", - "https://deno.land/std@0.162.0/node/internal_binding/_listen.ts": "c15a356ef4758770fc72d3ca4db33f0cc321016df1aafb927c027c0d73ac2c42", - "https://deno.land/std@0.162.0/node/internal_binding/_node.ts": "e4075ba8a37aef4eb5b592c8e3807c39cb49ca8653faf8e01a43421938076c1b", - "https://deno.land/std@0.162.0/node/internal_binding/_timingSafeEqual.ts": "80640f055101071cb3680a2d8a1fead5fd260ca8bf183efb94296b69463e06cd", - "https://deno.land/std@0.162.0/node/internal_binding/_utils.ts": "1c50883b5751a9ea1b38951e62ed63bacfdc9d69ea665292edfa28e1b1c5bd94", - "https://deno.land/std@0.162.0/node/internal_binding/_winerror.ts": "8811d4be66f918c165370b619259c1f35e8c3e458b8539db64c704fbde0a7cd2", - "https://deno.land/std@0.162.0/node/internal_binding/ares.ts": "33ff8275bc11751219af8bd149ea221c442d7e8676e3e9f20ccb0e1f0aac61b8", - "https://deno.land/std@0.162.0/node/internal_binding/async_wrap.ts": "b83e4021a4854b2e13720f96d21edc11f9905251c64c1bc625a361f574400959", - "https://deno.land/std@0.162.0/node/internal_binding/buffer.ts": "781e1d13adc924864e6e37ecb5152e8a4e994cf394695136e451c47f00bda76c", - "https://deno.land/std@0.162.0/node/internal_binding/cares_wrap.ts": "720e6d5cff7018bb3d00e1a49dd4c31f0fc6af3a593ab68cd39e3592ed163d61", - "https://deno.land/std@0.162.0/node/internal_binding/config.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/connection_wrap.ts": "9debd4210d29c658054476fcb640c900725f564ef35412c56dc79eb07213a7c1", - "https://deno.land/std@0.162.0/node/internal_binding/constants.ts": "f4afc504137fb21f3908ab549931604968dfa62432b285a0874f41c4cade9ed2", - "https://deno.land/std@0.162.0/node/internal_binding/contextify.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/credentials.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/crypto.ts": "d7f39700dc020364edf7f4785e5026bb91f099ce1bd02734182451b1af300c8c", - "https://deno.land/std@0.162.0/node/internal_binding/errors.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/fs.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/fs_dir.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/fs_event_wrap.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/handle_wrap.ts": "3767a610b7b12c42635d7100f843981f0454ee3be7da249f85187e45043c3acd", - "https://deno.land/std@0.162.0/node/internal_binding/heap_utils.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/http_parser.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/icu.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/inspector.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/js_stream.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/messaging.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/mod.ts": "f68e74e8eed84eaa6b0de24f0f4c47735ed46866d7ee1c5a5e7c0667b4f0540f", - "https://deno.land/std@0.162.0/node/internal_binding/module_wrap.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/native_module.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/natives.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/node_file.ts": "c96ee0b2af319a3916de950a6c4b0d5fb00d09395c51cd239c54d95d62567aaf", - "https://deno.land/std@0.162.0/node/internal_binding/node_options.ts": "3cd5706153d28a4f5944b8b162c1c61b7b8e368a448fb1a2cff9f7957d3db360", - "https://deno.land/std@0.162.0/node/internal_binding/options.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/os.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/performance.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/pipe_wrap.ts": "ef88498ce6ff185966b6e0ba2aa0880e88eb92e8815e02e8e23fef9e711353e1", - "https://deno.land/std@0.162.0/node/internal_binding/process_methods.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/report.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/serdes.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/signal_wrap.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/spawn_sync.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/stream_wrap.ts": "ecbd50a6c6ff7f6fea9bdfdc7b3977637cd854814c812b59296458ca2f0fc209", - "https://deno.land/std@0.162.0/node/internal_binding/string_decoder.ts": "5cb1863763d1e9b458bc21d6f976f16d9c18b3b3f57eaf0ade120aee38fba227", - "https://deno.land/std@0.162.0/node/internal_binding/symbols.ts": "51cfca9bb6132d42071d4e9e6b68a340a7f274041cfcba3ad02900886e972a6c", - "https://deno.land/std@0.162.0/node/internal_binding/task_queue.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/tcp_wrap.ts": "555eb9e05099c051c3e330829209668142555a1c90411e2e97a0385e33bb8bf2", - "https://deno.land/std@0.162.0/node/internal_binding/timers.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/tls_wrap.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/trace_events.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/tty_wrap.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/types.ts": "4c26fb74ba2e45de553c15014c916df6789529a93171e450d5afb016b4c765e7", - "https://deno.land/std@0.162.0/node/internal_binding/udp_wrap.ts": "c4d98462a713e77a4bfa58cbc62207fae3fbe0b3e288cdbb9f7ff829ea12ad21", - "https://deno.land/std@0.162.0/node/internal_binding/url.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/util.ts": "faf5146c3cc3b2d6c26026a818b4a16e91488ab26e63c069f36ba3c3ae24c97b", - "https://deno.land/std@0.162.0/node/internal_binding/uv.ts": "8c5b971a7e5e66584274fcb8aab958a6b3d5a6232ee8b3dec09b24047d6c008d", - "https://deno.land/std@0.162.0/node/internal_binding/v8.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/worker.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/internal_binding/zlib.ts": "e292217d048a33573966b7d25352828d3282921fbcadce8735a20fb3da370cc4", - "https://deno.land/std@0.162.0/node/process.ts": "964d33a7485954d9ea7284ad797cc055d7384c49899327a5b7e4a57b060f302a", - "https://deno.land/std@0.162.0/node/stream.ts": "2c6d5d207d0ad295f396b34fd03a908c1638beb1754bc9c1fccd9a4cdcace8be", - "https://deno.land/std@0.162.0/node/string_decoder.ts": "51ce85a173d2e36ac580d418bb48b804adb41732fc8bd85f7d5d27b7accbc61f", - "https://deno.land/std@0.162.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", - "https://deno.land/std@0.162.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", - "https://deno.land/std@0.162.0/path/_util.ts": "d16be2a16e1204b65f9d0dfc54a9bc472cafe5f4a190b3c8471ec2016ccd1677", - "https://deno.land/std@0.162.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", - "https://deno.land/std@0.162.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee", - "https://deno.land/std@0.162.0/path/mod.ts": "56fec03ad0ebd61b6ab39ddb9b0ddb4c4a5c9f2f4f632e09dd37ec9ebfd722ac", - "https://deno.land/std@0.162.0/path/posix.ts": "6b63de7097e68c8663c84ccedc0fd977656eb134432d818ecd3a4e122638ac24", - "https://deno.land/std@0.162.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", - "https://deno.land/std@0.162.0/path/win32.ts": "ee8826dce087d31c5c81cd414714e677eb68febc40308de87a2ce4b40e10fb8d", - "https://deno.land/std@0.162.0/streams/conversion.ts": "555c6c249f3acf85655f2d0af52d1cb3168e40b1c1fa26beefea501b333abe28", - "https://deno.land/std@0.162.0/testing/_diff.ts": "a23e7fc2b4d8daa3e158fa06856bedf5334ce2a2831e8bf9e509717f455adb2c", - "https://deno.land/std@0.162.0/testing/_format.ts": "cd11136e1797791045e639e9f0f4640d5b4166148796cad37e6ef75f7d7f3832", - "https://deno.land/std@0.162.0/testing/asserts.ts": "1e340c589853e82e0807629ba31a43c84ebdcdeca910c4a9705715dfdb0f5ce8", - "https://deno.land/x/code_block_writer@11.0.3/mod.ts": "2c3448060e47c9d08604c8f40dee34343f553f33edcdfebbf648442be33205e5", - "https://deno.land/x/code_block_writer@11.0.3/utils/string_utils.ts": "60cb4ec8bd335bf241ef785ccec51e809d576ff8e8d29da43d2273b69ce2a6ff", - "https://deno.land/x/denoflate@1.2.1/mod.ts": "f5628e44b80b3d80ed525afa2ba0f12408e3849db817d47a883b801f9ce69dd6", - "https://deno.land/x/denoflate@1.2.1/pkg/denoflate.js": "b9f9ad9457d3f12f28b1fb35c555f57443427f74decb403113d67364e4f2caf4", - "https://deno.land/x/denoflate@1.2.1/pkg/denoflate_bg.wasm.js": "d581956245407a2115a3d7e8d85a9641c032940a8e810acbd59ca86afd34d44d", - "https://deno.land/x/esbuild@v0.14.51/mod.d.ts": "c142324d0383c39de0d7660cd207a7f7f52c7198a13d7d3281c0d636a070f441", - "https://deno.land/x/esbuild@v0.14.51/mod.js": "7432566c71fac77637822dc230319c7392a2d2fef51204c9d12c956d7093c279", - "https://deno.land/x/esbuild@v0.14.51/wasm.d.ts": "c142324d0383c39de0d7660cd207a7f7f52c7198a13d7d3281c0d636a070f441", - "https://deno.land/x/esbuild@v0.14.51/wasm.js": "afc1b6927543b664af60ce452c4929e5dc2bb9a0f4ed47b446a6431847c7598e", - "https://deno.land/x/esbuild_deno_loader@0.5.2/deps.ts": "bf83c27b7787b2f245fa0bc0b99f5041aa949c000a81c016cfe828d06b476d37", - "https://deno.land/x/esbuild_deno_loader@0.5.2/mod.ts": "bc111a68f323dbdb6edec68dd558ab732b27866d2ef304708872d763387b65d7", - "https://deno.land/x/esbuild_deno_loader@0.5.2/src/deno.ts": "0e83ccabbe2b004389288e38df2031b79eb347df2d139fce9394d8e88a11f259", - "https://deno.land/x/esbuild_deno_loader@0.5.2/src/native_loader.ts": "343854a566cf510cf25144f7c09fc0c1097780a31830305142a075d12bb697ba", - "https://deno.land/x/esbuild_deno_loader@0.5.2/src/portable_loader.ts": "35b6c526eed8c2c781a3256b23c30aa7cce69c0ef1d583c15528663287ba18a3", - "https://deno.land/x/esbuild_deno_loader@0.5.2/src/shared.ts": "b64749cd8c0f6252a11498bd8758ef1220003e46b2c9b68e16da63fd7e92b13a", - "https://deno.land/x/fresh@1.1.1/dev.ts": "a66c7d64be35bcd6a8e12eec9c27ae335044c70363a241f2e36ee776db468622", - "https://deno.land/x/fresh@1.1.1/server.ts": "f379c9aad24471a71e58fb887fa57e5cc27ad9df035987eb260541c78df38e84", - "https://deno.land/x/fresh@1.1.1/src/dev/deps.ts": "de5470828c17839c0b52c328e6709f3477740b9800deaf724d6569b64b1d3872", - "https://deno.land/x/fresh@1.1.1/src/dev/error.ts": "21a38d240c00279662e6adde41367f1da0ae7e2836d993f818ea94aabab53e7b", - "https://deno.land/x/fresh@1.1.1/src/dev/mod.ts": "f5836b2eccd0efd7c0a726a121f174a974daefc22058f759f07d4df56c46e978", - "https://deno.land/x/fresh@1.1.1/src/runtime/csp.ts": "9ee900e9b0b786057b1009da5976298c202d1b86d1f1e4d2510bde5f06530ac9", - "https://deno.land/x/fresh@1.1.1/src/runtime/head.ts": "0f9932874497ab6e57ed1ba01d549e843523df4a5d36ef97460e7a43e3132fdc", - "https://deno.land/x/fresh@1.1.1/src/runtime/utils.ts": "8320a874a44bdd5905c7d4b87a0e7a14a6c50a2ed133800e72ae57341e4d4faa", - "https://deno.land/x/fresh@1.1.1/src/server/bundle.ts": "f529a54ea5e078b9bd94c64c2ad345a3ba763b39c25b6e61f90629bdfa39c2ff", - "https://deno.land/x/fresh@1.1.1/src/server/constants.ts": "ad10dda1bc20c25c2926f6a8cfd79ef4368d70b4b03a645f65c04b3fa7d93a8c", - "https://deno.land/x/fresh@1.1.1/src/server/context.ts": "b385b982de2e5ee6e543dd56aad0e88f8f8fe5d9497909cf16caaf23b4d88b62", - "https://deno.land/x/fresh@1.1.1/src/server/default_error_page.ts": "1155ac98b3729bf2e51be730af507e431db0ee43ac84c86f1c022a831b310106", - "https://deno.land/x/fresh@1.1.1/src/server/deps.ts": "1c4e05b7d6e4eecc0012c9ec30ee587d8f533ab67c2bcb59048ed5f76841a770", - "https://deno.land/x/fresh@1.1.1/src/server/htmlescape.ts": "834ac7d0caa9fc38dffd9b8613fb47aeecd4f22d5d70c51d4b20a310c085835c", - "https://deno.land/x/fresh@1.1.1/src/server/mod.ts": "72d213444334dd2e94c757a0eee0fc486c0919399ea9184d07ad042f34edd00d", - "https://deno.land/x/fresh@1.1.1/src/server/render.ts": "6f50707bd1f6e33ed84bb71ae3b0996d202b953cefc4285f5356524c7b21f01f", - "https://deno.land/x/fresh@1.1.1/src/server/types.ts": "dde992ab4ee635df71a7fc96fe4cd85943c1a9286ea8eb586563d5f5ca154955", - "https://deno.land/x/importmap@0.2.1/_util.ts": "ada9a9618b537e6c0316c048a898352396c882b9f2de38aba18fd3f2950ede89", - "https://deno.land/x/importmap@0.2.1/mod.ts": "ae3d1cd7eabd18c01a4960d57db471126b020f23b37ef14e1359bbb949227ade", - "https://deno.land/x/rutt@0.0.13/mod.ts": "af981cfb95131152bf50fc9140fc00cb3efb6563df2eded1d408361d8577df20", - "https://deno.land/x/ts_morph@16.0.0/common/DenoRuntime.ts": "537800e840d0994f9055164e11bf33eadf96419246af0d3c453793c3ae67bdb3", - "https://deno.land/x/ts_morph@16.0.0/common/mod.ts": "01985d2ee7da8d1caee318a9d07664774fbee4e31602bc2bb6bb62c3489555ed", - "https://deno.land/x/ts_morph@16.0.0/common/ts_morph_common.d.ts": "39f2ddefd4995e4344236c44c2bf296069149f45ef6f00440b56e7b32cb2b3bd", - "https://deno.land/x/ts_morph@16.0.0/common/ts_morph_common.js": "7d908bf4f416aa96de956dc11ecc83b585bed297e16418d496ca04a3481067e0", - "https://deno.land/x/ts_morph@16.0.0/common/typescript.d.ts": "df7dd83543f14081ca74918d5a80ff60f634f465746cf2aff8924b28bcc3b152", - "https://deno.land/x/ts_morph@16.0.0/common/typescript.js": "5c59651248a4c41b25fa7beee8e0d0d0fab5f439fa72d478e65abd8241aa533c", - "https://deno.land/x/ts_morph@16.0.0/mod.ts": "adba9b82f24865d15d2c78ef6074b9a7457011719056c9928c800f130a617c93", - "https://deno.land/x/ts_morph@16.0.0/ts_morph.d.ts": "38668b0e3780282a56a805425494490b0045d1928bd040c47a94095749dab8c3", - "https://deno.land/x/ts_morph@16.0.0/ts_morph.js": "9fc0f3d6a3997c2df023fabc4e529d2117d214ffd4fd04247ca2f56c4e9cd470", - "https://esm.sh/*preact-render-to-string@5.2.4": "d842c8cc5fd405b3363bd641817a78df483c71099f53ca0c1cc16c40e2229def", - "https://esm.sh/@graphql-tools/schema@9.0.9?external=graphql": "1815a5e266431785a1447bc76a6aa2a25b194504e6e20227700dc61ce86f83fe", - "https://esm.sh/@graphql-tools/utils@9.1.0?external=graphql": "cda40034d64d06c5345500db5fc68947ffe95e115a87d21524e1edaf0ce20fb8", - "https://esm.sh/@graphql-yoga/common@2.12.12?external=graphql": "6cb60abfd0ca27ffa31e7eb5305e6dba3b608581e8b01f5ef6c584106476b237", - "https://esm.sh/graphql@16.6.0": "449d8760c465b28b01fe981d4fc10e4c4cdc782b1c6728a9d70999fbf269f55d", - "https://esm.sh/preact@10.11.0": "e888b244446037c56f1881173fb51d1f5fa7aae5599e6c5154619346a6a5094e", - "https://esm.sh/preact@10.11.0/hooks": "2b8ec155eb8b87501663f074acff1d55a9114fa7d88f0b39da06c940af1ff736", - "https://esm.sh/stable/preact@10.11.0/deno/hooks.js": "48b7674c1f0c2a0f8a0f758b786f5bc15ba0f7a4f3a356ecc783848f1e4a1c55", - "https://esm.sh/stable/preact@10.11.0/deno/preact.js": "071b515099e5dff2fe56768be62644e32fab702b194171357ccc4d7d1210144a", - "https://esm.sh/v95/preact-render-to-string@5.2.4/X-ZS8q/deno/preact-render-to-string.js": "75aad97b00d5ad63383de7f729a3f1fea59e69a9b876db5551d9c746ed372f82", - "https://esm.sh/v95/preact-render-to-string@5.2.4/X-ZS8q/src/index.d.ts": "b1d73703252c8570fdf2952475805f5808ba3511fefbd93a3e7bd8406de7dcd0", - "https://esm.sh/v95/preact@10.11.0/hooks/src/index.d.ts": "5c29febb624fc25d71cb0e125848c9b711e233337a08f7eacfade38fd4c14cc3", - "https://esm.sh/v95/preact@10.11.0/src/index.d.ts": "1a5c331227be54be6515b0c92a469d352834fa413963ae84a39a05a3177111f6", - "https://esm.sh/v95/preact@10.11.0/src/jsx.d.ts": "c423715fd7992b2e1446fea11d2d04e8adbd66c1edca1ce5e85f90e0d26a2eb2", - "https://esm.sh/v96/graphql@16.6.0/deno/graphql.js": "d01aa2210920f85d1bca548097d0ce0a4fc20d5e0806ac22f26b86ba5c1f8830", - "https://esm.sh/v96/graphql@16.6.0/error/GraphQLError.d.ts": "e159a655d3f485425c0b36d3708b53fb7b8455d56d17f634f5ac0c5a5b815ecf", - "https://esm.sh/v96/graphql@16.6.0/error/index.d.ts": "1a01eb6f84f3504a0b670315329b98f5f9b61611d4ee7b361814200df392eca3", - "https://esm.sh/v96/graphql@16.6.0/error/locatedError.d.ts": "b3ade7da9ad22c24c27df44efc111e867d99463d917604c7a77960f70193ad74", - "https://esm.sh/v96/graphql@16.6.0/error/syntaxError.d.ts": "066436cecb56b4b8804d0f026e1571a5dfc493fd8a659022c68bfd23d7521aae", - "https://esm.sh/v96/graphql@16.6.0/execution/execute.d.ts": "1c92b5c17a4e4649251e30adf66aa197338001f3536114454cdd69d5eacab312", - "https://esm.sh/v96/graphql@16.6.0/execution/index.d.ts": "a55365732f05ba33ff616a42455c3ab3a298d0a6985660b7a3c110b43c14adea", - "https://esm.sh/v96/graphql@16.6.0/execution/subscribe.d.ts": "7157bc34ca12dfe18e5d0bba4457974d3eed5f1500c3a2272ea38e5f167edf84", - "https://esm.sh/v96/graphql@16.6.0/execution/values.d.ts": "2f20a447381ffa39718f945164b568afb88fcbc2833c6e7bb5bf6047e126a1ea", - "https://esm.sh/v96/graphql@16.6.0/graphql.d.ts": "ff31dcf3082db50c7f17ff648a9d643ef51e11ee2f39ae42197e9a394f86397b", - "https://esm.sh/v96/graphql@16.6.0/index.d.ts": "cb6fa55717e3b1113291bc4a29a9a25a01b90f5870b6fb65a33acadbdda54dda", - "https://esm.sh/v96/graphql@16.6.0/jsutils/Maybe.d.ts": "0804044cd0488cb7212ddbc1d0f8e1a5bd32970335dbfc613052304a1b0318f9", - "https://esm.sh/v96/graphql@16.6.0/jsutils/ObjMap.d.ts": "85084ae98c1d319e38ef99b1216d3372a9afd7a368022c01c3351b339d52cb58", - "https://esm.sh/v96/graphql@16.6.0/jsutils/Path.d.ts": "04825c22d0c91a56dc4311b003d822d12e5b79738309812dc3e27a1e637a8deb", - "https://esm.sh/v96/graphql@16.6.0/jsutils/PromiseOrValue.d.ts": "692345a43bac37c507fa7065c554258435ab821bbe4fb44b513a70063e932b45", - "https://esm.sh/v96/graphql@16.6.0/language/ast.d.ts": "c0de0da50d66fc80f5547b0216b21fb14fa3a0268ee9f23c41e1e3b8e793ab5e", - "https://esm.sh/v96/graphql@16.6.0/language/directiveLocation.d.ts": "de21641eb8edcbc08dd0db4ee70eea907cd07fe72267340b5571c92647f10a77", - "https://esm.sh/v96/graphql@16.6.0/language/index.d.ts": "a4d5ef68f7f3689b289cb4599eb76fe00451e92aa7bd1077e48f1414584ded9e", - "https://esm.sh/v96/graphql@16.6.0/language/kinds.d.ts": "cddd50d7bd9d7fddda91a576db9f61655d1a55e2d870f154485812f6e39d4c15", - "https://esm.sh/v96/graphql@16.6.0/language/lexer.d.ts": "8d327131db69a9cc4d01e3473d842b6a81e4dc4715a279a859653811294932aa", - "https://esm.sh/v96/graphql@16.6.0/language/location.d.ts": "ffbafb3cf8c8e4b3c1b4641cfa1baae87c5b4dc31b3fed0a7a0d05dbc57e76cc", - "https://esm.sh/v96/graphql@16.6.0/language/parser.d.ts": "4169aa26c69995385813dd3ee5c6c736d9fb690dc58c5b88dcef398dd11d38ac", - "https://esm.sh/v96/graphql@16.6.0/language/predicates.d.ts": "5ba295c85c52a4684099e49666f3e4f79b58a3864382d05df2d9114707aeebb4", - "https://esm.sh/v96/graphql@16.6.0/language/printLocation.d.ts": "138c4e6156194af1d8b636a9fa9b186f37e4859d34145005efeec880017306f1", - "https://esm.sh/v96/graphql@16.6.0/language/printer.d.ts": "9b3109d918ed04878463d75d466fecf531d6116d0e67f24f40d4534108e20b0d", - "https://esm.sh/v96/graphql@16.6.0/language/source.d.ts": "b725acb041d2a18fde8f46c48a1408418489c4aa222f559b1ef47bf267cb4be0", - "https://esm.sh/v96/graphql@16.6.0/language/tokenKind.d.ts": "0539583b089247b73a21eb4a5f7e43208a129df6300d6b829dc1039b79b6c8c4", - "https://esm.sh/v96/graphql@16.6.0/language/visitor.d.ts": "eb8528e4f841d4140f8cba3b14cdd5818b1762dba169e7b34bed388e86d6472f", - "https://esm.sh/v96/graphql@16.6.0/subscription/index.d.ts": "84983e86669718e816659194b9ba6027450c27a4639c5a594469a65b2f954320", - "https://esm.sh/v96/graphql@16.6.0/type/assertName.d.ts": "93551b302a808f226f0846ad8012354f2d53d6dedc33b540d6ca69836781a574", - "https://esm.sh/v96/graphql@16.6.0/type/definition.d.ts": "fa119fee8bb68f72f594d140d7ac6197f01876dc97cbffa997b8d7c8130ca2af", - "https://esm.sh/v96/graphql@16.6.0/type/directives.d.ts": "23c2cd1bfcf77e553473abcfb680f4bd07d13724fdac32fffd8456b5e91ffc92", - "https://esm.sh/v96/graphql@16.6.0/type/index.d.ts": "d755a8b8126be4f2897ff960acbbb8e9d296477c87d0995eb183944ba35be390", - "https://esm.sh/v96/graphql@16.6.0/type/introspection.d.ts": "07f55b346cc584b7f60257203fe50d26eb88f609f76a4e890a1a36b7e8734d6c", - "https://esm.sh/v96/graphql@16.6.0/type/scalars.d.ts": "252d65207e62ea620ed3d029d01432b6c33089600a9243e1dc416bd98bf17cd0", - "https://esm.sh/v96/graphql@16.6.0/type/schema.d.ts": "e20e9dc6352b6f3a2c9a8ed9c32e64c4c21169304f143a1d45d03cdcec63a9d3", - "https://esm.sh/v96/graphql@16.6.0/type/validate.d.ts": "b8f483899f4839f1e114835758de5e873de74ef5eeb0eb58fbc26a517f641e67", - "https://esm.sh/v96/graphql@16.6.0/utilities/TypeInfo.d.ts": "b03c27aa5f09538bea6c6560b96871de11b8d039b960ebed18cd614fbadd8142", - "https://esm.sh/v96/graphql@16.6.0/utilities/assertValidName.d.ts": "a04cddbcc7c0fb9bffaebcead4d8a8bcdd7cf85ed6a81e1182f62f8b7943604f", - "https://esm.sh/v96/graphql@16.6.0/utilities/astFromValue.d.ts": "15d2318d24385a537ffb7a40b96d7e7d0911fd6a9e1e583ffe3dd4e8228af179", - "https://esm.sh/v96/graphql@16.6.0/utilities/buildASTSchema.d.ts": "ad11a2133d50f9465e9fcb6f3f3e588aeb7e3304b9f8bd70e762d6fc7a47ccf3", - "https://esm.sh/v96/graphql@16.6.0/utilities/buildClientSchema.d.ts": "d995470b2818ec46d05ee07a7b281da57965f97f89b94674f4302cf55b97c35e", - "https://esm.sh/v96/graphql@16.6.0/utilities/coerceInputValue.d.ts": "4335cc780470cc8d6c3f4d2605b9cbdce5b0f0a55d83e1e819298a3e3127cf2d", - "https://esm.sh/v96/graphql@16.6.0/utilities/concatAST.d.ts": "3c0c5717e388beb392ef2dea8e05f205567359a142450649b7824bf5d24cc268", - "https://esm.sh/v96/graphql@16.6.0/utilities/extendSchema.d.ts": "b20bfaa02b7a07613671ac97e7e039686b753bb1f3a1dd858040e48d2aa3dc0d", - "https://esm.sh/v96/graphql@16.6.0/utilities/findBreakingChanges.d.ts": "625759a187b8bb49ae45b267cfe4247645a81622ac21ec4a11505296a69e4639", - "https://esm.sh/v96/graphql@16.6.0/utilities/getIntrospectionQuery.d.ts": "6c221c8e1f1558589d9b10af54b33271902549d19f55903d8016aa9bb2cfd21e", - "https://esm.sh/v96/graphql@16.6.0/utilities/getOperationAST.d.ts": "e9e5e409afe16dcc5c77dcad421f9d7b9cf5d306c40eb3fc6d16de3608d7e8dd", - "https://esm.sh/v96/graphql@16.6.0/utilities/getOperationRootType.d.ts": "394faab9d5e96aa7ca7ae0d1aa8f6631f30b3953c6d103dc60c5e6f399d64d1a", - "https://esm.sh/v96/graphql@16.6.0/utilities/index.d.ts": "8d17bdce4f6418e849dc36acb526b58616e09a1ca9ae0ff80b19215de5d34a3a", - "https://esm.sh/v96/graphql@16.6.0/utilities/introspectionFromSchema.d.ts": "026e29e1fdb15c90101e6fc2d0de9c9359f00bed11f59e99dc4f24f27e1a6998", - "https://esm.sh/v96/graphql@16.6.0/utilities/lexicographicSortSchema.d.ts": "feba0aea7626ea869b66e92c4ebdbe4eebb5ed835ea4bad1560d9cca794fb7aa", - "https://esm.sh/v96/graphql@16.6.0/utilities/printSchema.d.ts": "b68ade7170ed28e70e60d79daf8481d5c7dc9edc32ef8c701d8eddaa3ce7966d", - "https://esm.sh/v96/graphql@16.6.0/utilities/separateOperations.d.ts": "f35b4afc17d4f89c4c002e439e5a2158e48607a0e5ec3e0ee3ac24dff16e1e45", - "https://esm.sh/v96/graphql@16.6.0/utilities/stripIgnoredCharacters.d.ts": "85a10f6044c31c62614926e641224fc517b9f81387480d752aa38ab7144ee65a", - "https://esm.sh/v96/graphql@16.6.0/utilities/typeComparators.d.ts": "9e5c2253b16fbf40e6ca5e8d1c6296f2fc78b9ef39d6d26b426023b5a46ca413", - "https://esm.sh/v96/graphql@16.6.0/utilities/typeFromAST.d.ts": "e962d436a30ccbc5d0ec78f1353a9bfdff70dd37be2d78826d170db680a01ab9", - "https://esm.sh/v96/graphql@16.6.0/utilities/typedQueryDocumentNode.d.ts": "20822a47f9603f6cf1afcb8d03877e7e6df31e35e23512c342da483ae96cdc73", - "https://esm.sh/v96/graphql@16.6.0/utilities/valueFromAST.d.ts": "d6f0ecc5e81dc587c12ce13b8fabe4cae34e2d48b9e110f870ef0b1da750c56e", - "https://esm.sh/v96/graphql@16.6.0/utilities/valueFromASTUntyped.d.ts": "1dc2a364d7a9d01551943328d6eb1290fc58cb6752175dfa03b4643f9afd5749", - "https://esm.sh/v96/graphql@16.6.0/validation/ValidationContext.d.ts": "df3d7794e19fe25a99a059c24a21add7bac20603ced76427d75954c59aa08539", - "https://esm.sh/v96/graphql@16.6.0/validation/index.d.ts": "fb30d5013548d8523c93e0690e9d22f8bb9860a3642b321540415141a51b55b6", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/ExecutableDefinitionsRule.d.ts": "8454a6c5b1acda7b347481d7b2af01be949ad11911c4275e1eee715e71c1188f", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/FieldsOnCorrectTypeRule.d.ts": "c32bf36b240ae9755ac069eda92a3d14dc278e03fd3df427b201ac378be9caf6", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/FragmentsOnCompositeTypesRule.d.ts": "909c18363f4e5bc40a330ede0ca2ddeddd02b2f35570a34566be91de2b188bae", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/KnownArgumentNamesRule.d.ts": "69bdeaf020f698af81bee7cbb23a42b7028c252cf364803887ed6eb66897f18a", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/KnownDirectivesRule.d.ts": "2881fd9456e4140dccae964730d81fd39786fc69b95f8d318f50554acaef3a23", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/KnownFragmentNamesRule.d.ts": "63e4f51e7bf7239b37f7b4a787aea5a3c1ef907f3704b356e7979cbfae8e9815", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/KnownTypeNamesRule.d.ts": "2c0e2b1d1490ec2e959629fcb8d527068c8ddf46a741f40ceb83e7819a3954fb", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/LoneAnonymousOperationRule.d.ts": "105c4808216162b62e9b61b45d473cbaa6325387d15912fda0cd61909336eaf6", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/LoneSchemaDefinitionRule.d.ts": "120b67b53313e30df5cf33143d9e30952d107c7e24bc156c97a733832bb31627", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/NoFragmentCyclesRule.d.ts": "3beec9071b14808974fe3be17da00631ea71078cf909a17f6a255f8ba650585d", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/NoUndefinedVariablesRule.d.ts": "4d7b5f2d27c2d34426ed35823366c152313d431f5ae68189d427439906defa45", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/NoUnusedFragmentsRule.d.ts": "48a8e4453a82be99c93772c044992a94f5241d89e35cf3ecce00b036fbb69970", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/NoUnusedVariablesRule.d.ts": "3fe2527b2426e54f2b514e375c6beccd2196949c38c082f35f9634bd5c973d79", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts": "767df82d75672cb6fde6fd1829e0ac01f5be22afc2bc211b42df325020aa0e1e", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/PossibleFragmentSpreadsRule.d.ts": "5a3eb51ee4c5f2e160d0042dad4ad68d7d174451234702681f1b3be89f167c6a", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/PossibleTypeExtensionsRule.d.ts": "5e04fa03b9c0f229d8719b56b3edaea30183d9469e9beb5e2eadf7b4d1e0e070", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/ProvidedRequiredArgumentsRule.d.ts": "58830083d772c62f2da1124b5395fe22d7baa6e0c52760665d10d1320ecdc1d0", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/ScalarLeafsRule.d.ts": "5310c224710108ffe0f20a1936f68f8c0bd8494d58a7472b2e64032dabb02ff0", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/SingleFieldSubscriptionsRule.d.ts": "c415e18b205b9c6b8b638e033a1840ffe2c853aad276c625ef40e0a93cb13777", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueArgumentDefinitionNamesRule.d.ts": "9cfe1d2a22ab3373008c4facb0e93249c339a022771f9e7148ae8bf746dec306", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueArgumentNamesRule.d.ts": "937d36e6fa5e556db03bfc8b7dae2b4084615a3a04fe7bf33c42a9e58cbfe9b1", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueDirectiveNamesRule.d.ts": "480f2231f3b4fdba191bc41bcbac419cc52cbbe7254565acc4765b7341178e02", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueDirectivesPerLocationRule.d.ts": "8d2ee0da940569765e14aec5643e36fbf704588e8877caa7f4e013be390953b3", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueEnumValueNamesRule.d.ts": "ea836d0d64bdcd40863cbaea81fcd27ef2ce25edec199a83566ab8b047adc1cc", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueFieldDefinitionNamesRule.d.ts": "1d7799efeba0bcda4b60c69527fb5fd883e3b08cd8a3ff699775954e71e67544", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueFragmentNamesRule.d.ts": "f34d55fefbf5d2e8aac8618c0946bda11f9a8c0e0fcd229e0fd23cf333be6b82", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueInputFieldNamesRule.d.ts": "77893d504d2dfa4b23da4b782db7be1c87ce0e5bf95b4eee94f99069f5d95149", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueOperationNamesRule.d.ts": "7b06a1fbcf59b1e813f4d3ec927577509d1af72fc0992d8b2a8d8d8b1d130f1f", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueOperationTypesRule.d.ts": "3b8697a7966e75183c04fb51d52719e8b034862a348c410c959fab67b58186d9", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueTypeNamesRule.d.ts": "6d3d34e4b3395dfa9f172765adf8bf43b9f6f5322b964ec259a3f8f08fc34377", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/UniqueVariableNamesRule.d.ts": "4949aa45d8935bb490af56a3ad22e949c025acf3e3048f92ab7d7f1b6bbe9b79", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/ValuesOfCorrectTypeRule.d.ts": "4661484bcd29ba1bdc1594d78b680c67d2c7272c543875cc00fa2b266f792944", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/VariablesAreInputTypesRule.d.ts": "6cf690ecc80ba6ee80295fa603f8784d1d350e5aff714d3395a2a6a01dd95a1d", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/VariablesInAllowedPositionRule.d.ts": "687e163caf5f10a4be9d741f9cc44b6250e4d2a7be1ce1850dc8ee4fc99c2cd3", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/custom/NoDeprecatedCustomRule.d.ts": "0976e4bdd8240761f0d9d2fc8508c5c4ca8471da20c146f6f60ea3a3564f536f", - "https://esm.sh/v96/graphql@16.6.0/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts": "2908b5c5454ee19dd83d8993f3189d1428b2954de59a8d672df7e6a8e22e09cb", - "https://esm.sh/v96/graphql@16.6.0/validation/specifiedRules.d.ts": "077f1d6f6e2ab604af4a0d963e8469c6b7fae98a5b9febbba0e31e75f9b820b5", - "https://esm.sh/v96/graphql@16.6.0/validation/validate.d.ts": "507246f5474832222d374254f1d802a620e8abca0bf83db425f4585356d5be87", - "https://esm.sh/v96/graphql@16.6.0/version.d.ts": "78647004e18e4c16b8a2e8345fca9267573d1c5a29e11ddfee71858fd077ef6e", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/deno/core.js": "b0299dccd290b6e89c629e26a14accfa880e57e2fd0c07713df195563e838ed4", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/create.d.ts": "f43dce2875f1fca0d153a6b622ae8762bb7dbcefbb66e93ccd707c34b0e7d7ce", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/enable-if.d.ts": "48edbe763b305785c976912cd4c77f69eb9fc8d1a242aae37b8450dc59fab2d1", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/index.d.ts": "30f7814799da090d428a92bd2e2a901497577cacf4dd83be788e837194ad33ad", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/plugins/use-envelop.d.ts": "ff53ed7524ba77855d3965878f525e357230306d801c51c29d43c832460cf293", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/plugins/use-error-handler.d.ts": "190d490b2be9d45e35100ef56847a112cc65d78d7c4a319f9f8afcb8514c83ce", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/plugins/use-extend-context.d.ts": "bdec145aaed3ee880b8e169af5509ed5cd3df0125ad8b532e1951ed1b6b513f0", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/plugins/use-immediate-introspection.d.ts": "0eb6ece465cca8f21115e7a2e4ae0f76262ff540c6ff75d5e1289506458e3c8f", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/plugins/use-logger.d.ts": "65107f3da7df419344cc44d573c0a4775db17f6189b23bc012699c597dc2ea5e", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/plugins/use-masked-errors.d.ts": "9fc85cfb15eb583d2dcfaae2e7fbc1430d07c56b3a3ee2c42bd0c7e424f74af1", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/plugins/use-payload-formatter.d.ts": "c0ce27665a5ef8110f74f92e2db6b869459be5cc12c964af2258fefc27125a00", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/plugins/use-schema.d.ts": "ea2b69b78bc1f0b1c8c4bf6170d5c75d84d9226c85db6bba9a327ab3fa42b69d", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/plugins/use-timing.d.ts": "d86fafa4f95cd721a84be83f255e61424a34267bef4db901c401bf2ee48b8493", - "https://esm.sh/v98/@envelop/core@2.6.0/X-ZS9ncmFwaHFs/typings/utils.d.ts": "cdda9310527642c515a1d681671be4660b75158327137e3f4021e653e5b9befb", - "https://esm.sh/v98/@envelop/parser-cache@4.7.0/X-ZS9ncmFwaHFs/deno/parser-cache.js": "fea8a70a97df0d68349f86667a176e93ba278624c3e04de5710eafd15136d193", - "https://esm.sh/v98/@envelop/parser-cache@4.7.0/X-ZS9ncmFwaHFs/typings/index.d.ts": "04895809c241588fa49f606214b38100486d0b21b780b2c9f79c12c9742b216f", - "https://esm.sh/v98/@envelop/types@2.4.0/X-ZS9ncmFwaHFs/deno/types.js": "96f319f3e11249756b4246b9fd7d2058a487470818205c6ae3eecaf2b8609673", - "https://esm.sh/v98/@envelop/types@2.4.0/X-ZS9ncmFwaHFs/typings/context-types.d.ts": "213b527bd53a3f809d3046d9137c30adfdfeed89ee14b3c00daf59fd84856675", - "https://esm.sh/v98/@envelop/types@2.4.0/X-ZS9ncmFwaHFs/typings/get-enveloped.d.ts": "d1e03ae3d70b18824c4fcec0b3b88d0c6117c13cdeeaa2132bdad57a93b13501", - "https://esm.sh/v98/@envelop/types@2.4.0/X-ZS9ncmFwaHFs/typings/graphql.d.ts": "95924685f374f8596c467c3e5afdae6ccf237a6d6cc777c4994041666493b742", - "https://esm.sh/v98/@envelop/types@2.4.0/X-ZS9ncmFwaHFs/typings/hooks.d.ts": "bcd4088c262a4fee8c95c9eff320d82210b996f15dc1a4a97d7d678a90a53902", - "https://esm.sh/v98/@envelop/types@2.4.0/X-ZS9ncmFwaHFs/typings/index.d.ts": "ae324a3b3bfdbda3f2d7146f4cfc0cfef26f1f5867d2096f38613b4de183576c", - "https://esm.sh/v98/@envelop/types@2.4.0/X-ZS9ncmFwaHFs/typings/plugin.d.ts": "e76847611af684eb63e7f3122469ebf337b796ea86c087bea33f3a63124783b7", - "https://esm.sh/v98/@envelop/types@2.4.0/X-ZS9ncmFwaHFs/typings/utils.d.ts": "fb279619075a904dabc51cb1aeceacfde4da20b5f8f664c72d97a1241d00a5f4", - "https://esm.sh/v98/@envelop/validation-cache@4.7.0/X-ZS9ncmFwaHFs/deno/validation-cache.js": "2b7ce860e013652df68bec6e25ef7e04eab844412e5324631b8c30b9548bc014", - "https://esm.sh/v98/@envelop/validation-cache@4.7.0/X-ZS9ncmFwaHFs/typings/index.d.ts": "6d99428add74a9e2df274b7ae2a516a18202e9ff94500d5791e4a77e042c20c7", - "https://esm.sh/v98/@graphql-tools/merge@8.3.11/X-ZS9ncmFwaHFs/deno/merge.js": "6ec91333c3892d84e7c7551f45eb8918449bae4ffb2360efefeb4f69d51ac6de", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/deno/schema.js": "ff27e50ebfde443f45836a6666a335901a4f1333ef179a530e1d384b56ad29ea", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/typings/addResolversToSchema.d.ts": "f93d5c16c11cd3d3eaa86d86aaa9c6722952e1f36669aa3dcb944b3b36fc5625", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/typings/assertResolversPresent.d.ts": "2ce1c3f08449b9f4d543fe992ebed3797a00dd661312f27eba272fe4e28a76be", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/typings/chainResolvers.d.ts": "280999544ca81a93a5eea4c53436ec8812ea5886aa6dafefcd5e68a488f011c6", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/typings/checkForResolveTypeResolver.d.ts": "30440ca92505c088cda567d624634d8e9fd034883733985e0ad172f5d8833803", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/typings/extendResolversFromInterfaces.d.ts": "cb83a98ab6d2d63b1d566deb619ee160c86f722db0a69b17f3ef9e5ba1f3413e", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/typings/index.d.ts": "a97bd2c7aeeb2db6a918b51426bd61f256ec839642bce9cfbc50ec46bba51a72", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/typings/makeExecutableSchema.d.ts": "e46b263e73dfe23415d3ef1c1e0853a8f7ca164bfdef796eff91f7d87155bf29", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/typings/merge-schemas.d.ts": "cf898d2ad6fa2535fffdd46816901eca403c63331504b0ca3e178d4bd0ae7231", - "https://esm.sh/v98/@graphql-tools/schema@9.0.9/X-ZS9ncmFwaHFs/typings/types.d.ts": "10c75baccf8d230d8181cac739423e69ef3d096ff119d1ebf46415efd1be98c8", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/deno/utils.js": "a7ff51c36499ad60f1b975e701f591a7ba10114588a62654283a9be6b9662480", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/AggregateError.d.ts": "2d99e3afe124a3c40300762492a49425df4b8090f771cac8034e233eed31bdb8", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/Interfaces.d.ts": "a846e4602331ef778a955599b43073acde41533c04225b2c45e4e2e77730199f", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/Path.d.ts": "16f8a87c9f17bd2c8c910ac3c33131f4b7dead8a9090738bb1b1186f016e53c3", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/addTypes.d.ts": "2a527df5c4828328fa6b35cf8b8f5bf0640933a4602c517faace7a1c3af0d446", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/astFromValueUntyped.d.ts": "e0f1bf295d165e3e7fdb6bbd9910888e9c5645e19cb4ae4b86303ee5ba2c951d", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/build-operation-for-field.d.ts": "650b748b635b9299a8d2ba23ff02f403aac044a946b7e10bfb95942367bc1489", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/collectFields.d.ts": "df35eb1e5ccd6b597d18655f69dbbe24e8cca39ffe13822158c9756c528faacd", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/comments.d.ts": "c7435cf9698db90f064159615adbab6a553043435371f56000030c602932c462", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/directives.d.ts": "a0cf73046c0cbced0a194418eb5425fe8411221be669eda86673ea614f957fc5", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/errors.d.ts": "ecea0eb2f939419b653ab6647b24652e94b33a42e69aae7476892947993711c9", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/executor.d.ts": "df4809484a1eef9e50a0d8f8b4ac4892b8ea04833acb24055effaf576f3fd046", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/extractExtensionsFromSchema.d.ts": "9f619646a183220c5968e539bde8e0124c1c333be1d87374a394ae97fc6980b7", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/fields.d.ts": "dec52a42c912503c35463f974fb86cb1a772cab001c2c9ed413093845be2f677", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/filterSchema.d.ts": "0cc5af19fd05722bd50737ff142d5945ad8d891b870fee7f6f8a846752154336", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/fixSchemaAst.d.ts": "84107ca9bc4de12b5a1337669ea64b4faddfb6aed21d798d1b6580c35911b614", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/forEachDefaultValue.d.ts": "cb577b2dd7ea937cb345673bfd8590977fb5c3ac3118deaf7469825552e8cc03", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/forEachField.d.ts": "d93b7fdbbea5e4c443769bd135c2818717ff9ea21cccdf8262e74d5d83dfb24a", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/get-arguments-with-directives.d.ts": "b41ff11c82e30f66a0ea0cb4e13aaef24714e3af97b97ec7fd570b1e90e9d983", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/get-directives.d.ts": "6cbfcc72a73f25c47951ebb87118ecc43d04781e02b51236d4fab69dbc63926e", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/get-fields-with-directives.d.ts": "28729340d25e9494883447fb2b64d118fa1af44102a67547a65d9c02d063f958", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/get-implementing-types.d.ts": "dafdf0b0ccb55128f83fe0acaddadfb5d223887a7e8d59a0623860a68b1f59a7", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/getArgumentValues.d.ts": "2873b8fe4083b54fb60dd1d03ee8b22496e41f96a4e536e06cd59a481aba01de", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/getOperationASTFromRequest.d.ts": "b3bccc232ae2cc874926a5fe40764a39d110025ccbffd63eb8d2675c8c320b20", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/getResolversFromSchema.d.ts": "e9ec93dd041ecd737562fdf900a409c257fb5cfd000e16c6f56a131c4be3f7ab", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/getResponseKeyFromInfo.d.ts": "c3789c53874f2aba5a7c21e1ac1e467f95522ba5a0c8f9c8b8c519efa7aec51b", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/heal.d.ts": "8d071caad80707dc1853c718e6372349df8fdd4790ac57550cb243545ac91806", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/helpers.d.ts": "a54442465e1152334910e6533d10e92fbb8b2d36ab0aeadcaeb3f3f151a8a825", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/implementsAbstractType.d.ts": "e71604b8d661c82c70e60ffd6004a835b45bf5f39ba6c4398a98c070bb1addd1", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/index.d.ts": "857aa1be299779eae938ff7880efda70046365094c03657b1debcf018a5b0879", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/inspect.d.ts": "30f861484a42eaa6830f91343556e401e0c9399b851f3a017cef5ffa233e8b98", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/isAsyncIterable.d.ts": "321c7e382d36a823c6bf9ecb6cc8a4e5bf60265b4b37c86fdfcc85973ede2c1d", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/isDocumentNode.d.ts": "34a80ad568a06a539e43bde102bed1fcb8bec196811caa9abc3a0cf44a95fdde", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/jsutils.d.ts": "6b03646cf08ff3e6145e92627af7b0a4e157192ca46373d87ef77685ab6e365d", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/loaders.d.ts": "836af0bc9eefe4ba6fa88ef5fc045418dd736ee5d1fabbedb92d1afe9b463a5a", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/mapAsyncIterator.d.ts": "22f897e17f18b702f8aa1c6e6412fcd33d180f8ef61297fec6c395a2b18d9908", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/mapSchema.d.ts": "011b6527d67c26fc5160d5f152d50d2720ac8b263a56c2ad65501ceab5f6d8e1", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/memoize.d.ts": "a9285abfdde0316f54d665c72c0c2cbd4e12076869f147c4cfc97a8ec5f47e19", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/mergeDeep.d.ts": "095b26151a4ce7b9da003174d4a22db9f867928d3bc7718966d0e95f0c9d160f", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/observableToAsyncIterable.d.ts": "8a0a5c90711b4d4d55b0edf7d097faf872f65d6f7be1a5a42fdcfb62c751a135", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/parse-graphql-json.d.ts": "8e9e9c148cd1a5dfec1d5b2733950774e43c65cef1505373e15b381168b308c1", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/parse-graphql-sdl.d.ts": "58f003b42d9cb5b23c0f0907b228333e423d8b5560f6364fef91a6ad3126e21a", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/print-schema-with-directives.d.ts": "fe5ab8f1d654b7dd27ca702af83207c2dcb1b216eb193b54276bd5e4e4df1bb5", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/prune.d.ts": "04f8fa0a62f8be3d96177b2b5ed3015373103ae8331d5c4ff4f6e92b131b2e7c", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/renameType.d.ts": "d2a2a7be324ab271073676edb22f5de259d4baf5bad32bd2e5545f957f503ac4", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/rewire.d.ts": "ff1f7ea08241096cff8b3116afcc8babfaa1b9e319df043cb4a0c44af8e08034", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/rootTypes.d.ts": "85561bddf43096a73eb5f16e829bb4beee1906b56027dc4a9dfdc5356f36e864", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/selectionSets.d.ts": "4b041587005fb9b4f68ff9efb6bfbeeb5dd643f6a021ac4e97b42d45e7f43a9c", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/stub.d.ts": "b8a25d32e4a2a187e2169f0936416cfcac8926f56166f3895fb5f82942f3150e", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/transformInputValue.d.ts": "ba674c7f55b3b493c7356f3afa4a006233d6dbfc96724333e75a24c77ca9f2d0", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/types.d.ts": "f22b29e768d16d78e366cda2049ad1f6c46303d956a5c3f216e61680372885cc", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/updateArgument.d.ts": "9b48fb7d6521c10569a09921fea776719fab153e4b24d6bf4290fe6fab9be6d3", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/validate-documents.d.ts": "734d5a2f3fbe8fdad562a4819ed3b05501330e1888a281fba39b4244f403e684", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/valueMatchesCriteria.d.ts": "5fc9e50135f4163989ce74b83b68a5ee44d151f04ec44078adbe913c8dad694e", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/visitResult.d.ts": "205e6e4398d5a283928f4faeb8a8fb4bc7beb1e05d0f3e824fc126804e5ec15e", - "https://esm.sh/v98/@graphql-tools/utils@9.1.0/X-ZS9ncmFwaHFs/typings/withCancel.d.ts": "2fc5b4b281cccfd2ed90d0384b2fc521dff07929703adc5d373c7ecfbe1d85e6", - "https://esm.sh/v98/@graphql-typed-document-node/core@3.1.1/X-ZS9ncmFwaHFs/dist/index.d.ts": "233fc0209343fa04c2a458537b4aaed00bed49f5db212a1fe5200dcee6e2fa4e", - "https://esm.sh/v98/@graphql-yoga/common@2.12.12/X-ZS9ncmFwaHFs/deno/common.js": "861e0acab6cb217867b35e954d299d4649ba80153341272ec4b7fb46c315dfcd", - "https://esm.sh/v98/@graphql-yoga/common@2.12.12/X-ZS9ncmFwaHFs/typings/GraphQLYogaError.d.ts": "8a77962ed06a5691ba9dd6dd6ccea91004c4f0f6a5528eeb3b981c759307dc08", - "https://esm.sh/v98/@graphql-yoga/common@2.12.12/X-ZS9ncmFwaHFs/typings/index.d.ts": "243f79209a4dce53b3918e086189871d973a987ce0df2cd05a0fd85c0094863d", - "https://esm.sh/v98/@graphql-yoga/common@2.12.12/X-ZS9ncmFwaHFs/typings/logger.d.ts": "81ecc93848bb9634b722691993793c5efde024ab894a9d32d83bdc4923024792", - "https://esm.sh/v98/@graphql-yoga/common@2.12.12/X-ZS9ncmFwaHFs/typings/plugins/types.d.ts": "64bd6990e5219dd731d7108fdaea9300d9c19d0d46a32d1921d7794c69b66164", - "https://esm.sh/v98/@graphql-yoga/common@2.12.12/X-ZS9ncmFwaHFs/typings/plugins/useCORS.d.ts": "c2dab6e78733368960d0b2aca2ee3b8521a56b6178b91007100d953f27099937", - "https://esm.sh/v98/@graphql-yoga/common@2.12.12/X-ZS9ncmFwaHFs/typings/plugins/useGraphiQL.d.ts": "3a54a477aaa30ca07f5aab52595dbea2ad67a3a315d983bb3d72717785539bf0", - "https://esm.sh/v98/@graphql-yoga/common@2.12.12/X-ZS9ncmFwaHFs/typings/server.d.ts": "d385d3a3303478a11ab2dbadf4c564ccd569cbc47e7c72245d6b4781a480f377", - "https://esm.sh/v98/@graphql-yoga/common@2.12.12/X-ZS9ncmFwaHFs/typings/types.d.ts": "39babad83f52a98418fc3b40f7fd9153615f812f361537b089fe60bedb024147", - "https://esm.sh/v98/@graphql-yoga/subscription@2.2.3/X-ZS9ncmFwaHFs/deno/subscription.js": "9f4b0f5473ea615990469a2c36fe83f3bfb0b5804ad49345bcebc4c32db00022", - "https://esm.sh/v98/@graphql-yoga/subscription@2.2.3/X-ZS9ncmFwaHFs/typings/createPubSub.d.ts": "7f41f31f11030916e101d8cef5f8ded6ee08dcd29378361ef8eacb958314dc9a", - "https://esm.sh/v98/@graphql-yoga/subscription@2.2.3/X-ZS9ncmFwaHFs/typings/index.d.ts": "368b8949afdda7b1333197aad48a5421a8724479012b6ca07f393cea0be8d326", - "https://esm.sh/v98/@graphql-yoga/subscription@2.2.3/X-ZS9ncmFwaHFs/typings/operator/filter.d.ts": "604704755439477ca57de483e65da0118974e725243c2eac74d92d01d404b827", - "https://esm.sh/v98/@graphql-yoga/subscription@2.2.3/X-ZS9ncmFwaHFs/typings/operator/map.d.ts": "37c3902e9d760639f8b83634ca2f9b71f6369b050a76df4fa55cea7b17fdd55d", - "https://esm.sh/v98/@graphql-yoga/subscription@2.2.3/X-ZS9ncmFwaHFs/typings/utils/pipe.d.ts": "5966ce67cd212fc4e29f1c91948da636aee7f6fcb1fbf5e5d4aad2c44bda9eef", - "https://esm.sh/v98/@graphql-yoga/typed-event-target@0.1.1/X-ZS9ncmFwaHFs/deno/typed-event-target.js": "7c0fad6127b57877f5760b0d5473fe0d128835ae8c2abba65454440dc8572864", - "https://esm.sh/v98/@graphql-yoga/typed-event-target@0.1.1/X-ZS9ncmFwaHFs/typings/index.d.ts": "6d028de1d610872dac3195c33057b27e3a1c7d7061921deb22aff6ba5c6edbe9", - "https://esm.sh/v98/@repeaterjs/repeater@3.0.4/X-ZS9ncmFwaHFs/deno/repeater.js": "bd0e83c49c6a04af161a0f855fd72a0bd23973172a249229c5ec737ffc058db2", - "https://esm.sh/v98/@repeaterjs/repeater@3.0.4/X-ZS9ncmFwaHFs/repeater.d.ts": "c8aa465f469cbac5916a1ed2b6ff6e474200f062fc93899343d4bd967bf0fa11", - "https://esm.sh/v98/@whatwg-node/fetch@0.3.2/X-ZS9ncmFwaHFs/deno/fetch.js": "4ddf61023149068cb23d25a9fdd18dd41cbe28cadf500d081f8d0e7328bd2db3", - "https://esm.sh/v98/dset@3.1.2/X-ZS9ncmFwaHFs/deno/dset.js": "900841d5cff9b58d15d812538161d5f570d4100f0cbe5356844a8159e44fefbd", - "https://esm.sh/v98/lru-cache@6.0.0/X-ZS9ncmFwaHFs/deno/lru-cache.js": "e44dc5e43b9a684126d5cdbacfa94a14b17c54f250304a153a076515ffc7fc55", - "https://esm.sh/v98/yallist@4.0.0/X-ZS9ncmFwaHFs/deno/yallist.js": "ee7c980421622395582e1807c4ab3aaf9748e1fcb251316eb5256eb9923a8146" - } -} diff --git a/examples/graphql-yoga/dev.ts b/examples/graphql-yoga/dev.ts index 8e0ecb4..dcec8f9 100755 --- a/examples/graphql-yoga/dev.ts +++ b/examples/graphql-yoga/dev.ts @@ -1,7 +1,7 @@ #!/usr/bin/env -S deno run -A --watch=static/,routes/,graphql/ import dev from "$fresh/dev.ts"; -import { dev as gqlDev } from "$fresh_graphql/mod.ts"; +import { dev as graphql } from "@vicary/fresh-graphql"; -await gqlDev(import.meta.url); +await graphql(import.meta.url); await dev(import.meta.url, "./main.ts"); diff --git a/examples/graphql-yoga/fresh_graphql.gen.ts b/examples/graphql-yoga/graphql.gen.ts similarity index 84% rename from examples/graphql-yoga/fresh_graphql.gen.ts rename to examples/graphql-yoga/graphql.gen.ts index 1d2ab03..8dca887 100644 --- a/examples/graphql-yoga/fresh_graphql.gen.ts +++ b/examples/graphql-yoga/graphql.gen.ts @@ -1,5 +1,5 @@ // DO NOT EDIT. -// This file is generated and updated by fresh_graphql during development. +// This file is generated and updated by fresh-graphql during development. // This file should be checked into source control. import * as $0 from "./graphql/Query/joke.ts"; diff --git a/examples/graphql-yoga/routes/graphql.ts b/examples/graphql-yoga/routes/graphql.ts index 11bcc44..bb3e6a5 100644 --- a/examples/graphql-yoga/routes/graphql.ts +++ b/examples/graphql-yoga/routes/graphql.ts @@ -1,14 +1,15 @@ -import type { HandlerContext } from "$fresh/server.ts"; -import { fromManifest } from "$fresh_graphql/schema.ts"; -import { createServer } from "@graphql-yoga/common"; -import manifest from "../fresh_graphql.gen.ts"; +import type { FreshContext } from "$fresh/server.ts"; +import { fromManifest } from "@vicary/fresh-graphql"; +import { createYoga } from "graphql-yoga"; +import manifest from "../graphql.gen.ts"; -const yoga = createServer({ +const yoga = createYoga({ + graphiql: true, logging: true, maskedErrors: false, schema: fromManifest(manifest), }); -export const handler = async (req: Request, ctx: HandlerContext) => { +export const handler = async (req: Request, ctx: FreshContext) => { return await yoga.handleRequest(req, ctx); }; diff --git a/examples/graphql-yoga/routes/index.ts b/examples/graphql-yoga/routes/index.ts new file mode 100644 index 0000000..d8b6203 --- /dev/null +++ b/examples/graphql-yoga/routes/index.ts @@ -0,0 +1,11 @@ +import { defineRoute } from "$fresh/server.ts"; + +export default defineRoute(() => { + return new Response("", { + status: 303, + headers: { + location: + "/graphql?query=query+Joke+%7B%0A++joke%0A%7D%0A%0Asubscription+Countdown+%7B%0A++countdown%0A%7D", + }, + }); +}); diff --git a/examples/graphql-yoga/static/favicon.ico b/examples/graphql-yoga/static/favicon.ico deleted file mode 100644 index 1cfaaa2..0000000 Binary files a/examples/graphql-yoga/static/favicon.ico and /dev/null differ diff --git a/examples/graphql-yoga/static/logo.svg b/examples/graphql-yoga/static/logo.svg deleted file mode 100644 index ef2fbe4..0000000 --- a/examples/graphql-yoga/static/logo.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/import_map.json b/import_map.json deleted file mode 100644 index 6815f0f..0000000 --- a/import_map.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "imports": { - "$fresh/": "https://deno.land/x/fresh@1.1.1/", - "$fresh_graphql/": "./", - "preact": "https://esm.sh/preact@10.11.0", - "preact/": "https://esm.sh/preact@10.11.0/", - "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4", - "@preact/signals": "https://esm.sh/*@preact/signals@1.0.3", - "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.0.1", - - "@graphql-yoga/common": "https://esm.sh/@graphql-yoga/common@2.12.12?external=graphql", - "graphql": "https://esm.sh/graphql@16.6.0" - } -} diff --git a/schema.ts b/schema.ts index 4062116..1cb50c9 100644 --- a/schema.ts +++ b/schema.ts @@ -1,27 +1,30 @@ // schema.ts: Process schema into an executable form from generated manifests. // deno-lint-ignore-file no-explicit-any -import type { - ArgumentMapper, - EnumTypeMapper, - EnumValueMapper, - FieldMapper, - GenericFieldMapper, - GraphQLFieldConfig, - GraphQLFieldResolver, - GraphQLInputFieldConfig, - GraphQLScalarType, - IExecutableSchemaDefinition, - InputFieldMapper, - InputObjectTypeMapper, - InterfaceTypeMapper, - IResolvers, - ObjectTypeMapper, - ScalarTypeMapper, - SchemaMapper as GraphQLSchemaMapper, - UnionTypeMapper, +import { + type ArgumentMapper, + type EnumTypeMapper, + type EnumValueMapper, + type FieldMapper, + type GenericFieldMapper, + type GraphQLFieldConfig, + type GraphQLFieldResolver, + type GraphQLInputFieldConfig, + type GraphQLScalarType, + type GraphQLSchema, + type IExecutableSchemaDefinition, + type InputFieldMapper, + type InputObjectTypeMapper, + type InterfaceTypeMapper, + type IResolvers, + makeExecutableSchema, + MapperKind, + mapSchema, + type ObjectTypeMapper, + type ScalarTypeMapper, + type SchemaMapper as GraphQLSchemaMapper, + type UnionTypeMapper, } from "./deps.ts"; -import { makeExecutableSchema, MapperKind, mapSchema } from "./deps.ts"; export type Callable = (...args: any[]) => any; @@ -105,7 +108,7 @@ export const fromManifest = < IExecutableSchemaDefinition, "typeDefs" | "resolvers" >, -) => { +): GraphQLSchema => { const typeDefs = Object.values(manifest.modules).map((m) => m.schema).filter(( schema, ): schema is string => !!schema?.trim());