@types/chrome 0.0.227 → 0.0.229
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.
- chrome/README.md +1 -1
- chrome/index.d.ts +43 -0
- chrome/package.json +2 -2
    
        chrome/README.md
    CHANGED
    
    | @@ -8,7 +8,7 @@ This package contains type definitions for Chrome extension development (http:// | |
| 8 8 | 
             
            Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
         | 
| 9 9 |  | 
| 10 10 | 
             
            ### Additional Details
         | 
| 11 | 
            -
             * Last updated:  | 
| 11 | 
            +
             * Last updated: Tue, 11 Apr 2023 08:33:08 GMT
         | 
| 12 12 | 
             
             * Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
         | 
| 13 13 | 
             
             * Global values: `chrome`
         | 
| 14 14 |  | 
    
        chrome/index.d.ts
    CHANGED
    
    | @@ -4839,6 +4839,11 @@ declare namespace chrome.input.ime { | |
| 4839 4839 | 
             
                    capsLock?: boolean | undefined;
         | 
| 4840 4840 | 
             
                }
         | 
| 4841 4841 |  | 
| 4842 | 
            +
                /**
         | 
| 4843 | 
            +
                  * The auto-capitalize type of the text field.
         | 
| 4844 | 
            +
                  * @since Chrome 69.
         | 
| 4845 | 
            +
                  */
         | 
| 4846 | 
            +
                export type AutoCapitalizeType = 'characters' | 'words' | 'sentences';
         | 
| 4842 4847 | 
             
                /** Describes an input Context */
         | 
| 4843 4848 | 
             
                export interface InputContext {
         | 
| 4844 4849 | 
             
                    /** This is used to specify targets of text field operations. This ID becomes invalid as soon as onBlur is called. */
         | 
| @@ -4860,6 +4865,16 @@ declare namespace chrome.input.ime { | |
| 4860 4865 | 
             
                     * @since Chrome 40.
         | 
| 4861 4866 | 
             
                     */
         | 
| 4862 4867 | 
             
                    spellCheck: boolean;
         | 
| 4868 | 
            +
                    /**
         | 
| 4869 | 
            +
                     * The auto-capitalize type of the text field.
         | 
| 4870 | 
            +
                     * @since Chrome 69.
         | 
| 4871 | 
            +
                     */
         | 
| 4872 | 
            +
                    autoCaptialize: AutoCapitalizeType;
         | 
| 4873 | 
            +
                    /**
         | 
| 4874 | 
            +
                     * Whether text entered into the text field should be used to improve typing suggestions for the user.
         | 
| 4875 | 
            +
                     * @since Chrome 68.
         | 
| 4876 | 
            +
                     */
         | 
| 4877 | 
            +
                    shouldDoLearning: boolean;
         | 
| 4863 4878 | 
             
                }
         | 
| 4864 4879 |  | 
| 4865 4880 | 
             
                /**
         | 
| @@ -5015,6 +5030,18 @@ declare namespace chrome.input.ime { | |
| 5015 5030 | 
             
                     * @since Chrome 28.
         | 
| 5016 5031 | 
             
                     */
         | 
| 5017 5032 | 
             
                    windowPosition?: string | undefined;
         | 
| 5033 | 
            +
                    /**
         | 
| 5034 | 
            +
                     * Optional.
         | 
| 5035 | 
            +
                     * The index of the current chosen candidate out of total candidates.
         | 
| 5036 | 
            +
                     * @since Chrome 84.
         | 
| 5037 | 
            +
                     */
         | 
| 5038 | 
            +
                    currentCandidateIndex?: number | undefined;
         | 
| 5039 | 
            +
                    /**
         | 
| 5040 | 
            +
                     * Optional.
         | 
| 5041 | 
            +
                     * The total number of candidates for the candidate window.
         | 
| 5042 | 
            +
                     * @since Chrome 84.
         | 
| 5043 | 
            +
                     */
         | 
| 5044 | 
            +
                    totalCandidates?: number | undefined;
         | 
| 5018 5045 | 
             
                }
         | 
| 5019 5046 |  | 
| 5020 5047 | 
             
                export interface CandidateWindowParameter {
         | 
| @@ -10546,8 +10573,16 @@ declare namespace chrome.webNavigation { | |
| 10546 10573 | 
             
                export interface GetFrameResultDetails {
         | 
| 10547 10574 | 
             
                    /** The URL currently associated with this frame, if the frame identified by the frameId existed at one point in the given tab. The fact that an URL is associated with a given frameId does not imply that the corresponding frame still exists. */
         | 
| 10548 10575 | 
             
                    url: string;
         | 
| 10576 | 
            +
                    /** A UUID of the document loaded. */
         | 
| 10577 | 
            +
                    documentId: string;
         | 
| 10578 | 
            +
                    /** The lifecycle the document is in. */
         | 
| 10579 | 
            +
                    documentLifecycle: "prerender" | "active" | "cached" | "pending_deletion";
         | 
| 10549 10580 | 
             
                    /** True if the last navigation in this frame was interrupted by an error, i.e. the onErrorOccurred event fired. */
         | 
| 10550 10581 | 
             
                    errorOccurred: boolean;
         | 
| 10582 | 
            +
                    /** The type of frame the navigation occurred in. */
         | 
| 10583 | 
            +
                    frameType: "outermost_frame" | "fenced_frame" | "sub_frame";
         | 
| 10584 | 
            +
                    /** A UUID of the parent document owning this frame. This is not set if there is no parent. */
         | 
| 10585 | 
            +
                    parentDocumentId?: string | undefined;
         | 
| 10551 10586 | 
             
                    /** ID of frame that wraps the frame. Set to -1 of no parent frame exists. */
         | 
| 10552 10587 | 
             
                    parentFrameId: number;
         | 
| 10553 10588 | 
             
                }
         | 
| @@ -10583,6 +10618,14 @@ declare namespace chrome.webNavigation { | |
| 10583 10618 | 
             
                export interface WebNavigationFramedCallbackDetails extends WebNavigationUrlCallbackDetails {
         | 
| 10584 10619 | 
             
                    /** 0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique for a given tab and process. */
         | 
| 10585 10620 | 
             
                    frameId: number;
         | 
| 10621 | 
            +
                    /** The type of frame the navigation occurred in. */
         | 
| 10622 | 
            +
                    frameType: "outermost_frame" | "fenced_frame" | "sub_frame";
         | 
| 10623 | 
            +
                    /** A UUID of the document loaded. (This is not set for onBeforeNavigate callbacks.) */
         | 
| 10624 | 
            +
                    documentId?: string | undefined;
         | 
| 10625 | 
            +
                    /** The lifecycle the document is in. */
         | 
| 10626 | 
            +
                    documentLifecycle: "prerender" | "active" | "cached" | "pending_deletion";
         | 
| 10627 | 
            +
                    /** A UUID of the parent document owning this frame. This is not set if there is no parent. */
         | 
| 10628 | 
            +
                    parentDocumentId?: string | undefined;
         | 
| 10586 10629 | 
             
                    /**
         | 
| 10587 10630 | 
             
                     * The ID of the process runs the renderer for this tab.
         | 
| 10588 10631 | 
             
                     * @since Chrome 22.
         | 
    
        chrome/package.json
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
                "name": "@types/chrome",
         | 
| 3 | 
            -
                "version": "0.0. | 
| 3 | 
            +
                "version": "0.0.229",
         | 
| 4 4 | 
             
                "description": "TypeScript definitions for Chrome extension development",
         | 
| 5 5 | 
             
                "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
         | 
| 6 6 | 
             
                "license": "MIT",
         | 
| @@ -93,6 +93,6 @@ | |
| 93 93 | 
             
                    "@types/filesystem": "*",
         | 
| 94 94 | 
             
                    "@types/har-format": "*"
         | 
| 95 95 | 
             
                },
         | 
| 96 | 
            -
                "typesPublisherContentHash": " | 
| 96 | 
            +
                "typesPublisherContentHash": "e44d09357d0ede268b3f87a11def92c60c2ce132c1d4f3e18b954a3cb08ebeea",
         | 
| 97 97 | 
             
                "typeScriptVersion": "4.3"
         | 
| 98 98 | 
             
            }
         |