This commit is contained in:
Andrea 2024-12-30 09:41:12 +01:00
parent 27215cb4aa
commit 94e065991b
Signed by: nullndr
GPG Key ID: 8DA8996EF89F33BB
2 changed files with 6 additions and 4 deletions

View File

@ -162,8 +162,10 @@ export async function findShop(shopifyDomain: string) {
After this let's set up the GraphQL schema for Genql, simply run the following command:
```bash
npx genql --endpoint "https://<name>.myshopify.com/admin/api/2024-07/graphql.json" -S --output "app/lib/genql/generated.server" -H "X-Shopify-Access-Token: <access token>" --esm
```sh
npx genql -S --output "app/lib/genql/generated.server" \
--endpoint "https://<name>.myshopify.com/admin/api/2024-07/graphql.json" \
-H "X-Shopify-Access-Token: <access token>" --esm
```
Replace the `<name>.myshopify.com` and `<access token>` with some real data (you can also use the data from a test store, the command is just needed to generate the graphql schema).

View File

@ -309,8 +309,8 @@ Formally it is defined as $A \times B = \\{(a,b) a \in A, b \in B\\}$.
$$
\begin{aligned}
A &= \\{ 1, 2 \\} \\\\
B &= \\{ 3, 4, 5 \\} \\\\
A \times B &= \\{ (1,3), (1,4), (1,5), (2,3), (2,4), (2,5) \\}
B &= \\{ 3, 4 \\} \\\\
A \times B &= \\{ (1,3), (1,4), (2,3), (2,4) \\}
\end{aligned}
$$