@zyacreatives/shared 2.0.32 → 2.0.33
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 +8 -0
- package/dist/constants.js +8 -1
- package/package.json +1 -1
- package/src/constants.ts +8 -0
package/dist/constants.d.ts
CHANGED
|
@@ -179,6 +179,14 @@ export declare const POST_BADGE_TYPES: {
|
|
|
179
179
|
readonly DISCUSSION: "Discussion";
|
|
180
180
|
readonly MENTORSHIP: "Mentorship";
|
|
181
181
|
};
|
|
182
|
+
export declare const ACTIVITY_TYPES: {
|
|
183
|
+
readonly LIKE: "LIKE";
|
|
184
|
+
readonly UNLIKE: "UNLIKE";
|
|
185
|
+
readonly BOOKMARK: "BOOKMARK";
|
|
186
|
+
readonly UNBOOKMARK: "UNBOOKMARK";
|
|
187
|
+
readonly VIEW: "VIEW";
|
|
188
|
+
};
|
|
189
|
+
export type ActivityType = (typeof ACTIVITY_TYPES)[keyof typeof ACTIVITY_TYPES];
|
|
182
190
|
export type PostBadgeType = (typeof POST_BADGE_TYPES)[keyof typeof POST_BADGE_TYPES];
|
|
183
191
|
export type JobSections = (typeof JOB_SECTIONS)[keyof typeof JOB_SECTIONS];
|
|
184
192
|
export type WagesCurrency = (typeof WAGES_CURRENCY)[keyof typeof WAGES_CURRENCY];
|
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.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.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",
|
|
@@ -181,6 +181,13 @@ exports.POST_BADGE_TYPES = {
|
|
|
181
181
|
DISCUSSION: "Discussion",
|
|
182
182
|
MENTORSHIP: "Mentorship",
|
|
183
183
|
};
|
|
184
|
+
exports.ACTIVITY_TYPES = {
|
|
185
|
+
LIKE: "LIKE",
|
|
186
|
+
UNLIKE: "UNLIKE",
|
|
187
|
+
BOOKMARK: "BOOKMARK",
|
|
188
|
+
UNBOOKMARK: "UNBOOKMARK",
|
|
189
|
+
VIEW: "VIEW",
|
|
190
|
+
};
|
|
184
191
|
exports.API_ROUTES = {
|
|
185
192
|
healthCheck: "/health",
|
|
186
193
|
username: {
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -202,6 +202,14 @@ export const POST_BADGE_TYPES = {
|
|
|
202
202
|
MENTORSHIP: "Mentorship",
|
|
203
203
|
} as const;
|
|
204
204
|
|
|
205
|
+
export const ACTIVITY_TYPES = {
|
|
206
|
+
LIKE: "LIKE",
|
|
207
|
+
UNLIKE: "UNLIKE",
|
|
208
|
+
BOOKMARK: "BOOKMARK",
|
|
209
|
+
UNBOOKMARK: "UNBOOKMARK",
|
|
210
|
+
VIEW: "VIEW",
|
|
211
|
+
} as const;
|
|
212
|
+
export type ActivityType = (typeof ACTIVITY_TYPES)[keyof typeof ACTIVITY_TYPES];
|
|
205
213
|
export type PostBadgeType =
|
|
206
214
|
(typeof POST_BADGE_TYPES)[keyof typeof POST_BADGE_TYPES];
|
|
207
215
|
export type JobSections = (typeof JOB_SECTIONS)[keyof typeof JOB_SECTIONS];
|