mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
Update README.md
This commit is contained in:
parent
a22a6618cf
commit
b70ea9b1c2
@ -121,3 +121,15 @@ const pages = await getAllPages({
|
|||||||
config,
|
config,
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Code generation
|
||||||
|
|
||||||
|
This provider makes use of GraphQL code generation. The [schema.graphql](./schema.graphql) and [schema.d.ts](./schema.d.ts) files contain the generated types & schema introspection results.
|
||||||
|
|
||||||
|
When developing the provider, changes to any GraphQL operations should be followed by re-generation of the types and schema files:
|
||||||
|
|
||||||
|
From the project root dir, run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
yarn generate:shopify
|
||||||
|
```
|
||||||
|
1
framework/shopify/schema.d.ts
vendored
1
framework/shopify/schema.d.ts
vendored
@ -5024,6 +5024,7 @@ export type Unnamed_1_Mutation = { __typename?: 'Mutation' } & {
|
|||||||
'code' | 'field' | 'message'
|
'code' | 'field' | 'message'
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
|
checkout?: Maybe<{ __typename?: 'Checkout' } & CheckoutDetailsFragment>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user