Skip to content

Type Alias: VocabularyImportCoordinates

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyImportCoordinates

VocabularyImportCoordinates = { triple: { index: number; }; } | { text: { column: number; line: number; offset: number; }; } | { row: { row: number; sheet?: string; }; } | { cell: { cell: string; sheet: string; }; } | { part: { name: string; }; } | { legacySort: { sortId: string; }; } | { jsonPointer: { pointer: string; }; }

Defined in: src/types/vocabulary.ts:5670

Where an item is in its artefact.

{ triple: { index: number; }; }

triple: object

The index-th statement (0-based) of an RDF document.

index: number


{ text: { column: number; line: number; offset: number; }; }

text: object

A position in a text: 0-based line and column (code points), byte offset.

column: number

line: number

offset: number


{ row: { row: number; sheet?: string; }; }

row: object

A table row (1-based); sheet names the workbook sheet.

row: number

optional sheet?: string


{ cell: { cell: string; sheet: string; }; }

cell: object

One cell of a workbook sheet (A1 notation).

cell: string

sheet: string


{ part: { name: string; }; }

part: object

A part of a container artefact (a workbook entry), never opened.

name: string


{ legacySort: { sortId: string; }; }

legacySort: object

A legacy sort of the tenant’s theory.

sortId: string


{ jsonPointer: { pointer: string; }; }

jsonPointer: object

A value of a JSON document, by its JSON Pointer (RFC 6901).

pointer: string

Wire format: externally tagged, e.g. {"triple":{"index":3}} or {"row":{"sheet":null,"row":2}}. Only the variant’s key is present.