@types/serviceworker 0.0.145 → 0.0.146
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 +30 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +30 -0
- package/ts5.6/index.d.ts +30 -0
package/README.md
CHANGED
|
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
28
28
|
|
|
29
29
|
## Deploy Metadata
|
|
30
30
|
|
|
31
|
-
You can read what changed in version 0.0.
|
|
31
|
+
You can read what changed in version 0.0.146 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.146.
|
package/index.d.ts
CHANGED
|
@@ -271,6 +271,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
271
271
|
fontfaces?: FontFace[];
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
+
interface GPUPipelineErrorInit {
|
|
275
|
+
reason: GPUPipelineErrorReason;
|
|
276
|
+
}
|
|
277
|
+
|
|
274
278
|
interface GetNotificationOptions {
|
|
275
279
|
tag?: string;
|
|
276
280
|
}
|
|
@@ -4113,6 +4117,31 @@ interface GPUError {
|
|
|
4113
4117
|
readonly message: string;
|
|
4114
4118
|
}
|
|
4115
4119
|
|
|
4120
|
+
declare var GPUError: {
|
|
4121
|
+
prototype: GPUError;
|
|
4122
|
+
new(): GPUError;
|
|
4123
|
+
};
|
|
4124
|
+
|
|
4125
|
+
/**
|
|
4126
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
4127
|
+
* Available only in secure contexts.
|
|
4128
|
+
*
|
|
4129
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
4130
|
+
*/
|
|
4131
|
+
interface GPUPipelineError extends DOMException {
|
|
4132
|
+
/**
|
|
4133
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
4134
|
+
*
|
|
4135
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
4136
|
+
*/
|
|
4137
|
+
readonly reason: GPUPipelineErrorReason;
|
|
4138
|
+
}
|
|
4139
|
+
|
|
4140
|
+
declare var GPUPipelineError: {
|
|
4141
|
+
prototype: GPUPipelineError;
|
|
4142
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
4143
|
+
};
|
|
4144
|
+
|
|
4116
4145
|
interface GenericTransformStream {
|
|
4117
4146
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
4118
4147
|
readonly readable: ReadableStream;
|
|
@@ -11540,6 +11569,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
11540
11569
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
11541
11570
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
11542
11571
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
11572
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
11543
11573
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
11544
11574
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
11545
11575
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -271,6 +271,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
271
271
|
fontfaces?: FontFace[];
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
+
interface GPUPipelineErrorInit {
|
|
275
|
+
reason: GPUPipelineErrorReason;
|
|
276
|
+
}
|
|
277
|
+
|
|
274
278
|
interface GetNotificationOptions {
|
|
275
279
|
tag?: string;
|
|
276
280
|
}
|
|
@@ -4113,6 +4117,31 @@ interface GPUError {
|
|
|
4113
4117
|
readonly message: string;
|
|
4114
4118
|
}
|
|
4115
4119
|
|
|
4120
|
+
declare var GPUError: {
|
|
4121
|
+
prototype: GPUError;
|
|
4122
|
+
new(): GPUError;
|
|
4123
|
+
};
|
|
4124
|
+
|
|
4125
|
+
/**
|
|
4126
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
4127
|
+
* Available only in secure contexts.
|
|
4128
|
+
*
|
|
4129
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
4130
|
+
*/
|
|
4131
|
+
interface GPUPipelineError extends DOMException {
|
|
4132
|
+
/**
|
|
4133
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
4134
|
+
*
|
|
4135
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
4136
|
+
*/
|
|
4137
|
+
readonly reason: GPUPipelineErrorReason;
|
|
4138
|
+
}
|
|
4139
|
+
|
|
4140
|
+
declare var GPUPipelineError: {
|
|
4141
|
+
prototype: GPUPipelineError;
|
|
4142
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
4143
|
+
};
|
|
4144
|
+
|
|
4116
4145
|
interface GenericTransformStream {
|
|
4117
4146
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
4118
4147
|
readonly readable: ReadableStream;
|
|
@@ -11540,6 +11569,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
11540
11569
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
11541
11570
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
11542
11571
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
11572
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
11543
11573
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
11544
11574
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
11545
11575
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -271,6 +271,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
271
271
|
fontfaces?: FontFace[];
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
+
interface GPUPipelineErrorInit {
|
|
275
|
+
reason: GPUPipelineErrorReason;
|
|
276
|
+
}
|
|
277
|
+
|
|
274
278
|
interface GetNotificationOptions {
|
|
275
279
|
tag?: string;
|
|
276
280
|
}
|
|
@@ -4113,6 +4117,31 @@ interface GPUError {
|
|
|
4113
4117
|
readonly message: string;
|
|
4114
4118
|
}
|
|
4115
4119
|
|
|
4120
|
+
declare var GPUError: {
|
|
4121
|
+
prototype: GPUError;
|
|
4122
|
+
new(): GPUError;
|
|
4123
|
+
};
|
|
4124
|
+
|
|
4125
|
+
/**
|
|
4126
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
4127
|
+
* Available only in secure contexts.
|
|
4128
|
+
*
|
|
4129
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
4130
|
+
*/
|
|
4131
|
+
interface GPUPipelineError extends DOMException {
|
|
4132
|
+
/**
|
|
4133
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
4134
|
+
*
|
|
4135
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
4136
|
+
*/
|
|
4137
|
+
readonly reason: GPUPipelineErrorReason;
|
|
4138
|
+
}
|
|
4139
|
+
|
|
4140
|
+
declare var GPUPipelineError: {
|
|
4141
|
+
prototype: GPUPipelineError;
|
|
4142
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
4143
|
+
};
|
|
4144
|
+
|
|
4116
4145
|
interface GenericTransformStream {
|
|
4117
4146
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
4118
4147
|
readonly readable: ReadableStream;
|
|
@@ -11540,6 +11569,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
11540
11569
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
11541
11570
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
11542
11571
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
11572
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
11543
11573
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
11544
11574
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
11545
11575
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|