feat: teamCollection module added
This commit is contained in:
@@ -4,6 +4,7 @@ import { UserEnvironment } from '../user-environment/user-environments.model';
|
||||
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';
|
||||
|
||||
// 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.
|
||||
@@ -18,10 +19,15 @@ export type TopicDef = {
|
||||
topic: `user_history/${string}/${'created' | 'updated' | 'deleted'}`
|
||||
]: UserHistory;
|
||||
[topic: `team/${string}/member_removed`]: string;
|
||||
[topic: `team/${string}/member_added`]: TeamMember;
|
||||
[topic: `team/${string}/member_updated`]: TeamMember;
|
||||
[topic: `team_environment/${string}/created`]: TeamEnvironment;
|
||||
[topic: `team_environment/${string}/updated`]: TeamEnvironment;
|
||||
[topic: `team_environment/${string}/deleted`]: TeamEnvironment;
|
||||
[topic: `team/${string}/${'member_added' | 'member_updated'}`]: TeamMember;
|
||||
[
|
||||
topic: `team_environment/${string}/${'created' | 'updated' | 'deleted'}`
|
||||
]: TeamEnvironment;
|
||||
[
|
||||
topic: `team_coll/${string}/${
|
||||
| 'coll_added'
|
||||
| 'coll_updated'
|
||||
| 'coll_removed'}`
|
||||
]: TeamCollection;
|
||||
[topic: `user_history/${string}/deleted_many`]: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user