Download packages/schema/src/installation-event.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/installation-event.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/schema/src/installation-event.ts
-
curl -L -o installation-event.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/installation-event.ts
448 Bytes
| export * as InstallationEvent from "./installation-event" | |
| import { Schema } from "effect" | |
| import { Event } from "./event" | |
| export const Updated = Event.define({ | |
| type: "installation.updated", | |
| schema: { | |
| version: Schema.String, | |
| }, | |
| }) | |
| export const UpdateAvailable = Event.define({ | |
| type: "installation.update-available", | |
| schema: { | |
| version: Schema.String, | |
| }, | |
| }) | |
| export const Definitions = Event.inventory(Updated, UpdateAvailable) | |