@types/web 0.0.156 → 0.0.158
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/README.md +1 -1
- package/index.d.ts +87 -16
- package/package.json +1 -1
- package/ts5.5/index.d.ts +87 -16
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.158 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.158.
|
package/index.d.ts
CHANGED
|
@@ -137,6 +137,9 @@ interface AuthenticationExtensionsClientInputs {
|
|
|
137
137
|
prf?: AuthenticationExtensionsPRFInputs;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
interface AuthenticationExtensionsClientInputsJSON {
|
|
141
|
+
}
|
|
142
|
+
|
|
140
143
|
interface AuthenticationExtensionsClientOutputs {
|
|
141
144
|
appid?: boolean;
|
|
142
145
|
credProps?: CredentialPropertiesOutput;
|
|
@@ -1296,12 +1299,31 @@ interface PublicKeyCredentialCreationOptions {
|
|
|
1296
1299
|
user: PublicKeyCredentialUserEntity;
|
|
1297
1300
|
}
|
|
1298
1301
|
|
|
1302
|
+
interface PublicKeyCredentialCreationOptionsJSON {
|
|
1303
|
+
attestation?: string;
|
|
1304
|
+
authenticatorSelection?: AuthenticatorSelectionCriteria;
|
|
1305
|
+
challenge: Base64URLString;
|
|
1306
|
+
excludeCredentials?: PublicKeyCredentialDescriptorJSON[];
|
|
1307
|
+
extensions?: AuthenticationExtensionsClientInputsJSON;
|
|
1308
|
+
hints?: string[];
|
|
1309
|
+
pubKeyCredParams: PublicKeyCredentialParameters[];
|
|
1310
|
+
rp: PublicKeyCredentialRpEntity;
|
|
1311
|
+
timeout?: number;
|
|
1312
|
+
user: PublicKeyCredentialUserEntityJSON;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1299
1315
|
interface PublicKeyCredentialDescriptor {
|
|
1300
1316
|
id: BufferSource;
|
|
1301
1317
|
transports?: AuthenticatorTransport[];
|
|
1302
1318
|
type: PublicKeyCredentialType;
|
|
1303
1319
|
}
|
|
1304
1320
|
|
|
1321
|
+
interface PublicKeyCredentialDescriptorJSON {
|
|
1322
|
+
id: Base64URLString;
|
|
1323
|
+
transports?: string[];
|
|
1324
|
+
type: string;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1305
1327
|
interface PublicKeyCredentialEntity {
|
|
1306
1328
|
name: string;
|
|
1307
1329
|
}
|
|
@@ -1320,6 +1342,16 @@ interface PublicKeyCredentialRequestOptions {
|
|
|
1320
1342
|
userVerification?: UserVerificationRequirement;
|
|
1321
1343
|
}
|
|
1322
1344
|
|
|
1345
|
+
interface PublicKeyCredentialRequestOptionsJSON {
|
|
1346
|
+
allowCredentials?: PublicKeyCredentialDescriptorJSON[];
|
|
1347
|
+
challenge: Base64URLString;
|
|
1348
|
+
extensions?: AuthenticationExtensionsClientInputsJSON;
|
|
1349
|
+
hints?: string[];
|
|
1350
|
+
rpId?: string;
|
|
1351
|
+
timeout?: number;
|
|
1352
|
+
userVerification?: string;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1323
1355
|
interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {
|
|
1324
1356
|
id?: string;
|
|
1325
1357
|
}
|
|
@@ -1329,6 +1361,12 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
|
|
|
1329
1361
|
id: BufferSource;
|
|
1330
1362
|
}
|
|
1331
1363
|
|
|
1364
|
+
interface PublicKeyCredentialUserEntityJSON {
|
|
1365
|
+
displayName: string;
|
|
1366
|
+
id: Base64URLString;
|
|
1367
|
+
name: string;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1332
1370
|
interface PushSubscriptionJSON {
|
|
1333
1371
|
endpoint?: string;
|
|
1334
1372
|
expirationTime?: EpochTimeStamp | null;
|
|
@@ -3460,7 +3498,7 @@ interface CSSImportRule extends CSSRule {
|
|
|
3460
3498
|
readonly layerName: string | null;
|
|
3461
3499
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */
|
|
3462
3500
|
readonly media: MediaList;
|
|
3463
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/
|
|
3501
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
|
|
3464
3502
|
readonly styleSheet: CSSStyleSheet | null;
|
|
3465
3503
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
|
|
3466
3504
|
readonly supportsText: string | null;
|
|
@@ -3496,6 +3534,7 @@ declare var CSSKeyframeRule: {
|
|
|
3496
3534
|
interface CSSKeyframesRule extends CSSRule {
|
|
3497
3535
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules) */
|
|
3498
3536
|
readonly cssRules: CSSRuleList;
|
|
3537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length) */
|
|
3499
3538
|
readonly length: number;
|
|
3500
3539
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name) */
|
|
3501
3540
|
name: string;
|
|
@@ -3753,7 +3792,7 @@ declare var CSSPerspective: {
|
|
|
3753
3792
|
interface CSSPropertyRule extends CSSRule {
|
|
3754
3793
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits) */
|
|
3755
3794
|
readonly inherits: boolean;
|
|
3756
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/
|
|
3795
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) */
|
|
3757
3796
|
readonly initialValue: string | null;
|
|
3758
3797
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name) */
|
|
3759
3798
|
readonly name: string;
|
|
@@ -4212,11 +4251,13 @@ interface CSSStyleDeclaration {
|
|
|
4212
4251
|
cx: string;
|
|
4213
4252
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */
|
|
4214
4253
|
cy: string;
|
|
4254
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/d) */
|
|
4215
4255
|
d: string;
|
|
4216
4256
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */
|
|
4217
4257
|
direction: string;
|
|
4218
4258
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display) */
|
|
4219
4259
|
display: string;
|
|
4260
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
|
|
4220
4261
|
dominantBaseline: string;
|
|
4221
4262
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
|
|
4222
4263
|
emptyCells: string;
|
|
@@ -4411,9 +4452,13 @@ interface CSSStyleDeclaration {
|
|
|
4411
4452
|
marginRight: string;
|
|
4412
4453
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-top) */
|
|
4413
4454
|
marginTop: string;
|
|
4455
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker) */
|
|
4414
4456
|
marker: string;
|
|
4457
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-end) */
|
|
4415
4458
|
markerEnd: string;
|
|
4459
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-mid) */
|
|
4416
4460
|
markerMid: string;
|
|
4461
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-start) */
|
|
4417
4462
|
markerStart: string;
|
|
4418
4463
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask) */
|
|
4419
4464
|
mask: string;
|
|
@@ -4653,6 +4698,7 @@ interface CSSStyleDeclaration {
|
|
|
4653
4698
|
stopColor: string;
|
|
4654
4699
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) */
|
|
4655
4700
|
stopOpacity: string;
|
|
4701
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke) */
|
|
4656
4702
|
stroke: string;
|
|
4657
4703
|
strokeDasharray: string;
|
|
4658
4704
|
strokeDashoffset: string;
|
|
@@ -4745,6 +4791,7 @@ interface CSSStyleDeclaration {
|
|
|
4745
4791
|
unicodeBidi: string;
|
|
4746
4792
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) */
|
|
4747
4793
|
userSelect: string;
|
|
4794
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vector-effect) */
|
|
4748
4795
|
vectorEffect: string;
|
|
4749
4796
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
|
|
4750
4797
|
verticalAlign: string;
|
|
@@ -11102,11 +11149,23 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11102
11149
|
readonly validationMessage: string;
|
|
11103
11150
|
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
11104
11151
|
readonly validity: ValidityState;
|
|
11105
|
-
/**
|
|
11152
|
+
/**
|
|
11153
|
+
* Returns the value of the data at the cursor's current position.
|
|
11154
|
+
*
|
|
11155
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
|
|
11156
|
+
*/
|
|
11106
11157
|
value: string;
|
|
11107
|
-
/**
|
|
11158
|
+
/**
|
|
11159
|
+
* Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
|
|
11160
|
+
*
|
|
11161
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate)
|
|
11162
|
+
*/
|
|
11108
11163
|
valueAsDate: Date | null;
|
|
11109
|
-
/**
|
|
11164
|
+
/**
|
|
11165
|
+
* Returns the input field value as a number.
|
|
11166
|
+
*
|
|
11167
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
|
|
11168
|
+
*/
|
|
11110
11169
|
valueAsNumber: number;
|
|
11111
11170
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries) */
|
|
11112
11171
|
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
|
|
@@ -14022,7 +14081,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
14022
14081
|
/**
|
|
14023
14082
|
* Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
|
|
14024
14083
|
*
|
|
14025
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/
|
|
14084
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
14026
14085
|
*/
|
|
14027
14086
|
readonly objectStoreNames: DOMStringList;
|
|
14028
14087
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
@@ -14130,7 +14189,11 @@ declare var ImageBitmap: {
|
|
|
14130
14189
|
|
|
14131
14190
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext) */
|
|
14132
14191
|
interface ImageBitmapRenderingContext {
|
|
14133
|
-
/**
|
|
14192
|
+
/**
|
|
14193
|
+
* Returns the canvas element that the context is bound to.
|
|
14194
|
+
*
|
|
14195
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)
|
|
14196
|
+
*/
|
|
14134
14197
|
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
14135
14198
|
/**
|
|
14136
14199
|
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
|
|
@@ -17717,15 +17780,21 @@ interface PublicKeyCredential extends Credential {
|
|
|
17717
17780
|
readonly response: AuthenticatorResponse;
|
|
17718
17781
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientExtensionResults) */
|
|
17719
17782
|
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
|
|
17783
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON) */
|
|
17784
|
+
toJSON(): PublicKeyCredentialJSON;
|
|
17720
17785
|
}
|
|
17721
17786
|
|
|
17722
17787
|
declare var PublicKeyCredential: {
|
|
17723
17788
|
prototype: PublicKeyCredential;
|
|
17724
17789
|
new(): PublicKeyCredential;
|
|
17725
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/
|
|
17790
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */
|
|
17726
17791
|
isConditionalMediationAvailable(): Promise<boolean>;
|
|
17727
17792
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
|
|
17728
17793
|
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
|
|
17794
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static) */
|
|
17795
|
+
parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions;
|
|
17796
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static) */
|
|
17797
|
+
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
|
|
17729
17798
|
};
|
|
17730
17799
|
|
|
17731
17800
|
/**
|
|
@@ -18152,9 +18221,9 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
18152
18221
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/signalingState) */
|
|
18153
18222
|
readonly signalingState: RTCSignalingState;
|
|
18154
18223
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addIceCandidate) */
|
|
18155
|
-
addIceCandidate(candidate?: RTCIceCandidateInit): Promise<void>;
|
|
18224
|
+
addIceCandidate(candidate?: RTCIceCandidateInit | null): Promise<void>;
|
|
18156
18225
|
/** @deprecated */
|
|
18157
|
-
addIceCandidate(candidate: RTCIceCandidateInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
|
|
18226
|
+
addIceCandidate(candidate: RTCIceCandidateInit | null, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
|
|
18158
18227
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTrack) */
|
|
18159
18228
|
addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;
|
|
18160
18229
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTransceiver) */
|
|
@@ -22347,7 +22416,7 @@ interface TextTrackList extends EventTarget {
|
|
|
22347
22416
|
onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
22348
22417
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */
|
|
22349
22418
|
onchange: ((this: TextTrackList, ev: Event) => any) | null;
|
|
22350
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/
|
|
22419
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */
|
|
22351
22420
|
onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
22352
22421
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) */
|
|
22353
22422
|
getTrackById(id: string): TextTrack | null;
|
|
@@ -26572,7 +26641,7 @@ interface Console {
|
|
|
26572
26641
|
clear(): void;
|
|
26573
26642
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
26574
26643
|
count(label?: string): void;
|
|
26575
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26644
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
|
|
26576
26645
|
countReset(label?: string): void;
|
|
26577
26646
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
26578
26647
|
debug(...data: any[]): void;
|
|
@@ -26584,9 +26653,9 @@ interface Console {
|
|
|
26584
26653
|
error(...data: any[]): void;
|
|
26585
26654
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
26586
26655
|
group(...data: any[]): void;
|
|
26587
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26656
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
|
|
26588
26657
|
groupCollapsed(...data: any[]): void;
|
|
26589
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26658
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
|
|
26590
26659
|
groupEnd(): void;
|
|
26591
26660
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
26592
26661
|
info(...data: any[]): void;
|
|
@@ -26596,9 +26665,9 @@ interface Console {
|
|
|
26596
26665
|
table(tabularData?: any, properties?: string[]): void;
|
|
26597
26666
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
26598
26667
|
time(label?: string): void;
|
|
26599
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26668
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
|
|
26600
26669
|
timeEnd(label?: string): void;
|
|
26601
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26670
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
|
|
26602
26671
|
timeLog(label?: string, ...data: any[]): void;
|
|
26603
26672
|
timeStamp(label?: string): void;
|
|
26604
26673
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -28133,6 +28202,7 @@ type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
|
|
|
28133
28202
|
type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
|
|
28134
28203
|
type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
|
|
28135
28204
|
type AutoFillSection = `section-${string}`;
|
|
28205
|
+
type Base64URLString = string;
|
|
28136
28206
|
type BigInteger = Uint8Array;
|
|
28137
28207
|
type BlobPart = BufferSource | Blob | string;
|
|
28138
28208
|
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
@@ -28185,6 +28255,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
|
28185
28255
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
28186
28256
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
28187
28257
|
type PerformanceEntryList = PerformanceEntry[];
|
|
28258
|
+
type PublicKeyCredentialJSON = any;
|
|
28188
28259
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
28189
28260
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
28190
28261
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -137,6 +137,9 @@ interface AuthenticationExtensionsClientInputs {
|
|
|
137
137
|
prf?: AuthenticationExtensionsPRFInputs;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
interface AuthenticationExtensionsClientInputsJSON {
|
|
141
|
+
}
|
|
142
|
+
|
|
140
143
|
interface AuthenticationExtensionsClientOutputs {
|
|
141
144
|
appid?: boolean;
|
|
142
145
|
credProps?: CredentialPropertiesOutput;
|
|
@@ -1296,12 +1299,31 @@ interface PublicKeyCredentialCreationOptions {
|
|
|
1296
1299
|
user: PublicKeyCredentialUserEntity;
|
|
1297
1300
|
}
|
|
1298
1301
|
|
|
1302
|
+
interface PublicKeyCredentialCreationOptionsJSON {
|
|
1303
|
+
attestation?: string;
|
|
1304
|
+
authenticatorSelection?: AuthenticatorSelectionCriteria;
|
|
1305
|
+
challenge: Base64URLString;
|
|
1306
|
+
excludeCredentials?: PublicKeyCredentialDescriptorJSON[];
|
|
1307
|
+
extensions?: AuthenticationExtensionsClientInputsJSON;
|
|
1308
|
+
hints?: string[];
|
|
1309
|
+
pubKeyCredParams: PublicKeyCredentialParameters[];
|
|
1310
|
+
rp: PublicKeyCredentialRpEntity;
|
|
1311
|
+
timeout?: number;
|
|
1312
|
+
user: PublicKeyCredentialUserEntityJSON;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1299
1315
|
interface PublicKeyCredentialDescriptor {
|
|
1300
1316
|
id: BufferSource;
|
|
1301
1317
|
transports?: AuthenticatorTransport[];
|
|
1302
1318
|
type: PublicKeyCredentialType;
|
|
1303
1319
|
}
|
|
1304
1320
|
|
|
1321
|
+
interface PublicKeyCredentialDescriptorJSON {
|
|
1322
|
+
id: Base64URLString;
|
|
1323
|
+
transports?: string[];
|
|
1324
|
+
type: string;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1305
1327
|
interface PublicKeyCredentialEntity {
|
|
1306
1328
|
name: string;
|
|
1307
1329
|
}
|
|
@@ -1320,6 +1342,16 @@ interface PublicKeyCredentialRequestOptions {
|
|
|
1320
1342
|
userVerification?: UserVerificationRequirement;
|
|
1321
1343
|
}
|
|
1322
1344
|
|
|
1345
|
+
interface PublicKeyCredentialRequestOptionsJSON {
|
|
1346
|
+
allowCredentials?: PublicKeyCredentialDescriptorJSON[];
|
|
1347
|
+
challenge: Base64URLString;
|
|
1348
|
+
extensions?: AuthenticationExtensionsClientInputsJSON;
|
|
1349
|
+
hints?: string[];
|
|
1350
|
+
rpId?: string;
|
|
1351
|
+
timeout?: number;
|
|
1352
|
+
userVerification?: string;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1323
1355
|
interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {
|
|
1324
1356
|
id?: string;
|
|
1325
1357
|
}
|
|
@@ -1329,6 +1361,12 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
|
|
|
1329
1361
|
id: BufferSource;
|
|
1330
1362
|
}
|
|
1331
1363
|
|
|
1364
|
+
interface PublicKeyCredentialUserEntityJSON {
|
|
1365
|
+
displayName: string;
|
|
1366
|
+
id: Base64URLString;
|
|
1367
|
+
name: string;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1332
1370
|
interface PushSubscriptionJSON {
|
|
1333
1371
|
endpoint?: string;
|
|
1334
1372
|
expirationTime?: EpochTimeStamp | null;
|
|
@@ -3460,7 +3498,7 @@ interface CSSImportRule extends CSSRule {
|
|
|
3460
3498
|
readonly layerName: string | null;
|
|
3461
3499
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */
|
|
3462
3500
|
readonly media: MediaList;
|
|
3463
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/
|
|
3501
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
|
|
3464
3502
|
readonly styleSheet: CSSStyleSheet | null;
|
|
3465
3503
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
|
|
3466
3504
|
readonly supportsText: string | null;
|
|
@@ -3496,6 +3534,7 @@ declare var CSSKeyframeRule: {
|
|
|
3496
3534
|
interface CSSKeyframesRule extends CSSRule {
|
|
3497
3535
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules) */
|
|
3498
3536
|
readonly cssRules: CSSRuleList;
|
|
3537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length) */
|
|
3499
3538
|
readonly length: number;
|
|
3500
3539
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name) */
|
|
3501
3540
|
name: string;
|
|
@@ -3753,7 +3792,7 @@ declare var CSSPerspective: {
|
|
|
3753
3792
|
interface CSSPropertyRule extends CSSRule {
|
|
3754
3793
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits) */
|
|
3755
3794
|
readonly inherits: boolean;
|
|
3756
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/
|
|
3795
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) */
|
|
3757
3796
|
readonly initialValue: string | null;
|
|
3758
3797
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name) */
|
|
3759
3798
|
readonly name: string;
|
|
@@ -4212,11 +4251,13 @@ interface CSSStyleDeclaration {
|
|
|
4212
4251
|
cx: string;
|
|
4213
4252
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */
|
|
4214
4253
|
cy: string;
|
|
4254
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/d) */
|
|
4215
4255
|
d: string;
|
|
4216
4256
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */
|
|
4217
4257
|
direction: string;
|
|
4218
4258
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display) */
|
|
4219
4259
|
display: string;
|
|
4260
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
|
|
4220
4261
|
dominantBaseline: string;
|
|
4221
4262
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
|
|
4222
4263
|
emptyCells: string;
|
|
@@ -4411,9 +4452,13 @@ interface CSSStyleDeclaration {
|
|
|
4411
4452
|
marginRight: string;
|
|
4412
4453
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-top) */
|
|
4413
4454
|
marginTop: string;
|
|
4455
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker) */
|
|
4414
4456
|
marker: string;
|
|
4457
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-end) */
|
|
4415
4458
|
markerEnd: string;
|
|
4459
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-mid) */
|
|
4416
4460
|
markerMid: string;
|
|
4461
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-start) */
|
|
4417
4462
|
markerStart: string;
|
|
4418
4463
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask) */
|
|
4419
4464
|
mask: string;
|
|
@@ -4653,6 +4698,7 @@ interface CSSStyleDeclaration {
|
|
|
4653
4698
|
stopColor: string;
|
|
4654
4699
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) */
|
|
4655
4700
|
stopOpacity: string;
|
|
4701
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke) */
|
|
4656
4702
|
stroke: string;
|
|
4657
4703
|
strokeDasharray: string;
|
|
4658
4704
|
strokeDashoffset: string;
|
|
@@ -4745,6 +4791,7 @@ interface CSSStyleDeclaration {
|
|
|
4745
4791
|
unicodeBidi: string;
|
|
4746
4792
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) */
|
|
4747
4793
|
userSelect: string;
|
|
4794
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vector-effect) */
|
|
4748
4795
|
vectorEffect: string;
|
|
4749
4796
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
|
|
4750
4797
|
verticalAlign: string;
|
|
@@ -11102,11 +11149,23 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11102
11149
|
readonly validationMessage: string;
|
|
11103
11150
|
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
11104
11151
|
readonly validity: ValidityState;
|
|
11105
|
-
/**
|
|
11152
|
+
/**
|
|
11153
|
+
* Returns the value of the data at the cursor's current position.
|
|
11154
|
+
*
|
|
11155
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
|
|
11156
|
+
*/
|
|
11106
11157
|
value: string;
|
|
11107
|
-
/**
|
|
11158
|
+
/**
|
|
11159
|
+
* Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
|
|
11160
|
+
*
|
|
11161
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate)
|
|
11162
|
+
*/
|
|
11108
11163
|
valueAsDate: Date | null;
|
|
11109
|
-
/**
|
|
11164
|
+
/**
|
|
11165
|
+
* Returns the input field value as a number.
|
|
11166
|
+
*
|
|
11167
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
|
|
11168
|
+
*/
|
|
11110
11169
|
valueAsNumber: number;
|
|
11111
11170
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries) */
|
|
11112
11171
|
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
|
|
@@ -14022,7 +14081,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
14022
14081
|
/**
|
|
14023
14082
|
* Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
|
|
14024
14083
|
*
|
|
14025
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/
|
|
14084
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
14026
14085
|
*/
|
|
14027
14086
|
readonly objectStoreNames: DOMStringList;
|
|
14028
14087
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
@@ -14130,7 +14189,11 @@ declare var ImageBitmap: {
|
|
|
14130
14189
|
|
|
14131
14190
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext) */
|
|
14132
14191
|
interface ImageBitmapRenderingContext {
|
|
14133
|
-
/**
|
|
14192
|
+
/**
|
|
14193
|
+
* Returns the canvas element that the context is bound to.
|
|
14194
|
+
*
|
|
14195
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)
|
|
14196
|
+
*/
|
|
14134
14197
|
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
14135
14198
|
/**
|
|
14136
14199
|
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
|
|
@@ -17717,15 +17780,21 @@ interface PublicKeyCredential extends Credential {
|
|
|
17717
17780
|
readonly response: AuthenticatorResponse;
|
|
17718
17781
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientExtensionResults) */
|
|
17719
17782
|
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
|
|
17783
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON) */
|
|
17784
|
+
toJSON(): PublicKeyCredentialJSON;
|
|
17720
17785
|
}
|
|
17721
17786
|
|
|
17722
17787
|
declare var PublicKeyCredential: {
|
|
17723
17788
|
prototype: PublicKeyCredential;
|
|
17724
17789
|
new(): PublicKeyCredential;
|
|
17725
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/
|
|
17790
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */
|
|
17726
17791
|
isConditionalMediationAvailable(): Promise<boolean>;
|
|
17727
17792
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
|
|
17728
17793
|
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
|
|
17794
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static) */
|
|
17795
|
+
parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions;
|
|
17796
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static) */
|
|
17797
|
+
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
|
|
17729
17798
|
};
|
|
17730
17799
|
|
|
17731
17800
|
/**
|
|
@@ -18152,9 +18221,9 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
18152
18221
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/signalingState) */
|
|
18153
18222
|
readonly signalingState: RTCSignalingState;
|
|
18154
18223
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addIceCandidate) */
|
|
18155
|
-
addIceCandidate(candidate?: RTCIceCandidateInit): Promise<void>;
|
|
18224
|
+
addIceCandidate(candidate?: RTCIceCandidateInit | null): Promise<void>;
|
|
18156
18225
|
/** @deprecated */
|
|
18157
|
-
addIceCandidate(candidate: RTCIceCandidateInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
|
|
18226
|
+
addIceCandidate(candidate: RTCIceCandidateInit | null, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
|
|
18158
18227
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTrack) */
|
|
18159
18228
|
addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;
|
|
18160
18229
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTransceiver) */
|
|
@@ -22347,7 +22416,7 @@ interface TextTrackList extends EventTarget {
|
|
|
22347
22416
|
onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
22348
22417
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */
|
|
22349
22418
|
onchange: ((this: TextTrackList, ev: Event) => any) | null;
|
|
22350
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/
|
|
22419
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */
|
|
22351
22420
|
onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
22352
22421
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) */
|
|
22353
22422
|
getTrackById(id: string): TextTrack | null;
|
|
@@ -26572,7 +26641,7 @@ interface Console {
|
|
|
26572
26641
|
clear(): void;
|
|
26573
26642
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
26574
26643
|
count(label?: string): void;
|
|
26575
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26644
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
|
|
26576
26645
|
countReset(label?: string): void;
|
|
26577
26646
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
26578
26647
|
debug(...data: any[]): void;
|
|
@@ -26584,9 +26653,9 @@ interface Console {
|
|
|
26584
26653
|
error(...data: any[]): void;
|
|
26585
26654
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
26586
26655
|
group(...data: any[]): void;
|
|
26587
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26656
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
|
|
26588
26657
|
groupCollapsed(...data: any[]): void;
|
|
26589
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26658
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
|
|
26590
26659
|
groupEnd(): void;
|
|
26591
26660
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
26592
26661
|
info(...data: any[]): void;
|
|
@@ -26596,9 +26665,9 @@ interface Console {
|
|
|
26596
26665
|
table(tabularData?: any, properties?: string[]): void;
|
|
26597
26666
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
26598
26667
|
time(label?: string): void;
|
|
26599
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26668
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
|
|
26600
26669
|
timeEnd(label?: string): void;
|
|
26601
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26670
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
|
|
26602
26671
|
timeLog(label?: string, ...data: any[]): void;
|
|
26603
26672
|
timeStamp(label?: string): void;
|
|
26604
26673
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -28133,6 +28202,7 @@ type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
|
|
|
28133
28202
|
type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
|
|
28134
28203
|
type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
|
|
28135
28204
|
type AutoFillSection = `section-${string}`;
|
|
28205
|
+
type Base64URLString = string;
|
|
28136
28206
|
type BigInteger = Uint8Array;
|
|
28137
28207
|
type BlobPart = BufferSource | Blob | string;
|
|
28138
28208
|
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
@@ -28185,6 +28255,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
|
28185
28255
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
28186
28256
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
28187
28257
|
type PerformanceEntryList = PerformanceEntry[];
|
|
28258
|
+
type PublicKeyCredentialJSON = any;
|
|
28188
28259
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
28189
28260
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
28190
28261
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|