@intelact/bright 0.9.169 → 0.9.171

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"acl.js","sourceRoot":"","sources":["../../src/security/acl.ts"],"names":[],"mappings":";;;AAAA,iCAA8B;AAC9B,+CAA2C;AAE3C,MAAM,GAAG,GAAoC,EAAE,CAAC;AAsNvC,kBAAG;AApNZ,GAAG,CAAC,WAAI,CAAC,UAAU,CAAC,GAAG;IAEtB,wBAAU,CAAC,eAAe;IAC1B,wBAAU,CAAC,gBAAgB;IAC3B,wBAAU,CAAC,gBAAgB;IAC3B,wBAAU,CAAC,eAAe;IAE1B,wBAAU,CAAC,eAAe;IAC1B,wBAAU,CAAC,gBAAgB;IAC3B,wBAAU,CAAC,gBAAgB;IAE3B,wBAAU,CAAC,mBAAmB;IAC9B,wBAAU,CAAC,oBAAoB;IAC/B,wBAAU,CAAC,qBAAqB;IAChC,wBAAU,CAAC,YAAY;IAEvB,wBAAU,CAAC,YAAY;IACvB,wBAAU,CAAC,eAAe;IAC1B,wBAAU,CAAC,cAAc;IACzB,wBAAU,CAAC,gBAAgB;IAC3B,wBAAU,CAAC,aAAa;IACxB,wBAAU,CAAC,gBAAgB;IAC3B,wBAAU,CAAC,YAAY;IAEvB,wBAAU,CAAC,qBAAqB;IAChC,wBAAU,CAAC,wBAAwB;IACnC,wBAAU,CAAC,uBAAuB;IAClC,wBAAU,CAAC,0BAA0B;CACrC,CAAC;AAEF,GAAG,CAAC,WAAI,CAAC,kBAAkB,CAAC,GAAG;IAE9B,wBAAU,CAAC,eAAe;IAE1B,wBAAU,CAAC,eAAe;IAC1B,wBAAU,CAAC,gBAAgB;IAC3B,wBAAU,CAAC,gBAAgB;IAE3B,wBAAU,CAAC,mBAAmB;IAC9B,wBAAU,CAAC,oBAAoB;IAC/B,wBAAU,CAAC,qBAAqB;IAChC,wBAAU,CAAC,YAAY;IAEvB,wBAAU,CAAC,YAAY;IACvB,wBAAU,CAAC,eAAe;IAC1B,wBAAU,CAAC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AC,eAAe;IAC1B,wBAAU,CAAC,aAAa;IACxB,wBAAU,CAAC,eAAe;IAC1B,wBAAU,CAAC,YAAY;CACvB,CAAC;AAEF,GAAG,CAAC,WAAI,CAAC,qBAAqB,CAAC,GAAG;IAEjC,wBAAU,CAAC,eAAe;IAC1B,wBAAU,CAAC,UAAU;IACrB,wBAAU,CAAC,YAAY;IACvB,wBAAU,CAAC,aAAa;IACxB,wBAAU,CAAC,aAAa;IACxB,wBAAU,CAAC,aAAa;IACxB,wBAAU,CAAC,YAAY;IACvB,wBAAU,CAAC,SAAS;IACpB,wBAAU,CAAC,cAAc;IAEzB,wBAAU,CAAC,gBAAgB;IAC3B,wBAAU,CAAC,cAAc;IACzB,wBAAU,CAAC,gBAAgB;IAC3B,wBAAU,CAAC,YAAY;CACvB,CAAC;AAEF,GAAG,CAAC,WAAI,CAAC,qBAAqB,CAAC,GAAG;IAEjC,wBAAU,CAAC,eAAe;IAC1B,wBAAU,CAAC,UAAU;IACrB,wBAAU,CAAC,YAAY;IACvB,wBAAU,CAAC,aAAa;IACxB,wBAAU,CAAC,aAAa;IACxB,wBAAU,CAAC,aAAa;IACxB,wBAAU,CAAC,YAAY;IACvB,wBAAU,CAAC,SAAS;IACpB,wBAAU,CAAC,cAAc;IAEzB,wBAAU,CAAC,WAAW;CACtB,CAAC"}
@@ -1,41 +1,124 @@
1
1
  export declare enum Permission {
2
- InvitePublisher = "invite.publisher",
3
- SuspendPublisher = "suspend.publisher",
4
- DisablePublisher = "disable.publisher",
5
- ManagePublisher = "manage.publisher",
6
- InviteBrandUser = "invite.brand.user",
7
- SuspendBrandUser = "suspend.brand.user",
8
- DisableBrandUser = "disable.brand.user",
9
- ManageBrandSettings = "manage.brand.settings",
10
- ViewPublisherContent = "view.publisher.content",
11
- BlockPublisherContent = "block.publisher.content",
12
- MergeAuthors = "merge.authors",
13
- ManageTopics = "manage.topics",
14
- ManageFeedbacks = "manage.feedbacks",
15
- ManageQuestion = "manage.questions",
16
- ManageCategories = "manage.categories",
17
- ManageSurveys = "manage.surveys",
18
- ManagePromotions = "manage.promotions",
19
- ManageBoosts = "manage.boosts",
20
- InvitePublisherUser = "invite.publisher.user",
21
- SuspendPublisherUser = "suspend.publisher.user",
22
- DisablePublisherUser = "disable.publisher.user",
23
- ManagePublisherAccount = "manage.publisher.account",
24
- ManagePublisherSettings = "manage.publisher.settings",
25
- PublishContent = "publishe.content",
26
- ArchiveContent = "archive.content",
27
- DeleteContent = "delete.content",
28
- ManageCollection = "manage.collections",
29
- ManageAssets = "manage.assets",
30
- EditArticles = "edit.articles",
31
- EditBooks = "edit.books",
32
- EditVideos = "edit.videos",
33
- EditAudios = "edit.audios",
34
- EditNews = "edit.news",
35
- EditEvents = "edit.events",
36
- EditQuotes = "edit.quotes",
37
- GenerateSurveyReports = "generate.survey.reports",
38
- GeneratePromotionReports = "generate.promotion.reports",
39
- GenerateFeedbackReports = "generate.feedback.reports",
40
- GeneratePerformanceReports = "generate.performance.reports"
2
+ BrandAccountView = "brand.account.view",
3
+ BrandAccountManage = "brand.account.view",
4
+ BrandPublisherView = "brand.publisher.view",
5
+ BrandPublisherInvite = "brand.publisher.invite",
6
+ BrandPublisherActivate = "brand.publisher.activate",
7
+ BrandPublisherDeactivate = "brand.publisher.deactivate",
8
+ BrandPublisherSuspend = "brand.publisher.suspend",
9
+ BrandPublisherDelete = "brand.publisher.delete",
10
+ BrandPublisherManage = "brand.publisher.manage",
11
+ BrandUserView = "brand.user.view",
12
+ BrandUserInvite = "brand.user.invite",
13
+ BrandUserActivate = "brand.user.activate",
14
+ BrandUserDeactivate = "brand.user.deactivate",
15
+ BrandUserSuspend = "brand.user.suspend",
16
+ BrandUserDelete = "brand.user.delete",
17
+ BrandUserManage = "brand.user.manage",
18
+ BrandSettingView = "brand.setting.view",
19
+ BrandSettingManage = "brand.setting.manage",
20
+ PublisherAccountView = "publisher.account.view",
21
+ PublisherAccountManage = "publisher.account.manage",
22
+ PublisherAccountClose = "publisher.account.close",
23
+ PublisherUserView = "publisher.user.view",
24
+ PublisherUserInvite = "publisher.user.invite",
25
+ PublisherUserActivate = "publisher.user.activate",
26
+ PublisherUserDeactivate = "publisher.user.deactivate",
27
+ PublisherUserSuspend = "publisher.user.suspend",
28
+ PublisherUserDelete = "publisher.user.delete",
29
+ PublisherUserManage = "publisher.user.manage",
30
+ PublisherSettingView = "publisher.setting.view",
31
+ PublisherSettingManage = "publisher.setting.manage",
32
+ PostArticleView = "post.article.view",
33
+ PostArticleContent = "post.article.content",
34
+ PostArticleAssets = "post.article.assets",
35
+ PostArticleTopics = "post.article.topics",
36
+ PostArticleDraft = "post.article.draft",
37
+ PostArticleApprove = "post.article.approve",
38
+ PostArticlePublish = "post.article.publish",
39
+ PostArticleArchive = "post.article.archive",
40
+ PostArticleDelete = "post.article.delete",
41
+ PostArticleBlock = "post.article.block",
42
+ PostBookView = "post.book.view",
43
+ PostBookContent = "post.book.content",
44
+ PostBookAssets = "post.book.assets",
45
+ PostBookTopics = "post.book.topics",
46
+ PostBookDraft = "post.book.draft",
47
+ PostBookApprove = "post.book.approve",
48
+ PostBookPublish = "post.book.publish",
49
+ PostBookArchive = "post.book.archive",
50
+ PostBookDelete = "post.book.delete",
51
+ PostBookBlock = "post.book.block",
52
+ PostAudioView = "post.audio.view",
53
+ PostAudioContent = "post.audio.content",
54
+ PostAudioAssets = "post.audio.assets",
55
+ PostAudioTopics = "post.audio.topics",
56
+ PostAudioDraft = "post.audio.draft",
57
+ PostAudioApprove = "post.audio.approve",
58
+ PostAudioPublish = "post.audio.publish",
59
+ PostAudioArchive = "post.audio.archive",
60
+ PostAudioDelete = "post.audio.delete",
61
+ PostAudioBlock = "post.audio.block",
62
+ PostVideoView = "post.video.view",
63
+ PostVideoContent = "post.video.content",
64
+ PostVideoAssets = "post.video.assets",
65
+ PostVideoTopics = "post.video.topics",
66
+ PostVideoDraft = "post.video.draft",
67
+ PostVideoApprove = "post.video.approve",
68
+ PostVideoPublish = "post.video.publish",
69
+ PostVideoArchive = "post.video.archive",
70
+ PostVideoDelete = "post.video.delete",
71
+ PostVideoBlock = "post.video.block",
72
+ PostEventView = "post.event.view",
73
+ PostEventContent = "post.event.content",
74
+ PostEventAssets = "post.event.assets",
75
+ PostEventTopics = "post.event.topics",
76
+ PostEventDraft = "post.event.draft",
77
+ PostEventApprove = "post.event.approve",
78
+ PostEventPublish = "post.event.publish",
79
+ PostEventArchive = "post.event.archive",
80
+ PostEventDelete = "post.event.delete",
81
+ PostEventBlock = "post.event.block",
82
+ PostNewsView = "post.news.view",
83
+ PostNewsContent = "post.news.content",
84
+ PostNewsAssets = "post.news.assets",
85
+ PostNewsTopics = "post.news.topics",
86
+ PostNewsDraft = "post.news.draft",
87
+ PostNewsApprove = "post.news.approve",
88
+ PostNewsPublish = "post.news.publish",
89
+ PostNewsArchive = "post.news.archive",
90
+ PostNewsDelete = "post.news.delete",
91
+ PostNewsBlock = "post.news.block",
92
+ QuoteView = "quote.view",
93
+ QuoteManage = "quote.manage",
94
+ QuotePublish = "quote.publish",
95
+ AuthorView = "author.view",
96
+ AuthorManage = "author.manage",
97
+ AuthorMerge = "author.merge",
98
+ BoostView = "boost.view",
99
+ BoostManage = "boost.manage",
100
+ BoostPublish = "boost.publish",
101
+ CategoryView = "category.view",
102
+ CategoryManage = "category.manage",
103
+ CollectionView = "collection.view",
104
+ CollectionManage = "collection.manage",
105
+ FeedbackView = "feedback.view",
106
+ FeedbackManage = "feedback.manage",
107
+ FeedbackPublish = "feedback.publish",
108
+ PromotionView = "promotion.view",
109
+ PromotionManage = "promotion.manage",
110
+ PromotionPublish = "promotion.publish",
111
+ SurveyView = "survey.view",
112
+ SurveyManage = "survey.manage",
113
+ SurveyPublish = "survey.publish",
114
+ QuestionView = "question.view",
115
+ QuestionManage = "question.manage",
116
+ QuestionPublish = "question.publish",
117
+ TopicView = "topic.view",
118
+ TopicManage = "topic.manage",
119
+ ReportPerformance = "report.performance",
120
+ ReportFeedback = "report.feedback",
121
+ ReportPromotion = "report.promotion",
122
+ ReportSurvey = "report.survey",
123
+ ReportUser = "report.user"
41
124
  }
