-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add type definitions, prepare for migration
- Loading branch information
1 parent
5db9d27
commit c5836b2
Showing
2 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
// Fields externalId, iconUrl, createdAt, updatedAt will be deprecated. | ||
// Use unique_id, icon_url, created_at, updated_at instead. | ||
export type IntegrationCategory = { | ||
id: number; | ||
title: string; | ||
externalId: string; | ||
unique_id: string; | ||
iconUrl?: string; | ||
createdAt: string; | ||
updatedAt: string; | ||
icon_url?: string; | ||
createdAt?: string; | ||
created_at?: string; | ||
updatedAt?: string; | ||
updated_at?: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
// Fields shortDescription, websiteUrl, navigationUrl, imageUrl, accessCredentialsId, createdAt, updatedAt will be deprecated. | ||
// Use short_description, website_url, navigation_url, image_url, access_credentials_id, created_at, updated_at instead. | ||
export type Integration = { | ||
id: number; | ||
title: string; | ||
shortDescription?: string; | ||
short_description?: string; | ||
websiteUrl?: string; | ||
website_url?: string; | ||
navigationUrl?: string; | ||
navigation_url?: string; | ||
imageUrl?: string; | ||
image_url?: string; | ||
featured?: boolean; | ||
provider?: string; | ||
application?: string; | ||
accessCredentialsId?: number | null; | ||
createdAt: string; | ||
updatedAt: string; | ||
access_credentials_id?: number | null; | ||
createdAt?: string; | ||
created_at?: string; | ||
updatedAt?: string; | ||
updated_at?: string; | ||
}; |