@types/serviceworker 0.0.189 → 0.0.191

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 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.189 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.189.
31
+ You can read what changed in version 0.0.191 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.191.
package/index.d.ts CHANGED
@@ -285,12 +285,43 @@ interface GPUBindGroupEntry {
285
285
  resource: GPUBindingResource;
286
286
  }
287
287
 
288
+ interface GPUBindGroupLayoutDescriptor extends GPUObjectDescriptorBase {
289
+ entries: GPUBindGroupLayoutEntry[];
290
+ }
291
+
292
+ interface GPUBindGroupLayoutEntry {
293
+ binding: GPUIndex32;
294
+ buffer?: GPUBufferBindingLayout;
295
+ externalTexture?: GPUExternalTextureBindingLayout;
296
+ sampler?: GPUSamplerBindingLayout;
297
+ storageTexture?: GPUStorageTextureBindingLayout;
298
+ texture?: GPUTextureBindingLayout;
299
+ visibility: GPUShaderStageFlags;
300
+ }
301
+
302
+ interface GPUBlendComponent {
303
+ dstFactor?: GPUBlendFactor;
304
+ operation?: GPUBlendOperation;
305
+ srcFactor?: GPUBlendFactor;
306
+ }
307
+
308
+ interface GPUBlendState {
309
+ alpha: GPUBlendComponent;
310
+ color: GPUBlendComponent;
311
+ }
312
+
288
313
  interface GPUBufferBinding {
289
314
  buffer: GPUBuffer;
290
315
  offset?: GPUSize64;
291
316
  size?: GPUSize64;
292
317
  }
293
318
 
