MCPcopy Create free account
hub / github.com/codemix/graph / TemporalValue

Interface TemporalValue

packages/graph/src/TemporalTypes.ts:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 * Common interface for temporal values that support property access.
10 */
11export interface TemporalValue {
12 /** Get a component property of this temporal value */
13 get(property: string): unknown;
14 /** Convert to ISO string representation */
15 toString(): string;
16 /** Type identifier for instanceof-like checks */
17 readonly temporalType: string;
18}
19
20/**
21 * Check if a value is a temporal value.

Callers 16

buildTermFrequencyFunction · 0.65
buildPositionMapFunction · 0.65
tokenizer.test.tsFile · 0.65
calculateTermScoreFunction · 0.65
calculatePositionScoreFunction · 0.65
pushMethod · 0.65
createPostprocessorFunction · 0.65
formatMethod · 0.65
hexMethod · 0.65
stringifyStepConfigFunction · 0.65
traverseMethod · 0.65

Implementers 7

DateValuepackages/graph/src/TemporalTypes.ts
LocalTimeValuepackages/graph/src/TemporalTypes.ts
TimeValuepackages/graph/src/TemporalTypes.ts
LocalDateTimeValuepackages/graph/src/TemporalTypes.ts
DateTimeValuepackages/graph/src/TemporalTypes.ts
DurationValuepackages/graph/src/TemporalTypes.ts
TraversalPathpackages/graph/src/Traversals.ts

Calls

no outgoing calls

Tested by

no test coverage detected