@tutti-os/ui-notifications 0.0.10 → 0.0.12

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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as _zk_tech_bedrock_di from '@zk-tech/bedrock/di';
1
+ import * as _tutti_os_infra_di from '@tutti-os/infra/di';
2
2
 
3
3
  type NotificationLevel = "success" | "error" | "info" | "warning";
4
4
  interface NotificationInput {
@@ -16,6 +16,6 @@ interface NotificationService {
16
16
  info(input: NotificationInput): void;
17
17
  warning(input: NotificationInput): void;
18
18
  }
19
- declare const INotificationService: _zk_tech_bedrock_di.ServiceIdentifier<NotificationService>;
19
+ declare const INotificationService: _tutti_os_infra_di.ServiceIdentifier<NotificationService>;
20
20
 
21
21
  export { INotificationService, type NotificationInput, type NotificationLevel, type NotificationMessage, type NotificationService };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/index.ts
2
- import { createDecorator } from "@zk-tech/bedrock/di";
2
+ import { createDecorator } from "@tutti-os/infra/di";
3
3
  var INotificationService = createDecorator(
4
4
  "notification-service"
5
5
  );
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { createDecorator } from \"@zk-tech/bedrock/di\";\n\nexport type NotificationLevel = \"success\" | \"error\" | \"info\" | \"warning\";\n\nexport interface NotificationInput {\n description?: string;\n title: string;\n}\n\nexport interface NotificationMessage extends NotificationInput {\n level: NotificationLevel;\n}\n\nexport interface NotificationService {\n readonly _serviceBrand: undefined;\n\n notify(input: NotificationMessage): void;\n success(input: NotificationInput): void;\n error(input: NotificationInput): void;\n info(input: NotificationInput): void;\n warning(input: NotificationInput): void;\n}\n\nexport const INotificationService = createDecorator<NotificationService>(\n \"notification-service\"\n);\n"],"mappings":";AAAA,SAAS,uBAAuB;AAuBzB,IAAM,uBAAuB;AAAA,EAClC;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { createDecorator } from \"@tutti-os/infra/di\";\n\nexport type NotificationLevel = \"success\" | \"error\" | \"info\" | \"warning\";\n\nexport interface NotificationInput {\n description?: string;\n title: string;\n}\n\nexport interface NotificationMessage extends NotificationInput {\n level: NotificationLevel;\n}\n\nexport interface NotificationService {\n readonly _serviceBrand: undefined;\n\n notify(input: NotificationMessage): void;\n success(input: NotificationInput): void;\n error(input: NotificationInput): void;\n info(input: NotificationInput): void;\n warning(input: NotificationInput): void;\n}\n\nexport const INotificationService = createDecorator<NotificationService>(\n \"notification-service\"\n);\n"],"mappings":";AAAA,SAAS,uBAAuB;AAuBzB,IAAM,uBAAuB;AAAA,EAClC;AACF;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/ui-notifications",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  "directory": "packages/ui/notifications"
21
21
  },
22
22
  "dependencies": {
23
- "@zk-tech/bedrock": "0.3.2"
23
+ "@tutti-os/infra": "0.1.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "typescript": "^5.8.3",