infoalloggi-monorepo/apps/infoalloggi/src/schemas/public/Ratelimiter.ts
Marco Pedone 2ac16e4f33 Refactor Kanel configuration and update schema files
- Updated kanel.config.js to use makePgTsGenerator and adjusted type filtering.
- Modified various schema files to remove autogenerated comments and updated type definitions for enums to use union types.
- Added new MessagesAttachments schema and integrated it into PublicSchema.
- Ensured consistency in export types across all schema files.
2026-04-27 16:53:54 +02:00

16 lines
No EOL
518 B
TypeScript

import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.ratelimiter */
export default interface RatelimiterTable {
key: ColumnType<string, string, string>;
request_timestamp: ColumnType<Date, Date | string, Date | string>;
request_count: ColumnType<number, number, number>;
}
export type Ratelimiter = Selectable<RatelimiterTable>;
export type NewRatelimiter = Insertable<RatelimiterTable>;
export type RatelimiterUpdate = Updateable<RatelimiterTable>;