Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/core / utils

utils ​

Tiny dependency-free helpers used across the @graphorin/* packages.

References ​

assertNever ​

Re-exports assertNever


AsyncContext ​

Re-exports AsyncContext


base64ToBytes ​

Re-exports base64ToBytes


bytesToBase64 ​

Re-exports bytesToBase64


collect ​

Re-exports collect


createAsyncContext ​

Re-exports createAsyncContext


EncodedBinary ​

Re-exports EncodedBinary


EncodedBytes ​

Re-exports EncodedBytes


EncodedUrl ​

Re-exports EncodedUrl


filter ​

Re-exports filter


fromJsonSafeContentParts ​

Re-exports fromJsonSafeContentParts


fromJsonSafeMessage ​

Re-exports fromJsonSafeMessage


fromJsonSafeRunState ​

Re-exports fromJsonSafeRunState


mapStream ​

Re-exports mapStream


md5 ​

Re-exports md5


merge ​

Re-exports merge


take ​

Re-exports take


takeWhile ​

Re-exports takeWhile


toJsonSafeContentParts ​

Re-exports toJsonSafeContentParts


toJsonSafeMessage ​

Re-exports toJsonSafeMessage


toJsonSafeRunState ​

Re-exports toJsonSafeRunState


validate ​

Re-exports validate


validateOrThrow ​

Re-exports validateOrThrow


ValidationResult ​

Re-exports ValidationResult


WireAssistantMessage ​

Re-exports WireAssistantMessage


WireAudioContent ​

Re-exports WireAudioContent


WireCompletedToolCall ​

Re-exports WireCompletedToolCall


WireFileContent ​

Re-exports WireFileContent


WireImageContent ​

Re-exports WireImageContent


WireMessage ​

Re-exports WireMessage


WireMessageContent ​

Re-exports WireMessageContent


WirePendingSubRun ​

Re-exports WirePendingSubRun


WireRunState ​

Re-exports WireRunState


WireRunStep ​

Re-exports WireRunStep


WireToolMessage ​

Re-exports WireToolMessage


WireToolOutcome ​

Re-exports WireToolOutcome


WireToolResult ​

Re-exports WireToolResult


WireUserMessage ​

Re-exports WireUserMessage


withSignal ​

Re-exports withSignal


xxhash ​

Re-exports xxhash


ZodLikeError ​

Re-exports ZodLikeError


ZodLikeSafeParseResult ​

Re-exports ZodLikeSafeParseResult


ZodLikeSchema ​

Re-exports ZodLikeSchema