Improved some spellings and add some words to allow list (#959)
This commit is contained in:
parent
e8660e8bb9
commit
30140eea06
7 changed files with 28 additions and 8 deletions
7
.changeset/hot-mugs-tap.md
Normal file
7
.changeset/hot-mugs-tap.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
"saleor-app-klaviyo": patch
|
||||||
|
"saleor-app-cms-v2": patch
|
||||||
|
"saleor-app-taxes": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Improved some text typos.
|
|
@ -125,7 +125,7 @@ const PureForm = ({ defaultValues, onSubmit, onDelete }: PureFormProps) => {
|
||||||
size="small"
|
size="small"
|
||||||
control={control}
|
control={control}
|
||||||
name={`productVariantFieldsMapping.${saleorField}`}
|
name={`productVariantFieldsMapping.${saleorField}`}
|
||||||
label="Builer.io Field"
|
label="Builder.io Field"
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
))}
|
))}
|
||||||
|
@ -209,7 +209,7 @@ const EditFormVariant = (props: { configId: string }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.type !== "builder.io") {
|
if (data.type !== "builder.io") {
|
||||||
throw new Error("Trying to fill builer.io form with non builder.io data");
|
throw new Error("Trying to fill builder.io form with non builder.io data");
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -36,7 +36,7 @@ Klaviyo app is based on App Template - you can check it [here](https://github.co
|
||||||
3. Install app dependencies with `pnpm i`
|
3. Install app dependencies with `pnpm i`
|
||||||
4. Start dev server `pnpm dev`
|
4. Start dev server `pnpm dev`
|
||||||
5. To install app in your Saleor Instance and expose dev server to it, run in the separate terminal `saleor app tunnel`
|
5. To install app in your Saleor Instance and expose dev server to it, run in the separate terminal `saleor app tunnel`
|
||||||
6. Now you can access the app configuration at [your dashboard]/apps and click on [klavio]
|
6. Now you can access the app configuration at [your dashboard]/apps and click on [klaviyo]
|
||||||
7. Read how to connect the app with the Klaviyo [here](https://github.com/saleor/saleor-app-template)
|
7. Read how to connect the app with the Klaviyo [here](https://github.com/saleor/saleor-app-template)
|
||||||
|
|
||||||
### Local development without CLI
|
### Local development without CLI
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# How to connect your App with Klavio
|
# How to connect your App with Klaviyo
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ First and foremost, you need to perform an initial API call to Klaviyo, which wi
|
||||||
|
|
||||||
Let's navigate to "Customers" and create the first, dummy customer.
|
Let's navigate to "Customers" and create the first, dummy customer.
|
||||||
|
|
||||||
Then, open Klavio [Metrics page](https://www.klaviyo.com/analytics/metrics).
|
Then, open Klaviyo [Metrics page](https://www.klaviyo.com/analytics/metrics).
|
||||||
|
|
||||||
Your Metric should be visible on the list:
|
Your Metric should be visible on the list:
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,6 @@ export class AvataxOrderCancelledAdapter implements WebhookAdapter<OrderCancelle
|
||||||
|
|
||||||
await client.voidTransaction(target);
|
await client.voidTransaction(target);
|
||||||
|
|
||||||
this.logger.debug(`Succesfully voided the transaction of id: ${target.transactionCode}`);
|
this.logger.debug(`Successfully voided the transaction of id: ${target.transactionCode}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ export default orderCalculateTaxesSyncWebhook.createHandler(async (req, res, ctx
|
||||||
|
|
||||||
try {
|
try {
|
||||||
verifyCalculateTaxesPayload(payload);
|
verifyCalculateTaxesPayload(payload);
|
||||||
logger.debug("Payload validated succesfully");
|
logger.debug("Payload validated successfully");
|
||||||
|
|
||||||
const appMetadata = payload.recipient?.privateMetadata ?? [];
|
const appMetadata = payload.recipient?.privateMetadata ?? [];
|
||||||
const channelSlug = payload.taxBase.channel.slug;
|
const channelSlug = payload.taxBase.channel.slug;
|
||||||
|
|
15
cspell.json
15
cspell.json
|
@ -54,8 +54,20 @@
|
||||||
"tRPC",
|
"tRPC",
|
||||||
"Algoliasearch",
|
"Algoliasearch",
|
||||||
"tanstack",
|
"tanstack",
|
||||||
|
"usehooks",
|
||||||
|
"Nextjs",
|
||||||
|
"Upserting",
|
||||||
|
"Mjml",
|
||||||
|
"Combobox",
|
||||||
|
"Quickstart",
|
||||||
"hookform",
|
"hookform",
|
||||||
"urql"
|
"Microinvoice",
|
||||||
|
"upsert",
|
||||||
|
"Builderio",
|
||||||
|
"vals",
|
||||||
|
"urql",
|
||||||
|
"Protos",
|
||||||
|
"pino"
|
||||||
],
|
],
|
||||||
"ignorePaths": [
|
"ignorePaths": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
@ -63,6 +75,7 @@
|
||||||
"pnpm-lock.yaml",
|
"pnpm-lock.yaml",
|
||||||
".gitignore",
|
".gitignore",
|
||||||
"apps/products-feed/src/modules/category-mapping/google-product-categories.ts",
|
"apps/products-feed/src/modules/category-mapping/google-product-categories.ts",
|
||||||
|
"apps/taxes/src/modules/ui/countries.ts",
|
||||||
"**/*.test.ts",
|
"**/*.test.ts",
|
||||||
"**/*.spec.ts",
|
"**/*.spec.ts",
|
||||||
"**/graphql.ts",
|
"**/graphql.ts",
|
||||||
|
|
Loading…
Reference in a new issue