@@ -3,44 +3,127 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Permission = void 0;
4
4
  var Permission;
5
5
  (function (Permission) {
6
- Permission["InvitePublisher"] = "invite.publisher";
7
- Permission["SuspendPublisher"] = "suspend.publisher";
8
- Permission["DisablePublisher"] = "disable.publisher";
9
- Permission["ManagePublisher"] = "manage.publisher";
10
- Permission["InviteBrandUser"] = "invite.brand.user";
11
- Permission["SuspendBrandUser"] = "suspend.brand.user";
12
- Permission["DisableBrandUser"] = "disable.brand.user";
13
- Permission["ManageBrandSettings"] = "manage.brand.settings";
14
- Permission["ViewPublisherContent"] = "view.publisher.content";
15
- Permission["BlockPublisherContent"] = "block.publisher.content";
16
- Permission["MergeAuthors"] = "merge.authors";
17
- Permission["ManageTopics"] = "manage.topics";
18
- Permission["ManageFeedbacks"] = "manage.feedbacks";
19
- Permission["ManageQuestion"] = "manage.questions";
20
- Permission["ManageCategories"] = "manage.categories";
21
- Permission["ManageSurveys"] = "manage.surveys";
22
- Permission["ManagePromotions"] = "manage.promotions";
23
- Permission["ManageBoosts"] = "manage.boosts";
24
- Permission["InvitePublisherUser"] = "invite.publisher.user";
25
- Permission["SuspendPublisherUser"] = "suspend.publisher.user";
26
- Permission["DisablePublisherUser"] = "disable.publisher.user";
27
- Permission["ManagePublisherAccount"] = "manage.publisher.account";
28
- Permission["ManagePublisherSettings"] = "manage.publisher.settings";
29
- Permission["PublishContent"] = "publishe.content";
30
- Permission["ArchiveContent"] = "archive.content";
31
- Permission["DeleteContent"] = "delete.content";
32
- Permission["ManageCollection"] = "manage.collections";
33
- Permission["ManageAssets"] = "manage.assets";
34
- Permission["EditArticles"] = "edit.articles";
35
- Permission["EditBooks"] = "edit.books";
36
- Permission["EditVideos"] = "edit.videos";
37
- Permission["EditAudios"] = "edit.audios";
38
- Permission["EditNews"] = "edit.news";
39
- Permission["EditEvents"] = "edit.events";
40
- Permission["EditQuotes"] = "edit.quotes";
41
- Permission["GenerateSurveyReports"] = "generate.survey.reports";
42
- Permission["GeneratePromotionReports"] = "generate.promotion.reports";
43
- Permission["GenerateFeedbackReports"] = "generate.feedback.reports";
44
- Permission["GeneratePerformanceReports"] = "generate.performance.reports";
6
+ Permission["BrandAccountView"] = "brand.account.view";
7
+ Permission["BrandAccountManage"] = "brand.account.view";
8
+ Permission["BrandPublisherView"] = "brand.publisher.view";
9
+ Permission["BrandPublisherInvite"] = "brand.publisher.invite";
10
+ Permission["BrandPublisherActivate"] = "brand.publisher.activate";
11
+ Permission["BrandPublisherDeactivate"] = "brand.publisher.deactivate";
12
+ Permission["BrandPublisherSuspend"] = "brand.publisher.suspend";
13
+ Permission["BrandPublisherDelete"] = "brand.publisher.delete";
14
+ Permission["BrandPublisherManage"] = "brand.publisher.manage";
15
+ Permission["BrandUserView"] = "brand.user.view";
16
+ Permission["BrandUserInvite"] = "brand.user.invite";
17
+ Permission["BrandUserActivate"] = "brand.user.activate";
18
+ Permission["BrandUserDeactivate"] = "brand.user.deactivate";
19
+ Permission["BrandUserSuspend"] = "brand.user.suspend";
20
+ Permission["BrandUserDelete"] = "brand.user.delete";
21
+ Permission["BrandUserManage"] = "brand.user.manage";
22
+ Permission["BrandSettingView"] = "brand.setting.view";
23
+ Permission["BrandSettingManage"] = "brand.setting.manage";
24
+ Permission["PublisherAccountView"] = "publisher.account.view";
25
+ Permission["PublisherAccountManage"] = "publisher.account.manage";
26
+ Permission["PublisherAccountClose"] = "publisher.account.close";
27
+ Permission["PublisherUserView"] = "publisher.user.view";
28
+ Permission["PublisherUserInvite"] = "publisher.user.invite";
29
+ Permission["PublisherUserActivate"] = "publisher.user.activate";
30
+ Permission["PublisherUserDeactivate"] = "publisher.user.deactivate";
31
+ Permission["PublisherUserSuspend"] = "publisher.user.suspend";
32
+ Permission["PublisherUserDelete"] = "publisher.user.delete";
33
+ Permission["PublisherUserManage"] = "publisher.user.manage";
34
+ Permission["PublisherSettingView"] = "publisher.setting.view";
35
+ Permission["PublisherSettingManage"] = "publisher.setting.manage";
36
+ Permission["PostArticleView"] = "post.article.view";
37
+ Permission["PostArticleContent"] = "post.article.content";
38
+ Permission["PostArticleAssets"] = "post.article.assets";
39
+ Permission["PostArticleTopics"] = "post.article.topics";
40
+ Permission["PostArticleDraft"] = "post.article.draft";
41
+ Permission["PostArticleApprove"] = "post.article.approve";
42
+ Permission["PostArticlePublish"] = "post.article.publish";
43
+ Permission["PostArticleArchive"] = "post.article.archive";
44
+ Permission["PostArticleDelete"] = "post.article.delete";
45
+ Permission["PostArticleBlock"] = "post.article.block";
46
+ Permission["PostBookView"] = "post.book.view";
47
+ Permission["PostBookContent"] = "post.book.content";
48
+ Permission["PostBookAssets"] = "post.book.assets";
49
+ Permission["PostBookTopics"] = "post.book.topics";
50
+ Permission["PostBookDraft"] = "post.book.draft";
51
+ Permission["PostBookApprove"] = "post.book.approve";
52
+ Permission["PostBookPublish"] = "post.book.publish";
53
+ Permission["PostBookArchive"] = "post.book.archive";
54
+ Permission["PostBookDelete"] = "post.book.delete";
55
+ Permission["PostBookBlock"] = "post.book.block";
56
+ Permission["PostAudioView"] = "post.audio.view";
57
+ Permission["PostAudioContent"] = "post.audio.content";
58
+ Permission["PostAudioAssets"] = "post.audio.assets";
59
+ Permission["PostAudioTopics"] = "post.audio.topics";
60
+ Permission["PostAudioDraft"] = "post.audio.draft";
61
+ Permission["PostAudioApprove"] = "post.audio.approve";
62
+ Permission["PostAudioPublish"] = "post.audio.publish";
63
+ Permission["PostAudioArchive"] = "post.audio.archive";
64
+ Permission["PostAudioDelete"] = "post.audio.delete";
65
+ Permission["PostAudioBlock"] = "post.audio.block";
66
+ Permission["PostVideoView"] = "post.video.view";
67
+ Permission["PostVideoContent"] = "post.video.content";
68
+ Permission["PostVideoAssets"] = "post.video.assets";
69
+ Permission["PostVideoTopics"] = "post.video.topics";
70
+ Permission["PostVideoDraft"] = "post.video.draft";
71
+ Permission["PostVideoApprove"] = "post.video.approve";
72
+ Permission["PostVideoPublish"] = "post.video.publish";
73
+ Permission["PostVideoArchive"] = "post.video.archive";
74
+ Permission["PostVideoDelete"] = "post.video.delete";
75
+ Permission["PostVideoBlock"] = "post.video.block";
76
+ Permission["PostEventView"] = "post.event.view";
77
+ Permission["PostEventContent"] = "post.event.content";
78
+ Permission["PostEventAssets"] = "post.event.assets";
79
+ Permission["PostEventTopics"] = "post.event.topics";
80
+ Permission["PostEventDraft"] = "post.event.draft";
81
+ Permission["PostEventApprove"] = "post.event.approve";
82
+ Permission["PostEventPublish"] = "post.event.publish";
83
+ Permission["PostEventArchive"] = "post.event.archive";
84
+ Permission["PostEventDelete"] = "post.event.delete";
85
+ Permission["PostEventBlock"] = "post.event.block";
86
+ Permission["PostNewsView"] = "post.news.view";
87
+ Permission["PostNewsContent"] = "post.news.content";
88
+ Permission["PostNewsAssets"] = "post.news.assets";
89
+ Permission["PostNewsTopics"] = "post.news.topics";
90
+ Permission["PostNewsDraft"] = "post.news.draft";
91
+ Permission["PostNewsApprove"] = "post.news.approve";
92
+ Permission["PostNewsPublish"] = "post.news.publish";
93
+ Permission["PostNewsArchive"] = "post.news.archive";
94
+ Permission["PostNewsDelete"] = "post.news.delete";
95
+ Permission["PostNewsBlock"] = "post.news.block";
96
+ Permission["QuoteView"] = "quote.view";
97
+ Permission["QuoteManage"] = "quote.manage";
98
+ Permission["QuotePublish"] = "quote.publish";
99
+ Permission["AuthorView"] = "author.view";
100
+ Permission["AuthorManage"] = "author.manage";
101
+ Permission["AuthorMerge"] = "author.merge";
102
+ Permission["BoostView"] = "boost.view";
103
+ Permission["BoostManage"] = "boost.manage";
104
+ Permission["BoostPublish"] = "boost.publish";
105
+ Permission["CategoryView"] = "category.view";
106
+ Permission["CategoryManage"] = "category.manage";
107
+ Permission["CollectionView"] = "collection.view";
108
+ Permission["CollectionManage"] = "collection.manage";
109
+ Permission["FeedbackView"] = "feedback.view";
110
+ Permission["FeedbackManage"] = "feedback.manage";
111
+ Permission["FeedbackPublish"] = "feedback.publish";
112
+ Permission["PromotionView"] = "promotion.view";
113
+ Permission["PromotionManage"] = "promotion.manage";
114
+ Permission["PromotionPublish"] = "promotion.publish";
115
+ Permission["SurveyView"] = "survey.view";
116
+ Permission["SurveyManage"] = "survey.manage";
117
+ Permission["SurveyPublish"] = "survey.publish";
118
+ Permission["QuestionView"] = "question.view";
119
+ Permission["QuestionManage"] = "question.manage";
120
+ Permission["QuestionPublish"] = "question.publish";
121
+ Permission["TopicView"] = "topic.view";
122
+ Permission["TopicManage"] = "topic.manage";
123
+ Permission["ReportPerformance"] = "report.performance";
124
+ Permission["ReportFeedback"] = "report.feedback";
125
+ Permission["ReportPromotion"] = "report.promotion";
126
+ Permission["ReportSurvey"] = "report.survey";
127
+ Permission["ReportUser"] = "report.user";
45
128
  })(Permission || (exports.Permission = Permission = {}));
