chore: generate
This commit is contained in:
@@ -162,9 +162,9 @@ const instanceRoutes = Layer.mergeAll(rawInstanceRoutes, instanceApiRoutes).pipe
|
|||||||
// the same Uint8Array instead of re-stringifying the spec.
|
// the same Uint8Array instead of re-stringifying the spec.
|
||||||
const docResponse = lazy(() => HttpServerResponse.jsonUnsafe(OpenApi.fromApi(PublicApi)))
|
const docResponse = lazy(() => HttpServerResponse.jsonUnsafe(OpenApi.fromApi(PublicApi)))
|
||||||
|
|
||||||
const docRoute = HttpRouter.use((router) =>
|
const docRoute = HttpRouter.use((router) => router.add("GET", "/doc", () => Effect.succeed(docResponse()))).pipe(
|
||||||
router.add("GET", "/doc", () => Effect.succeed(docResponse())),
|
Layer.provide(authOnlyRouterLayer),
|
||||||
).pipe(Layer.provide(authOnlyRouterLayer))
|
)
|
||||||
|
|
||||||
const uiRoute = HttpRouter.use((router) =>
|
const uiRoute = HttpRouter.use((router) =>
|
||||||
Effect.gen(function* () {
|
Effect.gen(function* () {
|
||||||
|
|||||||
Reference in New Issue
Block a user