-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExtensionManifest.ts
More file actions
37 lines (35 loc) · 1.08 KB
/
ExtensionManifest.ts
File metadata and controls
37 lines (35 loc) · 1.08 KB
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
export interface ExtensionManifest {
/** Name of the extension */
name: string
/** Some description for the extension*/
description: string
/** Contribution points */
contributes: {
/**
* Integrations are popup windows that appear when clicking on a file menu
* or the "New item" menu.
*/
integrations: {
[integrationName: string]: {
/**
* Specify an array of file extensions (`.png`) or MIME types (`image/png`).
* `*` accepts all files, and `image/*` accepts all files with MIME type beginning with `image/`.
* See: https://html.spec.whatwg.org/multipage/input.html#attr-input-accept
*
* If an empty array is passed, then the integration will appear instead
* in the "New item" menu.
*/
accept: string[]
/**
* The text to display on the menu.
*/
title: string
/**
* URL to the integration window.
* Learn more: https://tmp-docs.spacet.me/extensions-api.html#integrations-api
*/
url: string
}
}
}
}