mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 11:36:05 +00:00
* refactor: app event bus * fix: use messagepack + cleanup * fix: use postcard * fix: lint * fix: import gate * fix: prettierignore + lint * fix: lint * fix: rev
13 lines
1.3 KiB
TypeScript
13 lines
1.3 KiB
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { CommandPayload } from "./CommandPayload";
|
|
import type { FriendPayload } from "./FriendPayload";
|
|
import type { InstallJobSnapshot } from "./InstallJobSnapshot";
|
|
import type { InstanceBulkUpdateProgressPayload } from "./InstanceBulkUpdateProgressPayload";
|
|
import type { InstancePayload } from "./InstancePayload";
|
|
import type { LoadingPayload } from "./LoadingPayload";
|
|
import type { LogPayload } from "./LogPayload";
|
|
import type { ProcessPayload } from "./ProcessPayload";
|
|
import type { WarningPayload } from "./WarningPayload";
|
|
|
|
export type AppEvent = { "type": "loading", "payload": LoadingPayload } | { "type": "process", "payload": ProcessPayload } | { "type": "instance", "payload": InstancePayload } | { "type": "instance_bulk_update_progress", "payload": InstanceBulkUpdateProgressPayload } | { "type": "install_job", "payload": InstallJobSnapshot } | { "type": "command", "payload": CommandPayload } | { "type": "warning", "payload": WarningPayload } | { "type": "friend", "payload": FriendPayload } | { "type": "notification", "payload": unknown } | { "type": "log", "payload": LogPayload } | { "type": "ads_consent_required", "payload": boolean };
|