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

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