@teamscala/service-boot 0.23.533 → 0.23.534
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 +8 -3
- package/src/mount-orpc-router.ts +1 -1
- package/src/orpc-openapi-document.ts +1 -1
- package/src/page-server-loader-graph.test.ts +1 -1
- package/src/page-server-loader-graph.ts +1 -1
- package/src/register-registry-page-route/meta-title.ts +1 -1
- package/src/register-ws-routes.ts +1 -1
- package/src/resolvers/fetch-org-brand.ts +1 -1
package/package.json
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"@teamscala/brand": "*",
|
|
17
17
|
"@teamscala/cache": "*",
|
|
18
18
|
"@teamscala/content-gate-token": "*",
|
|
19
|
+
"@teamscala/data-resolvers": "*",
|
|
19
20
|
"@teamscala/db": "*",
|
|
20
21
|
"@teamscala/db-validation": "*",
|
|
21
22
|
"@teamscala/document-signing": "*",
|
|
@@ -26,15 +27,17 @@
|
|
|
26
27
|
"@teamscala/formatters": "*",
|
|
27
28
|
"@teamscala/hono-boundary": "*",
|
|
28
29
|
"@teamscala/http": "*",
|
|
30
|
+
"@teamscala/loader-config": "*",
|
|
29
31
|
"@teamscala/logger": "*",
|
|
30
32
|
"@teamscala/mcp-multi-session": "*",
|
|
31
33
|
"@teamscala/object-storage": "*",
|
|
32
34
|
"@teamscala/orpc": "*",
|
|
35
|
+
"@teamscala/orpc-openapi": "*",
|
|
36
|
+
"@teamscala/orpc-ws": "*",
|
|
33
37
|
"@teamscala/os": "*",
|
|
34
38
|
"@teamscala/publish-registry": "*",
|
|
35
39
|
"@teamscala/puck-boundary": "*",
|
|
36
40
|
"@teamscala/puck-tree": "*",
|
|
37
|
-
"@teamscala/resolver-engine": "*",
|
|
38
41
|
"@teamscala/timing": "*",
|
|
39
42
|
"@teamscala/tool-executor": "*",
|
|
40
43
|
"@teamscala/watchdog": "*",
|
|
@@ -46,7 +49,9 @@
|
|
|
46
49
|
"devDependencies": {
|
|
47
50
|
"@happy-dom/global-registrator": "*",
|
|
48
51
|
"@testing-library/react": "*",
|
|
49
|
-
"bun-types": "*"
|
|
52
|
+
"bun-types": "*",
|
|
53
|
+
"react": "*",
|
|
54
|
+
"react-dom": "*"
|
|
50
55
|
},
|
|
51
56
|
"exports": {
|
|
52
57
|
"./agreement-gate": "./src/agreement-gate.ts",
|
|
@@ -297,5 +302,5 @@
|
|
|
297
302
|
"repository": "https://github.com/teamgbg/service-boot",
|
|
298
303
|
"sideEffects": false,
|
|
299
304
|
"type": "module",
|
|
300
|
-
"version": "0.23.
|
|
305
|
+
"version": "0.23.534"
|
|
301
306
|
}
|
package/src/mount-orpc-router.ts
CHANGED
|
@@ -242,7 +242,7 @@ export async function mountOrpcRouter(
|
|
|
242
242
|
) {
|
|
243
243
|
return c.json({ error: "Unauthorized" }, 401);
|
|
244
244
|
}
|
|
245
|
-
const { buildOpenApiDocument } = await import("@teamscala/orpc/openapi");
|
|
245
|
+
const { buildOpenApiDocument } = await import("@teamscala/orpc-openapi/openapi");
|
|
246
246
|
const document = await buildOpenApiDocument(
|
|
247
247
|
router as Record<string, unknown>,
|
|
248
248
|
openApiContractOptions(
|
|
@@ -24,7 +24,7 @@ describe("page-server-loader-graph exports-map smoke", () => {
|
|
|
24
24
|
expect(typeof mod["resolveFromLoaderConfig"]).toBe("function");
|
|
25
25
|
});
|
|
26
26
|
it("the SSR binding is a resolver PRODUCT of the engine factory applied to the page-server client — never the factory itself", async () => {
|
|
27
|
-
const { createLoaderConfigResolver } = await import("@teamscala/
|
|
27
|
+
const { createLoaderConfigResolver } = await import("@teamscala/loader-config/loader-config/resolve-from-loader-config");
|
|
28
28
|
expect(typeof createLoaderConfigResolver).toBe("function");
|
|
29
29
|
expect(resolveFromLoaderConfig).not.toBe(createLoaderConfigResolver);
|
|
30
30
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @status handwritten
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { createLoaderConfigResolver } from "@teamscala/
|
|
6
|
+
import { createLoaderConfigResolver } from "@teamscala/loader-config/loader-config/resolve-from-loader-config";
|
|
7
7
|
import { getServerClient } from "./page-server-orpc/server-client.ts";
|
|
8
8
|
|
|
9
9
|
export const resolveFromLoaderConfig = createLoaderConfigResolver(
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @status handwritten
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { interpolateMeta } from "@teamscala/
|
|
6
|
+
import { interpolateMeta } from "@teamscala/loader-config/loader-config/resolve-from-loader-config";
|
|
7
7
|
|
|
8
8
|
export function buildMetaFromContext(
|
|
9
9
|
metaContext: Record<string, Record<string, string>> | undefined,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { getAppRouter } from "@teamscala/orpc/app-router";
|
|
7
|
-
import { mountOrpcWs } from "@teamscala/orpc/ws/server";
|
|
7
|
+
import { mountOrpcWs } from "@teamscala/orpc-ws/ws/server";
|
|
8
8
|
import type { ServiceInstallConfig } from "./load-service-install-row";
|
|
9
9
|
import { loadRegistryConfig } from "@teamscala/db/registry/load-config";
|
|
10
10
|
import { getAppLogger } from "@teamscala/logger/app-loggers";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @system service-boot
|
|
3
3
|
* @status handwritten
|
|
4
4
|
*/
|
|
5
|
-
import { fetchOrgBrand } from "@teamscala/
|
|
5
|
+
import { fetchOrgBrand } from "@teamscala/data-resolvers/data-resolvers/fetch-org-brand";
|
|
6
6
|
import { getAppLogger } from "@teamscala/logger/app-loggers";
|
|
7
7
|
import type { ResolverArgs } from "./portal-route-paths.ts";
|
|
8
8
|
|