@burdenoff/microfe-product 2026.525.5 → 2026.525.6

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 (193) hide show
  1. package/package.json +1 -1
  2. package/dist/generated/global-operations.d.ts +0 -2220
  3. package/dist/generated/global-operations.d.ts.map +0 -1
  4. package/dist/generated/global-types.d.ts +0 -22719
  5. package/dist/generated/global-types.d.ts.map +0 -1
  6. package/dist/generated/wspace-operations.d.ts +0 -2
  7. package/dist/generated/wspace-operations.d.ts.map +0 -1
  8. package/dist/generated/wspace-types.d.ts +0 -49106
  9. package/dist/generated/wspace-types.d.ts.map +0 -1
  10. package/dist/index.d.ts +0 -14
  11. package/dist/index.d.ts.map +0 -1
  12. package/dist/product/ProductUserRoot.d.ts +0 -4
  13. package/dist/product/ProductUserRoot.d.ts.map +0 -1
  14. package/dist/product/ProductUserRoutes.d.ts +0 -6
  15. package/dist/product/ProductUserRoutes.d.ts.map +0 -1
  16. package/dist/product/hooks/usePublicContentPage.d.ts +0 -9
  17. package/dist/product/hooks/usePublicContentPage.d.ts.map +0 -1
  18. package/dist/product/hooks/usePublicProduct.d.ts +0 -9
  19. package/dist/product/hooks/usePublicProduct.d.ts.map +0 -1
  20. package/dist/product/hooks/usePublicProducts.d.ts +0 -21
  21. package/dist/product/hooks/usePublicProducts.d.ts.map +0 -1
  22. package/dist/product/pages/ContentPageViewPage.d.ts +0 -2
  23. package/dist/product/pages/ContentPageViewPage.d.ts.map +0 -1
  24. package/dist/product/pages/ProductCatalogPage.d.ts +0 -2
  25. package/dist/product/pages/ProductCatalogPage.d.ts.map +0 -1
  26. package/dist/product/pages/ProductViewPage.d.ts +0 -2
  27. package/dist/product/pages/ProductViewPage.d.ts.map +0 -1
  28. package/dist/product/pages/UserProductsLandingPage.d.ts +0 -9
  29. package/dist/product/pages/UserProductsLandingPage.d.ts.map +0 -1
  30. package/dist/product/providers/ProductUserProvider.d.ts +0 -10
  31. package/dist/product/providers/ProductUserProvider.d.ts.map +0 -1
  32. package/dist/product/types/index.d.ts +0 -34
  33. package/dist/product/types/index.d.ts.map +0 -1
  34. package/dist/product-management/ProductManagementRoot.d.ts +0 -4
  35. package/dist/product-management/ProductManagementRoot.d.ts.map +0 -1
  36. package/dist/product-management/ProductManagementRoutes.d.ts +0 -6
  37. package/dist/product-management/ProductManagementRoutes.d.ts.map +0 -1
  38. package/dist/product-management/index.d.ts +0 -5
  39. package/dist/product-management/index.d.ts.map +0 -1
  40. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts +0 -10
  41. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts.map +0 -1
  42. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts +0 -11
  43. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts.map +0 -1
  44. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts +0 -76
  45. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts.map +0 -1
  46. package/dist/product-management/modules/content-pages/index.d.ts +0 -15
  47. package/dist/product-management/modules/content-pages/index.d.ts.map +0 -1
  48. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts +0 -2
  49. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts.map +0 -1
  50. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts +0 -6
  51. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts.map +0 -1
  52. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts +0 -2
  53. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts.map +0 -1
  54. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts +0 -2
  55. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts.map +0 -1
  56. package/dist/product-management/modules/content-pages/schemas/index.d.ts +0 -57
  57. package/dist/product-management/modules/content-pages/schemas/index.d.ts.map +0 -1
  58. package/dist/product-management/modules/content-pages/types/index.d.ts +0 -91
  59. package/dist/product-management/modules/content-pages/types/index.d.ts.map +0 -1
  60. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts +0 -11
  61. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts.map +0 -1
  62. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts +0 -8
  63. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts.map +0 -1
  64. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts +0 -8
  65. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts.map +0 -1
  66. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts +0 -58
  67. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts.map +0 -1
  68. package/dist/product-management/modules/feature-flags/index.d.ts +0 -13
  69. package/dist/product-management/modules/feature-flags/index.d.ts.map +0 -1
  70. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts +0 -3
  71. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts.map +0 -1
  72. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts +0 -3
  73. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts.map +0 -1
  74. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts +0 -3
  75. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts.map +0 -1
  76. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts +0 -3
  77. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts.map +0 -1
  78. package/dist/product-management/modules/feature-flags/schemas/index.d.ts +0 -35
  79. package/dist/product-management/modules/feature-flags/schemas/index.d.ts.map +0 -1
  80. package/dist/product-management/modules/feature-flags/types/index.d.ts +0 -86
  81. package/dist/product-management/modules/feature-flags/types/index.d.ts.map +0 -1
  82. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts +0 -10
  83. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts.map +0 -1
  84. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts +0 -73
  85. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts.map +0 -1
  86. package/dist/product-management/modules/press-kit/index.d.ts +0 -14
  87. package/dist/product-management/modules/press-kit/index.d.ts.map +0 -1
  88. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts +0 -2
  89. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts.map +0 -1
  90. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts +0 -2
  91. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts.map +0 -1
  92. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts +0 -2
  93. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts.map +0 -1
  94. package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts +0 -2
  95. package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts.map +0 -1
  96. package/dist/product-management/modules/press-kit/schemas/index.d.ts +0 -60
  97. package/dist/product-management/modules/press-kit/schemas/index.d.ts.map +0 -1
  98. package/dist/product-management/modules/press-kit/types/index.d.ts +0 -73
  99. package/dist/product-management/modules/press-kit/types/index.d.ts.map +0 -1
  100. package/dist/product-management/modules/products/components/ProductCard.d.ts +0 -15
  101. package/dist/product-management/modules/products/components/ProductCard.d.ts.map +0 -1
  102. package/dist/product-management/modules/products/components/ProductForm.d.ts +0 -10
  103. package/dist/product-management/modules/products/components/ProductForm.d.ts.map +0 -1
  104. package/dist/product-management/modules/products/components/ProductPlans.d.ts +0 -8
  105. package/dist/product-management/modules/products/components/ProductPlans.d.ts.map +0 -1
  106. package/dist/product-management/modules/products/components/ProductStats.d.ts +0 -23
  107. package/dist/product-management/modules/products/components/ProductStats.d.ts.map +0 -1
  108. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts +0 -12
  109. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts.map +0 -1
  110. package/dist/product-management/modules/products/hooks/useProducts.d.ts +0 -103
  111. package/dist/product-management/modules/products/hooks/useProducts.d.ts.map +0 -1
  112. package/dist/product-management/modules/products/index.d.ts +0 -16
  113. package/dist/product-management/modules/products/index.d.ts.map +0 -1
  114. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts +0 -2
  115. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts.map +0 -1
  116. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts +0 -6
  117. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts.map +0 -1
  118. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts +0 -2
  119. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts.map +0 -1
  120. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts +0 -2
  121. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts.map +0 -1
  122. package/dist/product-management/modules/products/schemas/index.d.ts +0 -61
  123. package/dist/product-management/modules/products/schemas/index.d.ts.map +0 -1
  124. package/dist/product-management/modules/products/types/index.d.ts +0 -115
  125. package/dist/product-management/modules/products/types/index.d.ts.map +0 -1
  126. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts +0 -6
  127. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts.map +0 -1
  128. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts +0 -10
  129. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts.map +0 -1
  130. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts +0 -11
  131. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts.map +0 -1
  132. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts +0 -85
  133. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts.map +0 -1
  134. package/dist/product-management/modules/shortcuts/index.d.ts +0 -17
  135. package/dist/product-management/modules/shortcuts/index.d.ts.map +0 -1
  136. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts +0 -2
  137. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts.map +0 -1
  138. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts +0 -2
  139. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts.map +0 -1
  140. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts +0 -2
  141. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts.map +0 -1
  142. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts +0 -2
  143. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts.map +0 -1
  144. package/dist/product-management/modules/shortcuts/schemas/index.d.ts +0 -35
  145. package/dist/product-management/modules/shortcuts/schemas/index.d.ts.map +0 -1
  146. package/dist/product-management/modules/shortcuts/types/index.d.ts +0 -28
  147. package/dist/product-management/modules/shortcuts/types/index.d.ts.map +0 -1
  148. package/dist/product-management/providers/ProductConsoleProvider.d.ts +0 -18
  149. package/dist/product-management/providers/ProductConsoleProvider.d.ts.map +0 -1
  150. package/dist/product-management/shared/components/AuditHistoryTab.d.ts +0 -7
  151. package/dist/product-management/shared/components/AuditHistoryTab.d.ts.map +0 -1
  152. package/dist/product-management/shared/components/TagList.d.ts +0 -7
  153. package/dist/product-management/shared/components/TagList.d.ts.map +0 -1
  154. package/dist/product-management/shared/components/feedback/EmptyState.d.ts +0 -13
  155. package/dist/product-management/shared/components/feedback/EmptyState.d.ts.map +0 -1
  156. package/dist/product-management/shared/components/feedback/ErrorState.d.ts +0 -18
  157. package/dist/product-management/shared/components/feedback/ErrorState.d.ts.map +0 -1
  158. package/dist/product-management/shared/components/feedback/LoadingState.d.ts +0 -13
  159. package/dist/product-management/shared/components/feedback/LoadingState.d.ts.map +0 -1
  160. package/dist/product-management/shared/components/input/ProductCombobox.d.ts +0 -29
  161. package/dist/product-management/shared/components/input/ProductCombobox.d.ts.map +0 -1
  162. package/dist/product-management/shared/components/input/SearchInput.d.ts +0 -22
  163. package/dist/product-management/shared/components/input/SearchInput.d.ts.map +0 -1
  164. package/dist/product-management/shared/components/input/TagInput.d.ts +0 -10
  165. package/dist/product-management/shared/components/input/TagInput.d.ts.map +0 -1
  166. package/dist/product-management/shared/hooks/useDebounced.d.ts +0 -6
  167. package/dist/product-management/shared/hooks/useDebounced.d.ts.map +0 -1
  168. package/dist/product-management/shared/hooks/useTr.d.ts +0 -17
  169. package/dist/product-management/shared/hooks/useTr.d.ts.map +0 -1
  170. package/dist/product-management/shared/index.d.ts +0 -11
  171. package/dist/product-management/shared/index.d.ts.map +0 -1
  172. package/dist/product-management/shared/types/graphql.d.ts +0 -119
  173. package/dist/product-management/shared/types/graphql.d.ts.map +0 -1
  174. package/dist/product-management/shared/utils/cn.d.ts +0 -7
  175. package/dist/product-management/shared/utils/cn.d.ts.map +0 -1
  176. package/dist/product-management/shared/utils/exportUtils.d.ts +0 -5
  177. package/dist/product-management/shared/utils/exportUtils.d.ts.map +0 -1
  178. package/dist/product-management/types/index.d.ts +0 -40
  179. package/dist/product-management/types/index.d.ts.map +0 -1
  180. package/dist/shared/components/index.d.ts +0 -10
  181. package/dist/shared/components/index.d.ts.map +0 -1
  182. package/dist/shared/index.d.ts +0 -3
  183. package/dist/shared/index.d.ts.map +0 -1
  184. package/dist/shared/utils/formatDate.d.ts +0 -5
  185. package/dist/shared/utils/formatDate.d.ts.map +0 -1
  186. package/dist/shared/utils/index.d.ts +0 -4
  187. package/dist/shared/utils/index.d.ts.map +0 -1
  188. package/dist/shared/utils/isSafeUrl.d.ts +0 -6
  189. package/dist/shared/utils/isSafeUrl.d.ts.map +0 -1
  190. package/dist/shared/utils/renderMarkdown.d.ts +0 -10
  191. package/dist/shared/utils/renderMarkdown.d.ts.map +0 -1
  192. package/dist/utils/nativeBridge.d.ts +0 -3
  193. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1,12 +0,0 @@
