@types/webworker 0.0.60 → 0.0.61

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
@@ -45,4 +45,4 @@ This project does not respect semantic versioning as almost every change could p
45
45
 
46
46
  ## Deploy Metadata
47
47
 
48
- You can read what changed in version 0.0.60 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.60.
48
+ You can read what changed in version 0.0.61 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.61.
package/index.d.ts CHANGED
@@ -4912,6 +4912,62 @@ declare var FormData: {
4912
4912
  new(): FormData;
4913
4913
  };
4914
4914
 
4915
+ /**
4916
+ * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
4917
+ * Available only in secure contexts.
4918
+ *
4919
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
4920
+ */
4921
+ interface GPUAdapterInfo {
4922
+ /**
4923
+ * 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.
4924
+ *
4925
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture)
4926
+ */
4927
+ readonly architecture: string;
4928
+ /**
4929
+ * 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.
4930
+ *
4931
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description)
4932
+ */
4933
+ readonly description: string;
4934
+ /**
4935
+ * 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.
4936
+ *
4937
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device)
4938
+ */
4939
+ readonly device: string;
4940
+ /**
4941
+ * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not.
4942
+ *
4943
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter)
4944
+ */
4945
+ readonly isFallbackAdapter: boolean;
4946
+ /**
4947
+ * 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.
4948
+ *
4949
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize)
4950
+ */
4951
+ readonly subgroupMaxSize: number;
4952
+ /**
4953
+ * 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.
4954
+ *
4955
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize)
4956
+ */
4957
+ readonly subgroupMinSize: number;
4958
+ /**
4959
+ * 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.
4960
+ *
4961
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor)
4962
+ */
4963
+ readonly vendor: string;
4964
+ }
4965
+
4966
+ declare var GPUAdapterInfo: {
4967
+ prototype: GPUAdapterInfo;
4968
+ new(): GPUAdapterInfo;
4969
+ };
4970
+
4915
4971
  /**
4916
4972
  * 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.
4917
4973
  * Available only in secure contexts.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/webworker",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "description": "Types for the global scope of Web Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -4909,6 +4909,62 @@ declare var FormData: {
4909
4909
  new(): FormData;
4910
4910
  };
4911
4911
 
4912
+ /**
4913
+ * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
4914
+ * Available only in secure contexts.
4915
+ *
4916
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
4917
+ */
4918
+ interface GPUAdapterInfo {
4919
+ /**
4920
+ * 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.
4921
+ *
4922
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture)
4923
+ */
4924
+ readonly architecture: string;
4925
+ /**
4926
+ * 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.
4927
+ *
4928
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description)
4929
+ */
4930
+ readonly description: string;
4931
+ /**
4932
+ * 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.
4933
+ *
4934
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device)
4935
+ */
4936
+ readonly device: string;
4937
+ /**
4938
+ * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not.
4939
+ *
4940
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter)
4941
+ */
4942
+ readonly isFallbackAdapter: boolean;
4943
+ /**
4944
+ * 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.
4945
+ *
4946
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize)
4947
+ */
4948
+ readonly subgroupMaxSize: number;
4949
+ /**
4950
+ * 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.
4951
+ *
4952
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize)
4953
+ */
4954
+ readonly subgroupMinSize: number;
4955
+ /**
4956
+ * 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.
4957
+ *
4958
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor)
4959
+ */
4960
+ readonly vendor: string;
4961
+ }
4962
+
4963
+ declare var GPUAdapterInfo: {
4964
+ prototype: GPUAdapterInfo;
4965
+ new(): GPUAdapterInfo;
4966
+ };
4967
+
4912
4968
  /**
4913
4969
  * 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.
4914
4970
  * Available only in secure contexts.
package/ts5.6/index.d.ts CHANGED
@@ -4909,6 +4909,62 @@ declare var FormData: {
4909
4909
  new(): FormData;
4910
4910
  };
4911
4911
 
4912
+ /**
4913
+ * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
4914
+ * Available only in secure contexts.
4915
+ *
4916
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
4917
+ */
4918
+ interface GPUAdapterInfo {
4919
+ /**
4920
+ * 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.
4921
+ *
4922
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture)
4923
+ */
4924
+ readonly architecture: string;
4925
+ /**
4926
+ * 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.
4927
+ *
4928
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description)
4929
+ */
4930
+ readonly description: string;
4931
+ /**
4932
+ * 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.
4933
+ *
4934
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device)
4935
+ */
4936
+ readonly device: string;
4937
+ /**
4938
+ * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not.
4939
+ *
4940
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter)
4941
+ */
4942
+ readonly isFallbackAdapter: boolean;
4943
+ /**
4944
+ * 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.
4945
+ *
4946
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize)
4947
+ */
4948
+ readonly subgroupMaxSize: number;
4949
+ /**
4950
+ * 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.
4951
+ *
4952
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize)
4953
+ */
4954
+ readonly subgroupMinSize: number;
4955
+ /**
4956
+ * 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.
4957
+ *
4958
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor)
4959
+ */
4960
+ readonly vendor: string;
4961
+ }
4962
+
4963
+ declare var GPUAdapterInfo: {
4964
+ prototype: GPUAdapterInfo;
4965
+ new(): GPUAdapterInfo;
4966
+ };
4967
+
4912
4968
  /**
4913
4969
  * 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.
4914
4970
  * Available only in secure contexts.
package/ts5.9/index.d.ts CHANGED
@@ -4909,6 +4909,62 @@ declare var FormData: {
4909
4909
  new(): FormData;
4910
4910
  };
4911
4911
 
4912
+ /**
4913
+ * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
4914
+ * Available only in secure contexts.
4915
+ *
4916
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
4917
+ */
4918
+ interface GPUAdapterInfo {
4919
+ /**
4920
+ * 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.
4921
+ *
4922
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture)
4923
+ */
4924
+ readonly architecture: string;
4925
+ /**
4926
+ * 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.
4927
+ *
4928
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description)
4929
+ */
4930
+ readonly description: string;
4931
+ /**
4932
+ * 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.
4933
+ *
4934
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device)
4935
+ */
4936
+ readonly device: string;
4937
+ /**
4938
+ * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not.
4939
+ *
4940
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter)
4941
+ */
4942
+ readonly isFallbackAdapter: boolean;
4943
+ /**
4944
+ * 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.
4945
+ *
4946
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize)
4947
+ */
4948
+ readonly subgroupMaxSize: number;
4949
+ /**
4950
+ * 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.
4951
+ *
4952
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize)
4953
+ */
4954
+ readonly subgroupMinSize: number;
4955
+ /**
4956
+ * 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.
4957
+ *
4958
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor)
4959
+ */
4960
+ readonly vendor: string;
4961
+ }
4962
+
4963
+ declare var GPUAdapterInfo: {
4964
+ prototype: GPUAdapterInfo;
4965
+ new(): GPUAdapterInfo;
4966
+ };
4967
+
4912
4968
  /**
4913
4969
  * 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.
4914
4970
  * Available only in secure contexts.