chrome-types 0.1.367 → 0.1.369
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 +38 -2
- package/index.d.ts +38 -2
- 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 Fri Aug 08 2025 22:33:05 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 58f5aa9e0051fa0b8f97c422d69ce9a80c9e42fd
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -26644,6 +26644,22 @@ declare namespace chrome {
|
|
|
26644
26644
|
tabId?: number;
|
|
26645
26645
|
}
|
|
26646
26646
|
|
|
26647
|
+
/**
|
|
26648
|
+
* @since Pending
|
|
26649
|
+
*/
|
|
26650
|
+
export interface CloseOptions {
|
|
26651
|
+
|
|
26652
|
+
/**
|
|
26653
|
+
* The window in which to close the side panel. If a global side panel is open in the specified window, it will be closed for all tabs in that window where no tab-specific panel is active. At least one of this or `tabId` must be provided.
|
|
26654
|
+
*/
|
|
26655
|
+
windowId?: number;
|
|
26656
|
+
|
|
26657
|
+
/**
|
|
26658
|
+
* The tab in which to close the side panel. If a tab-specific side panel is open in the specified tab, it will be closed for that tab. At least one of this or `windowId` must be provided.
|
|
26659
|
+
*/
|
|
26660
|
+
tabId?: number;
|
|
26661
|
+
}
|
|
26662
|
+
|
|
26647
26663
|
/**
|
|
26648
26664
|
* Configures the side panel.
|
|
26649
26665
|
*
|
|
@@ -26756,6 +26772,26 @@ declare namespace chrome {
|
|
|
26756
26772
|
|
|
26757
26773
|
callback?: () => void,
|
|
26758
26774
|
): void;
|
|
26775
|
+
|
|
26776
|
+
/**
|
|
26777
|
+
* Returns the side panel's current layout.
|
|
26778
|
+
*
|
|
26779
|
+
* @since Pending
|
|
26780
|
+
*/
|
|
26781
|
+
export function getLayout(): Promise<PanelLayout>;
|
|
26782
|
+
|
|
26783
|
+
/**
|
|
26784
|
+
* Returns the side panel's current layout.
|
|
26785
|
+
*
|
|
26786
|
+
* @param callback Called with a {@link PanelLayout} containing the side value.
|
|
26787
|
+
* @since Pending
|
|
26788
|
+
*/
|
|
26789
|
+
export function getLayout(
|
|
26790
|
+
|
|
26791
|
+
callback?: (
|
|
26792
|
+
layout: PanelLayout,
|
|
26793
|
+
) => void,
|
|
26794
|
+
): void;
|
|
26759
26795
|
}
|
|
26760
26796
|
|
|
26761
26797
|
/**
|
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 Fri Aug 08 2025 22:33:00 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 58f5aa9e0051fa0b8f97c422d69ce9a80c9e42fd
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -20760,6 +20760,22 @@ declare namespace chrome {
|
|
|
20760
20760
|
tabId?: number;
|
|
20761
20761
|
}
|
|
20762
20762
|
|
|
20763
|
+
/**
|
|
20764
|
+
* @since Pending
|
|
20765
|
+
*/
|
|
20766
|
+
export interface CloseOptions {
|
|
20767
|
+
|
|
20768
|
+
/**
|
|
20769
|
+
* The window in which to close the side panel. If a global side panel is open in the specified window, it will be closed for all tabs in that window where no tab-specific panel is active. At least one of this or `tabId` must be provided.
|
|
20770
|
+
*/
|
|
20771
|
+
windowId?: number;
|
|
20772
|
+
|
|
20773
|
+
/**
|
|
20774
|
+
* The tab in which to close the side panel. If a tab-specific side panel is open in the specified tab, it will be closed for that tab. At least one of this or `windowId` must be provided.
|
|
20775
|
+
*/
|
|
20776
|
+
tabId?: number;
|
|
20777
|
+
}
|
|
20778
|
+
|
|
20763
20779
|
/**
|
|
20764
20780
|
* Configures the side panel.
|
|
20765
20781
|
*
|
|
@@ -20872,6 +20888,26 @@ declare namespace chrome {
|
|
|
20872
20888
|
|
|
20873
20889
|
callback?: () => void,
|
|
20874
20890
|
): void;
|
|
20891
|
+
|
|
20892
|
+
/**
|
|
20893
|
+
* Returns the side panel's current layout.
|
|
20894
|
+
*
|
|
20895
|
+
* @since Pending
|
|
20896
|
+
*/
|
|
20897
|
+
export function getLayout(): Promise<PanelLayout>;
|
|
20898
|
+
|
|
20899
|
+
/**
|
|
20900
|
+
* Returns the side panel's current layout.
|
|
20901
|
+
*
|
|
20902
|
+
* @param callback Called with a {@link PanelLayout} containing the side value.
|
|
20903
|
+
* @since Pending
|
|
20904
|
+
*/
|
|
20905
|
+
export function getLayout(
|
|
20906
|
+
|
|
20907
|
+
callback?: (
|
|
20908
|
+
layout: PanelLayout,
|
|
20909
|
+
) => void,
|
|
20910
|
+
): void;
|
|
20875
20911
|
}
|
|
20876
20912
|
|
|
20877
20913
|
/**
|
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": "c3fe895558822a95"
|
|
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.369"
|
|
20
20
|
}
|