// @generated
// This file is automatically generated by Kanel. Do not modify manually.

import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';

/** Identifier type for public.event_queue */
export type EventQueueEventId = number & { __brand: 'public.event_queue' };

/** Represents the table public.event_queue */
export default interface EventQueueTable {
  event_id: ColumnType<EventQueueEventId, EventQueueEventId | undefined, EventQueueEventId>;

  lock_expires: ColumnType<Date, Date | string, Date | string>;

  data: ColumnType<unknown | null, unknown | null, unknown | null>;

  status: ColumnType<string, string | undefined, string>;
}

export type EventQueue = Selectable<EventQueueTable>;

export type NewEventQueue = Insertable<EventQueueTable>;

export type EventQueueUpdate = Updateable<EventQueueTable>;
