lancer-shared 1.0.0

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.
Files changed (131) hide show
  1. package/dist/constants/common-questions.d.ts +5 -0
  2. package/dist/constants/common-questions.js +60 -0
  3. package/dist/constants/index.d.ts +16 -0
  4. package/dist/constants/index.js +38 -0
  5. package/dist/constants/job-filter-options.d.ts +61 -0
  6. package/dist/constants/job-filter-options.js +265 -0
  7. package/dist/constants/job-status.d.ts +4 -0
  8. package/dist/constants/job-status.js +26 -0
  9. package/dist/constants/mappings/countryMapping.d.ts +2 -0
  10. package/dist/constants/mappings/countryMapping.js +122 -0
  11. package/dist/constants/mappings/regionMapping.d.ts +2 -0
  12. package/dist/constants/mappings/regionMapping.js +242 -0
  13. package/dist/constants/routes.d.ts +57 -0
  14. package/dist/constants/routes.js +63 -0
  15. package/dist/index.d.ts +3 -0
  16. package/dist/index.js +19 -0
  17. package/dist/schemas/ai/ai-config.d.ts +36 -0
  18. package/dist/schemas/ai/ai-config.js +12 -0
  19. package/dist/schemas/ai/index.d.ts +3 -0
  20. package/dist/schemas/ai/index.js +19 -0
  21. package/dist/schemas/ai/proposal.d.ts +82 -0
  22. package/dist/schemas/ai/proposal.js +16 -0
  23. package/dist/schemas/ai/suitability.d.ts +37 -0
  24. package/dist/schemas/ai/suitability.js +17 -0
  25. package/dist/schemas/bidding/index.d.ts +1 -0
  26. package/dist/schemas/bidding/index.js +17 -0
  27. package/dist/schemas/bidding/proposal-bidding-status.d.ts +26 -0
  28. package/dist/schemas/bidding/proposal-bidding-status.js +18 -0
  29. package/dist/schemas/campaign/campaign-expenses.d.ts +14 -0
  30. package/dist/schemas/campaign/campaign-expenses.js +9 -0
  31. package/dist/schemas/campaign/campaign-insights.d.ts +118 -0
  32. package/dist/schemas/campaign/campaign-insights.js +31 -0
  33. package/dist/schemas/campaign/campaign-integrations.d.ts +82 -0
  34. package/dist/schemas/campaign/campaign-integrations.js +16 -0
  35. package/dist/schemas/campaign/campaign-job-count.d.ts +2 -0
  36. package/dist/schemas/campaign/campaign-job-count.js +6 -0
  37. package/dist/schemas/campaign/campaign.d.ts +1146 -0
  38. package/dist/schemas/campaign/campaign.js +37 -0
  39. package/dist/schemas/campaign/index.d.ts +5 -0
  40. package/dist/schemas/campaign/index.js +21 -0
  41. package/dist/schemas/chat-message/chat-message.d.ts +31 -0
  42. package/dist/schemas/chat-message/chat-message.js +13 -0
  43. package/dist/schemas/chat-message/index.d.ts +1 -0
  44. package/dist/schemas/chat-message/index.js +17 -0
  45. package/dist/schemas/index.d.ts +10 -0
  46. package/dist/schemas/index.js +26 -0
  47. package/dist/schemas/job/index.d.ts +3 -0
  48. package/dist/schemas/job/index.js +19 -0
  49. package/dist/schemas/job/job-details.d.ts +335 -0
  50. package/dist/schemas/job/job-details.js +29 -0
  51. package/dist/schemas/job/job-note.d.ts +83 -0
  52. package/dist/schemas/job/job-note.js +30 -0
  53. package/dist/schemas/job/job-status.d.ts +3 -0
  54. package/dist/schemas/job/job-status.js +27 -0
  55. package/dist/schemas/job/job.d.ts +1160 -0
  56. package/dist/schemas/job/job.js +90 -0
  57. package/dist/schemas/job/pipeline-job.d.ts +602 -0
  58. package/dist/schemas/job/pipeline-job.js +42 -0
  59. package/dist/schemas/job/upwork-job.d.ts +334 -0
  60. package/dist/schemas/job/upwork-job.js +60 -0
  61. package/dist/schemas/job-filters/index.d.ts +1 -0
  62. package/dist/schemas/job-filters/index.js +17 -0
  63. package/dist/schemas/job-filters/job-filters.d.ts +187 -0
  64. package/dist/schemas/job-filters/job-filters.js +69 -0
  65. package/dist/schemas/saved-search/index.d.ts +19 -0
  66. package/dist/schemas/saved-search/index.js +12 -0
  67. package/dist/schemas/scraper/index.d.ts +2 -0
  68. package/dist/schemas/scraper/index.js +18 -0
  69. package/dist/schemas/scraper/scrape-payload.d.ts +17 -0
  70. package/dist/schemas/scraper/scrape-payload.js +10 -0
  71. package/dist/schemas/scraper/scrape-result.d.ts +345 -0
  72. package/dist/schemas/scraper/scrape-result.js +9 -0
  73. package/dist/schemas/shared.d.ts +7 -0
  74. package/dist/schemas/shared.js +16 -0
  75. package/dist/schemas/user/index.d.ts +72 -0
  76. package/dist/schemas/user/index.js +33 -0
  77. package/dist/types/ai/ai-config.d.ts +6 -0
  78. package/dist/types/ai/ai-config.js +2 -0
  79. package/dist/types/ai/index.d.ts +3 -0
  80. package/dist/types/ai/index.js +19 -0
  81. package/dist/types/ai/proposal.d.ts +10 -0
  82. package/dist/types/ai/proposal.js +2 -0
  83. package/dist/types/ai/suitability.d.ts +6 -0
  84. package/dist/types/ai/suitability.js +2 -0
  85. package/dist/types/bidding/index.d.ts +1 -0
  86. package/dist/types/bidding/index.js +17 -0
  87. package/dist/types/bidding/proposal-bidding-status.d.ts +3 -0
  88. package/dist/types/bidding/proposal-bidding-status.js +2 -0
  89. package/dist/types/campaign/campaign-expenses.d.ts +3 -0
  90. package/dist/types/campaign/campaign-expenses.js +2 -0
  91. package/dist/types/campaign/campaign-insights.d.ts +8 -0
  92. package/dist/types/campaign/campaign-insights.js +2 -0
  93. package/dist/types/campaign/campaign-integrations.d.ts +6 -0
  94. package/dist/types/campaign/campaign-integrations.js +2 -0
  95. package/dist/types/campaign/campaign-job-count.d.ts +4 -0
  96. package/dist/types/campaign/campaign-job-count.js +2 -0
  97. package/dist/types/campaign/campaign.d.ts +16 -0
  98. package/dist/types/campaign/campaign.js +2 -0
  99. package/dist/types/campaign/index.d.ts +5 -0
  100. package/dist/types/campaign/index.js +21 -0
  101. package/dist/types/chat-message/chat-message.d.ts +4 -0
  102. package/dist/types/chat-message/chat-message.js +2 -0
  103. package/dist/types/chat-message/index.d.ts +1 -0
  104. package/dist/types/chat-message/index.js +17 -0
  105. package/dist/types/index.d.ts +9 -0
  106. package/dist/types/index.js +25 -0
  107. package/dist/types/job/index.d.ts +3 -0
  108. package/dist/types/job/index.js +19 -0
  109. package/dist/types/job/job-details.d.ts +36 -0
  110. package/dist/types/job/job-details.js +2 -0
  111. package/dist/types/job/job-note.d.ts +10 -0
  112. package/dist/types/job/job-note.js +2 -0
  113. package/dist/types/job/job-status.d.ts +5 -0
  114. package/dist/types/job/job-status.js +12 -0
  115. package/dist/types/job/job.d.ts +32 -0
  116. package/dist/types/job/job.js +2 -0
  117. package/dist/types/job-filters/index.d.ts +1 -0
  118. package/dist/types/job-filters/index.js +17 -0
  119. package/dist/types/job-filters/job-filters.d.ts +4 -0
  120. package/dist/types/job-filters/job-filters.js +2 -0
  121. package/dist/types/saved-search/index.d.ts +6 -0
  122. package/dist/types/saved-search/index.js +2 -0
  123. package/dist/types/scraper/index.d.ts +2 -0
  124. package/dist/types/scraper/index.js +18 -0
  125. package/dist/types/scraper/scrape-payload.d.ts +4 -0
  126. package/dist/types/scraper/scrape-payload.js +2 -0
  127. package/dist/types/scraper/scrape-result.d.ts +4 -0
  128. package/dist/types/scraper/scrape-result.js +2 -0
  129. package/dist/types/user/index.d.ts +12 -0
  130. package/dist/types/user/index.js +2 -0
  131. package/package.json +35 -0
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./campaign"), exports);
18
+ __exportStar(require("./campaign-insights"), exports);
19
+ __exportStar(require("./campaign-job-count"), exports);
20
+ __exportStar(require("./campaign-expenses"), exports);
21
+ __exportStar(require("./campaign-integrations"), exports);
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ import { chatMessageSchema } from '../../schemas/chat-message';
3
+ export interface ChatMessage extends z.infer<typeof chatMessageSchema> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './chat-message';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./chat-message"), exports);
@@ -0,0 +1,9 @@
1
+ export * from './chat-message';
2
+ export * from './job';
3
+ export * from './saved-search';
4
+ export * from './user';
5
+ export * from './job-filters';
6
+ export * from './campaign';
7
+ export * from './bidding';
8
+ export * from './ai';
9
+ export * from './scraper';
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./chat-message"), exports);
18
+ __exportStar(require("./job"), exports);
19
+ __exportStar(require("./saved-search"), exports);
20
+ __exportStar(require("./user"), exports);
21
+ __exportStar(require("./job-filters"), exports);
22
+ __exportStar(require("./campaign"), exports);
23
+ __exportStar(require("./bidding"), exports);
24
+ __exportStar(require("./ai"), exports);
25
+ __exportStar(require("./scraper"), exports);
@@ -0,0 +1,3 @@
1
+ export * from "./job";
2
+ export * from "./job-note";
3
+ export * from "./job-status";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./job"), exports);
18
+ __exportStar(require("./job-note"), exports);
19
+ __exportStar(require("./job-status"), exports);
@@ -0,0 +1,36 @@
1
+ import { z } from 'zod';
2
+ import { SavedSearch } from '../saved-search';
3
+ import { ClientInfoSchema, jobDetailsSchema, JobListItemSchema, JobMetadataSchema, jobPipelineDetailsSchema, jobPipelineResponseSchema, JobSkillsSchema, upworkJobDetailsSchema, VendorQualificationsSchema } from '../../schemas';
4
+ import { JobNote } from './job-note';
5
+ import { JobStatus } from './job-status';
6
+ import { QuestionAnswerPair } from '../ai';
7
+ export interface UpworkJob extends z.infer<typeof upworkJobDetailsSchema> {
8
+ clientInfo: ClientInfo | null;
9
+ metadata: JobMetadata | null;
10
+ skills: JobSkill[] | null;
11
+ vendorQualifications: VendorQualifications | null;
12
+ }
13
+ export interface Job extends z.infer<typeof jobDetailsSchema> {
14
+ clientInfo: ClientInfo | null;
15
+ metadata: JobMetadata | null;
16
+ skills: JobSkill[] | null;
17
+ vendorQualifications: VendorQualifications | null;
18
+ notes?: JobNote[];
19
+ suitabilityQuestionAnswerPairs?: QuestionAnswerPair[];
20
+ status?: JobStatus;
21
+ }
22
+ export interface JobPipeline extends z.infer<typeof jobPipelineDetailsSchema> {
23
+ clientInfo: Pick<ClientInfo, 'country'>;
24
+ metadata: Pick<JobMetadata, 'hourlyRate' | 'fixedPrice'>;
25
+ }
26
+ export interface JobPipelineResponse extends z.infer<typeof jobPipelineResponseSchema> {
27
+ jobs: JobPipeline[];
28
+ }
29
+ export type JobWithSavedSearch = Job & {
30
+ savedSearch?: SavedSearch | null;
31
+ };
32
+ export type JobListItem = z.infer<typeof JobListItemSchema>;
33
+ export type JobSkill = z.infer<typeof JobSkillsSchema>;
34
+ export type VendorQualifications = z.infer<typeof VendorQualificationsSchema>;
35
+ export type ClientInfo = z.infer<typeof ClientInfoSchema>;
36
+ export type JobMetadata = z.infer<typeof JobMetadataSchema>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ import { createJobNoteSchema, jobNoteSchema, updateJobNoteSchema, updateJobNotesOrderSchema } from '../../schemas/job';
3
+ export interface JobNote extends z.infer<typeof jobNoteSchema> {
4
+ }
5
+ export interface CreateJobNote extends z.infer<typeof createJobNoteSchema> {
6
+ }
7
+ export interface UpdateJobNote extends z.infer<typeof updateJobNoteSchema> {
8
+ }
9
+ export interface UpdateJobNotesOrder extends z.infer<typeof updateJobNotesOrderSchema> {
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { z } from "zod";
2
+ import { jobLeadStatusSchema, jobStatusSchema } from "../../schemas/job/job-status";
3
+ export type JobLeadStatus = z.infer<typeof jobLeadStatusSchema>;
4
+ export declare const jobStatusDisplayMap: Record<JobLeadStatus, string>;
5
+ export type JobStatus = z.infer<typeof jobStatusSchema>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.jobStatusDisplayMap = void 0;
4
+ exports.jobStatusDisplayMap = {
5
+ leads: "Leads",
6
+ contacted: "Contacted",
7
+ viewed: "Viewed",
8
+ replied: "Replied",
9
+ negotiations: "Negotiations",
10
+ won: "Won",
11
+ lost: "Lost",
12
+ };
@@ -0,0 +1,32 @@
1
+ import { z } from "zod";
2
+ import { SavedSearch } from "../saved-search";
3
+ import { JobNote } from "./job-note";
4
+ import { JobStatus } from "./job-status";
5
+ import { QuestionAnswerPair } from "../ai";
6
+ import { clientInfoSchema, jobListItemSchema, jobResponseSchema, jobSchema, jobSkillsSchema, metadataSchema, upworkJobSchema, vendorQualificationSchema } from "../../schemas/job/job";
7
+ export interface UpworkJob extends z.infer<typeof upworkJobSchema> {
8
+ clientInfo: ClientInfo | null;
9
+ metadata: JobMetadata | null;
10
+ skills: JobSkill[] | null;
11
+ vendorQualifications: VendorQualifications | null;
12
+ }
13
+ export interface Job extends z.infer<typeof jobSchema> {
14
+ clientInfo: ClientInfo | null;
15
+ metadata: JobMetadata | null;
16
+ skills: JobSkill[] | null;
17
+ vendorQualifications: VendorQualifications | null;
18
+ notes: JobNote[] | null;
19
+ questionAnswerPairs: QuestionAnswerPair[] | null;
20
+ status: JobStatus;
21
+ }
22
+ export interface JobResponse extends z.infer<typeof jobResponseSchema> {
23
+ jobs: Job[];
24
+ }
25
+ export type JobWithSavedSearch = Job & {
26
+ savedSearch?: SavedSearch | null;
27
+ };
28
+ export type JobListItem = z.infer<typeof jobListItemSchema>;
29
+ export type JobSkill = z.infer<typeof jobSkillsSchema>;
30
+ export type VendorQualifications = z.infer<typeof vendorQualificationSchema>;
31
+ export type ClientInfo = z.infer<typeof clientInfoSchema>;
32
+ export type JobMetadata = z.infer<typeof metadataSchema>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './job-filters';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./job-filters"), exports);
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ import { jobFiltersSchema } from '../../schemas';
3
+ export interface JobFilters extends z.infer<typeof jobFiltersSchema> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { z } from "zod";
2
+ import { savedSearchSchema } from "../../schemas";
3
+ import { Job } from "../job";
4
+ export interface SavedSearch extends z.infer<typeof savedSearchSchema> {
5
+ jobs: Job[];
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from './scrape-payload';
2
+ export * from './scrape-result';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./scrape-payload"), exports);
18
+ __exportStar(require("./scrape-result"), exports);
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ import { scrapePayloadSchema } from '../../schemas';
3
+ export interface ScrapePayload extends z.infer<typeof scrapePayloadSchema> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ import { scrapeResultSchema } from '../../schemas';
3
+ export interface ScrapeResult extends z.infer<typeof scrapeResultSchema> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import { z } from "zod";
2
+ import { loginSchema, registerSchema, userSchema } from "../../schemas";
3
+ import { Job } from "../job";
4
+ import { SavedSearch } from "../saved-search";
5
+ export interface User extends z.infer<typeof userSchema> {
6
+ jobs?: Job[];
7
+ savedSearches?: SavedSearch[];
8
+ }
9
+ export interface RegisterSchema extends z.infer<typeof registerSchema> {
10
+ }
11
+ export interface LoginSchema extends z.infer<typeof loginSchema> {
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "type": "commonjs",
3
+ "name": "lancer-shared",
4
+ "version": "1.0.0",
5
+ "description": "This package contains shared stuff.",
6
+ "types": "./dist/index.d.ts",
7
+ "main": "./dist/index.js",
8
+ "files": [
9
+ "dist/index.js",
10
+ "dist/index.d.ts",
11
+ "dist/types/**",
12
+ "dist/schemas/**",
13
+ "dist/constants/**",
14
+ "dist/utils/**"
15
+ ],
16
+ "scripts": {
17
+ "test": "echo \"Error: no test specified\" && exit 1",
18
+ "prepublishOnly": "tsc",
19
+ "build": "tsc"
20
+ },
21
+ "keywords": [],
22
+ "author": "MVP Masters",
23
+ "license": "ISC",
24
+ "dependencies": {
25
+ "lodash": "4.17.21",
26
+ "slugify": "1.6.6",
27
+ "zod": "^3.23.8"
28
+ },
29
+ "devDependencies": {
30
+ "@types/lodash": "4.17.1",
31
+ "@types/multer": "1.4.12",
32
+ "@types/node": "22.5.2",
33
+ "typescript": "5.4.5"
34
+ }
35
+ }