新功能(#113): 发布促销管理后台页面到main
PR Check / Lint, Check, Test and Build (push) Has been cancelled
Build and Release / Build (push) Has been cancelled

This commit is contained in:
2026-05-29 00:40:33 -07:00
parent 2a3d5a3234
commit a7d89acc7f
17 changed files with 1733 additions and 0 deletions
+24
View File
@@ -34,6 +34,8 @@ const DashboardSubscribeIndexLazyRouteImport = createFileRoute(
const DashboardRedemptionIndexLazyRouteImport = createFileRoute(
'/dashboard/redemption/',
)()
const DashboardPromoIndexLazyRouteImport =
createFileRoute('/dashboard/promo/')()
const DashboardProductIndexLazyRouteImport = createFileRoute(
'/dashboard/product/',
)()
@@ -186,6 +188,13 @@ const DashboardRedemptionIndexLazyRoute =
} as any).lazy(() =>
import('./routes/dashboard/redemption/index.lazy').then((d) => d.Route),
)
const DashboardPromoIndexLazyRoute = DashboardPromoIndexLazyRouteImport.update({
id: '/promo/',
path: '/promo/',
getParentRoute: () => DashboardRouteLazyRoute,
} as any).lazy(() =>
import('./routes/dashboard/promo/index.lazy').then((d) => d.Route),
)
const DashboardProductIndexLazyRoute =
DashboardProductIndexLazyRouteImport.update({
id: '/product/',
@@ -406,6 +415,7 @@ export interface FileRoutesByFullPath {
'/dashboard/order': typeof DashboardOrderIndexLazyRoute
'/dashboard/payment': typeof DashboardPaymentIndexLazyRoute
'/dashboard/product': typeof DashboardProductIndexLazyRoute
'/dashboard/promo': typeof DashboardPromoIndexLazyRoute
'/dashboard/redemption': typeof DashboardRedemptionIndexLazyRoute
'/dashboard/subscribe': typeof DashboardSubscribeIndexLazyRoute
'/dashboard/system': typeof DashboardSystemIndexLazyRoute
@@ -442,6 +452,7 @@ export interface FileRoutesByTo {
'/dashboard/order': typeof DashboardOrderIndexLazyRoute
'/dashboard/payment': typeof DashboardPaymentIndexLazyRoute
'/dashboard/product': typeof DashboardProductIndexLazyRoute
'/dashboard/promo': typeof DashboardPromoIndexLazyRoute
'/dashboard/redemption': typeof DashboardRedemptionIndexLazyRoute
'/dashboard/subscribe': typeof DashboardSubscribeIndexLazyRoute
'/dashboard/system': typeof DashboardSystemIndexLazyRoute
@@ -481,6 +492,7 @@ export interface FileRoutesById {
'/dashboard/order/': typeof DashboardOrderIndexLazyRoute
'/dashboard/payment/': typeof DashboardPaymentIndexLazyRoute
'/dashboard/product/': typeof DashboardProductIndexLazyRoute
'/dashboard/promo/': typeof DashboardPromoIndexLazyRoute
'/dashboard/redemption/': typeof DashboardRedemptionIndexLazyRoute
'/dashboard/subscribe/': typeof DashboardSubscribeIndexLazyRoute
'/dashboard/system/': typeof DashboardSystemIndexLazyRoute
@@ -521,6 +533,7 @@ export interface FileRouteTypes {
| '/dashboard/order'
| '/dashboard/payment'
| '/dashboard/product'
| '/dashboard/promo'
| '/dashboard/redemption'
| '/dashboard/subscribe'
| '/dashboard/system'
@@ -557,6 +570,7 @@ export interface FileRouteTypes {
| '/dashboard/order'
| '/dashboard/payment'
| '/dashboard/product'
| '/dashboard/promo'
| '/dashboard/redemption'
| '/dashboard/subscribe'
| '/dashboard/system'
@@ -595,6 +609,7 @@ export interface FileRouteTypes {
| '/dashboard/order/'
| '/dashboard/payment/'
| '/dashboard/product/'
| '/dashboard/promo/'
| '/dashboard/redemption/'
| '/dashboard/subscribe/'
| '/dashboard/system/'
@@ -694,6 +709,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof DashboardRedemptionIndexLazyRouteImport
parentRoute: typeof DashboardRouteLazyRoute
}
'/dashboard/promo/': {
id: '/dashboard/promo/'
path: '/promo'
fullPath: '/dashboard/promo'
preLoaderRoute: typeof DashboardPromoIndexLazyRouteImport
parentRoute: typeof DashboardRouteLazyRoute
}
'/dashboard/product/': {
id: '/dashboard/product/'
path: '/product'
@@ -908,6 +930,7 @@ interface DashboardRouteLazyRouteChildren {
DashboardOrderIndexLazyRoute: typeof DashboardOrderIndexLazyRoute
DashboardPaymentIndexLazyRoute: typeof DashboardPaymentIndexLazyRoute
DashboardProductIndexLazyRoute: typeof DashboardProductIndexLazyRoute
DashboardPromoIndexLazyRoute: typeof DashboardPromoIndexLazyRoute
DashboardRedemptionIndexLazyRoute: typeof DashboardRedemptionIndexLazyRoute
DashboardSubscribeIndexLazyRoute: typeof DashboardSubscribeIndexLazyRoute
DashboardSystemIndexLazyRoute: typeof DashboardSystemIndexLazyRoute
@@ -945,6 +968,7 @@ const DashboardRouteLazyRouteChildren: DashboardRouteLazyRouteChildren = {
DashboardOrderIndexLazyRoute: DashboardOrderIndexLazyRoute,
DashboardPaymentIndexLazyRoute: DashboardPaymentIndexLazyRoute,
DashboardProductIndexLazyRoute: DashboardProductIndexLazyRoute,
DashboardPromoIndexLazyRoute: DashboardPromoIndexLazyRoute,
DashboardRedemptionIndexLazyRoute: DashboardRedemptionIndexLazyRoute,
DashboardSubscribeIndexLazyRoute: DashboardSubscribeIndexLazyRoute,
DashboardSystemIndexLazyRoute: DashboardSystemIndexLazyRoute,