Skip to content

Commit

Permalink
feat: add reply_user to WalineChildComment (#2530)
Browse files Browse the repository at this point in the history
* feat: add reply_user to WalineChildComment

* Update typings.ts

---------

Co-authored-by: Austin Lee <[email protected]>
  • Loading branch information
AnzhiZhang and lizheming authored May 29, 2024
1 parent 1003323 commit c6ca370
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/api/src/typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,15 @@ export interface WalineChildComment extends BaseWalineResponseComment {
*/
// TODO: Support this field
at?: string;

/**
* Reply user information
*/
reply_user?: {

Check warning on line 224 in packages/api/src/typings.ts

View workflow job for this annotation

GitHub Actions / test (18, ubuntu-latest)

Type Property name `reply_user` must match one of the following formats: camelCase, PascalCase, UPPER_CASE

Check warning on line 224 in packages/api/src/typings.ts

View workflow job for this annotation

GitHub Actions / test (20, ubuntu-latest)

Type Property name `reply_user` must match one of the following formats: camelCase, PascalCase, UPPER_CASE
nick: string;
link: string;
avatar: string;
};
}

export interface WalineRootComment extends BaseWalineResponseComment {
Expand Down

0 comments on commit c6ca370

Please sign in to comment.