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

     1  - File: webext/alarms.idl
     2    Dict:
     3      Name: Alarm
     4      ExtAttrs:
     5        - Name: Namespace
     6          Values:
     7            - chrome
     8            - alarms
     9      Fields:
    10        - Name: name
    11          Type:
    12            Name: DOMString
    13            ExtAttrs:
    14              - Name: Namespace
    15                Values:
    16                  - chrome
    17                  - alarms
    18          ExtAttrs:
    19            - Name: Namespace
    20              Values:
    21                - chrome
    22                - alarms
    23        - Name: scheduledTime
    24          Type:
    25            Name: double
    26            ExtAttrs:
    27              - Name: Namespace
    28                Values:
    29                  - chrome
    30                  - alarms
    31          ExtAttrs:
    32            - Name: Namespace
    33              Values:
    34                - chrome
    35                - alarms
    36        - Name: periodInMinutes
    37          Type:
    38            Name: double
    39            Nullable: true
    40            ExtAttrs:
    41              - Name: Namespace
    42                Values:
    43                  - chrome
    44                  - alarms
    45          ExtAttrs:
    46            - Name: Namespace
    47              Values:
    48                - chrome
    49                - alarms
    50  - File: webext/alarms.idl
    51    Callback:
    52      Name: AlarmCallback
    53      Args:
    54        - Name: alarm
    55          Optional: true
    56          Type:
    57            Name: Alarm
    58            ExtAttrs:
    59              - Name: Namespace
    60                Values:
    61                  - chrome
    62                  - alarms
    63          ExtAttrs:
    64            - Name: Namespace
    65              Values:
    66                - chrome
    67                - alarms
    68      Returns:
    69        - Name: void
    70          ExtAttrs:
    71            - Name: Namespace
    72              Values:
    73                - chrome
    74                - alarms
    75      ExtAttrs:
    76        - Name: Namespace
    77          Values:
    78            - chrome
    79            - alarms
    80  - File: webext/alarms.idl
    81    Dict:
    82      Name: AlarmCreateInfo
    83      ExtAttrs:
    84        - Name: Namespace
    85          Values:
    86            - chrome
    87            - alarms
    88      Fields:
    89        - Name: when
    90          Type:
    91            Name: double
    92            Nullable: true
    93            ExtAttrs:
    94              - Name: Namespace
    95                Values:
    96                  - chrome
    97                  - alarms
    98          ExtAttrs:
    99            - Name: Namespace
   100              Values:
   101                - chrome
   102                - alarms
   103        - Name: delayInMinutes
   104          Type:
   105            Name: double
   106            Nullable: true
   107            ExtAttrs:
   108              - Name: Namespace
   109                Values:
   110                  - chrome
   111                  - alarms
   112          ExtAttrs:
   113            - Name: Namespace
   114              Values:
   115                - chrome
   116                - alarms
   117        - Name: periodInMinutes
   118          Type:
   119            Name: double
   120            Nullable: true
   121            ExtAttrs:
   122              - Name: Namespace
   123                Values:
   124                  - chrome
   125                  - alarms
   126          ExtAttrs:
   127            - Name: Namespace
   128              Values:
   129                - chrome
   130                - alarms
   131  - File: webext/alarms.idl
   132    Callback:
   133      Name: AlarmListCallback
   134      Args:
   135        - Name: alarms
   136          Type:
   137            Name: sequence
   138            Params:
   139              - Name: Alarm
   140                ExtAttrs:
   141                  - Name: Namespace
   142                    Values:
   143                      - chrome
   144                      - alarms
   145            ExtAttrs:
   146              - Name: Namespace
   147                Values:
   148                  - chrome
   149                  - alarms
   150          ExtAttrs:
   151            - Name: Namespace
   152              Values:
   153                - chrome
   154                - alarms
   155      Returns:
   156        - Name: void
   157          ExtAttrs:
   158            - Name: Namespace
   159              Values:
   160                - chrome
   161                - alarms
   162      ExtAttrs:
   163        - Name: Namespace
   164          Values:
   165            - chrome
   166            - alarms
   167  - File: webext/alarms.idl
   168    Callback:
   169      Name: ClearCallback
   170      Args:
   171        - Name: wasCleared
   172          Type:
   173            Name: boolean
   174            ExtAttrs:
   175              - Name: Namespace
   176                Values:
   177                  - chrome
   178                  - alarms
   179          ExtAttrs:
   180            - Name: Namespace
   181              Values:
   182                - chrome
   183                - alarms
   184      Returns:
   185        - Name: void
   186          ExtAttrs:
   187            - Name: Namespace
   188              Values:
   189                - chrome
   190                - alarms
   191      ExtAttrs:
   192        - Name: Namespace
   193          Values:
   194            - chrome
   195            - alarms
   196  - File: webext/alarms.idl
   197    Callback:
   198      Name: VoidCallback
   199      Returns:
   200        - Name: void
   201          ExtAttrs:
   202            - Name: Namespace
   203              Values:
   204                - chrome
   205                - alarms
   206      ExtAttrs:
   207        - Name: Namespace
   208          Values:
   209            - chrome
   210            - alarms
   211  - File: webext/alarms.idl
   212    WebextFunc:
   213      Name: clear
   214      Modifier: static
   215      Args:
   216        - Name: name
   217          Optional: true
   218          Type:
   219            Name: DOMString
   220            ExtAttrs:
   221              - Name: Namespace
   222                Values:
   223                  - chrome
   224                  - alarms
   225          ExtAttrs:
   226            - Name: Namespace
   227              Values:
   228                - chrome
   229                - alarms
   230      Returns:
   231        - Name: Promise
   232          Params:
   233            - Name: boolean
   234              ExtAttrs:
   235                - Name: Namespace
   236                  Values:
   237                    - chrome
   238                    - alarms
   239      ExtAttrs:
   240        - Name: supportsPromises
   241        - Name: Namespace
   242          Values:
   243            - chrome
   244            - alarms
   245  - File: webext/alarms.idl
   246    WebextFunc:
   247      Name: clearAll
   248      Modifier: static
   249      Returns:
   250        - Name: Promise
   251          Params:
   252            - Name: boolean
   253              ExtAttrs:
   254                - Name: Namespace
   255                  Values:
   256                    - chrome
   257                    - alarms
   258      ExtAttrs:
   259        - Name: supportsPromises
   260        - Name: Namespace
   261          Values:
   262            - chrome
   263            - alarms
   264  - File: webext/alarms.idl
   265    WebextFunc:
   266      Name: create
   267      Modifier: static
   268      Args:
   269        - Name: name
   270          Optional: true
   271          Type:
   272            Name: DOMString
   273            ExtAttrs:
   274              - Name: Namespace
   275                Values:
   276                  - chrome
   277                  - alarms
   278          ExtAttrs:
   279            - Name: Namespace
   280              Values:
   281                - chrome
   282                - alarms
   283        - Name: alarmInfo
   284          Type:
   285            Name: AlarmCreateInfo
   286            ExtAttrs:
   287              - Name: Namespace
   288                Values:
   289                  - chrome
   290                  - alarms
   291          ExtAttrs:
   292            - Name: Namespace
   293              Values:
   294                - chrome
   295                - alarms
   296      Returns:
   297        - Name: Promise
   298          Params:
   299            - Name: void
   300      ExtAttrs:
   301        - Name: supportsPromises
   302        - Name: Namespace
   303          Values:
   304            - chrome
   305            - alarms
   306  - File: webext/alarms.idl
   307    WebextFunc:
   308      Name: get
   309      Modifier: static
   310      Args:
   311        - Name: name
   312          Optional: true
   313          Type:
   314            Name: DOMString
   315            ExtAttrs:
   316              - Name: Namespace
   317                Values:
   318                  - chrome
   319                  - alarms
   320          ExtAttrs:
   321            - Name: Namespace
   322              Values:
   323                - chrome
   324                - alarms
   325      Returns:
   326        - Name: Promise
   327          Params:
   328            - Name: Alarm
   329              ExtAttrs:
   330                - Name: Namespace
   331                  Values:
   332                    - chrome
   333                    - alarms
   334      ExtAttrs:
   335        - Name: supportsPromises
   336        - Name: Namespace
   337          Values:
   338            - chrome
   339            - alarms
   340  - File: webext/alarms.idl
   341    WebextFunc:
   342      Name: getAll
   343      Modifier: static
   344      Returns:
   345        - Name: Promise
   346          Params:
   347            - Name: sequence
   348              Params:
   349                - Name: Alarm
   350                  ExtAttrs:
   351                    - Name: Namespace
   352                      Values:
   353                        - chrome
   354                        - alarms
   355              ExtAttrs:
   356                - Name: Namespace
   357                  Values:
   358                    - chrome
   359                    - alarms
   360      ExtAttrs:
   361        - Name: supportsPromises
   362        - Name: Namespace
   363          Values:
   364            - chrome
   365            - alarms
   366  - File: webext/alarms.idl
   367    WebextEvent:
   368      Name: onAlarm
   369      Modifier: static
   370      Args:
   371        - Name: alarm
   372          Type:
   373            Name: Alarm
   374            ExtAttrs:
   375              - Name: Namespace
   376                Values:
   377                  - chrome
   378                  - alarms
   379          ExtAttrs:
   380            - Name: Namespace
   381              Values:
   382                - chrome
   383                - alarms
   384      Returns:
   385        - Name: void
   386          ExtAttrs:
   387            - Name: Namespace
   388              Values:
   389                - chrome
   390                - alarms
   391      ExtAttrs:
   392        - Name: Namespace
   393          Values:
   394            - chrome
   395            - alarms