@zyacreatives/shared 1.6.2 → 1.6.4

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,12 @@ 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 ACTIVITY_PARENT_TYPES: {
84
+ readonly PROJECT: "PROJECT";
85
+ readonly POST: "POST";
86
+ };
83
87
  export type Role = (typeof ROLES)[keyof typeof ROLES];
88
+ export type ActivityParentType = (typeof ACTIVITY_PARENT_TYPES)[keyof typeof ACTIVITY_PARENT_TYPES];
84
89
  export type UserStatus = (typeof USER_STATUSES)[keyof typeof USER_STATUSES];
85
90
  export type ClientType = (typeof CLIENT_TYPES)[keyof typeof CLIENT_TYPES];
86
91
  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.ACTIVITY_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,10 @@ exports.INVESTOR_VERIFICATION_DOCUMENT_TYPES = {
83
83
  BUSINESS_REGISTRATION: "BUSINESS_REGISTRATION",
84
84
  OTHER_CERTIFICATE: "OTHER_CERTIFICATE",
85
85
  };
86
+ exports.ACTIVITY_PARENT_TYPES = {
87
+ PROJECT: "PROJECT",
88
+ POST: "POST",
89
+ };
86
90
  exports.API_ROUTES = {
87
91
  healthCheck: "/health",
88
92
  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.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -90,7 +90,14 @@ export const INVESTOR_VERIFICATION_DOCUMENT_TYPES = {
90
90
  OTHER_CERTIFICATE: "OTHER_CERTIFICATE",
91
91
  } as const;
92
92
 
93
+ export const ACTIVITY_PARENT_TYPES = {
94
+ PROJECT: "PROJECT",
95
+ POST: "POST",
96
+ } as const;
97
+
93
98
  export type Role = (typeof ROLES)[keyof typeof ROLES];
99
+ export type ActivityParentType =
100
+ (typeof ACTIVITY_PARENT_TYPES)[keyof typeof ACTIVITY_PARENT_TYPES];
94
101
  export type UserStatus = (typeof USER_STATUSES)[keyof typeof USER_STATUSES];
95
102
  export type ClientType = (typeof CLIENT_TYPES)[keyof typeof CLIENT_TYPES];
96
103
  export type ExperienceLevel =
@@ -253,4 +260,4 @@ export const DEFAULT_DISCIPLINES = [
253
260
  { name: "Comics / Graphic Novels", slug: "comics_graphic_novels" },
254
261
  { name: "Curation", slug: "curation" },
255
262
  { name: "Creative Entrepreneurship", slug: "creative_entrepreneurship" },
256
- ];
263
+ ];