{"version":3,"sources":["jsdelivr-header.js","/npm/graphql-zeus@7.2.1/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;OCLO,UAAW,eACT,QAAW,uBACX,kBAAqB,uBAC9B,MAAM,QAAQ,KAAK,MAAM,IACpB,MAAM,wNAUN,QAAQ,SAAU,iDAAiD,SAAW,KAC/E,eAAe,IAEd,QAAQ,0BAA2B,kDAAmD,GAChF,EACF,WAAW,OAAQ,CACpB,SAAU,qCACV,KAAM,WAEL,WAAW,cAAe,CAC3B,SAAU,uCACV,KAAM,aAEV,IACA,IAAI,QAAQ,EAAK,IAEhB,OAAO,OAAQ,CAChB,MAAO,IACP,SAAU,wEACV,SAAS,IAER,OAAO,WAAY,CACpB,MAAO,KACP,SAAU,qDACV,SAAS,IAER,OAAO,OAAQ,CAChB,MAAO,KACP,SAAU,gDACV,SAAS,IAER,OAAO,aAAc,CACtB,MAAO,KACP,SAAU,qDACV,SAAS,IAER,OAAO,oBAAqB,CAC7B,MAAO,KACP,SAAU,gDACV,SAAS,IAER,OAAO,SAAU,CAClB,MAAO,IACP,SAAU,yDACV,QAAS,CAAC,OAAQ,SAEjB,OAAO,SAAU,CAClB,MAAO,IACP,SAAU,8GACV,QAAQ,IAEP,OAAO,UAAW,CACnB,MAAO,IACP,SAAU,iFACV,QAAQ,IAEP,OAAO,aAAc,CACtB,MAAO,IACP,SAAU,2HACV,QAAQ,IAEP,OAAO,gBAAiB,CACzB,MAAO,IACP,SAAU,2DACV,QAAS,CAAC,SAAU,cACpB,QAAS,WAER,OAAO","file":"/npm/graphql-zeus@7.2.1/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/graphql-zeus@7.2.1/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","#!/usr/bin/env node\nimport yargs from 'yargs';\nimport { CLI } from \"./CLIClass.js\";\nimport { createProject } from \"./commands/create.js\";\nyargs(process.argv.slice(2))\n    .usage(`\nZeus⚡⚡⚡\nGraphQL Autocomplete Client Library generator\n\nLoad from file or url (url must start with http:// or https:// ):\nzeus [path] [output_path] [options]\n\nCreate a new project with Zeus:\nzeus create\n`)\n    .command('create', 'Create a new project with Zeus pre-configured', () => { }, () => {\n    createProject();\n})\n    .command('$0 <path> [output_path]', 'Generate TypeScript client from GraphQL schema', (yargs) => {\n    return yargs\n        .positional('path', {\n        describe: 'Path to GraphQL schema file or URL',\n        type: 'string',\n    })\n        .positional('output_path', {\n        describe: 'Output directory for generated files',\n        type: 'string',\n    });\n}, (args) => {\n    CLI.execute(args);\n})\n    .option('node', {\n    alias: 'n',\n    describe: 'Generate client for NodeJS( default is for browser and react-native )',\n    boolean: true,\n})\n    .option('esModule', {\n    alias: 'es',\n    describe: 'Use .js import in TypeScript to use with esModules',\n    boolean: true,\n})\n    .option('deno', {\n    alias: 'de',\n    describe: 'Use .ts import in TypeScript to use with deno',\n    boolean: true,\n})\n    .option('constEnums', {\n    alias: 'ce',\n    describe: 'Use .js import in TypeScript to use with esModules',\n    boolean: true,\n})\n    .option('typedDocumentNode', {\n    alias: 'td',\n    describe: 'Generate TypedDocumentNode createQuery module',\n    boolean: true,\n})\n    .option('method', {\n    alias: 'm',\n    describe: 'provide request method \"GET\" or \"POST\" post by default',\n    choices: ['POST', 'GET'],\n})\n    .option('header', {\n    alias: 'h',\n    describe: 'Additional header flag. You can also pass multiple headers like this -h myheader:123123 -h myheader2:321321',\n    string: true,\n})\n    .option('graphql', {\n    alias: 'g',\n    describe: 'Download and save schema also. Path where .graphql schema file should be put. ',\n    string: true,\n})\n    .option('jsonSchema', {\n    alias: 'j',\n    describe: 'Generate JSON Schema to create forms from inputs and type fields with args. Path where .json schema file should be put. ',\n    string: true,\n})\n    .option('subscriptions', {\n    alias: 's',\n    describe: 'The underlying implementation of realtime subscriptions.',\n    choices: ['legacy', 'graphql-ws'],\n    default: 'legacy',\n})\n    .help().argv;\n"]}