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

     1  - File: webext/chrome/wallpaper.json
     2    Dict:
     3      Name: SetWallpaperArgDetails
     4      ExtAttrs:
     5        - Name: Namespace
     6          Values:
     7            - chrome
     8            - wallpaper
     9      Fields:
    10        - Name: data
    11          Type:
    12            Name: Uint8Array
    13          ExtAttrs:
    14            - Name: Namespace
    15              Values:
    16                - chrome
    17                - wallpaper
    18        - Name: filename
    19          Required: true
    20          Type:
    21            Name: DOMString
    22          ExtAttrs:
    23            - Name: Namespace
    24              Values:
    25                - chrome
    26                - wallpaper
    27        - Name: layout
    28          Required: true
    29          Type:
    30            Name: WallpaperLayout
    31            ExtAttrs:
    32              - Name: Namespace
    33                Values:
    34                  - chrome
    35                  - wallpaper
    36          ExtAttrs:
    37            - Name: Namespace
    38              Values:
    39                - chrome
    40                - wallpaper
    41        - Name: thumbnail
    42          Type:
    43            Name: boolean
    44          ExtAttrs:
    45            - Name: Namespace
    46              Values:
    47                - chrome
    48                - wallpaper
    49        - Name: url
    50          Type:
    51            Name: DOMString
    52          ExtAttrs:
    53            - Name: Namespace
    54              Values:
    55                - chrome
    56                - wallpaper
    57  - File: webext/chrome/wallpaper.json
    58    Enum:
    59      Name: WallpaperLayout
    60      Values:
    61        - STRETCH
    62        - CENTER
    63        - CENTER_CROPPED
    64      ExtAttrs:
    65        - Name: Namespace
    66          Values:
    67            - chrome
    68            - wallpaper
    69  - File: webext/chrome/wallpaper.json
    70    WebextFunc:
    71      Name: setWallpaper
    72      Args:
    73        - Name: details
    74          Type:
    75            Name: SetWallpaperArgDetails
    76            ExtAttrs:
    77              - Name: Namespace
    78                Values:
    79                  - chrome
    80                  - wallpaper
    81      Returns:
    82        - Name: Promise
    83          Params:
    84            - Name: Uint8Array
    85      ExtAttrs:
    86        - Name: Namespace
    87          Values:
    88            - chrome
    89            - wallpaper