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

     1  - File: webext/chrome/notifications.idl
     2    Callback:
     3      Name: ClearCallback
     4      Args:
     5        - Name: wasCleared
     6          Type:
     7            Name: boolean
     8            ExtAttrs:
     9              - Name: Namespace
    10                Values:
    11                  - chrome
    12                  - notifications
    13          ExtAttrs:
    14            - Name: Namespace
    15              Values:
    16                - chrome
    17                - notifications
    18      Returns:
    19        - Name: void
    20          ExtAttrs:
    21            - Name: Namespace
    22              Values:
    23                - chrome
    24                - notifications
    25      ExtAttrs:
    26        - Name: Namespace
    27          Values:
    28            - chrome
    29            - notifications
    30  - File: webext/chrome/notifications.idl
    31    Callback:
    32      Name: CreateCallback
    33      Args:
    34        - Name: notificationId
    35          Type:
    36            Name: DOMString
    37            ExtAttrs:
    38              - Name: Namespace
    39                Values:
    40                  - chrome
    41                  - notifications
    42          ExtAttrs:
    43            - Name: Namespace
    44              Values:
    45                - chrome
    46                - notifications
    47      Returns:
    48        - Name: void
    49          ExtAttrs:
    50            - Name: Namespace
    51              Values:
    52                - chrome
    53                - notifications
    54      ExtAttrs:
    55        - Name: Namespace
    56          Values:
    57            - chrome
    58            - notifications
    59  - File: webext/chrome/notifications.idl
    60    Callback:
    61      Name: GetAllCallback
    62      Args:
    63        - Name: notifications
    64          Type:
    65            Name: object
    66            ExtAttrs:
    67              - Name: Namespace
    68                Values:
    69                  - chrome
    70                  - notifications
    71          ExtAttrs:
    72            - Name: Namespace
    73              Values:
    74                - chrome
    75                - notifications
    76      Returns:
    77        - Name: void
    78          ExtAttrs:
    79            - Name: Namespace
    80              Values:
    81                - chrome
    82                - notifications
    83      ExtAttrs:
    84        - Name: Namespace
    85          Values:
    86            - chrome
    87            - notifications
    88  - File: webext/chrome/notifications.idl
    89    Dict:
    90      Name: NotificationBitmap
    91      ExtAttrs:
    92        - Name: Namespace
    93          Values:
    94            - chrome
    95            - notifications
    96        - Name: nodoc
    97      Fields:
    98        - Name: width
    99          Type:
   100            Name: long
   101            ExtAttrs:
   102              - Name: Namespace
   103                Values:
   104                  - chrome
   105                  - notifications
   106          ExtAttrs:
   107            - Name: Namespace
   108              Values:
   109                - chrome
   110                - notifications
   111        - Name: height
   112          Type:
   113            Name: long
   114            ExtAttrs:
   115              - Name: Namespace
   116                Values:
   117                  - chrome
   118                  - notifications
   119          ExtAttrs:
   120            - Name: Namespace
   121              Values:
   122                - chrome
   123                - notifications
   124        - Name: data
   125          Type:
   126            Name: ArrayBuffer
   127            Nullable: true
   128            ExtAttrs:
   129              - Name: Namespace
   130                Values:
   131                  - chrome
   132                  - notifications
   133          ExtAttrs:
   134            - Name: Namespace
   135              Values:
   136                - chrome
   137                - notifications
   138  - File: webext/chrome/notifications.idl
   139    Dict:
   140      Name: NotificationButton
   141      ExtAttrs:
   142        - Name: Namespace
   143          Values:
   144            - chrome
   145            - notifications
   146      Fields:
   147        - Name: title
   148          Type:
   149            Name: DOMString
   150            ExtAttrs:
   151              - Name: Namespace
   152                Values:
   153                  - chrome
   154                  - notifications
   155          ExtAttrs:
   156            - Name: Namespace
   157              Values:
   158                - chrome
   159                - notifications
   160        - Name: iconUrl
   161          Type:
   162            Name: DOMString
   163            Nullable: true
   164            ExtAttrs:
   165              - Name: Namespace
   166                Values:
   167                  - chrome
   168                  - notifications
   169          ExtAttrs:
   170            - Name: deprecated
   171              Values:
   172                - Button icons not visible for Mac OS X users.
   173            - Name: Namespace
   174              Values:
   175                - chrome
   176                - notifications
   177        - Name: iconBitmap
   178          Type:
   179            Name: NotificationBitmap
   180            Nullable: true
   181            ExtAttrs:
   182              - Name: Namespace
   183                Values:
   184                  - chrome
   185                  - notifications
   186          ExtAttrs:
   187            - Name: nodoc
   188            - Name: Namespace
   189              Values:
   190                - chrome
   191                - notifications
   192  - File: webext/chrome/notifications.idl
   193    Dict:
   194      Name: NotificationItem
   195      ExtAttrs:
   196        - Name: Namespace
   197          Values:
   198            - chrome
   199            - notifications
   200      Fields:
   201        - Name: title
   202          Type:
   203            Name: DOMString
   204            ExtAttrs:
   205              - Name: Namespace
   206                Values:
   207                  - chrome
   208                  - notifications
   209          ExtAttrs:
   210            - Name: Namespace
   211              Values:
   212                - chrome
   213                - notifications
   214        - Name: message
   215          Type:
   216            Name: DOMString
   217            ExtAttrs:
   218              - Name: Namespace
   219                Values:
   220                  - chrome
   221                  - notifications
   222          ExtAttrs:
   223            - Name: Namespace
   224              Values:
   225                - chrome
   226                - notifications
   227  - File: webext/chrome/notifications.idl
   228    Dict:
   229      Name: NotificationOptions
   230      ExtAttrs:
   231        - Name: Namespace
   232          Values:
   233            - chrome
   234            - notifications
   235      Fields:
   236        - Name: type
   237          Type:
   238            Name: TemplateType
   239            Nullable: true
   240            ExtAttrs:
   241              - Name: Namespace
   242                Values:
   243                  - chrome
   244                  - notifications
   245          ExtAttrs:
   246            - Name: Namespace
   247              Values:
   248                - chrome
   249                - notifications
   250        - Name: iconUrl
   251          Type:
   252            Name: DOMString
   253            Nullable: true
   254            ExtAttrs:
   255              - Name: Namespace
   256                Values:
   257                  - chrome
   258                  - notifications
   259          ExtAttrs:
   260            - Name: Namespace
   261              Values:
   262                - chrome
   263                - notifications
   264        - Name: iconBitmap
   265          Type:
   266            Name: NotificationBitmap
   267            Nullable: true
   268            ExtAttrs:
   269              - Name: Namespace
   270                Values:
   271                  - chrome
   272                  - notifications
   273          ExtAttrs:
   274            - Name: nodoc
   275            - Name: Namespace
   276              Values:
   277                - chrome
   278                - notifications
   279        - Name: appIconMaskUrl
   280          Type:
   281            Name: DOMString
   282            Nullable: true
   283            ExtAttrs:
   284              - Name: Namespace
   285                Values:
   286                  - chrome
   287                  - notifications
   288          ExtAttrs:
   289            - Name: deprecated
   290              Values:
   291                - The app icon mask is not visible for Mac OS X users.
   292            - Name: Namespace
   293              Values:
   294                - chrome
   295                - notifications
   296        - Name: appIconMaskBitmap
   297          Type:
   298            Name: NotificationBitmap
   299            Nullable: true
   300            ExtAttrs:
   301              - Name: Namespace
   302                Values:
   303                  - chrome
   304                  - notifications
   305          ExtAttrs:
   306            - Name: nodoc
   307            - Name: Namespace
   308              Values:
   309                - chrome
   310                - notifications
   311        - Name: title
   312          Type:
   313            Name: DOMString
   314            Nullable: true
   315            ExtAttrs:
   316              - Name: Namespace
   317                Values:
   318                  - chrome
   319                  - notifications
   320          ExtAttrs:
   321            - Name: Namespace
   322              Values:
   323                - chrome
   324                - notifications
   325        - Name: message
   326          Type:
   327            Name: DOMString
   328            Nullable: true
   329            ExtAttrs:
   330              - Name: Namespace
   331                Values:
   332                  - chrome
   333                  - notifications
   334          ExtAttrs:
   335            - Name: Namespace
   336              Values:
   337                - chrome
   338                - notifications
   339        - Name: contextMessage
   340          Type:
   341            Name: DOMString
   342            Nullable: true
   343            ExtAttrs:
   344              - Name: Namespace
   345                Values:
   346                  - chrome
   347                  - notifications
   348          ExtAttrs:
   349            - Name: Namespace
   350              Values:
   351                - chrome
   352                - notifications
   353        - Name: priority
   354          Type:
   355            Name: long
   356            Nullable: true
   357            ExtAttrs:
   358              - Name: Namespace
   359                Values:
   360                  - chrome
   361                  - notifications
   362          ExtAttrs:
   363            - Name: Namespace
   364              Values:
   365                - chrome
   366                - notifications
   367        - Name: eventTime
   368          Type:
   369            Name: double
   370            Nullable: true
   371            ExtAttrs:
   372              - Name: Namespace
   373                Values:
   374                  - chrome
   375                  - notifications
   376          ExtAttrs:
   377            - Name: Namespace
   378              Values:
   379                - chrome
   380                - notifications
   381        - Name: buttons
   382          Type:
   383            Name: sequence
   384            Params:
   385              - Name: NotificationButton
   386                ExtAttrs:
   387                  - Name: Namespace
   388                    Values:
   389                      - chrome
   390                      - notifications
   391            Nullable: true
   392            ExtAttrs:
   393              - Name: Namespace
   394                Values:
   395                  - chrome
   396                  - notifications
   397          ExtAttrs:
   398            - Name: Namespace
   399              Values:
   400                - chrome
   401                - notifications
   402        - Name: expandedMessage
   403          Type:
   404            Name: DOMString
   405            Nullable: true
   406            ExtAttrs:
   407              - Name: Namespace
   408                Values:
   409                  - chrome
   410                  - notifications
   411          ExtAttrs:
   412            - Name: nodoc
   413            - Name: Namespace
   414              Values:
   415                - chrome
   416                - notifications
   417        - Name: imageUrl
   418          Type:
   419            Name: DOMString
   420            Nullable: true
   421            ExtAttrs:
   422              - Name: Namespace
   423                Values:
   424                  - chrome
   425                  - notifications
   426          ExtAttrs:
   427            - Name: deprecated
   428              Values:
   429                - The image is not visible for Mac OS X users.
   430            - Name: Namespace
   431              Values:
   432                - chrome
   433                - notifications
   434        - Name: imageBitmap
   435          Type:
   436            Name: NotificationBitmap
   437            Nullable: true
   438            ExtAttrs:
   439              - Name: Namespace
   440                Values:
   441                  - chrome
   442                  - notifications
   443          ExtAttrs:
   444            - Name: nodoc
   445            - Name: Namespace
   446              Values:
   447                - chrome
   448                - notifications
   449        - Name: items
   450          Type:
   451            Name: sequence
   452            Params:
   453              - Name: NotificationItem
   454                ExtAttrs:
   455                  - Name: Namespace
   456                    Values:
   457                      - chrome
   458                      - notifications
   459            Nullable: true
   460            ExtAttrs:
   461              - Name: Namespace
   462                Values:
   463                  - chrome
   464                  - notifications
   465          ExtAttrs:
   466            - Name: Namespace
   467              Values:
   468                - chrome
   469                - notifications
   470        - Name: progress
   471          Type:
   472            Name: long
   473            Nullable: true
   474            ExtAttrs:
   475              - Name: Namespace
   476                Values:
   477                  - chrome
   478                  - notifications
   479          ExtAttrs:
   480            - Name: Namespace
   481              Values:
   482                - chrome
   483                - notifications
   484        - Name: isClickable
   485          Type:
   486            Name: boolean
   487            Nullable: true
   488            ExtAttrs:
   489              - Name: Namespace
   490                Values:
   491                  - chrome
   492                  - notifications
   493          ExtAttrs:
   494            - Name: deprecated
   495              Values:
   496                - This UI hint is ignored as of Chrome 67
   497            - Name: Namespace
   498              Values:
   499                - chrome
   500                - notifications
   501        - Name: requireInteraction
   502          Type:
   503            Name: boolean
   504            Nullable: true
   505            ExtAttrs:
   506              - Name: Namespace
   507                Values:
   508                  - chrome
   509                  - notifications
   510          ExtAttrs:
   511            - Name: Namespace
   512              Values:
   513                - chrome
   514                - notifications
   515        - Name: silent
   516          Type:
   517            Name: boolean
   518            Nullable: true
   519            ExtAttrs:
   520              - Name: Namespace
   521                Values:
   522                  - chrome
   523                  - notifications
   524          ExtAttrs:
   525            - Name: Namespace
   526              Values:
   527                - chrome
   528                - notifications
   529  - File: webext/chrome/notifications.idl
   530    Enum:
   531      Name: PermissionLevel
   532      Values:
   533        - granted
   534        - denied
   535      ExtAttrs:
   536        - Name: Namespace
   537          Values:
   538            - chrome
   539            - notifications
   540  - File: webext/chrome/notifications.idl
   541    Callback:
   542      Name: PermissionLevelCallback
   543      Args:
   544        - Name: level
   545          Type:
   546            Name: PermissionLevel
   547            ExtAttrs:
   548              - Name: Namespace
   549                Values:
   550                  - chrome
   551                  - notifications
   552          ExtAttrs:
   553            - Name: Namespace
   554              Values:
   555                - chrome
   556                - notifications
   557      Returns:
   558        - Name: void
   559          ExtAttrs:
   560            - Name: Namespace
   561              Values:
   562                - chrome
   563                - notifications
   564      ExtAttrs:
   565        - Name: Namespace
   566          Values:
   567            - chrome
   568            - notifications
   569  - File: webext/chrome/notifications.idl
   570    Enum:
   571      Name: TemplateType
   572      Values:
   573        - basic
   574        - image
   575        - list
   576        - progress
   577      ExtAttrs:
   578        - Name: Namespace
   579          Values:
   580            - chrome
   581            - notifications
   582  - File: webext/chrome/notifications.idl
   583    Callback:
   584      Name: UpdateCallback
   585      Args:
   586        - Name: wasUpdated
   587          Type:
   588            Name: boolean
   589            ExtAttrs:
   590              - Name: Namespace
   591                Values:
   592                  - chrome
   593                  - notifications
   594          ExtAttrs:
   595            - Name: Namespace
   596              Values:
   597                - chrome
   598                - notifications
   599      Returns:
   600        - Name: void
   601          ExtAttrs:
   602            - Name: Namespace
   603              Values:
   604                - chrome
   605                - notifications
   606      ExtAttrs:
   607        - Name: Namespace
   608          Values:
   609            - chrome
   610            - notifications
   611  - File: webext/chrome/notifications.idl
   612    WebextFunc:
   613      Name: clear
   614      Modifier: static
   615      Args:
   616        - Name: notificationId
   617          Type:
   618            Name: DOMString
   619            ExtAttrs:
   620              - Name: Namespace
   621                Values:
   622                  - chrome
   623                  - notifications
   624          ExtAttrs:
   625            - Name: Namespace
   626              Values:
   627                - chrome
   628                - notifications
   629      Returns:
   630        - Name: Promise
   631          Params:
   632            - Name: boolean
   633              ExtAttrs:
   634                - Name: Namespace
   635                  Values:
   636                    - chrome
   637                    - notifications
   638      ExtAttrs:
   639        - Name: supportsPromises
   640        - Name: Namespace
   641          Values:
   642            - chrome
   643            - notifications
   644  - File: webext/chrome/notifications.idl
   645    WebextFunc:
   646      Name: create
   647      Modifier: static
   648      Args:
   649        - Name: notificationId
   650          Optional: true
   651          Type:
   652            Name: DOMString
   653            ExtAttrs:
   654              - Name: Namespace
   655                Values:
   656                  - chrome
   657                  - notifications
   658          ExtAttrs:
   659            - Name: Namespace
   660              Values:
   661                - chrome
   662                - notifications
   663        - Name: options
   664          Type:
   665            Name: NotificationOptions
   666            ExtAttrs:
   667              - Name: Namespace
   668                Values:
   669                  - chrome
   670                  - notifications
   671          ExtAttrs:
   672            - Name: Namespace
   673              Values:
   674                - chrome
   675                - notifications
   676      Returns:
   677        - Name: Promise
   678          Params:
   679            - Name: DOMString
   680              ExtAttrs:
   681                - Name: Namespace
   682                  Values:
   683                    - chrome
   684                    - notifications
   685      ExtAttrs:
   686        - Name: supportsPromises
   687        - Name: Namespace
   688          Values:
   689            - chrome
   690            - notifications
   691  - File: webext/chrome/notifications.idl
   692    WebextFunc:
   693      Name: getAll
   694      Modifier: static
   695      Returns:
   696        - Name: Promise
   697          Params:
   698            - Name: object
   699              ExtAttrs:
   700                - Name: Namespace
   701                  Values:
   702                    - chrome
   703                    - notifications
   704      ExtAttrs:
   705        - Name: supportsPromises
   706        - Name: Namespace
   707          Values:
   708            - chrome
   709            - notifications
   710  - File: webext/chrome/notifications.idl
   711    WebextFunc:
   712      Name: getPermissionLevel
   713      Modifier: static
   714      Returns:
   715        - Name: Promise
   716          Params:
   717            - Name: PermissionLevel
   718              ExtAttrs:
   719                - Name: Namespace
   720                  Values:
   721                    - chrome
   722                    - notifications
   723      ExtAttrs:
   724        - Name: supportsPromises
   725        - Name: Namespace
   726          Values:
   727            - chrome
   728            - notifications
   729  - File: webext/chrome/notifications.idl
   730    WebextEvent:
   731      Name: onButtonClicked
   732      Modifier: static
   733      Args:
   734        - Name: notificationId
   735          Type:
   736            Name: DOMString
   737            ExtAttrs:
   738              - Name: Namespace
   739                Values:
   740                  - chrome
   741                  - notifications
   742          ExtAttrs:
   743            - Name: Namespace
   744              Values:
   745                - chrome
   746                - notifications
   747        - Name: buttonIndex
   748          Type:
   749            Name: long
   750            ExtAttrs:
   751              - Name: Namespace
   752                Values:
   753                  - chrome
   754                  - notifications
   755          ExtAttrs:
   756            - Name: Namespace
   757              Values:
   758                - chrome
   759                - notifications
   760      Returns:
   761        - Name: void
   762          ExtAttrs:
   763            - Name: Namespace
   764              Values:
   765                - chrome
   766                - notifications
   767      ExtAttrs:
   768        - Name: Namespace
   769          Values:
   770            - chrome
   771            - notifications
   772  - File: webext/chrome/notifications.idl
   773    WebextEvent:
   774      Name: onClicked
   775      Modifier: static
   776      Args:
   777        - Name: notificationId
   778          Type:
   779            Name: DOMString
   780            ExtAttrs:
   781              - Name: Namespace
   782                Values:
   783                  - chrome
   784                  - notifications
   785          ExtAttrs:
   786            - Name: Namespace
   787              Values:
   788                - chrome
   789                - notifications
   790      Returns:
   791        - Name: void
   792          ExtAttrs:
   793            - Name: Namespace
   794              Values:
   795                - chrome
   796                - notifications
   797      ExtAttrs:
   798        - Name: Namespace
   799          Values:
   800            - chrome
   801            - notifications
   802  - File: webext/chrome/notifications.idl
   803    WebextEvent:
   804      Name: onClosed
   805      Modifier: static
   806      Args:
   807        - Name: notificationId
   808          Type:
   809            Name: DOMString
   810            ExtAttrs:
   811              - Name: Namespace
   812                Values:
   813                  - chrome
   814                  - notifications
   815          ExtAttrs:
   816            - Name: Namespace
   817              Values:
   818                - chrome
   819                - notifications
   820        - Name: byUser
   821          Type:
   822            Name: boolean
   823            ExtAttrs:
   824              - Name: Namespace
   825                Values:
   826                  - chrome
   827                  - notifications
   828          ExtAttrs:
   829            - Name: Namespace
   830              Values:
   831                - chrome
   832                - notifications
   833      Returns:
   834        - Name: void
   835          ExtAttrs:
   836            - Name: Namespace
   837              Values:
   838                - chrome
   839                - notifications
   840      ExtAttrs:
   841        - Name: Namespace
   842          Values:
   843            - chrome
   844            - notifications
   845  - File: webext/chrome/notifications.idl
   846    WebextEvent:
   847      Name: onPermissionLevelChanged
   848      Modifier: static
   849      Args:
   850        - Name: level
   851          Type:
   852            Name: PermissionLevel
   853            ExtAttrs:
   854              - Name: Namespace
   855                Values:
   856                  - chrome
   857                  - notifications
   858          ExtAttrs:
   859            - Name: Namespace
   860              Values:
   861                - chrome
   862                - notifications
   863      Returns:
   864        - Name: void
   865          ExtAttrs:
   866            - Name: Namespace
   867              Values:
   868                - chrome
   869                - notifications
   870      ExtAttrs:
   871        - Name: Namespace
   872          Values:
   873            - chrome
   874            - notifications
   875  - File: webext/chrome/notifications.idl
   876    WebextEvent:
   877      Name: onShowSettings
   878      Modifier: static
   879      Returns:
   880        - Name: void
   881          ExtAttrs:
   882            - Name: Namespace
   883              Values:
   884                - chrome
   885                - notifications
   886      ExtAttrs:
   887        - Name: deprecated
   888          Values:
   889            - Custom notification settings button is no longer supported.
   890        - Name: Namespace
   891          Values:
   892            - chrome
   893            - notifications
   894  - File: webext/chrome/notifications.idl
   895    WebextFunc:
   896      Name: update
   897      Modifier: static
   898      Args:
   899        - Name: notificationId
   900          Type:
   901            Name: DOMString
   902            ExtAttrs:
   903              - Name: Namespace
   904                Values:
   905                  - chrome
   906                  - notifications
   907          ExtAttrs:
   908            - Name: Namespace
   909              Values:
   910                - chrome
   911                - notifications
   912        - Name: options
   913          Type:
   914            Name: NotificationOptions
   915            ExtAttrs:
   916              - Name: Namespace
   917                Values:
   918                  - chrome
   919                  - notifications
   920          ExtAttrs:
   921            - Name: Namespace
   922              Values:
   923                - chrome
   924                - notifications
   925      Returns:
   926        - Name: Promise
   927          Params:
   928            - Name: boolean
   929              ExtAttrs:
   930                - Name: Namespace
   931                  Values:
   932                    - chrome
   933                    - notifications
   934      ExtAttrs:
   935        - Name: supportsPromises
   936        - Name: Namespace
   937          Values:
   938            - chrome
   939            - notifications