Skip to content

Commit

Permalink
Add type definitions, prepare for migration
Browse files Browse the repository at this point in the history
  • Loading branch information
sergejchak committed Oct 31, 2024
1 parent c5836b2 commit 68ca35b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/integrationsToCategories/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
// Fields integrationId, categoryId, createdAt, updatedAt will be deprecated.
// Use integration_id, category_id, created_at, updated_at instead.
export type IntegrationToCategory = {
id: number;
integrationId: number;
categoryId: number;
createdAt: string;
updatedAt: string;
integrationId?: number;
integration_id?: number;
categoryId?: number;
category_id?: number;
createdAt?: string;
updatedAt?: string;
created_at?: string;
updated_at?: string;
};

0 comments on commit 68ca35b

Please sign in to comment.