1
- import { PlatformProductStatus } from '../types';
2
- interface ProductStatusBadgeProps {
3
- status: PlatformProductStatus;
4
- showIcon?: boolean;
5
- }
6
- /**
7
- * ProductStatusBadge
8
- * Displays the status of a product with color coding and optional icon
9
- */
10
- export declare function ProductStatusBadge({ status, showIcon }: ProductStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
12
- //# sourceMappingURL=ProductStatusBadge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductStatusBadge.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/components/ProductStatusBadge.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAErE,UAAU,uBAAuB;IAC/B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,MAAM,EAAE,QAAe,EAAE,EAAE,uBAAuB,2CA2DtF"}
@@ -1,103 +0,0 @@
1
- import { PlatformProduct, ProductFilterInput, CreateProductInput, UpdateProductInput } from '../types';
2
- /**
3
- * Hook to fetch products with filtering and pagination
4
- */
5
- export declare function useProducts(filter?: ProductFilterInput, options?: {
6
- limit?: number;
7
- offset?: number;
8
- }): {
9
- products: PlatformProduct[];
10
- total: any;
11
- hasMore: any;
12
- loading: boolean;
13
- error: import('@apollo/client').ApolloError | undefined;
14
- refetch: (variables?: any) => Promise<import('@apollo/client').ApolloQueryResult<Types.GetPlatformProductsQuery>>;
15
- fetchMore: <TFetchData = Types.GetPlatformProductsQuery, TFetchVars extends import('@apollo/client').OperationVariables = Types.GetPlatformProductsQueryVariables>(fetchMoreOptions: import('@apollo/client').FetchMoreQueryOptions<TFetchVars, TFetchData> & {
16
- updateQuery?: ((previousQueryResult: any, options: {
17
- fetchMoreResult: import('@apollo/client').Unmasked<TFetchData>;
18
- variables: TFetchVars;
19
- }) => any) | undefined;
20
- }) => Promise<import('@apollo/client').ApolloQueryResult<TFetchData>>;
21
- };
22
- /**
23
- * Hook to fetch a single product by ID
24
- */
25
- export declare function useProduct(id: string): {
26
- product: PlatformProduct | undefined;
27
- loading: boolean;
28
- error: import('@apollo/client').ApolloError | undefined;
29
- refetch: (variables?: any) => Promise<import('@apollo/client').ApolloQueryResult<Types.GetPlatformProductQuery>>;
30
- };
31
- /**
32
- * Hook to fetch a product by slug
33
- */
34
- export declare function useProductBySlug(slug: string): {
35
- product: PlatformProduct | undefined;
36
- loading: boolean;
37
- error: import('@apollo/client').ApolloError | undefined;
38
- refetch: (variables?: any) => Promise<import('@apollo/client').ApolloQueryResult<Types.GetPlatformProductBySlugQuery>>;
39
- };
40
- /**
41
- * Hook to fetch a product by either ID (UUID) or slug. Routes like
42
- * `/products/:id` historically receive only UUIDs, but users hand-type or
43
- * follow external links to `/products/<slug>` and expect to land on the
44
- * detail page (M22-B2). Detect the shape and pick the right query.
45
- *
46
- * Note: slugs are allowed to match the UUID format
47
- * (lowercase letters/digits/hyphens), so a UUID-shaped slug would
48
- * normally be treated as an ID and miss the bySlug resolver. To
49
- * avoid that regression, when the ID query completes with no
50
- * product, we fall back to the slug query.
51
- */
52
- export declare function useProductByIdOrSlug(idOrSlug: string): {
53
- product: PlatformProduct | undefined;
54
- loading: boolean;
55
- error: import('@apollo/client').ApolloError | undefined;
56
- refetch: () => Promise<void>;
57
- };
58
- /**
59
- * Hook to create a new product. Emits `tenant.product.created` on success.
60
- */
61
- export declare function useCreateProduct(): {
62
- createProduct: (input: CreateProductInput) => Promise<import('@apollo/client').FetchResult<Types.CreatePlatformProductMutation>>;
63
- createPlatformProduct: PlatformProduct | undefined;
64
- data: PlatformProduct | undefined;
65
- loading: boolean;
66
- error: import('@apollo/client').ApolloError | undefined;
67
- };
68
- /**
69
- * Hook to update a product. Emits `tenant.product.updated` on success.
70
- */
71
- export declare function useUpdateProduct(): {
72
- updateProduct: (id: string, input: UpdateProductInput) => Promise<import('@apollo/client').FetchResult<Types.UpdatePlatformProductMutation>>;
73
- data: PlatformProduct | undefined;
74
- loading: boolean;
75
- error: import('@apollo/client').ApolloError | undefined;
76
- };
77
- /**
78
- * Hook to delete a product. Emits `tenant.product.deleted` on success.
79
- */
80
- export declare function useDeleteProduct(): {
81
- deleteProduct: (id: string) => Promise<import('@apollo/client').FetchResult<Types.DeletePlatformProductMutation>>;
82
- data: any;
83
- loading: boolean;
84
- error: import('@apollo/client').ApolloError | undefined;
85
- };
86
- /**
87
- * Hook to update product status to ACTIVE
88
- */
89
- export declare function useActivateProduct(): {
90
- activateProduct: (id: string) => Promise<import('@apollo/client').FetchResult<Types.UpdatePlatformProductMutation>>;
91
- loading: boolean;
92
- error: import('@apollo/client').ApolloError | undefined;
93
- };
94
- /**
95
- * Hook to archive a product by setting it to DRAFT.
96
- * Backend schema does not expose a DEPRECATED status; DRAFT is used to hide a product from public listings.
97
- */
98
- export declare function useArchiveProduct(): {
99
- archiveProduct: (id: string) => Promise<import('@apollo/client').FetchResult<Types.UpdatePlatformProductMutation>>;
100
- loading: boolean;
101
- error: import('@apollo/client').ApolloError | undefined;
102
- };
103
- //# sourceMappingURL=useProducts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProducts.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/hooks/useProducts.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,wBAAgB,WAAW,CACzB,MAAM,CAAC,EAAE,kBAAkB,EAC3B,OAAO,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE;cAYQ,eAAe,EAAE;;;;;;;;;;;;EAQvE;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM;aAQC,eAAe,GAAG,SAAS;;;;EAKhE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM;aAQD,eAAe,GAAG,SAAS;;;;EAKtE;AAKD;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM;;;;;EAgCpD;AAED;;GAEG;AACH,wBAAgB,gBAAgB;2BAOC,kBAAkB;2BAYO,eAAe,GAAG,SAAS;UAC5C,eAAe,GAAG,SAAS;;;EAInE;AAED;;GAEG;AACH,wBAAgB,gBAAgB;wBAKF,MAAM,SAAS,kBAAkB;UAYtB,eAAe,GAAG,SAAS;;;EAInE;AAED;;GAEG;AACH,wBAAgB,gBAAgB;wBAOF,MAAM;;;;EAWnC;AAED;;GAEG;AACH,wBAAgB,kBAAkB;0BAIR,MAAM;;;EAI/B;AAED;;;GAGG;AACH,wBAAgB,iBAAiB;yBAIR,MAAM;;;EAI9B"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Products Module
3
- * Exports all components, pages, hooks, and types
4
- */
5
- export { ProductsListPage } from './pages/ProductsListPage';
6
- export { ProductCreatePage } from './pages/ProductCreatePage';
7
- export { ProductDetailPage } from './pages/ProductDetailPage';
8
- export { ProductEditPage } from './pages/ProductEditPage';
9
- export { ProductForm } from './components/ProductForm';
10
- export { ProductStatusBadge } from './components/ProductStatusBadge';
11
- export { ProductCard } from './components/ProductCard';
12
- export { ProductStats } from './components/ProductStats';
13
- export { useProducts, useProduct, useCreateProduct, useUpdateProduct, useDeleteProduct, useActivateProduct, useArchiveProduct, } from './hooks/useProducts';
14
- export type { Product, CreateProductInput, UpdateProductInput, ProductFilterInput, ProductsConnection, } from './types';
15
- export { ProductStatus, type PlatformProductStatus as ProductStatusType } from './types';
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/product-management/modules/products/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG1D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,OAAO,EACL,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAG7B,YAAY,EACV,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,aAAa,EAAE,KAAK,qBAAqB,IAAI,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function ProductCreatePage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=ProductCreatePage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductCreatePage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/pages/ProductCreatePage.tsx"],"names":[],"mappings":"AAQA,wBAAgB,iBAAiB,4CA2EhC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Product Detail Page
3
- * Shows comprehensive product information
4
- */
5
- export declare function ProductDetailPage(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=ProductDetailPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductDetailPage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/pages/ProductDetailPage.tsx"],"names":[],"mappings":"AA2BA;;;GAGG;AACH,wBAAgB,iBAAiB,4CAwkBhC"}
@@ -1,2 +0,0 @@
1
- export declare function ProductEditPage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=ProductEditPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductEditPage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/pages/ProductEditPage.tsx"],"names":[],"mappings":"AAWA,wBAAgB,eAAe,4CAqF9B"}
@@ -1,2 +0,0 @@
1
- export declare function ProductsListPage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=ProductsListPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductsListPage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/pages/ProductsListPage.tsx"],"names":[],"mappings":"AA0BA,wBAAgB,gBAAgB,4CAiY/B"}
@@ -1,61 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const createProductSchema: z.ZodObject<{
3
- name: z.ZodString;
4
- slug: z.ZodString;
5
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
6
- status: z.ZodOptional<z.ZodEnum<{
7
- ACTIVE: "ACTIVE";
8
- COMING_SOON: "COMING_SOON";
9
- DRAFT: "DRAFT";
10
- WAITLIST: "WAITLIST";
11
- }>>;
12
- logoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
13
- website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
14
- appUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
15
- docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
16
- githubUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
17
- statusPageUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
18
- contactEmail: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
19
- supportEmail: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
20
- contactPhone: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
21
- contactAddress: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
22
- seoTitle: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
23
- seoDescription: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
24
- seoKeywords: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
25
- ogImage: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
26
- appStoreUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
27
- playStoreUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
28
- socialLinks: z.ZodUnion<[z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodUndefined]>;
29
- resourceLinks: z.ZodUnion<[z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodUndefined]>;
30
- }, z.core.$strip>;
31
- export declare const updateProductSchema: z.ZodObject<{
32
- name: z.ZodOptional<z.ZodString>;
33
- description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
34
- status: z.ZodOptional<z.ZodEnum<{
35
- ACTIVE: "ACTIVE";
36
- COMING_SOON: "COMING_SOON";
37
- DRAFT: "DRAFT";
38
- WAITLIST: "WAITLIST";
39
- }>>;
40
- logoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
41
- website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
42
- appUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
43
- docsUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
44
- githubUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
45
- statusPageUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
46
- contactEmail: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
47
- supportEmail: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
48
- contactPhone: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
49
- contactAddress: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
50
- seoTitle: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
51
- seoDescription: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
52
- seoKeywords: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
53
- ogImage: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
54
- appStoreUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
55
- playStoreUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
56
- socialLinks: z.ZodUnion<[z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodUndefined]>;
57
- resourceLinks: z.ZodUnion<[z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodUndefined]>;
58
- }, z.core.$strip>;
59
- export type CreateProductFormData = z.infer<typeof createProductSchema>;
60
- export type UpdateProductFormData = z.infer<typeof updateProductSchema>;
61
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+ExB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuB9B,CAAC;AAGH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsB9B,CAAC;AAGH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACxE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -1,115 +0,0 @@
1
- /**
2
- * Products Module Types
3
- * Aligned with backend PlatformProduct schema
4
- */
5
- export type PlatformProductStatus = 'ACTIVE' | 'COMING_SOON' | 'DRAFT' | 'WAITLIST';
6
- export declare const ProductStatus: {
7
- ACTIVE: "ACTIVE";
8
- COMING_SOON: "COMING_SOON";
9
- DRAFT: "DRAFT";
10
- WAITLIST: "WAITLIST";
11
- };
12
- export interface PlatformProduct {
13
- id: string;
14
- name: string;
15
- slug: string;
16
- description?: string | null;
17
- status: PlatformProductStatus;
18
- logoUrl?: string | null;
19
- website?: string | null;
20
- appUrl?: string | null;
21
- docsUrl?: string | null;
22
- githubUrl?: string | null;
23
- statusPageUrl?: string | null;
24
- contactEmail?: string | null;
25
- supportEmail?: string | null;
26
- contactPhone?: string | null;
27
- contactAddress?: string | null;
28
- seoTitle?: string | null;
29
- seoDescription?: string | null;
30
- seoKeywords?: string | null;
31
- ogImage?: string | null;
32
- appStoreUrl?: string | null;
33
- playStoreUrl?: string | null;
34
- socialLinks?: Record<string, string> | null;
35
- resourceLinks?: Record<string, string> | null;
36
- recaptchaSiteKey?: string | null;
37
- tenantCount: number;
38
- activeUsers: number;
39
- apiCalls: number;
40
- storageGB: number;
41
- uptime: number;
42
- tags: string[];
43
- metadata?: Record<string, unknown> | null;
44
- createdAt: string;
45
- updatedAt: string;
46
- }
47
- export type Product = PlatformProduct;
48
- export interface ProductFilterInput {
49
- status?: PlatformProductStatus;
50
- search?: string;
51
- }
52
- export interface CreateProductInput {
53
- name: string;
54
- slug: string;
55
- description?: string;
56
- status?: PlatformProductStatus;
57
- logoUrl?: string;
58
- website?: string;
59
- appUrl?: string;
60
- docsUrl?: string;
61
- githubUrl?: string;
62
- statusPageUrl?: string;
63
- contactEmail?: string;
64
- supportEmail?: string;
65
- contactPhone?: string;
66
- contactAddress?: string;
67
- seoTitle?: string;
68
- seoDescription?: string;
69
- seoKeywords?: string;
70
- ogImage?: string;
71
- appStoreUrl?: string;
72
- playStoreUrl?: string;
73
- socialLinks?: Record<string, string>;
74
- resourceLinks?: Record<string, string>;
75
- tags?: string[];
76
- recaptchaSiteKey?: string;
77
- recaptchaSecretKey?: string;
78
- }
79
- export interface UpdateProductInput {
80
- name?: string;
81
- description?: string;
82
- status?: PlatformProductStatus;
83
- logoUrl?: string;
84
- website?: string;
85
- appUrl?: string;
86
- docsUrl?: string;
87
- githubUrl?: string;
88
- statusPageUrl?: string;
89
- contactEmail?: string;
90
- supportEmail?: string;
91
- contactPhone?: string;
92
- contactAddress?: string;
93
- seoTitle?: string;
94
- seoDescription?: string;
95
- seoKeywords?: string;
96
- ogImage?: string;
97
- appStoreUrl?: string;
98
- playStoreUrl?: string;
99
- socialLinks?: Record<string, string>;
100
- resourceLinks?: Record<string, string>;
101
- tags?: string[];
102
- recaptchaSiteKey?: string;
103
- recaptchaSecretKey?: string;
104
- tenantCount?: number;
105
- activeUsers?: number;
106
- apiCalls?: number;
107
- storageGB?: number;
108
- uptime?: number;
109
- }
110
- export interface ProductsConnection {
111
- items: PlatformProduct[];
112
- total: number;
113
- hasMore: boolean;
114
- }
115
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,aAAa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AAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB"}
@@ -1,6 +0,0 @@
1
- interface ShortcutCategoryBadgeProps {
2
- category: string;
3
- }
4
- export declare function ShortcutCategoryBadge({ category }: ShortcutCategoryBadgeProps): import("react/jsx-runtime").JSX.Element;
5
- export {};
6
- //# sourceMappingURL=ShortcutCategoryBadge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShortcutCategoryBadge.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/components/ShortcutCategoryBadge.tsx"],"names":[],"mappings":"AAAA,UAAU,0BAA0B;IAClC,QAAQ,EAAE,MAAM,CAAC;CAClB;AA6BD,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,0BAA0B,2CAiB7E"}
@@ -1,10 +0,0 @@
1
- import { KeyboardShortcut, CreateKeyboardShortcutInput, UpdateKeyboardShortcutInput } from '../types';
2
- interface ShortcutFormProps {
3
- shortcut?: KeyboardShortcut | null;
4
- onSubmit: (data: CreateKeyboardShortcutInput | UpdateKeyboardShortcutInput) => Promise<void>;
5
- onCancel: () => void;
6
- loading?: boolean;
7
- }
8
- export declare function ShortcutForm({ shortcut, onSubmit, onCancel, loading }: ShortcutFormProps): import("react/jsx-runtime").JSX.Element;
9
- export {};
10
- //# sourceMappingURL=ShortcutForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShortcutForm.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/components/ShortcutForm.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,UAAU,CAAC;AAKlB,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACnC,QAAQ,EAAE,CAAC,IAAI,EAAE,2BAA2B,GAAG,2BAA2B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7F,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,iBAAiB,2CAkZxF"}
@@ -1,11 +0,0 @@
1
- interface ShortcutKeyBadgeProps {
2
- shortcutKey: string;
3
- isSequence?: boolean;
4
- }
5
- /**
6
- * Displays a keyboard shortcut as styled key badges
7
- * Handles both single keys and sequences (e.g., "g h" or "Cmd+K")
8
- */
9
- export declare function ShortcutKeyBadge({ shortcutKey, isSequence }: ShortcutKeyBadgeProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
11
- //# sourceMappingURL=ShortcutKeyBadge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShortcutKeyBadge.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/components/ShortcutKeyBadge.tsx"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE,qBAAqB,2CA6BlF"}
@@ -1,85 +0,0 @@
1
- import { KeyboardShortcut, KeyboardShortcutFilterInput, CreateKeyboardShortcutInput, UpdateKeyboardShortcutInput } from '../types';
2
- /**
3
- * Hook to fetch keyboard shortcuts with filtering and pagination
4
- */
5
- export declare function useShortcuts(filter?: KeyboardShortcutFilterInput, options?: {
6
- limit?: number;
7
- offset?: number;
8
- }): {
9
- shortcuts: KeyboardShortcut[];
10
- total: any;
11
- hasMore: any;
12
- loading: boolean;
13
- error: import('@apollo/client').ApolloError | undefined;
14
- refetch: (variables?: any) => Promise<import('@apollo/client').ApolloQueryResult<Types.GetKeyboardShortcutsQuery>>;
15
- fetchMore: <TFetchData = Types.GetKeyboardShortcutsQuery, TFetchVars extends import('@apollo/client').OperationVariables = Types.GetKeyboardShortcutsQueryVariables>(fetchMoreOptions: import('@apollo/client').FetchMoreQueryOptions<TFetchVars, TFetchData> & {
16
- updateQuery?: ((previousQueryResult: any, options: {
17
- fetchMoreResult: import('@apollo/client').Unmasked<TFetchData>;
18
- variables: TFetchVars;
19
- }) => any) | undefined;
20
- }) => Promise<import('@apollo/client').ApolloQueryResult<TFetchData>>;
21
- };
22
- /**
23
- * Hook to fetch a single keyboard shortcut by ID
24
- */
25
- export declare function useShortcut(id: string): {
26
- shortcut: KeyboardShortcut | undefined;
27
- loading: boolean;
28
- error: import('@apollo/client').ApolloError | undefined;
29
- refetch: (variables?: any) => Promise<import('@apollo/client').ApolloQueryResult<Types.GetKeyboardShortcutQuery>>;
30
- };
31
- /**
32
- * Hook to fetch all shortcut categories
33
- */
34
- export declare function useShortcutCategories(): {
35
- categories: any;
36
- loading: boolean;
37
- error: import('@apollo/client').ApolloError | undefined;
38
- refetch: (variables?: any) => Promise<import('@apollo/client').ApolloQueryResult<Types.GetShortcutCategoriesQuery>>;
39
- };
40
- /**
41
- * Hook to create a new keyboard shortcut
42
- */
43
- export declare function useCreateShortcut(): {
44
- createShortcut: (input: CreateKeyboardShortcutInput) => Promise<import('@apollo/client').FetchResult<Types.CreateKeyboardShortcutMutation>>;
45
- data: KeyboardShortcut | undefined;
46
- loading: boolean;
47
- error: import('@apollo/client').ApolloError | undefined;
48
- };
49
- /**
50
- * Hook to update a keyboard shortcut
51
- */
52
- export declare function useUpdateShortcut(): {
53
- updateShortcut: (id: string, input: UpdateKeyboardShortcutInput) => Promise<import('@apollo/client').FetchResult<Types.UpdateKeyboardShortcutMutation>>;
54
- data: KeyboardShortcut | undefined;
55
- loading: boolean;
56
- error: import('@apollo/client').ApolloError | undefined;
57
- };
58
- /**
59
- * Hook to delete a keyboard shortcut
60
- */
61
- export declare function useDeleteShortcut(): {
62
- deleteShortcut: (id: string) => Promise<import('@apollo/client').FetchResult<Types.DeleteKeyboardShortcutMutation>>;
63
- data: any;
64
- loading: boolean;
65
- error: import('@apollo/client').ApolloError | undefined;
66
- };
67
- /**
68
- * Hook to toggle a keyboard shortcut enabled state
69
- */
70
- export declare function useToggleShortcut(): {
71
- toggleShortcut: (id: string, isEnabled: boolean) => Promise<import('@apollo/client').FetchResult<Types.ToggleKeyboardShortcutMutation>>;
72
- data: KeyboardShortcut | undefined;
73
- loading: boolean;
74
- error: import('@apollo/client').ApolloError | undefined;
75
- };
76
- /**
77
- * Hook to seed default shortcuts
78
- */
79
- export declare function useSeedDefaultShortcuts(): {
80
- seedDefaultShortcuts: (productId?: string) => Promise<import('@apollo/client').FetchResult<Types.SeedDefaultShortcutsMutation>>;
81
- count: any;
82
- loading: boolean;
83
- error: import('@apollo/client').ApolloError | undefined;
84
- };
85
- //# sourceMappingURL=useShortcuts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useShortcuts.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/hooks/useShortcuts.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC3B,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,wBAAgB,YAAY,CAC1B,MAAM,CAAC,EAAE,2BAA2B,EACpC,OAAO,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE;eAYU,gBAAgB,EAAE;;;;;;;;;;;;EAQ1E;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM;cAQE,gBAAgB,GAAG,SAAS;;;;EAKnE;AAED;;GAEG;AACH,wBAAgB,qBAAqB;;;;;EAWpC;AAED;;GAEG;AACH,wBAAgB,iBAAiB;4BAOC,2BAA2B;UAYnB,gBAAgB,GAAG,SAAS;;;EAIrE;AAED;;GAEG;AACH,wBAAgB,iBAAiB;yBAKF,MAAM,SAAS,2BAA2B;UAY/B,gBAAgB,GAAG,SAAS;;;EAIrE;AAED;;GAEG;AACH,wBAAgB,iBAAiB;yBAOF,MAAM;;;;EAWpC;AAED;;GAEG;AACH,wBAAgB,iBAAiB;yBAKF,MAAM,aAAa,OAAO;UAYf,gBAAgB,GAAG,SAAS;;;EAIrE;AAED;;GAEG;AACH,wBAAgB,uBAAuB;uCAMA,MAAM;;;;EAM5C"}
@@ -1,17 +0,0 @@
1
- /**
2
- * Shortcuts Module
3
- * Exports all components, pages, hooks, and types for keyboard shortcuts management
4
- */
5
- export { ShortcutsListPage } from './pages/ShortcutsListPage';
6
- export { ShortcutCreatePage } from './pages/ShortcutCreatePage';
7
- export { ShortcutDetailPage } from './pages/ShortcutDetailPage';
8
- export { ShortcutEditPage } from './pages/ShortcutEditPage';
9
- export { ShortcutForm } from './components/ShortcutForm';
10
- export { ShortcutCategoryBadge } from './components/ShortcutCategoryBadge';
11
- export { ShortcutKeyBadge } from './components/ShortcutKeyBadge';
12
- export { useShortcuts, useShortcut, useShortcutCategories, useCreateShortcut, useUpdateShortcut, useDeleteShortcut, useToggleShortcut, useSeedDefaultShortcuts, } from './hooks/useShortcuts';
13
- export type { KeyboardShortcut, KeyboardShortcutList, KeyboardShortcutFilterInput, CreateKeyboardShortcutInput, UpdateKeyboardShortcutInput, ShortcutFormData, ShortcutCategory, } from './types';
14
- export { ShortcutCategories } from './types';
15
- export { createShortcutSchema, updateShortcutSchema } from './schemas';
16
- export type { CreateShortcutFormData, UpdateShortcutFormData } from './schemas';
17
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/product-management/modules/shortcuts/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,OAAO,EACL,YAAY,EACZ,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAG9B,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,EAC3B,2BAA2B,EAC3B,2BAA2B,EAC3B,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAG7C,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACvE,YAAY,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function ShortcutCreatePage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=ShortcutCreatePage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShortcutCreatePage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/pages/ShortcutCreatePage.tsx"],"names":[],"mappings":"AAQA,wBAAgB,kBAAkB,4CAyEjC"}
@@ -1,2 +0,0 @@
1
- export declare function ShortcutDetailPage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=ShortcutDetailPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShortcutDetailPage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/pages/ShortcutDetailPage.tsx"],"names":[],"mappings":"AAWA,wBAAgB,kBAAkB,4CAqWjC"}
@@ -1,2 +0,0 @@
1
- export declare function ShortcutEditPage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=ShortcutEditPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShortcutEditPage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/pages/ShortcutEditPage.tsx"],"names":[],"mappings":"AAUA,wBAAgB,gBAAgB,4CAqG/B"}
@@ -1,2 +0,0 @@
1
- export declare function ShortcutsListPage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=ShortcutsListPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShortcutsListPage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/pages/ShortcutsListPage.tsx"],"names":[],"mappings":"AA8BA,wBAAgB,iBAAiB,4CAgYhC"}
@@ -1,35 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * Validation schema for creating a keyboard shortcut
4
- */
5
- export declare const createShortcutSchema: z.ZodObject<{
6
- productId: z.ZodOptional<z.ZodString>;
7
- shortcutKey: z.ZodString;
8
- eventName: z.ZodString;
9
- category: z.ZodString;
10
- label: z.ZodString;
11
- description: z.ZodOptional<z.ZodString>;
12
- macKey: z.ZodOptional<z.ZodString>;
13
- windowsKey: z.ZodOptional<z.ZodString>;
14
- isEnabled: z.ZodOptional<z.ZodBoolean>;
15
- isSequence: z.ZodOptional<z.ZodBoolean>;
16
- sortOrder: z.ZodOptional<z.ZodNumber>;
17
- }, z.core.$strip>;
18
- /**
19
- * Validation schema for updating a keyboard shortcut
20
- */
21
- export declare const updateShortcutSchema: z.ZodObject<{
22
- shortcutKey: z.ZodOptional<z.ZodString>;
23
- eventName: z.ZodOptional<z.ZodString>;
24
- category: z.ZodOptional<z.ZodString>;
25
- label: z.ZodOptional<z.ZodString>;
26
- description: z.ZodOptional<z.ZodString>;
27
- macKey: z.ZodOptional<z.ZodString>;
28
- windowsKey: z.ZodOptional<z.ZodString>;
29
- isEnabled: z.ZodOptional<z.ZodBoolean>;
30
- isSequence: z.ZodOptional<z.ZodBoolean>;
31
- sortOrder: z.ZodOptional<z.ZodNumber>;
32
- }, z.core.$strip>;
33
- export type CreateShortcutFormData = z.infer<typeof createShortcutSchema>;
34
- export type UpdateShortcutFormData = z.infer<typeof updateShortcutSchema>;
35
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/shortcuts/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;iBAyB/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;iBA+B/B,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC1E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}