@types/web 0.0.324 → 0.0.326

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
@@ -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.324 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.324.
50
+ You can read what changed in version 0.0.326 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.326.
package/index.d.ts CHANGED
@@ -14767,6 +14767,62 @@ declare var FragmentDirective: {
14767
14767
  new(): FragmentDirective;
14768
14768
  };
14769
14769
 
14770
+ /**
14771
+ * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
14772
+ * Available only in secure contexts.
14773
+ *
14774
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
14775
+ */
14776
+ interface GPUAdapterInfo {
14777
+ /**
14778
+ * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available.
14779
+ *
14780
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture)
14781
+ */
14782
+ readonly architecture: string;
14783
+ /**
14784
+ * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available.
14785
+ *
14786
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description)
14787
+ */
14788
+ readonly description: string;
14789
+ /**
14790
+ * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available.
14791
+ *
14792
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device)
14793
+ */
14794
+ readonly device: string;
14795
+ /**
14796
+ * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not.
14797
+ *
14798
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter)
14799
+ */
14800
+ readonly isFallbackAdapter: boolean;
14801
+ /**
14802
+ * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.
14803
+ *
14804
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize)
14805
+ */
14806
+ readonly subgroupMaxSize: number;
14807
+ /**
14808
+ * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.
14809
+ *
14810
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize)
14811
+ */
14812
+ readonly subgroupMinSize: number;
14813
+ /**
14814
+ * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available.
14815
+ *
14816
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor)
14817
+ */
14818
+ readonly vendor: string;
14819
+ }
14820
+
14821
+ declare var GPUAdapterInfo: {
14822
+ prototype: GPUAdapterInfo;
14823
+ new(): GPUAdapterInfo;
14824
+ };
14825
+
14770
14826
  /**
14771
14827
  * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages.
14772
14828
  * Available only in secure contexts.
@@ -29266,6 +29322,7 @@ interface Range extends AbstractRange {
29266
29322
  deleteContents(): void;
29267
29323
  /**
29268
29324
  * The **`Range.detach()`** method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility.
29325
+ * @deprecated
29269
29326
  *
29270
29327
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach)
29271
29328
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.324",
3
+ "version": "0.0.326",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -14753,6 +14753,62 @@ declare var FragmentDirective: {
14753
14753
  new(): FragmentDirective;
14754
14754
  };
14755
14755
 
14756
+ /**
14757
+ * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
14758
+ * Available only in secure contexts.
14759
+ *
14760
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
14761
+ */
14762
+ interface GPUAdapterInfo {
14763
+ /**
14764
+ * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available.
14765
+ *
14766
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture)
14767
+ */
14768
+ readonly architecture: string;
14769
+ /**
14770
+ * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available.
14771
+ *
14772
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description)
14773
+ */
14774
+ readonly description: string;
14775
+ /**
14776
+ * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available.
14777
+ *
14778
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device)
14779
+ */
14780
+ readonly device: string;
14781
+ /**
14782
+ * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not.
14783
+ *
14784
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter)
14785
+ */
14786
+ readonly isFallbackAdapter: boolean;
14787
+ /**
14788
+ * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.
14789
+ *
14790
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize)
14791
+ */
14792
+ readonly subgroupMaxSize: number;
14793
+ /**
14794
+ * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.
14795
+ *
14796
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize)
14797
+ */
14798
+ readonly subgroupMinSize: number;
14799
+ /**
14800
+ * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available.
14801
+ *
14802
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor)
14803
+ */
14804
+ readonly vendor: string;
14805
+ }
14806
+
14807
+ declare var GPUAdapterInfo: {
14808
+ prototype: GPUAdapterInfo;
14809
+ new(): GPUAdapterInfo;
14810
+ };
14811
+
14756
14812
  /**
14757
14813
  * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages.
14758
14814
  * Available only in secure contexts.
@@ -29242,6 +29298,7 @@ interface Range extends AbstractRange {
29242
29298
  deleteContents(): void;
29243
29299
  /**
29244
29300
  * The **`Range.detach()`** method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility.
29301
+ * @deprecated
29245
29302
  *
29246
29303
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach)
29247
29304
  */
