@ultimat3/admin 31.24.0 → 31.25.0
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/package.json +17 -17
- package/src/jobs/operator.ts +3 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/admin",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.25.0",
|
|
4
4
|
"description": "Two dashboards: the /_x framework dev panels and the generated, AI-first app admin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ultimate",
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
"test": "bun test"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@ultimat3/action": "31.
|
|
50
|
-
"@ultimat3/ai": "31.
|
|
51
|
-
"@ultimat3/cache": "31.
|
|
52
|
-
"@ultimat3/core": "31.
|
|
53
|
-
"@ultimat3/db": "31.
|
|
54
|
-
"@ultimat3/entity": "31.
|
|
55
|
-
"@ultimat3/http": "31.
|
|
56
|
-
"@ultimat3/i18n": "31.
|
|
57
|
-
"@ultimat3/jobs": "31.
|
|
58
|
-
"@ultimat3/mcp": "31.
|
|
59
|
-
"@ultimat3/money": "31.
|
|
60
|
-
"@ultimat3/policy": "31.
|
|
61
|
-
"@ultimat3/query": "31.
|
|
62
|
-
"@ultimat3/render": "31.
|
|
63
|
-
"@ultimat3/schema": "31.
|
|
64
|
-
"@ultimat3/ui": "31.
|
|
49
|
+
"@ultimat3/action": "31.25.0",
|
|
50
|
+
"@ultimat3/ai": "31.25.0",
|
|
51
|
+
"@ultimat3/cache": "31.25.0",
|
|
52
|
+
"@ultimat3/core": "31.25.0",
|
|
53
|
+
"@ultimat3/db": "31.25.0",
|
|
54
|
+
"@ultimat3/entity": "31.25.0",
|
|
55
|
+
"@ultimat3/http": "31.25.0",
|
|
56
|
+
"@ultimat3/i18n": "31.25.0",
|
|
57
|
+
"@ultimat3/jobs": "31.25.0",
|
|
58
|
+
"@ultimat3/mcp": "31.25.0",
|
|
59
|
+
"@ultimat3/money": "31.25.0",
|
|
60
|
+
"@ultimat3/policy": "31.25.0",
|
|
61
|
+
"@ultimat3/query": "31.25.0",
|
|
62
|
+
"@ultimat3/render": "31.25.0",
|
|
63
|
+
"@ultimat3/schema": "31.25.0",
|
|
64
|
+
"@ultimat3/ui": "31.25.0"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/src/jobs/operator.ts
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// boot installs it after `defineAdmin()` has run, and `x dev` swaps it — and its operator surface.
|
|
3
3
|
// A process with no driver, or one that ships no operator surface, is refused with the fix.
|
|
4
4
|
|
|
5
|
-
import { NotImplementedError } from '@ultimat3/core';
|
|
6
5
|
import {
|
|
7
6
|
DriverUnavailableError,
|
|
8
7
|
type JobDriver,
|
|
9
8
|
type JobIntrospection,
|
|
10
9
|
jobDriver,
|
|
10
|
+
requireIntrospection,
|
|
11
11
|
} from '@ultimat3/jobs';
|
|
12
12
|
|
|
13
13
|
export interface JobsOperator {
|
|
@@ -24,11 +24,6 @@ export function jobsOperator(): JobsOperator {
|
|
|
24
24
|
fix: 'run the app through x dev or the container entry, which install the queue — or in a test: installJobDriver(memoryJobDriver()) from @ultimat3/jobs/adapter',
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
cause: `the operator surface of the "${driver.name}" jobs driver is not implemented: the driver has no introspect`,
|
|
30
|
-
fix: 'export const runtime = { jobs: postgresJobDriver() } # apps/<app>/runtime.ts — or delete that line so the boot installs it; the pg and memory drivers implement introspect',
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
return { driver, introspect: driver.introspect };
|
|
27
|
+
// Jobs' own guard: one refusal (X_JOB_INTROSPECTION_UNSUPPORTED) for every operator surface.
|
|
28
|
+
return { driver, introspect: requireIntrospection(driver) };
|
|
34
29
|
}
|