@burdenoff/microfe-product 2026.1013.2 → 2026.1109.1
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/generated/global-operations.d.ts +2418 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +109 -110
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +22700 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/global-types.js +1 -2
- package/dist/generated/global-types.js.map +1 -1
- package/dist/generated/wspace-operations.d.ts +5 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +49087 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/node_modules/zod/v4/classic/errors.js +41 -20
- package/dist/node_modules/zod/v4/classic/errors.js.map +1 -1
- package/dist/node_modules/zod/v4/classic/parse.js +4 -5
- package/dist/node_modules/zod/v4/classic/parse.js.map +1 -1
- package/dist/node_modules/zod/v4/classic/schemas.js +519 -393
- package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -1
- package/dist/node_modules/zod/v4/core/api.js +199 -197
- package/dist/node_modules/zod/v4/core/api.js.map +1 -1
- package/dist/node_modules/zod/v4/core/checks.js +83 -123
- package/dist/node_modules/zod/v4/core/checks.js.map +1 -1
- package/dist/node_modules/zod/v4/core/core.js +70 -35
- package/dist/node_modules/zod/v4/core/core.js.map +1 -1
- package/dist/node_modules/zod/v4/core/doc.js +11 -7
- package/dist/node_modules/zod/v4/core/doc.js.map +1 -1
- package/dist/node_modules/zod/v4/core/errors.js +64 -20
- package/dist/node_modules/zod/v4/core/errors.js.map +1 -1
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +258 -139
- package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +1 -1
- package/dist/node_modules/zod/v4/core/memoizer.js +188 -0
- package/dist/node_modules/zod/v4/core/memoizer.js.map +1 -0
- package/dist/node_modules/zod/v4/core/parse.js +136 -68
- package/dist/node_modules/zod/v4/core/parse.js.map +1 -1
- package/dist/node_modules/zod/v4/core/regexes.js +26 -19
- package/dist/node_modules/zod/v4/core/regexes.js.map +1 -1
- package/dist/node_modules/zod/v4/core/registries.js +2 -3
- package/dist/node_modules/zod/v4/core/registries.js.map +1 -1
- package/dist/node_modules/zod/v4/core/schemas.js +594 -457
- package/dist/node_modules/zod/v4/core/schemas.js.map +1 -1
- package/dist/node_modules/zod/v4/core/to-json-schema.js +204 -100
- package/dist/node_modules/zod/v4/core/to-json-schema.js.map +1 -1
- package/dist/node_modules/zod/v4/core/util.js +296 -142
- package/dist/node_modules/zod/v4/core/util.js.map +1 -1
- package/dist/node_modules/zod/v4/core/versions.js +3 -4
- package/dist/node_modules/zod/v4/core/versions.js.map +1 -1
- package/dist/node_modules/zod/v4/locales/en.js +96 -0
- package/dist/node_modules/zod/v4/locales/en.js.map +1 -0
- package/dist/product/ProductUserRoot.d.ts +4 -0
- package/dist/product/ProductUserRoot.d.ts.map +1 -0
- package/dist/product/ProductUserRoot.js +10 -7
- package/dist/product/ProductUserRoot.js.map +1 -1
- package/dist/product/ProductUserRoutes.d.ts +6 -0
- package/dist/product/ProductUserRoutes.d.ts.map +1 -0
- package/dist/product/ProductUserRoutes.js +1 -2
- package/dist/product/ProductUserRoutes.js.map +1 -1
- package/dist/product/hooks/usePublicContentPage.d.ts +9 -0
- package/dist/product/hooks/usePublicContentPage.d.ts.map +1 -0
- package/dist/product/hooks/usePublicContentPage.js +1 -2
- package/dist/product/hooks/usePublicContentPage.js.map +1 -1
- package/dist/product/hooks/usePublicProduct.d.ts +9 -0
- package/dist/product/hooks/usePublicProduct.d.ts.map +1 -0
- package/dist/product/hooks/usePublicProduct.js +1 -2
- package/dist/product/hooks/usePublicProduct.js.map +1 -1
- package/dist/product/hooks/usePublicProducts.d.ts +21 -0
- package/dist/product/hooks/usePublicProducts.d.ts.map +1 -0
- package/dist/product/hooks/usePublicProducts.js +1 -2
- package/dist/product/hooks/usePublicProducts.js.map +1 -1
- package/dist/product/pages/ContentPageViewPage.d.ts +2 -0
- package/dist/product/pages/ContentPageViewPage.d.ts.map +1 -0
- package/dist/product/pages/ContentPageViewPage.js +5 -6
- package/dist/product/pages/ContentPageViewPage.js.map +1 -1
- package/dist/product/pages/ProductCatalogPage.d.ts +2 -0
- package/dist/product/pages/ProductCatalogPage.d.ts.map +1 -0
- package/dist/product/pages/ProductCatalogPage.js +3 -4
- package/dist/product/pages/ProductCatalogPage.js.map +1 -1
- package/dist/product/pages/ProductViewPage.d.ts +2 -0
- package/dist/product/pages/ProductViewPage.d.ts.map +1 -0
- package/dist/product/pages/ProductViewPage.js +10 -11
- package/dist/product/pages/ProductViewPage.js.map +1 -1
- package/dist/product/pages/UserProductsLandingPage.d.ts +9 -0
- package/dist/product/pages/UserProductsLandingPage.d.ts.map +1 -0
- package/dist/product/pages/UserProductsLandingPage.js +1 -2
- package/dist/product/pages/UserProductsLandingPage.js.map +1 -1
- package/dist/product/providers/ProductUserProvider.d.ts +10 -0
- package/dist/product/providers/ProductUserProvider.d.ts.map +1 -0
- package/dist/product/providers/ProductUserProvider.js +1 -2
- package/dist/product/providers/ProductUserProvider.js.map +1 -1
- package/dist/product/types/index.d.ts +34 -0
- package/dist/product/types/index.d.ts.map +1 -0
- package/dist/product-management/ProductManagementRoot.d.ts +4 -0
- package/dist/product-management/ProductManagementRoot.d.ts.map +1 -0
- package/dist/product-management/ProductManagementRoot.js +9 -6
- package/dist/product-management/ProductManagementRoot.js.map +1 -1
- package/dist/product-management/ProductManagementRoutes.d.ts +6 -0
- package/dist/product-management/ProductManagementRoutes.d.ts.map +1 -0
- package/dist/product-management/ProductManagementRoutes.js +1 -2
- package/dist/product-management/ProductManagementRoutes.js.map +1 -1
- package/dist/product-management/index.d.ts +5 -0
- package/dist/product-management/index.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts +10 -0
- package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js +59 -60
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
- package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts +11 -0
- package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.js +1 -2
- package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.js.map +1 -1
- package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts +76 -0
- package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/hooks/useContentPages.js +1 -2
- package/dist/product-management/modules/content-pages/hooks/useContentPages.js.map +1 -1
- package/dist/product-management/modules/content-pages/index.d.ts +15 -0
- package/dist/product-management/modules/content-pages/index.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts +2 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +3 -3
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts +6 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +19 -20
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts +2 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +11 -11
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts +2 -0
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +37 -35
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/schemas/index.d.ts +57 -0
- package/dist/product-management/modules/content-pages/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/content-pages/schemas/index.js +8 -9
- package/dist/product-management/modules/content-pages/schemas/index.js.map +1 -1
- package/dist/product-management/modules/content-pages/types/index.d.ts +91 -0
- package/dist/product-management/modules/content-pages/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts +17 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js +10 -11
- package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js.map +1 -1
- package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts +8 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.js +1 -2
- package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.js.map +1 -1
- package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts +8 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.js +1 -2
- package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.js.map +1 -1
- package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts +59 -0
- package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.js +1 -2
- package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.js.map +1 -1
- package/dist/product-management/modules/feature-flags/index.d.ts +13 -0
- package/dist/product-management/modules/feature-flags/index.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts +3 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +8 -8
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts +3 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +18 -19
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts +3 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +8 -8
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts +3 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +27 -30
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/schemas/index.d.ts +35 -0
- package/dist/product-management/modules/feature-flags/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/feature-flags/schemas/index.js +5 -6
- package/dist/product-management/modules/feature-flags/schemas/index.js.map +1 -1
- package/dist/product-management/modules/feature-flags/types/index.d.ts +101 -0
- package/dist/product-management/modules/feature-flags/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts +10 -0
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js +23 -24
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js.map +1 -1
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts +73 -0
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.js +1 -2
- package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.js.map +1 -1
- package/dist/product-management/modules/press-kit/index.d.ts +14 -0
- package/dist/product-management/modules/press-kit/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +3 -3
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +15 -16
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +11 -11
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts +2 -0
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +34 -32
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/schemas/index.d.ts +60 -0
- package/dist/product-management/modules/press-kit/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/schemas/index.js +7 -8
- package/dist/product-management/modules/press-kit/schemas/index.js.map +1 -1
- package/dist/product-management/modules/press-kit/types/index.d.ts +73 -0
- package/dist/product-management/modules/press-kit/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/press-kit/types/index.js +1 -2
- package/dist/product-management/modules/press-kit/types/index.js.map +1 -1
- package/dist/product-management/modules/products/components/ProductCard.d.ts +15 -0
- package/dist/product-management/modules/products/components/ProductCard.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductForm.d.ts +10 -0
- package/dist/product-management/modules/products/components/ProductForm.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductForm.js +23 -24
- package/dist/product-management/modules/products/components/ProductForm.js.map +1 -1
- package/dist/product-management/modules/products/components/ProductPlans.d.ts +8 -0
- package/dist/product-management/modules/products/components/ProductPlans.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductPlans.js +26 -24
- package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
- package/dist/product-management/modules/products/components/ProductStats.d.ts +23 -0
- package/dist/product-management/modules/products/components/ProductStats.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts +12 -0
- package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts.map +1 -0
- package/dist/product-management/modules/products/components/ProductStatusBadge.js +1 -2
- package/dist/product-management/modules/products/components/ProductStatusBadge.js.map +1 -1
- package/dist/product-management/modules/products/hooks/useProducts.d.ts +103 -0
- package/dist/product-management/modules/products/hooks/useProducts.d.ts.map +1 -0
- package/dist/product-management/modules/products/hooks/useProducts.js +1 -2
- package/dist/product-management/modules/products/hooks/useProducts.js.map +1 -1
- package/dist/product-management/modules/products/index.d.ts +16 -0
- package/dist/product-management/modules/products/index.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts +2 -0
- package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductCreatePage.js +3 -3
- package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts +6 -0
- package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductDetailPage.js +21 -22
- package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductEditPage.d.ts +2 -0
- package/dist/product-management/modules/products/pages/ProductEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductEditPage.js +11 -12
- package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductsListPage.d.ts +2 -0
- package/dist/product-management/modules/products/pages/ProductsListPage.d.ts.map +1 -0
- package/dist/product-management/modules/products/pages/ProductsListPage.js +19 -20
- package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
- package/dist/product-management/modules/products/schemas/index.d.ts +61 -0
- package/dist/product-management/modules/products/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/products/schemas/index.js +16 -17
- package/dist/product-management/modules/products/schemas/index.js.map +1 -1
- package/dist/product-management/modules/products/types/index.d.ts +115 -0
- package/dist/product-management/modules/products/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/products/types/index.js +1 -2
- package/dist/product-management/modules/products/types/index.js.map +1 -1
- package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts +6 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.js +1 -2
- package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.js.map +1 -1
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts +10 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +19 -20
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -1
- package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts +11 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js +1 -2
- package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js.map +1 -1
- package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts +85 -0
- package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/hooks/useShortcuts.js +1 -2
- package/dist/product-management/modules/shortcuts/hooks/useShortcuts.js.map +1 -1
- package/dist/product-management/modules/shortcuts/index.d.ts +17 -0
- package/dist/product-management/modules/shortcuts/index.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts +2 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +3 -3
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts +2 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +25 -26
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts +2 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +10 -11
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts +2 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +36 -37
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/schemas/index.d.ts +35 -0
- package/dist/product-management/modules/shortcuts/schemas/index.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/schemas/index.js +1 -2
- package/dist/product-management/modules/shortcuts/schemas/index.js.map +1 -1
- package/dist/product-management/modules/shortcuts/types/index.d.ts +28 -0
- package/dist/product-management/modules/shortcuts/types/index.d.ts.map +1 -0
- package/dist/product-management/modules/shortcuts/types/index.js +1 -2
- package/dist/product-management/modules/shortcuts/types/index.js.map +1 -1
- package/dist/product-management/providers/ProductConsoleProvider.d.ts +18 -0
- package/dist/product-management/providers/ProductConsoleProvider.d.ts.map +1 -0
- package/dist/product-management/providers/ProductConsoleProvider.js +1 -2
- package/dist/product-management/providers/ProductConsoleProvider.js.map +1 -1
- package/dist/product-management/shared/components/AuditHistoryTab.d.ts +7 -0
- package/dist/product-management/shared/components/AuditHistoryTab.d.ts.map +1 -0
- package/dist/product-management/shared/components/AuditHistoryTab.js +4 -5
- package/dist/product-management/shared/components/AuditHistoryTab.js.map +1 -1
- package/dist/product-management/shared/components/TagList.d.ts +7 -0
- package/dist/product-management/shared/components/TagList.d.ts.map +1 -0
- package/dist/product-management/shared/components/TagList.js +1 -2
- package/dist/product-management/shared/components/TagList.js.map +1 -1
- package/dist/product-management/shared/components/feedback/EmptyState.d.ts +20 -0
- package/dist/product-management/shared/components/feedback/EmptyState.d.ts.map +1 -0
- package/dist/product-management/shared/components/feedback/ErrorState.d.ts +33 -0
- package/dist/product-management/shared/components/feedback/ErrorState.d.ts.map +1 -0
- package/dist/product-management/shared/components/feedback/ErrorState.js +4 -5
- package/dist/product-management/shared/components/feedback/ErrorState.js.map +1 -1
- package/dist/product-management/shared/components/feedback/LoadingState.d.ts +13 -0
- package/dist/product-management/shared/components/feedback/LoadingState.d.ts.map +1 -0
- package/dist/product-management/shared/components/feedback/LoadingState.js +1 -2
- package/dist/product-management/shared/components/feedback/LoadingState.js.map +1 -1
- package/dist/product-management/shared/components/input/ProductCombobox.d.ts +29 -0
- package/dist/product-management/shared/components/input/ProductCombobox.d.ts.map +1 -0
- package/dist/product-management/shared/components/input/ProductCombobox.js +12 -13
- package/dist/product-management/shared/components/input/ProductCombobox.js.map +1 -1
- package/dist/product-management/shared/components/input/SearchInput.d.ts +17 -0
- package/dist/product-management/shared/components/input/SearchInput.d.ts.map +1 -0
- package/dist/product-management/shared/components/input/SearchInput.js +1 -2
- package/dist/product-management/shared/components/input/SearchInput.js.map +1 -1
- package/dist/product-management/shared/components/input/TagInput.d.ts +10 -0
- package/dist/product-management/shared/components/input/TagInput.d.ts.map +1 -0
- package/dist/product-management/shared/components/input/TagInput.js +2 -3
- package/dist/product-management/shared/components/input/TagInput.js.map +1 -1
- package/dist/product-management/shared/hooks/useConfirmDialog.d.ts +22 -0
- package/dist/product-management/shared/hooks/useConfirmDialog.d.ts.map +1 -0
- package/dist/product-management/shared/hooks/useConfirmDialog.js +1 -2
- package/dist/product-management/shared/hooks/useConfirmDialog.js.map +1 -1
- package/dist/product-management/shared/hooks/useDebounced.d.ts +6 -0
- package/dist/product-management/shared/hooks/useDebounced.d.ts.map +1 -0
- package/dist/product-management/shared/hooks/useDebounced.js +1 -2
- package/dist/product-management/shared/hooks/useDebounced.js.map +1 -1
- package/dist/product-management/shared/hooks/useTr.d.ts +17 -0
- package/dist/product-management/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/product-management/shared/hooks/useTr.js +1 -2
- package/dist/product-management/shared/hooks/useTr.js.map +1 -1
- package/dist/product-management/shared/index.d.ts +13 -0
- package/dist/product-management/shared/index.d.ts.map +1 -0
- package/dist/product-management/shared/types/graphql.d.ts +119 -0
- package/dist/product-management/shared/types/graphql.d.ts.map +1 -0
- package/dist/product-management/shared/utils/cn.d.ts +7 -0
- package/dist/product-management/shared/utils/cn.d.ts.map +1 -0
- package/dist/product-management/shared/utils/cn.js +2 -3
- package/dist/product-management/shared/utils/cn.js.map +1 -1
- package/dist/product-management/shared/utils/exportUtils.d.ts +4 -0
- package/dist/product-management/shared/utils/exportUtils.d.ts.map +1 -0
- package/dist/product-management/shared/utils/exportUtils.js +1 -2
- package/dist/product-management/shared/utils/exportUtils.js.map +1 -1
- package/dist/product-management/shared/utils/permission-error.d.ts +13 -0
- package/dist/product-management/shared/utils/permission-error.d.ts.map +1 -0
- package/dist/product-management/shared/utils/permission-error.js +3 -4
- package/dist/product-management/shared/utils/permission-error.js.map +1 -1
- package/dist/product-management/types/index.d.ts +40 -0
- package/dist/product-management/types/index.d.ts.map +1 -0
- package/dist/shared/components/MarkdownEditor.d.ts +16 -0
- package/dist/shared/components/MarkdownEditor.d.ts.map +1 -0
- package/dist/shared/components/MarkdownEditor.js +3 -4
- package/dist/shared/components/MarkdownEditor.js.map +1 -1
- package/dist/shared/components/index.d.ts +11 -0
- package/dist/shared/components/index.d.ts.map +1 -0
- package/dist/shared/components/index.js +5 -4
- package/dist/shared/hooks/useTr.d.ts +2 -0
- package/dist/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/shared/hooks/useTr.js +1 -1
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/utils/formatDate.d.ts +5 -0
- package/dist/shared/utils/formatDate.d.ts.map +1 -0
- package/dist/shared/utils/formatDate.js +1 -2
- package/dist/shared/utils/formatDate.js.map +1 -1
- package/dist/shared/utils/index.d.ts +4 -0
- package/dist/shared/utils/index.d.ts.map +1 -0
- package/dist/shared/utils/isSafeUrl.d.ts +6 -0
- package/dist/shared/utils/isSafeUrl.d.ts.map +1 -0
- package/dist/shared/utils/isSafeUrl.js +1 -2
- package/dist/shared/utils/isSafeUrl.js.map +1 -1
- package/dist/shared/utils/renderMarkdown.d.ts +10 -0
- package/dist/shared/utils/renderMarkdown.d.ts.map +1 -0
- package/dist/translations/en.d.ts +651 -0
- package/dist/translations/en.d.ts.map +1 -0
- package/dist/translations/en.js +1 -2
- package/dist/translations/en.js.map +1 -1
- package/dist/translations/index.d.ts +2 -0
- package/dist/translations/index.d.ts.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +1 -2
- package/package.json +35 -23
- package/dist/node_modules/zod/v4/classic/iso.js +0 -33
- package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
|
@@ -1,180 +1,299 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { base64 as e, base64url as t, integer as n, number as r } from "./regexes.js";
|
|
2
|
+
import { base64Charset as i, base64urlCharset as a } from "./schemas.js";
|
|
3
|
+
import { handleUnrepresentable as o, process as s } from "./to-json-schema.js";
|
|
4
|
+
import { BIGINT_FORMAT_RANGES as c, NUMBER_FORMAT_RANGES as l, assignProp as u, getEnumValues as d } from "./util.js";
|
|
5
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
6
|
+
var f = (e, t, n) => {
|
|
7
|
+
(e[t] === void 0 || n > e[t]) && (e[t] = n);
|
|
8
|
+
}, p = (e, t, n) => {
|
|
9
|
+
(e[t] === void 0 || n < e[t]) && (e[t] = n);
|
|
10
|
+
}, m = (e, t) => {
|
|
11
|
+
f(e, "minimum", t), p(e, "maximum", t);
|
|
12
|
+
}, h = (e, t) => {
|
|
13
|
+
e.multipleOf ??= [], e.multipleOf.includes(t) || e.multipleOf.push(t);
|
|
14
|
+
}, g = (e, t) => {
|
|
15
|
+
e.patterns ??= /* @__PURE__ */ new Set(), e.patterns.add(t);
|
|
16
|
+
}, _ = (e, t) => {
|
|
17
|
+
e.mime = e.mime ? e.mime.filter((e) => t.includes(e)) : [...t];
|
|
18
|
+
}, v = (e, t) => {
|
|
19
|
+
e.format = t, t.includes("int") && (e.isInt = !0);
|
|
20
|
+
}, y = (e, t) => f(e, "minimum", t.minimum), b = (e, t) => p(e, "maximum", t.maximum), x = (e) => (t, n) => {
|
|
21
|
+
v(t, n.format);
|
|
22
|
+
let [r, i] = e[n.format];
|
|
23
|
+
f(t, "minimum", r), p(t, "maximum", i);
|
|
24
|
+
}, S = {
|
|
25
|
+
greater_than: (e, t) => f(e, t.inclusive ? "minimum" : "exclusiveMinimum", t.value),
|
|
26
|
+
less_than: (e, t) => p(e, t.inclusive ? "maximum" : "exclusiveMaximum", t.value),
|
|
27
|
+
multiple_of: (e, t) => h(e, t.value),
|
|
28
|
+
number_format: x(l),
|
|
29
|
+
bigint_format: x(c),
|
|
30
|
+
min_length: y,
|
|
31
|
+
max_length: b,
|
|
32
|
+
length_equals: (e, t) => m(e, t.length),
|
|
33
|
+
min_size: y,
|
|
34
|
+
max_size: b,
|
|
35
|
+
size_equals: (e, t) => m(e, t.size),
|
|
36
|
+
string_format: (e, t) => {
|
|
37
|
+
v(e, t.format), t.pattern && g(e, t.pattern), (t.format === "base64" || t.format === "base64url") && (e.contentEncoding = t.format), (t.local || t.precision === -1) && (e.laxFormat = !0);
|
|
38
|
+
},
|
|
39
|
+
mime_type: (e, t) => _(e, t.mime)
|
|
40
|
+
};
|
|
41
|
+
function C(e) {
|
|
42
|
+
let t = {}, n = e._zod.def, r = e._zod.traits.has("$ZodCheck") ? [e, ...n.checks ?? []] : n.checks ?? [];
|
|
43
|
+
for (let e of r) S[e._zod.def.check]?.(t, e._zod.def);
|
|
44
|
+
let i = e._zod.bag;
|
|
45
|
+
i.minimum !== void 0 && f(t, "minimum", i.minimum), i.exclusiveMinimum !== void 0 && f(t, "exclusiveMinimum", i.exclusiveMinimum), i.maximum !== void 0 && p(t, "maximum", i.maximum), i.exclusiveMaximum !== void 0 && p(t, "exclusiveMaximum", i.exclusiveMaximum), i.multipleOf !== void 0 && h(t, i.multipleOf), i.format !== void 0 && (t.format ??= i.format, i.format.includes("int") && (t.isInt = !0)), i.mime && _(t, i.mime);
|
|
46
|
+
for (let e of i.patterns ?? []) g(t, e);
|
|
47
|
+
return t;
|
|
48
|
+
}
|
|
49
|
+
var w = {
|
|
5
50
|
guid: "uuid",
|
|
6
51
|
url: "uri",
|
|
7
52
|
datetime: "date-time",
|
|
8
53
|
json_string: "json-string",
|
|
9
54
|
regex: ""
|
|
10
|
-
},
|
|
11
|
-
let
|
|
12
|
-
|
|
13
|
-
let { minimum:
|
|
14
|
-
if (typeof
|
|
15
|
-
let e = [...
|
|
16
|
-
e.length === 1 ?
|
|
55
|
+
}, T = /* @__PURE__ */ new Map([[i, e], [a, t]]), E = (e) => T.get(e) ?? e, D = (e, t, n, r) => {
|
|
56
|
+
let i = n;
|
|
57
|
+
i.type = "string";
|
|
58
|
+
let { minimum: a, maximum: o, format: s, patterns: c, contentEncoding: l, laxFormat: u } = C(e);
|
|
59
|
+
if (typeof a == "number" && (i.minLength = a), typeof o == "number" && (i.maxLength = o), s && (i.format = w[s] ?? s, i.format === "" && delete i.format, (s === "time" || u) && delete i.format), l && (i.contentEncoding = l), c && c.size > 0) {
|
|
60
|
+
let e = [...c].map(E);
|
|
61
|
+
e.length === 1 ? i.pattern = e[0].source : e.length > 1 && (i.allOf = [...e.map((e) => ({
|
|
17
62
|
...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
|
|
18
63
|
pattern: e.source
|
|
19
64
|
}))]);
|
|
20
65
|
}
|
|
21
|
-
},
|
|
22
|
-
let i = n, { minimum: a, maximum:
|
|
23
|
-
|
|
24
|
-
let
|
|
25
|
-
|
|
26
|
-
|
|
66
|
+
}, O = (e, t, n, r) => {
|
|
67
|
+
let i = n, { minimum: a, maximum: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u, isInt: d } = C(e);
|
|
68
|
+
i.type = d ? "integer" : "number";
|
|
69
|
+
let f = typeof u == "number" && u >= (a ?? -Infinity), p = typeof l == "number" && l <= (s ?? Infinity), m = t.target === "draft-04" || t.target === "openapi-3.0";
|
|
70
|
+
if (f ? m ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u : typeof a == "number" && (i.minimum = a), p ? m ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l : typeof s == "number" && (i.maximum = s), c) {
|
|
71
|
+
let n = /* @__PURE__ */ new Set();
|
|
72
|
+
for (let a of c) Number.isFinite(a) && a !== 0 ? n.add(Math.abs(a)) : o(e, t, i, r, `A multipleOf divisor of ${a} cannot be represented in JSON Schema`);
|
|
73
|
+
let [a, ...s] = n;
|
|
74
|
+
a !== void 0 && (i.multipleOf = a), s.length && (i.allOf = [...i.allOf ?? [], ...s.map((e) => ({ multipleOf: e }))]);
|
|
75
|
+
}
|
|
76
|
+
}, k = (e, t, n, r) => {
|
|
27
77
|
n.type = "boolean";
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
},
|
|
78
|
+
}, A = (e, t, n, r) => {
|
|
79
|
+
o(e, t, n, r, "Undefined cannot be represented in JSON Schema");
|
|
80
|
+
}, j = (e, t, n, r) => {
|
|
31
81
|
n.not = {};
|
|
32
|
-
},
|
|
33
|
-
let
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
let i = e._zod.def
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
if (
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
82
|
+
}, M = (e, t, n, r) => {}, N = (e, t, n, r) => {
|
|
83
|
+
let i = e._zod.def, a = d(i.entries);
|
|
84
|
+
a.length === 0 ? n.not = {} : (a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), n.enum = a);
|
|
85
|
+
}, P = (e, t, n, r) => {
|
|
86
|
+
let i = e._zod.def;
|
|
87
|
+
if (i.values.length === 0) {
|
|
88
|
+
n.not = {};
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
let a = [];
|
|
92
|
+
for (let s of i.values) if (s === void 0) {
|
|
93
|
+
if (o(e, t, n, r, "Literal `undefined` cannot be represented in JSON Schema")) return;
|
|
94
|
+
} else if (typeof s == "bigint") {
|
|
95
|
+
if (o(e, t, n, r, "BigInt literals cannot be represented in JSON Schema")) return;
|
|
96
|
+
a.push(Number(s));
|
|
97
|
+
} else a.push(s);
|
|
98
|
+
if (a.length !== 0) {
|
|
99
|
+
if (a.length === 1) {
|
|
100
|
+
let e = a[0];
|
|
101
|
+
n.type = e === null ? "null" : typeof e, t.target === "draft-04" || t.target === "openapi-3.0" ? n.enum = [e] : n.const = e;
|
|
102
|
+
} else a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), a.every((e) => typeof e == "boolean") && (n.type = "boolean"), a.every((e) => e === null) && (n.type = "null"), n.enum = a;
|
|
103
|
+
}
|
|
104
|
+
}, F = (e, t, n, r) => {
|
|
105
|
+
o(e, t, n, r, "Custom types cannot be represented in JSON Schema");
|
|
106
|
+
}, I = (e, t, n, r) => {
|
|
107
|
+
o(e, t, n, r, "Transforms cannot be represented in JSON Schema");
|
|
108
|
+
}, L = (e, t, n, r) => {
|
|
109
|
+
let i = n, a = e._zod.def, { minimum: o, maximum: c } = C(e);
|
|
110
|
+
typeof o == "number" && (i.minItems = o), typeof c == "number" && (i.maxItems = c), i.type = "array", i.items = s(a.element, t, {
|
|
111
|
+
...r,
|
|
112
|
+
path: [...r.path, "items"]
|
|
56
113
|
});
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
114
|
+
};
|
|
115
|
+
function R(e) {
|
|
116
|
+
let t = e._zod.def;
|
|
117
|
+
return t.type === "pipe" && t.in._zod.traits.has("$ZodTransform") ? R(t.out) : t.type === "catch" ? R(t.innerType) : e._zod.optin;
|
|
118
|
+
}
|
|
119
|
+
var z = (e, t, n, r) => {
|
|
120
|
+
let i = n, a = e._zod.def, c = a.shape;
|
|
121
|
+
if (Object.getOwnPropertySymbols(c).length && o(e, t, i, r, "Symbol keys cannot be represented in JSON Schema")) return;
|
|
122
|
+
i.type = "object", i.properties = {};
|
|
123
|
+
for (let e in c) u(i.properties, e, s(c[e], t, {
|
|
124
|
+
...r,
|
|
63
125
|
path: [
|
|
64
|
-
...
|
|
126
|
+
...r.path,
|
|
65
127
|
"properties",
|
|
66
128
|
e
|
|
67
129
|
]
|
|
68
|
-
});
|
|
69
|
-
let c = new Set(Object.keys(s)), l = new Set([...c].filter((e) => {
|
|
70
|
-
let t = o.shape[e]._zod;
|
|
71
|
-
return n.io === "input" ? t.optin === void 0 : t.optout === void 0;
|
|
72
130
|
}));
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
...
|
|
131
|
+
let l = [];
|
|
132
|
+
for (let e of Object.keys(c)) {
|
|
133
|
+
let n = a.shape[e];
|
|
134
|
+
(t.io === "input" ? R(n) === void 0 : n._zod.optout === void 0) && l.push(e);
|
|
135
|
+
}
|
|
136
|
+
l.length > 0 && (i.required = l), a.catchall?._zod.def.type === "never" ? i.additionalProperties = !1 : a.catchall ? a.catchall && (i.additionalProperties = s(a.catchall, t, {
|
|
137
|
+
...r,
|
|
138
|
+
path: [...r.path, "additionalProperties"]
|
|
139
|
+
})) : t.io === "output" && (i.additionalProperties = !1);
|
|
140
|
+
}, B = (e, t, n, r) => {
|
|
141
|
+
let i = e._zod.def, a = i.inclusive === !1, o = i.options.map((e, n) => s(e, t, {
|
|
142
|
+
...r,
|
|
80
143
|
path: [
|
|
81
|
-
...
|
|
82
|
-
|
|
83
|
-
|
|
144
|
+
...r.path,
|
|
145
|
+
a ? "oneOf" : "anyOf",
|
|
146
|
+
n
|
|
84
147
|
]
|
|
85
148
|
}));
|
|
86
|
-
|
|
87
|
-
},
|
|
88
|
-
let
|
|
89
|
-
...
|
|
149
|
+
a ? n.oneOf = o : n.anyOf = o;
|
|
150
|
+
}, V = (e, t, n, r) => {
|
|
151
|
+
let i = e._zod.def, a = s(i.left, t, {
|
|
152
|
+
...r,
|
|
90
153
|
path: [
|
|
91
|
-
...
|
|
154
|
+
...r.path,
|
|
92
155
|
"allOf",
|
|
93
156
|
0
|
|
94
157
|
]
|
|
95
|
-
}),
|
|
96
|
-
...
|
|
158
|
+
}), o = s(i.right, t, {
|
|
159
|
+
...r,
|
|
97
160
|
path: [
|
|
98
|
-
...
|
|
161
|
+
...r.path,
|
|
99
162
|
"allOf",
|
|
100
163
|
1
|
|
101
164
|
]
|
|
102
|
-
}), c = (e) => "allOf" in e && Object.keys(e).length === 1;
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
let
|
|
110
|
-
|
|
165
|
+
}), c = (e) => "allOf" in e && Object.keys(e).length === 1, l = [...c(a) ? a.allOf : [a], ...c(o) ? o.allOf : [o]];
|
|
166
|
+
n.allOf = l, t.intersections.push(l);
|
|
167
|
+
};
|
|
168
|
+
function H(e, t, i) {
|
|
169
|
+
if (t.$ref) {
|
|
170
|
+
if (i.has(t)) return t;
|
|
171
|
+
i.add(t);
|
|
172
|
+
let n = e.get(t)?.def;
|
|
173
|
+
if (!n) return t;
|
|
174
|
+
let r = H(e, n, i);
|
|
175
|
+
return r === n ? t : r;
|
|
176
|
+
}
|
|
177
|
+
for (let n of ["anyOf", "oneOf"]) {
|
|
178
|
+
let r = t[n];
|
|
179
|
+
if (!Array.isArray(r)) continue;
|
|
180
|
+
let a = r.map((t) => H(e, t, i));
|
|
181
|
+
a.some((e, t) => e !== r[t]) && (t = {
|
|
182
|
+
...t,
|
|
183
|
+
[n]: a
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
let a = Array.isArray(t.type) ? t.type : [t.type], o = !a.includes("string") && a.some((e) => e === "number" || e === "integer"), s = t.enum ?? (t.const === void 0 ? void 0 : [t.const]);
|
|
187
|
+
if (!o && !s?.some((e) => typeof e == "number")) return t;
|
|
188
|
+
let { minimum: c, maximum: l, exclusiveMinimum: u, exclusiveMaximum: d, multipleOf: f, format: p, id: m, ...h } = t;
|
|
189
|
+
return h.enum ? h.enum = h.enum.map((e) => typeof e == "number" ? String(e) : e) : typeof h.const == "number" && (h.const = String(h.const)), o && (h.type = "string", s || (h.pattern = (a.includes("number") ? r : n).source)), h;
|
|
190
|
+
}
|
|
191
|
+
var U = /* @__PURE__ */ new WeakMap();
|
|
192
|
+
function W(e) {
|
|
193
|
+
let t = /* @__PURE__ */ new Map();
|
|
194
|
+
for (let n of e.seen.values()) n.def && !t.has(n.schema) && t.set(n.schema, n);
|
|
195
|
+
let n = /* @__PURE__ */ new Map();
|
|
196
|
+
for (let r of U.get(e) ?? []) {
|
|
197
|
+
let i = e.seen.get(r), a = (i?.def ?? i?.schema)?.propertyNames;
|
|
198
|
+
if (!a || a === !0 || n.has(a)) continue;
|
|
199
|
+
let o = H(t, a, /* @__PURE__ */ new Set());
|
|
200
|
+
o !== a && n.set(a, o);
|
|
201
|
+
}
|
|
202
|
+
if (n.size) for (let t of e.seen.values()) for (let e of [t.schema, t.def]) {
|
|
203
|
+
let t = e && n.get(e.propertyNames);
|
|
204
|
+
t && (e.propertyNames = t);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
var G = (e, t, n, r) => {
|
|
208
|
+
let i = n, a = e._zod.def;
|
|
209
|
+
i.type = "object";
|
|
210
|
+
let o = a.keyType, c = C(o).patterns;
|
|
211
|
+
if (a.mode === "loose" && c && c.size > 0) {
|
|
212
|
+
let e = s(a.valueType, t, {
|
|
213
|
+
...r,
|
|
111
214
|
path: [
|
|
112
|
-
...
|
|
215
|
+
...r.path,
|
|
113
216
|
"patternProperties",
|
|
114
217
|
"*"
|
|
115
218
|
]
|
|
116
219
|
});
|
|
117
|
-
|
|
118
|
-
for (let t of c)
|
|
119
|
-
} else
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
220
|
+
i.patternProperties = {};
|
|
221
|
+
for (let t of c) u(i.patternProperties, E(t).source, e);
|
|
222
|
+
} else {
|
|
223
|
+
if (t.target === "draft-07" || t.target === "draft-2020-12") {
|
|
224
|
+
i.propertyNames = s(a.keyType, t, {
|
|
225
|
+
...r,
|
|
226
|
+
path: [...r.path, "propertyNames"]
|
|
227
|
+
});
|
|
228
|
+
let n = U.get(t);
|
|
229
|
+
n || (n = [], U.set(t, n), t.deferred.push(() => W(t))), n.push(e);
|
|
230
|
+
}
|
|
231
|
+
i.additionalProperties = s(a.valueType, t, {
|
|
232
|
+
...r,
|
|
233
|
+
path: [...r.path, "additionalProperties"]
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
let l = o._zod.values, d = t.io === "input" && R(a.valueType) !== void 0;
|
|
237
|
+
if (l && !a.partial && !d) {
|
|
128
238
|
let e = [...l].filter((e) => typeof e == "string" || typeof e == "number");
|
|
129
|
-
e.length > 0 && (
|
|
239
|
+
e.length > 0 && (i.required = e.map(String));
|
|
130
240
|
}
|
|
131
|
-
},
|
|
132
|
-
let
|
|
133
|
-
|
|
134
|
-
},
|
|
135
|
-
let
|
|
136
|
-
|
|
137
|
-
let
|
|
138
|
-
|
|
139
|
-
},
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
let
|
|
146
|
-
|
|
147
|
-
let
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
let
|
|
153
|
-
|
|
154
|
-
let
|
|
241
|
+
}, K = (e, t, n, r) => {
|
|
242
|
+
let i = e._zod.def, a = s(i.innerType, t, r), o = t.seen.get(e);
|
|
243
|
+
t.target === "openapi-3.0" ? (o.ref = i.innerType, n.nullable = !0) : n.anyOf = [a, { type: "null" }];
|
|
244
|
+
}, q = (e, t, n, r) => {
|
|
245
|
+
let i = e._zod.def;
|
|
246
|
+
s(i.innerType, t, r);
|
|
247
|
+
let a = t.seen.get(e);
|
|
248
|
+
a.ref = i.innerType;
|
|
249
|
+
}, J = Symbol();
|
|
250
|
+
function Y(e, t, n, r, i) {
|
|
251
|
+
let a = !1, s = JSON.stringify(e, (e, t) => typeof t == "bigint" ? (a = !0, null) : t);
|
|
252
|
+
return a ? (o(t, n, r, i, "BigInt defaults cannot be represented in JSON Schema"), J) : JSON.parse(s);
|
|
253
|
+
}
|
|
254
|
+
var X = (e, t, n, r) => {
|
|
255
|
+
let i = e._zod.def;
|
|
256
|
+
s(i.innerType, t, r);
|
|
257
|
+
let a = t.seen.get(e);
|
|
258
|
+
a.ref = i.innerType;
|
|
259
|
+
let o = Y(i.defaultValue, e, t, n, r);
|
|
260
|
+
o !== J && (n.default = o);
|
|
261
|
+
}, Z = (e, t, n, r) => {
|
|
262
|
+
let i = e._zod.def;
|
|
263
|
+
s(i.innerType, t, r);
|
|
264
|
+
let a = t.seen.get(e);
|
|
265
|
+
if (a.ref = i.innerType, t.io !== "input") return;
|
|
266
|
+
let o = Y(i.defaultValue, e, t, n, r);
|
|
267
|
+
o !== J && (n._prefault = o);
|
|
268
|
+
}, Q = (e, t, n, r) => {
|
|
269
|
+
let i = e._zod.def;
|
|
270
|
+
s(i.innerType, t, r);
|
|
271
|
+
let a = t.seen.get(e);
|
|
272
|
+
a.ref = i.innerType;
|
|
273
|
+
let c;
|
|
155
274
|
try {
|
|
156
|
-
|
|
275
|
+
c = i.catchValue(void 0);
|
|
157
276
|
} catch {
|
|
158
|
-
|
|
277
|
+
o(e, t, n, r, "Dynamic catch values are not supported in JSON Schema");
|
|
278
|
+
return;
|
|
159
279
|
}
|
|
160
|
-
|
|
161
|
-
},
|
|
162
|
-
let
|
|
163
|
-
|
|
164
|
-
let c =
|
|
165
|
-
c.ref =
|
|
166
|
-
},
|
|
167
|
-
let
|
|
168
|
-
|
|
169
|
-
let
|
|
170
|
-
|
|
171
|
-
},
|
|
172
|
-
let
|
|
173
|
-
|
|
174
|
-
let
|
|
175
|
-
|
|
280
|
+
n.default = c;
|
|
281
|
+
}, $ = (e, t, n, r) => {
|
|
282
|
+
let i = e._zod.def, a = i.in._zod.traits.has("$ZodTransform"), o = t.io === "input" ? a ? i.out : i.in : i.out;
|
|
283
|
+
s(o, t, r);
|
|
284
|
+
let c = t.seen.get(e);
|
|
285
|
+
c.ref = o;
|
|
286
|
+
}, ee = (e, t, n, r) => {
|
|
287
|
+
let i = e._zod.def;
|
|
288
|
+
s(i.innerType, t, r);
|
|
289
|
+
let a = t.seen.get(e);
|
|
290
|
+
a.ref = i.innerType, n.readOnly = !0;
|
|
291
|
+
}, te = (e, t, n, r) => {
|
|
292
|
+
let i = e._zod.def;
|
|
293
|
+
s(i.innerType, t, r);
|
|
294
|
+
let a = t.seen.get(e);
|
|
295
|
+
a.ref = i.innerType;
|
|
176
296
|
};
|
|
177
|
-
|
|
178
|
-
export { p as arrayProcessor, a as booleanProcessor, S as catchProcessor, d as customProcessor, b as defaultProcessor, l as enumProcessor, g as intersectionProcessor, u as literalProcessor, s as neverProcessor, y as nonoptionalProcessor, v as nullableProcessor, i as numberProcessor, m as objectProcessor, T as optionalProcessor, C as pipeProcessor, x as prefaultProcessor, w as readonlyProcessor, _ as recordProcessor, r as stringProcessor, f as transformProcessor, o as undefinedProcessor, h as unionProcessor, c as unknownProcessor };
|
|
297
|
+
export { C as aggregateChecks, L as arrayProcessor, k as booleanProcessor, Q as catchProcessor, F as customProcessor, X as defaultProcessor, N as enumProcessor, V as intersectionProcessor, P as literalProcessor, j as neverProcessor, q as nonoptionalProcessor, K as nullableProcessor, O as numberProcessor, z as objectProcessor, te as optionalProcessor, $ as pipeProcessor, Z as prefaultProcessor, ee as readonlyProcessor, G as recordProcessor, D as stringProcessor, I as transformProcessor, A as undefinedProcessor, B as unionProcessor, M as unknownProcessor };
|
|
179
298
|
|
|
180
299
|
//# sourceMappingURL=json-schema-processors.js.map
|