@chillicream/nitro-embedded 19.0.0-insider.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +95 -0
- package/README.md +64 -0
- package/apple-touch-icon.png +0 -0
- package/asset-manifest.json +56 -0
- package/favicon.ico +0 -0
- package/favicon.svg +1 -0
- package/index.cjs +17 -0
- package/index.d.cts +2 -0
- package/index.d.mts +2 -0
- package/index.html +1 -0
- package/index.mjs +13 -0
- package/manifest.webmanifest +23 -0
- package/package.json +47 -0
- package/robots.txt +3 -0
- package/service-worker.js +1 -0
- package/static/css/styles.15b5693c.css +1 -0
- package/static/js/110.0e366505.js +2 -0
- package/static/js/110.0e366505.js.LICENSE.txt +33 -0
- package/static/js/195.20ede8c1.chunk.js +1 -0
- package/static/js/2.6501c554.chunk.js +1 -0
- package/static/js/230.8503bd6f.chunk.js +1 -0
- package/static/js/264.6aedd0f5.js +1 -0
- package/static/js/341.1e379763.chunk.js +2 -0
- package/static/js/341.1e379763.chunk.js.LICENSE.txt +21 -0
- package/static/js/372.fa3f790f.chunk.js +1 -0
- package/static/js/425.6cfa0c21.chunk.js +1 -0
- package/static/js/703.880391f3.js +2 -0
- package/static/js/703.880391f3.js.LICENSE.txt +121 -0
- package/static/js/709.f5147502.js +1 -0
- package/static/js/712.8d0b0855.chunk.js +2 -0
- package/static/js/712.8d0b0855.chunk.js.LICENSE.txt +6 -0
- package/static/js/720.f5d95f7e.chunk.js +1 -0
- package/static/js/755.a97870be.chunk.js +1 -0
- package/static/js/81.f8d02cc4.chunk.js +1 -0
- package/static/js/824.04baf482.chunk.js +1 -0
- package/static/js/86.e31a339b.chunk.js +1 -0
- package/static/js/90.c735d0fd.chunk.js +1 -0
- package/static/js/907.68941042.js +1 -0
- package/static/js/936.e8fa296c.js +1 -0
- package/static/js/938.e41fcc3e.chunk.js +1 -0
- package/static/js/940.e5bc3e74.js +1 -0
- package/static/js/996.7a45a01a.chunk.js +1 -0
- package/static/js/editor.afbd84bf.js +1 -0
- package/static/js/graphql-engine.072217ef.chunk.js +1 -0
- package/static/js/graphql-indexer.f8b9a0f7.chunk.js +1 -0
- package/static/js/graphql.worker.2c56696a.js +2 -0
- package/static/js/graphql.worker.2c56696a.js.LICENSE.txt +33 -0
- package/static/js/json.1cf77584.js +2 -0
- package/static/js/json.1cf77584.js.LICENSE.txt +6 -0
- package/static/js/main.8bdce5ef.js +2 -0
- package/static/js/main.8bdce5ef.js.LICENSE.txt +8 -0
- package/static/js/polyfills.0bb6438e.js +1 -0
- package/static/js/session.f12ea7cc.chunk.js +1 -0
- package/static/js/yaml.worker.f5693bf4.js +1 -0
- package/static/media/FiraCode-Medium.1bc138a84f63b384c3f2.woff2 +0 -0
- package/static/media/codicon.184be8c3aa435ca6c3f5.ttf +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_chillicream_nitro=self.webpackChunk_chillicream_nitro||[]).push([[230],{51230:(e,n,t)=>{t.r(n),t.d(n,{default:()=>b});var r=t(67315),s=t(17669),o=t(6730),i=(t(5084),t(19045)),c=t(23406),u=t(47594),a=t(66094),l=t(53790),d=t(18655),h=t(10258),f=t(50514),x=t(9950),g=t(44414);const p="schema-sdl",C=(0,x.memo)((function(){const e=(0,r.gxC)(),n=function(e){const n=(0,r.cmd)(),t=(0,c.bu)((()=>f.editor.createModel("","graphql"))),s=(0,r.Qas)();return t.current.updateOptions(i.x5),(0,x.useEffect)((()=>{function r(n){var r;null!==n&&void 0!==n&&n.exists?async function(e){const n=await(0,a.ECv)(e);return n?(0,h.NY)(n.replace(/""""""/gi,"")):""}(n.endpoint).then((e=>{t.current.setValue(e)})).catch((n=>{(0,h.zf)(n)||(s(e,d.$b.error,"Could not fetch SDL. Please reload the schema and try again.",{...n}),t.current.setValue(""))})):t.current.setValue(""),null!==(r=t.current)&&void 0!==r&&r.uri&&l.F.setSchemaInfo(t.current.uri,n)}return r(n.value()),n.subscribe(r)}),[e,t,n,s]),(0,x.useEffect)((()=>()=>{t.current.dispose()}),[t]),t.current}(e),t=function(e,n,t){const s=(0,x.useRef)(null),o=(0,r.SK_)(),a=(0,u.YQ)((n=>{const t=n.saveViewState();t&&o(e,{schemaSdlEditorViewState:t})}),[e,o]);return(0,x.useEffect)((()=>{const e=s.current,o=f.editor.create(e,{...i.Ng,model:n,readOnly:!0}),u=r.Hk3.register(p,o);return(0,c.p$)(o),o.onContextMenu((()=>(0,i.iD)(e))),o.onDidChangeCursorPosition((()=>a(o))),o.onDidChangeCursorSelection((()=>a(o))),o.onDidScrollChange((()=>a(o))),o.onDidChangeModelContent((()=>{t&&o.restoreViewState(t),o.focus()})),()=>{u(),o.dispose()}}),[e,n,t,a,o]),(0,u.fs)(p,s),s}(e,n,(0,r.$rK)());return(0,g.jsx)(o.nG,{ref:t})}));var j=t(64381),m=t(69649);const v=e=>{let{schemaLoading:n}=e;return(0,g.jsxs)(o.AW,{spacing:"right",children:[(0,g.jsx)(o.w,{children:"Schema Definition"}),(0,g.jsx)(o.jB,{}),(0,g.jsx)(S,{disabled:n})]})};function S(e){let{disabled:n}=e;const t=(0,r.zKO)();return(0,g.jsx)(j.pG,{disabled:n||!t.exists,tooltip:"Download as SDL",onClick:()=>{var e,n;if(!t.exists)return;const s=null===(e=(0,r.sdh)())||void 0===e||null===(n=e.getModel())||void 0===n?void 0:n.getValue();if(s){const e=new Blob([s],{type:"text/plain"});(0,c.Js)(e)}},children:(0,g.jsx)(m.s3,{})})}function b(){const e=(0,r.$nk)();return(0,g.jsxs)(o.VP,{children:[(0,g.jsx)(v,{schemaLoading:e}),(0,g.jsx)(o.Y2,{}),e?(0,g.jsx)(s.$M,{}):(0,g.jsx)(C,{})]})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_chillicream_nitro=self.webpackChunk_chillicream_nitro||[]).push([[264],{5250:(e,n,i)=>{i(99850),i(65107),i(59943)},26845:(e,n,i)=>{i(75885),i(67466),i(36022);var t=i(97353);t.CM.TYPE_FIELDS_FIELD,t.CM.TYPE_INTERFACES_FIELD,t.CM.TYPE_POSSIBLE_TYPES_FIELD,t.CM.TYPE_INPUT_FIELDS_FIELD;i(45155),i(49997),i(57928),i(2813),i(32990),i(37669),i(35033)},53543:(e,n,i)=>{i(36022),i(5084),i(75885),i(69529),i(29232)},67889:(e,n,i)=>{i(62316),i(93967),i(36022),i(86737),i(54913),i(75885),i(23845),i(66094),i(10258);var t=i(70807);i(5355),i(84165),i(29232);(0,t.y)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Directive",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:104,source:{body:'query IntrospectionQuery {\n __type(name: "__Directive") {\n name\n fields {\n name\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}}),(0,t.y)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__InputValue",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:96,source:{body:'query IntrospectionQuery {\n __type(name: "__InputValue") {\n fields {\n name\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}}),(0,t.y)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Schema",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:101,source:{body:'query IntrospectionQuery {\n __type(name: "__Schema") {\n name\n fields {\n name\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}}),(0,t.y)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Type",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:99,source:{body:'query IntrospectionQuery {\n __type(name: "__Type") {\n name\n fields {\n name\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}})},25119:(e,n,i)=>{i(36022),i(75885),i(66094),i(67466),i(97353),i(10258),i(56242)},84165:(e,n,i)=>{i(62316);Error},14881:(e,n,i)=>{i(36022),i(86737),i(75885),i(66094),i(67466),i(29232)}}]);
|