@hadoku/jobplatform 3.42.63 → 3.42.65
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/App.d.ts.map +1 -1
- package/dist/ApplicationTracking-BhpParbe.js +282 -0
- package/dist/ApplicationsList-DDjncd7P.js +1753 -0
- package/dist/PacketDetail-KOXrbMqc.js +110 -0
- package/dist/PacketsList-llRBP10u.js +49 -0
- package/dist/PipelineBoard-BLmNwNaq.js +208 -0
- package/dist/components/JobDrawer.d.ts.map +1 -1
- package/dist/entry-CFBqMGn5.js +3861 -0
- package/dist/index.js +6 -6246
- package/dist/packets-BfqJIYHB.js +17 -0
- package/dist/pipeline-C2hWQq1c.js +47 -0
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const n = "https://hadoku.me/resume";
|
|
2
|
+
function o(e) {
|
|
3
|
+
return `${n}?v=${encodeURIComponent(e)}`;
|
|
4
|
+
}
|
|
5
|
+
function a(e) {
|
|
6
|
+
return `${n}/api/resume.pdf?v=${encodeURIComponent(e)}`;
|
|
7
|
+
}
|
|
8
|
+
async function r(e) {
|
|
9
|
+
const t = await fetch(`${n}/api/resume?v=${encodeURIComponent(e)}`);
|
|
10
|
+
if (!t.ok) throw new Error(`Failed to load packet (HTTP ${t.status})`);
|
|
11
|
+
return await t.json();
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
a,
|
|
15
|
+
r as g,
|
|
16
|
+
o as p
|
|
17
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { j as c, J as d } from "./entry-CFBqMGn5.js";
|
|
2
|
+
const u = "/jobplatform/api";
|
|
3
|
+
async function s(t, a, n = {}, r = !1) {
|
|
4
|
+
const o = await fetch(`${u}${t}`, {
|
|
5
|
+
...n,
|
|
6
|
+
headers: c(a, r),
|
|
7
|
+
credentials: "include"
|
|
8
|
+
}), e = await o.json();
|
|
9
|
+
if (!o.ok || !e.success || !e.data)
|
|
10
|
+
throw new d(e.message ?? e.error ?? `HTTP ${o.status}`, o.status);
|
|
11
|
+
return e.data;
|
|
12
|
+
}
|
|
13
|
+
const i = (t) => `/jobs/${encodeURIComponent(t)}`;
|
|
14
|
+
async function l(t) {
|
|
15
|
+
return (await s("/pipeline", t)).items;
|
|
16
|
+
}
|
|
17
|
+
async function y(t, a, n) {
|
|
18
|
+
return (await s(
|
|
19
|
+
`${i(t)}/tracking`,
|
|
20
|
+
n,
|
|
21
|
+
{ method: "PATCH", body: JSON.stringify(a) },
|
|
22
|
+
!0
|
|
23
|
+
)).tracking;
|
|
24
|
+
}
|
|
25
|
+
async function b(t, a) {
|
|
26
|
+
return (await s(`${i(t)}/events`, a)).events;
|
|
27
|
+
}
|
|
28
|
+
async function p(t, a, n) {
|
|
29
|
+
return (await s(
|
|
30
|
+
`${i(t)}/events`,
|
|
31
|
+
n,
|
|
32
|
+
{ method: "POST", body: JSON.stringify(a) },
|
|
33
|
+
!0
|
|
34
|
+
)).event;
|
|
35
|
+
}
|
|
36
|
+
async function m(t, a, n) {
|
|
37
|
+
await s(`${i(t)}/events/${a}`, n, {
|
|
38
|
+
method: "DELETE"
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
p as a,
|
|
43
|
+
m as d,
|
|
44
|
+
l as g,
|
|
45
|
+
b as l,
|
|
46
|
+
y as s
|
|
47
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hadoku/jobplatform",
|
|
3
|
-
"version": "3.42.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "3.42.65",
|
|
4
|
+
"gitHead": "743b61f62002357c5b80c69b9e73510d4c06746f",
|
|
5
5
|
"description": "Job listings aggregation and tracking dashboard",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|