@zyacreatives/shared 1.7.0 → 1.7.2

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.
@@ -84,7 +84,15 @@ export declare const ACTIVITY_PARENT_TYPES: {
84
84
  readonly PROJECT: "PROJECT";
85
85
  readonly POST: "POST";
86
86
  };
87
+ export declare const POST_TYPES: {
88
+ readonly MARKETPLACE: "MARKETPLACE";
89
+ readonly PROJECT: "PROJECT";
90
+ readonly JOB_OPENING: "JOB_OPENING";
91
+ readonly DEFAULT_POST: "DEFAULT_POST";
92
+ readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
93
+ };
87
94
  export type Role = (typeof ROLES)[keyof typeof ROLES];
95
+ export type PostType = (typeof POST_TYPES)[keyof typeof POST_TYPES];
88
96
  export type ActivityParentType = (typeof ACTIVITY_PARENT_TYPES)[keyof typeof ACTIVITY_PARENT_TYPES];
89
97
  export type UserStatus = (typeof USER_STATUSES)[keyof typeof USER_STATUSES];
90
98
  export type ClientType = (typeof CLIENT_TYPES)[keyof typeof CLIENT_TYPES];
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.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;
3
+ exports.DEFAULT_DISCIPLINES = exports.API_ROUTES = exports.POST_TYPES = 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",
@@ -87,6 +87,13 @@ exports.ACTIVITY_PARENT_TYPES = {
87
87
  PROJECT: "PROJECT",
88
88
  POST: "POST",
89
89
  };
90
+ exports.POST_TYPES = {
91
+ MARKETPLACE: "MARKETPLACE",
92
+ PROJECT: "PROJECT",
93
+ JOB_OPENING: "JOB_OPENING",
94
+ DEFAULT_POST: "DEFAULT_POST",
95
+ POST_WITH_MEDIA: "POST_WITH_MEDIA",
96
+ };
90
97
  exports.API_ROUTES = {
91
98
  healthCheck: "/health",
92
99
  username: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -95,7 +95,16 @@ export const ACTIVITY_PARENT_TYPES = {
95
95
  POST: "POST",
96
96
  } as const;
97
97
 
98
+ export const POST_TYPES = {
99
+ MARKETPLACE: "MARKETPLACE",
100
+ PROJECT: "PROJECT",
101
+ JOB_OPENING: "JOB_OPENING",
102
+ DEFAULT_POST: "DEFAULT_POST",
103
+ POST_WITH_MEDIA: "POST_WITH_MEDIA",
104
+ } as const;
105
+
98
106
  export type Role = (typeof ROLES)[keyof typeof ROLES];
107
+ export type PostType = (typeof POST_TYPES)[keyof typeof POST_TYPES];
99
108
  export type ActivityParentType =
100
109
  (typeof ACTIVITY_PARENT_TYPES)[keyof typeof ACTIVITY_PARENT_TYPES];
101
110
  export type UserStatus = (typeof USER_STATUSES)[keyof typeof USER_STATUSES];