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

     1  - File: webext/management.json
     2    Enum:
     3      Name: ExtensionDisabledReason
     4      Values:
     5        - unknown
     6        - permissions_increase
     7      ExtAttrs:
     8        - Name: Namespace
     9          Values:
    10            - chrome
    11            - management
    12  - File: webext/management.json
    13    Dict:
    14      Name: ExtensionInfo
    15      ExtAttrs:
    16        - Name: Namespace
    17          Values:
    18            - chrome
    19            - management
    20      Fields:
    21        - Name: appLaunchUrl
    22          Type:
    23            Name: DOMString
    24          ExtAttrs:
    25            - Name: Namespace
    26              Values:
    27                - chrome
    28                - management
    29        - Name: availableLaunchTypes
    30          Type:
    31            Name: sequence
    32            Params:
    33              - Name: LaunchType
    34                ExtAttrs:
    35                  - Name: Namespace
    36                    Values:
    37                      - chrome
    38                      - management
    39            ExtAttrs:
    40              - Name: Namespace
    41                Values:
    42                  - chrome
    43                  - management
    44          ExtAttrs:
    45            - Name: Namespace
    46              Values:
    47                - chrome
    48                - management
    49        - Name: description
    50          Required: true
    51          Type:
    52            Name: DOMString
    53          ExtAttrs:
    54            - Name: Namespace
    55              Values:
    56                - chrome
    57                - management
    58        - Name: disabledReason
    59          Type:
    60            Name: ExtensionDisabledReason
    61            ExtAttrs:
    62              - Name: Namespace
    63                Values:
    64                  - chrome
    65                  - management
    66          ExtAttrs:
    67            - Name: Namespace
    68              Values:
    69                - chrome
    70                - management
    71        - Name: enabled
    72          Required: true
    73          Type:
    74            Name: boolean
    75          ExtAttrs:
    76            - Name: Namespace
    77              Values:
    78                - chrome
    79                - management
    80        - Name: homepageUrl
    81          Type:
    82            Name: DOMString
    83          ExtAttrs:
    84            - Name: Namespace
    85              Values:
    86                - chrome
    87                - management
    88        - Name: hostPermissions
    89          Required: true
    90          Type:
    91            Name: sequence
    92            Params:
    93              - Name: DOMString
    94            ExtAttrs:
    95              - Name: Namespace
    96                Values:
    97                  - chrome
    98                  - management
    99          ExtAttrs:
   100            - Name: Namespace
   101              Values:
   102                - chrome
   103                - management
   104        - Name: icons
   105          Type:
   106            Name: sequence
   107            Params:
   108              - Name: IconInfo
   109                ExtAttrs:
   110                  - Name: Namespace
   111                    Values:
   112                      - chrome
   113                      - management
   114            ExtAttrs:
   115              - Name: Namespace
   116                Values:
   117                  - chrome
   118                  - management
   119          ExtAttrs:
   120            - Name: Namespace
   121              Values:
   122                - chrome
   123                - management
   124        - Name: id
   125          Required: true
   126          Type:
   127            Name: DOMString
   128          ExtAttrs:
   129            - Name: Namespace
   130              Values:
   131                - chrome
   132                - management
   133        - Name: installType
   134          Required: true
   135          Type:
   136            Name: ExtensionInstallType
   137            ExtAttrs:
   138              - Name: Namespace
   139                Values:
   140                  - chrome
   141                  - management
   142          ExtAttrs:
   143            - Name: Namespace
   144              Values:
   145                - chrome
   146                - management
   147        - Name: isApp
   148          Required: true
   149          Type:
   150            Name: boolean
   151          ExtAttrs:
   152            - Name: Namespace
   153              Values:
   154                - chrome
   155                - management
   156        - Name: launchType
   157          Type:
   158            Name: LaunchType
   159            ExtAttrs:
   160              - Name: Namespace
   161                Values:
   162                  - chrome
   163                  - management
   164          ExtAttrs:
   165            - Name: Namespace
   166              Values:
   167                - chrome
   168                - management
   169        - Name: mayDisable
   170          Required: true
   171          Type:
   172            Name: boolean
   173          ExtAttrs:
   174            - Name: Namespace
   175              Values:
   176                - chrome
   177                - management
   178        - Name: mayEnable
   179          Type:
   180            Name: boolean
   181          ExtAttrs:
   182            - Name: Namespace
   183              Values:
   184                - chrome
   185                - management
   186        - Name: name
   187          Required: true
   188          Type:
   189            Name: DOMString
   190          ExtAttrs:
   191            - Name: Namespace
   192              Values:
   193                - chrome
   194                - management
   195        - Name: offlineEnabled
   196          Required: true
   197          Type:
   198            Name: boolean
   199          ExtAttrs:
   200            - Name: Namespace
   201              Values:
   202                - chrome
   203                - management
   204        - Name: optionsUrl
   205          Required: true
   206          Type:
   207            Name: DOMString
   208          ExtAttrs:
   209            - Name: Namespace
   210              Values:
   211                - chrome
   212                - management
   213        - Name: permissions
   214          Required: true
   215          Type:
   216            Name: sequence
   217            Params:
   218              - Name: DOMString
   219            ExtAttrs:
   220              - Name: Namespace
   221                Values:
   222                  - chrome
   223                  - management
   224          ExtAttrs:
   225            - Name: Namespace
   226              Values:
   227                - chrome
   228                - management
   229        - Name: shortName
   230          Required: true
   231          Type:
   232            Name: DOMString
   233          ExtAttrs:
   234            - Name: Namespace
   235              Values:
   236                - chrome
   237                - management
   238        - Name: type
   239          Required: true
   240          Type:
   241            Name: ExtensionType
   242            ExtAttrs:
   243              - Name: Namespace
   244                Values:
   245                  - chrome
   246                  - management
   247          ExtAttrs:
   248            - Name: Namespace
   249              Values:
   250                - chrome
   251                - management
   252        - Name: updateUrl
   253          Type:
   254            Name: DOMString
   255          ExtAttrs:
   256            - Name: Namespace
   257              Values:
   258                - chrome
   259                - management
   260        - Name: version
   261          Required: true
   262          Type:
   263            Name: DOMString
   264          ExtAttrs:
   265            - Name: Namespace
   266              Values:
   267                - chrome
   268                - management
   269        - Name: versionName
   270          Type:
   271            Name: DOMString
   272          ExtAttrs:
   273            - Name: Namespace
   274              Values:
   275                - chrome
   276                - management
   277  - File: webext/management.json
   278    Enum:
   279      Name: ExtensionInstallType
   280      Values:
   281        - admin
   282        - development
   283        - normal
   284        - sideload
   285        - other
   286      ExtAttrs:
   287        - Name: Namespace
   288          Values:
   289            - chrome
   290            - management
   291  - File: webext/management.json
   292    Enum:
   293      Name: ExtensionType
   294      Values:
   295        - extension
   296        - hosted_app
   297        - packaged_app
   298        - legacy_packaged_app
   299        - theme
   300        - login_screen_extension
   301      ExtAttrs:
   302        - Name: Namespace
   303          Values:
   304            - chrome
   305            - management
   306  - File: webext/management.json
   307    Dict:
   308      Name: IconInfo
   309      ExtAttrs:
   310        - Name: Namespace
   311          Values:
   312            - chrome
   313            - management
   314      Fields:
   315        - Name: size
   316          Required: true
   317          Type:
   318            Name: long long
   319          ExtAttrs:
   320            - Name: Namespace
   321              Values:
   322                - chrome
   323                - management
   324        - Name: url
   325          Required: true
   326          Type:
   327            Name: DOMString
   328          ExtAttrs:
   329            - Name: Namespace
   330              Values:
   331                - chrome
   332                - management
   333  - File: webext/management.json
   334    Enum:
   335      Name: LaunchType
   336      Values:
   337        - OPEN_AS_REGULAR_TAB
   338        - OPEN_AS_PINNED_TAB
   339        - OPEN_AS_WINDOW
   340        - OPEN_FULL_SCREEN
   341      ExtAttrs:
   342        - Name: Namespace
   343          Values:
   344            - chrome
   345            - management
   346  - File: webext/management.json
   347    Dict:
   348      Name: UninstallOptions
   349      ExtAttrs:
   350        - Name: Namespace
   351          Values:
   352            - chrome
   353            - management
   354      Fields:
   355        - Name: showConfirmDialog
   356          Type:
   357            Name: boolean
   358          ExtAttrs:
   359            - Name: Namespace
   360              Values:
   361                - chrome
   362                - management
   363  - File: webext/management.json
   364    WebextFunc:
   365      Name: createAppShortcut
   366      Args:
   367        - Name: id
   368          Type:
   369            Name: DOMString
   370      Returns:
   371        - Name: Promise
   372          Params:
   373            - Name: void
   374      ExtAttrs:
   375        - Name: Namespace
   376          Values:
   377            - chrome
   378            - management
   379  - File: webext/management.json
   380    WebextFunc:
   381      Name: generateAppForLink
   382      Args:
   383        - Name: url
   384          Type:
   385            Name: DOMString
   386        - Name: title
   387          Type:
   388            Name: DOMString
   389      Returns:
   390        - Name: Promise
   391          Params:
   392            - Name: ExtensionInfo
   393              ExtAttrs:
   394                - Name: Namespace
   395                  Values:
   396                    - chrome
   397                    - management
   398      ExtAttrs:
   399        - Name: Namespace
   400          Values:
   401            - chrome
   402            - management
   403  - File: webext/management.json
   404    WebextFunc:
   405      Name: get
   406      Args:
   407        - Name: id
   408          Type:
   409            Name: DOMString
   410      Returns:
   411        - Name: Promise
   412          Params:
   413            - Name: ExtensionInfo
   414              ExtAttrs:
   415                - Name: Namespace
   416                  Values:
   417                    - chrome
   418                    - management
   419      ExtAttrs:
   420        - Name: Namespace
   421          Values:
   422            - chrome
   423            - management
   424  - File: webext/management.json
   425    WebextFunc:
   426      Name: getAll
   427      Returns:
   428        - Name: Promise
   429          Params:
   430            - Name: sequence
   431              Params:
   432                - Name: ExtensionInfo
   433                  ExtAttrs:
   434                    - Name: Namespace
   435                      Values:
   436                        - chrome
   437                        - management
   438              ExtAttrs:
   439                - Name: Namespace
   440                  Values:
   441                    - chrome
   442                    - management
   443      ExtAttrs:
   444        - Name: Namespace
   445          Values:
   446            - chrome
   447            - management
   448  - File: webext/management.json
   449    WebextFunc:
   450      Name: getPermissionWarningsById
   451      Args:
   452        - Name: id
   453          Type:
   454            Name: DOMString
   455      Returns:
   456        - Name: Promise
   457          Params:
   458            - Name: sequence
   459              Params:
   460                - Name: DOMString
   461              ExtAttrs:
   462                - Name: Namespace
   463                  Values:
   464                    - chrome
   465                    - management
   466      ExtAttrs:
   467        - Name: Namespace
   468          Values:
   469            - chrome
   470            - management
   471  - File: webext/management.json
   472    WebextFunc:
   473      Name: getPermissionWarningsByManifest
   474      Args:
   475        - Name: manifestStr
   476          Type:
   477            Name: DOMString
   478      Returns:
   479        - Name: Promise
   480          Params:
   481            - Name: sequence
   482              Params:
   483                - Name: DOMString
   484              ExtAttrs:
   485                - Name: Namespace
   486                  Values:
   487                    - chrome
   488                    - management
   489      ExtAttrs:
   490        - Name: Namespace
   491          Values:
   492            - chrome
   493            - management
   494  - File: webext/management.json
   495    WebextFunc:
   496      Name: getSelf
   497      Returns:
   498        - Name: Promise
   499          Params:
   500            - Name: ExtensionInfo
   501              ExtAttrs:
   502                - Name: Namespace
   503                  Values:
   504                    - chrome
   505                    - management
   506      ExtAttrs:
   507        - Name: Namespace
   508          Values:
   509            - chrome
   510            - management
   511  - File: webext/management.json
   512    WebextFunc:
   513      Name: installReplacementWebApp
   514      Returns:
   515        - Name: Promise
   516          Params:
   517            - Name: void
   518      ExtAttrs:
   519        - Name: Namespace
   520          Values:
   521            - chrome
   522            - management
   523  - File: webext/management.json
   524    WebextFunc:
   525      Name: launchApp
   526      Args:
   527        - Name: id
   528          Type:
   529            Name: DOMString
   530      Returns:
   531        - Name: Promise
   532          Params:
   533            - Name: void
   534      ExtAttrs:
   535        - Name: Namespace
   536          Values:
   537            - chrome
   538            - management
   539  - File: webext/management.json
   540    WebextEvent:
   541      Name: onDisabled
   542      Args:
   543        - Name: info
   544          Type:
   545            Name: ExtensionInfo
   546            ExtAttrs:
   547              - Name: Namespace
   548                Values:
   549                  - chrome
   550                  - management
   551      Returns:
   552        - Name: undefined
   553      ExtAttrs:
   554        - Name: Namespace
   555          Values:
   556            - chrome
   557            - management
   558  - File: webext/management.json
   559    WebextEvent:
   560      Name: onEnabled
   561      Args:
   562        - Name: info
   563          Type:
   564            Name: ExtensionInfo
   565            ExtAttrs:
   566              - Name: Namespace
   567                Values:
   568                  - chrome
   569                  - management
   570      Returns:
   571        - Name: undefined
   572      ExtAttrs:
   573        - Name: Namespace
   574          Values:
   575            - chrome
   576            - management
   577  - File: webext/management.json
   578    WebextEvent:
   579      Name: onInstalled
   580      Args:
   581        - Name: info
   582          Type:
   583            Name: ExtensionInfo
   584            ExtAttrs:
   585              - Name: Namespace
   586                Values:
   587                  - chrome
   588                  - management
   589      Returns:
   590        - Name: undefined
   591      ExtAttrs:
   592        - Name: Namespace
   593          Values:
   594            - chrome
   595            - management
   596  - File: webext/management.json
   597    WebextEvent:
   598      Name: onUninstalled
   599      Args:
   600        - Name: id
   601          Type:
   602            Name: DOMString
   603      Returns:
   604        - Name: undefined
   605      ExtAttrs:
   606        - Name: Namespace
   607          Values:
   608            - chrome
   609            - management
   610  - File: webext/management.json
   611    WebextFunc:
   612      Name: setEnabled
   613      Args:
   614        - Name: id
   615          Type:
   616            Name: DOMString
   617        - Name: enabled
   618          Type:
   619            Name: boolean
   620      Returns:
   621        - Name: Promise
   622          Params:
   623            - Name: void
   624      ExtAttrs:
   625        - Name: Namespace
   626          Values:
   627            - chrome
   628            - management
   629  - File: webext/management.json
   630    WebextFunc:
   631      Name: setLaunchType
   632      Args:
   633        - Name: id
   634          Type:
   635            Name: DOMString
   636        - Name: launchType
   637          Type:
   638            Name: LaunchType
   639            ExtAttrs:
   640              - Name: Namespace
   641                Values:
   642                  - chrome
   643                  - management
   644      Returns:
   645        - Name: Promise
   646          Params:
   647            - Name: void
   648      ExtAttrs:
   649        - Name: Namespace
   650          Values:
   651            - chrome
   652            - management
   653  - File: webext/management.json
   654    WebextFunc:
   655      Name: uninstall
   656      Args:
   657        - Name: id
   658          Type:
   659            Name: DOMString
   660        - Name: options
   661          Optional: true
   662          Type:
   663            Name: UninstallOptions
   664            ExtAttrs:
   665              - Name: Namespace
   666                Values:
   667                  - chrome
   668                  - management
   669      Returns:
   670        - Name: Promise
   671          Params:
   672            - Name: void
   673      ExtAttrs:
   674        - Name: Namespace
   675          Values:
   676            - chrome
   677            - management
   678  - File: webext/management.json
   679    WebextFunc:
   680      Name: uninstallSelf
   681      Args:
   682        - Name: options
   683          Optional: true
   684          Type:
   685            Name: UninstallOptions
   686            ExtAttrs:
   687              - Name: Namespace
   688                Values:
   689                  - chrome
   690                  - management
   691      Returns:
   692        - Name: Promise
   693          Params:
   694            - Name: void
   695      ExtAttrs:
   696        - Name: Namespace
   697          Values:
   698            - chrome
   699            - management