@zyacreatives/shared 2.0.36 → 2.0.38

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.
@@ -146,6 +146,15 @@ export declare const JOB_LOCATIONS: {
146
146
  readonly GLOBAL: "Global";
147
147
  readonly OTHER: "Other";
148
148
  };
149
+ export declare const MESSAGE_TYPES: {
150
+ readonly MARKETPLACE: "MARKETPLACE";
151
+ readonly PROJECT: "PROJECT";
152
+ readonly JOB_OPENING: "JOB_OPENING";
153
+ readonly DEFAULT_MESSAGE: "DEFAULT_MESSAGE";
154
+ readonly MESSAGE_WITH_LINKS: "MESSAGE_WITH_LINKS";
155
+ readonly MESSAGE_WITH_MEDIA: "MESSAGE_WITH_MEDIA";
156
+ readonly MESSAGE_WITH_MEDIA_AND_LINKS: "MESSAGE_WITH_MEDIA_AND_LINKS";
157
+ };
149
158
  export type JobLocation = (typeof JOB_LOCATIONS)[keyof typeof JOB_LOCATIONS];
150
159
  export declare const GIG_TYPE: {
151
160
  readonly ONE_TIME: "One Time";
@@ -199,6 +208,7 @@ export type EmploymentType = (typeof EMPLOYMENT_TYPE)[keyof typeof EMPLOYMENT_TY
199
208
  export type JobAvailabilityTypes = (typeof JOB_AVAILABILITY_TYPES)[keyof typeof JOB_AVAILABILITY_TYPES];
200
209
  export type WageTypes = (typeof WAGE_TYPES)[keyof typeof WAGE_TYPES];
201
210
  export type PostType = (typeof POST_TYPES)[keyof typeof POST_TYPES];
211
+ export type MessageType = (typeof MESSAGE_TYPES)[keyof typeof MESSAGE_TYPES];
202
212
  export type ActivityParentType = (typeof ACTIVITY_PARENT_TYPES)[keyof typeof ACTIVITY_PARENT_TYPES];
203
213
  export type UserStatus = (typeof USER_STATUSES)[keyof typeof USER_STATUSES];
204
214
  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_TYPES = exports.POST_BADGE_TYPES = exports.JOB_STATUS = exports.WAGES_CURRENCY = exports.GIG_TYPE = exports.JOB_LOCATIONS = exports.JOB_SECTIONS = exports.WAGE_TYPES = exports.JOB_AVAILABILITY_TYPES = exports.EMPLOYMENT_TYPE = exports.WORK_MODE = exports.JOB_TYPE = 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;
3
+ exports.DEFAULT_DISCIPLINES = exports.API_ROUTES = exports.ACTIVITY_TYPES = exports.POST_BADGE_TYPES = exports.JOB_STATUS = exports.WAGES_CURRENCY = exports.GIG_TYPE = exports.MESSAGE_TYPES = exports.JOB_LOCATIONS = exports.JOB_SECTIONS = exports.WAGE_TYPES = exports.JOB_AVAILABILITY_TYPES = exports.EMPLOYMENT_TYPE = exports.WORK_MODE = exports.JOB_TYPE = 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",
@@ -149,6 +149,15 @@ exports.JOB_LOCATIONS = {
149
149
  GLOBAL: "Global",
150
150
  OTHER: "Other",
151
151
  };
152
+ exports.MESSAGE_TYPES = {
153
+ MARKETPLACE: "MARKETPLACE",
154
+ PROJECT: "PROJECT",
155
+ JOB_OPENING: "JOB_OPENING",
156
+ DEFAULT_MESSAGE: "DEFAULT_MESSAGE",
157
+ MESSAGE_WITH_LINKS: "MESSAGE_WITH_LINKS",
158
+ MESSAGE_WITH_MEDIA: "MESSAGE_WITH_MEDIA",
159
+ MESSAGE_WITH_MEDIA_AND_LINKS: "MESSAGE_WITH_MEDIA_AND_LINKS",
160
+ };
152
161
  exports.GIG_TYPE = {
153
162
  ONE_TIME: "One Time",
154
163
  RECURRING: "Recurring",
@@ -6,6 +6,7 @@ export * from "./file";
6
6
  export * from "./investor";
7
7
  export * from "./project";
8
8
  export * from "./user";
9
+ export * from "./comment";
9
10
  export * from "./username";
10
11
  export * from "./entity-stats";
11
12
  export * from "./post";
@@ -22,6 +22,7 @@ __exportStar(require("./file"), exports);
22
22
  __exportStar(require("./investor"), exports);
23
23
  __exportStar(require("./project"), exports);
24
24
  __exportStar(require("./user"), exports);
25
+ __exportStar(require("./comment"), exports);
25
26
  __exportStar(require("./username"), exports);
26
27
  __exportStar(require("./entity-stats"), exports);
27
28
  __exportStar(require("./post"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.0.36",
3
+ "version": "2.0.38",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -164,6 +164,16 @@ export const JOB_LOCATIONS = {
164
164
  OTHER: "Other",
165
165
  } as const;
166
166
 
167
+ export const MESSAGE_TYPES = {
168
+ MARKETPLACE: "MARKETPLACE",
169
+ PROJECT: "PROJECT",
170
+ JOB_OPENING: "JOB_OPENING",
171
+ DEFAULT_MESSAGE: "DEFAULT_MESSAGE",
172
+ MESSAGE_WITH_LINKS: "MESSAGE_WITH_LINKS",
173
+ MESSAGE_WITH_MEDIA: "MESSAGE_WITH_MEDIA",
174
+ MESSAGE_WITH_MEDIA_AND_LINKS: "MESSAGE_WITH_MEDIA_AND_LINKS",
175
+ } as const;
176
+
167
177
  export type JobLocation = (typeof JOB_LOCATIONS)[keyof typeof JOB_LOCATIONS];
168
178
 
169
179
  export const GIG_TYPE = {
@@ -226,6 +236,7 @@ export type JobAvailabilityTypes =
226
236
  (typeof JOB_AVAILABILITY_TYPES)[keyof typeof JOB_AVAILABILITY_TYPES];
227
237
  export type WageTypes = (typeof WAGE_TYPES)[keyof typeof WAGE_TYPES];
228
238
  export type PostType = (typeof POST_TYPES)[keyof typeof POST_TYPES];
239
+ export type MessageType = (typeof MESSAGE_TYPES)[keyof typeof MESSAGE_TYPES];
229
240
  export type ActivityParentType =
230
241
  (typeof ACTIVITY_PARENT_TYPES)[keyof typeof ACTIVITY_PARENT_TYPES];
231
242
  export type UserStatus = (typeof USER_STATUSES)[keyof typeof USER_STATUSES];
@@ -6,6 +6,7 @@ export * from "./file";
6
6
  export * from "./investor";
7
7
  export * from "./project";
8
8
  export * from "./user";
9
+ export * from "./comment";
9
10
  export * from "./username";
10
11
  export * from "./entity-stats";
11
12
  export * from "./post";