lancer-shared 1.2.174 → 1.2.175

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.
@@ -12982,6 +12982,7 @@ const caseStudySchema = objectType({
12982
12982
  const organizationProfileSchema = z.object({
12983
12983
  id: stringType(),
12984
12984
  type: z.enum(['freelancer', 'agency']),
12985
+ title: z.string(),
12985
12986
  name: z.string(),
12986
12987
  summary: z.string(),
12987
12988
  coreServices: z.string(),
@@ -14530,6 +14531,7 @@ const registerSchema = objectType({
14530
14531
  teamName: stringType().min(1, 'Team name is required').max(255),
14531
14532
  password: passwordSchema,
14532
14533
  confirmPassword: passwordSchema,
14534
+ referralCode: stringType().optional(),
14533
14535
  }).refine(({ password, confirmPassword }) => password === confirmPassword, {
14534
14536
  message: `Passwords don't match.`,
14535
14537
  path: ['confirmPassword'],
@@ -433,6 +433,7 @@ export type CaseStudy = z.infer<typeof caseStudySchema>;
433
433
  export declare const organizationProfileSchema: z.ZodObject<{
434
434
  id: z.ZodString;
435
435
  type: z.ZodEnum<["freelancer", "agency"]>;
436
+ title: z.ZodString;
436
437
  name: z.ZodString;
437
438
  summary: z.ZodString;
438
439
  coreServices: z.ZodString;
@@ -473,6 +474,7 @@ export declare const organizationProfileSchema: z.ZodObject<{
473
474
  id: string;
474
475
  name: string;
475
476
  createdAt: number;
477
+ title: string;
476
478
  summary: string;
477
479
  coreServices: string;
478
480
  toolsSkillsTechnologies: string;
@@ -495,6 +497,7 @@ export declare const organizationProfileSchema: z.ZodObject<{
495
497
  id: string;
496
498
  name: string;
497
499
  createdAt: number;
500
+ title: string;
498
501
  summary: string;
499
502
  coreServices: string;
500
503
  toolsSkillsTechnologies: string;
@@ -516,6 +519,7 @@ export declare const organizationProfileSchema: z.ZodObject<{
516
519
  export declare const updateOrganizationProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
517
520
  id: z.ZodOptional<z.ZodString>;
518
521
  type: z.ZodOptional<z.ZodEnum<["freelancer", "agency"]>>;
522
+ title: z.ZodOptional<z.ZodString>;
519
523
  name: z.ZodOptional<z.ZodString>;
520
524
  summary: z.ZodOptional<z.ZodString>;
521
525
  coreServices: z.ZodOptional<z.ZodString>;
@@ -558,6 +562,7 @@ export declare const updateOrganizationProfileSchema: z.ZodObject<z.objectUtil.e
558
562
  type?: "agency" | "freelancer" | undefined;
559
563
  name?: string | undefined;
560
564
  createdAt?: number | undefined;
565
+ title?: string | undefined;
561
566
  summary?: string | undefined;
562
567
  coreServices?: string | undefined;
563
568
  toolsSkillsTechnologies?: string | undefined;
@@ -580,6 +585,7 @@ export declare const updateOrganizationProfileSchema: z.ZodObject<z.objectUtil.e
580
585
  type?: "agency" | "freelancer" | undefined;
581
586
  name?: string | undefined;
582
587
  createdAt?: number | undefined;
588
+ title?: string | undefined;
583
589
  summary?: string | undefined;
584
590
  coreServices?: string | undefined;
585
591
  toolsSkillsTechnologies?: string | undefined;
@@ -601,6 +607,7 @@ export declare const updateOrganizationProfileSchema: z.ZodObject<z.objectUtil.e
601
607
  export declare const createOrganizationProfileSchema: z.ZodObject<Pick<{
602
608
  id: z.ZodString;
603
609
  type: z.ZodEnum<["freelancer", "agency"]>;
610
+ title: z.ZodString;
604
611
  name: z.ZodString;
605
612
  summary: z.ZodString;
606
613
  coreServices: z.ZodString;
@@ -41,30 +41,35 @@ export declare const registerSchema: z.ZodEffects<z.ZodObject<{
41
41
  teamName: z.ZodString;
42
42
  password: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>;
43
43
  confirmPassword: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>;
44
+ referralCode: z.ZodOptional<z.ZodString>;
44
45
  }, "strip", z.ZodTypeAny, {
45
46
  name: string;
46
47
  email: string;
47
48
  password: string;
48
49
  teamName: string;
49
50
  confirmPassword: string;
51
+ referralCode?: string | undefined;
50
52
  }, {
51
53
  name: string;
52
54
  email: string;
53
55
  password: string;
54
56
  teamName: string;
55
57
  confirmPassword: string;
58
+ referralCode?: string | undefined;
56
59
  }>, {
57
60
  name: string;
58
61
  email: string;
59
62
  password: string;
60
63
  teamName: string;
61
64
  confirmPassword: string;
65
+ referralCode?: string | undefined;
62
66
  }, {
63
67
  name: string;
64
68
  email: string;
65
69
  password: string;
66
70
  teamName: string;
67
71
  confirmPassword: string;
72
+ referralCode?: string | undefined;
68
73
  }>;
69
74
  export declare const forgotPasswordSchema: z.ZodObject<{
70
75
  email: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.174",
3
+ "version": "1.2.175",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",