Skip to content

Commit e6c47a5

Browse files
committed
Add missing fields for the getApps call
1 parent 171cdee commit e6c47a5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

packages/sdk/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
- Fixed the `ConfigurablePropTimer` type to define cron expressions and
1515
time intervals
1616
- Marked the `auth` field in the SQL prop type as optional
17+
- Fixed the `App` type to include the `description` field returned by the API
18+
- Fixed the `GetAppsResponse` type to include the pagination stuff
1719

1820
## [1.6.8] - 2025-06-07
1921

packages/sdk/src/shared/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ export type App = AppInfo & {
9090
*/
9191
name: string;
9292

93+
/**
94+
* A short description of the app.
95+
*/
96+
description: string;
97+
9398
/**
9499
* The authentication type used by the app.
95100
*/
@@ -509,7 +514,9 @@ export type AccountsRequestResponse = GetAccountsResponse;
509514
/**
510515
* The response received when retrieving a list of apps.
511516
*/
512-
export type GetAppsResponse = { data: App[]; };
517+
export type GetAppsResponse = PaginationResponse & {
518+
data: App[];
519+
};
513520

514521
/**
515522
* @deprecated Use `GetAppsResponse` instead.

0 commit comments

Comments
 (0)