@oriolrius/grafana-business-text
Version:
Data-driven text with Markdown and Handlebars support for Grafana
86 lines (76 loc) • 882 B
text/typescript
/**
* Resource Type
*/
export enum ResourceType {
SCRIPTS = 'scripts',
STYLES = 'styles',
}
/**
* Resource
*/
export interface Resource {
/**
* Id
*
* @type {string}
*/
id: string;
/**
* Url
*
* @type {string}
*/
url: string;
}
/**
* Partial Item Config
*/
export interface PartialItemConfig {
/**
* Id
*
* @type {string}
*/
id: string;
/**
* Url
*
* @type {string}
*/
url: string;
/**
* Name
*
* @type {string}
*/
name: string;
/**
* Is Local Copy
*
* @type {boolean}
*/
isLocalCopy?: boolean;
/**
* Local Content
*
* @type {string}
*/
localContent?: string;
}
/**
* Partial Item
*/
export interface PartialItem {
/**
* Content
*
* @type {string}
*/
content: string;
/**
* Name
*
* @type {string}
*/
name: string;
}