github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/commands/apis.js.wasm.yaml (about)

     1  - File: webext/chrome/commands.json
     2    Dict:
     3      Name: Command
     4      ExtAttrs:
     5        - Name: Namespace
     6          Values:
     7            - chrome
     8            - commands
     9      Fields:
    10        - Name: description
    11          Type:
    12            Name: DOMString
    13          ExtAttrs:
    14            - Name: Namespace
    15              Values:
    16                - chrome
    17                - commands
    18        - Name: name
    19          Type:
    20            Name: DOMString
    21          ExtAttrs:
    22            - Name: Namespace
    23              Values:
    24                - chrome
    25                - commands
    26        - Name: shortcut
    27          Type:
    28            Name: DOMString
    29          ExtAttrs:
    30            - Name: Namespace
    31              Values:
    32                - chrome
    33                - commands
    34  - File: webext/chrome/commands.json
    35    WebextFunc:
    36      Name: getAll
    37      Returns:
    38        - Name: Promise
    39          Params:
    40            - Name: sequence
    41              Params:
    42                - Name: Command
    43                  ExtAttrs:
    44                    - Name: Namespace
    45                      Values:
    46                        - chrome
    47                        - commands
    48              ExtAttrs:
    49                - Name: Namespace
    50                  Values:
    51                    - chrome
    52                    - commands
    53      ExtAttrs:
    54        - Name: Namespace
    55          Values:
    56            - chrome
    57            - commands
    58  - File: webext/chrome/commands.json
    59    WebextEvent:
    60      Name: onCommand
    61      Args:
    62        - Name: command
    63          Type:
    64            Name: DOMString
    65        - Name: tab
    66          Optional: true
    67          Type:
    68            Name: Tab
    69            ExtAttrs:
    70              - Name: Namespace
    71                Values:
    72                  - chrome
    73                  - tabs
    74      Returns:
    75        - Name: undefined
    76      ExtAttrs:
    77        - Name: Namespace
    78          Values:
    79            - chrome
    80            - commands