MCPcopy Index your code
hub / github.com/anomalyco/opencode / statics

Function statics

packages/schema/src/schema.ts:21–23  ·  view source on GitHub ↗
(methods: (schema: S) => M)

Source from the content-addressed store, hash-verified

19
20export const statics =
21 <S extends object, M extends Record<string, unknown>>(methods: (schema: S) => M) =>
22 (schema: S): S & M =>
23 Object.assign(schema, methods(schema))
24
25export const DateTimeUtcFromMillis = Schema.Finite.pipe(
26 Schema.decodeTo(Schema.DateTimeUtc, {

Callers 15

session.tsFile · 0.90
schema.tsFile · 0.90
schema.tsFile · 0.90
schema.tsFile · 0.90
credential.tsFile · 0.90
prompt-input.tsFile · 0.90
permission.tsFile · 0.90
prompt.tsFile · 0.90
provider.tsFile · 0.90
integration.tsFile · 0.90
workspace-id.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected