lancer-shared 1.2.92 → 1.2.93
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/bundle.cjs.js
CHANGED
|
@@ -11786,6 +11786,7 @@ const requiredEarningsEnum = z.union([
|
|
|
11786
11786
|
const requiredJSSEnum = z.enum(JOB_FILTER_OPTIONS.REQUIRED_JSS);
|
|
11787
11787
|
const isPaymentVerifiedEnum = z.enum(["all", "true", "false"]);
|
|
11788
11788
|
const isPhoneVerifiedEnum = z.enum(["all", "true", "false"]);
|
|
11789
|
+
const hasQuestionsEnum = z.enum(["all", "yes", "no"]);
|
|
11789
11790
|
// Main job filters schema
|
|
11790
11791
|
const jobFiltersSchema = z.object({
|
|
11791
11792
|
keywords: z
|
|
@@ -11815,7 +11816,7 @@ const jobFiltersSchema = z.object({
|
|
|
11815
11816
|
experienceLevel: z.array(experienceLevelEnum).nullable(),
|
|
11816
11817
|
questions: z
|
|
11817
11818
|
.object({
|
|
11818
|
-
hasQuestions:
|
|
11819
|
+
hasQuestions: arrayType(hasQuestionsEnum),
|
|
11819
11820
|
})
|
|
11820
11821
|
.nullable(),
|
|
11821
11822
|
engagementType: z.array(engagementTypeEnum).nullable(),
|
|
@@ -13850,6 +13851,7 @@ exports.getNextStatus = getNextStatus;
|
|
|
13850
13851
|
exports.getPreviousStatus = getPreviousStatus;
|
|
13851
13852
|
exports.getRouteWithoutAdminPrefix = getRouteWithoutAdminPrefix;
|
|
13852
13853
|
exports.goToUrlException = goToUrlException;
|
|
13854
|
+
exports.hasQuestionsEnum = hasQuestionsEnum;
|
|
13853
13855
|
exports.incorrectSecurityQuestionAnswerException = incorrectSecurityQuestionAnswerException;
|
|
13854
13856
|
exports.initBrowserException = initBrowserException;
|
|
13855
13857
|
exports.insufficientConnectsException = insufficientConnectsException;
|
|
@@ -15,6 +15,7 @@ export declare const requiredEarningsEnum: z.ZodUnion<[z.ZodLiteral<100>, z.ZodL
|
|
|
15
15
|
export declare const requiredJSSEnum: z.ZodEnum<[">80%", ">90%", "100%", "RT"]>;
|
|
16
16
|
export declare const isPaymentVerifiedEnum: z.ZodEnum<["all", "true", "false"]>;
|
|
17
17
|
export declare const isPhoneVerifiedEnum: z.ZodEnum<["all", "true", "false"]>;
|
|
18
|
+
export declare const hasQuestionsEnum: z.ZodEnum<["all", "yes", "no"]>;
|
|
18
19
|
export declare const jobFiltersSchema: z.ZodObject<{
|
|
19
20
|
keywords: z.ZodNullable<z.ZodObject<{
|
|
20
21
|
includes: z.ZodNullable<z.ZodString>;
|
|
@@ -60,11 +61,11 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
60
61
|
projectDuration: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"]>, "many">>;
|
|
61
62
|
experienceLevel: z.ZodNullable<z.ZodArray<z.ZodEnum<["Entry level", "Intermediate", "Expert"]>, "many">>;
|
|
62
63
|
questions: z.ZodNullable<z.ZodObject<{
|
|
63
|
-
hasQuestions: z.
|
|
64
|
+
hasQuestions: z.ZodArray<z.ZodEnum<["all", "yes", "no"]>, "many">;
|
|
64
65
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
hasQuestions: "all" | "yes" | "no";
|
|
66
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
66
67
|
}, {
|
|
67
|
-
hasQuestions
|
|
68
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
68
69
|
}>>;
|
|
69
70
|
engagementType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
70
71
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
@@ -162,7 +163,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
162
163
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
163
164
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
164
165
|
questions: {
|
|
165
|
-
hasQuestions: "all" | "yes" | "no";
|
|
166
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
166
167
|
} | null;
|
|
167
168
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
168
169
|
clientInfo: {
|
|
@@ -212,7 +213,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
212
213
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
213
214
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
214
215
|
questions: {
|
|
215
|
-
hasQuestions
|
|
216
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
216
217
|
} | null;
|
|
217
218
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
218
219
|
clientInfo: {
|
|
@@ -248,10 +249,12 @@ export type PaymentType = z.infer<typeof paymentTypeEnum>;
|
|
|
248
249
|
export type ExperienceLevel = z.infer<typeof experienceLevelEnum>;
|
|
249
250
|
export type IsPaymentVerified = z.infer<typeof isPaymentVerifiedEnum>;
|
|
250
251
|
export type IsPhoneVerified = z.infer<typeof isPaymentVerifiedEnum>;
|
|
252
|
+
export type HasQuestions = z.infer<typeof hasQuestionsEnum>;
|
|
251
253
|
export interface Counts {
|
|
252
254
|
experienceLevel: Record<ExperienceLevel, number>;
|
|
253
255
|
paymentType: Record<PaymentType, number>;
|
|
254
256
|
paymentVerified: Record<IsPaymentVerified, number>;
|
|
255
257
|
phoneVerified: Record<IsPhoneVerified, number>;
|
|
256
258
|
region: Record<Region, number>;
|
|
259
|
+
hasQuestions: Record<HasQuestions, number>;
|
|
257
260
|
}
|