@shopify/api-codegen-preset
Version:
Preset for graphql-codegen to parse and type queries to Shopify APIs
21 lines • 536 B
TypeScript
export declare enum ApiType {
Admin = "Admin",
Storefront = "Storefront",
Customer = "Customer"
}
export interface ShopifyApiPresetConfig {
apiType: ApiType;
module?: string;
}
export interface ShopifyApiProjectOptions {
apiType: ApiType;
apiVersion?: string;
outputDir?: string;
documents?: string[];
module?: string;
declarations?: boolean;
apiKey?: string;
enumsAsConst?: boolean;
}
export type ShopifyApiTypesOptions = ShopifyApiProjectOptions;
//# sourceMappingURL=types.d.ts.map