319
+ interface GPUBufferBindingLayout {
320
+ hasDynamicOffset?: boolean;
321
+ minBindingSize?: GPUSize64;
322
+ type?: GPUBufferBindingType;
323
+ }
324
+
294
325
  interface GPUBufferDescriptor extends GPUObjectDescriptorBase {
295
326
  mappedAtCreation?: boolean;
296
327
  size: GPUSize64;
@@ -318,6 +349,12 @@ interface GPUColorDict {
318
349
  r: number;
319
350
  }
320
351
 
352
+ interface GPUColorTargetState {
353
+ blend?: GPUBlendState;
354
+ format: GPUTextureFormat;
355
+ writeMask?: GPUColorWriteFlags;
356
+ }
357
+
321
358
  interface GPUCommandBufferDescriptor extends GPUObjectDescriptorBase {
322
359
  }
323
360
 
@@ -349,16 +386,48 @@ interface GPUCopyExternalImageSourceInfo {
349
386
  source: GPUCopyExternalImageSource;
350
387
  }
351
388
 
389
+ interface GPUDepthStencilState {
390
+ depthBias?: GPUDepthBias;
391
+ depthBiasClamp?: number;
392
+ depthBiasSlopeScale?: number;
393
+ depthCompare?: GPUCompareFunction;
394
+ depthWriteEnabled?: boolean;
395
+ format: GPUTextureFormat;
396
+ stencilBack?: GPUStencilFaceState;
397
+ stencilFront?: GPUStencilFaceState;
398
+ stencilReadMask?: GPUStencilValue;
399
+ stencilWriteMask?: GPUStencilValue;
400
+ }
401
+
402
+ interface GPUDeviceDescriptor extends GPUObjectDescriptorBase {
403
+ defaultQueue?: GPUQueueDescriptor;
404
+ requiredFeatures?: GPUFeatureName[];
405
+ requiredLimits?: Record<string, GPUSize64 | undefined>;
406
+ }
407
+
352
408
  interface GPUExtent3DDict {
353
409
  depthOrArrayLayers?: GPUIntegerCoordinate;
354
410
  height?: GPUIntegerCoordinate;
355
411
  width: GPUIntegerCoordinate;
356
412
  }
357
413
 
414
+ interface GPUExternalTextureBindingLayout {
415
+ }
416
+
358
417
  interface GPUExternalTextureDescriptor extends GPUObjectDescriptorBase {
359
418
  colorSpace?: PredefinedColorSpace;
360
419
  }
361
420
 
421
+ interface GPUFragmentState extends GPUProgrammableStage {
422
+ targets: (GPUColorTargetState | null)[];
423
+ }
424
+
425
+ interface GPUMultisampleState {
426
+ alphaToCoverageEnabled?: boolean;
427
+ count?: GPUSize32;
428
+ mask?: GPUSampleMask;
429
+ }
430
+
362
431
  interface GPUObjectDescriptorBase {
363
432
  label?: string;
364
433
  }
@@ -386,6 +455,14 @@ interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase {
386
455
  bindGroupLayouts: (GPUBindGroupLayout | null)[];
387
456
  }
388
457
 
458
+ interface GPUPrimitiveState {
459
+ cullMode?: GPUCullMode;
460
+ frontFace?: GPUFrontFace;
461
+ stripIndexFormat?: GPUIndexFormat;
462
+ topology?: GPUPrimitiveTopology;
463
+ unclippedDepth?: boolean;
464
+ }
465
+
389
466
  interface GPUProgrammableStage {
390
467
  constants?: Record<string, GPUPipelineConstantValue>;
391
468
  entryPoint?: string;
@@ -397,6 +474,9 @@ interface GPUQuerySetDescriptor extends GPUObjectDescriptorBase {
397
474
  type: GPUQueryType;
398
475
  }
399
476
 
477
+ interface GPUQueueDescriptor extends GPUObjectDescriptorBase {
478
+ }
479
+
400
480
  interface GPURenderBundleDescriptor extends GPUObjectDescriptorBase {
401
481
  }
402
482
 
@@ -446,6 +526,23 @@ interface GPURenderPassTimestampWrites {
446
526
  querySet: GPUQuerySet;
447
527
  }
448
528
 
529
+ interface GPURenderPipelineDescriptor extends GPUPipelineDescriptorBase {
530
+ depthStencil?: GPUDepthStencilState;
531
+ fragment?: GPUFragmentState;
532
+ multisample?: GPUMultisampleState;
533
+ primitive?: GPUPrimitiveState;
534
+ vertex: GPUVertexState;
535
+ }
536
+
537
+ interface GPURequestAdapterOptions {
538
+ forceFallbackAdapter?: boolean;
539
+ powerPreference?: GPUPowerPreference;
540
+ }
541
+
542
+ interface GPUSamplerBindingLayout {
543
+ type?: GPUSamplerBindingType;
544
+ }
545
+
449
546
  interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
450
547
  addressModeU?: GPUAddressMode;
451
548
  addressModeV?: GPUAddressMode;
@@ -463,6 +560,19 @@ interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
463
560
  code: string;
464
561
  }
465
562
 
563
+ interface GPUStencilFaceState {
564
+ compare?: GPUCompareFunction;
565
+ depthFailOp?: GPUStencilOperation;
566
+ failOp?: GPUStencilOperation;
567
+ passOp?: GPUStencilOperation;
568
+ }
569
+
570
+ interface GPUStorageTextureBindingLayout {
571
+ access?: GPUStorageTextureAccess;
572
+ format: GPUTextureFormat;
573
+ viewDimension?: GPUTextureViewDimension;
574
+ }
575
+
466
576
  interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
467
577
  buffer: GPUBuffer;
468
578
  }
@@ -480,6 +590,12 @@ interface GPUTexelCopyTextureInfo {
480
590
  texture: GPUTexture;
481
591
  }
482
592
 
593
+ interface GPUTextureBindingLayout {
594
+ multisampled?: boolean;
595
+ sampleType?: GPUTextureSampleType;
596
+ viewDimension?: GPUTextureViewDimension;
597
+ }
598
+
483
599
  interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
484
600
  dimension?: GPUTextureDimension;
485
601
  format: GPUTextureFormat;
@@ -505,6 +621,22 @@ interface GPUUncapturedErrorEventInit extends EventInit {
505
621
  error: GPUError;
506
622
  }
507
623
 
624
+ interface GPUVertexAttribute {
625
+ format: GPUVertexFormat;
626
+ offset: GPUSize64;
627
+ shaderLocation: GPUIndex32;
628
+ }
629
+
630
+ interface GPUVertexBufferLayout {
631
+ arrayStride: GPUSize64;
632
+ attributes: GPUVertexAttribute[];
633
+ stepMode?: GPUVertexStepMode;
634
+ }
635
+
636
+ interface GPUVertexState extends GPUProgrammableStage {
637
+ buffers?: (GPUVertexBufferLayout | null)[];
638
+ }
639
+
508
640
  interface GetNotificationOptions {
509
641
  tag?: string;
510
642
  }
