@burdenoff/microfe-product 2026.1014.1 → 2026.1109.2
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 +33 -21
- package/dist/node_modules/zod/v4/classic/iso.js +0 -33
- package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
|
@@ -1,51 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
i.add(t);
|
|
16
|
-
for (let e in n) {
|
|
17
|
-
let t = n[e];
|
|
18
|
-
Object.defineProperty(r, e, {
|
|
19
|
-
configurable: !0,
|
|
20
|
-
enumerable: !1,
|
|
21
|
-
get() {
|
|
22
|
-
let n = t.bind(this);
|
|
23
|
-
return Object.defineProperty(this, e, {
|
|
24
|
-
configurable: !0,
|
|
25
|
-
writable: !0,
|
|
26
|
-
enumerable: !0,
|
|
27
|
-
value: n
|
|
28
|
-
}), n;
|
|
29
|
-
},
|
|
30
|
-
set(t) {
|
|
31
|
-
Object.defineProperty(this, e, {
|
|
32
|
-
configurable: !0,
|
|
33
|
-
writable: !0,
|
|
34
|
-
enumerable: !0,
|
|
35
|
-
value: t
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
import { clone as e, constantCatch as t, derived as n, extend as r, hide as i, installLazyProp as ee, issue as a, merge as te, mergeDefs as o, normalizeParams as s, omit as ne, own as c, partial as l, pick as re, required as ie, safeExtend as ae, shallowClone as u } from "../core/util.js";
|
|
2
|
+
import { $ZodEncodeError as oe, $constructor as d, config as se, globalConfig as ce } from "../core/core.js";
|
|
3
|
+
import { validate as le, validateAsync as ue } from "../core/parse.js";
|
|
4
|
+
import { $ZodArray as de, $ZodBase64 as fe, $ZodBase64URL as pe, $ZodBoolean as me, $ZodCIDRv4 as he, $ZodCIDRv6 as ge, $ZodCUID as _e, $ZodCUID2 as ve, $ZodCatch as ye, $ZodCustom as be, $ZodDefault as xe, $ZodE164 as Se, $ZodEmail as Ce, $ZodEmoji as we, $ZodEnum as Te, $ZodExactOptional as Ee, $ZodGUID as De, $ZodIPv4 as Oe, $ZodIPv6 as ke, $ZodISODate as Ae, $ZodISODateTime as je, $ZodISODuration as Me, $ZodISOTime as Ne, $ZodIntersection as Pe, $ZodJWT as Fe, $ZodKSUID as Ie, $ZodLiteral as Le, $ZodNanoID as Re, $ZodNever as ze, $ZodNonOptional as Be, $ZodNullable as Ve, $ZodNumber as He, $ZodNumberFormat as Ue, $ZodObjectJIT as We, $ZodOptional as Ge, $ZodPipe as Ke, $ZodPrefault as qe, $ZodReadonly as Je, $ZodRecord as Ye, $ZodString as f, $ZodStringFormat as Xe, $ZodTransform as Ze, $ZodType as Qe, $ZodULID as $e, $ZodURL as et, $ZodUUID as tt, $ZodUndefined as nt, $ZodUnion as rt, $ZodUnknown as it, $ZodXID as at, standardProps as ot } from "../core/schemas.js";
|
|
5
|
+
import { memoizer as st } from "../core/memoizer.js";
|
|
6
|
+
import { aggregateChecks as p, arrayProcessor as ct, booleanProcessor as lt, catchProcessor as ut, customProcessor as dt, defaultProcessor as ft, enumProcessor as pt, intersectionProcessor as mt, literalProcessor as ht, neverProcessor as gt, nonoptionalProcessor as _t, nullableProcessor as vt, numberProcessor as yt, objectProcessor as bt, optionalProcessor as m, pipeProcessor as xt, prefaultProcessor as St, readonlyProcessor as Ct, recordProcessor as wt, stringProcessor as Tt, transformProcessor as Et, undefinedProcessor as Dt, unionProcessor as Ot, unknownProcessor as kt } from "../core/json-schema-processors.js";
|
|
7
|
+
import { globalRegistry as h } from "../core/registries.js";
|
|
8
|
+
import { _array as At, _base64 as jt, _base64url as Mt, _boolean as Nt, _cidrv4 as Pt, _cidrv6 as Ft, _cuid as It, _cuid2 as Lt, _e164 as Rt, _email as zt, _emoji as Bt, _endsWith as Vt, _gt as g, _gte as _, _guid as Ht, _includes as Ut, _int as Wt, _ipv4 as Gt, _ipv6 as Kt, _isoDate as qt, _isoDateTime as Jt, _isoDuration as Yt, _isoTime as Xt, _jwt as Zt, _ksuid as Qt, _length as v, _lowercase as $t, _lt as y, _lte as b, _maxLength as x, _minLength as S, _multipleOf as C, _nanoid as en, _never as tn, _normalize as nn, _number as rn, _overwrite as an, _refine as on, _regex as sn, _slugify as cn, _startsWith as ln, _string as un, _superRefine as dn, _toLowerCase as fn, _toUpperCase as pn, _trim as mn, _ulid as hn, _undefined as gn, _unknown as _n, _uppercase as vn, _url as yn, _uuid as bn, _uuidv4 as xn, _uuidv6 as Sn, _uuidv7 as Cn, _xid as wn } from "../core/api.js";
|
|
9
|
+
import { createStandardJSONSchemaMethod as w, createToJSONSchemaMethod as Tn } from "../core/to-json-schema.js";
|
|
10
|
+
import En from "../locales/en.js";
|
|
11
|
+
import { decode as Dn, decodeAsync as On, encode as kn, encodeAsync as An, parse as jn, parseAsync as Mn, safeDecode as Nn, safeDecodeAsync as Pn, safeEncode as Fn, safeEncodeAsync as In, safeParse as Ln, safeParseAsync as Rn } from "./parse.js";
|
|
12
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
13
|
+
function zn() {
|
|
14
|
+
ce.localeError || se(En());
|
|
41
15
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
16
|
+
function T() {
|
|
17
|
+
ce.memoizer || se({ memoizer: st() });
|
|
18
|
+
}
|
|
19
|
+
var E = /*@__PURE__*/ d("ZodType", (e, t) => (zn(), Qe.init(e, t), e.def = t, e.type = t.type, e), {
|
|
46
20
|
check(...e) {
|
|
47
21
|
let t = this.def;
|
|
48
|
-
return this.clone(
|
|
22
|
+
return this.clone(o(t, { checks: [...t.checks ?? [], ...e.map((e) => typeof e == "function" ? { _zod: {
|
|
49
23
|
check: e,
|
|
50
24
|
def: { check: "custom" },
|
|
51
25
|
onattach: []
|
|
@@ -54,8 +28,8 @@ var I = /* @__PURE__ */ t("ZodType", (e, t) => (y.init(e, t), Object.assign(e["~
|
|
|
54
28
|
with(...e) {
|
|
55
29
|
return this.check(...e);
|
|
56
30
|
},
|
|
57
|
-
clone(
|
|
58
|
-
return
|
|
31
|
+
clone(t, n) {
|
|
32
|
+
return e(this, t, n);
|
|
59
33
|
},
|
|
60
34
|
brand() {
|
|
61
35
|
return this;
|
|
@@ -64,64 +38,64 @@ var I = /* @__PURE__ */ t("ZodType", (e, t) => (y.init(e, t), Object.assign(e["~
|
|
|
64
38
|
return e.add(this, t), this;
|
|
65
39
|
},
|
|
66
40
|
refine(e, t) {
|
|
67
|
-
return this.check(
|
|
41
|
+
return this.check(Pr(e, t));
|
|
68
42
|
},
|
|
69
43
|
superRefine(e, t) {
|
|
70
|
-
return this.check(
|
|
44
|
+
return this.check(Fr(e, t));
|
|
71
45
|
},
|
|
72
46
|
overwrite(e) {
|
|
73
|
-
return this.check(
|
|
47
|
+
return this.check(an(e));
|
|
74
48
|
},
|
|
75
49
|
optional() {
|
|
76
|
-
return
|
|
50
|
+
return Y(this);
|
|
77
51
|
},
|
|
78
52
|
exactOptional() {
|
|
79
|
-
return
|
|
53
|
+
return xr(this);
|
|
80
54
|
},
|
|
81
55
|
nullable() {
|
|
82
56
|
return Z(this);
|
|
83
57
|
},
|
|
84
58
|
nullish() {
|
|
85
|
-
return
|
|
59
|
+
return Y(Z(this));
|
|
86
60
|
},
|
|
87
61
|
nonoptional(e) {
|
|
88
|
-
return
|
|
62
|
+
return Dr(this, e);
|
|
89
63
|
},
|
|
90
64
|
array() {
|
|
91
|
-
return
|
|
65
|
+
return sr(this);
|
|
92
66
|
},
|
|
93
67
|
or(e) {
|
|
94
|
-
return
|
|
68
|
+
return dr([this, e]);
|
|
95
69
|
},
|
|
96
70
|
and(e) {
|
|
97
|
-
return
|
|
71
|
+
return pr(this, e);
|
|
98
72
|
},
|
|
99
73
|
transform(e) {
|
|
100
|
-
return $(this,
|
|
74
|
+
return $(this, br(e));
|
|
101
75
|
},
|
|
102
76
|
default(e) {
|
|
103
|
-
return
|
|
77
|
+
return wr(this, e);
|
|
104
78
|
},
|
|
105
79
|
prefault(e) {
|
|
106
|
-
return
|
|
80
|
+
return Er(this, e);
|
|
107
81
|
},
|
|
108
82
|
catch(e) {
|
|
109
|
-
return
|
|
83
|
+
return kr(this, e);
|
|
110
84
|
},
|
|
111
85
|
pipe(e) {
|
|
112
86
|
return $(this, e);
|
|
113
87
|
},
|
|
114
88
|
readonly() {
|
|
115
|
-
return
|
|
89
|
+
return Mr(this);
|
|
116
90
|
},
|
|
117
91
|
describe(e) {
|
|
118
92
|
let t = this.clone();
|
|
119
|
-
return
|
|
93
|
+
return h.add(t, { description: e }), t;
|
|
120
94
|
},
|
|
121
95
|
meta(...e) {
|
|
122
|
-
if (e.length === 0) return
|
|
96
|
+
if (e.length === 0) return h.get(this);
|
|
123
97
|
let t = this.clone();
|
|
124
|
-
return
|
|
98
|
+
return h.add(t, e[0]), t;
|
|
125
99
|
},
|
|
126
100
|
isOptional() {
|
|
127
101
|
return this.safeParse(void 0).success;
|
|
@@ -129,308 +103,461 @@ var I = /* @__PURE__ */ t("ZodType", (e, t) => (y.init(e, t), Object.assign(e["~
|
|
|
129
103
|
isNullable() {
|
|
130
104
|
return this.safeParse(null).success;
|
|
131
105
|
},
|
|
132
|
-
apply(e) {
|
|
133
|
-
return e(this);
|
|
106
|
+
apply(e, ...t) {
|
|
107
|
+
return t.length === 0 ? e(this) : e(this, ...t);
|
|
108
|
+
},
|
|
109
|
+
get "~standard"() {
|
|
110
|
+
return i(this, "~standard", {
|
|
111
|
+
...ot(this),
|
|
112
|
+
jsonSchema: {
|
|
113
|
+
input: w(this, "input"),
|
|
114
|
+
output: w(this, "output")
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
},
|
|
118
|
+
set "~standard"(e) {
|
|
119
|
+
c(this, "~standard", e);
|
|
120
|
+
},
|
|
121
|
+
parse: function e(t, n) {
|
|
122
|
+
return jn(this, t, n, { callee: e });
|
|
123
|
+
},
|
|
124
|
+
parseAsync: async function e(t, n) {
|
|
125
|
+
return await Mn(this, t, n, { callee: e });
|
|
126
|
+
},
|
|
127
|
+
safeParse(e, t) {
|
|
128
|
+
return Ln(this, e, t);
|
|
129
|
+
},
|
|
130
|
+
async safeParseAsync(e, t) {
|
|
131
|
+
return Rn(this, e, t);
|
|
132
|
+
},
|
|
133
|
+
get spa() {
|
|
134
|
+
return this?.safeParseAsync;
|
|
135
|
+
},
|
|
136
|
+
set spa(e) {
|
|
137
|
+
c(this, "spa", e);
|
|
138
|
+
},
|
|
139
|
+
validate(e, t) {
|
|
140
|
+
return le(this, e, t);
|
|
141
|
+
},
|
|
142
|
+
validateAsync(e, t) {
|
|
143
|
+
return ue(this, e, t);
|
|
144
|
+
},
|
|
145
|
+
encode: function e(t, n) {
|
|
146
|
+
return kn(this, t, n, { callee: e });
|
|
147
|
+
},
|
|
148
|
+
decode: function e(t, n) {
|
|
149
|
+
return Dn(this, t, n, { callee: e });
|
|
150
|
+
},
|
|
151
|
+
encodeAsync: async function e(t, n) {
|
|
152
|
+
return await An(this, t, n, { callee: e });
|
|
153
|
+
},
|
|
154
|
+
decodeAsync: async function e(t, n) {
|
|
155
|
+
return await On(this, t, n, { callee: e });
|
|
156
|
+
},
|
|
157
|
+
safeEncode(e, t) {
|
|
158
|
+
return Fn(this, e, t);
|
|
159
|
+
},
|
|
160
|
+
safeDecode(e, t) {
|
|
161
|
+
return Nn(this, e, t);
|
|
162
|
+
},
|
|
163
|
+
async safeEncodeAsync(e, t) {
|
|
164
|
+
return In(this, e, t);
|
|
165
|
+
},
|
|
166
|
+
async safeDecodeAsync(e, t) {
|
|
167
|
+
return Pn(this, e, t);
|
|
168
|
+
},
|
|
169
|
+
toJSONSchema(e) {
|
|
170
|
+
return Tn(this, {})(e);
|
|
171
|
+
},
|
|
172
|
+
get description() {
|
|
173
|
+
return h.get(this)?.description;
|
|
174
|
+
},
|
|
175
|
+
get _def() {
|
|
176
|
+
return this._zod.def;
|
|
177
|
+
}
|
|
178
|
+
}), D = /*@__PURE__*/ d("_ZodString", (e, t) => {
|
|
179
|
+
f.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => Tt(e, t, n, r);
|
|
180
|
+
}, /*@__PURE__*/ n({
|
|
181
|
+
format: (e) => p(e).format ?? null,
|
|
182
|
+
minLength: (e) => p(e).minimum ?? null,
|
|
183
|
+
maxLength: (e) => p(e).maximum ?? null
|
|
184
|
+
}, {
|
|
185
|
+
regex(...e) {
|
|
186
|
+
return this.check(sn(...e));
|
|
187
|
+
},
|
|
188
|
+
includes(...e) {
|
|
189
|
+
return this.check(Ut(...e));
|
|
190
|
+
},
|
|
191
|
+
startsWith(...e) {
|
|
192
|
+
return this.check(ln(...e));
|
|
193
|
+
},
|
|
194
|
+
endsWith(...e) {
|
|
195
|
+
return this.check(Vt(...e));
|
|
196
|
+
},
|
|
197
|
+
min(...e) {
|
|
198
|
+
return this.check(S(...e));
|
|
199
|
+
},
|
|
200
|
+
max(...e) {
|
|
201
|
+
return this.check(x(...e));
|
|
202
|
+
},
|
|
203
|
+
length(...e) {
|
|
204
|
+
return this.check(v(...e));
|
|
205
|
+
},
|
|
206
|
+
nonempty(...e) {
|
|
207
|
+
return this.check(S(1, ...e));
|
|
208
|
+
},
|
|
209
|
+
lowercase(e) {
|
|
210
|
+
return this.check($t(e));
|
|
211
|
+
},
|
|
212
|
+
uppercase(e) {
|
|
213
|
+
return this.check(vn(e));
|
|
214
|
+
},
|
|
215
|
+
trim() {
|
|
216
|
+
return this.check(mn());
|
|
217
|
+
},
|
|
218
|
+
normalize(...e) {
|
|
219
|
+
return this.check(nn(...e));
|
|
220
|
+
},
|
|
221
|
+
toLowerCase() {
|
|
222
|
+
return this.check(fn());
|
|
223
|
+
},
|
|
224
|
+
toUpperCase() {
|
|
225
|
+
return this.check(pn());
|
|
226
|
+
},
|
|
227
|
+
slugify() {
|
|
228
|
+
return this.check(cn());
|
|
229
|
+
}
|
|
230
|
+
})), O = /*@__PURE__*/ d("ZodString", (e, t) => {
|
|
231
|
+
f.init(e, t), D.init(e, t);
|
|
232
|
+
}, {
|
|
233
|
+
email(e) {
|
|
234
|
+
return this.check(zt(F, e));
|
|
235
|
+
},
|
|
236
|
+
url(e) {
|
|
237
|
+
return this.check(yn(R, e));
|
|
238
|
+
},
|
|
239
|
+
jwt(e) {
|
|
240
|
+
return this.check(Zt(Xn, e));
|
|
241
|
+
},
|
|
242
|
+
emoji(e) {
|
|
243
|
+
return this.check(Bt(z, e));
|
|
244
|
+
},
|
|
245
|
+
guid(e) {
|
|
246
|
+
return this.check(Ht(I, e));
|
|
247
|
+
},
|
|
248
|
+
uuid(e) {
|
|
249
|
+
return this.check(bn(L, e));
|
|
250
|
+
},
|
|
251
|
+
uuidv4(e) {
|
|
252
|
+
return this.check(xn(L, e));
|
|
253
|
+
},
|
|
254
|
+
uuidv6(e) {
|
|
255
|
+
return this.check(Sn(L, e));
|
|
256
|
+
},
|
|
257
|
+
uuidv7(e) {
|
|
258
|
+
return this.check(Cn(L, e));
|
|
259
|
+
},
|
|
260
|
+
nanoid(e) {
|
|
261
|
+
return this.check(en(B, e));
|
|
262
|
+
},
|
|
263
|
+
cuid(e) {
|
|
264
|
+
return this.check(It(V, e));
|
|
265
|
+
},
|
|
266
|
+
cuid2(e) {
|
|
267
|
+
return this.check(Lt(H, e));
|
|
268
|
+
},
|
|
269
|
+
ulid(e) {
|
|
270
|
+
return this.check(hn(Bn, e));
|
|
271
|
+
},
|
|
272
|
+
base64(e) {
|
|
273
|
+
return this.check(jt(qn, e));
|
|
274
|
+
},
|
|
275
|
+
base64url(e) {
|
|
276
|
+
return this.check(Mt(Jn, e));
|
|
277
|
+
},
|
|
278
|
+
xid(e) {
|
|
279
|
+
return this.check(wn(Vn, e));
|
|
280
|
+
},
|
|
281
|
+
ksuid(e) {
|
|
282
|
+
return this.check(Qt(Hn, e));
|
|
283
|
+
},
|
|
284
|
+
ipv4(e) {
|
|
285
|
+
return this.check(Gt(Un, e));
|
|
286
|
+
},
|
|
287
|
+
ipv6(e) {
|
|
288
|
+
return this.check(Kt(Wn, e));
|
|
289
|
+
},
|
|
290
|
+
cidrv4(e) {
|
|
291
|
+
return this.check(Pt(Gn, e));
|
|
292
|
+
},
|
|
293
|
+
cidrv6(e) {
|
|
294
|
+
return this.check(Ft(Kn, e));
|
|
295
|
+
},
|
|
296
|
+
e164(e) {
|
|
297
|
+
return this.check(Rt(Yn, e));
|
|
298
|
+
},
|
|
299
|
+
datetime(e) {
|
|
300
|
+
return this.check(Jt(j, e));
|
|
301
|
+
},
|
|
302
|
+
date(e) {
|
|
303
|
+
return this.check(qt(M, e));
|
|
304
|
+
},
|
|
305
|
+
time(e) {
|
|
306
|
+
return this.check(Xt(N, e));
|
|
307
|
+
},
|
|
308
|
+
duration(e) {
|
|
309
|
+
return this.check(Yt(P, e));
|
|
134
310
|
}
|
|
135
|
-
}), Object.defineProperty(e, "description", {
|
|
136
|
-
get() {
|
|
137
|
-
return x.get(e)?.description;
|
|
138
|
-
},
|
|
139
|
-
configurable: !0
|
|
140
|
-
}), e)), L = /* @__PURE__ */ t("_ZodString", (e, t) => {
|
|
141
|
-
g.init(e, t), I.init(e, t), e._zod.processJSONSchema = (t, n, r) => Kt(e, t, n, r);
|
|
142
|
-
let n = e._zod.bag;
|
|
143
|
-
e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, F(e, "_ZodString", {
|
|
144
|
-
regex(...e) {
|
|
145
|
-
return this.check(dt(...e));
|
|
146
|
-
},
|
|
147
|
-
includes(...e) {
|
|
148
|
-
return this.check(Qe(...e));
|
|
149
|
-
},
|
|
150
|
-
startsWith(...e) {
|
|
151
|
-
return this.check(pt(...e));
|
|
152
|
-
},
|
|
153
|
-
endsWith(...e) {
|
|
154
|
-
return this.check(Ze(...e));
|
|
155
|
-
},
|
|
156
|
-
min(...e) {
|
|
157
|
-
return this.check(k(...e));
|
|
158
|
-
},
|
|
159
|
-
max(...e) {
|
|
160
|
-
return this.check(O(...e));
|
|
161
|
-
},
|
|
162
|
-
length(...e) {
|
|
163
|
-
return this.check(T(...e));
|
|
164
|
-
},
|
|
165
|
-
nonempty(...e) {
|
|
166
|
-
return this.check(k(1, ...e));
|
|
167
|
-
},
|
|
168
|
-
lowercase(e) {
|
|
169
|
-
return this.check(it(e));
|
|
170
|
-
},
|
|
171
|
-
uppercase(e) {
|
|
172
|
-
return this.check(St(e));
|
|
173
|
-
},
|
|
174
|
-
trim() {
|
|
175
|
-
return this.check(vt());
|
|
176
|
-
},
|
|
177
|
-
normalize(...e) {
|
|
178
|
-
return this.check(st(...e));
|
|
179
|
-
},
|
|
180
|
-
toLowerCase() {
|
|
181
|
-
return this.check(gt());
|
|
182
|
-
},
|
|
183
|
-
toUpperCase() {
|
|
184
|
-
return this.check(_t());
|
|
185
|
-
},
|
|
186
|
-
slugify() {
|
|
187
|
-
return this.check(ft());
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
}), mn = /* @__PURE__ */ t("ZodString", (e, t) => {
|
|
191
|
-
g.init(e, t), L.init(e, t), e.email = (t) => e.check(Ye(hn, t)), e.url = (t) => e.check(Ct(gn, t)), e.jwt = (t) => e.check(nt(jn, t)), e.emoji = (t) => e.check(Xe(_n, t)), e.guid = (t) => e.check(w(B, t)), e.uuid = (t) => e.check(wt(V, t)), e.uuidv4 = (t) => e.check(Tt(V, t)), e.uuidv6 = (t) => e.check(Et(V, t)), e.uuidv7 = (t) => e.check(Dt(V, t)), e.nanoid = (t) => e.check(at(vn, t)), e.guid = (t) => e.check(w(B, t)), e.cuid = (t) => e.check(Ke(yn, t)), e.cuid2 = (t) => e.check(qe(bn, t)), e.ulid = (t) => e.check(yt(xn, t)), e.base64 = (t) => e.check(Ve(On, t)), e.base64url = (t) => e.check(He(kn, t)), e.xid = (t) => e.check(Ot(Sn, t)), e.ksuid = (t) => e.check(rt(Cn, t)), e.ipv4 = (t) => e.check(et(wn, t)), e.ipv6 = (t) => e.check(tt(Tn, t)), e.cidrv4 = (t) => e.check(We(En, t)), e.cidrv6 = (t) => e.check(Ge(Dn, t)), e.e164 = (t) => e.check(Je(An, t)), e.datetime = (t) => e.check(Qt(t)), e.date = (t) => e.check(Zt(t)), e.time = (t) => e.check(en(t)), e.duration = (t) => e.check($t(t));
|
|
192
311
|
});
|
|
193
|
-
function
|
|
194
|
-
return
|
|
312
|
+
function k(e) {
|
|
313
|
+
return un(O, e);
|
|
195
314
|
}
|
|
196
|
-
var
|
|
197
|
-
|
|
198
|
-
}),
|
|
199
|
-
|
|
200
|
-
}),
|
|
201
|
-
|
|
202
|
-
}),
|
|
203
|
-
|
|
204
|
-
}),
|
|
205
|
-
|
|
206
|
-
}),
|
|
207
|
-
|
|
208
|
-
}),
|
|
209
|
-
|
|
210
|
-
}),
|
|
211
|
-
|
|
212
|
-
}),
|
|
213
|
-
|
|
214
|
-
}),
|
|
215
|
-
|
|
216
|
-
}),
|
|
217
|
-
|
|
218
|
-
}),
|
|
219
|
-
|
|
220
|
-
}),
|
|
221
|
-
|
|
222
|
-
}),
|
|
223
|
-
|
|
224
|
-
}),
|
|
225
|
-
|
|
226
|
-
}),
|
|
227
|
-
|
|
228
|
-
}),
|
|
229
|
-
|
|
230
|
-
}),
|
|
231
|
-
|
|
232
|
-
}),
|
|
233
|
-
|
|
234
|
-
}),
|
|
235
|
-
|
|
236
|
-
}),
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
315
|
+
var A = /*@__PURE__*/ d("ZodStringFormat", (e, t) => {
|
|
316
|
+
Xe.init(e, t), D.init(e, t);
|
|
317
|
+
}), j = /*@__PURE__*/ d("ZodISODateTime", (e, t) => {
|
|
318
|
+
je.init(e, t), A.init(e, t);
|
|
319
|
+
}), M = /*@__PURE__*/ d("ZodISODate", (e, t) => {
|
|
320
|
+
Ae.init(e, t), A.init(e, t);
|
|
321
|
+
}), N = /*@__PURE__*/ d("ZodISOTime", (e, t) => {
|
|
322
|
+
Ne.init(e, t), A.init(e, t);
|
|
323
|
+
}), P = /*@__PURE__*/ d("ZodISODuration", (e, t) => {
|
|
324
|
+
Me.init(e, t), A.init(e, t);
|
|
325
|
+
}), F = /*@__PURE__*/ d("ZodEmail", (e, t) => {
|
|
326
|
+
Ce.init(e, t), A.init(e, t);
|
|
327
|
+
}), I = /*@__PURE__*/ d("ZodGUID", (e, t) => {
|
|
328
|
+
De.init(e, t), A.init(e, t);
|
|
329
|
+
}), L = /*@__PURE__*/ d("ZodUUID", (e, t) => {
|
|
330
|
+
tt.init(e, t), A.init(e, t);
|
|
331
|
+
}), R = /*@__PURE__*/ d("ZodURL", (e, t) => {
|
|
332
|
+
et.init(e, t), A.init(e, t);
|
|
333
|
+
}), z = /*@__PURE__*/ d("ZodEmoji", (e, t) => {
|
|
334
|
+
we.init(e, t), A.init(e, t);
|
|
335
|
+
}), B = /*@__PURE__*/ d("ZodNanoID", (e, t) => {
|
|
336
|
+
Re.init(e, t), A.init(e, t);
|
|
337
|
+
}), V = /*@__PURE__*/ d("ZodCUID", (e, t) => {
|
|
338
|
+
_e.init(e, t), A.init(e, t);
|
|
339
|
+
}), H = /*@__PURE__*/ d("ZodCUID2", (e, t) => {
|
|
340
|
+
ve.init(e, t), A.init(e, t);
|
|
341
|
+
}), Bn = /*@__PURE__*/ d("ZodULID", (e, t) => {
|
|
342
|
+
$e.init(e, t), A.init(e, t);
|
|
343
|
+
}), Vn = /*@__PURE__*/ d("ZodXID", (e, t) => {
|
|
344
|
+
at.init(e, t), A.init(e, t);
|
|
345
|
+
}), Hn = /*@__PURE__*/ d("ZodKSUID", (e, t) => {
|
|
346
|
+
Ie.init(e, t), A.init(e, t);
|
|
347
|
+
}), Un = /*@__PURE__*/ d("ZodIPv4", (e, t) => {
|
|
348
|
+
Oe.init(e, t), A.init(e, t);
|
|
349
|
+
}), Wn = /*@__PURE__*/ d("ZodIPv6", (e, t) => {
|
|
350
|
+
ke.init(e, t), A.init(e, t);
|
|
351
|
+
}), Gn = /*@__PURE__*/ d("ZodCIDRv4", (e, t) => {
|
|
352
|
+
he.init(e, t), A.init(e, t);
|
|
353
|
+
}), Kn = /*@__PURE__*/ d("ZodCIDRv6", (e, t) => {
|
|
354
|
+
ge.init(e, t), A.init(e, t);
|
|
355
|
+
}), qn = /*@__PURE__*/ d("ZodBase64", (e, t) => {
|
|
356
|
+
fe.init(e, t), A.init(e, t);
|
|
357
|
+
}), Jn = /*@__PURE__*/ d("ZodBase64URL", (e, t) => {
|
|
358
|
+
pe.init(e, t), A.init(e, t);
|
|
359
|
+
}), Yn = /*@__PURE__*/ d("ZodE164", (e, t) => {
|
|
360
|
+
Se.init(e, t), A.init(e, t);
|
|
361
|
+
}), Xn = /*@__PURE__*/ d("ZodJWT", (e, t) => {
|
|
362
|
+
Fe.init(e, t), A.init(e, t);
|
|
363
|
+
}), U = /*@__PURE__*/ d("ZodNumber", (e, t) => {
|
|
364
|
+
He.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => yt(e, t, n, r), e.isFinite = !0;
|
|
365
|
+
}, /*@__PURE__*/ n({
|
|
366
|
+
minValue: (e) => {
|
|
367
|
+
let { minimum: t, exclusiveMinimum: n } = p(e);
|
|
368
|
+
return Math.max(t ?? -Infinity, n ?? -Infinity);
|
|
369
|
+
},
|
|
370
|
+
maxValue: (e) => {
|
|
371
|
+
let { maximum: t, exclusiveMaximum: n } = p(e);
|
|
372
|
+
return Math.min(t ?? Infinity, n ?? Infinity);
|
|
373
|
+
},
|
|
374
|
+
isInt: (e) => {
|
|
375
|
+
let { isInt: t, multipleOf: n } = p(e);
|
|
376
|
+
return !!t || !!n?.some(Number.isSafeInteger);
|
|
377
|
+
},
|
|
378
|
+
format: (e) => p(e).format ?? null
|
|
379
|
+
}, {
|
|
380
|
+
gt(e, t) {
|
|
381
|
+
return this.check(g(e, t));
|
|
382
|
+
},
|
|
383
|
+
gte(e, t) {
|
|
384
|
+
return this.check(_(e, t));
|
|
385
|
+
},
|
|
386
|
+
min(e, t) {
|
|
387
|
+
return this.check(_(e, t));
|
|
388
|
+
},
|
|
389
|
+
lt(e, t) {
|
|
390
|
+
return this.check(y(e, t));
|
|
391
|
+
},
|
|
392
|
+
lte(e, t) {
|
|
393
|
+
return this.check(b(e, t));
|
|
394
|
+
},
|
|
395
|
+
max(e, t) {
|
|
396
|
+
return this.check(b(e, t));
|
|
397
|
+
},
|
|
398
|
+
int(e) {
|
|
399
|
+
return this.check(W(e));
|
|
400
|
+
},
|
|
401
|
+
safe(e) {
|
|
402
|
+
return this.check(W(e));
|
|
403
|
+
},
|
|
404
|
+
positive(e) {
|
|
405
|
+
return this.check(g(0, e));
|
|
406
|
+
},
|
|
407
|
+
nonnegative(e) {
|
|
408
|
+
return this.check(_(0, e));
|
|
409
|
+
},
|
|
410
|
+
negative(e) {
|
|
411
|
+
return this.check(y(0, e));
|
|
412
|
+
},
|
|
413
|
+
nonpositive(e) {
|
|
414
|
+
return this.check(b(0, e));
|
|
415
|
+
},
|
|
416
|
+
multipleOf(e, t) {
|
|
417
|
+
return this.check(C(e, t));
|
|
418
|
+
},
|
|
419
|
+
step(e, t) {
|
|
420
|
+
return this.check(C(e, t));
|
|
421
|
+
},
|
|
422
|
+
finite() {
|
|
423
|
+
return this;
|
|
424
|
+
}
|
|
425
|
+
}));
|
|
426
|
+
function Zn(e) {
|
|
427
|
+
return rn(U, e);
|
|
289
428
|
}
|
|
290
|
-
var
|
|
291
|
-
|
|
429
|
+
var Qn = /*@__PURE__*/ d("ZodNumberFormat", (e, t) => {
|
|
430
|
+
Ue.init(e, t), U.init(e, t);
|
|
292
431
|
});
|
|
293
|
-
function
|
|
294
|
-
return
|
|
432
|
+
function W(e) {
|
|
433
|
+
return Wt(Qn, e);
|
|
295
434
|
}
|
|
296
|
-
var
|
|
297
|
-
|
|
435
|
+
var $n = /*@__PURE__*/ d("ZodBoolean", (e, t) => {
|
|
436
|
+
me.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => lt(e, t, n, r);
|
|
298
437
|
});
|
|
299
|
-
function
|
|
300
|
-
return
|
|
438
|
+
function er(e) {
|
|
439
|
+
return Nt($n, e);
|
|
301
440
|
}
|
|
302
|
-
var
|
|
303
|
-
|
|
441
|
+
var tr = /*@__PURE__*/ d("ZodUndefined", (e, t) => {
|
|
442
|
+
nt.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => Dt(e, t, n, r);
|
|
304
443
|
});
|
|
305
|
-
function
|
|
306
|
-
return
|
|
444
|
+
function nr(e) {
|
|
445
|
+
return gn(tr, e);
|
|
307
446
|
}
|
|
308
|
-
var
|
|
309
|
-
|
|
447
|
+
var rr = /*@__PURE__*/ d("ZodUnknown", (e, t) => {
|
|
448
|
+
it.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => kt(e, t, n, r);
|
|
310
449
|
});
|
|
311
|
-
function
|
|
312
|
-
return
|
|
450
|
+
function G() {
|
|
451
|
+
return _n(rr);
|
|
313
452
|
}
|
|
314
|
-
var
|
|
315
|
-
|
|
453
|
+
var ir = /*@__PURE__*/ d("ZodNever", (e, t) => {
|
|
454
|
+
ze.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => gt(e, t, n, r);
|
|
316
455
|
});
|
|
317
|
-
function
|
|
318
|
-
return
|
|
456
|
+
function ar(e) {
|
|
457
|
+
return tn(ir, e);
|
|
319
458
|
}
|
|
320
|
-
var
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
459
|
+
var or = /*@__PURE__*/ d("ZodArray", (e, t) => {
|
|
460
|
+
T(), de.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => ct(e, t, n, r), e.element = t.element;
|
|
461
|
+
}, {
|
|
462
|
+
min(e, t) {
|
|
463
|
+
return this.check(S(e, t));
|
|
464
|
+
},
|
|
465
|
+
nonempty(e) {
|
|
466
|
+
return this.check(S(1, e));
|
|
467
|
+
},
|
|
468
|
+
max(e, t) {
|
|
469
|
+
return this.check(x(e, t));
|
|
470
|
+
},
|
|
471
|
+
length(e, t) {
|
|
472
|
+
return this.check(v(e, t));
|
|
473
|
+
},
|
|
474
|
+
unwrap() {
|
|
475
|
+
return this.element;
|
|
476
|
+
}
|
|
338
477
|
});
|
|
339
|
-
function
|
|
340
|
-
return
|
|
478
|
+
function sr(e, t) {
|
|
479
|
+
return At(or, e, t);
|
|
341
480
|
}
|
|
342
|
-
var
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
return ne(this, e);
|
|
388
|
-
},
|
|
389
|
-
omit(e) {
|
|
390
|
-
return c(this, e);
|
|
391
|
-
},
|
|
392
|
-
partial(...e) {
|
|
393
|
-
return te(Y, this, e[0]);
|
|
394
|
-
},
|
|
395
|
-
required(...e) {
|
|
396
|
-
return re(Q, this, e[0]);
|
|
397
|
-
}
|
|
398
|
-
});
|
|
481
|
+
var cr = /*@__PURE__*/ d("ZodObject", (e, t) => {
|
|
482
|
+
T(), We.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => bt(e, t, n, r), ee(e, "shape", (e) => e._zod.def.shape, !1);
|
|
483
|
+
}, {
|
|
484
|
+
keyof() {
|
|
485
|
+
return hr(Object.keys(this._zod.def.shape));
|
|
486
|
+
},
|
|
487
|
+
catchall(e) {
|
|
488
|
+
return this.clone(o(this._zod.def, { catchall: e }));
|
|
489
|
+
},
|
|
490
|
+
passthrough() {
|
|
491
|
+
return this.clone(o(this._zod.def, { catchall: G() }));
|
|
492
|
+
},
|
|
493
|
+
loose() {
|
|
494
|
+
return this.clone(o(this._zod.def, { catchall: G() }));
|
|
495
|
+
},
|
|
496
|
+
strict() {
|
|
497
|
+
return this.clone(o(this._zod.def, { catchall: ar() }));
|
|
498
|
+
},
|
|
499
|
+
strip() {
|
|
500
|
+
return this.clone(o(this._zod.def, { catchall: void 0 }));
|
|
501
|
+
},
|
|
502
|
+
extend(e) {
|
|
503
|
+
return r(this, e);
|
|
504
|
+
},
|
|
505
|
+
safeExtend(e) {
|
|
506
|
+
return ae(this, e);
|
|
507
|
+
},
|
|
508
|
+
merge(e) {
|
|
509
|
+
return te(this, e);
|
|
510
|
+
},
|
|
511
|
+
pick(e) {
|
|
512
|
+
return re(this, e);
|
|
513
|
+
},
|
|
514
|
+
omit(e) {
|
|
515
|
+
return ne(this, e);
|
|
516
|
+
},
|
|
517
|
+
partial(...e) {
|
|
518
|
+
return l(J, this, e[0]);
|
|
519
|
+
},
|
|
520
|
+
exactPartial(...e) {
|
|
521
|
+
return l(X, this, e[0], "exactPartial");
|
|
522
|
+
},
|
|
523
|
+
required(...e) {
|
|
524
|
+
return ie(Q, this, e[0]);
|
|
525
|
+
}
|
|
399
526
|
});
|
|
400
|
-
function
|
|
401
|
-
return new
|
|
527
|
+
function lr(e, t) {
|
|
528
|
+
return new cr({
|
|
402
529
|
type: "object",
|
|
403
530
|
shape: e ?? {},
|
|
404
531
|
...s(t)
|
|
405
532
|
});
|
|
406
533
|
}
|
|
407
|
-
var
|
|
408
|
-
|
|
534
|
+
var ur = /*@__PURE__*/ d("ZodUnion", (e, t) => {
|
|
535
|
+
rt.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ot(e, t, n, r), e.options = t.options;
|
|
409
536
|
});
|
|
410
|
-
function
|
|
411
|
-
return new
|
|
537
|
+
function dr(e, t) {
|
|
538
|
+
return new ur({
|
|
412
539
|
type: "union",
|
|
413
540
|
options: e,
|
|
414
541
|
...s(t)
|
|
415
542
|
});
|
|
416
543
|
}
|
|
417
|
-
var
|
|
418
|
-
|
|
544
|
+
var fr = /*@__PURE__*/ d("ZodIntersection", (e, t) => {
|
|
545
|
+
Pe.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => mt(e, t, n, r);
|
|
419
546
|
});
|
|
420
|
-
function
|
|
421
|
-
return new
|
|
547
|
+
function pr(e, t) {
|
|
548
|
+
return new fr({
|
|
422
549
|
type: "intersection",
|
|
423
550
|
left: e,
|
|
424
551
|
right: t
|
|
425
552
|
});
|
|
426
553
|
}
|
|
427
|
-
var K =
|
|
428
|
-
|
|
554
|
+
var K = /*@__PURE__*/ d("ZodRecord", (e, t) => {
|
|
555
|
+
T(), Ye.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => wt(e, t, n, r), e.keyType = t.keyType, e.valueType = t.valueType;
|
|
429
556
|
});
|
|
430
|
-
function
|
|
557
|
+
function mr(e, t, n) {
|
|
431
558
|
return !t || !t._zod ? new K({
|
|
432
559
|
type: "record",
|
|
433
|
-
keyType:
|
|
560
|
+
keyType: k(),
|
|
434
561
|
valueType: e,
|
|
435
562
|
...s(t)
|
|
436
563
|
}) : new K({
|
|
@@ -440,8 +567,8 @@ function Jn(e, t, n) {
|
|
|
440
567
|
...s(n)
|
|
441
568
|
});
|
|
442
569
|
}
|
|
443
|
-
var q =
|
|
444
|
-
|
|
570
|
+
var q = /*@__PURE__*/ d("ZodEnum", (e, t) => {
|
|
571
|
+
Te.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => pt(e, t, n, r), e.enum = t.entries, e.options = [...e._zod.values];
|
|
445
572
|
let n = new Set(Object.keys(t.entries));
|
|
446
573
|
e.extract = (e, r) => {
|
|
447
574
|
let i = {};
|
|
@@ -465,153 +592,152 @@ var q = /* @__PURE__ */ t("ZodEnum", (e, t) => {
|
|
|
465
592
|
});
|
|
466
593
|
};
|
|
467
594
|
});
|
|
468
|
-
function
|
|
595
|
+
function hr(e, t) {
|
|
469
596
|
return new q({
|
|
470
597
|
type: "enum",
|
|
471
598
|
entries: Array.isArray(e) ? Object.fromEntries(e.map((e) => [e, e])) : e,
|
|
472
599
|
...s(t)
|
|
473
600
|
});
|
|
474
601
|
}
|
|
475
|
-
function
|
|
602
|
+
function gr(e, t) {
|
|
476
603
|
return new q({
|
|
477
604
|
type: "enum",
|
|
478
605
|
entries: e,
|
|
479
606
|
...s(t)
|
|
480
607
|
});
|
|
481
608
|
}
|
|
482
|
-
var
|
|
483
|
-
|
|
609
|
+
var _r = /*@__PURE__*/ d("ZodLiteral", (e, t) => {
|
|
610
|
+
Le.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => ht(e, t, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", { get() {
|
|
484
611
|
if (t.values.length > 1) throw Error("This schema contains multiple valid literal values. Use `.values` instead.");
|
|
485
612
|
return t.values[0];
|
|
486
613
|
} });
|
|
487
614
|
});
|
|
488
|
-
function
|
|
489
|
-
return new
|
|
615
|
+
function vr(e, t) {
|
|
616
|
+
return new _r({
|
|
490
617
|
type: "literal",
|
|
491
618
|
values: Array.isArray(e) ? e : [e],
|
|
492
619
|
...s(t)
|
|
493
620
|
});
|
|
494
621
|
}
|
|
495
|
-
var
|
|
496
|
-
|
|
497
|
-
if (
|
|
498
|
-
|
|
499
|
-
if (typeof
|
|
622
|
+
var yr = /*@__PURE__*/ d("ZodTransform", (e, t) => {
|
|
623
|
+
T(), Ze.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => Et(e, t, n, r), e._zod.parse = (n, r) => {
|
|
624
|
+
if (r.direction === "backward") throw new oe(e.constructor.name);
|
|
625
|
+
n.addIssue = (r) => {
|
|
626
|
+
if (typeof r == "string") n.issues.push(a(r, n.value, t));
|
|
500
627
|
else {
|
|
501
|
-
let
|
|
502
|
-
|
|
628
|
+
let t = r;
|
|
629
|
+
t.fatal && (t.continue = !1), t.code ??= "custom", "input" in t || (t.input = n.value), t.inst ??= e, n.issues.push(a(t));
|
|
503
630
|
}
|
|
504
631
|
};
|
|
505
|
-
let
|
|
506
|
-
return
|
|
632
|
+
let i = t.transform(n.value, n);
|
|
633
|
+
return i instanceof Promise ? i.then((e) => (n.value = e, n)) : (n.value = i, n);
|
|
507
634
|
};
|
|
508
635
|
});
|
|
509
|
-
function
|
|
510
|
-
return new
|
|
636
|
+
function br(e) {
|
|
637
|
+
return new yr({
|
|
511
638
|
type: "transform",
|
|
512
639
|
transform: e
|
|
513
640
|
});
|
|
514
641
|
}
|
|
515
|
-
var
|
|
516
|
-
|
|
642
|
+
var J = /*@__PURE__*/ d("ZodOptional", (e, t) => {
|
|
643
|
+
Ge.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => m(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
517
644
|
});
|
|
518
|
-
function
|
|
519
|
-
return new
|
|
645
|
+
function Y(e) {
|
|
646
|
+
return new J({
|
|
520
647
|
type: "optional",
|
|
521
648
|
innerType: e
|
|
522
649
|
});
|
|
523
650
|
}
|
|
524
|
-
var
|
|
525
|
-
|
|
651
|
+
var X = /*@__PURE__*/ d("ZodExactOptional", (e, t) => {
|
|
652
|
+
Ee.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => m(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
526
653
|
});
|
|
527
|
-
function
|
|
528
|
-
return new
|
|
654
|
+
function xr(e) {
|
|
655
|
+
return new X({
|
|
529
656
|
type: "optional",
|
|
530
657
|
innerType: e
|
|
531
658
|
});
|
|
532
659
|
}
|
|
533
|
-
var
|
|
534
|
-
|
|
660
|
+
var Sr = /*@__PURE__*/ d("ZodNullable", (e, t) => {
|
|
661
|
+
Ve.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => vt(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
535
662
|
});
|
|
536
663
|
function Z(e) {
|
|
537
|
-
return new
|
|
664
|
+
return new Sr({
|
|
538
665
|
type: "nullable",
|
|
539
666
|
innerType: e
|
|
540
667
|
});
|
|
541
668
|
}
|
|
542
|
-
var
|
|
543
|
-
|
|
669
|
+
var Cr = /*@__PURE__*/ d("ZodDefault", (e, t) => {
|
|
670
|
+
xe.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => ft(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
|
|
544
671
|
});
|
|
545
|
-
function
|
|
546
|
-
return new
|
|
672
|
+
function wr(e, t) {
|
|
673
|
+
return new Cr({
|
|
547
674
|
type: "default",
|
|
548
675
|
innerType: e,
|
|
549
676
|
get defaultValue() {
|
|
550
|
-
return typeof t == "function" ? t() :
|
|
677
|
+
return typeof t == "function" ? t() : u(t);
|
|
551
678
|
}
|
|
552
679
|
});
|
|
553
680
|
}
|
|
554
|
-
var
|
|
555
|
-
|
|
681
|
+
var Tr = /*@__PURE__*/ d("ZodPrefault", (e, t) => {
|
|
682
|
+
qe.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => St(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
556
683
|
});
|
|
557
|
-
function
|
|
558
|
-
return new
|
|
684
|
+
function Er(e, t) {
|
|
685
|
+
return new Tr({
|
|
559
686
|
type: "prefault",
|
|
560
687
|
innerType: e,
|
|
561
688
|
get defaultValue() {
|
|
562
|
-
return typeof t == "function" ? t() :
|
|
689
|
+
return typeof t == "function" ? t() : u(t);
|
|
563
690
|
}
|
|
564
691
|
});
|
|
565
692
|
}
|
|
566
|
-
var Q =
|
|
567
|
-
|
|
693
|
+
var Q = /*@__PURE__*/ d("ZodNonOptional", (e, t) => {
|
|
694
|
+
Be.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => _t(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
568
695
|
});
|
|
569
|
-
function
|
|
696
|
+
function Dr(e, t) {
|
|
570
697
|
return new Q({
|
|
571
698
|
type: "nonoptional",
|
|
572
699
|
innerType: e,
|
|
573
700
|
...s(t)
|
|
574
701
|
});
|
|
575
702
|
}
|
|
576
|
-
var
|
|
577
|
-
|
|
703
|
+
var Or = /*@__PURE__*/ d("ZodCatch", (e, t) => {
|
|
704
|
+
ye.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => ut(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
|
|
578
705
|
});
|
|
579
|
-
function
|
|
580
|
-
return new
|
|
706
|
+
function kr(e, n) {
|
|
707
|
+
return new Or({
|
|
581
708
|
type: "catch",
|
|
582
709
|
innerType: e,
|
|
583
|
-
catchValue: typeof
|
|
710
|
+
catchValue: typeof n == "function" ? n : t(n)
|
|
584
711
|
});
|
|
585
712
|
}
|
|
586
|
-
var
|
|
587
|
-
|
|
713
|
+
var Ar = /*@__PURE__*/ d("ZodPipe", (e, t) => {
|
|
714
|
+
Ke.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => xt(e, t, n, r), e.in = t.in, e.out = t.out;
|
|
588
715
|
});
|
|
589
716
|
function $(e, t) {
|
|
590
|
-
return new
|
|
717
|
+
return new Ar({
|
|
591
718
|
type: "pipe",
|
|
592
719
|
in: e,
|
|
593
720
|
out: t
|
|
594
721
|
});
|
|
595
722
|
}
|
|
596
|
-
var
|
|
597
|
-
|
|
723
|
+
var jr = /*@__PURE__*/ d("ZodReadonly", (e, t) => {
|
|
724
|
+
Je.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ct(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
598
725
|
});
|
|
599
|
-
function
|
|
600
|
-
return new
|
|
726
|
+
function Mr(e) {
|
|
727
|
+
return new jr({
|
|
601
728
|
type: "readonly",
|
|
602
729
|
innerType: e
|
|
603
730
|
});
|
|
604
731
|
}
|
|
605
|
-
var
|
|
606
|
-
|
|
732
|
+
var Nr = /*@__PURE__*/ d("ZodCustom", (e, t) => {
|
|
733
|
+
be.init(e, t), E.init(e, t), e._zod.processJSONSchema = (t, n, r) => dt(e, t, n, r);
|
|
607
734
|
});
|
|
608
|
-
function
|
|
609
|
-
return
|
|
735
|
+
function Pr(e, t = {}) {
|
|
736
|
+
return on(Nr, e, t);
|
|
610
737
|
}
|
|
611
|
-
function
|
|
612
|
-
return
|
|
738
|
+
function Fr(e, t) {
|
|
739
|
+
return dn(e, t);
|
|
613
740
|
}
|
|
614
|
-
|
|
615
|
-
export { z as ZodStringFormat, J as _enum, Ln as _undefined, G as array, Fn as boolean, Zn as literal, Yn as nativeEnum, Mn as number, Un as object, Jn as record, R as string };
|
|
741
|
+
export { or as ZodArray, qn as ZodBase64, Jn as ZodBase64URL, $n as ZodBoolean, Gn as ZodCIDRv4, Kn as ZodCIDRv6, V as ZodCUID, H as ZodCUID2, Or as ZodCatch, Nr as ZodCustom, Cr as ZodDefault, Yn as ZodE164, F as ZodEmail, z as ZodEmoji, q as ZodEnum, X as ZodExactOptional, I as ZodGUID, Un as ZodIPv4, Wn as ZodIPv6, M as ZodISODate, j as ZodISODateTime, P as ZodISODuration, N as ZodISOTime, fr as ZodIntersection, Xn as ZodJWT, Hn as ZodKSUID, _r as ZodLiteral, B as ZodNanoID, ir as ZodNever, Q as ZodNonOptional, Sr as ZodNullable, U as ZodNumber, Qn as ZodNumberFormat, cr as ZodObject, J as ZodOptional, Ar as ZodPipe, Tr as ZodPrefault, jr as ZodReadonly, K as ZodRecord, O as ZodString, A as ZodStringFormat, yr as ZodTransform, E as ZodType, Bn as ZodULID, R as ZodURL, L as ZodUUID, tr as ZodUndefined, ur as ZodUnion, rr as ZodUnknown, Vn as ZodXID, D as _ZodString, wr as _default, sr as array, er as boolean, kr as catch, hr as enum, xr as exactOptional, W as int, pr as intersection, vr as literal, gr as nativeEnum, ar as never, Dr as nonoptional, Z as nullable, Zn as number, lr as object, Y as optional, $ as pipe, Er as prefault, Mr as readonly, mr as record, Pr as refine, k as string, Fr as superRefine, br as transform, nr as undefined, dr as union, G as unknown };
|
|
616
742
|
|
|
617
743
|
//# sourceMappingURL=schemas.js.map
|