2022-03-02 19:53:41 +00:00
|
|
|
import { IUser } from '../../IUser';
|
|
|
|
|
2022-02-24 21:59:57 +00:00
|
|
|
export type E2eEndpoints = {
|
|
|
|
'e2e.setUserPublicAndPrivateKeys': {
|
|
|
|
POST: (params: { public_key: string; private_key: string }) => void;
|
|
|
|
};
|
2022-03-02 19:53:41 +00:00
|
|
|
'e2e.getUsersOfRoomWithoutKey': {
|
|
|
|
GET: (params: { rid: string }) => {
|
|
|
|
users: Pick<IUser, '_id' | 'e2e'>[];
|
|
|
|
};
|
|
|
|
};
|
2022-02-24 21:59:57 +00:00
|
|
|
};
|