@burdenoff/microfe-store 2026.525.1 → 2026.525.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.
Files changed (52) hide show
  1. package/package.json +1 -1
  2. package/dist/StoreAdminRoot.d.ts +0 -22
  3. package/dist/StoreAdminRoutes.d.ts +0 -9
  4. package/dist/StoreRoot.d.ts +0 -31
  5. package/dist/StoreRoutes.d.ts +0 -12
  6. package/dist/components/InstallAppModal.d.ts +0 -26
  7. package/dist/components/RouteGuards.d.ts +0 -17
  8. package/dist/components/cart/CartDrawer.d.ts +0 -35
  9. package/dist/components/index.d.ts +0 -9
  10. package/dist/components/marketplace/ProductCard.d.ts +0 -18
  11. package/dist/dev/main.d.ts +0 -1
  12. package/dist/generated/global-operations.d.ts +0 -2012
  13. package/dist/generated/global-types.d.ts +0 -23526
  14. package/dist/generated/wspace-operations.d.ts +0 -1
  15. package/dist/generated/wspace-types.d.ts +0 -57850
  16. package/dist/hooks/index.d.ts +0 -12
  17. package/dist/hooks/useBackendCart.d.ts +0 -73
  18. package/dist/hooks/useCart.d.ts +0 -62
  19. package/dist/hooks/useInstallations.d.ts +0 -43
  20. package/dist/hooks/useOrders.d.ts +0 -40
  21. package/dist/hooks/useProductSearch.d.ts +0 -22
  22. package/dist/hooks/useStoreGraphQL.d.ts +0 -475
  23. package/dist/hooks/useStoreGraphQLWithContext.d.ts +0 -48
  24. package/dist/hooks/useStorePermissions.d.ts +0 -63
  25. package/dist/index.d.ts +0 -44
  26. package/dist/pages/AdminDashboardPage.d.ts +0 -3
  27. package/dist/pages/AdminReviewModerationPage.d.ts +0 -3
  28. package/dist/pages/AdminStoresPage.d.ts +0 -3
  29. package/dist/pages/AdminSubmissionsQueuePage.d.ts +0 -3
  30. package/dist/pages/AppDetailPage.d.ts +0 -3
  31. package/dist/pages/AppSettingsPage.d.ts +0 -3
  32. package/dist/pages/CartPage.d.ts +0 -8
  33. package/dist/pages/InstalledAppsPage.d.ts +0 -8
  34. package/dist/pages/MarketplaceHomePage.d.ts +0 -3
  35. package/dist/pages/MyLicensesPage.d.ts +0 -3
  36. package/dist/pages/OrderConfirmationPage.d.ts +0 -3
  37. package/dist/pages/OrdersPage.d.ts +0 -8
  38. package/dist/pages/ProductCategoryPage.d.ts +0 -3
  39. package/dist/pages/ProductDetailPage.d.ts +0 -8
  40. package/dist/pages/ProductReviewsPage.d.ts +0 -3
  41. package/dist/pages/PublisherDashboardPage.d.ts +0 -3
  42. package/dist/pages/PublisherRevenuePage.d.ts +0 -3
  43. package/dist/pages/PublisherSubmissionsPage.d.ts +0 -3
  44. package/dist/pages/PublisherSubmitPage.d.ts +0 -3
  45. package/dist/pages/SearchResultsPage.d.ts +0 -3
  46. package/dist/pages/StoresPage.d.ts +0 -3
  47. package/dist/providers/StoreProvider.d.ts +0 -38
  48. package/dist/store/storeStore.d.ts +0 -69
  49. package/dist/translations/en.d.ts +0 -518
  50. package/dist/types/index.d.ts +0 -575
  51. package/dist/utils/index.d.ts +0 -67
  52. package/dist/utils/nativeBridge.d.ts +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-store",
3
- "version": "2026.525.1",
3
+ "version": "2026.525.3",
4
4
  "description": "Store microfrontend for Burdenoff products",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,22 +0,0 @@
