@things-factory/announcement 10.1.255 → 10.1.256

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const auth_base_1 = require("@things-factory/auth-base");
4
+ /*
5
+ * The work this module does through its doors that a report of one's week takes in by itself (ADR-0185 decision 6,
6
+ * Q5): The announcements written, published, reminded and withdrawn. Each name is a translation key of this module.
7
+ */
8
+ (0, auth_base_1.registerWorkDoors)([
9
+ { work: 'work.announcement.announcements', fields: ['createAnnouncement', 'updateAnnouncement', 'publishAnnouncement', 'remindAnnouncement', 'withdrawAnnouncement', 'deleteAnnouncement'] }
10
+ ]);
11
+ //# sourceMappingURL=work-doors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-doors.js","sourceRoot":"","sources":["../server/work-doors.ts"],"names":[],"mappings":";;AAAA,yDAA6D;AAE7D;;;GAGG;AACH,IAAA,6BAAiB,EAAC;IAChB,EAAE,IAAI,EAAE,iCAAiC,EAAE,MAAM,EAAE,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE;CAC7L,CAAC,CAAA","sourcesContent":["import { registerWorkDoors } from '@things-factory/auth-base'\n\n/*\n * The work this module does through its doors that a report of one's week takes in by itself (ADR-0185 decision 6,\n * Q5): The announcements written, published, reminded and withdrawn. Each name is a translation key of this module.\n */\nregisterWorkDoors([\n { work: 'work.announcement.announcements', fields: ['createAnnouncement', 'updateAnnouncement', 'publishAnnouncement', 'remindAnnouncement', 'withdrawAnnouncement', 'deleteAnnouncement'] }\n])\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/announcement",
3
- "version": "10.1.255",
3
+ "version": "10.1.256",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -36,18 +36,18 @@
36
36
  "@operato/shell": "^10.29.39",
37
37
  "@operato/styles": "^10.29.1",
38
38
  "@operato/utils": "^10.0.0",
39
- "@things-factory/ai-assistant": "^10.1.254",
40
- "@things-factory/attachment-base": "^10.1.254",
41
- "@things-factory/auth-base": "^10.1.254",
39
+ "@things-factory/ai-assistant": "^10.1.256",
40
+ "@things-factory/attachment-base": "^10.1.256",
41
+ "@things-factory/auth-base": "^10.1.256",
42
42
  "@things-factory/env": "^10.1.149",
43
- "@things-factory/i18n-base": "^10.1.254",
44
- "@things-factory/notification": "^10.1.255",
45
- "@things-factory/organization": "^10.1.255",
43
+ "@things-factory/i18n-base": "^10.1.256",
44
+ "@things-factory/notification": "^10.1.256",
45
+ "@things-factory/organization": "^10.1.256",
46
46
  "@things-factory/shell": "^10.1.254",
47
47
  "graphql-scalars": "^1.22.0",
48
48
  "graphql-tag": "^2.12.6",
49
49
  "graphql-upload": "^15.0.2",
50
50
  "lit": "^3.1.2"
51
51
  },
52
- "gitHead": "634cffb20ea9cf69baeb2f8b49a4bd91b2cf83e3"
52
+ "gitHead": "2fd641697190ce6e87bcf454a60b2321553e8110"
53
53
  }
package/server/index.ts CHANGED
@@ -14,3 +14,4 @@ registerAnnouncementReads()
14
14
 
15
15
  /* Scheduled announcements go out at their start (ADR-0163 decision 4). */
16
16
  process.on('bootstrap-module-start' as any, () => schedulePublishing())
17
+ import './work-doors'
@@ -0,0 +1,9 @@
1
+ import { registerWorkDoors } from '@things-factory/auth-base'
2
+
3
+ /*
4
+ * The work this module does through its doors that a report of one's week takes in by itself (ADR-0185 decision 6,
5
+ * Q5): The announcements written, published, reminded and withdrawn. Each name is a translation key of this module.
6
+ */
7
+ registerWorkDoors([
8
+ { work: 'work.announcement.announcements', fields: ['createAnnouncement', 'updateAnnouncement', 'publishAnnouncement', 'remindAnnouncement', 'withdrawAnnouncement', 'deleteAnnouncement'] }
9
+ ])
@@ -165,5 +165,6 @@
165
165
  "announcement.refusal.unknown-period": "The period is current or past.",
166
166
  "announcement.refusal.unknown-reader-state": "The reading state is one of unread, read, to acknowledge, acknowledged.",
167
167
  "announcement.period.current": "Current",
168
- "announcement.period.past": "Past"
168
+ "announcement.period.past": "Past",
169
+ "work.announcement.announcements": "Announcements"
169
170
  }
@@ -165,5 +165,6 @@
165
165
  "announcement.refusal.unknown-period": "El periodo es current o past.",
166
166
  "announcement.refusal.unknown-reader-state": "El estado de lectura es no leído, leído, por confirmar o confirmado.",
167
167
  "announcement.period.current": "Vigente",
168
- "announcement.period.past": "Pasado"
168
+ "announcement.period.past": "Pasado",
169
+ "work.announcement.announcements": "Avisos"
169
170
  }
@@ -165,5 +165,6 @@
165
165
  "announcement.refusal.unknown-period": "期間は current(現在)か past(過去)です。",
166
166
  "announcement.refusal.unknown-reader-state": "既読状態は 未読 · 既読 · 確認待ち · 確認済み から選びます。",
167
167
  "announcement.period.current": "現在",
168
- "announcement.period.past": "過去"
168
+ "announcement.period.past": "過去",
169
+ "work.announcement.announcements": "お知らせの作成・掲示"
169
170
  }
@@ -165,5 +165,6 @@
165
165
  "announcement.refusal.unknown-period": "기간은 현재(current) 또는 지난(past)입니다.",
166
166
  "announcement.refusal.unknown-reader-state": "읽음 상태는 안 읽음 · 읽음 · 확인 필요 · 확인함 가운데에서 고릅니다.",
167
167
  "announcement.period.current": "현재",
168
- "announcement.period.past": "지난"
168
+ "announcement.period.past": "지난",
169
+ "work.announcement.announcements": "공지 작성 · 게시"
169
170
  }
@@ -165,5 +165,6 @@
165
165
  "announcement.refusal.unknown-period": "Tempoh ialah current atau past.",
166
166
  "announcement.refusal.unknown-reader-state": "Keadaan bacaan ialah belum dibaca, dibaca, perlu diakui atau diakui.",
167
167
  "announcement.period.current": "Semasa",
168
- "announcement.period.past": "Lalu"
168
+ "announcement.period.past": "Lalu",
169
+ "work.announcement.announcements": "Pengumuman"
169
170
  }
@@ -165,5 +165,6 @@
165
165
  "announcement.refusal.unknown-period": "期间为 current(当前)或 past(往期)。",
166
166
  "announcement.refusal.unknown-reader-state": "阅读状态为 未读、已读、待确认、已确认 之一。",
167
167
  "announcement.period.current": "当前",
168
- "announcement.period.past": "往期"
168
+ "announcement.period.past": "往期",
169
+ "work.announcement.announcements": "公告编写与发布"
169
170
  }