chrome-types 0.1.340 → 0.1.342
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/_all.d.ts +3 -26
- package/index.d.ts +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
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Feb 18 2025 22:32:51 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 7857ead51766b33094c81d87c20449a20e1ab634
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -1008,22 +1008,6 @@ declare namespace chrome {
|
|
|
1008
1008
|
*/
|
|
1009
1009
|
export type LaunchSource = "untracked" | "app_launcher" | "new_tab_page" | "reload" | "restart" | "load_and_launch" | "command_line" | "file_handler" | "url_handler" | "system_tray" | "about_page" | "keyboard" | "extensions_page" | "management_api" | "ephemeral_app" | "background" | "kiosk" | "chrome_internal" | "test" | "installed_notification" | "context_menu" | "arc" | "intent_url" | "app_home_page" | "focus_mode" | "sparky";
|
|
1010
1010
|
|
|
1011
|
-
/**
|
|
1012
|
-
* An app can be launched with a specific action in mind, for example, to create a new note. The type of action the app was launched with is available inside of the `actionData` field from the LaunchData instance.
|
|
1013
|
-
*
|
|
1014
|
-
* @chrome-enum "new\_note" The user wants to quickly take a new note.
|
|
1015
|
-
* @since Chrome 54
|
|
1016
|
-
*/
|
|
1017
|
-
export type ActionType = "new_note";
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* @since Chrome 54
|
|
1021
|
-
*/
|
|
1022
|
-
export interface ActionData {
|
|
1023
|
-
|
|
1024
|
-
actionType: ActionType;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
1011
|
export interface LaunchData {
|
|
1028
1012
|
|
|
1029
1013
|
/**
|
|
@@ -1062,13 +1046,6 @@ declare namespace chrome {
|
|
|
1062
1046
|
* Where the app is launched from.
|
|
1063
1047
|
*/
|
|
1064
1048
|
source?: LaunchSource;
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* Contains data that specifies the `ActionType` this app was launched with. This is null if the app was not launched with a specific action intent.
|
|
1068
|
-
*
|
|
1069
|
-
* @since Chrome 54
|
|
1070
|
-
*/
|
|
1071
|
-
actionData?: ActionData;
|
|
1072
1049
|
}
|
|
1073
1050
|
|
|
1074
1051
|
export interface EmbedRequest {
|
|
@@ -23152,7 +23129,7 @@ declare namespace chrome {
|
|
|
23152
23129
|
export interface SubmitJobRequest {
|
|
23153
23130
|
|
|
23154
23131
|
/**
|
|
23155
|
-
* The print job to be submitted.
|
|
23132
|
+
* The print job to be submitted. Supported content types are "application/pdf" and "image/png". The [Cloud Job Ticket](https://developers.google.com/cloud-print/docs/cdd#cjt) shouldn't include `FitToPageTicketItem`, `PageRangeTicketItem` and `ReverseOrderTicketItem` fields since they are irrelevant for native printing. `VendorTicketItem` is optional. All other fields must be present.
|
|
23156
23133
|
*/
|
|
23157
23134
|
job: printerProvider.PrintJob;
|
|
23158
23135
|
}
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Feb 18 2025 22:32:46 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 7857ead51766b33094c81d87c20449a20e1ab634
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -17897,7 +17897,7 @@ declare namespace chrome {
|
|
|
17897
17897
|
export interface SubmitJobRequest {
|
|
17898
17898
|
|
|
17899
17899
|
/**
|
|
17900
|
-
* The print job to be submitted.
|
|
17900
|
+
* The print job to be submitted. Supported content types are "application/pdf" and "image/png". The [Cloud Job Ticket](https://developers.google.com/cloud-print/docs/cdd#cjt) shouldn't include `FitToPageTicketItem`, `PageRangeTicketItem` and `ReverseOrderTicketItem` fields since they are irrelevant for native printing. `VendorTicketItem` is optional. All other fields must be present.
|
|
17901
17901
|
*/
|
|
17902
17902
|
job: printerProvider.PrintJob;
|
|
17903
17903
|
}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "9714241f2d69aa88"
|
|
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.
|
|
19
|
+
"version": "0.1.342"
|
|
20
20
|
}
|