blob: 62d2c32f124744303cd34e8305c9f136f118698c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type ContextItem = ContextItem1;
export type Name = string;
export type Description = string;
export type ProviderTitle = string;
export type ItemId = string;
export type Content = string;
export type Editing = boolean;
export type Editable = boolean;
/**
* A ContextItem is a single item that is stored in the ContextManager.
*/
export interface ContextItem1 {
description: ContextItemDescription;
content: Content;
editing?: Editing;
editable?: Editable;
[k: string]: unknown;
}
/**
* A ContextItemDescription is a description of a ContextItem that is displayed to the user when they type '@'.
*
* The id can be used to retrieve the ContextItem from the ContextManager.
*/
export interface ContextItemDescription {
name: Name;
description: Description;
id: ContextItemId;
[k: string]: unknown;
}
/**
* A ContextItemId is a unique identifier for a ContextItem.
*/
export interface ContextItemId {
provider_title: ProviderTitle;
item_id: ItemId;
[k: string]: unknown;
}
|