46
129
  //# sourceMappingURL=permissions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"permissions.js","sourceRoot":"","sources":["../../src/security/permissions.ts"],"names":[],"mappings":";;;AAKA,IAAY,UAgEX;AAhED,WAAY,UAAU;IAIrB,kDAAoC,CAAA;IACpC,oDAAsC,CAAA;IACtC,oDAAsC,CAAA;IACtC,kDAAoC,CAAA;IAIpC,mDAAqC,CAAA;IACrC,qDAAsC,CAAA;IACtC,qDAAuC,CAAA;IAIvC,2DAA6C,CAAA;IAC7C,6DAA+C,CAAA;IAC/C,+DAAiD,CAAA;IACjD,4CAA8B,CAAA;IAI9B,4CAA8B,CAAA;IAC9B,kDAAoC,CAAA;IACpC,iDAAmC,CAAA;IACnC,oDAAsC,CAAA;IACtC,8CAAgC,CAAA;IAChC,oDAAsC,CAAA;IACtC,4CAA8B,CAAA;IAI9B,2DAA6C,CAAA;IAC7C,6DAA8C,CAAA;IAC9C,6DAA+C,CAAA;IAI/C,iEAAmD,CAAA;IACnD,mEAAqD,CAAA;IACrD,iDAAmC,CAAA;IACnC,gDAAkC,CAAA;IAClC,8CAAgC,CAAA;IAChC,q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CAAA;IAC5B,4CAA8B,CAAA;IAI9B,4CAA8B,CAAA;IAC9B,gDAAkC,CAAA;IAIlC,gDAAkC,CAAA;IAClC,oDAAsC,CAAA;IAItC,4CAA8B,CAAA;IAC9B,gDAAkC,CAAA;IAClC,kDAAoC,CAAA;IAIpC,8CAAgC,CAAA;IAChC,kDAAoC,CAAA;IACpC,oDAAsC,CAAA;IAItC,wCAA0B,CAAA;IAC1B,4CAA8B,CAAA;IAC9B,8CAAgC,CAAA;IAIhC,4CAA8B,CAAA;IAC9B,gDAAkC,CAAA;IAClC,kDAAoC,CAAA;IAIpC,sCAAwB,CAAA;IACxB,0CAA4B,CAAA;IAI5B,sDAAwC,CAAA;IACxC,gDAAkC,CAAA;IAClC,kDAAoC,CAAA;IACpC,4CAA8B,CAAA;IAC9B,wCAA0B,CAAA;AAC3B,CAAC,EAzLW,UAAU,0BAAV,UAAU,QAyLrB"}
