@seedtactics/insight-client 17.0.6 → 17.0.7
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/LICENSE +31 -0
- package/dist/assets/{index-BqTNkPt2.js → index-CYOpFETi.js} +3 -3
- package/dist/cell-status/scheduled-jobs.js +1 -0
- package/dist/components/LogEntry.js +12 -0
- package/dist/fms-insight-api.json +8 -2
- package/dist/index.html +1 -1
- package/dist/network/api.d.ts +4 -1
- package/dist/network/api.js +3 -0
- package/package.json +2 -9
|
@@ -60,6 +60,7 @@ export const setLast30Jobs = atom(null, (_, set, history) => {
|
|
|
60
60
|
set(last30JobsRW, (oldJobs) => oldJobs.union(LazySeq.ofObject(history.jobs).toHashMap((x) => x)));
|
|
61
61
|
set(last30SchIdsRW, (oldIds) => oldIds.union(LazySeq.ofObject(history.jobs)
|
|
62
62
|
.collect(([, x]) => x.scheduleId)
|
|
63
|
+
.concat(history.stationUse.map((use) => use.scheduleId))
|
|
63
64
|
.toHashSet((s) => s)));
|
|
64
65
|
});
|
|
65
66
|
export const updateLast30Jobs = atom(null, (_, set, { evt, now, expire }) => {
|
|
@@ -126,6 +126,12 @@ function logType(entry, fmsInfo) {
|
|
|
126
126
|
return "Rebooking";
|
|
127
127
|
case api.LogType.CancelRebooking:
|
|
128
128
|
return "Cancel Rebooking";
|
|
129
|
+
case api.LogType.CastingAssigned:
|
|
130
|
+
return "Casting Assigned";
|
|
131
|
+
case api.LogType.CastingUnassigned:
|
|
132
|
+
return "Casting Unassigned";
|
|
133
|
+
case api.LogType.JobDecrement:
|
|
134
|
+
return "Job Decrement";
|
|
129
135
|
default:
|
|
130
136
|
return "Message";
|
|
131
137
|
}
|
|
@@ -275,6 +281,12 @@ function display(props, fmsInfo) {
|
|
|
275
281
|
return _jsxs("span", { children: ["Rebooking requested with ID ", entry.result] });
|
|
276
282
|
case api.LogType.CancelRebooking:
|
|
277
283
|
return _jsxs("span", { children: ["Rebooking ", entry.result, " canceled"] });
|
|
284
|
+
case api.LogType.CastingAssigned:
|
|
285
|
+
return _jsxs("span", { children: ["Casting assigned to job ", entry.result] });
|
|
286
|
+
case api.LogType.CastingUnassigned:
|
|
287
|
+
return _jsxs("span", { children: ["Casting released from job ", entry.result] });
|
|
288
|
+
case api.LogType.JobDecrement:
|
|
289
|
+
return _jsxs("span", { children: ["Job quantities decremented (decrement ", entry.result, ")"] });
|
|
278
290
|
default:
|
|
279
291
|
return _jsx("span", { children: entry.result });
|
|
280
292
|
}
|
|
@@ -2462,7 +2462,10 @@
|
|
|
2462
2462
|
"Rebooking",
|
|
2463
2463
|
"CancelRebooking",
|
|
2464
2464
|
"BasketLoadUnload",
|
|
2465
|
-
"BasketCycle"
|
|
2465
|
+
"BasketCycle",
|
|
2466
|
+
"CastingAssigned",
|
|
2467
|
+
"CastingUnassigned",
|
|
2468
|
+
"JobDecrement"
|
|
2466
2469
|
],
|
|
2467
2470
|
"enum": [
|
|
2468
2471
|
"LoadUnloadCycle",
|
|
@@ -2486,7 +2489,10 @@
|
|
|
2486
2489
|
"Rebooking",
|
|
2487
2490
|
"CancelRebooking",
|
|
2488
2491
|
"BasketLoadUnload",
|
|
2489
|
-
"BasketCycle"
|
|
2492
|
+
"BasketCycle",
|
|
2493
|
+
"CastingAssigned",
|
|
2494
|
+
"CastingUnassigned",
|
|
2495
|
+
"JobDecrement"
|
|
2490
2496
|
]
|
|
2491
2497
|
},
|
|
2492
2498
|
"ToolUse": {
|
package/dist/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<link rel="shortcut icon" href="/assets/favicon-gWFxiJK2.ico" />
|
|
7
7
|
<title>SeedTactic FMS Insight</title>
|
|
8
8
|
<style type="text/css">.download-loader{width:100px;height:100px;display:inline-block}.download-circular{width:100px;height:100px;animation:2s linear infinite rotate}.download-path{stroke-dasharray:1 200;stroke-dashoffset:0;stroke-linecap:round;stroke:#8d6e63;animation:1.5s ease-out infinite dash}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1 200;stroke-dashoffset:0}50%{stroke-dasharray:89 200;stroke-dashoffset:-35px}to{stroke-dasharray:89 200;stroke-dashoffset:-124px}}</style>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-CYOpFETi.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-DXfAwuj-.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
package/dist/network/api.d.ts
CHANGED
|
@@ -298,7 +298,10 @@ export declare enum LogType {
|
|
|
298
298
|
Rebooking = "Rebooking",
|
|
299
299
|
CancelRebooking = "CancelRebooking",
|
|
300
300
|
BasketLoadUnload = "BasketLoadUnload",
|
|
301
|
-
BasketCycle = "BasketCycle"
|
|
301
|
+
BasketCycle = "BasketCycle",
|
|
302
|
+
CastingAssigned = "CastingAssigned",
|
|
303
|
+
CastingUnassigned = "CastingUnassigned",
|
|
304
|
+
JobDecrement = "JobDecrement"
|
|
302
305
|
}
|
|
303
306
|
export declare class ToolUse implements IToolUse {
|
|
304
307
|
tool: string;
|
package/dist/network/api.js
CHANGED
|
@@ -2627,6 +2627,9 @@ export var LogType;
|
|
|
2627
2627
|
LogType["CancelRebooking"] = "CancelRebooking";
|
|
2628
2628
|
LogType["BasketLoadUnload"] = "BasketLoadUnload";
|
|
2629
2629
|
LogType["BasketCycle"] = "BasketCycle";
|
|
2630
|
+
LogType["CastingAssigned"] = "CastingAssigned";
|
|
2631
|
+
LogType["CastingUnassigned"] = "CastingUnassigned";
|
|
2632
|
+
LogType["JobDecrement"] = "JobDecrement";
|
|
2630
2633
|
})(LogType || (LogType = {}));
|
|
2631
2634
|
export class ToolUse {
|
|
2632
2635
|
constructor(data) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seedtactics/insight-client",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.7",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/SeedTactics/fms-insight"
|
|
@@ -59,21 +59,15 @@
|
|
|
59
59
|
"@types/d3-sankey": "^0.12.5",
|
|
60
60
|
"@types/d3-scale": "^4.0.9",
|
|
61
61
|
"@types/d3-shape": "^3.2.0",
|
|
62
|
-
"@types/node": "^26.6.5",
|
|
63
62
|
"@types/react": "^19.3.0",
|
|
64
63
|
"@types/react-dom": "^19.3.0",
|
|
65
64
|
"@vitejs/plugin-react": "^6.1.2",
|
|
66
65
|
"@vitest/browser-playwright": "^5.0.5",
|
|
67
66
|
"jotai": "^3.0.1",
|
|
68
67
|
"jsdom": "^30.1.3",
|
|
69
|
-
"nswag": "^14.7.1",
|
|
70
|
-
"oxfmt": "^0.74.0",
|
|
71
|
-
"oxlint": "^1.89.0",
|
|
72
|
-
"oxlint-tsgolint": "^7.0.2004",
|
|
73
68
|
"playwright": "^1.64.1",
|
|
74
69
|
"react": "^19.3.1",
|
|
75
70
|
"react-dom": "^19.3.1",
|
|
76
|
-
"typescript": "^7.0.2",
|
|
77
71
|
"vite": "^8.3.5",
|
|
78
72
|
"vitest": "^5.0.5",
|
|
79
73
|
"vitest-browser-react": "^2.3.0"
|
|
@@ -90,7 +84,6 @@
|
|
|
90
84
|
"build:package": "tsc --project tsconfig.publish.json && cp ../../server/fms-insight-api.json ./dist/fms-insight-api.json && cp -Tr ../../docs ./docs",
|
|
91
85
|
"start": "vite",
|
|
92
86
|
"test:unit": "vitest run --project unit",
|
|
93
|
-
"test:integration": "vitest run --browser.headless --project integration"
|
|
94
|
-
"nswag": "./node_modules/nswag/bin/nswag.js aspnetcore2openapi /project:../../server/debug-mock /output:../../server/fms-insight-api.json && ./node_modules/nswag/bin/nswag.js openapi2tsclient /UseAbortSignal:true /input:../../server/fms-insight-api.json /output:src/network/api.ts && node scripts/normalize-generated-api.mjs"
|
|
87
|
+
"test:integration": "vitest run --browser.headless --project integration"
|
|
95
88
|
}
|
|
96
89
|
}
|