@teamscala/service-boot 0.23.368 → 0.23.369

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 CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "@teamscala/service-boot",
8
8
  "type": "module",
9
- "version": "0.23.368",
9
+ "version": "0.23.369",
10
10
  "sideEffects": false,
11
11
  "imports": {
12
12
  "#service-boot/*": "./src/*",
@@ -145,12 +145,12 @@ async function orpc(): Promise<OrpcSurface> {
145
145
  "platform-fault-escalation: no ORPC appRouter — the service has no generated routers to write through",
146
146
  );
147
147
  }
148
- const { getPrisma } = await import("@teamscala/db/prisma-registry");
149
- const { loadRegistryConfig } = await import("@teamscala/db/registry/load-config");
148
+ const prismaRegistry = await import("@teamscala/db/prisma-registry");
149
+ const registryLoader = await import("@teamscala/db/registry/load-config");
150
150
  const { PlatformIdentitySchema } = await import(
151
151
  "@teamscala/db-validation/registry-schemas/platform-identity"
152
152
  );
153
- const platformIdentity = await loadRegistryConfig(
153
+ const platformIdentity = await registryLoader.loadRegistryConfig(
154
154
  "config",
155
155
  "platform-identity",
156
156
  PlatformIdentitySchema,
@@ -159,7 +159,7 @@ async function orpc(): Promise<OrpcSurface> {
159
159
  { ...appRouter } as never,
160
160
  {
161
161
  context: {
162
- prisma: getPrisma(),
162
+ prisma: prismaRegistry.getPrisma(),
163
163
  user: {
164
164
  id: "system",
165
165
  isSuperAdmin: true,