23 lines
698 B
TypeScript
23 lines
698 B
TypeScript
|
|
// @generated
|
||
|
|
// This file is automatically generated by Kanel. Do not modify manually.
|
||
|
|
|
||
|
|
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
||
|
|
|
||
|
|
/** Identifier type for public.provincie */
|
||
|
|
export type ProvincieId = number & { __brand: 'public.provincie' };
|
||
|
|
|
||
|
|
/** Represents the table public.provincie */
|
||
|
|
export default interface ProvincieTable {
|
||
|
|
id: ColumnType<ProvincieId, ProvincieId | undefined, ProvincieId>;
|
||
|
|
|
||
|
|
nome: ColumnType<string, string, string>;
|
||
|
|
|
||
|
|
sigla: ColumnType<string, string, string>;
|
||
|
|
}
|
||
|
|
|
||
|
|
export type Provincie = Selectable<ProvincieTable>;
|
||
|
|
|
||
|
|
export type NewProvincie = Insertable<ProvincieTable>;
|
||
|
|
|
||
|
|
export type ProvincieUpdate = Updateable<ProvincieTable>;
|