feat: team request module added

This commit is contained in:
Mir Arif Hasan
2023-02-08 16:39:19 +06:00
parent 4b42496273
commit 2ed5a045de
8 changed files with 1905 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import { UserHistory } from '../user-history/user-history.model';
import { TeamMember } from 'src/team/team.model';
import { TeamEnvironment } from 'src/team-environments/team-environments.model';
import { TeamCollection } from 'src/team-collection/team-collection.model';
import { TeamRequest } from 'src/team-request/team-request.model';
// A custom message type that defines the topic and the corresponding payload.
// For every module that publishes a subscription add its type def and the possible subscription type.
@@ -30,4 +31,6 @@ export type TopicDef = {
| 'coll_removed'}`
]: TeamCollection;
[topic: `user_history/${string}/deleted_many`]: number;
[topic: `team_req/${string}/${'req_created' | 'req_updated'}`]: TeamRequest;
[topic: `team_req/${string}/req_deleted`]: string;
};