@zyacreatives/shared 2.0.37 → 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.
- package/dist/constants.d.ts +10 -0
- package/dist/constants.js +10 -1
- package/package.json +1 -1
- package/src/constants.ts +11 -0
package/dist/constants.d.ts
CHANGED
|
@@ -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",
|
package/package.json
CHANGED
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];
|