16 lines · 551 B · TypeScript
RawDownload
import type { OrchestrationV2ThreadProjection } from "@t3tools/contracts";import * as Option from "effect/Option"; export type EnvironmentThreadStatus = "empty" | "cached" | "synchronizing" | "live" | "deleted"; export interface EnvironmentThreadState {  readonly data: Option.Option<OrchestrationV2ThreadProjection>;  readonly status: EnvironmentThreadStatus;  readonly error: Option.Option<string>;} export const EMPTY_ENVIRONMENT_THREAD_STATE: EnvironmentThreadState = {  data: Option.none(),  status: "empty",  error: Option.none(),};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t