mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 11:06:06 +00:00
51ed038374
Threads carry a journey scope next to the trip scope, with journey rights (outsider 404, viewers without write tools, addon off), its own routes and a book context, and the client keys chats by trip or journey.
14 lines
477 B
TypeScript
14 lines
477 B
TypeScript
// Generated by scripts/generate-db-types.ts from the migrated schema. Do not edit by hand:
|
|
// change the migration, then run `npm run gen:db-types`.
|
|
import type { InsertOptional } from './columns';
|
|
|
|
export interface AssistantThreadsTable {
|
|
id: InsertOptional<number>;
|
|
user_id: number;
|
|
trip_id: InsertOptional<number | null>;
|
|
journey_id: InsertOptional<number | null>;
|
|
title: string;
|
|
created_at: InsertOptional<string>;
|
|
last_message_at: InsertOptional<string>;
|
|
}
|