@feresmeryas/microservices-common 1.5.21 → 1.5.22
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.mts +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/index.js +384 -294
- package/dist/index.mjs +387 -301
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -196,6 +196,12 @@ declare class PostFileDto {
|
|
|
196
196
|
createdAt: Date;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
+
declare class TagResponseDto {
|
|
200
|
+
name: string;
|
|
201
|
+
slug: string;
|
|
202
|
+
id: string;
|
|
203
|
+
}
|
|
204
|
+
|
|
199
205
|
declare class PostResponseDto {
|
|
200
206
|
id: string;
|
|
201
207
|
publisherId: string;
|
|
@@ -203,6 +209,7 @@ declare class PostResponseDto {
|
|
|
203
209
|
publisherFullName: string;
|
|
204
210
|
publisherProfilePictureUrl: string | null;
|
|
205
211
|
files: PostFileDto[];
|
|
212
|
+
tags: TagResponseDto[];
|
|
206
213
|
commentsCount: number;
|
|
207
214
|
sector: BusinessSector;
|
|
208
215
|
likesCount: number;
|
|
@@ -218,8 +225,8 @@ declare class PaginatedPostsDto {
|
|
|
218
225
|
}
|
|
219
226
|
|
|
220
227
|
declare class UpdatePostDto {
|
|
221
|
-
description
|
|
222
|
-
sector
|
|
228
|
+
description?: string;
|
|
229
|
+
sector?: BusinessSector;
|
|
223
230
|
}
|
|
224
231
|
|
|
225
232
|
declare class PostFields {
|
|
@@ -347,4 +354,18 @@ declare class PaginatedCommentLikesDto {
|
|
|
347
354
|
totalPages: number;
|
|
348
355
|
}
|
|
349
356
|
|
|
350
|
-
|
|
357
|
+
declare class CreateOrGetTagDto {
|
|
358
|
+
name: string;
|
|
359
|
+
sector: BusinessSector;
|
|
360
|
+
type?: "SYSTEM" | "USER_GENERATED";
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
declare class GetTagsBySectorDto {
|
|
364
|
+
sector: BusinessSector;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
declare class SearchTagsDto {
|
|
368
|
+
name: string;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export { BusinessSector, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreateOrGetTagDto, CreatePostDto, CreatePostFileDto, CreateUserDto, CreateUserFireBaseDto, DeleteFileDto, type DeviceInfo, EmailParamDto, FileCategory, FileResponseDto, FindAllUsersDto, FindByRoleDto, ForgotPasswordDto, GetTagsBySectorDto, type IStorageProvider, LikeCommentDto, LikePostDto, LoginLocalDTO, PaginatedCommentLikesDto, PaginatedCommentsDto, PaginatedPostLikesDto, PaginatedPostsDto, PaginatedPostsSelfDto, PostFields, PostFileDto, PostLikeResponseDto, PostResponseDto, PostResponseSelfDto, ProfessionalProfileResponseDto, ReactionType, ReorderDto, ResetPasswordDto, SearchTagsDto, SearchUsersByFullNameDTO, TagResponseDto, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto };
|
package/dist/index.d.ts
CHANGED
|
@@ -196,6 +196,12 @@ declare class PostFileDto {
|
|
|
196
196
|
createdAt: Date;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
+
declare class TagResponseDto {
|
|
200
|
+
name: string;
|
|
201
|
+
slug: string;
|
|
202
|
+
id: string;
|
|
203
|
+
}
|
|
204
|
+
|
|
199
205
|
declare class PostResponseDto {
|
|
200
206
|
id: string;
|
|
201
207
|
publisherId: string;
|
|
@@ -203,6 +209,7 @@ declare class PostResponseDto {
|
|
|
203
209
|
publisherFullName: string;
|
|
204
210
|
publisherProfilePictureUrl: string | null;
|
|
205
211
|
files: PostFileDto[];
|
|
212
|
+
tags: TagResponseDto[];
|
|
206
213
|
commentsCount: number;
|
|
207
214
|
sector: BusinessSector;
|
|
208
215
|
likesCount: number;
|
|
@@ -218,8 +225,8 @@ declare class PaginatedPostsDto {
|
|
|
218
225
|
}
|
|
219
226
|
|
|
220
227
|
declare class UpdatePostDto {
|
|
221
|
-
description
|
|
222
|
-
sector
|
|
228
|
+
description?: string;
|
|
229
|
+
sector?: BusinessSector;
|
|
223
230
|
}
|
|
224
231
|
|
|
225
232
|
declare class PostFields {
|
|
@@ -347,4 +354,18 @@ declare class PaginatedCommentLikesDto {
|
|
|
347
354
|
totalPages: number;
|
|
348
355
|
}
|
|
349
356
|
|
|
350
|
-
|
|
357
|
+
declare class CreateOrGetTagDto {
|
|
358
|
+
name: string;
|
|
359
|
+
sector: BusinessSector;
|
|
360
|
+
type?: "SYSTEM" | "USER_GENERATED";
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
declare class GetTagsBySectorDto {
|
|
364
|
+
sector: BusinessSector;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
declare class SearchTagsDto {
|
|
368
|
+
name: string;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export { BusinessSector, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreateOrGetTagDto, CreatePostDto, CreatePostFileDto, CreateUserDto, CreateUserFireBaseDto, DeleteFileDto, type DeviceInfo, EmailParamDto, FileCategory, FileResponseDto, FindAllUsersDto, FindByRoleDto, ForgotPasswordDto, GetTagsBySectorDto, type IStorageProvider, LikeCommentDto, LikePostDto, LoginLocalDTO, PaginatedCommentLikesDto, PaginatedCommentsDto, PaginatedPostLikesDto, PaginatedPostsDto, PaginatedPostsSelfDto, PostFields, PostFileDto, PostLikeResponseDto, PostResponseDto, PostResponseSelfDto, ProfessionalProfileResponseDto, ReactionType, ReorderDto, ResetPasswordDto, SearchTagsDto, SearchUsersByFullNameDTO, TagResponseDto, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto };
|