Skip to content

Commit

Permalink
AP type
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Jan 20, 2019
1 parent 171b046 commit 63d8bbe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/remote/activitypub/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ export interface IBlock extends IActivity {
type: 'Block';
}

export interface IUpdate extends IActivity {
type: 'Update';
}

export type Object =
ICollection |
IOrderedCollection |
Expand All @@ -127,4 +131,5 @@ export type Object =
IRemove |
ILike |
IAnnounce |
IBlock;
IBlock |
IUpdate;

0 comments on commit 63d8bbe

Please sign in to comment.