This package has been archived, and as such it is read-only.
This release is 1 version behind 24.6.2 — the latest version of @rivet-gg/actor. Jump to latest
🔩 Rivet Actors have built-in RPC, state, and events — the easiest way to build modern applications.
import { z } from "npm:zod@^3.24.1"; export const ActorTagsSchema = z .object({ name: z.string(), }) .catchall(z.string()); export const BuildTagsSchema = z .object({ name: z.string(), }) .catchall(z.string()); export type ActorTags = z.infer<typeof ActorTagsSchema>; export type BuildTags = z.infer<typeof BuildTagsSchema>; export interface RivetEnvironment { project?: string; environment?: string; } export function assertUnreachable(x: never): never { throw new Error(`Unreachable case: ${x}`); }