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

Interface YGraphConfig

packages/y-graph-storage/src/YGraph.ts:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18import { Observable, Subscription, Observer } from "zen-observable-ts";
19
20export interface YGraphConfig<TSchema extends GraphSchema> {
21 schema: TSchema;
22 doc: Y.Doc;
23}
24
25export class YGraph<const TSchema extends GraphSchema> extends Graph<TSchema> {
26 #doc: Y.Doc;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected