@pattern-stack/frontend-patterns 0.1.0 → 0.1.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/atoms/composed/Accordion/Accordion.d.ts.map +1 -0
- package/dist/atoms/composed/Accordion/index.d.ts.map +1 -0
- package/dist/atoms/composed/Alert/Alert.d.ts.map +1 -0
- package/dist/atoms/composed/Alert/index.d.ts.map +1 -0
- package/dist/atoms/composed/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/atoms/composed/Breadcrumb/index.d.ts.map +1 -0
- package/dist/atoms/{components/data → composed}/Chart/Chart.d.ts +2 -2
- package/dist/atoms/composed/Chart/Chart.d.ts.map +1 -0
- package/dist/atoms/composed/Chart/index.d.ts.map +1 -0
- package/dist/atoms/composed/ColorSwatch/ColorSwatch.d.ts.map +1 -0
- package/dist/atoms/composed/ColorSwatch/index.d.ts.map +1 -0
- package/dist/atoms/composed/DarkModeToggle.d.ts.map +1 -0
- package/dist/atoms/composed/DataBadge/DataBadge.d.ts +13 -0
- package/dist/atoms/composed/DataBadge/DataBadge.d.ts.map +1 -0
- package/dist/atoms/composed/DataBadge/index.d.ts.map +1 -0
- package/dist/atoms/composed/DataTable/DataTable.d.ts +28 -0
- package/dist/atoms/composed/DataTable/DataTable.d.ts.map +1 -0
- package/dist/atoms/composed/DataTable/TableCellWithTooltip.d.ts.map +1 -0
- package/dist/atoms/composed/DataTable/index.d.ts.map +1 -0
- package/dist/atoms/composed/DateTimePicker/DateTimePicker.d.ts.map +1 -0
- package/dist/atoms/composed/DateTimePicker/index.d.ts.map +1 -0
- package/dist/atoms/composed/DetailedCard/DetailedCard.d.ts.map +1 -0
- package/dist/atoms/composed/DetailedCard/index.d.ts.map +1 -0
- package/dist/atoms/composed/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/atoms/composed/EmptyState/index.d.ts.map +1 -0
- package/dist/atoms/composed/FileUpload/FileUpload.d.ts.map +1 -0
- package/dist/atoms/composed/FileUpload/index.d.ts.map +1 -0
- package/dist/atoms/composed/FormField/FormField.d.ts.map +1 -0
- package/dist/atoms/composed/FormField/index.d.ts.map +1 -0
- package/dist/atoms/composed/GlobalSearch/GlobalSearch.d.ts.map +1 -0
- package/dist/atoms/composed/GlobalSearch/index.d.ts.map +1 -0
- package/dist/atoms/{components/data → composed}/IconBadge/IconBadge.d.ts +1 -2
- package/dist/atoms/composed/IconBadge/IconBadge.d.ts.map +1 -0
- package/dist/atoms/composed/IconBadge/index.d.ts.map +1 -0
- package/dist/atoms/composed/Modal/Modal.d.ts.map +1 -0
- package/dist/atoms/composed/Modal/index.d.ts.map +1 -0
- package/dist/atoms/composed/PaletteSwitcher.d.ts.map +1 -0
- package/dist/atoms/composed/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/atoms/composed/ProgressBar/index.d.ts.map +1 -0
- package/dist/atoms/{components/data → composed}/StatCard/StatCard.d.ts +1 -1
- package/dist/atoms/composed/StatCard/StatCard.d.ts.map +1 -0
- package/dist/atoms/composed/StatCard/index.d.ts.map +1 -0
- package/dist/atoms/composed/StyleGuide.d.ts.map +1 -0
- package/dist/atoms/composed/Toast/Toast.d.ts.map +1 -0
- package/dist/atoms/composed/Toast/index.d.ts.map +1 -0
- package/dist/atoms/composed/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/atoms/composed/Tooltip/index.d.ts +2 -0
- package/dist/atoms/composed/Tooltip/index.d.ts.map +1 -0
- package/dist/atoms/composed/UserAvatar/UserAvatar.d.ts.map +1 -0
- package/dist/atoms/composed/UserAvatar/index.d.ts.map +1 -0
- package/dist/atoms/composed/UserMenu/UserMenu.d.ts.map +1 -0
- package/dist/atoms/composed/UserMenu/index.d.ts.map +1 -0
- package/dist/atoms/composed/index.d.ts +25 -0
- package/dist/atoms/composed/index.d.ts.map +1 -0
- package/dist/atoms/index.d.ts +5 -4
- package/dist/atoms/index.d.ts.map +1 -1
- package/dist/atoms/shared/index.d.ts +0 -1
- package/dist/atoms/shared/index.d.ts.map +1 -1
- package/dist/atoms/types/index.d.ts +0 -3
- package/dist/atoms/types/index.d.ts.map +1 -1
- package/dist/atoms/ui/Badge.d.ts.map +1 -0
- package/dist/atoms/ui/ErrorBoundary.d.ts.map +1 -0
- package/dist/atoms/ui/Select.d.ts.map +1 -0
- package/dist/atoms/ui/Switch.d.ts.map +1 -0
- package/dist/atoms/ui/Tabs.d.ts.map +1 -0
- package/dist/atoms/ui/avatar.d.ts.map +1 -0
- package/dist/atoms/{primitives → ui}/button.d.ts +3 -3
- package/dist/atoms/ui/button.d.ts.map +1 -0
- package/dist/atoms/ui/card.d.ts.map +1 -0
- package/dist/atoms/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/atoms/{primitives → ui}/index.d.ts +0 -2
- package/dist/atoms/ui/index.d.ts.map +1 -0
- package/dist/atoms/ui/input.d.ts.map +1 -0
- package/dist/atoms/ui/label.d.ts.map +1 -0
- package/dist/atoms/ui/skeleton.d.ts.map +1 -0
- package/dist/atoms/ui/spinner.d.ts.map +1 -0
- package/dist/atoms/ui/table.d.ts.map +1 -0
- package/dist/atoms/utils/utils.d.ts +0 -5
- package/dist/atoms/utils/utils.d.ts.map +1 -1
- package/dist/features/auth/components/LoginForm.d.ts.map +1 -1
- package/dist/features/auth/hooks/index.d.ts +0 -1
- package/dist/features/auth/hooks/index.d.ts.map +1 -1
- package/dist/features/auth/index.d.ts +0 -1
- package/dist/features/auth/index.d.ts.map +1 -1
- package/dist/frontend-patterns.css +1 -4417
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +8506 -27523
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +8466 -27504
- package/dist/index.js.map +1 -1
- package/dist/molecules/forms/SearchInput.d.ts.map +1 -1
- package/dist/molecules/layout/AppHeader/AppHeader.d.ts.map +1 -1
- package/dist/molecules/layout/Sidebar.d.ts.map +1 -1
- package/dist/molecules/layout/SidebarButton/SidebarButton.d.ts +0 -2
- package/dist/molecules/layout/SidebarButton/SidebarButton.d.ts.map +1 -1
- package/dist/molecules/layout/index.d.ts +0 -4
- package/dist/molecules/layout/index.d.ts.map +1 -1
- package/dist/organisms/showcase/ComponentShowcasePage.d.ts.map +1 -1
- package/dist/templates/DataTemplate.d.ts +1 -1
- package/dist/templates/DataTemplate.d.ts.map +1 -1
- package/dist/templates/admin/AdminCRUDTemplate.d.ts.map +1 -1
- package/dist/templates/admin/AdminDashboardTemplate.d.ts +9 -6
- package/dist/templates/admin/AdminDashboardTemplate.d.ts.map +1 -1
- package/dist/templates/admin/AdminDetailTemplate.d.ts +1 -1
- package/dist/templates/admin/AdminDetailTemplate.d.ts.map +1 -1
- package/dist/templates/factory.d.ts +1 -2
- package/dist/templates/factory.d.ts.map +1 -1
- package/dist/templates/index.d.ts +0 -2
- package/dist/templates/index.d.ts.map +1 -1
- package/package.json +10 -35
- package/src/App.css +42 -0
- package/src/App.tsx +54 -0
- package/src/__tests__/README.md +221 -0
- package/src/__tests__/atoms/hooks/simple-hooks.test.ts +44 -0
- package/src/__tests__/atoms/ui/button.test.tsx +68 -0
- package/src/__tests__/atoms/utils/simple.test.ts +18 -0
- package/src/__tests__/atoms/utils/utils.test.ts +77 -0
- package/src/__tests__/features/auth/simple-auth.test.tsx +40 -0
- package/src/__tests__/molecules/layout/simple-layout.test.tsx +81 -0
- package/src/__tests__/organisms/showcase/simple-showcase.test.tsx +167 -0
- package/src/__tests__/setup.ts +51 -0
- package/src/__tests__/utils.tsx +123 -0
- package/src/atoms/composed/Accordion/Accordion.tsx +271 -0
- package/src/atoms/composed/Accordion/index.ts +1 -0
- package/src/atoms/composed/Alert/Alert.tsx +132 -0
- package/src/atoms/composed/Alert/index.ts +1 -0
- package/src/atoms/composed/Breadcrumb/Breadcrumb.tsx +83 -0
- package/src/atoms/composed/Breadcrumb/index.ts +1 -0
- package/src/atoms/composed/Chart/Chart.tsx +425 -0
- package/src/atoms/composed/Chart/index.ts +2 -0
- package/src/atoms/composed/ColorSwatch/ColorSwatch.tsx +72 -0
- package/src/atoms/composed/ColorSwatch/index.ts +1 -0
- package/src/atoms/composed/DarkModeToggle.tsx +66 -0
- package/src/atoms/composed/DataBadge/DataBadge.tsx +81 -0
- package/src/atoms/composed/DataBadge/index.ts +1 -0
- package/src/atoms/composed/DataTable/DataTable.tsx +394 -0
- package/src/atoms/composed/DataTable/TableCellWithTooltip.tsx +41 -0
- package/src/atoms/composed/DataTable/index.ts +2 -0
- package/src/atoms/composed/DateTimePicker/DateTimePicker.tsx +611 -0
- package/src/atoms/composed/DateTimePicker/index.ts +2 -0
- package/src/atoms/composed/DetailedCard/DetailedCard.tsx +181 -0
- package/src/atoms/composed/DetailedCard/index.ts +2 -0
- package/src/atoms/composed/EmptyState/EmptyState.tsx +90 -0
- package/src/atoms/composed/EmptyState/index.ts +1 -0
- package/src/atoms/composed/FileUpload/FileUpload.tsx +477 -0
- package/src/atoms/composed/FileUpload/index.ts +2 -0
- package/src/atoms/composed/FormField/FormField.tsx +92 -0
- package/src/atoms/composed/FormField/index.ts +1 -0
- package/src/atoms/composed/GlobalSearch/GlobalSearch.tsx +37 -0
- package/src/atoms/composed/GlobalSearch/index.ts +1 -0
- package/src/atoms/composed/IconBadge/IconBadge.tsx +95 -0
- package/src/atoms/composed/IconBadge/index.ts +2 -0
- package/src/atoms/composed/Modal/Modal.tsx +223 -0
- package/src/atoms/composed/Modal/index.ts +2 -0
- package/src/atoms/composed/PaletteSwitcher.tsx +386 -0
- package/src/atoms/composed/ProgressBar/ProgressBar.tsx +116 -0
- package/src/atoms/composed/ProgressBar/index.ts +1 -0
- package/src/atoms/composed/StatCard/StatCard.tsx +219 -0
- package/src/atoms/composed/StatCard/index.ts +1 -0
- package/src/atoms/composed/StyleGuide.tsx +717 -0
- package/src/atoms/composed/Toast/Toast.tsx +219 -0
- package/src/atoms/composed/Toast/index.ts +1 -0
- package/src/atoms/composed/Tooltip/Tooltip.tsx +213 -0
- package/src/atoms/composed/Tooltip/index.ts +1 -0
- package/src/atoms/composed/UserAvatar/UserAvatar.tsx +139 -0
- package/src/atoms/composed/UserAvatar/index.ts +1 -0
- package/src/atoms/composed/UserMenu/UserMenu.tsx +16 -0
- package/src/atoms/composed/UserMenu/index.ts +1 -0
- package/src/atoms/composed/index.ts +29 -0
- package/src/atoms/hooks/useApi.ts +80 -0
- package/src/atoms/hooks/useHealth.ts +17 -0
- package/src/atoms/index.ts +13 -0
- package/src/atoms/services/api/client.ts +134 -0
- package/src/atoms/services/auth-service.ts +248 -0
- package/src/atoms/services/health.ts +15 -0
- package/src/atoms/services/index.ts +3 -0
- package/src/atoms/shared/config/constants.ts +17 -0
- package/src/atoms/shared/config/dashboard-sizes.ts +111 -0
- package/src/atoms/shared/config/environment.ts +10 -0
- package/src/atoms/shared/index.ts +4 -0
- package/src/atoms/shared/styles/color-palettes.css +566 -0
- package/src/atoms/types/auth.ts +62 -0
- package/src/atoms/types/generated.ts +1469 -0
- package/src/atoms/types/index.ts +4 -0
- package/src/atoms/types/loading.ts +28 -0
- package/src/atoms/ui/Badge.tsx +30 -0
- package/src/atoms/ui/ErrorBoundary.tsx +59 -0
- package/src/atoms/ui/Select.tsx +53 -0
- package/src/atoms/ui/Switch.tsx +42 -0
- package/src/atoms/ui/Tabs.tsx +118 -0
- package/src/atoms/ui/avatar.tsx +48 -0
- package/src/atoms/ui/button.tsx +70 -0
- package/src/atoms/ui/card.tsx +76 -0
- package/src/atoms/ui/dropdown-menu.tsx +199 -0
- package/src/atoms/ui/index.ts +39 -0
- package/src/atoms/ui/input.tsx +23 -0
- package/src/atoms/ui/label.tsx +23 -0
- package/src/atoms/ui/skeleton.tsx +13 -0
- package/src/atoms/ui/spinner.tsx +49 -0
- package/src/atoms/ui/table.tsx +116 -0
- package/src/atoms/utils/animations.ts +135 -0
- package/src/atoms/utils/tooltip-helpers.ts +140 -0
- package/src/atoms/utils/utils.ts +9 -0
- package/src/features/auth/components/LoginForm.tsx +168 -0
- package/src/features/auth/components/LogoutButton.tsx +19 -0
- package/src/features/auth/components/ProtectedRoute.tsx +60 -0
- package/src/features/auth/components/index.ts +4 -0
- package/src/features/auth/hooks/index.ts +2 -0
- package/src/features/auth/hooks/useAuth.tsx +205 -0
- package/src/features/auth/hooks/usePermissions.ts +35 -0
- package/src/features/auth/index.ts +2 -0
- package/src/features/index.ts +2 -0
- package/src/index.css +704 -0
- package/src/index.ts +13 -0
- package/src/main.tsx +48 -0
- package/src/molecules/.gitkeep +0 -0
- package/src/molecules/forms/FormGroup.tsx +75 -0
- package/src/molecules/forms/SearchInput.tsx +259 -0
- package/src/molecules/forms/index.ts +4 -0
- package/src/molecules/index.ts +4 -0
- package/src/molecules/layout/AppHeader/AppHeader.tsx +42 -0
- package/src/molecules/layout/AppHeader/index.ts +1 -0
- package/src/molecules/layout/AppLayout.tsx +29 -0
- package/src/molecules/layout/PageTemplate.tsx +87 -0
- package/src/molecules/layout/SectionHeader/SectionHeader.tsx +87 -0
- package/src/molecules/layout/SectionHeader/index.ts +1 -0
- package/src/molecules/layout/ShowcaseSection.tsx +57 -0
- package/src/molecules/layout/Sidebar.tsx +144 -0
- package/src/molecules/layout/SidebarButton/SidebarButton.tsx +99 -0
- package/src/molecules/layout/SidebarButton/index.ts +1 -0
- package/src/molecules/layout/SidebarContext.tsx +31 -0
- package/src/molecules/layout/index.ts +7 -0
- package/src/molecules/navigation/NavMenu.tsx +188 -0
- package/src/molecules/navigation/Pagination.tsx +172 -0
- package/src/molecules/navigation/index.ts +4 -0
- package/src/organisms/index.ts +5 -0
- package/src/organisms/showcase/ComponentShowcasePage.tsx +2496 -0
- package/src/organisms/showcase/index.ts +1 -0
- package/src/pages/AdminShowcase/AdminCRUDShowcase.tsx +242 -0
- package/src/pages/AdminShowcase/AdminDashboardShowcase.tsx +171 -0
- package/src/pages/AdminShowcase/AdminDetailShowcase.tsx +385 -0
- package/src/pages/AdminShowcase/index.tsx +3 -0
- package/src/pages/ComponentShowcase/BadgesShowcase.tsx +188 -0
- package/src/pages/ComponentShowcase/CardsShowcase.tsx +392 -0
- package/src/pages/ComponentShowcase/PalettesShowcase.tsx +207 -0
- package/src/pages/ComponentShowcase/StatesShowcase.tsx +485 -0
- package/src/pages/ComponentShowcase/TablesShowcase.tsx +134 -0
- package/src/pages/ComponentShowcase/TypographyShowcase.tsx +255 -0
- package/src/pages/ComponentShowcase/index.tsx +188 -0
- package/src/pages/index.ts +2 -0
- package/src/templates/AuthTemplate.tsx +216 -0
- package/src/templates/ComponentShowcaseTemplate.tsx +173 -0
- package/src/templates/DashboardTemplate.tsx +232 -0
- package/src/templates/DataTemplate.tsx +319 -0
- package/src/templates/admin/AdminCRUDTemplate.tsx +630 -0
- package/src/templates/admin/AdminDashboardTemplate.tsx +351 -0
- package/src/templates/admin/AdminDetailTemplate.tsx +563 -0
- package/src/templates/admin/index.ts +29 -0
- package/src/templates/factory.tsx +169 -0
- package/src/templates/index.ts +37 -0
- package/src/vite-env.d.ts +1 -0
- package/CHANGELOG.md +0 -63
- package/LICENSE +0 -19
- package/cli/cli/commands/generate-hooks.js +0 -291
- package/cli/cli/commands/init.js +0 -25
- package/cli/cli/commands/scaffold.js +0 -201
- package/cli/cli/index.js +0 -113
- package/cli/commands/generate-hooks.js +0 -288
- package/cli/commands/generate-hooks.ts +0 -316
- package/cli/commands/init.js +0 -22
- package/cli/commands/init.ts +0 -33
- package/cli/commands/scaffold.js +0 -198
- package/cli/commands/scaffold.ts +0 -224
- package/cli/index.js +0 -3210
- package/cli/index.ts +0 -122
- package/cli/src/codegen/openapi/bulk-hook-generator.js +0 -252
- package/cli/src/codegen/openapi/bulk-types.js +0 -89
- package/cli/src/codegen/openapi/client-generator.js +0 -672
- package/cli/src/codegen/openapi/confidence-scorer.js +0 -204
- package/cli/src/codegen/openapi/hook-config.js +0 -66
- package/cli/src/codegen/openapi/hook-generator.js +0 -1057
- package/cli/src/codegen/openapi/parser.js +0 -279
- package/cli/src/codegen/openapi/type-generator.js +0 -339
- package/dist/atoms/components/core/Avatar/Avatar.d.ts +0 -41
- package/dist/atoms/components/core/Avatar/Avatar.d.ts.map +0 -1
- package/dist/atoms/components/core/Avatar/index.d.ts +0 -2
- package/dist/atoms/components/core/Avatar/index.d.ts.map +0 -1
- package/dist/atoms/components/core/Badge/Badge.d.ts +0 -38
- package/dist/atoms/components/core/Badge/Badge.d.ts.map +0 -1
- package/dist/atoms/components/core/Badge/index.d.ts +0 -2
- package/dist/atoms/components/core/Badge/index.d.ts.map +0 -1
- package/dist/atoms/components/core/Button/Button.d.ts +0 -28
- package/dist/atoms/components/core/Button/Button.d.ts.map +0 -1
- package/dist/atoms/components/core/Button/index.d.ts +0 -3
- package/dist/atoms/components/core/Button/index.d.ts.map +0 -1
- package/dist/atoms/components/core/Card/Card.d.ts +0 -41
- package/dist/atoms/components/core/Card/Card.d.ts.map +0 -1
- package/dist/atoms/components/core/Card/index.d.ts +0 -3
- package/dist/atoms/components/core/Card/index.d.ts.map +0 -1
- package/dist/atoms/components/core/Checkbox/Checkbox.d.ts +0 -28
- package/dist/atoms/components/core/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/atoms/components/core/Checkbox/index.d.ts +0 -3
- package/dist/atoms/components/core/Checkbox/index.d.ts.map +0 -1
- package/dist/atoms/components/core/Input/Input.d.ts +0 -37
- package/dist/atoms/components/core/Input/Input.d.ts.map +0 -1
- package/dist/atoms/components/core/Input/index.d.ts +0 -3
- package/dist/atoms/components/core/Input/index.d.ts.map +0 -1
- package/dist/atoms/components/core/Label/Label.d.ts +0 -23
- package/dist/atoms/components/core/Label/Label.d.ts.map +0 -1
- package/dist/atoms/components/core/Label/index.d.ts +0 -3
- package/dist/atoms/components/core/Label/index.d.ts.map +0 -1
- package/dist/atoms/components/core/Select/Select.d.ts +0 -42
- package/dist/atoms/components/core/Select/Select.d.ts.map +0 -1
- package/dist/atoms/components/core/Select/index.d.ts +0 -3
- package/dist/atoms/components/core/Select/index.d.ts.map +0 -1
- package/dist/atoms/components/core/Spinner/Spinner.d.ts +0 -25
- package/dist/atoms/components/core/Spinner/Spinner.d.ts.map +0 -1
- package/dist/atoms/components/core/Spinner/index.d.ts +0 -3
- package/dist/atoms/components/core/Spinner/index.d.ts.map +0 -1
- package/dist/atoms/components/core/Switch/Switch.d.ts +0 -35
- package/dist/atoms/components/core/Switch/Switch.d.ts.map +0 -1
- package/dist/atoms/components/core/Switch/index.d.ts +0 -2
- package/dist/atoms/components/core/Switch/index.d.ts.map +0 -1
- package/dist/atoms/components/core/index.d.ts +0 -11
- package/dist/atoms/components/core/index.d.ts.map +0 -1
- package/dist/atoms/components/data/ActivityFeed/ActivityFeed.d.ts +0 -4
- package/dist/atoms/components/data/ActivityFeed/ActivityFeed.d.ts.map +0 -1
- package/dist/atoms/components/data/ActivityFeed/ActivityFeed.stories.d.ts +0 -38
- package/dist/atoms/components/data/ActivityFeed/ActivityFeed.stories.d.ts.map +0 -1
- package/dist/atoms/components/data/ActivityFeed/ActivityFeedItem.d.ts +0 -9
- package/dist/atoms/components/data/ActivityFeed/ActivityFeedItem.d.ts.map +0 -1
- package/dist/atoms/components/data/ActivityFeed/index.d.ts +0 -4
- package/dist/atoms/components/data/ActivityFeed/index.d.ts.map +0 -1
- package/dist/atoms/components/data/ActivityFeed/types.d.ts +0 -26
- package/dist/atoms/components/data/ActivityFeed/types.d.ts.map +0 -1
- package/dist/atoms/components/data/ActivityFeed/utils.d.ts +0 -5
- package/dist/atoms/components/data/ActivityFeed/utils.d.ts.map +0 -1
- package/dist/atoms/components/data/Chart/Chart.d.ts.map +0 -1
- package/dist/atoms/components/data/Chart/index.d.ts.map +0 -1
- package/dist/atoms/components/data/DataBadge/DataBadge.d.ts +0 -18
- package/dist/atoms/components/data/DataBadge/DataBadge.d.ts.map +0 -1
- package/dist/atoms/components/data/DataBadge/index.d.ts.map +0 -1
- package/dist/atoms/components/data/DataTable/DataTable.d.ts +0 -5
- package/dist/atoms/components/data/DataTable/DataTable.d.ts.map +0 -1
- package/dist/atoms/components/data/DataTable/DataTable.types.d.ts +0 -51
- package/dist/atoms/components/data/DataTable/DataTable.types.d.ts.map +0 -1
- package/dist/atoms/components/data/DataTable/TableCellWithTooltip.d.ts.map +0 -1
- package/dist/atoms/components/data/DataTable/index.d.ts.map +0 -1
- package/dist/atoms/components/data/DetailedCard/DetailedCard.d.ts.map +0 -1
- package/dist/atoms/components/data/DetailedCard/index.d.ts.map +0 -1
- package/dist/atoms/components/data/EntityIcon/EntityIcon.d.ts +0 -24
- package/dist/atoms/components/data/EntityIcon/EntityIcon.d.ts.map +0 -1
- package/dist/atoms/components/data/EntityIcon/index.d.ts +0 -2
- package/dist/atoms/components/data/EntityIcon/index.d.ts.map +0 -1
- package/dist/atoms/components/data/IconBadge/IconBadge.d.ts.map +0 -1
- package/dist/atoms/components/data/IconBadge/index.d.ts.map +0 -1
- package/dist/atoms/components/data/ListCard/ListCard.d.ts +0 -32
- package/dist/atoms/components/data/ListCard/ListCard.d.ts.map +0 -1
- package/dist/atoms/components/data/ListCard/index.d.ts +0 -2
- package/dist/atoms/components/data/ListCard/index.d.ts.map +0 -1
- package/dist/atoms/components/data/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/dist/atoms/components/data/ProgressBar/index.d.ts.map +0 -1
- package/dist/atoms/components/data/StatCard/StatCard.d.ts.map +0 -1
- package/dist/atoms/components/data/StatCard/index.d.ts.map +0 -1
- package/dist/atoms/components/data/Table/Table.d.ts +0 -41
- package/dist/atoms/components/data/Table/Table.d.ts.map +0 -1
- package/dist/atoms/components/data/Table/index.d.ts +0 -2
- package/dist/atoms/components/data/Table/index.d.ts.map +0 -1
- package/dist/atoms/components/data/TruncatedText/TruncatedText.d.ts +0 -26
- package/dist/atoms/components/data/TruncatedText/TruncatedText.d.ts.map +0 -1
- package/dist/atoms/components/data/TruncatedText/index.d.ts +0 -2
- package/dist/atoms/components/data/TruncatedText/index.d.ts.map +0 -1
- package/dist/atoms/components/data/index.d.ts +0 -13
- package/dist/atoms/components/data/index.d.ts.map +0 -1
- package/dist/atoms/components/domain/SalesPanel/SalesPanel.d.ts +0 -19
- package/dist/atoms/components/domain/SalesPanel/SalesPanel.d.ts.map +0 -1
- package/dist/atoms/components/domain/SalesPanel/index.d.ts +0 -2
- package/dist/atoms/components/domain/SalesPanel/index.d.ts.map +0 -1
- package/dist/atoms/components/domain/SalesPanel/mockSalesData.d.ts +0 -63
- package/dist/atoms/components/domain/SalesPanel/mockSalesData.d.ts.map +0 -1
- package/dist/atoms/components/domain/index.d.ts +0 -2
- package/dist/atoms/components/domain/index.d.ts.map +0 -1
- package/dist/atoms/components/feedback/Alert/Alert.d.ts.map +0 -1
- package/dist/atoms/components/feedback/Alert/index.d.ts.map +0 -1
- package/dist/atoms/components/feedback/EmptyState/EmptyState.d.ts.map +0 -1
- package/dist/atoms/components/feedback/EmptyState/index.d.ts.map +0 -1
- package/dist/atoms/components/feedback/ErrorBoundary/ErrorBoundary.d.ts +0 -61
- package/dist/atoms/components/feedback/ErrorBoundary/ErrorBoundary.d.ts.map +0 -1
- package/dist/atoms/components/feedback/ErrorBoundary/index.d.ts +0 -2
- package/dist/atoms/components/feedback/ErrorBoundary/index.d.ts.map +0 -1
- package/dist/atoms/components/feedback/Skeleton/Skeleton.d.ts +0 -41
- package/dist/atoms/components/feedback/Skeleton/Skeleton.d.ts.map +0 -1
- package/dist/atoms/components/feedback/Skeleton/index.d.ts +0 -2
- package/dist/atoms/components/feedback/Skeleton/index.d.ts.map +0 -1
- package/dist/atoms/components/feedback/Toast/Toast.d.ts.map +0 -1
- package/dist/atoms/components/feedback/Toast/index.d.ts.map +0 -1
- package/dist/atoms/components/feedback/index.d.ts +0 -6
- package/dist/atoms/components/feedback/index.d.ts.map +0 -1
- package/dist/atoms/components/forms/DateTimePicker/DateTimePicker.d.ts.map +0 -1
- package/dist/atoms/components/forms/DateTimePicker/index.d.ts.map +0 -1
- package/dist/atoms/components/forms/FileUpload/FileUpload.d.ts.map +0 -1
- package/dist/atoms/components/forms/FileUpload/index.d.ts.map +0 -1
- package/dist/atoms/components/forms/FormField/FormField.d.ts.map +0 -1
- package/dist/atoms/components/forms/FormField/index.d.ts.map +0 -1
- package/dist/atoms/components/forms/index.d.ts +0 -4
- package/dist/atoms/components/forms/index.d.ts.map +0 -1
- package/dist/atoms/components/index.d.ts +0 -10
- package/dist/atoms/components/index.d.ts.map +0 -1
- package/dist/atoms/components/layout/Accordion/Accordion.d.ts.map +0 -1
- package/dist/atoms/components/layout/Accordion/index.d.ts.map +0 -1
- package/dist/atoms/components/layout/Breadcrumb/Breadcrumb.d.ts.map +0 -1
- package/dist/atoms/components/layout/Breadcrumb/index.d.ts.map +0 -1
- package/dist/atoms/components/layout/Dialog/index.d.ts +0 -3
- package/dist/atoms/components/layout/Dialog/index.d.ts.map +0 -1
- package/dist/atoms/components/layout/Dropdown/Dropdown.d.ts +0 -40
- package/dist/atoms/components/layout/Dropdown/Dropdown.d.ts.map +0 -1
- package/dist/atoms/components/layout/Dropdown/index.d.ts +0 -3
- package/dist/atoms/components/layout/Dropdown/index.d.ts.map +0 -1
- package/dist/atoms/components/layout/Modal/Modal.d.ts.map +0 -1
- package/dist/atoms/components/layout/Modal/index.d.ts.map +0 -1
- package/dist/atoms/components/layout/Tabs/index.d.ts +0 -2
- package/dist/atoms/components/layout/Tabs/index.d.ts.map +0 -1
- package/dist/atoms/components/layout/Tooltip/Tooltip.d.ts.map +0 -1
- package/dist/atoms/components/layout/Tooltip/index.d.ts +0 -2
- package/dist/atoms/components/layout/Tooltip/index.d.ts.map +0 -1
- package/dist/atoms/components/layout/index.d.ts +0 -8
- package/dist/atoms/components/layout/index.d.ts.map +0 -1
- package/dist/atoms/components/navigation/GlobalSearch/GlobalSearch.d.ts.map +0 -1
- package/dist/atoms/components/navigation/GlobalSearch/index.d.ts.map +0 -1
- package/dist/atoms/components/navigation/index.d.ts +0 -2
- package/dist/atoms/components/navigation/index.d.ts.map +0 -1
- package/dist/atoms/components/theme/ColorSwatch/ColorSwatch.d.ts.map +0 -1
- package/dist/atoms/components/theme/ColorSwatch/index.d.ts.map +0 -1
- package/dist/atoms/components/theme/DarkModeToggle.d.ts.map +0 -1
- package/dist/atoms/components/theme/PaletteSwitcher.d.ts.map +0 -1
- package/dist/atoms/components/theme/StyleGuide.d.ts.map +0 -1
- package/dist/atoms/components/theme/index.d.ts +0 -5
- package/dist/atoms/components/theme/index.d.ts.map +0 -1
- package/dist/atoms/components/user/UserAvatar/UserAvatar.d.ts.map +0 -1
- package/dist/atoms/components/user/UserAvatar/index.d.ts.map +0 -1
- package/dist/atoms/components/user/UserMenu/UserMenu.d.ts.map +0 -1
- package/dist/atoms/components/user/UserMenu/index.d.ts.map +0 -1
- package/dist/atoms/components/user/index.d.ts +0 -3
- package/dist/atoms/components/user/index.d.ts.map +0 -1
- package/dist/atoms/config/responsive.d.ts +0 -147
- package/dist/atoms/config/responsive.d.ts.map +0 -1
- package/dist/atoms/hooks/index.d.ts +0 -5
- package/dist/atoms/hooks/index.d.ts.map +0 -1
- package/dist/atoms/hooks/use-toast.d.ts +0 -16
- package/dist/atoms/hooks/use-toast.d.ts.map +0 -1
- package/dist/atoms/hooks/useResponsive.d.ts +0 -42
- package/dist/atoms/hooks/useResponsive.d.ts.map +0 -1
- package/dist/atoms/primitives/Badge.d.ts.map +0 -1
- package/dist/atoms/primitives/ErrorBoundary.d.ts.map +0 -1
- package/dist/atoms/primitives/Select.d.ts.map +0 -1
- package/dist/atoms/primitives/Switch.d.ts.map +0 -1
- package/dist/atoms/primitives/Tabs.d.ts.map +0 -1
- package/dist/atoms/primitives/avatar.d.ts.map +0 -1
- package/dist/atoms/primitives/button.d.ts.map +0 -1
- package/dist/atoms/primitives/card.d.ts.map +0 -1
- package/dist/atoms/primitives/checkbox.d.ts +0 -12
- package/dist/atoms/primitives/checkbox.d.ts.map +0 -1
- package/dist/atoms/primitives/dialog.d.ts +0 -34
- package/dist/atoms/primitives/dialog.d.ts.map +0 -1
- package/dist/atoms/primitives/dropdown-menu.d.ts.map +0 -1
- package/dist/atoms/primitives/index.d.ts.map +0 -1
- package/dist/atoms/primitives/input.d.ts.map +0 -1
- package/dist/atoms/primitives/label.d.ts.map +0 -1
- package/dist/atoms/primitives/skeleton.d.ts.map +0 -1
- package/dist/atoms/primitives/spinner.d.ts.map +0 -1
- package/dist/atoms/primitives/table.d.ts.map +0 -1
- package/dist/atoms/types/entity-config.d.ts +0 -117
- package/dist/atoms/types/entity-config.d.ts.map +0 -1
- package/dist/atoms/types/navigation.d.ts +0 -30
- package/dist/atoms/types/navigation.d.ts.map +0 -1
- package/dist/atoms/types/ui-config.d.ts +0 -50
- package/dist/atoms/types/ui-config.d.ts.map +0 -1
- package/dist/atoms/utils/color-manager.d.ts +0 -68
- package/dist/atoms/utils/color-manager.d.ts.map +0 -1
- package/dist/atoms/utils/debounce.d.ts +0 -6
- package/dist/atoms/utils/debounce.d.ts.map +0 -1
- package/dist/atoms/utils/field-detection.d.ts +0 -15
- package/dist/atoms/utils/field-detection.d.ts.map +0 -1
- package/dist/atoms/utils/icon-resolver.d.ts +0 -76
- package/dist/atoms/utils/icon-resolver.d.ts.map +0 -1
- package/dist/atoms/utils/index.d.ts +0 -5
- package/dist/atoms/utils/index.d.ts.map +0 -1
- package/dist/atoms/utils/metric-engine.d.ts +0 -30
- package/dist/atoms/utils/metric-engine.d.ts.map +0 -1
- package/dist/atoms/utils/ui-mapping.d.ts +0 -17
- package/dist/atoms/utils/ui-mapping.d.ts.map +0 -1
- package/dist/codegen/index.d.ts +0 -7
- package/dist/codegen/index.d.ts.map +0 -1
- package/dist/codegen/openapi/bulk-hook-generator.d.ts +0 -40
- package/dist/codegen/openapi/bulk-hook-generator.d.ts.map +0 -1
- package/dist/codegen/openapi/bulk-types.d.ts +0 -142
- package/dist/codegen/openapi/bulk-types.d.ts.map +0 -1
- package/dist/codegen/openapi/client-generator.d.ts +0 -52
- package/dist/codegen/openapi/client-generator.d.ts.map +0 -1
- package/dist/codegen/openapi/confidence-scorer.d.ts +0 -30
- package/dist/codegen/openapi/confidence-scorer.d.ts.map +0 -1
- package/dist/codegen/openapi/hook-config.d.ts +0 -50
- package/dist/codegen/openapi/hook-config.d.ts.map +0 -1
- package/dist/codegen/openapi/hook-generator.d.ts +0 -108
- package/dist/codegen/openapi/hook-generator.d.ts.map +0 -1
- package/dist/codegen/openapi/index.d.ts +0 -27
- package/dist/codegen/openapi/index.d.ts.map +0 -1
- package/dist/codegen/openapi/parser.d.ts +0 -107
- package/dist/codegen/openapi/parser.d.ts.map +0 -1
- package/dist/codegen/openapi/type-generator.d.ts +0 -53
- package/dist/codegen/openapi/type-generator.d.ts.map +0 -1
- package/dist/features/auth/hooks/useAuthContext.d.ts +0 -7
- package/dist/features/auth/hooks/useAuthContext.d.ts.map +0 -1
- package/dist/features/auth/providers/MockAuthProvider.d.ts +0 -9
- package/dist/features/auth/providers/MockAuthProvider.d.ts.map +0 -1
- package/dist/features/auth/providers/index.d.ts +0 -2
- package/dist/features/auth/providers/index.d.ts.map +0 -1
- package/dist/features/auth/services/mock-auth-service.d.ts +0 -17
- package/dist/features/auth/services/mock-auth-service.d.ts.map +0 -1
- package/dist/generated/client/client.d.ts +0 -23
- package/dist/generated/client/client.d.ts.map +0 -1
- package/dist/generated/client/config.d.ts +0 -10
- package/dist/generated/client/config.d.ts.map +0 -1
- package/dist/generated/client/index.d.ts +0 -12
- package/dist/generated/client/index.d.ts.map +0 -1
- package/dist/generated/client/methods.d.ts +0 -591
- package/dist/generated/client/methods.d.ts.map +0 -1
- package/dist/generated/client/types.d.ts +0 -37
- package/dist/generated/client/types.d.ts.map +0 -1
- package/dist/generated/example.d.ts +0 -8
- package/dist/generated/example.d.ts.map +0 -1
- package/dist/generated/hooks/index.d.ts +0 -11
- package/dist/generated/hooks/index.d.ts.map +0 -1
- package/dist/generated/hooks/keys.d.ts +0 -59
- package/dist/generated/hooks/keys.d.ts.map +0 -1
- package/dist/generated/hooks/mutations.d.ts +0 -551
- package/dist/generated/hooks/mutations.d.ts.map +0 -1
- package/dist/generated/hooks/queries.d.ts +0 -426
- package/dist/generated/hooks/queries.d.ts.map +0 -1
- package/dist/generated/hooks/types.d.ts +0 -318
- package/dist/generated/hooks/types.d.ts.map +0 -1
- package/dist/generated/index.d.ts +0 -13
- package/dist/generated/index.d.ts.map +0 -1
- package/dist/generated/types/endpoints.d.ts +0 -1364
- package/dist/generated/types/endpoints.d.ts.map +0 -1
- package/dist/generated/types/index.d.ts +0 -11
- package/dist/generated/types/index.d.ts.map +0 -1
- package/dist/generated/types/parameters.d.ts +0 -8
- package/dist/generated/types/parameters.d.ts.map +0 -1
- package/dist/generated/types/responses.d.ts +0 -8
- package/dist/generated/types/responses.d.ts.map +0 -1
- package/dist/generated/types/schemas.d.ts +0 -652
- package/dist/generated/types/schemas.d.ts.map +0 -1
- package/dist/molecules/feedback/index.d.ts +0 -2
- package/dist/molecules/feedback/index.d.ts.map +0 -1
- package/dist/molecules/layout/BulkSelectionBar.d.ts +0 -15
- package/dist/molecules/layout/BulkSelectionBar.d.ts.map +0 -1
- package/dist/molecules/layout/DashboardWithSidePanel/DashboardWithSidePanel.d.ts +0 -16
- package/dist/molecules/layout/DashboardWithSidePanel/DashboardWithSidePanel.d.ts.map +0 -1
- package/dist/molecules/layout/DashboardWithSidePanel/index.d.ts +0 -2
- package/dist/molecules/layout/DashboardWithSidePanel/index.d.ts.map +0 -1
- package/dist/molecules/layout/NavigationContext.d.ts +0 -15
- package/dist/molecules/layout/NavigationContext.d.ts.map +0 -1
- package/dist/templates/EnhancedDataTemplate.d.ts +0 -188
- package/dist/templates/EnhancedDataTemplate.d.ts.map +0 -1
- package/dist/templates/EnhancedDataTemplate.hooks.bulk.d.ts +0 -18
- package/dist/templates/EnhancedDataTemplate.hooks.bulk.d.ts.map +0 -1
- package/dist/templates/EnhancedDataTemplate.hooks.d.ts +0 -22
- package/dist/templates/EnhancedDataTemplate.hooks.d.ts.map +0 -1
- package/dist/templates/api/APIDataTemplate.d.ts +0 -66
- package/dist/templates/api/APIDataTemplate.d.ts.map +0 -1
- package/dist/templates/api/index.d.ts +0 -8
- package/dist/templates/api/index.d.ts.map +0 -1
- /package/dist/atoms/{components/layout → composed}/Accordion/Accordion.d.ts +0 -0
- /package/dist/atoms/{components/layout → composed}/Accordion/index.d.ts +0 -0
- /package/dist/atoms/{components/feedback → composed}/Alert/Alert.d.ts +0 -0
- /package/dist/atoms/{components/feedback → composed}/Alert/index.d.ts +0 -0
- /package/dist/atoms/{components/layout → composed}/Breadcrumb/Breadcrumb.d.ts +0 -0
- /package/dist/atoms/{components/layout → composed}/Breadcrumb/index.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/Chart/index.d.ts +0 -0
- /package/dist/atoms/{components/theme → composed}/ColorSwatch/ColorSwatch.d.ts +0 -0
- /package/dist/atoms/{components/theme → composed}/ColorSwatch/index.d.ts +0 -0
- /package/dist/atoms/{components/theme → composed}/DarkModeToggle.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/DataBadge/index.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/DataTable/TableCellWithTooltip.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/DataTable/index.d.ts +0 -0
- /package/dist/atoms/{components/forms → composed}/DateTimePicker/DateTimePicker.d.ts +0 -0
- /package/dist/atoms/{components/forms → composed}/DateTimePicker/index.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/DetailedCard/DetailedCard.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/DetailedCard/index.d.ts +0 -0
- /package/dist/atoms/{components/feedback → composed}/EmptyState/EmptyState.d.ts +0 -0
- /package/dist/atoms/{components/feedback → composed}/EmptyState/index.d.ts +0 -0
- /package/dist/atoms/{components/forms → composed}/FileUpload/FileUpload.d.ts +0 -0
- /package/dist/atoms/{components/forms → composed}/FileUpload/index.d.ts +0 -0
- /package/dist/atoms/{components/forms → composed}/FormField/FormField.d.ts +0 -0
- /package/dist/atoms/{components/forms → composed}/FormField/index.d.ts +0 -0
- /package/dist/atoms/{components/navigation → composed}/GlobalSearch/GlobalSearch.d.ts +0 -0
- /package/dist/atoms/{components/navigation → composed}/GlobalSearch/index.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/IconBadge/index.d.ts +0 -0
- /package/dist/atoms/{components/layout → composed}/Modal/Modal.d.ts +0 -0
- /package/dist/atoms/{components/layout → composed}/Modal/index.d.ts +0 -0
- /package/dist/atoms/{components/theme → composed}/PaletteSwitcher.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/ProgressBar/ProgressBar.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/ProgressBar/index.d.ts +0 -0
- /package/dist/atoms/{components/data → composed}/StatCard/index.d.ts +0 -0
- /package/dist/atoms/{components/theme → composed}/StyleGuide.d.ts +0 -0
- /package/dist/atoms/{components/feedback → composed}/Toast/Toast.d.ts +0 -0
- /package/dist/atoms/{components/feedback → composed}/Toast/index.d.ts +0 -0
- /package/dist/atoms/{components/layout → composed}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/atoms/{components/user → composed}/UserAvatar/UserAvatar.d.ts +0 -0
- /package/dist/atoms/{components/user → composed}/UserAvatar/index.d.ts +0 -0
- /package/dist/atoms/{components/user → composed}/UserMenu/UserMenu.d.ts +0 -0
- /package/dist/atoms/{components/user → composed}/UserMenu/index.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/Badge.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/ErrorBoundary.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/Select.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/Switch.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/Tabs.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/avatar.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/card.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/dropdown-menu.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/input.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/label.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/skeleton.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/spinner.d.ts +0 -0
- /package/dist/atoms/{primitives → ui}/table.d.ts +0 -0
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API Client Types
|
|
3
|
-
*
|
|
4
|
-
* Configuration and utility types for the generated API client
|
|
5
|
-
*/
|
|
6
|
-
export interface APIClientConfig {
|
|
7
|
-
baseUrl: string;
|
|
8
|
-
timeout?: number;
|
|
9
|
-
defaultHeaders?: Record<string, string>;
|
|
10
|
-
retries?: number;
|
|
11
|
-
getAuthToken?: () => Promise<string | null> | string | null;
|
|
12
|
-
onRequest?: (config: any) => any;
|
|
13
|
-
onRequestError?: (error: any) => void;
|
|
14
|
-
onResponse?: (response: any) => any;
|
|
15
|
-
onResponseError?: (error: any) => Promise<any> | any;
|
|
16
|
-
onError?: (error: APIError) => void;
|
|
17
|
-
}
|
|
18
|
-
export interface RequestOptions {
|
|
19
|
-
params?: Record<string, any>;
|
|
20
|
-
data?: any;
|
|
21
|
-
headers?: Record<string, string>;
|
|
22
|
-
config?: any;
|
|
23
|
-
signal?: AbortSignal;
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
}
|
|
26
|
-
export interface APIError {
|
|
27
|
-
message: string;
|
|
28
|
-
status?: number;
|
|
29
|
-
statusText?: string;
|
|
30
|
-
data?: any;
|
|
31
|
-
config: {
|
|
32
|
-
url?: string;
|
|
33
|
-
method?: string;
|
|
34
|
-
headers?: any;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/generated/client/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,MAAM,GAAG,IAAI,CAAA;IAC3D,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,GAAG,CAAA;IAChC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IACrC,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAA;IACnC,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,CAAA;IACpD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAA;CACpC;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC5B,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,MAAM,EAAE;QACN,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,OAAO,CAAC,EAAE,GAAG,CAAA;KACd,CAAA;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../src/generated/example.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AA4BH,iBAAS,GAAG,4CAMX;AAqFD,eAAe,GAAG,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated React Hooks
|
|
3
|
-
*
|
|
4
|
-
* Auto-generated React hooks from OpenAPI specification
|
|
5
|
-
* Do not edit manually - regenerate using the hook generator
|
|
6
|
-
*/
|
|
7
|
-
export * from './queries';
|
|
8
|
-
export * from './mutations';
|
|
9
|
-
export { queryKeys } from './keys';
|
|
10
|
-
export * from './types';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/hooks/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,cAAc,WAAW,CAAA;AAGzB,cAAc,aAAa,CAAA;AAG3B,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAGlC,cAAc,SAAS,CAAA"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Query Keys
|
|
3
|
-
*
|
|
4
|
-
* Auto-generated React hooks from OpenAPI specification
|
|
5
|
-
* Do not edit manually - regenerate using the hook generator
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Centralized query key factory
|
|
9
|
-
* Ensures consistent cache key generation across the application
|
|
10
|
-
*/
|
|
11
|
-
export declare const queryKeys: {
|
|
12
|
-
all: readonly ["api"];
|
|
13
|
-
Health: () => readonly ["api", "Health"];
|
|
14
|
-
healthStatus: () => readonly ["api", "Health", "healthStatus"];
|
|
15
|
-
Authentication: () => readonly ["api", "Authentication"];
|
|
16
|
-
authHealths: () => readonly ["api", "Authentication", "authHealths"];
|
|
17
|
-
currentUserInfo: () => readonly ["api", "Authentication", "currentUserInfo"];
|
|
18
|
-
Users: () => readonly ["api", "Users"];
|
|
19
|
-
users: () => readonly ["api", "Users", "users"];
|
|
20
|
-
user: (params: any) => readonly ["api", "Users", "user", any];
|
|
21
|
-
userPermissions: (params: any) => readonly ["api", "Users", "userPermissions", any];
|
|
22
|
-
Accounts: () => readonly ["api", "Accounts"];
|
|
23
|
-
accounts: () => readonly ["api", "Accounts", "accounts"];
|
|
24
|
-
account: (params: any) => readonly ["api", "Accounts", "account", any];
|
|
25
|
-
accountStats: (params: any) => readonly ["api", "Accounts", "accountStats", any];
|
|
26
|
-
Categories: () => readonly ["api", "Categories"];
|
|
27
|
-
categories: () => readonly ["api", "Categories", "categories"];
|
|
28
|
-
category: (params: any) => readonly ["api", "Categories", "category", any];
|
|
29
|
-
categoryWithSubcategories: (params: any) => readonly ["api", "Categories", "categoryWithSubcategories", any];
|
|
30
|
-
categorySubcategoriesList: (params: any) => readonly ["api", "Categories", "categorySubcategoriesList", any];
|
|
31
|
-
categorySubcategories: (params: any) => readonly ["api", "Categories", "categorySubcategories", any];
|
|
32
|
-
Transactions: () => readonly ["api", "Transactions"];
|
|
33
|
-
transactions: () => readonly ["api", "Transactions", "transactions"];
|
|
34
|
-
transaction: (params: any) => readonly ["api", "Transactions", "transaction", any];
|
|
35
|
-
transactionNeedingSettlements: () => readonly ["api", "Transactions", "transactionNeedingSettlements"];
|
|
36
|
-
transactionAnalytics: () => readonly ["api", "Transactions", "transactionAnalytics"];
|
|
37
|
-
transactionStats: () => readonly ["api", "Transactions", "transactionStats"];
|
|
38
|
-
Budgets: () => readonly ["api", "Budgets"];
|
|
39
|
-
budgets: () => readonly ["api", "Budgets", "budgets"];
|
|
40
|
-
budget: (params: any) => readonly ["api", "Budgets", "budget", any];
|
|
41
|
-
budgetPerformance: (params: any) => readonly ["api", "Budgets", "budgetPerformance", any];
|
|
42
|
-
budgetAnalytics: () => readonly ["api", "Budgets", "budgetAnalytics"];
|
|
43
|
-
budgetSummaries: () => readonly ["api", "Budgets", "budgetSummaries"];
|
|
44
|
-
budgetComparisons: (params: any) => readonly ["api", "Budgets", "budgetComparisons", any];
|
|
45
|
-
budgetAlerts: () => readonly ["api", "Budgets", "budgetAlerts"];
|
|
46
|
-
Settlements: () => readonly ["api", "Settlements"];
|
|
47
|
-
settlements: () => readonly ["api", "Settlements", "settlements"];
|
|
48
|
-
settlement: (params: any) => readonly ["api", "Settlements", "settlement", any];
|
|
49
|
-
settlementUsers: (params: any) => readonly ["api", "Settlements", "settlementUsers", any];
|
|
50
|
-
settlementSuggestions: () => readonly ["api", "Settlements", "settlementSuggestions"];
|
|
51
|
-
settlementStats: () => readonly ["api", "Settlements", "settlementStats"];
|
|
52
|
-
Households: () => readonly ["api", "Households"];
|
|
53
|
-
households: () => readonly ["api", "Households", "households"];
|
|
54
|
-
household: (params: any) => readonly ["api", "Households", "household", any];
|
|
55
|
-
householdMembers: (params: any) => readonly ["api", "Households", "householdMembers", any];
|
|
56
|
-
householdStats: (params: any) => readonly ["api", "Households", "householdStats", any];
|
|
57
|
-
householdMyHouseholds: () => readonly ["api", "Households", "householdMyHouseholds"];
|
|
58
|
-
};
|
|
59
|
-
//# sourceMappingURL=keys.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../src/generated/hooks/keys.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH,eAAO,MAAM,SAAS;;;;;;;;;mBAeL,GAAG;8BACQ,GAAG;;;sBAKX,GAAG;2BACE,GAAG;;;uBAKP,GAAG;wCACc,GAAG;wCACH,GAAG;oCACP,GAAG;;;0BAKb,GAAG;;;;;;qBAQR,GAAG;gCACQ,GAAG;;;gCAGH,GAAG;;;;yBAMV,GAAG;8BACE,GAAG;;;;;wBAOT,GAAG;+BACI,GAAG;6BACL,GAAG;;CAG7B,CAAA"}
|
|
@@ -1,551 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mutation Hooks
|
|
3
|
-
*
|
|
4
|
-
* Auto-generated React hooks from OpenAPI specification
|
|
5
|
-
* Do not edit manually - regenerate using the hook generator
|
|
6
|
-
*/
|
|
7
|
-
import { type UseMutationOptions } from '@tanstack/react-query';
|
|
8
|
-
/**
|
|
9
|
-
* Login
|
|
10
|
-
* User login endpoint.
|
|
11
|
-
|
|
12
|
-
Authenticate with username/email and password to receive access token.
|
|
13
|
-
*/
|
|
14
|
-
export declare function useLogin(options?: UseMutationOptions<any, any, {
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
}, unknown>;
|
|
19
|
-
/**
|
|
20
|
-
* Logout
|
|
21
|
-
* User logout endpoint.
|
|
22
|
-
|
|
23
|
-
Logout the current user (client-side token invalidation).
|
|
24
|
-
*/
|
|
25
|
-
export declare function useLogout(options?: UseMutationOptions<any, any, {
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
}, unknown>;
|
|
30
|
-
/**
|
|
31
|
-
* Create User
|
|
32
|
-
* Create a new user.
|
|
33
|
-
|
|
34
|
-
Requires admin privileges.
|
|
35
|
-
*/
|
|
36
|
-
export declare function useCreateUser(options?: UseMutationOptions<any, any, {
|
|
37
|
-
[key: string]: any;
|
|
38
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
39
|
-
[key: string]: any;
|
|
40
|
-
}, unknown>;
|
|
41
|
-
/**
|
|
42
|
-
* Update User
|
|
43
|
-
* Update user information.
|
|
44
|
-
|
|
45
|
-
Requires admin privileges.
|
|
46
|
-
*/
|
|
47
|
-
export declare function useUpdateUser(options?: UseMutationOptions<any, any, {
|
|
48
|
-
pathParams: {
|
|
49
|
-
user_id: string;
|
|
50
|
-
};
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
53
|
-
[key: string]: any;
|
|
54
|
-
pathParams: {
|
|
55
|
-
user_id: string;
|
|
56
|
-
};
|
|
57
|
-
}, unknown>;
|
|
58
|
-
/**
|
|
59
|
-
* Delete User
|
|
60
|
-
* Delete a user.
|
|
61
|
-
|
|
62
|
-
Requires admin privileges. Cannot delete your own account.
|
|
63
|
-
*/
|
|
64
|
-
export declare function useDeleteUser(options?: UseMutationOptions<any, any, {
|
|
65
|
-
pathParams: {
|
|
66
|
-
user_id: string;
|
|
67
|
-
};
|
|
68
|
-
[key: string]: any;
|
|
69
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
70
|
-
[key: string]: any;
|
|
71
|
-
pathParams: {
|
|
72
|
-
user_id: string;
|
|
73
|
-
};
|
|
74
|
-
}, unknown>;
|
|
75
|
-
/**
|
|
76
|
-
* Assign Roles
|
|
77
|
-
* Assign roles to a user.
|
|
78
|
-
|
|
79
|
-
Requires admin privileges.
|
|
80
|
-
*/
|
|
81
|
-
export declare function useAssignUserRoles(options?: UseMutationOptions<any, any, {
|
|
82
|
-
pathParams: {
|
|
83
|
-
user_id: string;
|
|
84
|
-
};
|
|
85
|
-
[key: string]: any;
|
|
86
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
87
|
-
[key: string]: any;
|
|
88
|
-
pathParams: {
|
|
89
|
-
user_id: string;
|
|
90
|
-
};
|
|
91
|
-
}, unknown>;
|
|
92
|
-
/**
|
|
93
|
-
* Create Account
|
|
94
|
-
* Create a new account.
|
|
95
|
-
|
|
96
|
-
Users can create accounts in their household.
|
|
97
|
-
Account visibility will be set based on the visibility_scope field.
|
|
98
|
-
*/
|
|
99
|
-
export declare function useCreateAccount(options?: UseMutationOptions<any, any, {
|
|
100
|
-
[key: string]: any;
|
|
101
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
102
|
-
[key: string]: any;
|
|
103
|
-
}, unknown>;
|
|
104
|
-
/**
|
|
105
|
-
* Update Account
|
|
106
|
-
* Update account information.
|
|
107
|
-
|
|
108
|
-
Users can only update accounts they own or have household admin privileges.
|
|
109
|
-
*/
|
|
110
|
-
export declare function useUpdateAccount(options?: UseMutationOptions<any, any, {
|
|
111
|
-
pathParams: {
|
|
112
|
-
account_id: string;
|
|
113
|
-
};
|
|
114
|
-
[key: string]: any;
|
|
115
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
116
|
-
[key: string]: any;
|
|
117
|
-
pathParams: {
|
|
118
|
-
account_id: string;
|
|
119
|
-
};
|
|
120
|
-
}, unknown>;
|
|
121
|
-
/**
|
|
122
|
-
* Delete Account
|
|
123
|
-
* Delete an account.
|
|
124
|
-
|
|
125
|
-
Users can only delete accounts they own or have household admin privileges.
|
|
126
|
-
Cannot delete accounts with associated transactions.
|
|
127
|
-
*/
|
|
128
|
-
export declare function useDeleteAccount(options?: UseMutationOptions<any, any, {
|
|
129
|
-
pathParams: {
|
|
130
|
-
account_id: string;
|
|
131
|
-
};
|
|
132
|
-
[key: string]: any;
|
|
133
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
134
|
-
[key: string]: any;
|
|
135
|
-
pathParams: {
|
|
136
|
-
account_id: string;
|
|
137
|
-
};
|
|
138
|
-
}, unknown>;
|
|
139
|
-
/**
|
|
140
|
-
* Create Category
|
|
141
|
-
* Create a new category.
|
|
142
|
-
|
|
143
|
-
Household members can create categories for their household.
|
|
144
|
-
*/
|
|
145
|
-
export declare function useCreateCategory(options?: UseMutationOptions<any, any, {
|
|
146
|
-
[key: string]: any;
|
|
147
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
148
|
-
[key: string]: any;
|
|
149
|
-
}, unknown>;
|
|
150
|
-
/**
|
|
151
|
-
* Update Category
|
|
152
|
-
* Update category information.
|
|
153
|
-
|
|
154
|
-
Household members can update categories in their household.
|
|
155
|
-
*/
|
|
156
|
-
export declare function useUpdateCategory(options?: UseMutationOptions<any, any, {
|
|
157
|
-
pathParams: {
|
|
158
|
-
category_id: string;
|
|
159
|
-
};
|
|
160
|
-
[key: string]: any;
|
|
161
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
162
|
-
[key: string]: any;
|
|
163
|
-
pathParams: {
|
|
164
|
-
category_id: string;
|
|
165
|
-
};
|
|
166
|
-
}, unknown>;
|
|
167
|
-
/**
|
|
168
|
-
* Delete Category
|
|
169
|
-
* Delete a category.
|
|
170
|
-
|
|
171
|
-
Household members can delete categories in their household.
|
|
172
|
-
Cannot delete categories with associated transactions or subcategories.
|
|
173
|
-
*/
|
|
174
|
-
export declare function useDeleteCategory(options?: UseMutationOptions<any, any, {
|
|
175
|
-
pathParams: {
|
|
176
|
-
category_id: string;
|
|
177
|
-
};
|
|
178
|
-
[key: string]: any;
|
|
179
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
180
|
-
[key: string]: any;
|
|
181
|
-
pathParams: {
|
|
182
|
-
category_id: string;
|
|
183
|
-
};
|
|
184
|
-
}, unknown>;
|
|
185
|
-
/**
|
|
186
|
-
* Create Subcategory
|
|
187
|
-
* Create a new subcategory under a category.
|
|
188
|
-
|
|
189
|
-
Household members can create subcategories for their household categories.
|
|
190
|
-
*/
|
|
191
|
-
export declare function useCreateCategorySubcategory(options?: UseMutationOptions<any, any, {
|
|
192
|
-
pathParams: {
|
|
193
|
-
category_id: string;
|
|
194
|
-
};
|
|
195
|
-
[key: string]: any;
|
|
196
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
197
|
-
[key: string]: any;
|
|
198
|
-
pathParams: {
|
|
199
|
-
category_id: string;
|
|
200
|
-
};
|
|
201
|
-
}, unknown>;
|
|
202
|
-
/**
|
|
203
|
-
* Update Subcategory
|
|
204
|
-
* Update subcategory information.
|
|
205
|
-
|
|
206
|
-
Household members can update subcategories in their household.
|
|
207
|
-
*/
|
|
208
|
-
export declare function useSetCategorySubcategories(options?: UseMutationOptions<any, any, {
|
|
209
|
-
pathParams: {
|
|
210
|
-
subcategory_id: string;
|
|
211
|
-
};
|
|
212
|
-
[key: string]: any;
|
|
213
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
214
|
-
[key: string]: any;
|
|
215
|
-
pathParams: {
|
|
216
|
-
subcategory_id: string;
|
|
217
|
-
};
|
|
218
|
-
}, unknown>;
|
|
219
|
-
/**
|
|
220
|
-
* Delete Subcategory
|
|
221
|
-
* Delete a subcategory.
|
|
222
|
-
|
|
223
|
-
Household members can delete subcategories in their household.
|
|
224
|
-
Cannot delete subcategories with associated transactions.
|
|
225
|
-
*/
|
|
226
|
-
export declare function useRemoveCategorySubcategories(options?: UseMutationOptions<any, any, {
|
|
227
|
-
pathParams: {
|
|
228
|
-
subcategory_id: string;
|
|
229
|
-
};
|
|
230
|
-
[key: string]: any;
|
|
231
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
232
|
-
[key: string]: any;
|
|
233
|
-
pathParams: {
|
|
234
|
-
subcategory_id: string;
|
|
235
|
-
};
|
|
236
|
-
}, unknown>;
|
|
237
|
-
/**
|
|
238
|
-
* Create Transaction
|
|
239
|
-
* Create a new transaction.
|
|
240
|
-
|
|
241
|
-
Users can only create transactions on accounts they have access to.
|
|
242
|
-
The budget ownership system will automatically determine if settlement is needed.
|
|
243
|
-
*/
|
|
244
|
-
export declare function useCreateTransaction(options?: UseMutationOptions<any, any, {
|
|
245
|
-
[key: string]: any;
|
|
246
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
247
|
-
[key: string]: any;
|
|
248
|
-
}, unknown>;
|
|
249
|
-
/**
|
|
250
|
-
* Update Transaction
|
|
251
|
-
* Update transaction information.
|
|
252
|
-
|
|
253
|
-
Users can only update transactions from accounts they have access to.
|
|
254
|
-
Budget ownership changes will automatically recalculate settlement needs.
|
|
255
|
-
*/
|
|
256
|
-
export declare function useUpdateTransaction(options?: UseMutationOptions<any, any, {
|
|
257
|
-
pathParams: {
|
|
258
|
-
transaction_id: string;
|
|
259
|
-
};
|
|
260
|
-
[key: string]: any;
|
|
261
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
262
|
-
[key: string]: any;
|
|
263
|
-
pathParams: {
|
|
264
|
-
transaction_id: string;
|
|
265
|
-
};
|
|
266
|
-
}, unknown>;
|
|
267
|
-
/**
|
|
268
|
-
* Delete Transaction
|
|
269
|
-
* Delete a transaction.
|
|
270
|
-
|
|
271
|
-
Users can only delete transactions from accounts they have access to.
|
|
272
|
-
*/
|
|
273
|
-
export declare function useDeleteTransaction(options?: UseMutationOptions<any, any, {
|
|
274
|
-
pathParams: {
|
|
275
|
-
transaction_id: string;
|
|
276
|
-
};
|
|
277
|
-
[key: string]: any;
|
|
278
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
279
|
-
[key: string]: any;
|
|
280
|
-
pathParams: {
|
|
281
|
-
transaction_id: string;
|
|
282
|
-
};
|
|
283
|
-
}, unknown>;
|
|
284
|
-
/**
|
|
285
|
-
* Reassign Transaction Budget
|
|
286
|
-
* Reassign a transaction's budget ownership.
|
|
287
|
-
|
|
288
|
-
This is the core feature that allows changing PERSONAL ↔ SHARED budget ownership
|
|
289
|
-
after a transaction is created. Settlement needs will be automatically recalculated.
|
|
290
|
-
*/
|
|
291
|
-
export declare function useReassignTransactionBudget(options?: UseMutationOptions<any, any, {
|
|
292
|
-
pathParams: {
|
|
293
|
-
transaction_id: string;
|
|
294
|
-
};
|
|
295
|
-
[key: string]: any;
|
|
296
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
297
|
-
[key: string]: any;
|
|
298
|
-
pathParams: {
|
|
299
|
-
transaction_id: string;
|
|
300
|
-
};
|
|
301
|
-
}, unknown>;
|
|
302
|
-
/**
|
|
303
|
-
* Create Budget
|
|
304
|
-
* Create a new budget.
|
|
305
|
-
|
|
306
|
-
Users can create personal budgets for themselves.
|
|
307
|
-
Household admins can create shared budgets and personal budgets for others.
|
|
308
|
-
*/
|
|
309
|
-
export declare function useCreateBudget(options?: UseMutationOptions<any, any, {
|
|
310
|
-
[key: string]: any;
|
|
311
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
312
|
-
[key: string]: any;
|
|
313
|
-
}, unknown>;
|
|
314
|
-
/**
|
|
315
|
-
* Update Budget
|
|
316
|
-
* Update budget information.
|
|
317
|
-
|
|
318
|
-
Users can update their own personal budgets.
|
|
319
|
-
Household admins can update any household budget.
|
|
320
|
-
*/
|
|
321
|
-
export declare function useUpdateBudget(options?: UseMutationOptions<any, any, {
|
|
322
|
-
pathParams: {
|
|
323
|
-
budget_id: string;
|
|
324
|
-
};
|
|
325
|
-
[key: string]: any;
|
|
326
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
327
|
-
[key: string]: any;
|
|
328
|
-
pathParams: {
|
|
329
|
-
budget_id: string;
|
|
330
|
-
};
|
|
331
|
-
}, unknown>;
|
|
332
|
-
/**
|
|
333
|
-
* Delete Budget
|
|
334
|
-
* Delete a budget.
|
|
335
|
-
|
|
336
|
-
Users can delete their own personal budgets.
|
|
337
|
-
Household admins can delete any household budget.
|
|
338
|
-
*/
|
|
339
|
-
export declare function useDeleteBudget(options?: UseMutationOptions<any, any, {
|
|
340
|
-
pathParams: {
|
|
341
|
-
budget_id: string;
|
|
342
|
-
};
|
|
343
|
-
[key: string]: any;
|
|
344
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
345
|
-
[key: string]: any;
|
|
346
|
-
pathParams: {
|
|
347
|
-
budget_id: string;
|
|
348
|
-
};
|
|
349
|
-
}, unknown>;
|
|
350
|
-
/**
|
|
351
|
-
* Create Settlement
|
|
352
|
-
* Create a new settlement.
|
|
353
|
-
|
|
354
|
-
Only household members can create settlements within their household.
|
|
355
|
-
*/
|
|
356
|
-
export declare function useCreateSettlement(options?: UseMutationOptions<any, any, {
|
|
357
|
-
[key: string]: any;
|
|
358
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
359
|
-
[key: string]: any;
|
|
360
|
-
}, unknown>;
|
|
361
|
-
/**
|
|
362
|
-
* Update Settlement
|
|
363
|
-
* Update settlement information.
|
|
364
|
-
|
|
365
|
-
Only involved users or household admins can update settlements.
|
|
366
|
-
Can only update pending settlements.
|
|
367
|
-
*/
|
|
368
|
-
export declare function useUpdateSettlement(options?: UseMutationOptions<any, any, {
|
|
369
|
-
pathParams: {
|
|
370
|
-
settlement_id: string;
|
|
371
|
-
};
|
|
372
|
-
[key: string]: any;
|
|
373
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
374
|
-
[key: string]: any;
|
|
375
|
-
pathParams: {
|
|
376
|
-
settlement_id: string;
|
|
377
|
-
};
|
|
378
|
-
}, unknown>;
|
|
379
|
-
/**
|
|
380
|
-
* Delete Settlement
|
|
381
|
-
* Delete a settlement.
|
|
382
|
-
|
|
383
|
-
Only involved users or household admins can delete settlements.
|
|
384
|
-
Can only delete pending settlements.
|
|
385
|
-
*/
|
|
386
|
-
export declare function useDeleteSettlement(options?: UseMutationOptions<any, any, {
|
|
387
|
-
pathParams: {
|
|
388
|
-
settlement_id: string;
|
|
389
|
-
};
|
|
390
|
-
[key: string]: any;
|
|
391
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
392
|
-
[key: string]: any;
|
|
393
|
-
pathParams: {
|
|
394
|
-
settlement_id: string;
|
|
395
|
-
};
|
|
396
|
-
}, unknown>;
|
|
397
|
-
/**
|
|
398
|
-
* Complete Settlement
|
|
399
|
-
* Mark a settlement as completed.
|
|
400
|
-
|
|
401
|
-
Only the payer can mark a settlement as completed.
|
|
402
|
-
*/
|
|
403
|
-
export declare function useCreateSettlementComplete(options?: UseMutationOptions<any, any, {
|
|
404
|
-
pathParams: {
|
|
405
|
-
settlement_id: string;
|
|
406
|
-
};
|
|
407
|
-
[key: string]: any;
|
|
408
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
409
|
-
[key: string]: any;
|
|
410
|
-
pathParams: {
|
|
411
|
-
settlement_id: string;
|
|
412
|
-
};
|
|
413
|
-
}, unknown>;
|
|
414
|
-
/**
|
|
415
|
-
* Cancel Settlement
|
|
416
|
-
* Cancel a settlement.
|
|
417
|
-
|
|
418
|
-
Only involved users or household admins can cancel settlements.
|
|
419
|
-
*/
|
|
420
|
-
export declare function useCreateSettlementCancel(options?: UseMutationOptions<any, any, {
|
|
421
|
-
pathParams: {
|
|
422
|
-
settlement_id: string;
|
|
423
|
-
};
|
|
424
|
-
[key: string]: any;
|
|
425
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
426
|
-
[key: string]: any;
|
|
427
|
-
pathParams: {
|
|
428
|
-
settlement_id: string;
|
|
429
|
-
};
|
|
430
|
-
}, unknown>;
|
|
431
|
-
/**
|
|
432
|
-
* Add Settlement Item
|
|
433
|
-
* Add an item to a settlement.
|
|
434
|
-
|
|
435
|
-
Only involved users or household admins can add items.
|
|
436
|
-
Can only add items to pending settlements.
|
|
437
|
-
*/
|
|
438
|
-
export declare function useCreateSettlementItem(options?: UseMutationOptions<any, any, {
|
|
439
|
-
pathParams: {
|
|
440
|
-
settlement_id: string;
|
|
441
|
-
};
|
|
442
|
-
[key: string]: any;
|
|
443
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
444
|
-
[key: string]: any;
|
|
445
|
-
pathParams: {
|
|
446
|
-
settlement_id: string;
|
|
447
|
-
};
|
|
448
|
-
}, unknown>;
|
|
449
|
-
/**
|
|
450
|
-
* Create Household
|
|
451
|
-
* Create a new household.
|
|
452
|
-
|
|
453
|
-
Any authenticated user can create a household and becomes the owner.
|
|
454
|
-
*/
|
|
455
|
-
export declare function useCreateHousehold(options?: UseMutationOptions<any, any, {
|
|
456
|
-
[key: string]: any;
|
|
457
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
458
|
-
[key: string]: any;
|
|
459
|
-
}, unknown>;
|
|
460
|
-
/**
|
|
461
|
-
* Update Household
|
|
462
|
-
* Update household information.
|
|
463
|
-
|
|
464
|
-
Only household owners and admins can update household information.
|
|
465
|
-
*/
|
|
466
|
-
export declare function useUpdateHousehold(options?: UseMutationOptions<any, any, {
|
|
467
|
-
pathParams: {
|
|
468
|
-
household_id: string;
|
|
469
|
-
};
|
|
470
|
-
[key: string]: any;
|
|
471
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
472
|
-
[key: string]: any;
|
|
473
|
-
pathParams: {
|
|
474
|
-
household_id: string;
|
|
475
|
-
};
|
|
476
|
-
}, unknown>;
|
|
477
|
-
/**
|
|
478
|
-
* Delete Household
|
|
479
|
-
* Delete a household.
|
|
480
|
-
|
|
481
|
-
Only household owners and admins can delete households.
|
|
482
|
-
This will remove all associated data (accounts, transactions, etc.).
|
|
483
|
-
*/
|
|
484
|
-
export declare function useDeleteHousehold(options?: UseMutationOptions<any, any, {
|
|
485
|
-
pathParams: {
|
|
486
|
-
household_id: string;
|
|
487
|
-
};
|
|
488
|
-
[key: string]: any;
|
|
489
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
490
|
-
[key: string]: any;
|
|
491
|
-
pathParams: {
|
|
492
|
-
household_id: string;
|
|
493
|
-
};
|
|
494
|
-
}, unknown>;
|
|
495
|
-
/**
|
|
496
|
-
* Add Household Member
|
|
497
|
-
* Add a member to a household.
|
|
498
|
-
|
|
499
|
-
Only household owners and admins can add members.
|
|
500
|
-
*/
|
|
501
|
-
export declare function useCreateHouseholdMember(options?: UseMutationOptions<any, any, {
|
|
502
|
-
pathParams: {
|
|
503
|
-
household_id: string;
|
|
504
|
-
};
|
|
505
|
-
[key: string]: any;
|
|
506
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
507
|
-
[key: string]: any;
|
|
508
|
-
pathParams: {
|
|
509
|
-
household_id: string;
|
|
510
|
-
};
|
|
511
|
-
}, unknown>;
|
|
512
|
-
/**
|
|
513
|
-
* Update Household Member
|
|
514
|
-
* Update a household member's role or status.
|
|
515
|
-
|
|
516
|
-
Only household owners and admins can update member information.
|
|
517
|
-
*/
|
|
518
|
-
export declare function useSetHouseholdMembers(options?: UseMutationOptions<any, any, {
|
|
519
|
-
pathParams: {
|
|
520
|
-
household_id: string;
|
|
521
|
-
user_id: string;
|
|
522
|
-
};
|
|
523
|
-
[key: string]: any;
|
|
524
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
525
|
-
[key: string]: any;
|
|
526
|
-
pathParams: {
|
|
527
|
-
household_id: string;
|
|
528
|
-
user_id: string;
|
|
529
|
-
};
|
|
530
|
-
}, unknown>;
|
|
531
|
-
/**
|
|
532
|
-
* Remove Household Member
|
|
533
|
-
* Remove a member from a household.
|
|
534
|
-
|
|
535
|
-
Only household owners and admins can remove members.
|
|
536
|
-
Cannot remove the household owner.
|
|
537
|
-
*/
|
|
538
|
-
export declare function useRemoveHouseholdMembers(options?: UseMutationOptions<any, any, {
|
|
539
|
-
pathParams: {
|
|
540
|
-
household_id: string;
|
|
541
|
-
user_id: string;
|
|
542
|
-
};
|
|
543
|
-
[key: string]: any;
|
|
544
|
-
}>): import("@tanstack/react-query").UseMutationResult<any, any, {
|
|
545
|
-
[key: string]: any;
|
|
546
|
-
pathParams: {
|
|
547
|
-
household_id: string;
|
|
548
|
-
user_id: string;
|
|
549
|
-
};
|
|
550
|
-
}, unknown>;
|
|
551
|
-
//# sourceMappingURL=mutations.d.ts.map
|