Skip to content
Myr

effects.ts

This file

Path

packages/project/src/attention/effects.ts

21 lines · 843 bytes · TypeScript

Last changed by

Merge build/comments-project into mainoscabrielbefore adoption49efd2a

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–21why, one step back
1import { Brand } from "@repo/brand";
2import type { RefNameText } from "@repo/protocol/domain/common";3import type { DecisionSubject } from "@repo/protocol/domain/decision";4import { Handle } from "@repo/protocol/ids";5import type { CommitSha, ProposalId } from "@repo/protocol/ids";6import { Data } from "effect";7import type { DateTime } from "effect";89import type { ProjectEventInput } from "../events.ts";1011export type AttentionEffect = Data.TaggedEnum<{12 Emit: { readonly event: ProjectEventInput };13 Land: { readonly subject: DecisionSubject };14 OpenAsk: { readonly proposal: ProposalId };15 Revert: { readonly ref: RefNameText; readonly to: CommitSha };16 SetAlarm: { readonly at: DateTime.Utc };17}>;1819export const AttentionEffect = Data.taggedEnum<AttentionEffect>();2021export const platformHandle: Handle = Handle.make(Brand.slug);