This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcustom-elements.json
159 lines (159 loc) · 5.04 KB
/
custom-elements.json
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"version": "experimental",
"tags": [
{
"name": "google-drive-browser",
"path": "./google-drive-browser.js",
"description": "An element that renders a Google Drive assets browser that works in Electron.",
"attributes": [
{
"name": "loading",
"description": "True when requesting data from Google Drive API.",
"type": "boolean"
},
{
"name": "query",
"description": "File search term entered by the user.",
"type": "string"
},
{
"name": "errorMessage",
"description": "An error message from the API if any.",
"type": "string"
},
{
"name": "queryPropertiesNegation",
"description": "If true then it uses a negation for `queryProperties` (adding `not`)\nbefore the query",
"type": "boolean"
},
{
"name": "pageSize",
"description": "A `pageSize` property value to be send to Drive endpoint.\nDefault: 50",
"type": "number"
},
{
"name": "mimeType",
"description": "Mime type of the file to search.",
"type": "string"
},
{
"name": "apiKey",
"description": "API key to use as `key` query parameter in Google Drive communication.",
"type": "string"
},
{
"name": "narrow",
"description": "When set it renders narrow view, mobile friendly.",
"type": "boolean"
},
{
"name": "compatibility",
"description": "Enables compatibility with Anypoint platform",
"type": "boolean"
},
{
"name": "outlined",
"description": "Enables material design outlined theme",
"type": "boolean"
}
],
"properties": [
{
"name": "hasMore",
"type": "boolean"
},
{
"name": "hasItems",
"type": "boolean"
},
{
"name": "accessToken",
"type": "string"
},
{
"name": "loading",
"attribute": "loading",
"description": "True when requesting data from Google Drive API.",
"type": "boolean"
},
{
"name": "query",
"attribute": "query",
"description": "File search term entered by the user.",
"type": "string"
},
{
"name": "items",
"description": "List of files retrieved from Drive API API.",
"type": "ProjectedFile[]"
},
{
"name": "errorMessage",
"attribute": "errorMessage",
"description": "An error message from the API if any.",
"type": "string"
},
{
"name": "queryProperties",
"description": "If set it generates a query to Google Drive that contains query to file properties.\nE.g. (part of the query):\n```\nand properties has { key='propertyKey' and value='propertyValue'}\n```\n\nKeys of this object will be put into the `key` part of query and\nvalue of the key to the `value` property.\n\nFor example:\n```\nqueryProperties = {\n 'isExport': true\n}\n```",
"type": "Record<string, any>"
},
{
"name": "queryPropertiesNegation",
"attribute": "queryPropertiesNegation",
"description": "If true then it uses a negation for `queryProperties` (adding `not`)\nbefore the query",
"type": "boolean"
},
{
"name": "pageSize",
"attribute": "pageSize",
"description": "A `pageSize` property value to be send to Drive endpoint.\nDefault: 50",
"type": "number"
},
{
"name": "mimeType",
"attribute": "mimeType",
"description": "Mime type of the file to search.",
"type": "string"
},
{
"name": "apiKey",
"attribute": "apiKey",
"description": "API key to use as `key` query parameter in Google Drive communication.",
"type": "string"
},
{
"name": "narrow",
"attribute": "narrow",
"description": "When set it renders narrow view, mobile friendly.",
"type": "boolean"
},
{
"name": "compatibility",
"attribute": "compatibility",
"description": "Enables compatibility with Anypoint platform",
"type": "boolean"
},
{
"name": "outlined",
"attribute": "outlined",
"description": "Enables material design outlined theme",
"type": "boolean"
},
{
"name": "eventsTarget",
"description": "By default the element listens on the `window` object. If this value is set,\nthen all events listeners will be attached to this object instead of `window`.",
"type": "EventTarget"
}
],
"events": [
{
"name": "tokeninvalid"
},
{
"name": "pick"
}
]
}
]
}