@hadoku/jobplatform 3.42.123 → 3.42.124
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/{ApplicationTracking-DV0cuiL2.js → ApplicationTracking-mioy9vBN.js} +2 -2
- package/dist/{ApplicationsList-CHMuz8-r.js → ApplicationsList-B_IpHPXq.js} +1 -1
- package/dist/{ClipboardPalette-CzMDCmCp.js → ClipboardPalette-BKAjb7B_.js} +1 -1
- package/dist/{InsightsPage-DbVHXS5R.js → InsightsPage-1riaKlxv.js} +1 -1
- package/dist/{PacketDetail-DgtC60z5.js → PacketDetail-DeOgBjKi.js} +2 -2
- package/dist/{PacketsList-D8yefRip.js → PacketsList-CtPQIhyx.js} +2 -2
- package/dist/{PipelineBoard-DdxFEviC.js → PipelineBoard-BgqelW_w.js} +2 -2
- package/dist/{ProfilePage-BMkG7wxF.js → ProfilePage-YLomJCE4.js} +1 -1
- package/dist/api/applyQueue.d.ts +28 -6
- package/dist/api/applyQueue.d.ts.map +1 -1
- package/dist/components/JobDrawer.d.ts.map +1 -1
- package/dist/{entry-DxJgMtQK.js → entry-BPQSVIdk.js} +450 -462
- package/dist/index.js +1 -1
- package/dist/{packets-C2ub3995.js → packets-BZ_hk5bs.js} +1 -1
- package/dist/{pipeline-D1w1b6S9.js → pipeline-YSKh77yD.js} +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as G, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as K, useState as l, useEffect as Q } from "react";
|
|
3
|
-
import { u as V, i as h, J as X } from "./entry-
|
|
4
|
-
import { l as I, s as ee, a as te, d as ae } from "./pipeline-
|
|
3
|
+
import { u as V, i as h, J as X } from "./entry-BPQSVIdk.js";
|
|
4
|
+
import { l as I, s as ee, a as te, d as ae } from "./pipeline-YSKh77yD.js";
|
|
5
5
|
const ne = {
|
|
6
6
|
notes: null,
|
|
7
7
|
priority: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import { useState as _, useMemo as W, useCallback as Q, useEffect as V } from "react";
|
|
3
|
-
import { l as M, a as J, J as S, s as U, f as X, b as Z, u as ee, c as ne, d as te } from "./entry-
|
|
3
|
+
import { l as M, a as J, J as S, s as U, f as X, b as Z, u as ee, c as ne, d as te } from "./entry-BPQSVIdk.js";
|
|
4
4
|
function F(r) {
|
|
5
5
|
return r.replace(/\*/g, " ").toLowerCase().replace(/n't\b/g, " not ").replace(/[^a-z0-9]+/g, " ").trim();
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useRef as f, useEffect as h } from "react";
|
|
3
|
-
import { u as _, k as j } from "./entry-
|
|
3
|
+
import { u as _, k as j } from "./entry-BPQSVIdk.js";
|
|
4
4
|
function y(e) {
|
|
5
5
|
const t = e.work_experience?.find((i) => i.current) ?? e.work_experience?.[0];
|
|
6
6
|
return [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { u as _, J as j, j as g } from "./entry-
|
|
2
|
+
import { u as _, J as j, j as g } from "./entry-BPQSVIdk.js";
|
|
3
3
|
const o = (s) => s === null ? "—" : `${Math.round(s * 100)}%`;
|
|
4
4
|
function h(s) {
|
|
5
5
|
return (/* @__PURE__ */ new Date(`${s}T00:00:00Z`)).toLocaleDateString(void 0, { month: "short", day: "numeric", timeZone: "UTC" });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as t, jsx as a, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useEffect as _ } from "react";
|
|
3
|
-
import { g as y, J as b, D as v } from "./entry-
|
|
4
|
-
import { g, p as E, a as P } from "./packets-
|
|
3
|
+
import { g as y, J as b, D as v } from "./entry-BPQSVIdk.js";
|
|
4
|
+
import { g, p as E, a as P } from "./packets-BZ_hk5bs.js";
|
|
5
5
|
function L({ auth: f, jobId: m, slug: n, onClose: s }) {
|
|
6
6
|
const [e, h] = i(null), [o, k] = i(null), [r, j] = i(null), [p, u] = i(null);
|
|
7
7
|
_(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { u, e as k, J as p } from "./entry-
|
|
3
|
-
import { p as j } from "./packets-
|
|
2
|
+
import { u, e as k, J as p } from "./entry-BPQSVIdk.js";
|
|
3
|
+
import { p as j } from "./packets-BZ_hk5bs.js";
|
|
4
4
|
function h(c) {
|
|
5
5
|
const t = new Date(c);
|
|
6
6
|
return Number.isNaN(t.getTime()) ? c : t.toLocaleDateString();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as a, Fragment as F } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h, useEffect as P, useMemo as I } from "react";
|
|
3
|
-
import { J as D, u as O, i as L, h as B } from "./entry-
|
|
4
|
-
import { i as J, g as Y } from "./pipeline-
|
|
3
|
+
import { J as D, u as O, i as L, h as B } from "./entry-BPQSVIdk.js";
|
|
4
|
+
import { i as J, g as Y } from "./pipeline-YSKh77yD.js";
|
|
5
5
|
const G = [
|
|
6
6
|
{ value: "saved", label: "Saved" },
|
|
7
7
|
{ value: "interested", label: "Interested" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import { useState as y, useEffect as R } from "react";
|
|
3
|
-
import { u as A, k as F, m as P, J as L, n as M, i as C, o as w, p as D } from "./entry-
|
|
3
|
+
import { u as A, k as F, m as P, J as L, n as M, i as C, o as w, p as D } from "./entry-BPQSVIdk.js";
|
|
4
4
|
const N = (e, n) => e instanceof L ? e.message : n, Y = [
|
|
5
5
|
{ key: "name", label: "Full name" },
|
|
6
6
|
{ key: "email", label: "Email", type: "email" },
|
package/dist/api/applyQueue.d.ts
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* "Apply for me", as one call the feed and the drawer both make.
|
|
3
|
+
*
|
|
4
|
+
* Handing a posting to the form runner is four requests, not one: tailor the
|
|
5
|
+
* résumé, build the rest of the kit, mint the packet link, then queue. The
|
|
6
|
+
* variant_slug the mint returns is what `POST /jobs/:id/apply` pins onto the
|
|
7
|
+
* application row, so a later re-tailor cannot change what an in-flight
|
|
8
|
+
* application sends — which is why the packet has to exist BEFORE the queue
|
|
9
|
+
* call, and why this is a sequence rather than a button wired straight to the
|
|
10
|
+
* queue endpoint.
|
|
11
|
+
*
|
|
12
|
+
* It lives here rather than in a component because two places now start it (a
|
|
13
|
+
* feed card and the drawer) and both must run the same sequence. Duplicating
|
|
14
|
+
* it would mean duplicating the rate-limit reasoning below, and that is exactly
|
|
15
|
+
* the kind of comment that only gets fixed in one copy.
|
|
16
|
+
*/
|
|
17
|
+
import { type ApplicationExtras } from './jobs';
|
|
1
18
|
import type { Auth } from './auth';
|
|
2
19
|
/** Where one job is in the sequence. `error` carries a reason; the rest don't. */
|
|
3
20
|
export type ApplyPhase = 'idle' | 'waiting' | 'preparing' | 'queueing' | 'queued' | 'error';
|
|
21
|
+
/** What one run of the sequence produced. */
|
|
22
|
+
export interface PreparedPacket {
|
|
23
|
+
slug: string;
|
|
24
|
+
url: string;
|
|
25
|
+
resume: string;
|
|
26
|
+
coverLetter: string;
|
|
27
|
+
/** The whole kit, or null when its call failed — `kitError` then says why. */
|
|
28
|
+
kit: ApplicationExtras | null;
|
|
29
|
+
kitError: string | null;
|
|
30
|
+
}
|
|
4
31
|
export interface ApplyStatus {
|
|
5
32
|
phase: ApplyPhase;
|
|
6
33
|
error?: string;
|
|
@@ -15,12 +42,7 @@ export interface ApplyStatus {
|
|
|
15
42
|
* calls used to stack past Groq's per-minute token cap so the trailing one
|
|
16
43
|
* 500'd, leaving a packet with a résumé and no kit.
|
|
17
44
|
*/
|
|
18
|
-
export declare function prepareApplicationPacket(jobId: string, auth: Auth, onPhase?: (phase: ApplyPhase) => void): Promise<
|
|
19
|
-
slug: string;
|
|
20
|
-
url: string;
|
|
21
|
-
resume: string;
|
|
22
|
-
coverLetter: string;
|
|
23
|
-
}>;
|
|
45
|
+
export declare function prepareApplicationPacket(jobId: string, auth: Auth, onPhase?: (phase: ApplyPhase) => void): Promise<PreparedPacket>;
|
|
24
46
|
/**
|
|
25
47
|
* Handing a posting to the runner is now ONE request.
|
|
26
48
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyQueue.d.ts","sourceRoot":"","sources":["../../src/api/applyQueue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applyQueue.d.ts","sourceRoot":"","sources":["../../src/api/applyQueue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAOL,KAAK,iBAAiB,EACvB,MAAM,QAAQ,CAAA;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAElC,kFAAkF;AAClF,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE3F,6CAA6C;AAC7C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,8EAA8E;IAC9E,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC7B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,UAAU,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;;;;GASG;AACH,wBAAsB,wBAAwB,CAC5C,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,GACpC,OAAO,CAAC,cAAc,CAAC,CA6BzB;AAED;;;;;;;;;;;;;;;GAeG;AAEH,kFAAkF;AAClF,wBAAsB,YAAY,CAChC,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,GACtC,OAAO,CAAC,IAAI,CAAC,CAgBf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JobDrawer.d.ts","sourceRoot":"","sources":["../../src/components/JobDrawer.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"JobDrawer.d.ts","sourceRoot":"","sources":["../../src/components/JobDrawer.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,YAAY,EAGjB,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAkBvC,UAAU,KAAK;IACb,IAAI,EAAE,IAAI,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAGxB,WAAW,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAA;IAC/D,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,IAAI,CAAA;IACzF,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAC7C;AAoCD,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,2CAkBrD;AAgFD,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,SAAS,EACT,WAAW,EACX,OAAO,EACP,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EACjB,EAAE,KAAK,2CA2hBP"}
|