@imbricate/core
Version:
Imbricate Core, Notebook for Engineers
60 lines (59 loc) • 2.11 kB
JavaScript
;
/**
* @author WMXPY
* @namespace Property
* @description Type
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.IMBRICATE_PROPERTY_TYPE = void 0;
/**
* Property type
*/
var IMBRICATE_PROPERTY_TYPE;
(function (IMBRICATE_PROPERTY_TYPE) {
/**
* BOOLEAN - boolean, store as boolean
*/
IMBRICATE_PROPERTY_TYPE["BOOLEAN"] = "BOOLEAN";
/**
* BINARY - binary, store as a list of static object unique identifier
* Note: Binary is always stored as an array, even if it is a single static object identifier
*/
IMBRICATE_PROPERTY_TYPE["BINARY"] = "BINARY";
/**
* STRING - string, store as plain text
*/
IMBRICATE_PROPERTY_TYPE["STRING"] = "STRING";
/**
* NUMBER - number, store as number
*/
IMBRICATE_PROPERTY_TYPE["NUMBER"] = "NUMBER";
/**
* MARKDOWN - markdown, store as text object unique identifier. Display as markdown
*/
IMBRICATE_PROPERTY_TYPE["MARKDOWN"] = "MARKDOWN";
/**
* JSON - json, store as text object unique identifier. Display as JSON
*/
IMBRICATE_PROPERTY_TYPE["JSON"] = "JSON";
/**
* IMBRISCRIPT - imbricate script, store as text object unique identifier. Display as imbricate script
* The script is executed in a sandbox environment, using customized javascript engine
*/
IMBRICATE_PROPERTY_TYPE["IMBRISCRIPT"] = "IMBRISCRIPT";
/**
* DATE - date, store as string in ISO format
* For example - 2000-01-01T00:00:00.000Z
*/
IMBRICATE_PROPERTY_TYPE["DATE"] = "DATE";
/**
* LABEL - label, store as a list of label id
* Note: Label is always stored as an array, even if it is a single label
*/
IMBRICATE_PROPERTY_TYPE["LABEL"] = "LABEL";
/**
* REFERENCE - reference, store as a list of other document unique identifier
* Note: Reference is always stored as an array, even if it is a single reference
*/
IMBRICATE_PROPERTY_TYPE["REFERENCE"] = "REFERENCE";
})(IMBRICATE_PROPERTY_TYPE || (exports.IMBRICATE_PROPERTY_TYPE = IMBRICATE_PROPERTY_TYPE = {}));