@jsonjoy.com/json-type
Version:
High-performance JSON Pointer implementation
28 lines (27 loc) • 625 B
TypeScript
/**
* Properties that are used to display to the user.
*/
export interface Display {
/**
* Title of something, i.e. a heading.
*/
title?: string;
/**
* An introductory short description. Could be in Markdown.
*/
intro?: string;
/**
* A long form description of something. Could be in Markdown.
*/
description?: string;
}
/**
* Something that can be identified by a string. So it can be registered
* in a registry and then referenced by ID.
*/
export interface Identifiable {
/**
* Unique ID of something, i.e. a name, symbol, etc.
*/
id: string;
}