@mohasinac/appkit 2.7.1 → 2.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/features/categories/components/index.d.ts +0 -4
- package/dist/features/categories/components/index.js +0 -2
- package/dist/index.d.ts +0 -25
- package/dist/index.js +1722 -1758
- package/dist/next/api/routeHandler.d.ts +1 -1
- package/dist/server-entry.d.ts +25 -0
- package/dist/server-entry.js +28 -0
- package/package.json +1 -1
|
@@ -47,7 +47,7 @@ interface RouteHandlerOptions<TInput = unknown, TParams = Record<string, string>
|
|
|
47
47
|
* If provided, the verified user's `role` must be in this list.
|
|
48
48
|
* Implies `auth: true`.
|
|
49
49
|
*/
|
|
50
|
-
roles?: string[];
|
|
50
|
+
roles?: readonly string[];
|
|
51
51
|
/**
|
|
52
52
|
* Fine-grained permission required for this route.
|
|
53
53
|
* When set: also allows `"employee"` role through the role check, then
|
package/dist/server-entry.d.ts
CHANGED
|
@@ -12,6 +12,31 @@
|
|
|
12
12
|
* The conditional exports map routes here for react-server / Node context.
|
|
13
13
|
*/
|
|
14
14
|
export * from "./index";
|
|
15
|
+
export { PolicyPageView } from "./features/about/index";
|
|
16
|
+
export { BlogIndexPageView } from "./features/blog/components/BlogIndexPageView";
|
|
17
|
+
export { CategoriesIndexPageView } from "./features/categories/components/CategoriesIndexPageView";
|
|
18
|
+
export { CategoryDetailPageView } from "./features/categories/components/CategoryDetailPageView";
|
|
19
|
+
export { BrandDetailPageView } from "./features/categories/components/BrandDetailPageView";
|
|
20
|
+
export { EventsListPageView } from "./features/events/components/EventsListPageView";
|
|
21
|
+
export { MarketplaceHomepageView } from "./features/homepage/index";
|
|
22
|
+
export { PreOrdersListView } from "./features/pre-orders/index";
|
|
23
|
+
export { PreOrderDetailPageView } from "./features/pre-orders/index";
|
|
24
|
+
export { AuctionDetailPageView } from "./features/auctions/index";
|
|
25
|
+
export { AuctionsListView } from "./features/auctions/components/AuctionsListView";
|
|
26
|
+
export { BundlesListView } from "./features/categories/components/BundlesListView";
|
|
27
|
+
export { PrizeDrawsListingView } from "./features/products/components/PrizeDrawsListingView";
|
|
28
|
+
export { PrizeDrawDetailPageView } from "./features/products/components/PrizeDrawDetailPageView";
|
|
29
|
+
export { ProductDetailPageView } from "./features/products/components/ProductDetailPageView";
|
|
30
|
+
export { ProductsIndexPageView } from "./features/products/components/ProductsIndexPageView";
|
|
31
|
+
export { ReviewsIndexPageView } from "./features/reviews/components/ReviewsIndexPageView";
|
|
32
|
+
export { ReviewDetailPageView } from "./features/reviews/components/ReviewDetailPageView";
|
|
33
|
+
export { StoresIndexPageView } from "./features/stores/components/StoresIndexPageView";
|
|
34
|
+
export { StoreDetailLayoutView } from "./features/stores/components/StoreDetailLayoutView";
|
|
35
|
+
export { StoreProductsPageView } from "./features/stores/components/StoreProductsPageView";
|
|
36
|
+
export { StoreAuctionsPageView } from "./features/stores/components/StoreAuctionsPageView";
|
|
37
|
+
export { StorePreOrdersPageView } from "./features/stores/components/StorePreOrdersPageView";
|
|
38
|
+
export { StorePrizeDrawsPageView } from "./features/stores/components/StorePrizeDrawsPageView";
|
|
39
|
+
export { StoreBundlesPageView } from "./features/stores/components/StoreBundlesPageView";
|
|
15
40
|
export { getProductForDetail, listSitemapProducts, type SitemapProduct, } from "./_internal/server/features/products/index";
|
|
16
41
|
export { getAuctionForDetail, getProductFeaturesForAuction, } from "./_internal/server/features/auctions/index";
|
|
17
42
|
export { getPreOrderForDetail, getProductFeaturesForPreOrder, } from "./_internal/server/features/pre-orders/index";
|
package/dist/server-entry.js
CHANGED
|
@@ -14,6 +14,34 @@
|
|
|
14
14
|
// Full surface — same symbols as client entry for now.
|
|
15
15
|
// firebase-admin is correctly reachable here since this is the server entry.
|
|
16
16
|
export * from "./index";
|
|
17
|
+
// Server-only RSC views — removed from index.ts to prevent firebase-admin
|
|
18
|
+
// leaking into the client bundle via client-entry.ts's export * from "./index".
|
|
19
|
+
// These are async React Server Components that fetch data via repositories.
|
|
20
|
+
export { PolicyPageView } from "./features/about/index";
|
|
21
|
+
export { BlogIndexPageView } from "./features/blog/components/BlogIndexPageView";
|
|
22
|
+
export { CategoriesIndexPageView } from "./features/categories/components/CategoriesIndexPageView";
|
|
23
|
+
export { CategoryDetailPageView } from "./features/categories/components/CategoryDetailPageView";
|
|
24
|
+
export { BrandDetailPageView } from "./features/categories/components/BrandDetailPageView";
|
|
25
|
+
export { EventsListPageView } from "./features/events/components/EventsListPageView";
|
|
26
|
+
export { MarketplaceHomepageView } from "./features/homepage/index";
|
|
27
|
+
export { PreOrdersListView } from "./features/pre-orders/index";
|
|
28
|
+
export { PreOrderDetailPageView } from "./features/pre-orders/index";
|
|
29
|
+
export { AuctionDetailPageView } from "./features/auctions/index";
|
|
30
|
+
export { AuctionsListView } from "./features/auctions/components/AuctionsListView";
|
|
31
|
+
export { BundlesListView } from "./features/categories/components/BundlesListView";
|
|
32
|
+
export { PrizeDrawsListingView } from "./features/products/components/PrizeDrawsListingView";
|
|
33
|
+
export { PrizeDrawDetailPageView } from "./features/products/components/PrizeDrawDetailPageView";
|
|
34
|
+
export { ProductDetailPageView } from "./features/products/components/ProductDetailPageView";
|
|
35
|
+
export { ProductsIndexPageView } from "./features/products/components/ProductsIndexPageView";
|
|
36
|
+
export { ReviewsIndexPageView } from "./features/reviews/components/ReviewsIndexPageView";
|
|
37
|
+
export { ReviewDetailPageView } from "./features/reviews/components/ReviewDetailPageView";
|
|
38
|
+
export { StoresIndexPageView } from "./features/stores/components/StoresIndexPageView";
|
|
39
|
+
export { StoreDetailLayoutView } from "./features/stores/components/StoreDetailLayoutView";
|
|
40
|
+
export { StoreProductsPageView } from "./features/stores/components/StoreProductsPageView";
|
|
41
|
+
export { StoreAuctionsPageView } from "./features/stores/components/StoreAuctionsPageView";
|
|
42
|
+
export { StorePreOrdersPageView } from "./features/stores/components/StorePreOrdersPageView";
|
|
43
|
+
export { StorePrizeDrawsPageView } from "./features/stores/components/StorePrizeDrawsPageView";
|
|
44
|
+
export { StoreBundlesPageView } from "./features/stores/components/StoreBundlesPageView";
|
|
17
45
|
// S2: products data layer — deduped via React.cache()
|
|
18
46
|
export { getProductForDetail, listSitemapProducts, } from "./_internal/server/features/products/index";
|
|
19
47
|
// S3: auctions data layer — deduped via React.cache()
|