0.1.15 #16

Merged
Thilawyn merged 12 commits from next into master 2024-09-04 00:33:45 +02:00
3 changed files with 30 additions and 0 deletions
Showing only changes of commit 67bf12d7a9 - Show all commits

BIN
bun.lockb

Binary file not shown.

View File

@@ -71,6 +71,7 @@
}, },
"devDependencies": { "devDependencies": {
"@effect/schema": "^0.71.1", "@effect/schema": "^0.71.1",
"@prisma/studio-server": "^0.502.0",
"@types/jsonwebtoken": "^9.0.6", "@types/jsonwebtoken": "^9.0.6",
"bun-types": "^1.1.26", "bun-types": "^1.1.26",
"effect": "^3.6.5", "effect": "^3.6.5",

View File

@@ -0,0 +1,29 @@
// import { StudioServer } from "@prisma/studio-server"
// import { Config, Effect, Layer } from "effect"
// export const PrismaStudioRouteLive = ({
// httpPort = Config.succeed(5555),
// schemaPath = Config.succeed(""),
// schemaText = Config.succeed(""),
// }: {
// httpPort: Config.Config<number>
// schemaPath: Config.Config<string>
// schemaText: Config.Config<string>
// }) =>
// Layer.effectDiscard(Effect.gen(function*() {
// return Effect.acquireRelease(
// Effect.gen(function*() {
// const server = new StudioServer({
// port: yield* httpPort,
// schemaPath: yield* schemaPath,
// schemaText: yield* schemaText,
// })
// }),
// () => Effect.gen(function*() {
// }),
// )
// }))