evo360-types 1.1.88 → 1.1.89

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.
@@ -9,7 +9,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
9
9
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
10
10
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
11
11
  }, {
12
- recipientsIds: z.ZodArray<z.ZodString, "many">;
12
+ recipientIds: z.ZodArray<z.ZodString, "many">;
13
13
  creatorName: z.ZodString;
14
14
  creatorRef: z.ZodAny;
15
15
  docRef: z.ZodAny;
@@ -39,7 +39,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
39
39
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
40
40
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
41
41
  }, {
42
- recipientsIds: z.ZodArray<z.ZodString, "many">;
42
+ recipientIds: z.ZodArray<z.ZodString, "many">;
43
43
  creatorName: z.ZodString;
44
44
  creatorRef: z.ZodAny;
45
45
  docRef: z.ZodAny;
@@ -69,7 +69,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
69
69
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
70
70
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
71
71
  }, {
72
- recipientsIds: z.ZodArray<z.ZodString, "many">;
72
+ recipientIds: z.ZodArray<z.ZodString, "many">;
73
73
  creatorName: z.ZodString;
74
74
  creatorRef: z.ZodAny;
75
75
  docRef: z.ZodAny;
@@ -20,7 +20,7 @@ exports.zReadStatusSchema = zod_1.z.enum([
20
20
  ]);
21
21
  exports.zIActivityEventSchema = zod_schemas_1.zFireDocSchema // Extend from FireDocSchema
22
22
  .extend({
23
- recipientsIds: zod_1.z.array(zod_1.z.string()).min(1).max(500),
23
+ recipientIds: zod_1.z.array(zod_1.z.string()).min(1).max(500),
24
24
  creatorName: zod_1.z.string(),
25
25
  creatorRef: zod_1.z.any(),
26
26
  docRef: zod_1.z.any(),
@@ -23,7 +23,7 @@ export const zReadStatusSchema = z.enum([
23
23
 
24
24
  export const zIActivityEventSchema = zFireDocSchema // Extend from FireDocSchema
25
25
  .extend({
26
- recipientsIds: z.array(z.string()).min(1).max(500),
26
+ recipientIds: z.array(z.string()).min(1).max(500),
27
27
  creatorName: z.string(),
28
28
  creatorRef: z.any(),
29
29
  docRef: z.any(),
@@ -6,8 +6,8 @@ import type { SurveyAction, SurveyDeploymentAction } from "../evo-survey";
6
6
  import type { TaskAction } from "../evo-task";
7
7
  import type { TenantAction } from "../evo-tenant";
8
8
  import type { EvoApp, IFireDoc, ITag } from "../shared";
9
- export type ReadStatus = "new" | "unread" | "read" | "archived" | "dismissed" | "snoozed";
10
- export declare enum IReadStatus {
9
+ export type ActivityReadStatus = "new" | "unread" | "read" | "archived" | "dismissed" | "snoozed";
10
+ export declare enum IActivityReadStatus {
11
11
  New = "new",
12
12
  Unread = "unread",
13
13
  Read = "read",
@@ -16,13 +16,13 @@ export declare enum IReadStatus {
16
16
  Snoozed = "snoozed"
17
17
  }
18
18
  export interface IActivityEvent extends IFireDoc {
19
- recipientsIds: string[];
19
+ recipientIds: string[];
20
20
  creatorName: string;
21
21
  creatorPath?: string;
22
22
  docPath?: string;
23
23
  app: EvoApp;
24
24
  type: CalendarAction | MeetingAction | PeopleAction | SurveyAction | SurveyDeploymentAction | TaskAction | TenantAction;
25
- readStatus: ReadStatus;
25
+ readStatus: ActivityReadStatus;
26
26
  metadata?: Record<string, any>;
27
27
  tags?: ITag[] | null;
28
28
  }
@@ -14,14 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.IReadStatus = void 0;
17
+ exports.IActivityReadStatus = void 0;
18
18
  __exportStar(require("./fb_collections"), exports);
19
- var IReadStatus;
20
- (function (IReadStatus) {
21
- IReadStatus["New"] = "new";
22
- IReadStatus["Unread"] = "unread";
23
- IReadStatus["Read"] = "read";
24
- IReadStatus["Archived"] = "archived";
25
- IReadStatus["Dismissed"] = "dismissed";
26
- IReadStatus["Snoozed"] = "snoozed";
27
- })(IReadStatus = exports.IReadStatus || (exports.IReadStatus = {}));
19
+ var IActivityReadStatus;
20
+ (function (IActivityReadStatus) {
21
+ IActivityReadStatus["New"] = "new";
22
+ IActivityReadStatus["Unread"] = "unread";
23
+ IActivityReadStatus["Read"] = "read";
24
+ IActivityReadStatus["Archived"] = "archived";
25
+ IActivityReadStatus["Dismissed"] = "dismissed";
26
+ IActivityReadStatus["Snoozed"] = "snoozed";
27
+ })(IActivityReadStatus = exports.IActivityReadStatus || (exports.IActivityReadStatus = {}));
@@ -8,14 +8,14 @@ import type { TenantAction } from "../evo-tenant";
8
8
  import type { EvoApp, IFireDoc, ITag } from "../shared";
9
9
 
10
10
  // Enum for Tenant Action - used in Activities tracking
11
- export type ReadStatus =
11
+ export type ActivityReadStatus =
12
12
  | "new"
13
13
  | "unread"
14
14
  | "read"
15
15
  | "archived"
16
16
  | "dismissed"
17
17
  | "snoozed";
18
- export enum IReadStatus {
18
+ export enum IActivityReadStatus {
19
19
  New = "new",
20
20
  Unread = "unread",
21
21
  Read = "read",
@@ -26,7 +26,7 @@ export enum IReadStatus {
26
26
 
27
27
  // Interface for Event Instances (eventInstances)
28
28
  export interface IActivityEvent extends IFireDoc {
29
- recipientsIds: string[]; // List of recipients ids
29
+ recipientIds: string[]; // List of recipients ids
30
30
  creatorName: string; // Name of the user who created the meeting
31
31
  creatorPath?: string;
32
32
  docPath?: string;
@@ -39,7 +39,7 @@ export interface IActivityEvent extends IFireDoc {
39
39
  | SurveyDeploymentAction
40
40
  | TaskAction
41
41
  | TenantAction;
42
- readStatus: ReadStatus;
42
+ readStatus: ActivityReadStatus;
43
43
  metadata?: Record<string, any>;
44
44
  tags?: ITag[] | null;
45
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.1.88",
3
+ "version": "1.1.89",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",