@kui-shell/core
Version:
An Electron-based shell for cloud-native development
22 lines (21 loc) • 778 B
TypeScript
import { ScalarResource } from './mmr/content-types';
export default interface DescriptionList {
apiVersion: 'kui-shell/v1';
kind: 'DescriptionList';
spec: {
/** Display as a list of key-value pairs (default), or as a list of labels */
as?: 'default' | 'labels';
groups: {
/** The term being described */
term: string;
/** The description of that term */
description: number | boolean | string;
/** Optional help details for the term */
termHelp?: {
title: string;
description: number | boolean | string;
};
}[];
};
}
export declare function isDescriptionList(content: ScalarResource): content is DescriptionList;