From 0e936140f26436bfacf83891d70e92757c07fe38 Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Sun, 8 Mar 2026 01:06:41 +0100 Subject: [PATCH] feat: remove PaymentsTable reference from PublicSchema --- .../src/schemas/public/Payments.ts | 42 ------------------- .../src/schemas/public/PublicSchema.ts | 3 -- 2 files changed, 45 deletions(-) delete mode 100644 apps/infoalloggi/src/schemas/public/Payments.ts diff --git a/apps/infoalloggi/src/schemas/public/Payments.ts b/apps/infoalloggi/src/schemas/public/Payments.ts deleted file mode 100644 index 2b8b196..0000000 --- a/apps/infoalloggi/src/schemas/public/Payments.ts +++ /dev/null @@ -1,42 +0,0 @@ -// @generated -// This file is automatically generated by Kanel. Do not modify manually. - -import type { UsersId } from './Users'; -import type { default as PaymentStatusEnum } from './PaymentStatusEnum'; -import type { ServizioServizioId } from './Servizio'; -import type { OrdiniOrdineId } from './Ordini'; -import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely'; - -/** Identifier type for public.payments */ -export type PaymentsId = string & { __brand: 'public.payments' }; - -/** Represents the table public.payments */ -export default interface PaymentsTable { - id: ColumnType; - - userid: ColumnType; - - amount_cent: ColumnType; - - created_at: ColumnType; - - paymentmethod: ColumnType; - - paymentname: ColumnType; - - paid_at: ColumnType; - - intent_id: ColumnType; - - paymentstatus: ColumnType; - - servizio_id: ColumnType; - - ordine_id: ColumnType; -} - -export type Payments = Selectable; - -export type NewPayments = Insertable; - -export type PaymentsUpdate = Updateable; diff --git a/apps/infoalloggi/src/schemas/public/PublicSchema.ts b/apps/infoalloggi/src/schemas/public/PublicSchema.ts index 4991e2c..3696244 100644 --- a/apps/infoalloggi/src/schemas/public/PublicSchema.ts +++ b/apps/infoalloggi/src/schemas/public/PublicSchema.ts @@ -11,7 +11,6 @@ import type { default as UsersStorageTable } from './UsersStorage'; import type { default as ServizioAnnunciTable } from './ServizioAnnunci'; import type { default as UserInvitesTable } from './UserInvites'; import type { default as EmailsTable } from './Emails'; -import type { default as PaymentsTable } from './Payments'; import type { default as PotenzialiGroupsTable } from './PotenzialiGroups'; import type { default as ComuniTable } from './Comuni'; import type { default as EventQueueTable } from './EventQueue'; @@ -52,8 +51,6 @@ export default interface PublicSchema { emails: EmailsTable; - payments: PaymentsTable; - potenziali_groups: PotenzialiGroupsTable; comuni: ComuniTable;