Created
October 25, 2022 23:43
-
-
Save catrope/3204fc75d9fa67b0e1b7b22d6c0f6648 to your computer and use it in GitHub Desktop.
Typedoc output for Codex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 0, | |
"name": "@wikimedia/codex", | |
"kind": 1, | |
"kindString": "Project", | |
"flags": {}, | |
"originalName": "", | |
"children": [ | |
{ | |
"id": 2, | |
"name": "ButtonAction", | |
"kind": 4194304, | |
"kindString": "Type alias", | |
"flags": { | |
"isPublic": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 21, | |
"character": 12 | |
} | |
], | |
"type": { | |
"type": "indexedAccess", | |
"indexType": { | |
"type": "intrinsic", | |
"name": "number" | |
}, | |
"objectType": { | |
"type": "query", | |
"queryType": { | |
"type": "reference", | |
"name": "ButtonActions" | |
} | |
} | |
} | |
}, | |
{ | |
"id": 4, | |
"name": "ButtonGroupItem", | |
"kind": 256, | |
"kindString": "Interface", | |
"flags": { | |
"isPublic": true | |
}, | |
"children": [ | |
{ | |
"id": 8, | |
"name": "ariaLabel", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "ARIA label for the button. Used for accessibility for icon-only buttons." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 37, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 9, | |
"name": "disabled", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Whether the button is disabled" | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 39, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "boolean" | |
} | |
}, | |
{ | |
"id": 7, | |
"name": "icon", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Icon to display before the label" | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 35, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "reference", | |
"name": "Icon" | |
} | |
}, | |
{ | |
"id": 6, | |
"name": "label", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Display label for the button, or null to show no label (for icon-only buttons).\nIf the label property is missing, the value property is used as the label." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 33, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "string" | |
} | |
] | |
} | |
}, | |
{ | |
"id": 5, | |
"name": "value", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Button value or unique identifier" | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 28, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "number" | |
} | |
] | |
} | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Properties", | |
"children": [ | |
8, | |
9, | |
7, | |
6, | |
5 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 26, | |
"character": 17 | |
} | |
] | |
}, | |
{ | |
"id": 3, | |
"name": "ButtonType", | |
"kind": 4194304, | |
"kindString": "Type alias", | |
"flags": { | |
"isPublic": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 23, | |
"character": 12 | |
} | |
], | |
"type": { | |
"type": "indexedAccess", | |
"indexType": { | |
"type": "intrinsic", | |
"name": "number" | |
}, | |
"objectType": { | |
"type": "query", | |
"queryType": { | |
"type": "reference", | |
"name": "ButtonTypes" | |
} | |
} | |
} | |
}, | |
{ | |
"id": 1, | |
"name": "HTMLDirection", | |
"kind": 4194304, | |
"kindString": "Type alias", | |
"flags": { | |
"isPublic": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 18, | |
"character": 12 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": "ltr" | |
}, | |
{ | |
"type": "literal", | |
"value": "rtl" | |
} | |
] | |
} | |
}, | |
{ | |
"id": 43, | |
"name": "MenuConfig", | |
"kind": 256, | |
"kindString": "Interface", | |
"flags": { | |
"isPublic": true | |
}, | |
"children": [ | |
{ | |
"id": 45, | |
"name": "boldLabel", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Whether to bold menu item labels." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 101, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "boolean" | |
} | |
}, | |
{ | |
"id": 46, | |
"name": "hideDescriptionOverflow", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Whether to hide description text overflow via an ellipsis." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 103, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "boolean" | |
} | |
}, | |
{ | |
"id": 44, | |
"name": "showThumbnail", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Whether to show thumbnails (or placeholder)." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 99, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "boolean" | |
} | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Properties", | |
"children": [ | |
45, | |
46, | |
44 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 97, | |
"character": 17 | |
} | |
] | |
}, | |
{ | |
"id": 21, | |
"name": "MenuItemData", | |
"kind": 256, | |
"kindString": "Interface", | |
"flags": { | |
"isPublic": true | |
}, | |
"children": [ | |
{ | |
"id": 25, | |
"name": "description", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 78, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "string" | |
} | |
] | |
} | |
}, | |
{ | |
"id": 30, | |
"name": "disabled", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 85, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "boolean" | |
} | |
}, | |
{ | |
"id": 27, | |
"name": "icon", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 81, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "reference", | |
"name": "Icon" | |
} | |
}, | |
{ | |
"id": 23, | |
"name": "label", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Display label for the menu item." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 75, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 26, | |
"name": "language", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Lang attributes of text properties." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 80, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "reference", | |
"id": 17, | |
"name": "MenuItemLanguageData" | |
} | |
}, | |
{ | |
"id": 24, | |
"name": "match", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Text to be appended to the result's label, e.g. text matching a search query." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 77, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 28, | |
"name": "thumbnail", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 82, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "reference", | |
"id": 13, | |
"name": "Thumbnail" | |
} | |
] | |
} | |
}, | |
{ | |
"id": 29, | |
"name": "url", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "If URL is included, menu item will be wrapped in an anchor element." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 84, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 22, | |
"name": "value", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Item value or unique identifier." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 73, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "number" | |
} | |
] | |
} | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Properties", | |
"children": [ | |
25, | |
30, | |
27, | |
23, | |
26, | |
24, | |
28, | |
29, | |
22 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 71, | |
"character": 17 | |
} | |
], | |
"extendedBy": [ | |
{ | |
"type": "reference", | |
"id": 31, | |
"name": "MenuItemDataWithId" | |
}, | |
{ | |
"type": "reference", | |
"id": 47, | |
"name": "SearchResult" | |
} | |
] | |
}, | |
{ | |
"id": 31, | |
"name": "MenuItemDataWithId", | |
"kind": 256, | |
"kindString": "Interface", | |
"flags": { | |
"isPublic": true | |
}, | |
"children": [ | |
{ | |
"id": 36, | |
"name": "description", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 78, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "string" | |
} | |
] | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 25, | |
"name": "MenuItemData.description" | |
} | |
}, | |
{ | |
"id": 41, | |
"name": "disabled", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 85, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "boolean" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 30, | |
"name": "MenuItemData.disabled" | |
} | |
}, | |
{ | |
"id": 38, | |
"name": "icon", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 81, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "reference", | |
"name": "Icon" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 27, | |
"name": "MenuItemData.icon" | |
} | |
}, | |
{ | |
"id": 32, | |
"name": "id", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 90, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 34, | |
"name": "label", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Display label for the menu item." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 75, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 23, | |
"name": "MenuItemData.label" | |
} | |
}, | |
{ | |
"id": 37, | |
"name": "language", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Lang attributes of text properties." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 80, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "reference", | |
"id": 17, | |
"name": "MenuItemLanguageData" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 26, | |
"name": "MenuItemData.language" | |
} | |
}, | |
{ | |
"id": 35, | |
"name": "match", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Text to be appended to the result's label, e.g. text matching a search query." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 77, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 24, | |
"name": "MenuItemData.match" | |
} | |
}, | |
{ | |
"id": 39, | |
"name": "thumbnail", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 82, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "reference", | |
"id": 13, | |
"name": "Thumbnail" | |
} | |
] | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 28, | |
"name": "MenuItemData.thumbnail" | |
} | |
}, | |
{ | |
"id": 40, | |
"name": "url", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "If URL is included, menu item will be wrapped in an anchor element." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 84, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 29, | |
"name": "MenuItemData.url" | |
} | |
}, | |
{ | |
"id": 33, | |
"name": "value", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Item value or unique identifier." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 73, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "number" | |
} | |
] | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 22, | |
"name": "MenuItemData.value" | |
} | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Properties", | |
"children": [ | |
36, | |
41, | |
38, | |
32, | |
34, | |
37, | |
35, | |
39, | |
40, | |
33 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 89, | |
"character": 17 | |
} | |
], | |
"extendedTypes": [ | |
{ | |
"type": "reference", | |
"id": 21, | |
"name": "MenuItemData" | |
} | |
] | |
}, | |
{ | |
"id": 17, | |
"name": "MenuItemLanguageData", | |
"kind": 256, | |
"kindString": "Interface", | |
"flags": { | |
"isPublic": true | |
}, | |
"children": [ | |
{ | |
"id": 20, | |
"name": "description", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "lang attribute of the description." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 67, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 18, | |
"name": "label", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "lang attribute of the label." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 63, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 19, | |
"name": "match", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "lang attribute of the match." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 65, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Properties", | |
"children": [ | |
20, | |
18, | |
19 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 61, | |
"character": 17 | |
} | |
] | |
}, | |
{ | |
"id": 42, | |
"name": "MenuState", | |
"kind": 4194304, | |
"kindString": "Type alias", | |
"flags": { | |
"isPublic": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 94, | |
"character": 12 | |
} | |
], | |
"type": { | |
"type": "indexedAccess", | |
"indexType": { | |
"type": "intrinsic", | |
"name": "number" | |
}, | |
"objectType": { | |
"type": "query", | |
"queryType": { | |
"type": "reference", | |
"name": "MenuStates" | |
} | |
} | |
} | |
}, | |
{ | |
"id": 11, | |
"name": "MessageIconMap", | |
"kind": 4194304, | |
"kindString": "Type alias", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 44, | |
"character": 12 | |
} | |
], | |
"type": { | |
"type": "mapped", | |
"parameter": "P", | |
"parameterType": { | |
"type": "reference", | |
"id": 10, | |
"name": "MessageType" | |
}, | |
"templateType": { | |
"type": "reference", | |
"name": "Icon" | |
} | |
} | |
}, | |
{ | |
"id": 10, | |
"name": "MessageType", | |
"kind": 4194304, | |
"kindString": "Type alias", | |
"flags": { | |
"isPublic": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 43, | |
"character": 12 | |
} | |
], | |
"type": { | |
"type": "indexedAccess", | |
"indexType": { | |
"type": "intrinsic", | |
"name": "number" | |
}, | |
"objectType": { | |
"type": "query", | |
"queryType": { | |
"type": "reference", | |
"name": "MessageTypes" | |
} | |
} | |
} | |
}, | |
{ | |
"id": 47, | |
"name": "SearchResult", | |
"kind": 256, | |
"kindString": "Interface", | |
"flags": { | |
"isPublic": true | |
}, | |
"children": [ | |
{ | |
"id": 52, | |
"name": "description", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 78, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "string" | |
} | |
] | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 25, | |
"name": "MenuItemData.description" | |
} | |
}, | |
{ | |
"id": 56, | |
"name": "disabled", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 85, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "boolean" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 30, | |
"name": "MenuItemData.disabled" | |
} | |
}, | |
{ | |
"id": 54, | |
"name": "icon", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 81, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "reference", | |
"name": "Icon" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 27, | |
"name": "MenuItemData.icon" | |
} | |
}, | |
{ | |
"id": 50, | |
"name": "label", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Display label for the menu item." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 75, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 23, | |
"name": "MenuItemData.label" | |
} | |
}, | |
{ | |
"id": 53, | |
"name": "language", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Lang attributes of text properties." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 80, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "reference", | |
"id": 17, | |
"name": "MenuItemLanguageData" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 26, | |
"name": "MenuItemData.language" | |
} | |
}, | |
{ | |
"id": 51, | |
"name": "match", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Text to be appended to the result's label, e.g. text matching a search query." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 77, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 24, | |
"name": "MenuItemData.match" | |
} | |
}, | |
{ | |
"id": 55, | |
"name": "thumbnail", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 82, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "reference", | |
"id": 13, | |
"name": "Thumbnail" | |
} | |
] | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 28, | |
"name": "MenuItemData.thumbnail" | |
} | |
}, | |
{ | |
"id": 48, | |
"name": "url", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Result link." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 109, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
"overwrites": { | |
"type": "reference", | |
"id": 29, | |
"name": "MenuItemData.url" | |
} | |
}, | |
{ | |
"id": 49, | |
"name": "value", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Item value or unique identifier." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 73, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "intrinsic", | |
"name": "string" | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "number" | |
} | |
] | |
}, | |
"inheritedFrom": { | |
"type": "reference", | |
"id": 22, | |
"name": "MenuItemData.value" | |
} | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Properties", | |
"children": [ | |
52, | |
56, | |
54, | |
50, | |
53, | |
51, | |
55, | |
48, | |
49 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 107, | |
"character": 17 | |
} | |
], | |
"extendedTypes": [ | |
{ | |
"type": "reference", | |
"id": 21, | |
"name": "MenuItemData" | |
} | |
] | |
}, | |
{ | |
"id": 58, | |
"name": "SearchResultClickEvent", | |
"kind": 256, | |
"kindString": "Interface", | |
"flags": { | |
"isPublic": true | |
}, | |
"children": [ | |
{ | |
"id": 60, | |
"name": "index", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Index of the search result within the array of results." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 119, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "number" | |
} | |
}, | |
{ | |
"id": 61, | |
"name": "numberOfResults", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Number of search results." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 121, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "number" | |
} | |
}, | |
{ | |
"id": 59, | |
"name": "searchResult", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Search result that was clicked." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 117, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "reference", | |
"id": 47, | |
"name": "SearchResult" | |
} | |
] | |
} | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Properties", | |
"children": [ | |
60, | |
61, | |
59 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 115, | |
"character": 17 | |
} | |
] | |
}, | |
{ | |
"id": 57, | |
"name": "SearchResultWithId", | |
"kind": 4194304, | |
"kindString": "Type alias", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 112, | |
"character": 12 | |
} | |
], | |
"type": { | |
"type": "intersection", | |
"types": [ | |
{ | |
"type": "reference", | |
"id": 47, | |
"name": "SearchResult" | |
}, | |
{ | |
"type": "reference", | |
"id": 31, | |
"name": "MenuItemDataWithId" | |
} | |
] | |
} | |
}, | |
{ | |
"id": 62, | |
"name": "StringTypeValidator", | |
"kind": 4194304, | |
"kindString": "Type alias", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 124, | |
"character": 12 | |
} | |
], | |
"typeParameters": [ | |
{ | |
"id": 66, | |
"name": "T", | |
"kind": 131072, | |
"kindString": "Type parameter", | |
"flags": {}, | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
} | |
], | |
"type": { | |
"type": "reflection", | |
"declaration": { | |
"id": 63, | |
"name": "__type", | |
"kind": 65536, | |
"kindString": "Type literal", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 124, | |
"character": 52 | |
} | |
], | |
"signatures": [ | |
{ | |
"id": 64, | |
"name": "__type", | |
"kind": 4096, | |
"kindString": "Call signature", | |
"flags": {}, | |
"parameters": [ | |
{ | |
"id": 65, | |
"name": "s", | |
"kind": 32768, | |
"kindString": "Parameter", | |
"flags": {}, | |
"type": { | |
"type": "intrinsic", | |
"name": "unknown" | |
} | |
} | |
], | |
"type": { | |
"type": "predicate", | |
"name": "s", | |
"asserts": false, | |
"targetType": { | |
"type": "reference", | |
"id": 66, | |
"name": "T" | |
} | |
} | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"id": 67, | |
"name": "TabData", | |
"kind": 256, | |
"kindString": "Interface", | |
"flags": {}, | |
"children": [ | |
{ | |
"id": 71, | |
"name": "disabled", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 130, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "boolean" | |
} | |
}, | |
{ | |
"id": 70, | |
"name": "id", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 129, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 69, | |
"name": "label", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 128, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 68, | |
"name": "name", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 127, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Properties", | |
"children": [ | |
71, | |
70, | |
69, | |
68 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 126, | |
"character": 17 | |
} | |
] | |
}, | |
{ | |
"id": 12, | |
"name": "TextInputType", | |
"kind": 4194304, | |
"kindString": "Type alias", | |
"flags": { | |
"isPublic": true | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 49, | |
"character": 12 | |
} | |
], | |
"type": { | |
"type": "indexedAccess", | |
"indexType": { | |
"type": "intrinsic", | |
"name": "number" | |
}, | |
"objectType": { | |
"type": "query", | |
"queryType": { | |
"type": "reference", | |
"name": "TextInputTypes" | |
} | |
} | |
} | |
}, | |
{ | |
"id": 13, | |
"name": "Thumbnail", | |
"kind": 256, | |
"kindString": "Interface", | |
"flags": { | |
"isPublic": true | |
}, | |
"children": [ | |
{ | |
"id": 16, | |
"name": "height", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Image height in pixels." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 57, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "number" | |
} | |
] | |
} | |
}, | |
{ | |
"id": 14, | |
"name": "url", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": {}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 53, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "intrinsic", | |
"name": "string" | |
} | |
}, | |
{ | |
"id": 15, | |
"name": "width", | |
"kind": 1024, | |
"kindString": "Property", | |
"flags": { | |
"isOptional": true | |
}, | |
"comment": { | |
"summary": [ | |
{ | |
"kind": "text", | |
"text": "Image width in pixels." | |
} | |
] | |
}, | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 55, | |
"character": 1 | |
} | |
], | |
"type": { | |
"type": "union", | |
"types": [ | |
{ | |
"type": "literal", | |
"value": null | |
}, | |
{ | |
"type": "intrinsic", | |
"name": "number" | |
} | |
] | |
} | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Properties", | |
"children": [ | |
16, | |
14, | |
15 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 52, | |
"character": 17 | |
} | |
] | |
} | |
], | |
"groups": [ | |
{ | |
"title": "Type Aliases", | |
"children": [ | |
2, | |
3, | |
1, | |
42, | |
11, | |
10, | |
57, | |
62, | |
12 | |
] | |
}, | |
{ | |
"title": "Interfaces", | |
"children": [ | |
4, | |
43, | |
21, | |
31, | |
17, | |
47, | |
58, | |
67, | |
13 | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"fileName": "types.ts", | |
"line": 8, | |
"character": 0 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment