@knora/api
Version:
JavaScript library that handles API requests to Knora
27 lines (26 loc) • 598 B
TypeScript
import { StringLiteral } from "./string-literal";
/**
* A request to create a child node in a list.
*/
export declare class CreateChildNodeRequest {
/**
* The comments attached to the enclosing object.
*/
comments: StringLiteral[];
/**
* The labels attached to the enclosing object.
*/
labels: StringLiteral[];
/**
* The name of the enclosing object.
*/
name?: string;
/**
* Provides a the IRI of a parent list node.
*/
parentNodeIri: string;
/**
* The IRI of a project.
*/
projectIri: string;
}