saleor-apps-redis_apl/apps/invoices/src/fixtures/mock-address.ts
Lukasz Ostrowski 1b3680465f
Invoices redesign to Macaw Next (#445)
* Removed old macaw and material

* Add trpc router that fetches shop address info

* Config page layout with header and address

* display default addres

* Draft channels list

* add v2 config model

* Render address overrides

* Render address overrides ui

* connect address form

* reset address form

* implement removing conifg

* connect dashboard sites

* update webhook

* Add ConfigV1 to ConfigV2 transformer

* Cleanup v1 router, abstract v2

* Implement runtime migrations

* Implement migration service in controllers

* test for configuration service

* test for app cofnig

* draft test for router

* refactor webhook

* Unify Address schema to single one

* Extractr data fetching from form
2023-05-09 12:17:54 +02:00

14 lines
382 B
TypeScript

import { SellerShopConfig } from "../modules/app-configuration/schema-v1/app-config-v1";
export const getMockAddress = (): SellerShopConfig["address"] => {
return {
city: "Wrocław",
cityArea: "",
companyName: "Saleor",
country: "Poland",
countryArea: "Dolnoslaskie",
postalCode: "12-123",
streetAddress1: "Techowa 7",
streetAddress2: "",
};
};