2025-08-04 17:45:44 +02:00
|
|
|
// @generated
|
|
|
|
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
2025-08-04 17:45:44 +02:00
|
|
|
|
|
|
|
|
/** Represents the table public.ratelimiter */
|
|
|
|
|
export default interface RatelimiterTable {
|
2025-10-21 18:42:03 +02:00
|
|
|
key: ColumnType<string, string, string>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
request_timestamp: ColumnType<Date, Date | string, Date | string>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
request_count: ColumnType<number, number, number>;
|
2025-08-04 17:45:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type Ratelimiter = Selectable<RatelimiterTable>;
|
|
|
|
|
|
|
|
|
|
export type NewRatelimiter = Insertable<RatelimiterTable>;
|
|
|
|
|
|
|
|
|
|
export type RatelimiterUpdate = Updateable<RatelimiterTable>;
|