@fluojs/notifications 1.0.0-beta.1 → 1.0.0-beta.3
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.
- package/README.ko.md +26 -1
- package/README.md +26 -1
- package/dist/module.d.ts +2 -3
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +2 -2
- package/dist/types.d.ts +3 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
package/README.ko.md
CHANGED
|
@@ -71,8 +71,9 @@ export class AppModule {}
|
|
|
71
71
|
import { Inject } from '@fluojs/core';
|
|
72
72
|
import { NotificationsService } from '@fluojs/notifications';
|
|
73
73
|
|
|
74
|
+
@Inject(NotificationsService)
|
|
74
75
|
export class WelcomeService {
|
|
75
|
-
constructor(
|
|
76
|
+
constructor(private readonly notifications: NotificationsService) {}
|
|
76
77
|
|
|
77
78
|
async sendWelcomeEmail(userId: string, email: string) {
|
|
78
79
|
await this.notifications.dispatch({
|
|
@@ -88,6 +89,8 @@ export class WelcomeService {
|
|
|
88
89
|
}
|
|
89
90
|
```
|
|
90
91
|
|
|
92
|
+
`NotificationsModule.forRoot(...)`와 `NotificationsModule.forRootAsync(...)`는 `NotificationsService`, `NOTIFICATIONS`, `NOTIFICATION_CHANNELS`를 global provider로 export합니다. 애플리케이션 서비스는 fluo의 class-level `@Inject(...)` decorator로 의존성을 선언해야 standard-decorator DI container가 parameter decorator 없이 서비스를 resolve할 수 있습니다.
|
|
93
|
+
|
|
91
94
|
## 일반적인 패턴
|
|
92
95
|
|
|
93
96
|
### 큐 기반 대량 전달
|
|
@@ -115,8 +118,11 @@ Behavioral contract 메모:
|
|
|
115
118
|
|
|
116
119
|
- 알림 개수가 `bulkThreshold` 이상이면 대량 큐 위임이 시작됩니다.
|
|
117
120
|
- `dispatch()`는 queue adapter가 구성되어 있어도 기본적으로 직접 전달을 유지합니다. 단건 알림을 큐로 보내려면 `dispatch(..., { queue: true })`를 사용합니다.
|
|
121
|
+
- queue adapter가 있어도 직접 전달을 강제하려면 `dispatch(..., { queue: false })`를 사용합니다.
|
|
118
122
|
- 큐 기반 전달은 단건 dispatch에서는 opt-in이고, `dispatchMany(...)`에서는 threshold 기반으로 동작합니다.
|
|
123
|
+
- `dispatchMany(..., { continueOnError: true })`는 direct delivery에서 첫 실패를 던지는 대신 실패들을 수집합니다.
|
|
119
124
|
- queue enqueue가 실패하면 서비스는 enqueue 에러를 다시 던지기 전에 결정적인 `notification.dispatch.failed` 라이프사이클 이벤트를 발행합니다.
|
|
125
|
+
- `enqueueMany(...)`가 없으면 대량 queue delivery는 각 job을 개별적으로 enqueue하는 방식으로 fallback합니다.
|
|
120
126
|
- foundation 패키지는 특정 큐 구현을 가정하거나 import하지 않습니다.
|
|
121
127
|
|
|
122
128
|
### 이벤트 발행자를 통한 라이프사이클 발행
|
|
@@ -144,6 +150,8 @@ NotificationsModule.forRoot({
|
|
|
144
150
|
- `notification.dispatch.delivered`
|
|
145
151
|
- `notification.dispatch.failed`
|
|
146
152
|
|
|
153
|
+
`events.publisher`가 구성되어 있으면 `publishLifecycleEvents: false`를 설정하지 않는 한 lifecycle event publication은 기본으로 켜집니다. 채널 delivery가 `externalId`를 생략하면 dispatch result가 호출자에게 안정적으로 유지되도록 deterministic fallback delivery id가 부여됩니다.
|
|
154
|
+
|
|
147
155
|
### 의도적인 제한 사항
|
|
148
156
|
|
|
149
157
|
foundation 패키지는 의도적으로 다음을 **포함하지 않습니다**:
|
|
@@ -161,24 +169,41 @@ foundation 패키지는 의도적으로 다음을 **포함하지 않습니다**:
|
|
|
161
169
|
|
|
162
170
|
- `NotificationsModule.forRoot(options)` / `NotificationsModule.forRootAsync(options)`
|
|
163
171
|
- `NotificationsService`
|
|
172
|
+
- `NotificationsService.createPlatformStatusSnapshot()`
|
|
164
173
|
- `NOTIFICATIONS`
|
|
165
174
|
- `NOTIFICATION_CHANNELS`
|
|
166
175
|
|
|
167
176
|
### 계약(Contracts)
|
|
168
177
|
|
|
169
178
|
- `NotificationDispatchRequest`
|
|
179
|
+
- `NotificationDispatchOptions`
|
|
180
|
+
- `NotificationDispatchManyOptions`
|
|
181
|
+
- `NotificationDispatchResult`
|
|
182
|
+
- `NotificationDispatchFailure`
|
|
183
|
+
- `NotificationDispatchStatus`
|
|
170
184
|
- `NotificationChannel`
|
|
185
|
+
- `NotificationChannelContext`
|
|
186
|
+
- `NotificationChannelDelivery`
|
|
187
|
+
- `NotificationPayload`
|
|
171
188
|
- `NotificationsQueueAdapter`
|
|
189
|
+
- `NotificationsQueueJob`
|
|
190
|
+
- `NotificationsAsyncModuleOptions`
|
|
191
|
+
- `NotificationsEventsOptions`
|
|
172
192
|
- `NotificationsEventPublisher`
|
|
173
193
|
- `NotificationLifecycleEvent`
|
|
194
|
+
- `NotificationLifecycleEventName`
|
|
174
195
|
|
|
175
196
|
### 상태 및 에러
|
|
176
197
|
|
|
177
198
|
- `createNotificationsPlatformStatusSnapshot(...)`
|
|
199
|
+
- `NotificationsPlatformStatusSnapshot`
|
|
200
|
+
- `NotificationsStatusAdapterInput`
|
|
178
201
|
- `NotificationsConfigurationError`
|
|
179
202
|
- `NotificationChannelNotFoundError`
|
|
180
203
|
- `NotificationQueueNotConfiguredError`
|
|
181
204
|
|
|
205
|
+
상태 snapshot은 platform diagnostics를 위해 `operationMode`, dependency diagnostics, ownership, readiness, health 필드를 포함합니다.
|
|
206
|
+
|
|
182
207
|
## 관련 패키지
|
|
183
208
|
|
|
184
209
|
- `@fluojs/queue`: 대량 알림 전달을 백그라운드에서 처리하려는 경우 권장됩니다.
|
package/README.md
CHANGED
|
@@ -71,8 +71,9 @@ export class AppModule {}
|
|
|
71
71
|
import { Inject } from '@fluojs/core';
|
|
72
72
|
import { NotificationsService } from '@fluojs/notifications';
|
|
73
73
|
|
|
74
|
+
@Inject(NotificationsService)
|
|
74
75
|
export class WelcomeService {
|
|
75
|
-
constructor(
|
|
76
|
+
constructor(private readonly notifications: NotificationsService) {}
|
|
76
77
|
|
|
77
78
|
async sendWelcomeEmail(userId: string, email: string) {
|
|
78
79
|
await this.notifications.dispatch({
|
|
@@ -88,6 +89,8 @@ export class WelcomeService {
|
|
|
88
89
|
}
|
|
89
90
|
```
|
|
90
91
|
|
|
92
|
+
`NotificationsModule.forRoot(...)` and `NotificationsModule.forRootAsync(...)` export `NotificationsService`, `NOTIFICATIONS`, and `NOTIFICATION_CHANNELS` as global providers. Application services should declare dependencies with fluo's class-level `@Inject(...)` decorator so the standard-decorator DI container can resolve the service without parameter decorators.
|
|
93
|
+
|
|
91
94
|
## Common Patterns
|
|
92
95
|
|
|
93
96
|
### Queue-backed bulk delivery
|
|
@@ -115,8 +118,11 @@ Behavioral contract notes:
|
|
|
115
118
|
|
|
116
119
|
- Bulk queue delegation starts when the notification count reaches `bulkThreshold`.
|
|
117
120
|
- `dispatch()` stays direct by default even when a queue adapter is configured. Use `dispatch(..., { queue: true })` to opt one single notification into queue-backed delivery.
|
|
121
|
+
- Use `dispatch(..., { queue: false })` to force direct delivery even when a queue adapter exists.
|
|
118
122
|
- Queue-backed delivery is opt-in for single dispatch and threshold-driven for `dispatchMany(...)`.
|
|
123
|
+
- `dispatchMany(..., { continueOnError: true })` collects failures instead of throwing on the first failed direct delivery.
|
|
119
124
|
- When queue enqueue fails, the service emits deterministic `notification.dispatch.failed` lifecycle events before rethrowing the enqueue error to the caller.
|
|
125
|
+
- If `enqueueMany(...)` is unavailable, bulk queue delivery falls back to enqueueing each job individually.
|
|
120
126
|
- The foundation package does not assume or import a concrete queue implementation.
|
|
121
127
|
|
|
122
128
|
### Lifecycle publication through an event publisher
|
|
@@ -144,6 +150,8 @@ Published event names:
|
|
|
144
150
|
- `notification.dispatch.delivered`
|
|
145
151
|
- `notification.dispatch.failed`
|
|
146
152
|
|
|
153
|
+
If `events.publisher` is configured, lifecycle event publication defaults to on unless `publishLifecycleEvents: false` is set. Channel deliveries that omit `externalId` receive a deterministic fallback delivery id so dispatch results remain stable for callers.
|
|
154
|
+
|
|
147
155
|
### Intentional limitations
|
|
148
156
|
|
|
149
157
|
The foundation package intentionally does **not**:
|
|
@@ -161,24 +169,41 @@ These limitations are part of the package contract so leaf packages can evolve i
|
|
|
161
169
|
|
|
162
170
|
- `NotificationsModule.forRoot(options)` / `NotificationsModule.forRootAsync(options)`
|
|
163
171
|
- `NotificationsService`
|
|
172
|
+
- `NotificationsService.createPlatformStatusSnapshot()`
|
|
164
173
|
- `NOTIFICATIONS`
|
|
165
174
|
- `NOTIFICATION_CHANNELS`
|
|
166
175
|
|
|
167
176
|
### Contracts
|
|
168
177
|
|
|
169
178
|
- `NotificationDispatchRequest`
|
|
179
|
+
- `NotificationDispatchOptions`
|
|
180
|
+
- `NotificationDispatchManyOptions`
|
|
181
|
+
- `NotificationDispatchResult`
|
|
182
|
+
- `NotificationDispatchFailure`
|
|
183
|
+
- `NotificationDispatchStatus`
|
|
170
184
|
- `NotificationChannel`
|
|
185
|
+
- `NotificationChannelContext`
|
|
186
|
+
- `NotificationChannelDelivery`
|
|
187
|
+
- `NotificationPayload`
|
|
171
188
|
- `NotificationsQueueAdapter`
|
|
189
|
+
- `NotificationsQueueJob`
|
|
190
|
+
- `NotificationsAsyncModuleOptions`
|
|
191
|
+
- `NotificationsEventsOptions`
|
|
172
192
|
- `NotificationsEventPublisher`
|
|
173
193
|
- `NotificationLifecycleEvent`
|
|
194
|
+
- `NotificationLifecycleEventName`
|
|
174
195
|
|
|
175
196
|
### Status and errors
|
|
176
197
|
|
|
177
198
|
- `createNotificationsPlatformStatusSnapshot(...)`
|
|
199
|
+
- `NotificationsPlatformStatusSnapshot`
|
|
200
|
+
- `NotificationsStatusAdapterInput`
|
|
178
201
|
- `NotificationsConfigurationError`
|
|
179
202
|
- `NotificationChannelNotFoundError`
|
|
180
203
|
- `NotificationQueueNotConfiguredError`
|
|
181
204
|
|
|
205
|
+
Status snapshots include `operationMode`, dependency diagnostics, ownership, readiness, and health fields for platform diagnostics.
|
|
206
|
+
|
|
182
207
|
## Related Packages
|
|
183
208
|
|
|
184
209
|
- `@fluojs/queue`: Recommended when bulk notification delivery should run in the background.
|
package/dist/module.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { AsyncModuleOptions } from '@fluojs/core';
|
|
2
1
|
import { type ModuleType } from '@fluojs/runtime';
|
|
3
|
-
import type { NotificationsModuleOptions } from './types.js';
|
|
2
|
+
import type { NotificationsAsyncModuleOptions, NotificationsModuleOptions } from './types.js';
|
|
4
3
|
/** Runtime module entrypoint for notification orchestration. */
|
|
5
4
|
export declare class NotificationsModule {
|
|
6
5
|
/**
|
|
@@ -33,6 +32,6 @@ export declare class NotificationsModule {
|
|
|
33
32
|
* });
|
|
34
33
|
* ```
|
|
35
34
|
*/
|
|
36
|
-
static forRootAsync(options:
|
|
35
|
+
static forRootAsync(options: NotificationsAsyncModuleOptions): ModuleType;
|
|
37
36
|
}
|
|
38
37
|
//# sourceMappingURL=module.d.ts.map
|
package/dist/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAKhE,OAAO,KAAK,EAMV,+BAA+B,EAC/B,0BAA0B,EAC3B,MAAM,YAAY,CAAC;AA2GpB,gEAAgE;AAChE,qBAAa,mBAAmB;IAC9B;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,OAAO,CAAC,OAAO,GAAE,0BAA+B,GAAG,UAAU;IAIpE;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,+BAA+B,GAAG,UAAU;CAG1E"}
|
package/dist/module.js
CHANGED
|
@@ -48,7 +48,7 @@ function buildNotificationsModule(options) {
|
|
|
48
48
|
class NotificationsRootModuleDefinition {}
|
|
49
49
|
return defineModule(NotificationsRootModuleDefinition, {
|
|
50
50
|
exports: [NotificationsService, NOTIFICATIONS, NOTIFICATION_CHANNELS],
|
|
51
|
-
global: true,
|
|
51
|
+
global: options.global ?? true,
|
|
52
52
|
providers: buildNotificationsProviders(options)
|
|
53
53
|
});
|
|
54
54
|
}
|
|
@@ -64,7 +64,7 @@ function buildNotificationsModuleAsync(options) {
|
|
|
64
64
|
};
|
|
65
65
|
return defineModule(NotificationsAsyncModuleDefinition, {
|
|
66
66
|
exports: [NotificationsService, NOTIFICATIONS, NOTIFICATION_CHANNELS],
|
|
67
|
-
global: true,
|
|
67
|
+
global: options.global ?? true,
|
|
68
68
|
providers: createNotificationsRuntimeProviders({
|
|
69
69
|
inject: options.inject,
|
|
70
70
|
provide: NOTIFICATIONS_OPTIONS,
|
package/dist/types.d.ts
CHANGED
|
@@ -117,6 +117,8 @@ export interface NotificationsEventsOptions {
|
|
|
117
117
|
export interface NotificationsModuleOptions {
|
|
118
118
|
channels?: readonly NotificationChannel[];
|
|
119
119
|
events?: NotificationsEventsOptions;
|
|
120
|
+
/** Whether notification providers should be visible globally. Defaults to `true`. */
|
|
121
|
+
global?: boolean;
|
|
120
122
|
queue?: NotificationsQueueOptions;
|
|
121
123
|
}
|
|
122
124
|
/** Normalized module options resolved once during module registration. */
|
|
@@ -184,5 +186,5 @@ export interface Notifications {
|
|
|
184
186
|
dispatchMany<TRequest extends NotificationDispatchRequest>(notifications: readonly TRequest[], options?: NotificationDispatchManyOptions): Promise<NotificationDispatchBatchResult<TRequest>>;
|
|
185
187
|
}
|
|
186
188
|
/** Async registration options for notifications modules that derive config through DI. */
|
|
187
|
-
export type NotificationsAsyncModuleOptions = AsyncModuleOptions<NotificationsModuleOptions>;
|
|
189
|
+
export type NotificationsAsyncModuleOptions = AsyncModuleOptions<Omit<NotificationsModuleOptions, 'global'>> & Pick<NotificationsModuleOptions, 'global'>;
|
|
188
190
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
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B,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAEvC;;;;;;;OAOG;IACH,YAAY,CAAC,QAAQ,SAAS,2BAA2B,EACvD,aAAa,EAAE,SAAS,QAAQ,EAAE,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,+BAA+B,CAAC,QAAQ,CAAC,CAAC,CAAC;CACvD;AAED,0FAA0F;AAC1F,MAAM,MAAM,+BAA+B,GAAG,kBAAkB,CAAC,IAAI,CAAC,0BAA0B,EAAE,QAAQ,CAAC,CAAC,GAAG,IAAI,CAAC,0BAA0B,EAAE,QAAQ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"event-bus",
|
|
10
10
|
"channels"
|
|
11
11
|
],
|
|
12
|
-
"version": "1.0.0-beta.
|
|
12
|
+
"version": "1.0.0-beta.3",
|
|
13
13
|
"private": false,
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"repository": {
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@fluojs/core": "^1.0.0-beta.
|
|
40
|
-
"@fluojs/di": "^1.0.0-beta.
|
|
41
|
-
"@fluojs/runtime": "^1.0.0-beta.
|
|
39
|
+
"@fluojs/core": "^1.0.0-beta.4",
|
|
40
|
+
"@fluojs/di": "^1.0.0-beta.6",
|
|
41
|
+
"@fluojs/runtime": "^1.0.0-beta.11"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"vitest": "^3.2.4"
|