chrome-types 0.1.336 → 0.1.338

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.
Files changed (3) hide show
  1. package/_all.d.ts +31 -7
  2. package/index.d.ts +31 -7
  3. package/package.json +2 -2
package/_all.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Mon Feb 03 2025 22:31:39 GMT+0000 (Coordinated Universal Time)
18
- // Built at 690544aa3a2bbafffbffebf631ec8033ecd1754d
17
+ // Generated on Tue Feb 11 2025 14:08:31 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 7d5769cb15c2d16b6175718d023167d0f86ff767
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -23368,6 +23368,30 @@ declare namespace chrome {
23368
23368
  response: GetPrinterInfoResponse,
23369
23369
  ) => void,
23370
23370
  ): void;
23371
+
23372
+ /**
23373
+ * Returns the status of the print job. This call will fail with a runtime error if the print job with the given `jobId` doesn't exist. `jobId`: The id of the print job to return the status of. This should be the same id received in a {@link SubmitJobResponse}.
23374
+ *
23375
+ * @since Pending
23376
+ */
23377
+ export function getJobStatus(
23378
+
23379
+ jobId: string,
23380
+ ): Promise<JobStatus>;
23381
+
23382
+ /**
23383
+ * Returns the status of the print job. This call will fail with a runtime error if the print job with the given `jobId` doesn't exist. `jobId`: The id of the print job to return the status of. This should be the same id received in a {@link SubmitJobResponse}.
23384
+ *
23385
+ * @since Pending
23386
+ */
23387
+ export function getJobStatus(
23388
+
23389
+ jobId: string,
23390
+
23391
+ callback?: (
23392
+ status: JobStatus,
23393
+ ) => void,
23394
+ ): void;
23371
23395
  }
23372
23396
 
23373
23397
  /**
@@ -28664,7 +28688,7 @@ declare namespace chrome {
28664
28688
  /**
28665
28689
  * Gets one or more items from storage.
28666
28690
  *
28667
- * @chrome-returns-extra since Chrome 88
28691
+ * @chrome-returns-extra since Chrome 95
28668
28692
  * @param keys A single key to get, list of keys to get, or a dictionary specifying default values (see description of the object). An empty list or object will return an empty result object. Pass in `null` to get the entire contents of storage.
28669
28693
  */
