Skip to content

Commit

Permalink
feat(hub-discussions): added enum and parameter for downloading posts…
Browse files Browse the repository at this point in the history
… as csv
  • Loading branch information
bri12416 committed Nov 14, 2024
1 parent 1baa3c9 commit 7f8ed36
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/common/src/discussions/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,15 @@ export enum CommonSort {
UPDATED_AT = "updatedAt",
}

/**
* @export
* @enum {string}
*/
export enum SearchPostsFormat {
CSV = "CSV",
JSON = "JSON",
}

/**
* creator property
*
Expand Down Expand Up @@ -576,6 +585,7 @@ export interface ISearchPosts
groups?: string[];
access?: SharingAccess[];
channels?: string[];
f?: SearchPostsFormat;
}

/**
Expand Down

0 comments on commit 7f8ed36

Please sign in to comment.