feat: migrate auth from supabase to better auth (#596)
* feat: add README for @cio/db package and remove existingAccounts.json * load session, load profile and organization, add create profile hook * chore: cache session request The trick was passing all the cookies to the backend. Previously I was only passing the better-auth.session_token and not better-auth.session_data. Read about the difference here https://www.better-auth.com/docs/concepts/cookies#custom-cookies * feat: login, logout, onboarding, verify email, reset password. * feat: complete change email and email verification * feat: standardise how we make rpc calls and create org endpoints * fix ui errors * fix: handle potential undefined customerId and standardize avatar URL property * refactor: standardize custom domain handling and update telegram chat ID references * chore: add tailwind prefix to @cio/ui this fixed the media query issues because @cio/ui classes were overriding this dashboard tailwind build * chore: clean up org sidebar * chore: persist mode state * feat: implement order breadcrumbs * chore: upgrade to better auth 1.4 * chore: address common auth flow bugs and setup app for others to setup locally.
This commit is contained in:
+22
-17
@@ -1,32 +1,37 @@
|
||||
import './index.css';
|
||||
|
||||
export * as Accordion from './base/accordion';
|
||||
export * as Avatar from './base/avatar';
|
||||
export * as Badge from './base/badge';
|
||||
export * as Breadcrumb from './base/breadcrumb';
|
||||
export * as Button from './base/button';
|
||||
export * as Checkbox from './base/checkbox';
|
||||
export * as Collapsible from './base/collapsible';
|
||||
export * as Command from './base/command';
|
||||
export * as Dialog from './base/dialog';
|
||||
export * as Drawer from './base/drawer';
|
||||
export * as DropdownMenu from './base/dropdown-menu';
|
||||
export * as Input from './base/input';
|
||||
export * as InputGroup from './base/input-group';
|
||||
export * as Item from './base/item';
|
||||
export * as Kbd from './base/kbd';
|
||||
export * as Label from './base/label';
|
||||
export * as Menubar from './base/menubar';
|
||||
export * as Pagination from './base/pagination';
|
||||
export * as Popover from './base/popover';
|
||||
export * as Skeleton from './base/skeleton';
|
||||
export * as Tooltip from './base/tooltip';
|
||||
export * as Sidebar from './base/sidebar';
|
||||
export * as Command from './base/command';
|
||||
export * as Avatar from './base/avatar';
|
||||
export * as Collapsible from './base/collapsible';
|
||||
export * as Breadcrumb from './base/breadcrumb';
|
||||
export * as Dialog from './base/dialog';
|
||||
export * as Progress from './base/progress';
|
||||
export * as RadioGroup from './base/radio-group';
|
||||
export * as Select from './base/select';
|
||||
export * as Separator from './base/separator';
|
||||
export * as Sheet from './base/sheet';
|
||||
export * as Badge from './base/badge';
|
||||
export * as Pagination from './base/pagination';
|
||||
export * as RadioGroup from './base/radio-group';
|
||||
export * as Sidebar from './base/sidebar';
|
||||
export * as Skeleton from './base/skeleton';
|
||||
export * as Spinner from './base/spinner';
|
||||
export * as Switch from './base/switch';
|
||||
export * as Table from './base/table';
|
||||
export * as Checkbox from './base/checkbox';
|
||||
export * as Menubar from './base/menubar';
|
||||
export * as Select from './base/select';
|
||||
export * as Spinner from './base/spinner';
|
||||
export * as Progress from './base/progress';
|
||||
export * as Accordion from './base/accordion';
|
||||
export * as Tabs from './base/tabs';
|
||||
export * as Textarea from './base/textarea';
|
||||
export * as Tooltip from './base/tooltip';
|
||||
|
||||
export { Toaster } from './base/sonner';
|
||||
export { BarChart, LineChart, AreaChart, PieChart, scaleBand } from './base/chart';
|
||||
|
||||
Reference in New Issue
Block a user