2024-05-06 21:12:08 +03:00
|
|
|
interface homepage-sys-api-v0 {
|
|
|
|
/// The request format to add or remove an app from the homepage. You must have messaging
|
|
|
|
/// access to `homepage:homepage:sys` in order to perform this. Serialize using serde_json.
|
|
|
|
variant homepage-request {
|
|
|
|
/// the package and process name will come from request source.
|
|
|
|
/// the path will automatically have the process_id prepended.
|
|
|
|
/// the icon is a base64 encoded image.
|
|
|
|
add(add-request),
|
|
|
|
remove,
|
|
|
|
}
|
|
|
|
|
2024-05-07 02:48:23 +03:00
|
|
|
record add-request {
|
2024-05-06 21:12:08 +03:00
|
|
|
label: string,
|
2024-05-07 02:48:23 +03:00
|
|
|
icon: string,
|
|
|
|
path: string,
|
2024-05-06 21:12:08 +03:00
|
|
|
}
|
|
|
|
}
|