@zyacreatives/shared 2.1.89 → 2.1.91

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.
@@ -16,6 +16,8 @@ export declare const ChatEntitySchema: z.ZodObject<{
16
16
  deletedAt: z.ZodCoercedDate<unknown>;
17
17
  senderImgUrl: z.ZodOptional<z.ZodString>;
18
18
  senderName: z.ZodString;
19
+ senderUsername: z.ZodString;
20
+ receiverUsername: z.ZodString;
19
21
  receiverImgUrl: z.ZodOptional<z.ZodString>;
20
22
  receiverName: z.ZodString;
21
23
  lastMessageSent: z.ZodOptional<z.ZodString>;
@@ -44,6 +46,8 @@ export declare const GetChatsOutputSchema: z.ZodArray<z.ZodObject<{
44
46
  deletedAt: z.ZodCoercedDate<unknown>;
45
47
  senderImgUrl: z.ZodOptional<z.ZodString>;
46
48
  senderName: z.ZodString;
49
+ senderUsername: z.ZodString;
50
+ receiverUsername: z.ZodString;
47
51
  receiverImgUrl: z.ZodOptional<z.ZodString>;
48
52
  receiverName: z.ZodString;
49
53
  lastMessageSent: z.ZodOptional<z.ZodString>;
@@ -13,6 +13,8 @@ exports.BaseChatEntitySchema = zod_openapi_1.z.object({
13
13
  exports.ChatEntitySchema = exports.BaseChatEntitySchema.extend({
14
14
  senderImgUrl: zod_openapi_1.z.string().optional(),
15
15
  senderName: zod_openapi_1.z.string(),
16
+ senderUsername: zod_openapi_1.z.string(),
17
+ receiverUsername: zod_openapi_1.z.string(),
16
18
  receiverImgUrl: zod_openapi_1.z.string().optional(),
17
19
  receiverName: zod_openapi_1.z.string(),
18
20
  lastMessageSent: zod_openapi_1.z.string().optional(),
@@ -676,6 +676,7 @@ export declare const PostAnalyticsOutputSchema: z.ZodObject<{
676
676
  sentiment: z.ZodObject<{
677
677
  positive: z.ZodNumber;
678
678
  negative: z.ZodNumber;
679
+ score: z.ZodNumber;
679
680
  reports: z.ZodNumber;
680
681
  notInterested: z.ZodNumber;
681
682
  status: z.ZodEnum<{
@@ -244,6 +244,7 @@ exports.PostAnalyticsOutputSchema = zod_openapi_1.z.object({
244
244
  sentiment: zod_openapi_1.z.object({
245
245
  positive: zod_openapi_1.z.number(),
246
246
  negative: zod_openapi_1.z.number(),
247
+ score: zod_openapi_1.z.number(),
247
248
  reports: zod_openapi_1.z.number(),
248
249
  notInterested: zod_openapi_1.z.number(),
249
250
  status: zod_openapi_1.z.enum(["Healthy", "Polarizing"]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.89",
3
+ "version": "2.1.91",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,6 +12,8 @@ export const BaseChatEntitySchema = z.object({
12
12
  export const ChatEntitySchema = BaseChatEntitySchema.extend({
13
13
  senderImgUrl: z.string().optional(),
14
14
  senderName: z.string(),
15
+ senderUsername: z.string(),
16
+ receiverUsername: z.string(),
15
17
  receiverImgUrl: z.string().optional(),
16
18
  receiverName: z.string(),
17
19
  lastMessageSent: z.string().optional(),
@@ -282,6 +282,7 @@ export const PostAnalyticsOutputSchema = z.object({
282
282
  sentiment: z.object({
283
283
  positive: z.number(),
284
284
  negative: z.number(),
285
+ score: z.number(),
285
286
  reports: z.number(),
286
287
  notInterested: z.number(),
287
288
  status: z.enum(["Healthy", "Polarizing"]),