@@ -4407,6 +4539,76 @@ declare var FormData: {
4407
4539
  new(): FormData;
4408
4540
  };
4409
4541
 
4542
+ /**
4543
+ * The **`GPU`** interface of the WebGPU API is the starting point for using WebGPU. It can be used to return a GPUAdapter from which you can request devices, configure features and limits, and more.
4544
+ * Available only in secure contexts.
4545
+ *
4546
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU)
4547
+ */
4548
+ interface GPU {
4549
+ /**
4550
+ * The **`wgslLanguageFeatures`** read-only property of the GPU interface returns a WGSLLanguageFeatures object that reports the WGSL language extensions supported by the WebGPU implementation.
4551
+ *
4552
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/wgslLanguageFeatures)
4553
+ */
4554
+ readonly wgslLanguageFeatures: WGSLLanguageFeatures;
4555
+ /**
4556
+ * The **`getPreferredCanvasFormat()`** method of the GPU interface returns the optimal canvas texture format for displaying 8-bit depth, standard dynamic range content on the current system.
4557
+ *
4558
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/getPreferredCanvasFormat)
4559
+ */
4560
+ getPreferredCanvasFormat(): GPUTextureFormat;
4561
+ /**
4562
+ * The **`requestAdapter()`** method of the GPU interface returns a Promise that fulfills with a GPUAdapter object instance. From this you can request a GPUDevice, adapter info, features, and limits.
4563
+ *
4564
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/requestAdapter)
4565
+ */
4566
+ requestAdapter(options?: GPURequestAdapterOptions): Promise<GPUAdapter | null>;
4567
+ }
4568
+
4569
+ declare var GPU: {
4570
+ prototype: GPU;
4571
+ new(): GPU;
4572
+ };
4573
+
4574
+ /**
4575
+ * The **`GPUAdapter`** interface of the WebGPU API represents a GPU adapter. From this you can request a GPUDevice, adapter info, features, and limits.
4576
+ * Available only in secure contexts.
4577
+ *
4578
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter)
4579
+ */
4580
+ interface GPUAdapter {
4581
+ /**
4582
+ * The **`features`** read-only property of the GPUAdapter interface returns a GPUSupportedFeatures object that describes additional functionality supported by the adapter.
4583
+ *
4584
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/features)
4585
+ */
4586
+ readonly features: GPUSupportedFeatures;
4587
+ /**
4588
+ * The **`info`** read-only property of the GPUAdapter interface returns a GPUAdapterInfo object containing identifying information about the adapter.
4589
+ *
4590
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/info)
4591
+ */
4592
+ readonly info: GPUAdapterInfo;
4593
+ /**
4594
+ * The **`limits`** read-only property of the GPUAdapter interface returns a GPUSupportedLimits object that describes the limits supported by the adapter.
4595
+ *
4596
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/limits)
4597
+ */
4598
+ readonly limits: GPUSupportedLimits;
4599
+ /**
4600
+ * The **`requestDevice()`** method of the GPUAdapter interface returns a Promise that fulfills with a GPUDevice object, which is the primary interface for communicating with the GPU.
4601
+ *
4602
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/requestDevice)
4603
+ */
4604
+ requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
4605
+ }
4606
+
4607
+ declare var GPUAdapter: {
4608
+ prototype: GPUAdapter;
4609
+ new(): GPUAdapter;
4610
+ };
4611
+
4410
4612
  /**
4411
4613
  * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
4412
4614
  * Available only in secure contexts.
@@ -4860,6 +5062,12 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
4860
5062
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroup)
4861
5063
  */
4862
5064
  createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup;
