@zyacreatives/shared 2.1.85 → 2.1.87
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/README.md +1 -1
- package/dist/constants.d.ts +5 -2
- package/dist/constants.js +5 -2
- package/package.json +1 -1
- package/src/constants.ts +487 -483
- package/src/index.ts +4 -4
- package/src/schemas/activity.ts +14 -14
- package/src/schemas/auth.ts +43 -43
- package/src/schemas/bookmark.ts +38 -38
- package/src/schemas/brand.ts +146 -146
- package/src/schemas/chat.ts +31 -31
- package/src/schemas/comment.ts +60 -60
- package/src/schemas/common.ts +22 -22
- package/src/schemas/creative.ts +222 -222
- package/src/schemas/discipline.ts +88 -88
- package/src/schemas/entity-stats.ts +43 -43
- package/src/schemas/feed.ts +11 -11
- package/src/schemas/file.ts +61 -61
- package/src/schemas/index.ts +21 -21
- package/src/schemas/investor.ts +211 -211
- package/src/schemas/job-application.ts +257 -257
- package/src/schemas/job.ts +364 -364
- package/src/schemas/like.ts +38 -38
- package/src/schemas/message.ts +112 -112
- package/src/schemas/notification.ts +71 -71
- package/src/schemas/post.ts +279 -279
- package/src/schemas/project.ts +298 -298
- package/src/schemas/user-strike.ts +21 -21
- package/src/schemas/user.ts +283 -283
- package/src/schemas/username.ts +11 -11
- package/src/schemas/view.ts +50 -50
- package/src/types/auth.ts +5 -5
- package/src/types/bookmark.ts +4 -4
- package/src/types/brand.ts +37 -37
- package/src/types/chat.ts +21 -21
- package/src/types/comment.ts +12 -12
- package/src/types/common.ts +9 -9
- package/src/types/creative.ts +33 -33
- package/src/types/discipline.ts +32 -32
- package/src/types/entity-stats.ts +4 -4
- package/src/types/feed.ts +5 -5
- package/src/types/file.ts +39 -39
- package/src/types/index.ts +22 -22
- package/src/types/investor.ts +34 -34
- package/src/types/job-application.ts +41 -41
- package/src/types/job.ts +71 -71
- package/src/types/like.ts +3 -3
- package/src/types/message.ts +23 -23
- package/src/types/notification.ts +34 -34
- package/src/types/post.ts +63 -63
- package/src/types/project.ts +65 -65
- package/src/types/user-strike.ts +10 -10
- package/src/types/user.ts +96 -96
- package/src/types/username.ts +4 -4
- package/src/utils/slugify.ts +10 -10
- package/tsconfig.json +13 -13
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# shared
|
|
1
|
+
# shared
|
package/dist/constants.d.ts
CHANGED
|
@@ -346,7 +346,7 @@ export declare const ANALYTICS_EVENTS: {
|
|
|
346
346
|
readonly LIKE: "post_like";
|
|
347
347
|
readonly BOOKMARK: "post_bookmark";
|
|
348
348
|
readonly VIEW_LIKES_LIST: "post_view_likes_list";
|
|
349
|
-
readonly TAG_CLICK:
|
|
349
|
+
readonly TAG_CLICK: (tag: string) => string;
|
|
350
350
|
readonly LINK_PREVIEW_CLICK: "post_link_preview_click";
|
|
351
351
|
readonly MEDIA_EXPAND: "post_media_expand";
|
|
352
352
|
readonly LIGHTBOX_NAV: "post_lightbox_nav";
|
|
@@ -354,7 +354,10 @@ export declare const ANALYTICS_EVENTS: {
|
|
|
354
354
|
readonly VIDEO_VIEW: "post_video_view";
|
|
355
355
|
readonly SHARE_MENU_OPEN: "post_share_menu_open";
|
|
356
356
|
readonly LINK_COPIED: "post_link_copied";
|
|
357
|
-
readonly
|
|
357
|
+
readonly SHARE_TWITTER: "post_shared_twitter";
|
|
358
|
+
readonly SHARE_FACEBOOK: "post_shared_facebook";
|
|
359
|
+
readonly SHARE_LINKEDIN: "post_shared_linkedin";
|
|
360
|
+
readonly SHARE_INSTAGRAM: "post_shared_instagram";
|
|
358
361
|
readonly DM_CLICK: "post_dm_click";
|
|
359
362
|
readonly FOLLOW: "post_creator_follow";
|
|
360
363
|
readonly UNFOLLOW: "post_creator_unfollow";
|
package/dist/constants.js
CHANGED
|
@@ -383,7 +383,7 @@ exports.ANALYTICS_EVENTS = {
|
|
|
383
383
|
LIKE: "post_like",
|
|
384
384
|
BOOKMARK: "post_bookmark",
|
|
385
385
|
VIEW_LIKES_LIST: "post_view_likes_list",
|
|
386
|
-
TAG_CLICK:
|
|
386
|
+
TAG_CLICK: (tag) => `post_tag_click_${tag}`,
|
|
387
387
|
LINK_PREVIEW_CLICK: "post_link_preview_click",
|
|
388
388
|
MEDIA_EXPAND: "post_media_expand",
|
|
389
389
|
LIGHTBOX_NAV: "post_lightbox_nav",
|
|
@@ -391,7 +391,10 @@ exports.ANALYTICS_EVENTS = {
|
|
|
391
391
|
VIDEO_VIEW: "post_video_view",
|
|
392
392
|
SHARE_MENU_OPEN: "post_share_menu_open",
|
|
393
393
|
LINK_COPIED: "post_link_copied",
|
|
394
|
-
|
|
394
|
+
SHARE_TWITTER: "post_shared_twitter",
|
|
395
|
+
SHARE_FACEBOOK: "post_shared_facebook",
|
|
396
|
+
SHARE_LINKEDIN: "post_shared_linkedin",
|
|
397
|
+
SHARE_INSTAGRAM: "post_shared_instagram",
|
|
395
398
|
DM_CLICK: "post_dm_click",
|
|
396
399
|
FOLLOW: "post_creator_follow",
|
|
397
400
|
UNFOLLOW: "post_creator_unfollow",
|