Skip to content

Commit

Permalink
fix missing api
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Oct 19, 2023
1 parent 803c103 commit 881fdeb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/cherrypick-js/etc/cherrypick-js.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1787,6 +1787,14 @@ export type Endpoints = {
};
res: null;
};
'notes/update': {
req: {
noteId: Note['id'];
text?: null | string;
cw?: null | string;
};
res: null;
};
'notes/favorites/create': {
req: {
noteId: Note['id'];
Expand Down Expand Up @@ -3052,7 +3060,7 @@ type UserSorting = '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+u
//
// src/api.types.ts:16:32 - (ae-forgotten-export) The symbol "TODO" needs to be exported by the entry point index.d.ts
// src/api.types.ts:18:25 - (ae-forgotten-export) The symbol "NoParams" needs to be exported by the entry point index.d.ts
// src/api.types.ts:661:18 - (ae-forgotten-export) The symbol "ShowUserReq" needs to be exported by the entry point index.d.ts
// src/api.types.ts:662:18 - (ae-forgotten-export) The symbol "ShowUserReq" needs to be exported by the entry point index.d.ts
// src/entities.ts:108:2 - (ae-forgotten-export) The symbol "notificationTypes_2" needs to be exported by the entry point index.d.ts
// src/entities.ts:613:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts
// src/streaming.types.ts:33:4 - (ae-forgotten-export) The symbol "FIXME" needs to be exported by the entry point index.d.ts
Expand Down
1 change: 1 addition & 0 deletions packages/cherrypick-js/src/api.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ export type Endpoints = {
}
}; res: { createdNote: Note }; };
'notes/delete': { req: { noteId: Note['id']; }; res: null; };
'notes/update': { req: { noteId: Note['id']; text?: null | string; cw?: null | string; }; res: null; };
'notes/favorites/create': { req: { noteId: Note['id']; }; res: null; };
'notes/favorites/delete': { req: { noteId: Note['id']; }; res: null; };
'notes/featured': { req: TODO; res: Note[]; };
Expand Down

0 comments on commit 881fdeb

Please sign in to comment.