infoalloggi-monorepo/apps/infoalloggi/src/schemas/public/EventQueue.ts

29 lines
848 B
TypeScript
Raw Normal View History

2025-08-04 17:45:44 +02:00
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
2025-08-29 16:18:32 +02:00
import type { ColumnType, Insertable, Selectable, Updateable } from "kysely";
2025-08-04 17:45:44 +02:00
/** Identifier type for public.event_queue */
2025-08-29 16:18:32 +02:00
export type EventQueueEventId = number & { __brand: "public.event_queue" };
2025-08-04 17:45:44 +02:00
/** Represents the table public.event_queue */
export default interface EventQueueTable {
2025-08-29 16:18:32 +02:00
event_id: ColumnType<
EventQueueEventId,
EventQueueEventId | undefined,
EventQueueEventId
>;
2025-08-04 17:45:44 +02:00
2025-08-29 16:18:32 +02:00
lock_expires: ColumnType<Date, Date | string, Date | string>;
2025-08-04 17:45:44 +02:00
2025-08-29 16:18:32 +02:00
data: ColumnType<unknown | null, unknown | null, unknown | null>;
2025-08-04 17:45:44 +02:00
2025-08-29 16:18:32 +02:00
status: ColumnType<string, string | undefined, string>;
2025-08-04 17:45:44 +02:00
}
export type EventQueue = Selectable<EventQueueTable>;
export type NewEventQueue = Insertable<EventQueueTable>;
export type EventQueueUpdate = Updateable<EventQueueTable>;