package/ts5.6/index.d.ts CHANGED
@@ -14764,6 +14764,62 @@ declare var FragmentDirective: {
14764
14764
  new(): FragmentDirective;
14765
14765
  };
14766
14766
 
14767
+ /**
14768
+ * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
14769
+ * Available only in secure contexts.
14770
+ *
14771
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
14772
+ */
14773
+ interface GPUAdapterInfo {
14774
+ /**
14775
+ * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available.
14776
+ *
14777
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture)
14778
+ */
14779
+ readonly architecture: string;
14780
+ /**
14781
+ * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available.
14782
+ *
14783
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description)
14784
+ */
14785
+ readonly description: string;
14786
+ /**
14787
+ * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available.
14788
+ *
14789
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device)
14790
+ */
14791
+ readonly device: string;
14792
+ /**
14793
+ * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not.
14794
+ *
14795
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter)
14796
+ */
14797
+ readonly isFallbackAdapter: boolean;
14798
+ /**
14799
+ * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.
14800
+ *
14801
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize)
14802
+ */
14803
+ readonly subgroupMaxSize: number;
14804
+ /**
14805
+ * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.
14806
+ *
14807
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize)
14808
+ */
14809
+ readonly subgroupMinSize: number;
14810
+ /**
14811
+ * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available.
14812
+ *
14813
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor)
14814
+ */
14815
+ readonly vendor: string;
14816
+ }
14817
+
14818
+ declare var GPUAdapterInfo: {
14819
+ prototype: GPUAdapterInfo;
14820
+ new(): GPUAdapterInfo;
14821
+ };
14822
+
14767
14823
  /**
14768
14824
  * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages.
14769
14825
  * Available only in secure contexts.
@@ -29263,6 +29319,7 @@ interface Range extends AbstractRange {
29263
29319
  deleteContents(): void;
29264
29320
  /**
29265
29321
  * The **`Range.detach()`** method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility.
29322
+ * @deprecated
29266
29323
  *
29267
29324
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach)
29268
29325
  */
package/ts5.9/index.d.ts CHANGED
@@ -14764,6 +14764,62 @@ declare var FragmentDirective: {
14764
14764
  new(): FragmentDirective;
14765
14765
  };
14766
14766
 
14767
+ /**
14768
+ * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
14769
+ * Available only in secure contexts.
14770
+ *
14771
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
14772
+ */
14773
+ interface GPUAdapterInfo {
14774
+ /**
14775
+ * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available.
14776
+ *
14777
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture)
14778
+ */
14779
+ readonly architecture: string;
14780
+ /**
14781
+ * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available.
14782
+ *
14783
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description)
14784
+ */
14785
+ readonly description: string;
14786
+ /**
14787
+ * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available.
14788
+ *
14789
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device)
14790
+ */
14791
+ readonly device: string;
14792
+ /**
14793
+ * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not.
14794
+ *
14795
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter)
14796
+ */
14797
+ readonly isFallbackAdapter: boolean;
14798
+ /**
14799
+ * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.
14800
+ *
14801
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize)
14802
+ */
14803
+ readonly subgroupMaxSize: number;
14804
+ /**
14805
+ * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.
14806
+ *
14807
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize)
14808
+ */
14809
+ readonly subgroupMinSize: number;
14810
+ /**
14811
+ * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available.
14812
+ *
14813
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor)
14814
+ */
14815
+ readonly vendor: string;
14816
+ }
14817
+
14818
+ declare var GPUAdapterInfo: {
14819
+ prototype: GPUAdapterInfo;
14820
+ new(): GPUAdapterInfo;
14821
+ };
14822
+
14767
14823
  /**
14768
14824
  * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages.
14769
14825
  * Available only in secure contexts.
@@ -29263,6 +29319,7 @@ interface Range extends AbstractRange {
29263
29319
  deleteContents(): void;
29264
29320
  /**
29265
29321
  * The **`Range.detach()`** method does nothing. It used to disable the Range object and enable the browser to release associated resources. The method has been kept for compatibility.
29322
+ * @deprecated
29266
29323
  *
29267
29324
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach)
29268
29325
  */