@types/serviceworker 0.0.205 → 0.0.207
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 +56 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +56 -1
- package/ts5.6/index.d.ts +56 -1
- package/ts5.9/index.d.ts +56 -1
package/README.md
CHANGED
|
@@ -30,4 +30,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
30
30
|
|
|
31
31
|
## Deploy Metadata
|
|
32
32
|
|
|
33
|
-
You can read what changed in version 0.0.
|
|
33
|
+
You can read what changed in version 0.0.207 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.207.
|
package/index.d.ts
CHANGED
|
@@ -1294,6 +1294,7 @@ interface WebTransportReceiveStreamStats {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
|
|
1296
1296
|
interface WebTransportSendOptions {
|
|
1297
|
+
sendGroup?: WebTransportSendGroup | null;
|
|
1297
1298
|
sendOrder?: number;
|
|
1298
1299
|
}
|
|
1299
1300
|
|
|
@@ -3675,6 +3676,11 @@ interface EXT_float_blend {
|
|
|
3675
3676
|
interface EXT_frag_depth {
|
|
3676
3677
|
}
|
|
3677
3678
|
|
|
3679
|
+
interface EXT_polygon_offset_clamp {
|
|
3680
|
+
polygonOffsetClampEXT(factor: GLfloat, units: GLfloat, clamp: GLfloat): void;
|
|
3681
|
+
readonly POLYGON_OFFSET_CLAMP_EXT: 0x8E1B;
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3678
3684
|
/**
|
|
3679
3685
|
* The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
|
|
3680
3686
|
*
|
|
@@ -7108,6 +7114,12 @@ interface Notification extends EventTarget {
|
|
|
7108
7114
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
7109
7115
|
*/
|
|
7110
7116
|
readonly lang: string;
|
|
7117
|
+
/**
|
|
7118
|
+
* The **`navigate`** read-only property of the Notification interface contains the URL the user agent will navigate to when the user activates the notification.
|
|
7119
|
+
*
|
|
7120
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/navigate)
|
|
7121
|
+
*/
|
|
7122
|
+
readonly navigate: string;
|
|
7111
7123
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */
|
|
7112
7124
|
onclick: ((this: Notification, ev: Event) => any) | null;
|
|
7113
7125
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/close_event) */
|
|
@@ -12402,6 +12414,8 @@ interface WebTransport {
|
|
|
12402
12414
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)
|
|
12403
12415
|
*/
|
|
12404
12416
|
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
12417
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/draining) */
|
|
12418
|
+
readonly draining: Promise<void>;
|
|
12405
12419
|
/**
|
|
12406
12420
|
* The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server. Returns a ReadableStream of WebTransportBidirectionalStream objects. Each one can be used to reliably read data from the server and write data back to it.
|
|
12407
12421
|
*
|
|
@@ -12414,6 +12428,7 @@ interface WebTransport {
|
|
|
12414
12428
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)
|
|
12415
12429
|
*/
|
|
12416
12430
|
readonly incomingUnidirectionalStreams: ReadableStream;
|
|
12431
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/protocol) */
|
|
12417
12432
|
readonly protocol: string;
|
|
12418
12433
|
/**
|
|
12419
12434
|
* The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.
|
|
@@ -12439,6 +12454,8 @@ interface WebTransport {
|
|
|
12439
12454
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)
|
|
12440
12455
|
*/
|
|
12441
12456
|
createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;
|
|
12457
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createSendGroup) */
|
|
12458
|
+
createSendGroup(): WebTransportSendGroup;
|
|
12442
12459
|
/**
|
|
12443
12460
|
* The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.
|
|
12444
12461
|
*
|
|
@@ -12456,6 +12473,8 @@ interface WebTransport {
|
|
|
12456
12473
|
declare var WebTransport: {
|
|
12457
12474
|
prototype: WebTransport;
|
|
12458
12475
|
new(url: string | URL, options?: WebTransportOptions): WebTransport;
|
|
12476
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/supportsReliableOnly_static) */
|
|
12477
|
+
readonly supportsReliableOnly: boolean;
|
|
12459
12478
|
};
|
|
12460
12479
|
|
|
12461
12480
|
/**
|
|
@@ -12533,6 +12552,8 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12533
12552
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12534
12553
|
*/
|
|
12535
12554
|
readonly writable: WritableStream;
|
|
12555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/createWritable) */
|
|
12556
|
+
createWritable(options?: WebTransportSendOptions): WebTransportDatagramsWritable;
|
|
12536
12557
|
}
|
|
12537
12558
|
|
|
12538
12559
|
declare var WebTransportDatagramDuplexStream: {
|
|
@@ -12540,6 +12561,23 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
12540
12561
|
new(): WebTransportDatagramDuplexStream;
|
|
12541
12562
|
};
|
|
12542
12563
|
|
|
12564
|
+
/**
|
|
12565
|
+
* Available only in secure contexts.
|
|
12566
|
+
*
|
|
12567
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable)
|
|
12568
|
+
*/
|
|
12569
|
+
interface WebTransportDatagramsWritable extends WritableStream {
|
|
12570
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendGroup) */
|
|
12571
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12572
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendOrder) */
|
|
12573
|
+
sendOrder: number;
|
|
12574
|
+
}
|
|
12575
|
+
|
|
12576
|
+
declare var WebTransportDatagramsWritable: {
|
|
12577
|
+
prototype: WebTransportDatagramsWritable;
|
|
12578
|
+
new(): WebTransportDatagramsWritable;
|
|
12579
|
+
};
|
|
12580
|
+
|
|
12543
12581
|
/**
|
|
12544
12582
|
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
|
12545
12583
|
* Available only in secure contexts.
|
|
@@ -12586,6 +12624,21 @@ declare var WebTransportReceiveStream: {
|
|
|
12586
12624
|
new(): WebTransportReceiveStream;
|
|
12587
12625
|
};
|
|
12588
12626
|
|
|
12627
|
+
/**
|
|
12628
|
+
* Available only in secure contexts.
|
|
12629
|
+
*
|
|
12630
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup)
|
|
12631
|
+
*/
|
|
12632
|
+
interface WebTransportSendGroup {
|
|
12633
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup/getStats) */
|
|
12634
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
12635
|
+
}
|
|
12636
|
+
|
|
12637
|
+
declare var WebTransportSendGroup: {
|
|
12638
|
+
prototype: WebTransportSendGroup;
|
|
12639
|
+
new(): WebTransportSendGroup;
|
|
12640
|
+
};
|
|
12641
|
+
|
|
12589
12642
|
/**
|
|
12590
12643
|
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
12591
12644
|
* Available only in secure contexts.
|
|
@@ -12593,6 +12646,8 @@ declare var WebTransportReceiveStream: {
|
|
|
12593
12646
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
12594
12647
|
*/
|
|
12595
12648
|
interface WebTransportSendStream extends WritableStream {
|
|
12649
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/sendGroup) */
|
|
12650
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12596
12651
|
/**
|
|
12597
12652
|
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
12598
12653
|
*
|
|
@@ -13724,7 +13779,7 @@ type RequestInfo = Request | string;
|
|
|
13724
13779
|
type RouterSource = RouterSourceDict | RouterSourceEnum;
|
|
13725
13780
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
13726
13781
|
type TimerHandler = string | Function;
|
|
13727
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
13782
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | WebTransportDatagramsWritable | ArrayBuffer;
|
|
13728
13783
|
type URLPatternCompatible = string | URLPatternInit | URLPattern;
|
|
13729
13784
|
type URLPatternInput = string | URLPatternInit;
|
|
13730
13785
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -1291,6 +1291,7 @@ interface WebTransportReceiveStreamStats {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
interface WebTransportSendOptions {
|
|
1294
|
+
sendGroup?: WebTransportSendGroup | null;
|
|
1294
1295
|
sendOrder?: number;
|
|
1295
1296
|
}
|
|
1296
1297
|
|
|
@@ -3672,6 +3673,11 @@ interface EXT_float_blend {
|
|
|
3672
3673
|
interface EXT_frag_depth {
|
|
3673
3674
|
}
|
|
3674
3675
|
|
|
3676
|
+
interface EXT_polygon_offset_clamp {
|
|
3677
|
+
polygonOffsetClampEXT(factor: GLfloat, units: GLfloat, clamp: GLfloat): void;
|
|
3678
|
+
readonly POLYGON_OFFSET_CLAMP_EXT: 0x8E1B;
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3675
3681
|
/**
|
|
3676
3682
|
* The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
|
|
3677
3683
|
*
|
|
@@ -7105,6 +7111,12 @@ interface Notification extends EventTarget {
|
|
|
7105
7111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
7106
7112
|
*/
|
|
7107
7113
|
readonly lang: string;
|
|
7114
|
+
/**
|
|
7115
|
+
* The **`navigate`** read-only property of the Notification interface contains the URL the user agent will navigate to when the user activates the notification.
|
|
7116
|
+
*
|
|
7117
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/navigate)
|
|
7118
|
+
*/
|
|
7119
|
+
readonly navigate: string;
|
|
7108
7120
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */
|
|
7109
7121
|
onclick: ((this: Notification, ev: Event) => any) | null;
|
|
7110
7122
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/close_event) */
|
|
@@ -12399,6 +12411,8 @@ interface WebTransport {
|
|
|
12399
12411
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)
|
|
12400
12412
|
*/
|
|
12401
12413
|
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
12414
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/draining) */
|
|
12415
|
+
readonly draining: Promise<void>;
|
|
12402
12416
|
/**
|
|
12403
12417
|
* The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server. Returns a ReadableStream of WebTransportBidirectionalStream objects. Each one can be used to reliably read data from the server and write data back to it.
|
|
12404
12418
|
*
|
|
@@ -12411,6 +12425,7 @@ interface WebTransport {
|
|
|
12411
12425
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)
|
|
12412
12426
|
*/
|
|
12413
12427
|
readonly incomingUnidirectionalStreams: ReadableStream;
|
|
12428
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/protocol) */
|
|
12414
12429
|
readonly protocol: string;
|
|
12415
12430
|
/**
|
|
12416
12431
|
* The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.
|
|
@@ -12436,6 +12451,8 @@ interface WebTransport {
|
|
|
12436
12451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)
|
|
12437
12452
|
*/
|
|
12438
12453
|
createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;
|
|
12454
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createSendGroup) */
|
|
12455
|
+
createSendGroup(): WebTransportSendGroup;
|
|
12439
12456
|
/**
|
|
12440
12457
|
* The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.
|
|
12441
12458
|
*
|
|
@@ -12453,6 +12470,8 @@ interface WebTransport {
|
|
|
12453
12470
|
declare var WebTransport: {
|
|
12454
12471
|
prototype: WebTransport;
|
|
12455
12472
|
new(url: string | URL, options?: WebTransportOptions): WebTransport;
|
|
12473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/supportsReliableOnly_static) */
|
|
12474
|
+
readonly supportsReliableOnly: boolean;
|
|
12456
12475
|
};
|
|
12457
12476
|
|
|
12458
12477
|
/**
|
|
@@ -12530,6 +12549,8 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12530
12549
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12531
12550
|
*/
|
|
12532
12551
|
readonly writable: WritableStream;
|
|
12552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/createWritable) */
|
|
12553
|
+
createWritable(options?: WebTransportSendOptions): WebTransportDatagramsWritable;
|
|
12533
12554
|
}
|
|
12534
12555
|
|
|
12535
12556
|
declare var WebTransportDatagramDuplexStream: {
|
|
@@ -12537,6 +12558,23 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
12537
12558
|
new(): WebTransportDatagramDuplexStream;
|
|
12538
12559
|
};
|
|
12539
12560
|
|
|
12561
|
+
/**
|
|
12562
|
+
* Available only in secure contexts.
|
|
12563
|
+
*
|
|
12564
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable)
|
|
12565
|
+
*/
|
|
12566
|
+
interface WebTransportDatagramsWritable extends WritableStream {
|
|
12567
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendGroup) */
|
|
12568
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12569
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendOrder) */
|
|
12570
|
+
sendOrder: number;
|
|
12571
|
+
}
|
|
12572
|
+
|
|
12573
|
+
declare var WebTransportDatagramsWritable: {
|
|
12574
|
+
prototype: WebTransportDatagramsWritable;
|
|
12575
|
+
new(): WebTransportDatagramsWritable;
|
|
12576
|
+
};
|
|
12577
|
+
|
|
12540
12578
|
/**
|
|
12541
12579
|
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
|
12542
12580
|
* Available only in secure contexts.
|
|
@@ -12583,6 +12621,21 @@ declare var WebTransportReceiveStream: {
|
|
|
12583
12621
|
new(): WebTransportReceiveStream;
|
|
12584
12622
|
};
|
|
12585
12623
|
|
|
12624
|
+
/**
|
|
12625
|
+
* Available only in secure contexts.
|
|
12626
|
+
*
|
|
12627
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup)
|
|
12628
|
+
*/
|
|
12629
|
+
interface WebTransportSendGroup {
|
|
12630
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup/getStats) */
|
|
12631
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
12632
|
+
}
|
|
12633
|
+
|
|
12634
|
+
declare var WebTransportSendGroup: {
|
|
12635
|
+
prototype: WebTransportSendGroup;
|
|
12636
|
+
new(): WebTransportSendGroup;
|
|
12637
|
+
};
|
|
12638
|
+
|
|
12586
12639
|
/**
|
|
12587
12640
|
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
12588
12641
|
* Available only in secure contexts.
|
|
@@ -12590,6 +12643,8 @@ declare var WebTransportReceiveStream: {
|
|
|
12590
12643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
12591
12644
|
*/
|
|
12592
12645
|
interface WebTransportSendStream extends WritableStream {
|
|
12646
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/sendGroup) */
|
|
12647
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12593
12648
|
/**
|
|
12594
12649
|
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
12595
12650
|
*
|
|
@@ -13721,7 +13776,7 @@ type RequestInfo = Request | string;
|
|
|
13721
13776
|
type RouterSource = RouterSourceDict | RouterSourceEnum;
|
|
13722
13777
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
13723
13778
|
type TimerHandler = string | Function;
|
|
13724
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
13779
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | WebTransportDatagramsWritable | ArrayBuffer;
|
|
13725
13780
|
type URLPatternCompatible = string | URLPatternInit | URLPattern;
|
|
13726
13781
|
type URLPatternInput = string | URLPatternInit;
|
|
13727
13782
|
type Uint32List = Uint32Array | GLuint[];
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -1291,6 +1291,7 @@ interface WebTransportReceiveStreamStats {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
interface WebTransportSendOptions {
|
|
1294
|
+
sendGroup?: WebTransportSendGroup | null;
|
|
1294
1295
|
sendOrder?: number;
|
|
1295
1296
|
}
|
|
1296
1297
|
|
|
@@ -3672,6 +3673,11 @@ interface EXT_float_blend {
|
|
|
3672
3673
|
interface EXT_frag_depth {
|
|
3673
3674
|
}
|
|
3674
3675
|
|
|
3676
|
+
interface EXT_polygon_offset_clamp {
|
|
3677
|
+
polygonOffsetClampEXT(factor: GLfloat, units: GLfloat, clamp: GLfloat): void;
|
|
3678
|
+
readonly POLYGON_OFFSET_CLAMP_EXT: 0x8E1B;
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3675
3681
|
/**
|
|
3676
3682
|
* The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
|
|
3677
3683
|
*
|
|
@@ -7105,6 +7111,12 @@ interface Notification extends EventTarget {
|
|
|
7105
7111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
7106
7112
|
*/
|
|
7107
7113
|
readonly lang: string;
|
|
7114
|
+
/**
|
|
7115
|
+
* The **`navigate`** read-only property of the Notification interface contains the URL the user agent will navigate to when the user activates the notification.
|
|
7116
|
+
*
|
|
7117
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/navigate)
|
|
7118
|
+
*/
|
|
7119
|
+
readonly navigate: string;
|
|
7108
7120
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */
|
|
7109
7121
|
onclick: ((this: Notification, ev: Event) => any) | null;
|
|
7110
7122
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/close_event) */
|
|
@@ -12399,6 +12411,8 @@ interface WebTransport {
|
|
|
12399
12411
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)
|
|
12400
12412
|
*/
|
|
12401
12413
|
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
12414
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/draining) */
|
|
12415
|
+
readonly draining: Promise<void>;
|
|
12402
12416
|
/**
|
|
12403
12417
|
* The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server. Returns a ReadableStream of WebTransportBidirectionalStream objects. Each one can be used to reliably read data from the server and write data back to it.
|
|
12404
12418
|
*
|
|
@@ -12411,6 +12425,7 @@ interface WebTransport {
|
|
|
12411
12425
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)
|
|
12412
12426
|
*/
|
|
12413
12427
|
readonly incomingUnidirectionalStreams: ReadableStream;
|
|
12428
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/protocol) */
|
|
12414
12429
|
readonly protocol: string;
|
|
12415
12430
|
/**
|
|
12416
12431
|
* The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.
|
|
@@ -12436,6 +12451,8 @@ interface WebTransport {
|
|
|
12436
12451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)
|
|
12437
12452
|
*/
|
|
12438
12453
|
createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;
|
|
12454
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createSendGroup) */
|
|
12455
|
+
createSendGroup(): WebTransportSendGroup;
|
|
12439
12456
|
/**
|
|
12440
12457
|
* The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.
|
|
12441
12458
|
*
|
|
@@ -12453,6 +12470,8 @@ interface WebTransport {
|
|
|
12453
12470
|
declare var WebTransport: {
|
|
12454
12471
|
prototype: WebTransport;
|
|
12455
12472
|
new(url: string | URL, options?: WebTransportOptions): WebTransport;
|
|
12473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/supportsReliableOnly_static) */
|
|
12474
|
+
readonly supportsReliableOnly: boolean;
|
|
12456
12475
|
};
|
|
12457
12476
|
|
|
12458
12477
|
/**
|
|
@@ -12530,6 +12549,8 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12530
12549
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12531
12550
|
*/
|
|
12532
12551
|
readonly writable: WritableStream;
|
|
12552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/createWritable) */
|
|
12553
|
+
createWritable(options?: WebTransportSendOptions): WebTransportDatagramsWritable;
|
|
12533
12554
|
}
|
|
12534
12555
|
|
|
12535
12556
|
declare var WebTransportDatagramDuplexStream: {
|
|
@@ -12537,6 +12558,23 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
12537
12558
|
new(): WebTransportDatagramDuplexStream;
|
|
12538
12559
|
};
|
|
12539
12560
|
|
|
12561
|
+
/**
|
|
12562
|
+
* Available only in secure contexts.
|
|
12563
|
+
*
|
|
12564
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable)
|
|
12565
|
+
*/
|
|
12566
|
+
interface WebTransportDatagramsWritable extends WritableStream {
|
|
12567
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendGroup) */
|
|
12568
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12569
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendOrder) */
|
|
12570
|
+
sendOrder: number;
|
|
12571
|
+
}
|
|
12572
|
+
|
|
12573
|
+
declare var WebTransportDatagramsWritable: {
|
|
12574
|
+
prototype: WebTransportDatagramsWritable;
|
|
12575
|
+
new(): WebTransportDatagramsWritable;
|
|
12576
|
+
};
|
|
12577
|
+
|
|
12540
12578
|
/**
|
|
12541
12579
|
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
|
12542
12580
|
* Available only in secure contexts.
|
|
@@ -12583,6 +12621,21 @@ declare var WebTransportReceiveStream: {
|
|
|
12583
12621
|
new(): WebTransportReceiveStream;
|
|
12584
12622
|
};
|
|
12585
12623
|
|
|
12624
|
+
/**
|
|
12625
|
+
* Available only in secure contexts.
|
|
12626
|
+
*
|
|
12627
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup)
|
|
12628
|
+
*/
|
|
12629
|
+
interface WebTransportSendGroup {
|
|
12630
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup/getStats) */
|
|
12631
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
12632
|
+
}
|
|
12633
|
+
|
|
12634
|
+
declare var WebTransportSendGroup: {
|
|
12635
|
+
prototype: WebTransportSendGroup;
|
|
12636
|
+
new(): WebTransportSendGroup;
|
|
12637
|
+
};
|
|
12638
|
+
|
|
12586
12639
|
/**
|
|
12587
12640
|
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
12588
12641
|
* Available only in secure contexts.
|
|
@@ -12590,6 +12643,8 @@ declare var WebTransportReceiveStream: {
|
|
|
12590
12643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
12591
12644
|
*/
|
|
12592
12645
|
interface WebTransportSendStream extends WritableStream {
|
|
12646
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/sendGroup) */
|
|
12647
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12593
12648
|
/**
|
|
12594
12649
|
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
12595
12650
|
*
|
|
@@ -13721,7 +13776,7 @@ type RequestInfo = Request | string;
|
|
|
13721
13776
|
type RouterSource = RouterSourceDict | RouterSourceEnum;
|
|
13722
13777
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
13723
13778
|
type TimerHandler = string | Function;
|
|
13724
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
13779
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | WebTransportDatagramsWritable | ArrayBuffer;
|
|
13725
13780
|
type URLPatternCompatible = string | URLPatternInit | URLPattern;
|
|
13726
13781
|
type URLPatternInput = string | URLPatternInit;
|
|
13727
13782
|
type Uint32List = Uint32Array | GLuint[];
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -1291,6 +1291,7 @@ interface WebTransportReceiveStreamStats {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
interface WebTransportSendOptions {
|
|
1294
|
+
sendGroup?: WebTransportSendGroup | null;
|
|
1294
1295
|
sendOrder?: number;
|
|
1295
1296
|
}
|
|
1296
1297
|
|
|
@@ -3672,6 +3673,11 @@ interface EXT_float_blend {
|
|
|
3672
3673
|
interface EXT_frag_depth {
|
|
3673
3674
|
}
|
|
3674
3675
|
|
|
3676
|
+
interface EXT_polygon_offset_clamp {
|
|
3677
|
+
polygonOffsetClampEXT(factor: GLfloat, units: GLfloat, clamp: GLfloat): void;
|
|
3678
|
+
readonly POLYGON_OFFSET_CLAMP_EXT: 0x8E1B;
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3675
3681
|
/**
|
|
3676
3682
|
* The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
|
|
3677
3683
|
*
|
|
@@ -7105,6 +7111,12 @@ interface Notification extends EventTarget {
|
|
|
7105
7111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
7106
7112
|
*/
|
|
7107
7113
|
readonly lang: string;
|
|
7114
|
+
/**
|
|
7115
|
+
* The **`navigate`** read-only property of the Notification interface contains the URL the user agent will navigate to when the user activates the notification.
|
|
7116
|
+
*
|
|
7117
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/navigate)
|
|
7118
|
+
*/
|
|
7119
|
+
readonly navigate: string;
|
|
7108
7120
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */
|
|
7109
7121
|
onclick: ((this: Notification, ev: Event) => any) | null;
|
|
7110
7122
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/close_event) */
|
|
@@ -12399,6 +12411,8 @@ interface WebTransport {
|
|
|
12399
12411
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)
|
|
12400
12412
|
*/
|
|
12401
12413
|
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
12414
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/draining) */
|
|
12415
|
+
readonly draining: Promise<void>;
|
|
12402
12416
|
/**
|
|
12403
12417
|
* The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server. Returns a ReadableStream of WebTransportBidirectionalStream objects. Each one can be used to reliably read data from the server and write data back to it.
|
|
12404
12418
|
*
|
|
@@ -12411,6 +12425,7 @@ interface WebTransport {
|
|
|
12411
12425
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)
|
|
12412
12426
|
*/
|
|
12413
12427
|
readonly incomingUnidirectionalStreams: ReadableStream;
|
|
12428
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/protocol) */
|
|
12414
12429
|
readonly protocol: string;
|
|
12415
12430
|
/**
|
|
12416
12431
|
* The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.
|
|
@@ -12436,6 +12451,8 @@ interface WebTransport {
|
|
|
12436
12451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)
|
|
12437
12452
|
*/
|
|
12438
12453
|
createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;
|
|
12454
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createSendGroup) */
|
|
12455
|
+
createSendGroup(): WebTransportSendGroup;
|
|
12439
12456
|
/**
|
|
12440
12457
|
* The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.
|
|
12441
12458
|
*
|
|
@@ -12453,6 +12470,8 @@ interface WebTransport {
|
|
|
12453
12470
|
declare var WebTransport: {
|
|
12454
12471
|
prototype: WebTransport;
|
|
12455
12472
|
new(url: string | URL, options?: WebTransportOptions): WebTransport;
|
|
12473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/supportsReliableOnly_static) */
|
|
12474
|
+
readonly supportsReliableOnly: boolean;
|
|
12456
12475
|
};
|
|
12457
12476
|
|
|
12458
12477
|
/**
|
|
@@ -12530,6 +12549,8 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12530
12549
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12531
12550
|
*/
|
|
12532
12551
|
readonly writable: WritableStream;
|
|
12552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/createWritable) */
|
|
12553
|
+
createWritable(options?: WebTransportSendOptions): WebTransportDatagramsWritable;
|
|
12533
12554
|
}
|
|
12534
12555
|
|
|
12535
12556
|
declare var WebTransportDatagramDuplexStream: {
|
|
@@ -12537,6 +12558,23 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
12537
12558
|
new(): WebTransportDatagramDuplexStream;
|
|
12538
12559
|
};
|
|
12539
12560
|
|
|
12561
|
+
/**
|
|
12562
|
+
* Available only in secure contexts.
|
|
12563
|
+
*
|
|
12564
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable)
|
|
12565
|
+
*/
|
|
12566
|
+
interface WebTransportDatagramsWritable extends WritableStream {
|
|
12567
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendGroup) */
|
|
12568
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12569
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendOrder) */
|
|
12570
|
+
sendOrder: number;
|
|
12571
|
+
}
|
|
12572
|
+
|
|
12573
|
+
declare var WebTransportDatagramsWritable: {
|
|
12574
|
+
prototype: WebTransportDatagramsWritable;
|
|
12575
|
+
new(): WebTransportDatagramsWritable;
|
|
12576
|
+
};
|
|
12577
|
+
|
|
12540
12578
|
/**
|
|
12541
12579
|
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
|
12542
12580
|
* Available only in secure contexts.
|
|
@@ -12583,6 +12621,21 @@ declare var WebTransportReceiveStream: {
|
|
|
12583
12621
|
new(): WebTransportReceiveStream;
|
|
12584
12622
|
};
|
|
12585
12623
|
|
|
12624
|
+
/**
|
|
12625
|
+
* Available only in secure contexts.
|
|
12626
|
+
*
|
|
12627
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup)
|
|
12628
|
+
*/
|
|
12629
|
+
interface WebTransportSendGroup {
|
|
12630
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup/getStats) */
|
|
12631
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
12632
|
+
}
|
|
12633
|
+
|
|
12634
|
+
declare var WebTransportSendGroup: {
|
|
12635
|
+
prototype: WebTransportSendGroup;
|
|
12636
|
+
new(): WebTransportSendGroup;
|
|
12637
|
+
};
|
|
12638
|
+
|
|
12586
12639
|
/**
|
|
12587
12640
|
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
12588
12641
|
* Available only in secure contexts.
|
|
@@ -12590,6 +12643,8 @@ declare var WebTransportReceiveStream: {
|
|
|
12590
12643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
12591
12644
|
*/
|
|
12592
12645
|
interface WebTransportSendStream extends WritableStream {
|
|
12646
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/sendGroup) */
|
|
12647
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12593
12648
|
/**
|
|
12594
12649
|
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
12595
12650
|
*
|
|
@@ -13721,7 +13776,7 @@ type RequestInfo = Request | string;
|
|
|
13721
13776
|
type RouterSource = RouterSourceDict | RouterSourceEnum;
|
|
13722
13777
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
13723
13778
|
type TimerHandler = string | Function;
|
|
13724
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
13779
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | WebTransportDatagramsWritable | ArrayBuffer;
|
|
13725
13780
|
type URLPatternCompatible = string | URLPatternInit | URLPattern;
|
|
13726
13781
|
type URLPatternInput = string | URLPatternInit;
|
|
13727
13782
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|