Skip to content

Commit

Permalink
Chore: Add channel endpoints (rest-typings) (#25279)
Browse files Browse the repository at this point in the history
Co-authored-by: Guilherme Gazzo <guilhermegazzo@gmail.com>
  • Loading branch information
debdutdeb and ggazzo authored May 9, 2022
1 parent 3e5223c commit bcb257c
Show file tree
Hide file tree
Showing 27 changed files with 1,160 additions and 559 deletions.
1 change: 1 addition & 0 deletions apps/meteor/app/api/server/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ type ActionThis<TMethod extends Method, TPathPattern extends PathPattern, TOptio
fields: Record<string, unknown>;
query: Record<string, unknown>;
};
/* @deprecated */
getUserFromParams(): IUser;
} & (TOptions extends { authRequired: true }
? {
Expand Down
3 changes: 2 additions & 1 deletion apps/meteor/app/api/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import './helpers/requestParams';
import './helpers/isWidget';
import './default/info';
import './v1/assets';
import './v1/channels';
import './v1/channels.js';
import './v1/channels.ts';
import './v1/chat';
import './v1/cloud';
import './v1/commands';
Expand Down
Loading

0 comments on commit bcb257c

Please sign in to comment.