diff --git a/.changeset/fresh-bars-kick.md b/.changeset/fresh-bars-kick.md new file mode 100644 index 00000000..d8a0e0dd --- /dev/null +++ b/.changeset/fresh-bars-kick.md @@ -0,0 +1,5 @@ +--- +"@saleor/app-sdk": patch +--- + +Add `TRANSLATIONS_MORE_ACTIONS` mount point to typescript definitions of available App Extension mounts diff --git a/src/types.ts b/src/types.ts index 33e768bc..f91c3a18 100644 --- a/src/types.ts +++ b/src/types.ts @@ -7,8 +7,6 @@ */ export type AppExtensionTarget = "POPUP" | "APP_PAGE" | "NEW_TAB" | "WIDGET"; -type AppExtensionMount3_23 = "TRANSLATION_DETAILS"; - // Available mounts in Saleor 3.22 and newer type AppExtensionMount3_22 = | "CATEGORY_OVERVIEW_CREATE" @@ -44,11 +42,11 @@ type AppExtensionMount3_22 = | "ORDER_DETAILS_WIDGETS" | "DRAFT_ORDER_DETAILS_WIDGETS" | "VOUCHER_DETAILS_WIDGETS" - | "GIFT_CARD_DETAILS_WIDGETS"; + | "GIFT_CARD_DETAILS_WIDGETS" + | "TRANSLATIONS_MORE_ACTIONS"; export type AppExtensionMount = | AppExtensionMount3_22 - | AppExtensionMount3_23 | "CUSTOMER_OVERVIEW_CREATE" | "CUSTOMER_OVERVIEW_MORE_ACTIONS" | "CUSTOMER_DETAILS_MORE_ACTIONS"