@hadoku/jobplatform-worker 2.32.35 → 2.32.37
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/geo.d.ts +43 -0
- package/dist/geo.d.ts.map +1 -0
- package/dist/index.js +1602 -56
- package/dist/routes/account.d.ts +3 -0
- package/dist/routes/account.d.ts.map +1 -1
- package/dist/routes/ingest.d.ts.map +1 -1
- package/dist/routes/jobs/blocked.d.ts +3 -0
- package/dist/routes/jobs/blocked.d.ts.map +1 -0
- package/dist/routes/jobs/detail.d.ts.map +1 -1
- package/dist/routes/jobs/feed.d.ts.map +1 -1
- package/dist/routes/jobs/index.d.ts.map +1 -1
- package/dist/routes/jobs/insights.d.ts +5 -0
- package/dist/routes/jobs/insights.d.ts.map +1 -0
- package/dist/routes/jobs/locations.d.ts +3 -0
- package/dist/routes/jobs/locations.d.ts.map +1 -0
- package/dist/routes/jobs/owner.d.ts.map +1 -1
- package/dist/routes/jobs/pipeline.d.ts +18 -0
- package/dist/routes/jobs/pipeline.d.ts.map +1 -0
- package/dist/routes/jobs/state.d.ts +3 -0
- package/dist/routes/jobs/state.d.ts.map +1 -1
- package/dist/routes/jobs/tailoring.d.ts.map +1 -1
- package/dist/schemas.d.ts +383 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/skills.d.ts +23 -0
- package/dist/skills.d.ts.map +1 -0
- package/migrations/0028_pipeline.sql +51 -0
- package/migrations/0029_blocked_companies.sql +18 -0
- package/migrations/0030_jobs_geo_keys.sql +13 -0
- package/package.json +2 -2
package/dist/routes/account.d.ts
CHANGED
|
@@ -35,6 +35,8 @@
|
|
|
35
35
|
* profile_tombstones Their "I deleted the Default profile" markers.
|
|
36
36
|
* job_states Their triage of each posting (and the packet slug
|
|
37
37
|
* they sent with an application).
|
|
38
|
+
* job_events Their application timeline: state changes, and the
|
|
39
|
+
* notes, interviews and contacts they logged.
|
|
38
40
|
* job_feedback Their up/down votes, one per (user, job).
|
|
39
41
|
* applications Their apply queue. The runner writes these ON THEIR
|
|
40
42
|
* BEHALF (ownerName), which is why the data lives here
|
|
@@ -47,6 +49,7 @@
|
|
|
47
49
|
* applicant_profiles Their contact facts, education and work history.
|
|
48
50
|
* mail_reconcile_state Reconciliation of their mailbox: cursor and counts.
|
|
49
51
|
* mail_unmatched Subjects and senders of their ATS mail.
|
|
52
|
+
* blocked_companies The employers they hid from their feed.
|
|
50
53
|
* owner_name_cache A STORED NAME: a cached display-name → userId
|
|
51
54
|
* resolution. It must go, or the name keeps resolving
|
|
52
55
|
* to an erased person for up to 15 minutes.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/routes/account.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/routes/account.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,mFAAmF;AACnF,eAAO,MAAM,aAAa,EAAE,SAAS;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,EA0BlE,CAAC;AAEF;;;GAGG;AACH,wBAAsB,SAAS,CAAC,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAO/F;AAyBD,eAAO,MAAM,aAAa,oCAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest.d.ts","sourceRoot":"","sources":["../../src/routes/ingest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAkB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"ingest.d.ts","sourceRoot":"","sources":["../../src/routes/ingest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAkB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAwB9E,UAAU,YAAY;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE;QAAE,WAAW,EAAE,iBAAiB,CAAA;KAAE,CAAC;CAC9C;AAkiCD,eAAO,MAAM,YAAY,oCAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blocked.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/blocked.ts"],"names":[],"mappings":"AAmBA,OAAO,EAKN,KAAK,OAAO,EACZ,MAAM,aAAa,CAAC;AA2BrB,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAuHxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/detail.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/detail.ts"],"names":[],"mappings":"AAWA,OAAO,EAON,KAAK,OAAO,EACZ,MAAM,aAAa,CAAC;AAErB,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAsKtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/feed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/feed.ts"],"names":[],"mappings":"AAYA,OAAO,EASN,KAAK,OAAO,EACZ,MAAM,aAAa,CAAC;AAkLrB,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAuqBpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAuChD,eAAO,MAAM,SAAS,oCAAM,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type JobsApp } from './shared.js';
|
|
2
|
+
/** Monday 00:00 UTC of the week holding `iso`, as YYYY-MM-DD. */
|
|
3
|
+
export declare function weekOf(iso: string): string;
|
|
4
|
+
export declare function registerInsightsRoute(app: JobsApp): void;
|
|
5
|
+
//# sourceMappingURL=insights.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insights.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/insights.ts"],"names":[],"mappings":"AAsBA,OAAO,EAKN,KAAK,OAAO,EACZ,MAAM,aAAa,CAAC;AAQrB,iEAAiE;AACjE,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAK1C;AAgCD,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CA0KxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locations.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/locations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAY3C,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAwCzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"owner.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/owner.ts"],"names":[],"mappings":"AAWA,OAAO,EAA2B,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAEpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"owner.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/owner.ts"],"names":[],"mappings":"AAWA,OAAO,EAA2B,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAEpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAsItD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type JobsApp } from './shared.js';
|
|
2
|
+
export interface TrackingRow {
|
|
3
|
+
notes: string | null;
|
|
4
|
+
priority: number | null;
|
|
5
|
+
follow_up_at: string | null;
|
|
6
|
+
contact_name: string | null;
|
|
7
|
+
contact_email: string | null;
|
|
8
|
+
}
|
|
9
|
+
export declare const TRACKING_COLS = "notes, priority, follow_up_at, contact_name, contact_email";
|
|
10
|
+
export declare function toTracking(r: TrackingRow): {
|
|
11
|
+
notes: string | null;
|
|
12
|
+
priority: 3 | 2 | 1 | null;
|
|
13
|
+
follow_up_at: string | null;
|
|
14
|
+
contact_name: string | null;
|
|
15
|
+
contact_email: string | null;
|
|
16
|
+
};
|
|
17
|
+
export declare function registerPipelineRoutes(app: JobsApp): void;
|
|
18
|
+
//# sourceMappingURL=pipeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/pipeline.ts"],"names":[],"mappings":"AA+BA,OAAO,EAMN,KAAK,OAAO,EACZ,MAAM,aAAa,CAAC;AAmCrB,MAAM,WAAW,WAAW;IAC3B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAGD,eAAO,MAAM,aAAa,+DAA+D,CAAC;AAqB1F,wBAAgB,UAAU,CAAC,CAAC,EAAE,WAAW;;;;;;EAQxC;AAgCD,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAgTzD"}
|
|
@@ -2,6 +2,9 @@ import { type JobsApp } from './shared.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* PUT / DELETE /jobs/{id}/state — the caller's triage state for one job.
|
|
4
4
|
*
|
|
5
|
+
* A change of state is also a row on the job's timeline (job_events, kind
|
|
6
|
+
* 'state'); see pipeline.ts for the rest of that timeline.
|
|
7
|
+
*
|
|
5
8
|
* gateAuthed is registered as middleware on the plain method+path first; the
|
|
6
9
|
* openapi routes below then run as the next handler in the same chain. Keep
|
|
7
10
|
* that order.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/state.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAEpE
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/state.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAEpE;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CA2JtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailoring.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/tailoring.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAqD,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAmG9F,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"tailoring.d.ts","sourceRoot":"","sources":["../../../src/routes/jobs/tailoring.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAqD,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAmG9F,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAoO1D"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -212,11 +212,15 @@ export declare const RoleTrackSchema: z.ZodEnum<{
|
|
|
212
212
|
ic: "ic";
|
|
213
213
|
manager: "manager";
|
|
214
214
|
}>;
|
|
215
|
+
export declare const JOB_STATES: readonly ["interested", "dismissed", "saved", "applied", "interviewing", "offered", "rejected"];
|
|
215
216
|
export declare const JobStateSchema: z.ZodEnum<{
|
|
216
217
|
interested: "interested";
|
|
217
218
|
dismissed: "dismissed";
|
|
218
219
|
saved: "saved";
|
|
219
220
|
applied: "applied";
|
|
221
|
+
interviewing: "interviewing";
|
|
222
|
+
offered: "offered";
|
|
223
|
+
rejected: "rejected";
|
|
220
224
|
}>;
|
|
221
225
|
export type JobStateValue = z.infer<typeof JobStateSchema>;
|
|
222
226
|
export declare const JobStateReadSchema: z.ZodEnum<{
|
|
@@ -224,8 +228,14 @@ export declare const JobStateReadSchema: z.ZodEnum<{
|
|
|
224
228
|
dismissed: "dismissed";
|
|
225
229
|
saved: "saved";
|
|
226
230
|
applied: "applied";
|
|
231
|
+
interviewing: "interviewing";
|
|
232
|
+
offered: "offered";
|
|
233
|
+
rejected: "rejected";
|
|
227
234
|
new: "new";
|
|
228
235
|
}>;
|
|
236
|
+
export type JobStateReadValue = z.infer<typeof JobStateReadSchema>;
|
|
237
|
+
/** D1 hands back plain TEXT; anything this code never wrote reads as 'new'. */
|
|
238
|
+
export declare function asJobStateRead(v: string | null | undefined): JobStateReadValue;
|
|
229
239
|
export declare const ApplicationStatusSchema: z.ZodEnum<{
|
|
230
240
|
failed: "failed";
|
|
231
241
|
queued: "queued";
|
|
@@ -283,6 +293,9 @@ export declare const JobSummarySchema: z.ZodObject<{
|
|
|
283
293
|
dismissed: "dismissed";
|
|
284
294
|
saved: "saved";
|
|
285
295
|
applied: "applied";
|
|
296
|
+
interviewing: "interviewing";
|
|
297
|
+
offered: "offered";
|
|
298
|
+
rejected: "rejected";
|
|
286
299
|
new: "new";
|
|
287
300
|
}>>;
|
|
288
301
|
application_status: z.ZodNullable<z.ZodEnum<{
|
|
@@ -297,6 +310,16 @@ export declare const JobSummarySchema: z.ZodObject<{
|
|
|
297
310
|
vote: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<-1>]>>>;
|
|
298
311
|
vote_reasons: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
299
312
|
}, z.core.$strip>;
|
|
313
|
+
/** V5: 1 high · 2 normal · 3 low. */
|
|
314
|
+
export declare const PrioritySchema: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
315
|
+
/** What a person tracks about one application (job_states, migration 0028). */
|
|
316
|
+
export declare const TrackingSchema: z.ZodObject<{
|
|
317
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
318
|
+
priority: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
319
|
+
follow_up_at: z.ZodNullable<z.ZodString>;
|
|
320
|
+
contact_name: z.ZodNullable<z.ZodString>;
|
|
321
|
+
contact_email: z.ZodNullable<z.ZodString>;
|
|
322
|
+
}, z.core.$strip>;
|
|
300
323
|
export declare const JobDetailSchema: z.ZodObject<{
|
|
301
324
|
id: z.ZodString;
|
|
302
325
|
title: z.ZodString;
|
|
@@ -345,6 +368,9 @@ export declare const JobDetailSchema: z.ZodObject<{
|
|
|
345
368
|
dismissed: "dismissed";
|
|
346
369
|
saved: "saved";
|
|
347
370
|
applied: "applied";
|
|
371
|
+
interviewing: "interviewing";
|
|
372
|
+
offered: "offered";
|
|
373
|
+
rejected: "rejected";
|
|
348
374
|
new: "new";
|
|
349
375
|
}>>;
|
|
350
376
|
application_status: z.ZodNullable<z.ZodEnum<{
|
|
@@ -376,6 +402,13 @@ export declare const JobDetailSchema: z.ZodObject<{
|
|
|
376
402
|
scraper_used: z.ZodNullable<z.ZodString>;
|
|
377
403
|
run_id: z.ZodNullable<z.ZodString>;
|
|
378
404
|
state_updated_at: z.ZodNullable<z.ZodString>;
|
|
405
|
+
tracking: z.ZodNullable<z.ZodObject<{
|
|
406
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
407
|
+
priority: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
408
|
+
follow_up_at: z.ZodNullable<z.ZodString>;
|
|
409
|
+
contact_name: z.ZodNullable<z.ZodString>;
|
|
410
|
+
contact_email: z.ZodNullable<z.ZodString>;
|
|
411
|
+
}, z.core.$strip>>;
|
|
379
412
|
}, z.core.$strip>;
|
|
380
413
|
export declare const FEEDBACK_REASONS: readonly ["pay", "location", "stack", "domain", "level", "company", "comp", "fit", "other"];
|
|
381
414
|
export declare const SetJobFeedbackSchema: z.ZodObject<{
|
|
@@ -407,6 +440,9 @@ export declare const SetJobStateSchema: z.ZodObject<{
|
|
|
407
440
|
dismissed: "dismissed";
|
|
408
441
|
saved: "saved";
|
|
409
442
|
applied: "applied";
|
|
443
|
+
interviewing: "interviewing";
|
|
444
|
+
offered: "offered";
|
|
445
|
+
rejected: "rejected";
|
|
410
446
|
}>;
|
|
411
447
|
variant_slug: z.ZodOptional<z.ZodString>;
|
|
412
448
|
}, z.core.$strip>;
|
|
@@ -419,6 +455,9 @@ export declare const JobStateResponseSchema: z.ZodObject<{
|
|
|
419
455
|
dismissed: "dismissed";
|
|
420
456
|
saved: "saved";
|
|
421
457
|
applied: "applied";
|
|
458
|
+
interviewing: "interviewing";
|
|
459
|
+
offered: "offered";
|
|
460
|
+
rejected: "rejected";
|
|
422
461
|
new: "new";
|
|
423
462
|
}>;
|
|
424
463
|
updated_at: z.ZodString;
|
|
@@ -434,6 +473,9 @@ export declare const PacketSummarySchema: z.ZodObject<{
|
|
|
434
473
|
dismissed: "dismissed";
|
|
435
474
|
saved: "saved";
|
|
436
475
|
applied: "applied";
|
|
476
|
+
interviewing: "interviewing";
|
|
477
|
+
offered: "offered";
|
|
478
|
+
rejected: "rejected";
|
|
437
479
|
new: "new";
|
|
438
480
|
}>;
|
|
439
481
|
variant_slug: z.ZodString;
|
|
@@ -452,6 +494,9 @@ export declare const PacketsResponseSchema: z.ZodObject<{
|
|
|
452
494
|
dismissed: "dismissed";
|
|
453
495
|
saved: "saved";
|
|
454
496
|
applied: "applied";
|
|
497
|
+
interviewing: "interviewing";
|
|
498
|
+
offered: "offered";
|
|
499
|
+
rejected: "rejected";
|
|
455
500
|
new: "new";
|
|
456
501
|
}>;
|
|
457
502
|
variant_slug: z.ZodString;
|
|
@@ -510,6 +555,9 @@ export declare const JobsResponseSchema: z.ZodObject<{
|
|
|
510
555
|
dismissed: "dismissed";
|
|
511
556
|
saved: "saved";
|
|
512
557
|
applied: "applied";
|
|
558
|
+
interviewing: "interviewing";
|
|
559
|
+
offered: "offered";
|
|
560
|
+
rejected: "rejected";
|
|
513
561
|
new: "new";
|
|
514
562
|
}>>;
|
|
515
563
|
application_status: z.ZodNullable<z.ZodEnum<{
|
|
@@ -581,6 +629,9 @@ export declare const JobResponseSchema: z.ZodObject<{
|
|
|
581
629
|
dismissed: "dismissed";
|
|
582
630
|
saved: "saved";
|
|
583
631
|
applied: "applied";
|
|
632
|
+
interviewing: "interviewing";
|
|
633
|
+
offered: "offered";
|
|
634
|
+
rejected: "rejected";
|
|
584
635
|
new: "new";
|
|
585
636
|
}>>;
|
|
586
637
|
application_status: z.ZodNullable<z.ZodEnum<{
|
|
@@ -612,6 +663,13 @@ export declare const JobResponseSchema: z.ZodObject<{
|
|
|
612
663
|
scraper_used: z.ZodNullable<z.ZodString>;
|
|
613
664
|
run_id: z.ZodNullable<z.ZodString>;
|
|
614
665
|
state_updated_at: z.ZodNullable<z.ZodString>;
|
|
666
|
+
tracking: z.ZodNullable<z.ZodObject<{
|
|
667
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
668
|
+
priority: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
669
|
+
follow_up_at: z.ZodNullable<z.ZodString>;
|
|
670
|
+
contact_name: z.ZodNullable<z.ZodString>;
|
|
671
|
+
contact_email: z.ZodNullable<z.ZodString>;
|
|
672
|
+
}, z.core.$strip>>;
|
|
615
673
|
}, z.core.$strip>;
|
|
616
674
|
}, z.core.$strip>;
|
|
617
675
|
}, z.core.$strip>;
|
|
@@ -1085,4 +1143,329 @@ export declare const DeleteCompanyResponseSchema: z.ZodObject<{
|
|
|
1085
1143
|
id: z.ZodString;
|
|
1086
1144
|
}, z.core.$strip>;
|
|
1087
1145
|
}, z.core.$strip>;
|
|
1146
|
+
/** Kinds a person writes; 'state' rows are written by PUT /jobs/:id/state only. */
|
|
1147
|
+
export declare const PERSON_EVENT_KINDS: readonly ["note", "interview", "contact", "follow_up"];
|
|
1148
|
+
export declare const JobEventKindSchema: z.ZodEnum<{
|
|
1149
|
+
state: "state";
|
|
1150
|
+
note: "note";
|
|
1151
|
+
interview: "interview";
|
|
1152
|
+
contact: "contact";
|
|
1153
|
+
follow_up: "follow_up";
|
|
1154
|
+
}>;
|
|
1155
|
+
export declare const JobEventSchema: z.ZodObject<{
|
|
1156
|
+
id: z.ZodNumber;
|
|
1157
|
+
job_id: z.ZodString;
|
|
1158
|
+
kind: z.ZodEnum<{
|
|
1159
|
+
state: "state";
|
|
1160
|
+
note: "note";
|
|
1161
|
+
interview: "interview";
|
|
1162
|
+
contact: "contact";
|
|
1163
|
+
follow_up: "follow_up";
|
|
1164
|
+
}>;
|
|
1165
|
+
from_state: z.ZodNullable<z.ZodEnum<{
|
|
1166
|
+
interested: "interested";
|
|
1167
|
+
dismissed: "dismissed";
|
|
1168
|
+
saved: "saved";
|
|
1169
|
+
applied: "applied";
|
|
1170
|
+
interviewing: "interviewing";
|
|
1171
|
+
offered: "offered";
|
|
1172
|
+
rejected: "rejected";
|
|
1173
|
+
}>>;
|
|
1174
|
+
to_state: z.ZodNullable<z.ZodEnum<{
|
|
1175
|
+
interested: "interested";
|
|
1176
|
+
dismissed: "dismissed";
|
|
1177
|
+
saved: "saved";
|
|
1178
|
+
applied: "applied";
|
|
1179
|
+
interviewing: "interviewing";
|
|
1180
|
+
offered: "offered";
|
|
1181
|
+
rejected: "rejected";
|
|
1182
|
+
}>>;
|
|
1183
|
+
note: z.ZodNullable<z.ZodString>;
|
|
1184
|
+
occurred_at: z.ZodString;
|
|
1185
|
+
created_at: z.ZodString;
|
|
1186
|
+
}, z.core.$strip>;
|
|
1187
|
+
export declare const JobEventsResponseSchema: z.ZodObject<{
|
|
1188
|
+
success: z.ZodLiteral<true>;
|
|
1189
|
+
data: z.ZodObject<{
|
|
1190
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1191
|
+
id: z.ZodNumber;
|
|
1192
|
+
job_id: z.ZodString;
|
|
1193
|
+
kind: z.ZodEnum<{
|
|
1194
|
+
state: "state";
|
|
1195
|
+
note: "note";
|
|
1196
|
+
interview: "interview";
|
|
1197
|
+
contact: "contact";
|
|
1198
|
+
follow_up: "follow_up";
|
|
1199
|
+
}>;
|
|
1200
|
+
from_state: z.ZodNullable<z.ZodEnum<{
|
|
1201
|
+
interested: "interested";
|
|
1202
|
+
dismissed: "dismissed";
|
|
1203
|
+
saved: "saved";
|
|
1204
|
+
applied: "applied";
|
|
1205
|
+
interviewing: "interviewing";
|
|
1206
|
+
offered: "offered";
|
|
1207
|
+
rejected: "rejected";
|
|
1208
|
+
}>>;
|
|
1209
|
+
to_state: z.ZodNullable<z.ZodEnum<{
|
|
1210
|
+
interested: "interested";
|
|
1211
|
+
dismissed: "dismissed";
|
|
1212
|
+
saved: "saved";
|
|
1213
|
+
applied: "applied";
|
|
1214
|
+
interviewing: "interviewing";
|
|
1215
|
+
offered: "offered";
|
|
1216
|
+
rejected: "rejected";
|
|
1217
|
+
}>>;
|
|
1218
|
+
note: z.ZodNullable<z.ZodString>;
|
|
1219
|
+
occurred_at: z.ZodString;
|
|
1220
|
+
created_at: z.ZodString;
|
|
1221
|
+
}, z.core.$strip>>;
|
|
1222
|
+
}, z.core.$strip>;
|
|
1223
|
+
}, z.core.$strip>;
|
|
1224
|
+
export declare const JobEventResponseSchema: z.ZodObject<{
|
|
1225
|
+
success: z.ZodLiteral<true>;
|
|
1226
|
+
data: z.ZodObject<{
|
|
1227
|
+
event: z.ZodObject<{
|
|
1228
|
+
id: z.ZodNumber;
|
|
1229
|
+
job_id: z.ZodString;
|
|
1230
|
+
kind: z.ZodEnum<{
|
|
1231
|
+
state: "state";
|
|
1232
|
+
note: "note";
|
|
1233
|
+
interview: "interview";
|
|
1234
|
+
contact: "contact";
|
|
1235
|
+
follow_up: "follow_up";
|
|
1236
|
+
}>;
|
|
1237
|
+
from_state: z.ZodNullable<z.ZodEnum<{
|
|
1238
|
+
interested: "interested";
|
|
1239
|
+
dismissed: "dismissed";
|
|
1240
|
+
saved: "saved";
|
|
1241
|
+
applied: "applied";
|
|
1242
|
+
interviewing: "interviewing";
|
|
1243
|
+
offered: "offered";
|
|
1244
|
+
rejected: "rejected";
|
|
1245
|
+
}>>;
|
|
1246
|
+
to_state: z.ZodNullable<z.ZodEnum<{
|
|
1247
|
+
interested: "interested";
|
|
1248
|
+
dismissed: "dismissed";
|
|
1249
|
+
saved: "saved";
|
|
1250
|
+
applied: "applied";
|
|
1251
|
+
interviewing: "interviewing";
|
|
1252
|
+
offered: "offered";
|
|
1253
|
+
rejected: "rejected";
|
|
1254
|
+
}>>;
|
|
1255
|
+
note: z.ZodNullable<z.ZodString>;
|
|
1256
|
+
occurred_at: z.ZodString;
|
|
1257
|
+
created_at: z.ZodString;
|
|
1258
|
+
}, z.core.$strip>;
|
|
1259
|
+
}, z.core.$strip>;
|
|
1260
|
+
}, z.core.$strip>;
|
|
1261
|
+
export declare const AddJobEventSchema: z.ZodObject<{
|
|
1262
|
+
kind: z.ZodEnum<{
|
|
1263
|
+
note: "note";
|
|
1264
|
+
interview: "interview";
|
|
1265
|
+
contact: "contact";
|
|
1266
|
+
follow_up: "follow_up";
|
|
1267
|
+
}>;
|
|
1268
|
+
note: z.ZodString;
|
|
1269
|
+
occurred_at: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
}, z.core.$strip>;
|
|
1271
|
+
/** Every field optional; `null` clears one. At least one must be present. */
|
|
1272
|
+
export declare const SetTrackingSchema: z.ZodObject<{
|
|
1273
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1274
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>>;
|
|
1275
|
+
follow_up_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1276
|
+
contact_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1277
|
+
contact_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1278
|
+
}, z.core.$strip>;
|
|
1279
|
+
export declare const TrackingResponseSchema: z.ZodObject<{
|
|
1280
|
+
success: z.ZodLiteral<true>;
|
|
1281
|
+
data: z.ZodObject<{
|
|
1282
|
+
job_id: z.ZodString;
|
|
1283
|
+
tracking: z.ZodObject<{
|
|
1284
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1285
|
+
priority: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
1286
|
+
follow_up_at: z.ZodNullable<z.ZodString>;
|
|
1287
|
+
contact_name: z.ZodNullable<z.ZodString>;
|
|
1288
|
+
contact_email: z.ZodNullable<z.ZodString>;
|
|
1289
|
+
}, z.core.$strip>;
|
|
1290
|
+
}, z.core.$strip>;
|
|
1291
|
+
}, z.core.$strip>;
|
|
1292
|
+
export declare const PipelineItemSchema: z.ZodObject<{
|
|
1293
|
+
job_id: z.ZodString;
|
|
1294
|
+
title: z.ZodString;
|
|
1295
|
+
company: z.ZodString;
|
|
1296
|
+
location: z.ZodString;
|
|
1297
|
+
workplace_type: z.ZodString;
|
|
1298
|
+
salary_min: z.ZodNullable<z.ZodNumber>;
|
|
1299
|
+
salary_max: z.ZodNullable<z.ZodNumber>;
|
|
1300
|
+
url: z.ZodString;
|
|
1301
|
+
posted_date: z.ZodNullable<z.ZodString>;
|
|
1302
|
+
state: z.ZodEnum<{
|
|
1303
|
+
interested: "interested";
|
|
1304
|
+
dismissed: "dismissed";
|
|
1305
|
+
saved: "saved";
|
|
1306
|
+
applied: "applied";
|
|
1307
|
+
interviewing: "interviewing";
|
|
1308
|
+
offered: "offered";
|
|
1309
|
+
rejected: "rejected";
|
|
1310
|
+
}>;
|
|
1311
|
+
updated_at: z.ZodString;
|
|
1312
|
+
tracking: z.ZodObject<{
|
|
1313
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1314
|
+
priority: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
1315
|
+
follow_up_at: z.ZodNullable<z.ZodString>;
|
|
1316
|
+
contact_name: z.ZodNullable<z.ZodString>;
|
|
1317
|
+
contact_email: z.ZodNullable<z.ZodString>;
|
|
1318
|
+
}, z.core.$strip>;
|
|
1319
|
+
variant_slug: z.ZodNullable<z.ZodString>;
|
|
1320
|
+
application_status: z.ZodNullable<z.ZodEnum<{
|
|
1321
|
+
failed: "failed";
|
|
1322
|
+
queued: "queued";
|
|
1323
|
+
filled: "filled";
|
|
1324
|
+
approved: "approved";
|
|
1325
|
+
submitted: "submitted";
|
|
1326
|
+
needs_manual: "needs_manual";
|
|
1327
|
+
job_closed: "job_closed";
|
|
1328
|
+
}>>;
|
|
1329
|
+
applied_at: z.ZodNullable<z.ZodString>;
|
|
1330
|
+
last_event_at: z.ZodNullable<z.ZodString>;
|
|
1331
|
+
}, z.core.$strip>;
|
|
1332
|
+
export declare const PipelineResponseSchema: z.ZodObject<{
|
|
1333
|
+
success: z.ZodLiteral<true>;
|
|
1334
|
+
data: z.ZodObject<{
|
|
1335
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1336
|
+
job_id: z.ZodString;
|
|
1337
|
+
title: z.ZodString;
|
|
1338
|
+
company: z.ZodString;
|
|
1339
|
+
location: z.ZodString;
|
|
1340
|
+
workplace_type: z.ZodString;
|
|
1341
|
+
salary_min: z.ZodNullable<z.ZodNumber>;
|
|
1342
|
+
salary_max: z.ZodNullable<z.ZodNumber>;
|
|
1343
|
+
url: z.ZodString;
|
|
1344
|
+
posted_date: z.ZodNullable<z.ZodString>;
|
|
1345
|
+
state: z.ZodEnum<{
|
|
1346
|
+
interested: "interested";
|
|
1347
|
+
dismissed: "dismissed";
|
|
1348
|
+
saved: "saved";
|
|
1349
|
+
applied: "applied";
|
|
1350
|
+
interviewing: "interviewing";
|
|
1351
|
+
offered: "offered";
|
|
1352
|
+
rejected: "rejected";
|
|
1353
|
+
}>;
|
|
1354
|
+
updated_at: z.ZodString;
|
|
1355
|
+
tracking: z.ZodObject<{
|
|
1356
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1357
|
+
priority: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
1358
|
+
follow_up_at: z.ZodNullable<z.ZodString>;
|
|
1359
|
+
contact_name: z.ZodNullable<z.ZodString>;
|
|
1360
|
+
contact_email: z.ZodNullable<z.ZodString>;
|
|
1361
|
+
}, z.core.$strip>;
|
|
1362
|
+
variant_slug: z.ZodNullable<z.ZodString>;
|
|
1363
|
+
application_status: z.ZodNullable<z.ZodEnum<{
|
|
1364
|
+
failed: "failed";
|
|
1365
|
+
queued: "queued";
|
|
1366
|
+
filled: "filled";
|
|
1367
|
+
approved: "approved";
|
|
1368
|
+
submitted: "submitted";
|
|
1369
|
+
needs_manual: "needs_manual";
|
|
1370
|
+
job_closed: "job_closed";
|
|
1371
|
+
}>>;
|
|
1372
|
+
applied_at: z.ZodNullable<z.ZodString>;
|
|
1373
|
+
last_event_at: z.ZodNullable<z.ZodString>;
|
|
1374
|
+
}, z.core.$strip>>;
|
|
1375
|
+
}, z.core.$strip>;
|
|
1376
|
+
}, z.core.$strip>;
|
|
1377
|
+
export declare const BlockedCompanySchema: z.ZodObject<{
|
|
1378
|
+
company: z.ZodString;
|
|
1379
|
+
company_key: z.ZodString;
|
|
1380
|
+
created_at: z.ZodString;
|
|
1381
|
+
}, z.core.$strip>;
|
|
1382
|
+
export declare const BlockedCompaniesResponseSchema: z.ZodObject<{
|
|
1383
|
+
success: z.ZodLiteral<true>;
|
|
1384
|
+
data: z.ZodObject<{
|
|
1385
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
1386
|
+
company: z.ZodString;
|
|
1387
|
+
company_key: z.ZodString;
|
|
1388
|
+
created_at: z.ZodString;
|
|
1389
|
+
}, z.core.$strip>>;
|
|
1390
|
+
}, z.core.$strip>;
|
|
1391
|
+
}, z.core.$strip>;
|
|
1392
|
+
export declare const BlockCompanySchema: z.ZodObject<{
|
|
1393
|
+
company: z.ZodString;
|
|
1394
|
+
}, z.core.$strip>;
|
|
1395
|
+
export declare const BlockedCompanyResponseSchema: z.ZodObject<{
|
|
1396
|
+
success: z.ZodLiteral<true>;
|
|
1397
|
+
data: z.ZodObject<{
|
|
1398
|
+
company: z.ZodObject<{
|
|
1399
|
+
company: z.ZodString;
|
|
1400
|
+
company_key: z.ZodString;
|
|
1401
|
+
created_at: z.ZodString;
|
|
1402
|
+
}, z.core.$strip>;
|
|
1403
|
+
}, z.core.$strip>;
|
|
1404
|
+
}, z.core.$strip>;
|
|
1405
|
+
export declare const UnblockCompanyResponseSchema: z.ZodObject<{
|
|
1406
|
+
success: z.ZodLiteral<true>;
|
|
1407
|
+
data: z.ZodObject<{
|
|
1408
|
+
company_key: z.ZodString;
|
|
1409
|
+
deleted: z.ZodBoolean;
|
|
1410
|
+
}, z.core.$strip>;
|
|
1411
|
+
}, z.core.$strip>;
|
|
1412
|
+
export declare const InsightsSchema: z.ZodObject<{
|
|
1413
|
+
states: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
1414
|
+
reached: z.ZodObject<{
|
|
1415
|
+
applied: z.ZodNumber;
|
|
1416
|
+
responded: z.ZodNumber;
|
|
1417
|
+
interviewed: z.ZodNumber;
|
|
1418
|
+
offered: z.ZodNumber;
|
|
1419
|
+
}, z.core.$strip>;
|
|
1420
|
+
rates: z.ZodObject<{
|
|
1421
|
+
response: z.ZodNullable<z.ZodNumber>;
|
|
1422
|
+
interview: z.ZodNullable<z.ZodNumber>;
|
|
1423
|
+
offer: z.ZodNullable<z.ZodNumber>;
|
|
1424
|
+
}, z.core.$strip>;
|
|
1425
|
+
weekly_applied: z.ZodArray<z.ZodObject<{
|
|
1426
|
+
week: z.ZodString;
|
|
1427
|
+
count: z.ZodNumber;
|
|
1428
|
+
}, z.core.$strip>>;
|
|
1429
|
+
workplace: z.ZodArray<z.ZodObject<{
|
|
1430
|
+
workplace_type: z.ZodString;
|
|
1431
|
+
count: z.ZodNumber;
|
|
1432
|
+
}, z.core.$strip>>;
|
|
1433
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
1434
|
+
skill: z.ZodString;
|
|
1435
|
+
postings: z.ZodNumber;
|
|
1436
|
+
in_stack: z.ZodBoolean;
|
|
1437
|
+
}, z.core.$strip>>;
|
|
1438
|
+
skill_postings: z.ZodNumber;
|
|
1439
|
+
}, z.core.$strip>;
|
|
1440
|
+
export declare const InsightsResponseSchema: z.ZodObject<{
|
|
1441
|
+
success: z.ZodLiteral<true>;
|
|
1442
|
+
data: z.ZodObject<{
|
|
1443
|
+
states: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
1444
|
+
reached: z.ZodObject<{
|
|
1445
|
+
applied: z.ZodNumber;
|
|
1446
|
+
responded: z.ZodNumber;
|
|
1447
|
+
interviewed: z.ZodNumber;
|
|
1448
|
+
offered: z.ZodNumber;
|
|
1449
|
+
}, z.core.$strip>;
|
|
1450
|
+
rates: z.ZodObject<{
|
|
1451
|
+
response: z.ZodNullable<z.ZodNumber>;
|
|
1452
|
+
interview: z.ZodNullable<z.ZodNumber>;
|
|
1453
|
+
offer: z.ZodNullable<z.ZodNumber>;
|
|
1454
|
+
}, z.core.$strip>;
|
|
1455
|
+
weekly_applied: z.ZodArray<z.ZodObject<{
|
|
1456
|
+
week: z.ZodString;
|
|
1457
|
+
count: z.ZodNumber;
|
|
1458
|
+
}, z.core.$strip>>;
|
|
1459
|
+
workplace: z.ZodArray<z.ZodObject<{
|
|
1460
|
+
workplace_type: z.ZodString;
|
|
1461
|
+
count: z.ZodNumber;
|
|
1462
|
+
}, z.core.$strip>>;
|
|
1463
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
1464
|
+
skill: z.ZodString;
|
|
1465
|
+
postings: z.ZodNumber;
|
|
1466
|
+
in_stack: z.ZodBoolean;
|
|
1467
|
+
}, z.core.$strip>>;
|
|
1468
|
+
skill_postings: z.ZodNumber;
|
|
1469
|
+
}, z.core.$strip>;
|
|
1470
|
+
}, z.core.$strip>;
|
|
1088
1471
|
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAItC,eAAO,MAAM,mBAAmB;;;;iBAA8B,CAAC;AAO/D,eAAO,MAAM,oBAAoB;;;;;;;;iBAMN,CAAC;AAS5B,eAAO,MAAM,kBAAkB;;;;EAA8D,CAAC;AAC9F,eAAO,MAAM,eAAe;;;;;;;;;;;;EAAiE,CAAC;AAE9F,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcN,CAAC;AAErB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQN,CAAC;AAE3B,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyD,CAAC;AAE1F,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAElC,CAAC;AACF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEjC,CAAC;AACF,eAAO,MAAM,oBAAoB;;;;;;iBAEN,CAAC;AAM5B,eAAO,MAAM,oBAAoB;;;;;;;;iBAUN,CAAC;AAE5B,iEAAiE;AACjE,eAAO,MAAM,eAAe;;;;EAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAItC,eAAO,MAAM,mBAAmB;;;;iBAA8B,CAAC;AAO/D,eAAO,MAAM,oBAAoB;;;;;;;;iBAMN,CAAC;AAS5B,eAAO,MAAM,kBAAkB;;;;EAA8D,CAAC;AAC9F,eAAO,MAAM,eAA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AAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAgD,CAAC"}
|
package/dist/skills.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which technologies a posting asks for — the vocabulary behind GET /insights'
|
|
3
|
+
* skill demand.
|
|
4
|
+
*
|
|
5
|
+
* Ported from JobPulse's matcher.py (2026-11-06), trimmed to the engineering
|
|
6
|
+
* terms this corpus actually carries: its help-desk and IT-operations tail
|
|
7
|
+
* ("ticketing", "windows 10") and its catch-alls ("api", "automation") named
|
|
8
|
+
* something in nearly every posting and so ranked nothing. Each entry is one
|
|
9
|
+
* canonical name with the spellings that mean it — JobPulse's SKILL_SYNONYMS,
|
|
10
|
+
* folded in — so "k8s" and "Kubernetes" count once.
|
|
11
|
+
*
|
|
12
|
+
* Go is matched by context, never by the bare word: "go" is an English verb in
|
|
13
|
+
* every other description. GO_RE is JobPulse's GOLANG_PATTERN.
|
|
14
|
+
*
|
|
15
|
+
* Scoring does not use this. stack_fit reads TITLE_TECH in scoring.ts, which is
|
|
16
|
+
* a different question (what defines the role) from this one (what the
|
|
17
|
+
* postings you are pursuing keep asking for).
|
|
18
|
+
*/
|
|
19
|
+
/** The canonical skills a text names, each once, in vocabulary order. */
|
|
20
|
+
export declare function extractSkills(text: string): string[];
|
|
21
|
+
/** Fold a person's own spelling ("K8s", "Postgres") onto the vocabulary's name. */
|
|
22
|
+
export declare function canonicalSkill(term: string): string;
|
|
23
|
+
//# sourceMappingURL=skills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../src/skills.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAwHH,yEAAyE;AACzE,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAMpD;AAED,mFAAmF;AACnF,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAKnD"}
|