✔ Parse Configuration
⚠ Generate outputs
❯ Generate to ./types/storefront-2024-04.schema.json
✔ Load GraphQL schemas
✖
Unable to find any GraphQL type definitions for the following pointers:
- ./src/**/*.{js,ts,jsx,tsx}
◼ Generate
❯ Generate to ./types/storefront.types.d.ts
✔ Load GraphQL schemas
✖
Unable to find any GraphQL type definitions for the following pointers:
- ./src/**/*.{js,ts,jsx,tsx}
◼ Generate
❯ Generate to ./types/storefront.generated.d.ts
✔ Load GraphQL schemas
✖
Unable to find any GraphQL type definitions for the following pointers:
- ./src/**/*.{js,ts,jsx,tsx}
◼ Generate
Am I missing something, or does it not work in a UI extension?
I double checked the paths were correct.
I confirmed the query was named:
Is it possible to use api-codegen-preset within a checkout UI extension? I tried setting it up according to the docs, but it didn't work.
Here is the .graphqlrc.ts:
Here is the output:
Am I missing something, or does it not work in a UI extension? I double checked the paths were correct. I confirmed the query was named: