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

     1  - File: webext/i18n.json
     2    Dict:
     3      Name: DetectLanguageReturnType
     4      ExtAttrs:
     5        - Name: Namespace
     6          Values:
     7            - chrome
     8            - i18n
     9      Fields:
    10        - Name: isReliable
    11          Required: true
    12          Type:
    13            Name: boolean
    14          ExtAttrs:
    15            - Name: Namespace
    16              Values:
    17                - chrome
    18                - i18n
    19        - Name: languages
    20          Required: true
    21          Type:
    22            Name: sequence
    23            Params:
    24              - Name: DetectLanguageReturnTypeFieldLanguagesElem
    25                ExtAttrs:
    26                  - Name: Namespace
    27                    Values:
    28                      - chrome
    29                      - i18n
    30            ExtAttrs:
    31              - Name: Namespace
    32                Values:
    33                  - chrome
    34                  - i18n
    35          ExtAttrs:
    36            - Name: Namespace
    37              Values:
    38                - chrome
    39                - i18n
    40  - File: webext/i18n.json
    41    Dict:
    42      Name: DetectLanguageReturnTypeFieldLanguagesElem
    43      ExtAttrs:
    44        - Name: Namespace
    45          Values:
    46            - chrome
    47            - i18n
    48      Fields:
    49        - Name: language
    50          Required: true
    51          Type:
    52            Name: LanguageCode
    53            ExtAttrs:
    54              - Name: Namespace
    55                Values:
    56                  - chrome
    57                  - i18n
    58          ExtAttrs:
    59            - Name: Namespace
    60              Values:
    61                - chrome
    62                - i18n
    63        - Name: percentage
    64          Required: true
    65          Type:
    66            Name: long long
    67          ExtAttrs:
    68            - Name: Namespace
    69              Values:
    70                - chrome
    71                - i18n
    72  - File: webext/i18n.json
    73    Dict:
    74      Name: GetMessageArgOptions
    75      ExtAttrs:
    76        - Name: Namespace
    77          Values:
    78            - chrome
    79            - i18n
    80      Fields:
    81        - Name: escapeLt
    82          Type:
    83            Name: boolean
    84          ExtAttrs:
    85            - Name: Namespace
    86              Values:
    87                - chrome
    88                - i18n
    89  - File: webext/i18n.json
    90    Typedef:
    91      Name: LanguageCode
    92      Type:
    93        Name: DOMString
    94      ExtAttrs:
    95        - Name: Namespace
    96          Values:
    97            - chrome
    98            - i18n
    99  - File: webext/i18n.json
   100    WebextFunc:
   101      Name: detectLanguage
   102      Args:
   103        - Name: text
   104          Type:
   105            Name: DOMString
   106      Returns:
   107        - Name: Promise
   108          Params:
   109            - Name: DetectLanguageReturnType
   110              ExtAttrs:
   111                - Name: Namespace
   112                  Values:
   113                    - chrome
   114                    - i18n
   115      ExtAttrs:
   116        - Name: Namespace
   117          Values:
   118            - chrome
   119            - i18n
   120  - File: webext/i18n.json
   121    WebextFunc:
   122      Name: getAcceptLanguages
   123      Returns:
   124        - Name: Promise
   125          Params:
   126            - Name: sequence
   127              Params:
   128                - Name: LanguageCode
   129                  ExtAttrs:
   130                    - Name: Namespace
   131                      Values:
   132                        - chrome
   133                        - i18n
   134              ExtAttrs:
   135                - Name: Namespace
   136                  Values:
   137                    - chrome
   138                    - i18n
   139      ExtAttrs:
   140        - Name: Namespace
   141          Values:
   142            - chrome
   143            - i18n
   144  - File: webext/i18n.json
   145    WebextFunc:
   146      Name: getMessage
   147      Args:
   148        - Name: messageName
   149          Type:
   150            Name: DOMString
   151        - Name: substitutions
   152          Optional: true
   153          Type:
   154            Name: any
   155        - Name: options
   156          Optional: true
   157          Type:
   158            Name: GetMessageArgOptions
   159            ExtAttrs:
   160              - Name: Namespace
   161                Values:
   162                  - chrome
   163                  - i18n
   164      Returns:
   165        - Name: DOMString
   166      ExtAttrs:
   167        - Name: Namespace
   168          Values:
   169            - chrome
   170            - i18n
   171  - File: webext/i18n.json
   172    WebextFunc:
   173      Name: getUILanguage
   174      Returns:
   175        - Name: DOMString
   176      ExtAttrs:
   177        - Name: Namespace
   178          Values:
   179            - chrome
   180            - i18n