@knora/api
Version:
JavaScript library that handles API requests to Knora
43 lines (42 loc) • 903 B
TypeScript
import { StringLiteral } from "./string-literal";
/**
* A list node.
*/
export declare class ListNode {
/**
* The child nodes of this list node.
*/
children: ListNode[];
/**
* The comments attached to the enclosing object.
*/
comments: StringLiteral[];
/**
* The IRI of the root node of the list that this node belongs to.
*/
hasRootNode?: string;
/**
* The ID of the enclosing object.
*/
id: string;
/**
* True if this is the root node of a list.
*/
isRootNode?: boolean;
/**
* The labels attached to the enclosing object.
*/
labels: StringLiteral[];
/**
* The name of the enclosing object.
*/
name?: string;
/**
* The position of a list node.
*/
position?: number;
/**
* The IRI of a project.
*/
projectIri?: string;
}