chrome-types 0.1.140 → 0.1.141

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 +52 -3
  2. package/index.d.ts +52 -3
  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 Thu Sep 29 2022 22:32:35 GMT+0000 (Coordinated Universal Time)
18
- // Built at 9b332ad3b944609136faaca95ae0653dfe301e43
17
+ // Generated on Fri Oct 21 2022 22:30:12 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 78090b3d041b11319fb81a9cb504b58c5d449a3d
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -13500,6 +13500,55 @@ declare namespace chrome {
13500
13500
  ): void;
13501
13501
  }
13502
13502
 
13503
+ /**
13504
+ * `file_handlers` manifest key defintion. File Handlers allow developers to let extensions interact with files on the operating system. This manifest key can be used by developers to register an extension to a given file type.
13505
+ *
13506
+ * @since Pending
13507
+ */
13508
+ export namespace fileHandlers {
13509
+
13510
+ export interface Icon {
13511
+
13512
+ /**
13513
+ * URL from which a user agent can fetch image data.
13514
+ */
13515
+ src: string;
13516
+
13517
+ /**
13518
+ * Multiple space-separated size values to also accommodate image formats that can act as containers for multiple images of varying dimensions: e.g. "16x16", "16x16 32x32".
13519
+ */
13520
+ sizes?: string;
13521
+
13522
+ /**
13523
+ * MIME type is purely advisory with no default value.
13524
+ */
13525
+ type?: string;
13526
+ }
13527
+
13528
+ export interface FileHandler {
13529
+
13530
+ /**
13531
+ * Specifies the url after the origin that is the navigation destination for file handling launches.
13532
+ */
13533
+ action: string;
13534
+
13535
+ /**
13536
+ * Description of the file type.
13537
+ */
13538
+ name: string;
13539
+
13540
+ /**
13541
+ * Array of ImageResources.
13542
+ */
13543
+ icons?: Icon[];
13544
+
13545
+ /**
13546
+ * Whether multiple files should be opened in a single client or multiple. Defaults to \`single-client\`.
13547
+ */
13548
+ launch_type?: string;
13549
+ }
13550
+ }
13551
+
13503
13552
  /**
13504
13553
  * Use the `chrome.fileSystem` API to create, read, navigate, and write to the user's local file system. With this API, Chrome Apps can read and write to a user-selected location. For example, a text editor app can use the API to read and write local documents. All failures are notified via chrome.runtime.lastError.
13505
13554
  *
@@ -32461,7 +32510,7 @@ declare namespace chrome {
32461
32510
  }
32462
32511
 
32463
32512
  /**
32464
- * A native application associated with this extension can cause this event to be fired by writing to a file with a name equal to the extension's ID in a directory named `WebAuthenticationProxyRemoteSessionStateChange` inside the \[default user data directory\](https://chromium.googlesource.com/chromium/src/+/master/docs/user\_data\_dir.md#default-location).
32513
+ * A native application associated with this extension can cause this event to be fired by writing to a file with a name equal to the extension's ID in a directory named `WebAuthenticationProxyRemoteSessionStateChange` inside the \[default user data directory\](https://chromium.googlesource.com/chromium/src/+/main/docs/user\_data\_dir.md#default-location).
32465
32514
  *
32466
32515
  * The contents of the file should be empty. I.e., it is not necessary to change the contents of the file in order to trigger this event.
32467
32516
  *
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Sep 29 2022 22:32:28 GMT+0000 (Coordinated Universal Time)
18
- // Built at 9b332ad3b944609136faaca95ae0653dfe301e43
17
+ // Generated on Fri Oct 21 2022 22:30:07 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 78090b3d041b11319fb81a9cb504b58c5d449a3d
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -9552,6 +9552,55 @@ declare namespace chrome {
9552
9552
  ): void;
9553
9553
  }
9554
9554
 
9555
+ /**
9556
+ * `file_handlers` manifest key defintion. File Handlers allow developers to let extensions interact with files on the operating system. This manifest key can be used by developers to register an extension to a given file type.
9557
+ *
9558
+ * @since Pending
9559
+ */
9560
+ export namespace fileHandlers {
9561
+
9562
+ export interface Icon {
9563
+
9564
+ /**
9565
+ * URL from which a user agent can fetch image data.
9566
+ */
9567
+ src: string;
9568
+
9569
+ /**
9570
+ * Multiple space-separated size values to also accommodate image formats that can act as containers for multiple images of varying dimensions: e.g. "16x16", "16x16 32x32".
9571
+ */
9572
+ sizes?: string;
9573
+
9574
+ /**
9575
+ * MIME type is purely advisory with no default value.
9576
+ */
9577
+ type?: string;
9578
+ }
9579
+
9580
+ export interface FileHandler {
9581
+
9582
+ /**
9583
+ * Specifies the url after the origin that is the navigation destination for file handling launches.
9584
+ */
9585
+ action: string;
9586
+
9587
+ /**
9588
+ * Description of the file type.
9589
+ */
9590
+ name: string;
9591
+
9592
+ /**
9593
+ * Array of ImageResources.
9594
+ */
9595
+ icons?: Icon[];
9596
+
9597
+ /**
9598
+ * Whether multiple files should be opened in a single client or multiple. Defaults to \`single-client\`.
9599
+ */
9600
+ launch_type?: string;
9601
+ }
9602
+ }
9603
+
9555
9604
  /**
9556
9605
  * Use the `chrome.fileSystemProvider` API to create file systems, that can be accessible from the file manager on Chrome OS.
9557
9606
  *
@@ -25669,7 +25718,7 @@ declare namespace chrome {
25669
25718
  }
25670
25719
 
25671
25720
  /**
25672
- * A native application associated with this extension can cause this event to be fired by writing to a file with a name equal to the extension's ID in a directory named `WebAuthenticationProxyRemoteSessionStateChange` inside the \[default user data directory\](https://chromium.googlesource.com/chromium/src/+/master/docs/user\_data\_dir.md#default-location).
25721
+ * A native application associated with this extension can cause this event to be fired by writing to a file with a name equal to the extension's ID in a directory named `WebAuthenticationProxyRemoteSessionStateChange` inside the \[default user data directory\](https://chromium.googlesource.com/chromium/src/+/main/docs/user\_data\_dir.md#default-location).
25673
25722
  *
25674
25723
  * The contents of the file should be empty. I.e., it is not necessary to change the contents of the file in order to trigger this event.
25675
25724
  *
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "4a534b900ca5d67b"
8
+ "build-hash": "53c932fabca5e5b8"
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.140"
19
+ "version": "0.1.141"
20
20
  }