@contractspec/module.notifications 0.0.0-canary-20260113170453 → 0.0.0-canary-20260113173657
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_contracts1 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/index.d.ts
|
|
5
5
|
declare const NotificationFilterEnum: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
@@ -237,7 +237,7 @@ declare const UpdatePreferencesInputModel: _contractspec_lib_schema0.SchemaModel
|
|
|
237
237
|
/**
|
|
238
238
|
* Send a notification.
|
|
239
239
|
*/
|
|
240
|
-
declare const SendNotificationContract:
|
|
240
|
+
declare const SendNotificationContract: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
241
241
|
userId: {
|
|
242
242
|
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
243
243
|
isOptional: false;
|
|
@@ -368,7 +368,7 @@ declare const SendNotificationContract: _contractspec_lib_contracts0.OperationSp
|
|
|
368
368
|
/**
|
|
369
369
|
* List notifications for current user.
|
|
370
370
|
*/
|
|
371
|
-
declare const ListNotificationsContract:
|
|
371
|
+
declare const ListNotificationsContract: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
372
372
|
status: {
|
|
373
373
|
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
374
374
|
isOptional: true;
|
|
@@ -447,7 +447,7 @@ declare const ListNotificationsContract: _contractspec_lib_contracts0.OperationS
|
|
|
447
447
|
/**
|
|
448
448
|
* Mark notification as read.
|
|
449
449
|
*/
|
|
450
|
-
declare const MarkNotificationReadContract:
|
|
450
|
+
declare const MarkNotificationReadContract: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
451
451
|
notificationId: {
|
|
452
452
|
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
453
453
|
isOptional: false;
|
|
@@ -498,7 +498,7 @@ declare const MarkNotificationReadContract: _contractspec_lib_contracts0.Operati
|
|
|
498
498
|
/**
|
|
499
499
|
* Mark all notifications as read.
|
|
500
500
|
*/
|
|
501
|
-
declare const MarkAllNotificationsReadContract:
|
|
501
|
+
declare const MarkAllNotificationsReadContract: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.AnySchemaModel, _contractspec_lib_schema0.SchemaModel<{
|
|
502
502
|
markedCount: {
|
|
503
503
|
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
504
504
|
isOptional: false;
|
|
@@ -507,7 +507,7 @@ declare const MarkAllNotificationsReadContract: _contractspec_lib_contracts0.Ope
|
|
|
507
507
|
/**
|
|
508
508
|
* Get notification preferences.
|
|
509
509
|
*/
|
|
510
|
-
declare const GetNotificationPreferencesContract:
|
|
510
|
+
declare const GetNotificationPreferencesContract: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.AnySchemaModel, _contractspec_lib_schema0.SchemaModel<{
|
|
511
511
|
userId: {
|
|
512
512
|
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
513
513
|
isOptional: false;
|
|
@@ -548,7 +548,7 @@ declare const GetNotificationPreferencesContract: _contractspec_lib_contracts0.O
|
|
|
548
548
|
/**
|
|
549
549
|
* Update notification preferences.
|
|
550
550
|
*/
|
|
551
|
-
declare const UpdateNotificationPreferencesContract:
|
|
551
|
+
declare const UpdateNotificationPreferencesContract: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
552
552
|
globalEnabled: {
|
|
553
553
|
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
554
554
|
isOptional: true;
|
|
@@ -622,7 +622,7 @@ declare const UpdateNotificationPreferencesContract: _contractspec_lib_contracts
|
|
|
622
622
|
/**
|
|
623
623
|
* Delete a notification.
|
|
624
624
|
*/
|
|
625
|
-
declare const DeleteNotificationContract:
|
|
625
|
+
declare const DeleteNotificationContract: _contractspec_lib_contracts1.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
626
626
|
notificationId: {
|
|
627
627
|
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
628
628
|
isOptional: false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/notifications.feature.d.ts
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import * as _contractspec_lib_contracts7 from "@contractspec/lib.contracts";
|
|
|
6
6
|
* Notifications feature module that bundles notification sending,
|
|
7
7
|
* listing, marking as read, and preference management capabilities.
|
|
8
8
|
*/
|
|
9
|
-
declare const NotificationsFeature:
|
|
9
|
+
declare const NotificationsFeature: _contractspec_lib_contracts0.FeatureModuleSpec;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { NotificationsFeature };
|
|
12
12
|
//# sourceMappingURL=notifications.feature.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/module.notifications",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20260113173657",
|
|
4
4
|
"description": "Notification center module for ContractSpec applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"lint:check": "eslint src"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@contractspec/lib.schema": "0.0.0-canary-
|
|
29
|
-
"@contractspec/lib.contracts": "0.0.0-canary-
|
|
30
|
-
"@contractspec/lib.bus": "0.0.0-canary-
|
|
28
|
+
"@contractspec/lib.schema": "0.0.0-canary-20260113173657",
|
|
29
|
+
"@contractspec/lib.contracts": "0.0.0-canary-20260113173657",
|
|
30
|
+
"@contractspec/lib.bus": "0.0.0-canary-20260113173657",
|
|
31
31
|
"zod": "^4.3.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@contractspec/tool.typescript": "0.0.0-canary-
|
|
35
|
-
"@contractspec/tool.tsdown": "0.0.0-canary-
|
|
34
|
+
"@contractspec/tool.typescript": "0.0.0-canary-20260113173657",
|
|
35
|
+
"@contractspec/tool.tsdown": "0.0.0-canary-20260113173657",
|
|
36
36
|
"typescript": "^5.9.3"
|
|
37
37
|
},
|
|
38
38
|
"exports": {
|