@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.
- package/dist/schemas/chat.d.ts +4 -0
- package/dist/schemas/chat.js +2 -0
- package/dist/schemas/post.d.ts +1 -0
- package/dist/schemas/post.js +1 -0
- package/package.json +1 -1
- package/src/schemas/chat.ts +2 -0
- package/src/schemas/post.ts +1 -0
package/dist/schemas/chat.d.ts
CHANGED
|
@@ -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>;
|
package/dist/schemas/chat.js
CHANGED
|
@@ -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(),
|
package/dist/schemas/post.d.ts
CHANGED
package/dist/schemas/post.js
CHANGED
|
@@ -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
package/src/schemas/chat.ts
CHANGED
|
@@ -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(),
|
package/src/schemas/post.ts
CHANGED
|
@@ -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"]),
|