5065
+ /**
5066
+ * The **`createBindGroupLayout()`** method of the GPUDevice interface creates a GPUBindGroupLayout that defines the structure and purpose of related GPU resources such as buffers that will be used in a pipeline, and is used as a template when creating GPUBindGroups.
5067
+ *
5068
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroupLayout)
5069
+ */
5070
+ createBindGroupLayout(descriptor: GPUBindGroupLayoutDescriptor): GPUBindGroupLayout;
4863
5071
  /**
4864
5072
  * The **`createBuffer()`** method of the GPUDevice interface creates a GPUBuffer in which to store raw data to use in GPU operations.
4865
5073
  *
@@ -4902,6 +5110,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
4902
5110
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderBundleEncoder)
4903
5111
  */
4904
5112
  createRenderBundleEncoder(descriptor: GPURenderBundleEncoderDescriptor): GPURenderBundleEncoder;
5113
+ /**
5114
+ * The **`createRenderPipeline()`** method of the GPUDevice interface creates a GPURenderPipeline that can control the vertex and fragment shader stages and be used in a GPURenderPassEncoder or GPURenderBundleEncoder.
5115
+ *
5116
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipeline)
5117
+ */
5118
+ createRenderPipeline(descriptor: GPURenderPipelineDescriptor): GPURenderPipeline;
5119
+ /**
5120
+ * The **`createRenderPipelineAsync()`** method of the GPUDevice interface returns a Promise that fulfills with a GPURenderPipeline, which can control the vertex and fragment shader stages and be used in a GPURenderPassEncoder or GPURenderBundleEncoder, once the pipeline can be used without any stalling.
5121
+ *
5122
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipelineAsync)
5123
+ */
5124
+ createRenderPipelineAsync(descriptor: GPURenderPipelineDescriptor): Promise<GPURenderPipeline>;
4905
5125
  /**
4906
5126
  * The **`createSampler()`** method of the GPUDevice interface creates a GPUSampler, which controls how shaders transform and filter texture resource data.
4907
5127
  *
@@ -6352,19 +6572,6 @@ interface ImportMeta {
6352
6572
  resolve(specifier: string): string;
6353
6573
  }
6354
6574
 
6355
- /**
6356
- * The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
6357
- *
6358
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
6359
- */
6360
- interface InstallEvent extends ExtendableEvent {
6361
- }
6362
-
6363
- declare var InstallEvent: {
6364
- prototype: InstallEvent;
6365
- new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
6366
- };
6367
-
6368
6575
  /**
6369
6576
  * The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
6370
6577
  *
@@ -6630,6 +6837,15 @@ interface NavigatorConcurrentHardware {
6630
6837
  readonly hardwareConcurrency: number;
6631
6838
  }
6632
6839
 
6840
+ interface NavigatorGPU {
6841
+ /**
6842
+ * Available only in secure contexts.
6843
+ *
6844
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/gpu)
6845
+ */
6846
+ readonly gpu: GPU;
6847
+ }
6848
+
6633
6849
  interface NavigatorID {
6634
6850
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
6635
6851
  readonly appCodeName: string;
@@ -12306,7 +12522,7 @@ declare var WorkerLocation: {
12306
12522
  *
12307
12523
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator)
12308
12524
  */
12309
- interface WorkerNavigator extends NavigatorBadge, NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorStorage {
12525
+ interface WorkerNavigator extends NavigatorBadge, NavigatorConcurrentHardware, NavigatorGPU, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorStorage {
12310
12526
  /**
12311
12527
  * The read-only **`mediaCapabilities`** property of the WorkerNavigator interface references a MediaCapabilities object that can expose information about the decoding and encoding capabilities for a given format and output capabilities (as defined by the Media Capabilities API).
12312
12528
  *
@@ -13112,7 +13328,9 @@ type GPUBindingResource = GPUSampler | GPUTexture | GPUTextureView | GPUBuffer |
13112
13328
  type GPUBufferDynamicOffset = number;
13113
13329
  type GPUBufferUsageFlags = number;
13114
13330
  type GPUColor = number[] | GPUColorDict;
13331
+ type GPUColorWriteFlags = number;
13115
13332
  type GPUCopyExternalImageSource = ImageBitmap | ImageData | OffscreenCanvas;
13333
+ type GPUDepthBias = number;
13116
13334
  type GPUExtent3D = GPUIntegerCoordinate[] | GPUExtent3DDict;
13117
13335
  type GPUFlagsConstant = number;
13118
13336
  type GPUIndex32 = number;
@@ -13122,6 +13340,8 @@ type GPUMapModeFlags = number;
13122
13340
  type GPUOrigin2D = GPUIntegerCoordinate[] | GPUOrigin2DDict;
13123
13341
  type GPUOrigin3D = GPUIntegerCoordinate[] | GPUOrigin3DDict;
13124
13342
  type GPUPipelineConstantValue = number;
13343
+ type GPUSampleMask = number;
13344
+ type GPUShaderStageFlags = number;
13125
13345
  type GPUSignedOffset32 = number;
13126
13346
  type GPUSize32 = number;
13127
13347
  type GPUSize32Out = number;
@@ -13179,24 +13399,38 @@ type FontFaceSetLoadStatus = "loaded" | "loading";
13179
13399
  type FrameType = "auxiliary" | "nested" | "none" | "top-level";
13180
13400
  type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
13181
13401
  type GPUAutoLayoutMode = "auto";
13402
+ type GPUBlendFactor = "constant" | "dst" | "dst-alpha" | "one" | "one-minus-constant" | "one-minus-dst" | "one-minus-dst-alpha" | "one-minus-src" | "one-minus-src-alpha" | "src" | "src-alpha" | "src-alpha-saturated" | "zero";
13403
+ type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract";
13404
+ type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
13182
13405
  type GPUBufferMapState = "mapped" | "pending" | "unmapped";
13183
13406
  type GPUCanvasAlphaMode = "opaque" | "premultiplied";
13184
13407
  type GPUCanvasToneMappingMode = "extended" | "standard";
13185
13408
  type GPUCompareFunction = "always" | "equal" | "greater" | "greater-equal" | "less" | "less-equal" | "never" | "not-equal";
13186
13409
  type GPUCompilationMessageType = "error" | "info" | "warning";
13410
+ type GPUCullMode = "back" | "front" | "none";
13187
13411
  type GPUDeviceLostReason = "destroyed" | "unknown";
13188
13412
  type GPUErrorFilter = "internal" | "out-of-memory" | "validation";
13413
+ type GPUFeatureName = "bgra8unorm-storage" | "clip-distances" | "core-features-and-limits" | "depth-clip-control" | "depth32float-stencil8" | "dual-source-blending" | "float32-blendable" | "float32-filterable" | "indirect-first-instance" | "primitive-index" | "rg11b10ufloat-renderable" | "shader-f16" | "subgroups" | "texture-compression-astc" | "texture-compression-astc-sliced-3d" | "texture-compression-bc" | "texture-compression-bc-sliced-3d" | "texture-compression-etc2" | "texture-formats-tier1" | "timestamp-query";
13189
13414
  type GPUFilterMode = "linear" | "nearest";
13415
+ type GPUFrontFace = "ccw" | "cw";
13190
13416
  type GPUIndexFormat = "uint16" | "uint32";
13191
13417
  type GPULoadOp = "clear" | "load";
13192
13418
  type GPUMipmapFilterMode = "linear" | "nearest";
13193
13419
  type GPUPipelineErrorReason = "internal" | "validation";
13420
+ type GPUPowerPreference = "high-performance" | "low-power";
13421
+ type GPUPrimitiveTopology = "line-list" | "line-strip" | "point-list" | "triangle-list" | "triangle-strip";
13194
13422
  type GPUQueryType = "occlusion" | "timestamp";
13423
+ type GPUSamplerBindingType = "comparison" | "filtering" | "non-filtering";
13424
+ type GPUStencilOperation = "decrement-clamp" | "decrement-wrap" | "increment-clamp" | "increment-wrap" | "invert" | "keep" | "replace" | "zero";
13425
+ type GPUStorageTextureAccess = "read-only" | "read-write" | "write-only";
13195
13426
  type GPUStoreOp = "discard" | "store";
13196
13427
  type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
13197
13428
  type GPUTextureDimension = "1d" | "2d" | "3d";
13198
13429
  type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
13430
+ type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
13199
13431
  type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
13432
+ type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
13433
+ type GPUVertexStepMode = "instance" | "vertex";
13200
13434
  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";
13201
13435
  type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
13202
13436
  type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.189",
3
+ "version": "0.0.191",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],