evo360-types 1.3.262 → 1.3.265

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,3 @@
1
- // @evo360/types/index.ts
2
1
  export * from "./types/shared";
3
2
  export * from "./types/firebase/pubsub-sync";
4
3
  export * from "./types/evo-core";
@@ -15,13 +14,13 @@ export * from "./types/evo-med/dic";
15
14
  export * from "./types/evo-med/insurance";
16
15
  export * from "./types/evo-med/people";
17
16
  export * from "./types/evo-med/procedure";
18
- export * from "./types/evo-task";
19
17
  export * from "./types/evo-tags";
18
+ export * from "./types/evo-task";
20
19
  export * from "./types/evo-survey";
21
20
  export * from "./types/evo-finops";
22
21
  export * from "./types/evo-notif-user";
23
-
24
- // zod schemas
22
+ export * from "./types/evo-notifications";
23
+ export * from "./types/evo-task-runner";
25
24
  export * from "./apps/shared/zod-schemas";
26
25
  export * from "./apps/evo-core/zod-schemas";
27
26
  export * from "./apps/evo-tenant/zod-schemas";
@@ -44,3 +43,4 @@ export * from "./apps/evo-task/zod-schemas";
44
43
  export * from "./apps/evo-survey/zod-schemas";
45
44
  export * from "./apps/evo-finops/zod-schemas";
46
45
  export * from "./apps/evo-notif-user/zod-schemas";
46
+ export * from "./apps/evo-notifications/zod-schemas";
@@ -0,0 +1,4 @@
1
+ export declare const EVO_NOTIFICATIONS_APP = "evo-notifications";
2
+ export declare const NOTIFICATION_MESSAGES_COLLECTION = "messages";
3
+ export declare const NOTIFICATION_ATTEMPTS_COLLECTION = "attempts";
4
+ export declare const NOTIFICATION_LOGS_COLLECTION = "logs";
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NOTIFICATION_LOGS_COLLECTION = exports.NOTIFICATION_ATTEMPTS_COLLECTION = exports.NOTIFICATION_MESSAGES_COLLECTION = exports.EVO_NOTIFICATIONS_APP = void 0;
4
+ //EVO Notifications Application Doc
5
+ exports.EVO_NOTIFICATIONS_APP = "evo-notifications";
6
+ //Messages collection
7
+ exports.NOTIFICATION_MESSAGES_COLLECTION = "messages";
8
+ //Attempts sub-collection
9
+ exports.NOTIFICATION_ATTEMPTS_COLLECTION = "attempts";
10
+ //Logs sub-collection
11
+ exports.NOTIFICATION_LOGS_COLLECTION = "logs";
@@ -0,0 +1,11 @@
1
+ //EVO Notifications Application Doc
2
+ export const EVO_NOTIFICATIONS_APP = "evo-notifications";
3
+
4
+ //Messages collection
5
+ export const NOTIFICATION_MESSAGES_COLLECTION = "messages";
6
+
7
+ //Attempts sub-collection
8
+ export const NOTIFICATION_ATTEMPTS_COLLECTION = "attempts";
9
+
10
+ //Logs sub-collection
11
+ export const NOTIFICATION_LOGS_COLLECTION = "logs";
@@ -1,4 +1,5 @@
1
1
  import type { FirestoreDocumentReference, IFireDoc, IExternalLink } from "../shared";
2
+ export * from "./fb_collections";
2
3
  export declare const EvoNotificationsPermissions: {
3
4
  readonly List: "evo_notifications_read";
4
5
  readonly Get: "evo_notifications_read";
@@ -1,6 +1,21 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
17
  exports.NotificationRecipientKindEnum = exports.NotificationAttemptStatusEnum = exports.NotificationMessageStatusEnum = exports.NotificationChannelTypeEnum = exports.NotificationsTopics = exports.NotificationTaskKindEnum = exports.EvoNotificationsCollections = exports.EvoNotificationsPermissions = void 0;
18
+ __exportStar(require("./fb_collections"), exports);
4
19
  // Permissões para as notificações
5
20
  exports.EvoNotificationsPermissions = {
6
21
  List: "evo_notifications_read",
@@ -1,5 +1,7 @@
1
1
  import type { FirestoreDocumentReference, IFireDoc, IExternalLink } from "../shared";
2
2
 
3
+ export * from "./fb_collections";
4
+
3
5
  // Permissões para as notificações
4
6
  export const EvoNotificationsPermissions = {
5
7
  List: "evo_notifications_read",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.262",
3
+ "version": "1.3.265",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -9,7 +9,8 @@
9
9
  ],
10
10
  "scripts": {
11
11
  "prebuild": "node scripts/bump-version.cjs",
12
- "build": "tsc && copyfiles -u 1 src/**/*.ts dist",
12
+ "clean": "rimraf dist",
13
+ "build": "npm run clean && tsc && copyfiles -u 1 -e \"**/*.d.ts\" src/**/*.ts dist",
13
14
  "build-bkp": "tsc",
14
15
  "compile": "tsc",
15
16
  "bump": "node scripts/bump-version.cjs",
@@ -30,6 +31,9 @@
30
31
  "zod": "^3.25.76"
31
32
  },
32
33
  "devDependencies": {
33
- "semver": "^7.7.2"
34
+ "copyfiles": "^2.4.1",
35
+ "rimraf": "^6.0.1",
36
+ "semver": "^7.7.2",
37
+ "typescript": "~5.8.3"
34
38
  }
35
39
  }