forked from linuxfoundation/lfx-v2-mailing-list-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubjects.go
More file actions
34 lines (27 loc) · 1.67 KB
/
subjects.go
File metadata and controls
34 lines (27 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright The Linux Foundation and each contributor to LFX.
// SPDX-License-Identifier: MIT
package constants
// NATS subject constants for message publishing
const (
// Indexing subjects for search and discovery
IndexGroupsIOServiceSubject = "lfx.index.groupsio_service"
IndexGroupsIOServiceSettingsSubject = "lfx.index.groupsio_service_settings"
IndexGroupsIOMailingListSubject = "lfx.index.groupsio_mailing_list"
IndexGroupsIOMailingListSettingsSubject = "lfx.index.groupsio_mailing_list_settings"
IndexGroupsIOMemberSubject = "lfx.index.groupsio_member"
// Access control subjects for OpenFGA integration
UpdateAccessGroupsIOServiceSubject = "lfx.update_access.groupsio_service"
DeleteAllAccessGroupsIOServiceSubject = "lfx.delete_all_access.groupsio_service"
UpdateAccessGroupsIOMailingListSubject = "lfx.update_access.groupsio_mailing_list"
DeleteAllAccessGroupsIOMailingListSubject = "lfx.delete_all_access.groupsio_mailing_list"
PutMemberGroupsIOMailingListSubject = "lfx.put_member.groupsio_mailing_list"
RemoveMemberGroupsIOMailingListSubject = "lfx.remove_member.groupsio_mailing_list"
// Committee event subjects from committee-api
CommitteeMemberCreatedSubject = "lfx.committee-api.committee_member.created"
CommitteeMemberDeletedSubject = "lfx.committee-api.committee_member.deleted"
CommitteeMemberUpdatedSubject = "lfx.committee-api.committee_member.updated"
CommitteeListMembersSubject = "lfx.committee-api.list_members"
// Mailing list events from mailing-list-api
MailingListCreatedSubject = "lfx.mailing-list-api.mailing_list_created"
MailingListUpdatedSubject = "lfx.mailing-list-api.mailing_list_updated"
)