@storm-software/workspace-tools 1.60.22 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +2 -2
- package/index.js +342 -441
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +27 -18
- package/src/executors/npm-publish/executor.js +6 -0
- package/src/executors/tsup/executor.js +51 -49
- package/src/executors/tsup/schema.d.ts +2 -2
- package/src/executors/tsup/schema.json +7 -23
- package/src/executors/tsup-browser/executor.js +51 -47
- package/src/executors/tsup-neutral/executor.js +51 -47
- package/src/executors/tsup-node/executor.js +51 -47
- package/src/executors/typia/executor.js +14 -11
- package/src/generators/browser-library/generator.js +16 -10
- package/src/generators/config-schema/generator.js +10 -8
- package/src/generators/neutral-library/generator.js +16 -10
- package/src/generators/node-library/generator.js +16 -10
- package/src/generators/preset/generator.js +5 -5
- package/src/generators/release-version/generator.js +32 -19
- package/src/utils/index.js +279 -384
- package/src/executors/tsup/lib.dom.d.ts +0 -28208
- package/src/executors/tsup/lib.dom.iterable.d.ts +0 -732
- package/src/executors/tsup/lib.esnext.d.ts +0 -21
- package/src/executors/tsup-browser/lib.dom.d.ts +0 -28208
- package/src/executors/tsup-browser/lib.dom.iterable.d.ts +0 -732
- package/src/executors/tsup-browser/lib.esnext.d.ts +0 -21
- package/src/executors/tsup-neutral/lib.dom.d.ts +0 -28208
- package/src/executors/tsup-neutral/lib.dom.iterable.d.ts +0 -732
- package/src/executors/tsup-neutral/lib.esnext.d.ts +0 -21
- package/src/executors/tsup-node/lib.dom.d.ts +0 -28208
- package/src/executors/tsup-node/lib.dom.iterable.d.ts +0 -732
- package/src/executors/tsup-node/lib.esnext.d.ts +0 -21
|
@@ -1,732 +0,0 @@
|
|
|
1
|
-
/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
-
|
|
12
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
-
and limitations under the License.
|
|
14
|
-
***************************************************************************** */
|
|
15
|
-
|
|
16
|
-
/// <reference no-default-lib="true"/>
|
|
17
|
-
|
|
18
|
-
/////////////////////////////
|
|
19
|
-
/// Window Iterable APIs
|
|
20
|
-
/////////////////////////////
|
|
21
|
-
|
|
22
|
-
interface AudioParam {
|
|
23
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */
|
|
24
|
-
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
interface AudioParamMap extends ReadonlyMap<string, AudioParam> {}
|
|
28
|
-
|
|
29
|
-
interface BaseAudioContext {
|
|
30
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter) */
|
|
31
|
-
createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
|
32
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave) */
|
|
33
|
-
createPeriodicWave(
|
|
34
|
-
real: Iterable<number>,
|
|
35
|
-
imag: Iterable<number>,
|
|
36
|
-
constraints?: PeriodicWaveConstraints
|
|
37
|
-
): PeriodicWave;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
interface CSSKeyframesRule {
|
|
41
|
-
[Symbol.iterator](): IterableIterator<CSSKeyframeRule>;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
interface CSSNumericArray {
|
|
45
|
-
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
|
|
46
|
-
entries(): IterableIterator<[number, CSSNumericValue]>;
|
|
47
|
-
keys(): IterableIterator<number>;
|
|
48
|
-
values(): IterableIterator<CSSNumericValue>;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
interface CSSRuleList {
|
|
52
|
-
[Symbol.iterator](): IterableIterator<CSSRule>;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
interface CSSStyleDeclaration {
|
|
56
|
-
[Symbol.iterator](): IterableIterator<string>;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
interface CSSTransformValue {
|
|
60
|
-
[Symbol.iterator](): IterableIterator<CSSTransformComponent>;
|
|
61
|
-
entries(): IterableIterator<[number, CSSTransformComponent]>;
|
|
62
|
-
keys(): IterableIterator<number>;
|
|
63
|
-
values(): IterableIterator<CSSTransformComponent>;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
interface CSSUnparsedValue {
|
|
67
|
-
[Symbol.iterator](): IterableIterator<CSSUnparsedSegment>;
|
|
68
|
-
entries(): IterableIterator<[number, CSSUnparsedSegment]>;
|
|
69
|
-
keys(): IterableIterator<number>;
|
|
70
|
-
values(): IterableIterator<CSSUnparsedSegment>;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
interface Cache {
|
|
74
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
|
|
75
|
-
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
interface CanvasPath {
|
|
79
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
|
|
80
|
-
roundRect(
|
|
81
|
-
x: number,
|
|
82
|
-
y: number,
|
|
83
|
-
w: number,
|
|
84
|
-
h: number,
|
|
85
|
-
radii?: number | DOMPointInit | Iterable<number | DOMPointInit>
|
|
86
|
-
): void;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
interface CanvasPathDrawingStyles {
|
|
90
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
|
|
91
|
-
setLineDash(segments: Iterable<number>): void;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
interface DOMRectList {
|
|
95
|
-
[Symbol.iterator](): IterableIterator<DOMRect>;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
interface DOMStringList {
|
|
99
|
-
[Symbol.iterator](): IterableIterator<string>;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
interface DOMTokenList {
|
|
103
|
-
[Symbol.iterator](): IterableIterator<string>;
|
|
104
|
-
entries(): IterableIterator<[number, string]>;
|
|
105
|
-
keys(): IterableIterator<number>;
|
|
106
|
-
values(): IterableIterator<string>;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
interface DataTransferItemList {
|
|
110
|
-
[Symbol.iterator](): IterableIterator<DataTransferItem>;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
interface EventCounts extends ReadonlyMap<string, number> {}
|
|
114
|
-
|
|
115
|
-
interface FileList {
|
|
116
|
-
[Symbol.iterator](): IterableIterator<File>;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
interface FontFaceSet extends Set<FontFace> {}
|
|
120
|
-
|
|
121
|
-
interface FormData {
|
|
122
|
-
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
|
123
|
-
/** Returns an array of key, value pairs for every entry in the list. */
|
|
124
|
-
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
|
125
|
-
/** Returns a list of keys in the list. */
|
|
126
|
-
keys(): IterableIterator<string>;
|
|
127
|
-
/** Returns a list of values in the list. */
|
|
128
|
-
values(): IterableIterator<FormDataEntryValue>;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
interface HTMLAllCollection {
|
|
132
|
-
[Symbol.iterator](): IterableIterator<Element>;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
interface HTMLCollectionBase {
|
|
136
|
-
[Symbol.iterator](): IterableIterator<Element>;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
interface HTMLCollectionOf<T extends Element> {
|
|
140
|
-
[Symbol.iterator](): IterableIterator<T>;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
interface HTMLFormElement {
|
|
144
|
-
[Symbol.iterator](): IterableIterator<Element>;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
interface HTMLSelectElement {
|
|
148
|
-
[Symbol.iterator](): IterableIterator<HTMLOptionElement>;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
interface Headers {
|
|
152
|
-
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
153
|
-
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
154
|
-
entries(): IterableIterator<[string, string]>;
|
|
155
|
-
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
|
156
|
-
keys(): IterableIterator<string>;
|
|
157
|
-
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
|
158
|
-
values(): IterableIterator<string>;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
interface IDBDatabase {
|
|
162
|
-
/**
|
|
163
|
-
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
|
164
|
-
*
|
|
165
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
|
166
|
-
*/
|
|
167
|
-
transaction(
|
|
168
|
-
storeNames: string | Iterable<string>,
|
|
169
|
-
mode?: IDBTransactionMode,
|
|
170
|
-
options?: IDBTransactionOptions
|
|
171
|
-
): IDBTransaction;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
interface IDBObjectStore {
|
|
175
|
-
/**
|
|
176
|
-
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
|
|
177
|
-
*
|
|
178
|
-
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
|
179
|
-
*
|
|
180
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
181
|
-
*/
|
|
182
|
-
createIndex(
|
|
183
|
-
name: string,
|
|
184
|
-
keyPath: string | Iterable<string>,
|
|
185
|
-
options?: IDBIndexParameters
|
|
186
|
-
): IDBIndex;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {}
|
|
190
|
-
|
|
191
|
-
interface MIDIOutput {
|
|
192
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send) */
|
|
193
|
-
send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {}
|
|
197
|
-
|
|
198
|
-
interface MediaKeyStatusMap {
|
|
199
|
-
[Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
|
|
200
|
-
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;
|
|
201
|
-
keys(): IterableIterator<BufferSource>;
|
|
202
|
-
values(): IterableIterator<MediaKeyStatus>;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
interface MediaList {
|
|
206
|
-
[Symbol.iterator](): IterableIterator<string>;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
interface MessageEvent<T = any> {
|
|
210
|
-
/**
|
|
211
|
-
* @deprecated
|
|
212
|
-
*
|
|
213
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
214
|
-
*/
|
|
215
|
-
initMessageEvent(
|
|
216
|
-
type: string,
|
|
217
|
-
bubbles?: boolean,
|
|
218
|
-
cancelable?: boolean,
|
|
219
|
-
data?: any,
|
|
220
|
-
origin?: string,
|
|
221
|
-
lastEventId?: string,
|
|
222
|
-
source?: MessageEventSource | null,
|
|
223
|
-
ports?: Iterable<MessagePort>
|
|
224
|
-
): void;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
interface MimeTypeArray {
|
|
228
|
-
[Symbol.iterator](): IterableIterator<MimeType>;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
interface NamedNodeMap {
|
|
232
|
-
[Symbol.iterator](): IterableIterator<Attr>;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
interface Navigator {
|
|
236
|
-
/**
|
|
237
|
-
* Available only in secure contexts.
|
|
238
|
-
*
|
|
239
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMediaKeySystemAccess)
|
|
240
|
-
*/
|
|
241
|
-
requestMediaKeySystemAccess(
|
|
242
|
-
keySystem: string,
|
|
243
|
-
supportedConfigurations: Iterable<MediaKeySystemConfiguration>
|
|
244
|
-
): Promise<MediaKeySystemAccess>;
|
|
245
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate) */
|
|
246
|
-
vibrate(pattern: Iterable<number>): boolean;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
interface NodeList {
|
|
250
|
-
[Symbol.iterator](): IterableIterator<Node>;
|
|
251
|
-
/** Returns an array of key, value pairs for every entry in the list. */
|
|
252
|
-
entries(): IterableIterator<[number, Node]>;
|
|
253
|
-
/** Returns an list of keys in the list. */
|
|
254
|
-
keys(): IterableIterator<number>;
|
|
255
|
-
/** Returns an list of values in the list. */
|
|
256
|
-
values(): IterableIterator<Node>;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
interface NodeListOf<TNode extends Node> {
|
|
260
|
-
[Symbol.iterator](): IterableIterator<TNode>;
|
|
261
|
-
/** Returns an array of key, value pairs for every entry in the list. */
|
|
262
|
-
entries(): IterableIterator<[number, TNode]>;
|
|
263
|
-
/** Returns an list of keys in the list. */
|
|
264
|
-
keys(): IterableIterator<number>;
|
|
265
|
-
/** Returns an list of values in the list. */
|
|
266
|
-
values(): IterableIterator<TNode>;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
interface Plugin {
|
|
270
|
-
[Symbol.iterator](): IterableIterator<MimeType>;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
interface PluginArray {
|
|
274
|
-
[Symbol.iterator](): IterableIterator<Plugin>;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
interface RTCRtpTransceiver {
|
|
278
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
|
|
279
|
-
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
interface RTCStatsReport extends ReadonlyMap<string, any> {}
|
|
283
|
-
|
|
284
|
-
interface SVGLengthList {
|
|
285
|
-
[Symbol.iterator](): IterableIterator<SVGLength>;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
interface SVGNumberList {
|
|
289
|
-
[Symbol.iterator](): IterableIterator<SVGNumber>;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
interface SVGPointList {
|
|
293
|
-
[Symbol.iterator](): IterableIterator<DOMPoint>;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
interface SVGStringList {
|
|
297
|
-
[Symbol.iterator](): IterableIterator<string>;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
interface SVGTransformList {
|
|
301
|
-
[Symbol.iterator](): IterableIterator<SVGTransform>;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
interface SourceBufferList {
|
|
305
|
-
[Symbol.iterator](): IterableIterator<SourceBuffer>;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
interface SpeechRecognitionResult {
|
|
309
|
-
[Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
interface SpeechRecognitionResultList {
|
|
313
|
-
[Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
interface StylePropertyMapReadOnly {
|
|
317
|
-
[Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
|
318
|
-
entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
|
319
|
-
keys(): IterableIterator<string>;
|
|
320
|
-
values(): IterableIterator<Iterable<CSSStyleValue>>;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
interface StyleSheetList {
|
|
324
|
-
[Symbol.iterator](): IterableIterator<CSSStyleSheet>;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
interface SubtleCrypto {
|
|
328
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
329
|
-
deriveKey(
|
|
330
|
-
algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params,
|
|
331
|
-
baseKey: CryptoKey,
|
|
332
|
-
derivedKeyType:
|
|
333
|
-
| AlgorithmIdentifier
|
|
334
|
-
| AesDerivedKeyParams
|
|
335
|
-
| HmacImportParams
|
|
336
|
-
| HkdfParams
|
|
337
|
-
| Pbkdf2Params,
|
|
338
|
-
extractable: boolean,
|
|
339
|
-
keyUsages: Iterable<KeyUsage>
|
|
340
|
-
): Promise<CryptoKey>;
|
|
341
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
342
|
-
generateKey(
|
|
343
|
-
algorithm: RsaHashedKeyGenParams | EcKeyGenParams,
|
|
344
|
-
extractable: boolean,
|
|
345
|
-
keyUsages: readonly KeyUsage[]
|
|
346
|
-
): Promise<CryptoKeyPair>;
|
|
347
|
-
generateKey(
|
|
348
|
-
algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params,
|
|
349
|
-
extractable: boolean,
|
|
350
|
-
keyUsages: readonly KeyUsage[]
|
|
351
|
-
): Promise<CryptoKey>;
|
|
352
|
-
generateKey(
|
|
353
|
-
algorithm: AlgorithmIdentifier,
|
|
354
|
-
extractable: boolean,
|
|
355
|
-
keyUsages: Iterable<KeyUsage>
|
|
356
|
-
): Promise<CryptoKeyPair | CryptoKey>;
|
|
357
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
|
|
358
|
-
importKey(
|
|
359
|
-
format: "jwk",
|
|
360
|
-
keyData: JsonWebKey,
|
|
361
|
-
algorithm:
|
|
362
|
-
| AlgorithmIdentifier
|
|
363
|
-
| RsaHashedImportParams
|
|
364
|
-
| EcKeyImportParams
|
|
365
|
-
| HmacImportParams
|
|
366
|
-
| AesKeyAlgorithm,
|
|
367
|
-
extractable: boolean,
|
|
368
|
-
keyUsages: readonly KeyUsage[]
|
|
369
|
-
): Promise<CryptoKey>;
|
|
370
|
-
importKey(
|
|
371
|
-
format: Exclude<KeyFormat, "jwk">,
|
|
372
|
-
keyData: BufferSource,
|
|
373
|
-
algorithm:
|
|
374
|
-
| AlgorithmIdentifier
|
|
375
|
-
| RsaHashedImportParams
|
|
376
|
-
| EcKeyImportParams
|
|
377
|
-
| HmacImportParams
|
|
378
|
-
| AesKeyAlgorithm,
|
|
379
|
-
extractable: boolean,
|
|
380
|
-
keyUsages: Iterable<KeyUsage>
|
|
381
|
-
): Promise<CryptoKey>;
|
|
382
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
|
|
383
|
-
unwrapKey(
|
|
384
|
-
format: KeyFormat,
|
|
385
|
-
wrappedKey: BufferSource,
|
|
386
|
-
unwrappingKey: CryptoKey,
|
|
387
|
-
unwrapAlgorithm:
|
|
388
|
-
| AlgorithmIdentifier
|
|
389
|
-
| RsaOaepParams
|
|
390
|
-
| AesCtrParams
|
|
391
|
-
| AesCbcParams
|
|
392
|
-
| AesGcmParams,
|
|
393
|
-
unwrappedKeyAlgorithm:
|
|
394
|
-
| AlgorithmIdentifier
|
|
395
|
-
| RsaHashedImportParams
|
|
396
|
-
| EcKeyImportParams
|
|
397
|
-
| HmacImportParams
|
|
398
|
-
| AesKeyAlgorithm,
|
|
399
|
-
extractable: boolean,
|
|
400
|
-
keyUsages: Iterable<KeyUsage>
|
|
401
|
-
): Promise<CryptoKey>;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
interface TextTrackCueList {
|
|
405
|
-
[Symbol.iterator](): IterableIterator<TextTrackCue>;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
interface TextTrackList {
|
|
409
|
-
[Symbol.iterator](): IterableIterator<TextTrack>;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
interface TouchList {
|
|
413
|
-
[Symbol.iterator](): IterableIterator<Touch>;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
interface URLSearchParams {
|
|
417
|
-
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
418
|
-
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
419
|
-
entries(): IterableIterator<[string, string]>;
|
|
420
|
-
/** Returns a list of keys in the search params. */
|
|
421
|
-
keys(): IterableIterator<string>;
|
|
422
|
-
/** Returns a list of values in the search params. */
|
|
423
|
-
values(): IterableIterator<string>;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
interface WEBGL_draw_buffers {
|
|
427
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
|
428
|
-
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
interface WEBGL_multi_draw {
|
|
432
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
433
|
-
multiDrawArraysInstancedWEBGL(
|
|
434
|
-
mode: GLenum,
|
|
435
|
-
firstsList: Int32Array | Iterable<GLint>,
|
|
436
|
-
firstsOffset: GLuint,
|
|
437
|
-
countsList: Int32Array | Iterable<GLsizei>,
|
|
438
|
-
countsOffset: GLuint,
|
|
439
|
-
instanceCountsList: Int32Array | Iterable<GLsizei>,
|
|
440
|
-
instanceCountsOffset: GLuint,
|
|
441
|
-
drawcount: GLsizei
|
|
442
|
-
): void;
|
|
443
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
|
444
|
-
multiDrawArraysWEBGL(
|
|
445
|
-
mode: GLenum,
|
|
446
|
-
firstsList: Int32Array | Iterable<GLint>,
|
|
447
|
-
firstsOffset: GLuint,
|
|
448
|
-
countsList: Int32Array | Iterable<GLsizei>,
|
|
449
|
-
countsOffset: GLuint,
|
|
450
|
-
drawcount: GLsizei
|
|
451
|
-
): void;
|
|
452
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
|
453
|
-
multiDrawElementsInstancedWEBGL(
|
|
454
|
-
mode: GLenum,
|
|
455
|
-
countsList: Int32Array | Iterable<GLsizei>,
|
|
456
|
-
countsOffset: GLuint,
|
|
457
|
-
type: GLenum,
|
|
458
|
-
offsetsList: Int32Array | Iterable<GLsizei>,
|
|
459
|
-
offsetsOffset: GLuint,
|
|
460
|
-
instanceCountsList: Int32Array | Iterable<GLsizei>,
|
|
461
|
-
instanceCountsOffset: GLuint,
|
|
462
|
-
drawcount: GLsizei
|
|
463
|
-
): void;
|
|
464
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
|
465
|
-
multiDrawElementsWEBGL(
|
|
466
|
-
mode: GLenum,
|
|
467
|
-
countsList: Int32Array | Iterable<GLsizei>,
|
|
468
|
-
countsOffset: GLuint,
|
|
469
|
-
type: GLenum,
|
|
470
|
-
offsetsList: Int32Array | Iterable<GLsizei>,
|
|
471
|
-
offsetsOffset: GLuint,
|
|
472
|
-
drawcount: GLsizei
|
|
473
|
-
): void;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
interface WebGL2RenderingContextBase {
|
|
477
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
478
|
-
clearBufferfv(
|
|
479
|
-
buffer: GLenum,
|
|
480
|
-
drawbuffer: GLint,
|
|
481
|
-
values: Iterable<GLfloat>,
|
|
482
|
-
srcOffset?: GLuint
|
|
483
|
-
): void;
|
|
484
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
485
|
-
clearBufferiv(
|
|
486
|
-
buffer: GLenum,
|
|
487
|
-
drawbuffer: GLint,
|
|
488
|
-
values: Iterable<GLint>,
|
|
489
|
-
srcOffset?: GLuint
|
|
490
|
-
): void;
|
|
491
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
492
|
-
clearBufferuiv(
|
|
493
|
-
buffer: GLenum,
|
|
494
|
-
drawbuffer: GLint,
|
|
495
|
-
values: Iterable<GLuint>,
|
|
496
|
-
srcOffset?: GLuint
|
|
497
|
-
): void;
|
|
498
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
|
|
499
|
-
drawBuffers(buffers: Iterable<GLenum>): void;
|
|
500
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
|
501
|
-
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
|
502
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
|
503
|
-
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
|
|
504
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
|
505
|
-
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
|
506
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
|
507
|
-
invalidateSubFramebuffer(
|
|
508
|
-
target: GLenum,
|
|
509
|
-
attachments: Iterable<GLenum>,
|
|
510
|
-
x: GLint,
|
|
511
|
-
y: GLint,
|
|
512
|
-
width: GLsizei,
|
|
513
|
-
height: GLsizei
|
|
514
|
-
): void;
|
|
515
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
|
516
|
-
transformFeedbackVaryings(
|
|
517
|
-
program: WebGLProgram,
|
|
518
|
-
varyings: Iterable<string>,
|
|
519
|
-
bufferMode: GLenum
|
|
520
|
-
): void;
|
|
521
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
522
|
-
uniform1uiv(
|
|
523
|
-
location: WebGLUniformLocation | null,
|
|
524
|
-
data: Iterable<GLuint>,
|
|
525
|
-
srcOffset?: GLuint,
|
|
526
|
-
srcLength?: GLuint
|
|
527
|
-
): void;
|
|
528
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
529
|
-
uniform2uiv(
|
|
530
|
-
location: WebGLUniformLocation | null,
|
|
531
|
-
data: Iterable<GLuint>,
|
|
532
|
-
srcOffset?: GLuint,
|
|
533
|
-
srcLength?: GLuint
|
|
534
|
-
): void;
|
|
535
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
536
|
-
uniform3uiv(
|
|
537
|
-
location: WebGLUniformLocation | null,
|
|
538
|
-
data: Iterable<GLuint>,
|
|
539
|
-
srcOffset?: GLuint,
|
|
540
|
-
srcLength?: GLuint
|
|
541
|
-
): void;
|
|
542
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
543
|
-
uniform4uiv(
|
|
544
|
-
location: WebGLUniformLocation | null,
|
|
545
|
-
data: Iterable<GLuint>,
|
|
546
|
-
srcOffset?: GLuint,
|
|
547
|
-
srcLength?: GLuint
|
|
548
|
-
): void;
|
|
549
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
550
|
-
uniformMatrix2x3fv(
|
|
551
|
-
location: WebGLUniformLocation | null,
|
|
552
|
-
transpose: GLboolean,
|
|
553
|
-
data: Iterable<GLfloat>,
|
|
554
|
-
srcOffset?: GLuint,
|
|
555
|
-
srcLength?: GLuint
|
|
556
|
-
): void;
|
|
557
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
558
|
-
uniformMatrix2x4fv(
|
|
559
|
-
location: WebGLUniformLocation | null,
|
|
560
|
-
transpose: GLboolean,
|
|
561
|
-
data: Iterable<GLfloat>,
|
|
562
|
-
srcOffset?: GLuint,
|
|
563
|
-
srcLength?: GLuint
|
|
564
|
-
): void;
|
|
565
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
566
|
-
uniformMatrix3x2fv(
|
|
567
|
-
location: WebGLUniformLocation | null,
|
|
568
|
-
transpose: GLboolean,
|
|
569
|
-
data: Iterable<GLfloat>,
|
|
570
|
-
srcOffset?: GLuint,
|
|
571
|
-
srcLength?: GLuint
|
|
572
|
-
): void;
|
|
573
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
574
|
-
uniformMatrix3x4fv(
|
|
575
|
-
location: WebGLUniformLocation | null,
|
|
576
|
-
transpose: GLboolean,
|
|
577
|
-
data: Iterable<GLfloat>,
|
|
578
|
-
srcOffset?: GLuint,
|
|
579
|
-
srcLength?: GLuint
|
|
580
|
-
): void;
|
|
581
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
582
|
-
uniformMatrix4x2fv(
|
|
583
|
-
location: WebGLUniformLocation | null,
|
|
584
|
-
transpose: GLboolean,
|
|
585
|
-
data: Iterable<GLfloat>,
|
|
586
|
-
srcOffset?: GLuint,
|
|
587
|
-
srcLength?: GLuint
|
|
588
|
-
): void;
|
|
589
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
590
|
-
uniformMatrix4x3fv(
|
|
591
|
-
location: WebGLUniformLocation | null,
|
|
592
|
-
transpose: GLboolean,
|
|
593
|
-
data: Iterable<GLfloat>,
|
|
594
|
-
srcOffset?: GLuint,
|
|
595
|
-
srcLength?: GLuint
|
|
596
|
-
): void;
|
|
597
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
598
|
-
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
|
599
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
600
|
-
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
interface WebGL2RenderingContextOverloads {
|
|
604
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
605
|
-
uniform1fv(
|
|
606
|
-
location: WebGLUniformLocation | null,
|
|
607
|
-
data: Iterable<GLfloat>,
|
|
608
|
-
srcOffset?: GLuint,
|
|
609
|
-
srcLength?: GLuint
|
|
610
|
-
): void;
|
|
611
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
612
|
-
uniform1iv(
|
|
613
|
-
location: WebGLUniformLocation | null,
|
|
614
|
-
data: Iterable<GLint>,
|
|
615
|
-
srcOffset?: GLuint,
|
|
616
|
-
srcLength?: GLuint
|
|
617
|
-
): void;
|
|
618
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
619
|
-
uniform2fv(
|
|
620
|
-
location: WebGLUniformLocation | null,
|
|
621
|
-
data: Iterable<GLfloat>,
|
|
622
|
-
srcOffset?: GLuint,
|
|
623
|
-
srcLength?: GLuint
|
|
624
|
-
): void;
|
|
625
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
626
|
-
uniform2iv(
|
|
627
|
-
location: WebGLUniformLocation | null,
|
|
628
|
-
data: Iterable<GLint>,
|
|
629
|
-
srcOffset?: GLuint,
|
|
630
|
-
srcLength?: GLuint
|
|
631
|
-
): void;
|
|
632
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
633
|
-
uniform3fv(
|
|
634
|
-
location: WebGLUniformLocation | null,
|
|
635
|
-
data: Iterable<GLfloat>,
|
|
636
|
-
srcOffset?: GLuint,
|
|
637
|
-
srcLength?: GLuint
|
|
638
|
-
): void;
|
|
639
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
640
|
-
uniform3iv(
|
|
641
|
-
location: WebGLUniformLocation | null,
|
|
642
|
-
data: Iterable<GLint>,
|
|
643
|
-
srcOffset?: GLuint,
|
|
644
|
-
srcLength?: GLuint
|
|
645
|
-
): void;
|
|
646
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
647
|
-
uniform4fv(
|
|
648
|
-
location: WebGLUniformLocation | null,
|
|
649
|
-
data: Iterable<GLfloat>,
|
|
650
|
-
srcOffset?: GLuint,
|
|
651
|
-
srcLength?: GLuint
|
|
652
|
-
): void;
|
|
653
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
654
|
-
uniform4iv(
|
|
655
|
-
location: WebGLUniformLocation | null,
|
|
656
|
-
data: Iterable<GLint>,
|
|
657
|
-
srcOffset?: GLuint,
|
|
658
|
-
srcLength?: GLuint
|
|
659
|
-
): void;
|
|
660
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
661
|
-
uniformMatrix2fv(
|
|
662
|
-
location: WebGLUniformLocation | null,
|
|
663
|
-
transpose: GLboolean,
|
|
664
|
-
data: Iterable<GLfloat>,
|
|
665
|
-
srcOffset?: GLuint,
|
|
666
|
-
srcLength?: GLuint
|
|
667
|
-
): void;
|
|
668
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
669
|
-
uniformMatrix3fv(
|
|
670
|
-
location: WebGLUniformLocation | null,
|
|
671
|
-
transpose: GLboolean,
|
|
672
|
-
data: Iterable<GLfloat>,
|
|
673
|
-
srcOffset?: GLuint,
|
|
674
|
-
srcLength?: GLuint
|
|
675
|
-
): void;
|
|
676
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
677
|
-
uniformMatrix4fv(
|
|
678
|
-
location: WebGLUniformLocation | null,
|
|
679
|
-
transpose: GLboolean,
|
|
680
|
-
data: Iterable<GLfloat>,
|
|
681
|
-
srcOffset?: GLuint,
|
|
682
|
-
srcLength?: GLuint
|
|
683
|
-
): void;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
interface WebGLRenderingContextBase {
|
|
687
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
688
|
-
vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
689
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
690
|
-
vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
691
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
692
|
-
vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
693
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
694
|
-
vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
interface WebGLRenderingContextOverloads {
|
|
698
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
699
|
-
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
700
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
701
|
-
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
702
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
703
|
-
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
704
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
705
|
-
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
706
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
707
|
-
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
708
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
709
|
-
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
710
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
711
|
-
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
712
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
713
|
-
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
714
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
715
|
-
uniformMatrix2fv(
|
|
716
|
-
location: WebGLUniformLocation | null,
|
|
717
|
-
transpose: GLboolean,
|
|
718
|
-
value: Iterable<GLfloat>
|
|
719
|
-
): void;
|
|
720
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
721
|
-
uniformMatrix3fv(
|
|
722
|
-
location: WebGLUniformLocation | null,
|
|
723
|
-
transpose: GLboolean,
|
|
724
|
-
value: Iterable<GLfloat>
|
|
725
|
-
): void;
|
|
726
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
727
|
-
uniformMatrix4fv(
|
|
728
|
-
location: WebGLUniformLocation | null,
|
|
729
|
-
transpose: GLboolean,
|
|
730
|
-
value: Iterable<GLfloat>
|
|
731
|
-
): void;
|
|
732
|
-
}
|