-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.ts
126 lines (114 loc) · 2.9 KB
/
index.ts
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/*
* Copyright © 2023 Norman Fomferra
* Permissions are hereby granted under the terms of the MIT License:
* https://opensource.org/licenses/MIT.
*/
/**
* This module defines a number of contribution points that are
* common for UI application development.
*
* You can register all contribution points defined in this module using the
* {@link registerContributionPoints} function or register individual points
* using the {@link core.registerContributionPoint} function.
*
* Contribution points are currently exported constants that are named
* `<name>Point`, where `<name>` is the extension point identifier.
* The following contribution points are available:
*
* - {@link commandsPoint}
* - {@link configurationPoint}
* - {@link dataViewsPoint}
* - {@link keybindingsPoint}
* - {@link menusPoint}
* - {@link submenusPoint}
* - {@link storesPoint}
* - {@link toolViewsPoint}
*
* **IMPORTANT NOTE**: This module is still in development, hence it has not
* yet reached a stable state. Its name, API, and implementation may change
* without notice from one package release to the other.
*
* @experimental
* @packageDocumentation
*/
export {
type Command,
type CommandFn,
type CommandManifestEntry,
useCommands,
registerCommand,
executeCommand,
commandsPoint,
} from "./commands";
export { type CommandMenuItem, useCommandPalette } from "./command-palette";
export {
type Configuration,
type ConfigurationCategory,
type ConfigurationHeaderItem,
type ConfigurationItem,
type ConfigurationManifestEntry,
type ConfigurationNode,
type ConfigurationPropertyItem,
getConfigurationDefaultValue,
getConfigurationSchema,
getConfigurationSchemas,
getExtensionConfigurations,
useConfigurationNodes,
useConfigurationItems,
useConfigurationSchemas,
useExtensionConfigurations,
configurationPoint,
} from "./configuration";
export {
type DataView,
type DataViewManifestEntry,
type DataViewProvider,
type DataViewType,
getDataViewProvider,
getDataViewType,
registerDataViewProvider,
useDataViewTypes,
useDataViewType,
dataViewsPoint,
} from "./data-views";
export {
type Keybinding,
type KeybindingManifestEntry,
useKeybindings,
keybindingsPoint,
} from "./keybindings";
export {
type MenuItem,
type MenuItemManifestEntry,
useMenu,
menusPoint,
} from "./menus";
export {
type StatusBarItem,
statusBarItemsPoint,
registerStatusBarItem,
useStatusBarItems,
} from "./status-bar-items";
export {
type Store,
storesPoint,
registerStore,
useStoreStates,
} from "./stores";
export {
type Submenu,
type SubmenuManifestEntry,
useSubmenus,
submenusPoint,
} from "./submenus";
export {
type ToolView,
type ToolViewComponentProps,
type ToolViewManifestEntry,
ToolViewComponent,
useToolViews,
useToolViewComponent,
registerToolViewComponent,
toolViewsPoint,
} from "./tool-views";
export { registerContributionPoints } from "./register";