28670
28694
  get(
@@ -28716,7 +28740,7 @@ declare namespace chrome {
28716
28740
  /**
28717
28741
  * Gets the amount of space (in bytes) being used by one or more items.
28718
28742
  *
28719
- * @chrome-returns-extra since Chrome 88
28743
+ * @chrome-returns-extra since Chrome 95
28720
28744
  * @param keys A single key or list of keys to get the total usage for. An empty list will return 0. Pass in `null` to get the total usage of all of storage.
28721
28745
  */
28722
28746
  getBytesInUse(
@@ -28745,7 +28769,7 @@ declare namespace chrome {
28745
28769
  /**
28746
28770
  * Sets multiple items.
28747
28771
  *
28748
- * @chrome-returns-extra since Chrome 88
28772
+ * @chrome-returns-extra since Chrome 95
28749
28773
  * @param items
28750
28774
 
28751
28775
  An object which gives each key/value pair to update storage with. Any other key/value pairs in storage will not be affected.
@@ -28777,7 +28801,7 @@ declare namespace chrome {
28777
28801
  /**
28778
28802
  * Removes one or more items from storage.
28779
28803
  *
28780
- * @chrome-returns-extra since Chrome 88
28804
+ * @chrome-returns-extra since Chrome 95
28781
28805
  * @param keys A single key or a list of keys for items to remove.
28782
28806
  */
28783
28807
  remove(
@@ -28801,7 +28825,7 @@ declare namespace chrome {
28801
28825
  /**
28802
28826
  * Removes all items from storage.
28803
28827
  *
28804
- * @chrome-returns-extra since Chrome 88
28828
+ * @chrome-returns-extra since Chrome 95
28805
28829
  */
28806
28830
  clear(): Promise<void>;
28807
28831
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Mon Feb 03 2025 22:31:35 GMT+0000 (Coordinated Universal Time)
18
- // Built at 690544aa3a2bbafffbffebf631ec8033ecd1754d
17
+ // Generated on Tue Feb 11 2025 14:08:26 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 7d5769cb15c2d16b6175718d023167d0f86ff767
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -18113,6 +18113,30 @@ declare namespace chrome {
18113
18113
  response: GetPrinterInfoResponse,
18114
18114
  ) => void,
18115
18115
  ): void;
18116
+
18117
+ /**
18118
+ * Returns the status of the print job. This call will fail with a runtime error if the print job with the given `jobId` doesn't exist. `jobId`: The id of the print job to return the status of. This should be the same id received in a {@link SubmitJobResponse}.
18119
+ *
18120
+ * @since Pending
18121
+ */
18122
+ export function getJobStatus(
18123
+
18124
+ jobId: string,
18125
+ ): Promise<JobStatus>;
18126
+
18127
+ /**
18128
+ * Returns the status of the print job. This call will fail with a runtime error if the print job with the given `jobId` doesn't exist. `jobId`: The id of the print job to return the status of. This should be the same id received in a {@link SubmitJobResponse}.
18129
+ *
18130
+ * @since Pending
18131
+ */
18132
+ export function getJobStatus(
18133
+
18134
+ jobId: string,
18135
+
18136
+ callback?: (
18137
+ status: JobStatus,
18138
+ ) => void,
18139
+ ): void;
18116
18140
  }
18117
18141
 
18118
18142
  /**
@@ -22122,7 +22146,7 @@ declare namespace chrome {
22122
22146
  /**
22123
22147
  * Gets one or more items from storage.
22124
22148
  *
22125
- * @chrome-returns-extra since Chrome 88
22149
+ * @chrome-returns-extra since Chrome 95
22126
22150
  * @param keys A single key to get, list of keys to get, or a dictionary specifying default values (see description of the object). An empty list or object will return an empty result object. Pass in `null` to get the entire contents of storage.
22127
22151
  */
22128
22152
  get(
@@ -22174,7 +22198,7 @@ declare namespace chrome {
22174
22198
  /**
22175
22199
  * Gets the amount of space (in bytes) being used by one or more items.
22176
22200
  *
22177
- * @chrome-returns-extra since Chrome 88
22201
+ * @chrome-returns-extra since Chrome 95
22178
22202
  * @param keys A single key or list of keys to get the total usage for. An empty list will return 0. Pass in `null` to get the total usage of all of storage.
22179
22203
  */
22180
22204
  getBytesInUse(
@@ -22203,7 +22227,7 @@ declare namespace chrome {
22203
22227
  /**
22204
22228
  * Sets multiple items.
22205
22229
  *
22206
- * @chrome-returns-extra since Chrome 88
22230
+ * @chrome-returns-extra since Chrome 95
22207
22231
  * @param items
22208
22232
 
22209
22233
  An object which gives each key/value pair to update storage with. Any other key/value pairs in storage will not be affected.
@@ -22235,7 +22259,7 @@ declare namespace chrome {
22235
22259
  /**
22236
22260
  * Removes one or more items from storage.
22237
22261
  *
22238
- * @chrome-returns-extra since Chrome 88
22262
+ * @chrome-returns-extra since Chrome 95
22239
22263
  * @param keys A single key or a list of keys for items to remove.
22240
22264
  */
22241
22265
  remove(
@@ -22259,7 +22283,7 @@ declare namespace chrome {
22259
22283
  /**
22260
22284
  * Removes all items from storage.
22261
22285
  *
22262
- * @chrome-returns-extra since Chrome 88
22286
+ * @chrome-returns-extra since Chrome 95
22263
22287
  */
22264
22288
  clear(): Promise<void>;
22265
22289
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "79f7aa3dd25fef8e"
8
+ "build-hash": "208112edae23d540"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "url": "https://github.com/GoogleChrome/chrome-types/issues"
17
17
  },
18
18
  "homepage": "https://github.com/GoogleChrome/chrome-types",
19
- "version": "0.1.336"
19
+ "version": "0.1.338"
20
20
  }