@datalayer/core
Version:
[](https://datalayer.io)
23 lines (22 loc) • 619 B
TypeScript
/**
* Constants for the Datalayer SDK.
*
* @module client/constants
*/
/**
* Item types used throughout the SDK and consuming applications.
* These constants define the type identifiers for different Datalayer items.
* Values match what the Datalayer API returns.
*/
export declare const ItemTypes: {
readonly NOTEBOOK: "notebook";
readonly LEXICAL: "document";
readonly EXERCISE: "exercise";
readonly CELL: "cell";
readonly SPACE: "space";
readonly UNKNOWN: "unknown";
};
/**
* Type representing valid item types.
*/
export type ItemType = (typeof ItemTypes)[keyof typeof ItemTypes];