Skip to content

Commit

Permalink
feat: add include preferences for users and objects
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbell committed Apr 2, 2024
1 parent bca4275 commit 07802be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/resources/objects/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export interface BulkAddSubscriptionsOption<T = CommonMetadata> {
}

export interface ListObjectOptions extends PaginationOptions {
object_id?: string;
name?: string;
include?: Array<"preferences">;
}

export interface ListObjectSubscriptionsOptions extends PaginationOptions {
Expand Down
4 changes: 1 addition & 3 deletions src/resources/users/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export interface UserFeedOptions extends PaginationOptions {
}

export interface ListUserOptions extends PaginationOptions {
name?: string;
email?: string;
user_id?: string;
include?: Array<"preferences">;
}

export interface ListSubscriptionsOptions extends PaginationOptions {
Expand Down

0 comments on commit 07802be

Please sign in to comment.