2
2
/// DOM APIs
3
3
/////////////////////////////
4
4
5
- interface Account {
6
- displayName: string;
7
- id: string;
8
- imageURL?: string;
9
- name?: string;
10
- rpDisplayName: string;
11
- }
12
-
13
5
interface AddEventListenerOptions extends EventListenerOptions {
14
6
once?: boolean;
15
7
passive?: boolean;
@@ -77,13 +69,6 @@ interface AnimationPlaybackEventInit extends EventInit {
77
69
timelineTime?: number | null;
78
70
}
79
71
80
- interface AssertionOptions {
81
- allowList?: ScopedCredentialDescriptor[];
82
- extensions?: WebAuthnExtensions;
83
- rpId?: string;
84
- timeoutSeconds?: number;
85
- }
86
-
87
72
interface AssignedNodesOptions {
88
73
flatten?: boolean;
89
74
}
@@ -202,15 +187,6 @@ interface ChannelSplitterOptions extends AudioNodeOptions {
202
187
numberOfOutputs?: number;
203
188
}
204
189
205
- interface ClientData {
206
- challenge: string;
207
- extensions?: WebAuthnExtensions;
208
- hashAlg: string | Algorithm;
209
- origin: string;
210
- rpId: string;
211
- tokenBinding?: string;
212
- }
213
-
214
190
interface ClientQueryOptions {
215
191
includeUncontrolled?: boolean;
216
192
type?: ClientTypes;
@@ -1649,24 +1625,6 @@ interface SVGBoundingBoxOptions {
1649
1625
stroke?: boolean;
1650
1626
}
1651
1627
1652
- interface ScopedCredentialDescriptor {
1653
- id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null;
1654
- transports?: Transport[];
1655
- type: ScopedCredentialType;
1656
- }
1657
-
1658
- interface ScopedCredentialOptions {
1659
- excludeList?: ScopedCredentialDescriptor[];
1660
- extensions?: WebAuthnExtensions;
1661
- rpId?: string;
1662
- timeoutSeconds?: number;
1663
- }
1664
-
1665
- interface ScopedCredentialParameters {
1666
- algorithm: string | Algorithm;
1667
- type: ScopedCredentialType;
1668
- }
1669
-
1670
1628
interface ScrollIntoViewOptions extends ScrollOptions {
1671
1629
block?: ScrollLogicalPosition;
1672
1630
inline?: ScrollLogicalPosition;
@@ -1872,9 +1830,6 @@ interface WaveShaperOptions extends AudioNodeOptions {
1872
1830
oversample?: OverSampleType;
1873
1831
}
1874
1832
1875
- interface WebAuthnExtensions {
1876
- }
1877
-
1878
1833
interface WebGLContextAttributes {
1879
1834
alpha?: boolean;
1880
1835
antialias?: boolean;
@@ -14631,26 +14586,6 @@ declare var SVGZoomEvent: {
14631
14586
new(): SVGZoomEvent;
14632
14587
};
14633
14588
14634
- interface ScopedCredential {
14635
- readonly id: ArrayBuffer;
14636
- readonly type: ScopedCredentialType;
14637
- }
14638
-
14639
- declare var ScopedCredential: {
14640
- prototype: ScopedCredential;
14641
- new(): ScopedCredential;
14642
- };
14643
-
14644
- interface ScopedCredentialInfo {
14645
- readonly credential: ScopedCredential;
14646
- readonly publicKey: CryptoKey;
14647
- }
14648
-
14649
- declare var ScopedCredentialInfo: {
14650
- prototype: ScopedCredentialInfo;
14651
- new(): ScopedCredentialInfo;
14652
- };
14653
-
14654
14589
/** A screen, usually the one on which the current window is being rendered, and is obtained using window.screen. */
14655
14590
interface Screen {
14656
14591
readonly availHeight: number;
@@ -16193,28 +16128,6 @@ declare var WaveShaperNode: {
16193
16128
new(context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode;
16194
16129
};
16195
16130
16196
- interface WebAuthentication {
16197
- getAssertion(assertionChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: AssertionOptions): Promise<WebAuthnAssertion>;
16198
- makeCredential(accountInformation: Account, cryptoParameters: ScopedCredentialParameters[], attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;
16199
- }
16200
-
16201
- declare var WebAuthentication: {
16202
- prototype: WebAuthentication;
16203
- new(): WebAuthentication;
16204
- };
16205
-
16206
- interface WebAuthnAssertion {
16207
- readonly authenticatorData: ArrayBuffer;
16208
- readonly clientData: ArrayBuffer;
16209
- readonly credential: ScopedCredential;
16210
- readonly signature: ArrayBuffer;
16211
- }
16212
-
16213
- declare var WebAuthnAssertion: {
16214
- prototype: WebAuthnAssertion;
16215
- new(): WebAuthnAssertion;
16216
- };
16217
-
16218
16131
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
16219
16132
}
16220
16133
@@ -19874,7 +19787,6 @@ type RequestRedirect = "error" | "follow" | "manual";
19874
19787
type ResidentKeyRequirement = "discouraged" | "preferred" | "required";
19875
19788
type ResizeQuality = "high" | "low" | "medium" | "pixelated";
19876
19789
type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
19877
- type ScopedCredentialType = "ScopedCred";
19878
19790
type ScrollBehavior = "auto" | "smooth";
19879
19791
type ScrollLogicalPosition = "center" | "end" | "nearest" | "start";
19880
19792
type ScrollRestoration = "auto" | "manual";
@@ -19888,7 +19800,6 @@ type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "
19888
19800
type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
19889
19801
type TextTrackMode = "disabled" | "hidden" | "showing";
19890
19802
type TouchType = "direct" | "stylus";
19891
- type Transport = "ble" | "nfc" | "usb";
19892
19803
type UserVerificationRequirement = "discouraged" | "preferred" | "required";
19893
19804
type VRDisplayEventReason = "mounted" | "navigation" | "requested" | "unmounted";
19894
19805
type VideoFacingModeEnum = "environment" | "left" | "right" | "user";
0 commit comments