lancer-shared 1.2.301 → 1.2.303
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 +1 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +1 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/account/bidder-account.d.ts +40 -40
- package/dist/schemas/account/scraper-account.d.ts +27 -27
- package/dist/schemas/agent/index.d.ts +273 -273
- package/dist/schemas/agent/proposal.d.ts +4 -4
- package/dist/schemas/bidder/bid.d.ts +2358 -2358
- package/dist/schemas/campaign/campaign-analytics.d.ts +1404 -1404
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +24 -24
- package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
- package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
- package/dist/schemas/campaign/campaign.d.ts +566 -566
- package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
- package/dist/schemas/dashboard/index.d.ts +46 -46
- package/dist/schemas/golden-dataset/sample.d.ts +12 -12
- package/dist/schemas/infrastructure/index.d.ts +8 -8
- package/dist/schemas/invoice/index.d.ts +55 -55
- package/dist/schemas/job/index.d.ts +189 -189
- package/dist/schemas/job/job-api.d.ts +4 -4
- package/dist/schemas/job/job-details.d.ts +726 -726
- package/dist/schemas/job/job-filters.d.ts +55 -55
- package/dist/schemas/job/job-listing.d.ts +96 -96
- package/dist/schemas/job/nuxt.d.ts +130 -130
- package/dist/schemas/lead/index.d.ts +1040 -1040
- package/dist/schemas/lead/lead-status.d.ts +4 -4
- package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +16 -16
- package/dist/schemas/logger/feed/feed-enrich.d.ts +12 -12
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +272 -272
- package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
- package/dist/schemas/logger/log-event.d.ts +103 -103
- package/dist/schemas/logger/scraper-events.d.ts +73 -73
- package/dist/schemas/notifications/index.d.ts +4 -4
- package/dist/schemas/organization/billing.d.ts +2 -2
- package/dist/schemas/organization/cover-letter.d.ts +4 -4
- package/dist/schemas/organization/index.d.ts +112 -112
- package/dist/schemas/organization/onboarding.d.ts +6 -6
- package/dist/schemas/organization/organization-leads.d.ts +4 -4
- package/dist/schemas/organization/subscription.d.ts +12 -12
- package/dist/schemas/plan/index.d.ts +55 -55
- package/dist/schemas/proxy/proxy.d.ts +29 -29
- package/dist/schemas/saved-search/index.d.ts +4 -4
- package/dist/schemas/scraper/scrape-payload.d.ts +876 -876
- package/dist/schemas/scraper/scrape-result.d.ts +174 -174
- package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
- package/dist/schemas/shared.d.ts +1 -1
- package/dist/schemas/talent/index.d.ts +750 -750
- package/dist/schemas/transaction/index.d.ts +20 -20
- package/dist/schemas/upwork-analytics/index.d.ts +22 -22
- package/dist/schemas/usage/index.d.ts +16 -16
- package/dist/schemas/usage-event/index.d.ts +11 -11
- package/dist/schemas/user/index.d.ts +4 -4
- package/package.json +2 -2
|
@@ -15,19 +15,19 @@ export declare const transactionStripeMetadataSchema: z.ZodObject<{
|
|
|
15
15
|
id: string | null;
|
|
16
16
|
}>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
invoice: {
|
|
19
|
-
id: string | null;
|
|
20
|
-
};
|
|
21
18
|
subscription: {
|
|
22
19
|
id: string | null;
|
|
23
20
|
};
|
|
24
|
-
}, {
|
|
25
21
|
invoice: {
|
|
26
22
|
id: string | null;
|
|
27
23
|
};
|
|
24
|
+
}, {
|
|
28
25
|
subscription: {
|
|
29
26
|
id: string | null;
|
|
30
27
|
};
|
|
28
|
+
invoice: {
|
|
29
|
+
id: string | null;
|
|
30
|
+
};
|
|
31
31
|
}>;
|
|
32
32
|
export declare const transactionTypeEnum: z.ZodEnum<["subscription", "add-on", "refund"]>;
|
|
33
33
|
export declare const transactionStatusEnum: z.ZodEnum<["succeeded", "failed", "refunded"]>;
|
|
@@ -53,48 +53,48 @@ export declare const transactionSchema: z.ZodObject<{
|
|
|
53
53
|
id: string | null;
|
|
54
54
|
}>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
invoice: {
|
|
57
|
-
id: string | null;
|
|
58
|
-
};
|
|
59
56
|
subscription: {
|
|
60
57
|
id: string | null;
|
|
61
58
|
};
|
|
62
|
-
}, {
|
|
63
59
|
invoice: {
|
|
64
60
|
id: string | null;
|
|
65
61
|
};
|
|
62
|
+
}, {
|
|
66
63
|
subscription: {
|
|
67
64
|
id: string | null;
|
|
68
65
|
};
|
|
66
|
+
invoice: {
|
|
67
|
+
id: string | null;
|
|
68
|
+
};
|
|
69
69
|
}>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
71
|
type: "subscription" | "add-on" | "refund";
|
|
72
|
-
status: "
|
|
72
|
+
status: "succeeded" | "failed" | "refunded";
|
|
73
|
+
orgId: string;
|
|
74
|
+
amountUsd: number;
|
|
75
|
+
timestamp: number;
|
|
73
76
|
stripe: {
|
|
74
|
-
|
|
77
|
+
subscription: {
|
|
75
78
|
id: string | null;
|
|
76
79
|
};
|
|
77
|
-
|
|
80
|
+
invoice: {
|
|
78
81
|
id: string | null;
|
|
79
82
|
};
|
|
80
83
|
};
|
|
81
|
-
timestamp: number;
|
|
82
|
-
orgId: string;
|
|
83
|
-
amountUsd: number;
|
|
84
84
|
}, {
|
|
85
85
|
type: "subscription" | "add-on" | "refund";
|
|
86
|
-
status: "
|
|
86
|
+
status: "succeeded" | "failed" | "refunded";
|
|
87
|
+
orgId: string;
|
|
88
|
+
amountUsd: number;
|
|
89
|
+
timestamp: number;
|
|
87
90
|
stripe: {
|
|
88
|
-
|
|
91
|
+
subscription: {
|
|
89
92
|
id: string | null;
|
|
90
93
|
};
|
|
91
|
-
|
|
94
|
+
invoice: {
|
|
92
95
|
id: string | null;
|
|
93
96
|
};
|
|
94
97
|
};
|
|
95
|
-
timestamp: number;
|
|
96
|
-
orgId: string;
|
|
97
|
-
amountUsd: number;
|
|
98
98
|
}>;
|
|
99
99
|
export interface StripeTransactionMetadata extends z.infer<typeof transactionStripeMetadataSchema> {
|
|
100
100
|
}
|
|
@@ -15,22 +15,22 @@ export declare const getJobsCountLast3MonthsResponseSchema: z.ZodArray<z.ZodObje
|
|
|
15
15
|
period: z.ZodString;
|
|
16
16
|
count: z.ZodNumber;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
count: number;
|
|
19
18
|
period: string;
|
|
20
|
-
}, {
|
|
21
19
|
count: number;
|
|
20
|
+
}, {
|
|
22
21
|
period: string;
|
|
22
|
+
count: number;
|
|
23
23
|
}>, "many">;
|
|
24
24
|
export type GetJobsCountLast3MonthsResponse = z.infer<typeof getJobsCountLast3MonthsResponseSchema>;
|
|
25
25
|
export declare const getJobsByCountryResponseSchema: z.ZodArray<z.ZodObject<{
|
|
26
26
|
country: z.ZodString;
|
|
27
27
|
count: z.ZodNumber;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
country: string;
|
|
30
29
|
count: number;
|
|
31
|
-
}, {
|
|
32
30
|
country: string;
|
|
31
|
+
}, {
|
|
33
32
|
count: number;
|
|
33
|
+
country: string;
|
|
34
34
|
}>, "many">;
|
|
35
35
|
export type GetJobsByCountryResponse = z.infer<typeof getJobsByCountryResponseSchema>;
|
|
36
36
|
export declare const getAverageHourlyRatePaidByCountryResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -59,33 +59,33 @@ export declare const getJobsByHourPostedResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
59
59
|
hour: z.ZodString;
|
|
60
60
|
count: z.ZodNumber;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
hour: string;
|
|
63
62
|
count: number;
|
|
64
|
-
}, {
|
|
65
63
|
hour: string;
|
|
64
|
+
}, {
|
|
66
65
|
count: number;
|
|
66
|
+
hour: string;
|
|
67
67
|
}>, "many">;
|
|
68
68
|
export type GetJobsByHourPostedResponse = z.infer<typeof getJobsByHourPostedResponseSchema>;
|
|
69
69
|
export declare const getJobsByDayOfWeekResponseSchema: z.ZodArray<z.ZodObject<{
|
|
70
70
|
day: z.ZodString;
|
|
71
71
|
count: z.ZodNumber;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
day: string;
|
|
74
73
|
count: number;
|
|
75
|
-
}, {
|
|
76
74
|
day: string;
|
|
75
|
+
}, {
|
|
77
76
|
count: number;
|
|
77
|
+
day: string;
|
|
78
78
|
}>, "many">;
|
|
79
79
|
export type GetJobsByDayOfWeekResponse = z.infer<typeof getJobsByDayOfWeekResponseSchema>;
|
|
80
80
|
export declare const getTop10SkillsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
81
81
|
skill: z.ZodString;
|
|
82
82
|
count: z.ZodNumber;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
skill: string;
|
|
85
84
|
count: number;
|
|
86
|
-
}, {
|
|
87
85
|
skill: string;
|
|
86
|
+
}, {
|
|
88
87
|
count: number;
|
|
88
|
+
skill: string;
|
|
89
89
|
}>, "many">;
|
|
90
90
|
export type GetTop10SkillsResponse = z.infer<typeof getTop10SkillsResponseSchema>;
|
|
91
91
|
export declare const getTop10CountriesByJobsPostedResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -147,65 +147,65 @@ export declare const getTop10CategoriesByJobsPostedResponseSchema: z.ZodArray<z.
|
|
|
147
147
|
category: z.ZodString;
|
|
148
148
|
jobsPosted: z.ZodNumber;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
-
category: string;
|
|
151
150
|
jobsPosted: number;
|
|
152
|
-
}, {
|
|
153
151
|
category: string;
|
|
152
|
+
}, {
|
|
154
153
|
jobsPosted: number;
|
|
154
|
+
category: string;
|
|
155
155
|
}>, "many">;
|
|
156
156
|
export type GetTop10CategoriesByJobsPostedResponse = z.infer<typeof getTop10CategoriesByJobsPostedResponseSchema>;
|
|
157
157
|
export declare const getTop10CategoriesByClientTotalSpentResponseSchema: z.ZodArray<z.ZodObject<{
|
|
158
158
|
category: z.ZodString;
|
|
159
159
|
totalSpent: z.ZodNumber;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
|
-
category: string;
|
|
162
161
|
totalSpent: number;
|
|
163
|
-
}, {
|
|
164
162
|
category: string;
|
|
163
|
+
}, {
|
|
165
164
|
totalSpent: number;
|
|
165
|
+
category: string;
|
|
166
166
|
}>, "many">;
|
|
167
167
|
export type GetTop10CategoriesByClientTotalSpentResponse = z.infer<typeof getTop10CategoriesByClientTotalSpentResponseSchema>;
|
|
168
168
|
export declare const getTop10CategoriesByClientHireRateResponseSchema: z.ZodArray<z.ZodObject<{
|
|
169
169
|
category: z.ZodString;
|
|
170
170
|
hireRate: z.ZodNumber;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
category: string;
|
|
173
172
|
hireRate: number;
|
|
174
|
-
}, {
|
|
175
173
|
category: string;
|
|
174
|
+
}, {
|
|
176
175
|
hireRate: number;
|
|
176
|
+
category: string;
|
|
177
177
|
}>, "many">;
|
|
178
178
|
export type GetTop10CategoriesByClientHireRateResponse = z.infer<typeof getTop10CategoriesByClientHireRateResponseSchema>;
|
|
179
179
|
export declare const getTop10CategoriesByAvgHourlyBudgetResponseSchema: z.ZodArray<z.ZodObject<{
|
|
180
180
|
category: z.ZodString;
|
|
181
181
|
avgHourlyBudget: z.ZodNumber;
|
|
182
182
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
category: string;
|
|
184
183
|
avgHourlyBudget: number;
|
|
185
|
-
}, {
|
|
186
184
|
category: string;
|
|
185
|
+
}, {
|
|
187
186
|
avgHourlyBudget: number;
|
|
187
|
+
category: string;
|
|
188
188
|
}>, "many">;
|
|
189
189
|
export type GetTop10CategoriesByAvgHourlyBudgetResponse = z.infer<typeof getTop10CategoriesByAvgHourlyBudgetResponseSchema>;
|
|
190
190
|
export declare const getTop10CategoriesByAvgPaidPerProjectResponseSchema: z.ZodArray<z.ZodObject<{
|
|
191
191
|
category: z.ZodString;
|
|
192
192
|
avgPaidPerProject: z.ZodNumber;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
category: string;
|
|
195
194
|
avgPaidPerProject: number;
|
|
196
|
-
}, {
|
|
197
195
|
category: string;
|
|
196
|
+
}, {
|
|
198
197
|
avgPaidPerProject: number;
|
|
198
|
+
category: string;
|
|
199
199
|
}>, "many">;
|
|
200
200
|
export type GetTop10CategoriesByAvgPaidPerProjectResponse = z.infer<typeof getTop10CategoriesByAvgPaidPerProjectResponseSchema>;
|
|
201
201
|
export declare const getTop20CategoriesByAvgHourlyRatePaidResponseSchema: z.ZodArray<z.ZodObject<{
|
|
202
202
|
category: z.ZodString;
|
|
203
203
|
avgHourlyRatePaid: z.ZodNumber;
|
|
204
204
|
}, "strip", z.ZodTypeAny, {
|
|
205
|
-
category: string;
|
|
206
205
|
avgHourlyRatePaid: number;
|
|
207
|
-
}, {
|
|
208
206
|
category: string;
|
|
207
|
+
}, {
|
|
209
208
|
avgHourlyRatePaid: number;
|
|
209
|
+
category: string;
|
|
210
210
|
}>, "many">;
|
|
211
211
|
export type GetTop20CategoriesByAvgHourlyRatePaidResponse = z.infer<typeof getTop20CategoriesByAvgHourlyRatePaidResponseSchema>;
|
|
@@ -5,12 +5,12 @@ export declare const dailyUsageSchema: z.ZodObject<{
|
|
|
5
5
|
proposal: z.ZodNumber;
|
|
6
6
|
bidding: z.ZodNumber;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
proposal: number;
|
|
9
8
|
suitability: number;
|
|
9
|
+
proposal: number;
|
|
10
10
|
bidding: number;
|
|
11
11
|
}, {
|
|
12
|
-
proposal: number;
|
|
13
12
|
suitability: number;
|
|
13
|
+
proposal: number;
|
|
14
14
|
bidding: number;
|
|
15
15
|
}>;
|
|
16
16
|
tokensUsed: z.ZodOptional<z.ZodNumber>;
|
|
@@ -18,25 +18,25 @@ export declare const dailyUsageSchema: z.ZodObject<{
|
|
|
18
18
|
model: z.ZodString;
|
|
19
19
|
timestamp: z.ZodNumber;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
model: string;
|
|
22
|
-
timestamp: number;
|
|
23
21
|
breakdown: {
|
|
24
|
-
proposal: number;
|
|
25
22
|
suitability: number;
|
|
23
|
+
proposal: number;
|
|
26
24
|
bidding: number;
|
|
27
25
|
};
|
|
28
|
-
campaignId?: string | undefined;
|
|
29
|
-
tokensUsed?: number | undefined;
|
|
30
|
-
}, {
|
|
31
26
|
model: string;
|
|
32
27
|
timestamp: number;
|
|
28
|
+
tokensUsed?: number | undefined;
|
|
29
|
+
campaignId?: string | undefined;
|
|
30
|
+
}, {
|
|
33
31
|
breakdown: {
|
|
34
|
-
proposal: number;
|
|
35
32
|
suitability: number;
|
|
33
|
+
proposal: number;
|
|
36
34
|
bidding: number;
|
|
37
35
|
};
|
|
38
|
-
|
|
36
|
+
model: string;
|
|
37
|
+
timestamp: number;
|
|
39
38
|
tokensUsed?: number | undefined;
|
|
39
|
+
campaignId?: string | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
export declare const periodUsageSchema: z.ZodObject<{
|
|
42
42
|
usedCredits: z.ZodNumber;
|
|
@@ -45,30 +45,30 @@ export declare const periodUsageSchema: z.ZodObject<{
|
|
|
45
45
|
proposal: z.ZodNumber;
|
|
46
46
|
bidding: z.ZodNumber;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
proposal: number;
|
|
49
48
|
suitability: number;
|
|
49
|
+
proposal: number;
|
|
50
50
|
bidding: number;
|
|
51
51
|
}, {
|
|
52
|
-
proposal: number;
|
|
53
52
|
suitability: number;
|
|
53
|
+
proposal: number;
|
|
54
54
|
bidding: number;
|
|
55
55
|
}>;
|
|
56
56
|
lastUpdated: z.ZodNumber;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
usedCredits: number;
|
|
59
58
|
breakdown: {
|
|
60
|
-
proposal: number;
|
|
61
59
|
suitability: number;
|
|
60
|
+
proposal: number;
|
|
62
61
|
bidding: number;
|
|
63
62
|
};
|
|
63
|
+
usedCredits: number;
|
|
64
64
|
lastUpdated: number;
|
|
65
65
|
}, {
|
|
66
|
-
usedCredits: number;
|
|
67
66
|
breakdown: {
|
|
68
|
-
proposal: number;
|
|
69
67
|
suitability: number;
|
|
68
|
+
proposal: number;
|
|
70
69
|
bidding: number;
|
|
71
70
|
};
|
|
71
|
+
usedCredits: number;
|
|
72
72
|
lastUpdated: number;
|
|
73
73
|
}>;
|
|
74
74
|
export interface DailyUsage extends z.infer<typeof dailyUsageSchema> {
|
|
@@ -8,13 +8,13 @@ export declare const usageEventMetadataSchema: z.ZodObject<{
|
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
campaignId: string | null;
|
|
10
10
|
userId: string | null;
|
|
11
|
-
planId: string | null;
|
|
12
11
|
stripeSubscriptionId: string | null;
|
|
12
|
+
planId: string | null;
|
|
13
13
|
}, {
|
|
14
14
|
campaignId: string | null;
|
|
15
15
|
userId: string | null;
|
|
16
|
-
planId: string | null;
|
|
17
16
|
stripeSubscriptionId: string | null;
|
|
17
|
+
planId: string | null;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const usageEventSchema: z.ZodObject<{
|
|
20
20
|
organizationId: z.ZodString;
|
|
@@ -28,34 +28,34 @@ export declare const usageEventSchema: z.ZodObject<{
|
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
campaignId: string | null;
|
|
30
30
|
userId: string | null;
|
|
31
|
-
planId: string | null;
|
|
32
31
|
stripeSubscriptionId: string | null;
|
|
32
|
+
planId: string | null;
|
|
33
33
|
}, {
|
|
34
34
|
campaignId: string | null;
|
|
35
35
|
userId: string | null;
|
|
36
|
-
planId: string | null;
|
|
37
36
|
stripeSubscriptionId: string | null;
|
|
37
|
+
planId: string | null;
|
|
38
38
|
}>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
organizationId: string;
|
|
41
|
+
typeId: "suitabilityComplete" | "proposalComplete" | "biddingComplete";
|
|
42
|
+
timestamp: number;
|
|
40
43
|
metadata: {
|
|
41
44
|
campaignId: string | null;
|
|
42
45
|
userId: string | null;
|
|
43
|
-
planId: string | null;
|
|
44
46
|
stripeSubscriptionId: string | null;
|
|
47
|
+
planId: string | null;
|
|
45
48
|
};
|
|
49
|
+
}, {
|
|
46
50
|
organizationId: string;
|
|
47
|
-
timestamp: number;
|
|
48
51
|
typeId: "suitabilityComplete" | "proposalComplete" | "biddingComplete";
|
|
49
|
-
|
|
52
|
+
timestamp: number;
|
|
50
53
|
metadata: {
|
|
51
54
|
campaignId: string | null;
|
|
52
55
|
userId: string | null;
|
|
53
|
-
planId: string | null;
|
|
54
56
|
stripeSubscriptionId: string | null;
|
|
57
|
+
planId: string | null;
|
|
55
58
|
};
|
|
56
|
-
organizationId: string;
|
|
57
|
-
timestamp: number;
|
|
58
|
-
typeId: "suitabilityComplete" | "proposalComplete" | "biddingComplete";
|
|
59
59
|
}>;
|
|
60
60
|
export type UsageEventType = z.infer<typeof usageEventTypeEnum>;
|
|
61
61
|
export interface UsageEvent extends infer<typeof usageEventSchema> {
|
|
@@ -12,18 +12,18 @@ export declare const userSchema: z.ZodObject<{
|
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
14
|
email: string;
|
|
15
|
+
organizationIds: string[];
|
|
15
16
|
createdAt: number;
|
|
16
17
|
updatedAt: number;
|
|
17
|
-
|
|
18
|
-
role?: "user" | "admin" | undefined;
|
|
18
|
+
role?: "admin" | "user" | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
email: string;
|
|
23
|
+
organizationIds: string[];
|
|
23
24
|
createdAt: number;
|
|
24
25
|
updatedAt: number;
|
|
25
|
-
|
|
26
|
-
role?: "user" | "admin" | undefined;
|
|
26
|
+
role?: "admin" | "user" | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
export declare const loginSchema: z.ZodObject<{
|
|
29
29
|
email: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lancer-shared",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.303",
|
|
4
4
|
"description": "This package contains shared stuff.",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "dist/bundle.cjs.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
20
20
|
"prepublishOnly": "npm run build",
|
|
21
|
-
"build": "tsc",
|
|
21
|
+
"build": "tsc && rollup -c --bundleConfigAsCjs",
|
|
22
22
|
"dev": "rollup -c -w --bundleConfigAsCjs"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [],
|