@shopify/api-codegen-preset
Version:
Preset for graphql-codegen to parse and type queries to Shopify APIs
1 lines • 784 B
Source Map (JSON)
{"version":3,"file":"types.mjs","sources":["../src/types.ts"],"sourcesContent":["export enum ApiType {\n Admin = 'Admin',\n Storefront = 'Storefront',\n Customer = 'Customer',\n}\n\nexport interface ShopifyApiPresetConfig {\n apiType: ApiType;\n module?: string;\n}\n\nexport interface ShopifyApiProjectOptions {\n apiType: ApiType;\n apiVersion?: string;\n outputDir?: string;\n documents?: string[];\n module?: string;\n declarations?: boolean;\n apiKey?: string;\n}\n\nexport type ShopifyApiTypesOptions = ShopifyApiProjectOptions;\n"],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,OAAO,EAAA;AACjB,IAAA,OAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,OAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AACzB,IAAA,OAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACvB,CAAC,EAJW,OAAO,KAAP,OAAO,GAAA,EAAA,CAAA,CAAA;;;;"}