···11+CREATE TABLE `session` (
22+ `id` text PRIMARY KEY NOT NULL,
33+ `user_id` text NOT NULL,
44+ `expires_at` integer NOT NULL,
55+ FOREIGN KEY (`user_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE no action
66+);
77+--> statement-breakpoint
88+PRAGMA foreign_keys=OFF;--> statement-breakpoint
99+CREATE TABLE `__new_user` (
1010+ `id` text PRIMARY KEY NOT NULL,
1111+ `name` text NOT NULL,
1212+ `password` text NOT NULL,
1313+ `email` text NOT NULL,
1414+ `created_at` integer DEFAULT '"2025-01-04T22:24:29.828Z"' NOT NULL
1515+);
1616+--> statement-breakpoint
1717+INSERT INTO `__new_user`("id", "name", "password", "email", "created_at") SELECT "id", "name", "password", "email", "created_at" FROM `user`;--> statement-breakpoint
1818+DROP TABLE `user`;--> statement-breakpoint
1919+ALTER TABLE `__new_user` RENAME TO `user`;--> statement-breakpoint
2020+PRAGMA foreign_keys=ON;--> statement-breakpoint
2121+CREATE UNIQUE INDEX `user_email_unique` ON `user` (`email`);
···11+import type { api } from "@kaneo/libs";
22+import type ApiResponse from "./api-response";
33+44+export type User = ApiResponse<typeof api.me.get>;