**What** - Move packages for `next` version of admin to core repo **Other** - Since this PR introduces packages that depend on Vite 5, it also introduces @types/node@^20. We have never had a direct dependency on the types package for Node, and as far as I can see that has resulted in us using the types from Node.js@8, as those are a dependency of one of our dependencies. With the introduction of @types/node@^20, two of our packages had TS errors because they were using the NodeJS.Timer type, which was deprecated in Node.js@14. We should add specific @types/node packages to all our packages, but I haven't done so in this PR to keep it as clean as possible. - Q: @olivermrbl I've added the new packages to the ignore list for changeset, is this enough to prevent them from being published?
60 lines
1.7 KiB
TypeScript
60 lines
1.7 KiB
TypeScript
export const injectionZones = [
|
|
// Order injection zones
|
|
"order.details.before",
|
|
"order.details.after",
|
|
"order.list.before",
|
|
"order.list.after",
|
|
// Draft order injection zones
|
|
"draft_order.list.before",
|
|
"draft_order.list.after",
|
|
"draft_order.details.before",
|
|
"draft_order.details.after",
|
|
// Customer injection zones
|
|
"customer.details.before",
|
|
"customer.details.after",
|
|
"customer.list.before",
|
|
"customer.list.after",
|
|
// Customer group injection zones
|
|
"customer_group.details.before",
|
|
"customer_group.details.after",
|
|
"customer_group.list.before",
|
|
"customer_group.list.after",
|
|
// Product injection zones
|
|
"product.details.before",
|
|
"product.details.after",
|
|
"product.list.before",
|
|
"product.list.after",
|
|
"product.details.side.before",
|
|
"product.details.side.after",
|
|
// Product collection injection zones
|
|
"product_collection.details.before",
|
|
"product_collection.details.after",
|
|
"product_collection.list.before",
|
|
"product_collection.list.after",
|
|
// Product category injection zones
|
|
"product_category.details.before",
|
|
"product_category.details.after",
|
|
"product_category.list.before",
|
|
"product_category.list.after",
|
|
// Price list injection zones
|
|
"price_list.details.before",
|
|
"price_list.details.after",
|
|
"price_list.list.before",
|
|
"price_list.list.after",
|
|
// Discount injection zones
|
|
"discount.details.before",
|
|
"discount.details.after",
|
|
"discount.list.before",
|
|
"discount.list.after",
|
|
// Gift card injection zones
|
|
"gift_card.details.before",
|
|
"gift_card.details.after",
|
|
"gift_card.list.before",
|
|
"gift_card.list.after",
|
|
"custom_gift_card.before",
|
|
"custom_gift_card.after",
|
|
// Login
|
|
"login.before",
|
|
"login.after",
|
|
] as const
|