@zyacreatives/shared 1.5.9 → 1.6.0
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/user.d.ts +17 -0
- package/dist/schemas/user.js +2 -1
- package/package.json +1 -1
- package/src/schemas/user.ts +3 -0
package/dist/schemas/user.d.ts
CHANGED
|
@@ -520,3 +520,20 @@ export declare const GetAuthenticatedUserWithUserFollowersOutputSchema: z.ZodObj
|
|
|
520
520
|
}>;
|
|
521
521
|
}, z.core.$strip>>;
|
|
522
522
|
}, z.core.$strip>;
|
|
523
|
+
export declare const GetAuthenticatedUserWithProjectLikesOutputSchema: z.ZodObject<{
|
|
524
|
+
userId: z.ZodCUID2;
|
|
525
|
+
projectLikes: z.ZodArray<z.ZodObject<{
|
|
526
|
+
projectId: z.ZodCUID2;
|
|
527
|
+
userId: z.ZodCUID2;
|
|
528
|
+
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
529
|
+
project: z.ZodObject<{
|
|
530
|
+
id: z.ZodString;
|
|
531
|
+
description: z.ZodOptional<z.ZodString>;
|
|
532
|
+
title: z.ZodString;
|
|
533
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
534
|
+
imagePlaceholderUrl: z.ZodString;
|
|
535
|
+
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
536
|
+
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
537
|
+
}, z.core.$strip>;
|
|
538
|
+
}, z.core.$strip>>;
|
|
539
|
+
}, z.core.$strip>;
|
package/dist/schemas/user.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetAuthenticatedUserWithUserFollowersOutputSchema = exports.GetAuthenticatedUserWithUserFollowingOutputSchema = exports.GetAuthenticatedUserWithProjectBookmarksOutputSchema = exports.GetAuthenticatedUserWithProjectsOutputSchema = exports.GetAuthenticatedUserProfileOutputSchema = exports.GetAuthenticatedUserOutputSchema = exports.GetUserFollowersOutputSchema = exports.GetUserFollowingOutputSchema = exports.UserWithFollowersEntitySchema = exports.UserWithFollowingEntitySchema = exports.GetUserFollowersInputSchema = exports.GetUserFollowingInputSchema = exports.UserWithProjectBookmarksEntitySchema = exports.UserWithProjectLikesEntitySchema = exports.UserWithProjectsEntitySchema = exports.UserProfileEntitySchema = exports.UserEntitySchema = exports.MinimalUserSchema = exports.BaseUserEntitySchema = exports.UserSocialGraphEntitySchema = void 0;
|
|
3
|
+
exports.GetAuthenticatedUserWithProjectLikesOutputSchema = exports.GetAuthenticatedUserWithUserFollowersOutputSchema = exports.GetAuthenticatedUserWithUserFollowingOutputSchema = exports.GetAuthenticatedUserWithProjectBookmarksOutputSchema = exports.GetAuthenticatedUserWithProjectsOutputSchema = exports.GetAuthenticatedUserProfileOutputSchema = exports.GetAuthenticatedUserOutputSchema = exports.GetUserFollowersOutputSchema = exports.GetUserFollowingOutputSchema = exports.UserWithFollowersEntitySchema = exports.UserWithFollowingEntitySchema = exports.GetUserFollowersInputSchema = exports.GetUserFollowingInputSchema = exports.UserWithProjectBookmarksEntitySchema = exports.UserWithProjectLikesEntitySchema = exports.UserWithProjectsEntitySchema = exports.UserProfileEntitySchema = exports.UserEntitySchema = exports.MinimalUserSchema = exports.BaseUserEntitySchema = exports.UserSocialGraphEntitySchema = void 0;
|
|
4
4
|
const zod_openapi_1 = require("@hono/zod-openapi");
|
|
5
5
|
const constants_1 = require("../constants");
|
|
6
6
|
const project_1 = require("./project");
|
|
@@ -137,3 +137,4 @@ exports.GetAuthenticatedUserWithProjectsOutputSchema = exports.UserWithProjectsE
|
|
|
137
137
|
exports.GetAuthenticatedUserWithProjectBookmarksOutputSchema = exports.UserWithProjectBookmarksEntitySchema;
|
|
138
138
|
exports.GetAuthenticatedUserWithUserFollowingOutputSchema = exports.UserWithFollowingEntitySchema;
|
|
139
139
|
exports.GetAuthenticatedUserWithUserFollowersOutputSchema = exports.UserWithFollowersEntitySchema;
|
|
140
|
+
exports.GetAuthenticatedUserWithProjectLikesOutputSchema = exports.UserWithProjectLikesEntitySchema;
|
package/package.json
CHANGED
package/src/schemas/user.ts
CHANGED
|
@@ -171,3 +171,6 @@ export const GetAuthenticatedUserWithUserFollowingOutputSchema =
|
|
|
171
171
|
|
|
172
172
|
export const GetAuthenticatedUserWithUserFollowersOutputSchema =
|
|
173
173
|
UserWithFollowersEntitySchema;
|
|
174
|
+
|
|
175
|
+
export const GetAuthenticatedUserWithProjectLikesOutputSchema =
|
|
176
|
+
UserWithProjectLikesEntitySchema;
|