1
- import { FC } from 'react';
2
- import { StoreAdminRootProps } from './types';
3
-
4
- /**
5
- * Admin root component for the Store microfrontend.
6
- *
7
- * This is the admin entry point that the admin app shell imports and renders.
8
- * It sets up the necessary providers and renders only admin-specific routing.
9
- * User-facing routes (marketplace, cart, orders, etc.) are NOT included here —
10
- * those are in StoreRoot, which product app shells import instead.
11
- *
12
- * Nav items are registered statically by the admin shell's NavRegistration
13
- * component, so this root only needs to provide context and routes.
14
- *
15
- * @example
16
- * ```tsx
17
- * import { StoreAdminRoot } from '@burdenoff/microfe-store';
18
- *
19
- * <StoreAdminRoot basePath="/store" {...globalBaseProps} />
20
- * ```
21
- */
22
- export declare const StoreAdminRoot: FC<StoreAdminRootProps>;
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- /**
4
- * StoreAdminRoutes component
5
- *
6
- * Admin-only routing for the Store microfrontend.
7
- * Mounted by the admin app shell via StoreAdminRoot.
8
- */
9
- export declare const StoreAdminRoutes: FC;
@@ -1,31 +0,0 @@
1
- import { FC } from 'react';
2
- import { StoreRootProps } from './types';
3
-
4
- /**
5
- * Root component for the Store microfrontend.
6
- *
7
- * This is the main entry point that host applications import and render.
8
- * It sets up the necessary providers and renders the internal routing.
9
- * Automatically registers navigation items with the shell if registration functions are provided.
10
- *
11
- * @example
12
- * ```tsx
13
- * import { StoreRoot, type StoreRootProps } from '@burdenoff/micro-fe/store';
14
- *
15
- * function App() {
16
- * const props: StoreRootProps = {
17
- * basePath: '/store',
18
- * navigate: (path) => router.push(path),
19
- * currentUser: { id: '1', email: 'user@example.com', firstName: 'John', lastName: 'Doe' },
20
- * workspaceId: 'ws-123',
21
- * organizationId: 'org-123',
22
- * apiGatewayUrl: 'https://api.example.com/tenant/graphql',
23
- * authToken: 'token',
24
- * registerNavItems: (items) => { return () => {}; },
25
- * };
26
- *
27
- * return <StoreRoot {...props} />;
28
- * }
29
- * ```
30
- */
31
- export declare const StoreRoot: FC<StoreRootProps>;
@@ -1,12 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- /**
4
- * StoreRoutes component
5
- *
6
- * Internal routing for the Store microfrontend. Every route is gated by both
7
- * a live feature flag (via FeatureGate) and an RBAC permission check so that
8
- * features can be toggled per-org without a deployment.
9
- *
10
- * Flag namespace: store.*
11
- */
12
- export declare const StoreRoutes: FC;
@@ -1,26 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- export interface AppInfo {
4
- id: string;
5
- name: string;
6
- slug?: string;
7
- icon?: string;
8
- type?: string;
9
- version?: string;
10
- }
11
- interface InstallAppModalProps {
12
- isOpen: boolean;
13
- onClose: () => void;
14
- app: AppInfo;
15
- orderId?: string | null;
16
- purchaseState?: 'free' | 'purchased';
17
- onInstallSuccess?: (workspaceId: string, workspaceName: string) => void;
18
- onInstallError?: (error: Error) => void;
19
- }
20
- /**
21
- * InstallAppModal component
22
- *
23
- * Modal for selecting a workspace to install an app into
24
- */
25
- export declare const InstallAppModal: FC<InstallAppModalProps>;
26
- export {};
@@ -1,17 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
-
3
- /**
4
- * Loading fallback for lazy-loaded route pages
5
- */
6
- export declare const PageLoadingFallback: FC;
7
- /**
8
- * Access denied page shown when user lacks permission for a route
9
- */
10
- export declare const AccessDenied: FC;
11
- /**
12
- * Route-level permission guard that shows AccessDenied when permission check fails
13
- */
14
- export declare const PermissionGuard: FC<{
15
- allowed: boolean;
16
- children: ReactNode;
17
- }>;
@@ -1,35 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- /**
4
- * Props for CartDrawer
5
- */
6
- interface CartDrawerProps {
7
- isOpen: boolean;
8
- onClose: () => void;
9
- onCheckout: () => void;
10
- cartItems: Array<{
11
- id: string;
12
- quantity: number;
13
- subtotal: number;
14
- productName?: string;
15
- productIcon?: string;
16
- variantName?: string;
17
- product?: {
18
- icon?: string;
19
- name?: string;
20
- };
21
- }>;
22
- itemCount: number;
23
- subtotal: number;
24
- tax: number;
25
- total: number;
26
- updateQuantity: (cartItemId: string, quantity: number) => Promise<void>;
27
- removeProduct: (cartItemId: string) => Promise<void>;
28
- }
29
- /**
30
- * CartDrawer component
31
- *
32
- * Sliding drawer for cart management
33
- */
34
- export declare const CartDrawer: FC<CartDrawerProps>;
35
- export {};
@@ -1,9 +0,0 @@
1
- /**
2
- * Store Components
3
- *
4
- * Re-exports all store UI components
5
- */
6
- export { ProductCard } from './marketplace/ProductCard';
7
- export { CartDrawer } from './cart/CartDrawer';
8
- export { InstallAppModal } from './InstallAppModal';
9
- export type { AppInfo } from './InstallAppModal';
@@ -1,18 +0,0 @@
1
- import { FC } from 'react';
2
- import { Product } from '../../types';
3
-
4
- /**
5
- * Props for ProductCard
6
- */
7
- interface ProductCardProps {
8
- product: Product;
9
- onSelect: (product: Product) => void;
10
- onAddToCart: (product: Product) => void;
11
- }
12
- /**
13
- * ProductCard component
14
- *
15
- * Displays a product in grid view with key information and actions
16
- */
17
- export declare const ProductCard: FC<ProductCardProps>;
18
- export {};
@@ -1 +0,0 @@
1
- export {};