Skip to content
Myr

sessions.ts

This file

Path

apps/platform/src/sessions.ts

10 lines · 310 bytes · TypeScript

Last changed by

Merge build/comments-platform into mainoscabrielbefore adoptionddf09e8

History of this file

Take it

The walk stopped after 200 commits: lines older than 678c8b8 point at it.

Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8

lines 1–10why, one step back
1import type { Person } from "@repo/protocol/principal";
2import { Context } from "effect";3import type { Effect, Option } from "effect";45export class Sessions extends Context.Service<6 Sessions,7 {8 readonly verify: (token: string) => Effect.Effect<Option.Option<Person>>;9 }10>()("platform/Sessions") {}