Type Alias YasguiSPARQLEditorProps

YasguiSPARQLEditorProps: {
    containerId?: string;
    initialQuery?: string;
    onInit?: (yasgu: Yasgui) => void;
    prefixes?: Prefixes;
    sparqlCrud?: CRUDFunctions | null;
}

Type declaration

  • OptionalcontainerId?: string

    DOM id for the mount node (default yasgui). Use a unique value per editor instance.

  • OptionalinitialQuery?: string

    Prefill the query editor when YasQE is ready.

  • OptionalonInit?: (yasgu: Yasgui) => void
  • Optionalprefixes?: Prefixes
  • OptionalsparqlCrud?: CRUDFunctions | null

    When set, YASQE’s Run query uses these CRUD functions (e.g. local Oxigraph) instead of HTTP. Omit to use YASGUI’s default endpoint / requestConfig.