portaki-cli 6.3.0

Portaki module CLI (portaki) — init, build, lint, test, and OCI publish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Typed surface / operation catalogs for this module.

use portaki_sdk::prelude::*;

define_surface_ids! {
    HOME_CARD = "home.card",
    HOST_MAIN = "main",
}

// Declaration sites — `#[query]`, `#[command]` — need the literal at expand time; use sites
// take these constants, so a renamed operation breaks at compile time rather than at runtime.
define_operation_names! {
    GET_CONFIG = "getConfig",
    UPDATE_CONFIG = "updateConfig",
}