@@ -43,6 +43,7 @@ export declare class Survey {
43
43
  get totalItems(): Metric;
44
44
  setValidators(): void;
45
45
  validate(): void;
46
+ setLabel(): void;
46
47
  get statusContext(): Context;
47
48
  get labelContext(): Context;
48
49
  static toInstance(data: object, groups?: string[]): Survey;
@@ -20,6 +20,7 @@ const user_1 = require("../user");
20
20
  const metric_1 = require("../metric");
21
21
  const item_1 = require("../item");
22
22
  const ui_1 = require("../ui");
23
+ const luxon_1 = require("luxon");
23
24
  class Survey {
24
25
  id;
25
26
  slug;
@@ -156,6 +157,26 @@ class Survey {
156
157
  const isEnded = this.label === status_label_1.StatusLabel.Ended;
157
158
  this.authorisation.publish = !isExpired && !isEnded;
158
159
  }
160
+ this.setLabel();
161
+ }
162
+ setLabel() {
163
+ if (!this.startDate || !this.endDate) {
164
+ this.label = null;
165
+ }
166
+ const today = luxon_1.DateTime.now().startOf('day');
167
+ const startDate = luxon_1.DateTime.fromJSDate(this.startDate).startOf('day');
168
+ const endDate = luxon_1.DateTime.fromJSDate(this.endDate).endOf('day');
169
+ if (this.status === status_type_1.StatusType.Published && startDate <= today && endDate >= today) {
170
+ this.label = status_label_1.StatusLabel.Live;
171
+ }
172
+ if (startDate > today) {
173
+ this.label = status_label_1.StatusLabel.Upcoming;
174
+ }
175
+ if (endDate < today) {
176
+ this.label = this.status === status_type_1.StatusType.Published
177
+ ? status_label_1.StatusLabel.Ended
178
+ : status_label_1.StatusLabel.Expired;
179
+ }
159
180
  }
160
181
  get statusContext() {
161
182
  return this.status === status_type_1.StatusType.Published ? ui_1.Context.Info : ui_1.Context.Secondary;
@@ -294,6 +315,12 @@ __decorate([
294
315
  __metadata("design:paramtypes", []),
295
316
  __metadata("design:returntype", void 0)
296
317
  ], Survey.prototype, "validate", null);
318
+ __decorate([
319
+ (0, class_transformer_1.Expose)({ groups: ['admin'] }),
320
+ __metadata("design:type", Function),
321
+ __metadata("design:paramtypes", []),
322
+ __metadata("design:returntype", void 0)
323
+ ], Survey.prototype, "setLabel", null);
297
324
  __decorate([
298
325
  (0, class_transformer_1.Expose)({ groups: ['admin'] }),
299
326
  __metadata("design:type", String),
@@ -1 +1 @@
1
- {"version":3,"file":"survey.model.js","sourceRoot":"","sources":["../../src/survey/survey.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,uDAAmD;AACnD,yDAAqD;AACrD,yDAAgD;AAChD,mDAA0C;AAC1C,2DAAiD;AACjD,kCAAoC;AACpC,sCAAuC;AACvC,kCAA+B;AAC/B,8BAAgC;AAWhC,MAAa,MAAM;IAIlB,EAAE,CAAS;IAGX,IAAI,CAAS;IAKb,IAAI,CAAS;IAGb,WAAW,CAAS;IAGpB,QAAQ,CAAS;IAIjB,KAAK,CAAe;IAKpB,MAAM,CAAa;IAGnB,KAAK,CAAc;IAInB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,SAAS,CAAU;IAanB,OAAO,CAAW;IAMlB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,eAAe,CAAO;IAItB,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