@zyacreatives/shared 1.6.2 → 1.6.3

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.
@@ -80,7 +80,17 @@ export declare const INVESTOR_VERIFICATION_DOCUMENT_TYPES: {
80
80
  readonly BUSINESS_REGISTRATION: "BUSINESS_REGISTRATION";
81
81
  readonly OTHER_CERTIFICATE: "OTHER_CERTIFICATE";
82
82
  };
83
+ export declare const LIKE_PARENT_TYPES: {
84
+ readonly PROJECT: "PROJECT";
85
+ readonly POST: "POST";
86
+ };
87
+ export declare const COMMENT_PARENT_TYPES: {
88
+ readonly PROJECT: "PROJECT";
89
+ readonly POST: "POST";
90
+ };
83
91
  export type Role = (typeof ROLES)[keyof typeof ROLES];
92
+ export type LikeParentType = (typeof LIKE_PARENT_TYPES)[keyof typeof LIKE_PARENT_TYPES];
93
+ export type CommentParentType = (typeof COMMENT_PARENT_TYPES)[keyof typeof COMMENT_PARENT_TYPES];
84
94
  export type UserStatus = (typeof USER_STATUSES)[keyof typeof USER_STATUSES];
85
95
  export type ClientType = (typeof CLIENT_TYPES)[keyof typeof CLIENT_TYPES];
86
96
  export type ExperienceLevel = (typeof EXPERIENCE_LEVELS)[keyof typeof EXPERIENCE_LEVELS];
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_DISCIPLINES = exports.API_ROUTES = exports.INVESTOR_VERIFICATION_DOCUMENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_STATUSES = exports.GEOGRAPHIC_FOCUS = exports.INVESTMENT_SIZES = exports.INVESTOR_TYPES = exports.ONBOARDING_PAGES = exports.EXPERIENCE_LEVELS = exports.CLIENT_TYPES = exports.USER_STATUSES = exports.ROLES = void 0;
3
+ exports.DEFAULT_DISCIPLINES = exports.API_ROUTES = exports.COMMENT_PARENT_TYPES = exports.LIKE_PARENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_STATUSES = exports.GEOGRAPHIC_FOCUS = exports.INVESTMENT_SIZES = exports.INVESTOR_TYPES = exports.ONBOARDING_PAGES = exports.EXPERIENCE_LEVELS = exports.CLIENT_TYPES = exports.USER_STATUSES = exports.ROLES = void 0;
4
4
  exports.ROLES = {
5
5
  CREATIVE: "CREATIVE",
6
6
  BRAND: "BRAND",
@@ -83,6 +83,11 @@ exports.INVESTOR_VERIFICATION_DOCUMENT_TYPES = {
83
83
  BUSINESS_REGISTRATION: "BUSINESS_REGISTRATION",
84
84
  OTHER_CERTIFICATE: "OTHER_CERTIFICATE",
85
85
  };
86
+ exports.LIKE_PARENT_TYPES = {
87
+ PROJECT: "PROJECT",
88
+ POST: "POST",
89
+ };
90
+ exports.COMMENT_PARENT_TYPES = exports.LIKE_PARENT_TYPES;
86
91
  exports.API_ROUTES = {
87
92
  healthCheck: "/health",
88
93
  username: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -90,7 +90,18 @@ export const INVESTOR_VERIFICATION_DOCUMENT_TYPES = {
90
90
  OTHER_CERTIFICATE: "OTHER_CERTIFICATE",
91
91
  } as const;
92
92
 
93
+ export const LIKE_PARENT_TYPES = {
94
+ PROJECT: "PROJECT",
95
+ POST: "POST",
96
+ } as const;
97
+
98
+ export const COMMENT_PARENT_TYPES = LIKE_PARENT_TYPES;
99
+
93
100
  export type Role = (typeof ROLES)[keyof typeof ROLES];
101
+ export type LikeParentType =
102
+ (typeof LIKE_PARENT_TYPES)[keyof typeof LIKE_PARENT_TYPES];
103
+ export type CommentParentType =
104
+ (typeof COMMENT_PARENT_TYPES)[keyof typeof COMMENT_PARENT_TYPES];
94
105
  export type UserStatus = (typeof USER_STATUSES)[keyof typeof USER_STATUSES];
95
106
  export type ClientType = (typeof CLIENT_TYPES)[keyof typeof CLIENT_TYPES];
96
107
  export type ExperienceLevel =
@@ -253,4 +264,4 @@ export const DEFAULT_DISCIPLINES = [
253
264
  { name: "Comics / Graphic Novels", slug: "comics_graphic_novels" },
254
265
  { name: "Curation", slug: "curation" },
255
266
  { name: "Creative Entrepreneurship", slug: "creative_entrepreneurship" },
256
- ];
267
+ ];