Skip to main content

objectiveai_sdk/cli/output/notification/
published.rs

1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3
4/// Result of `<resource> publish`. The SHA identifies the resulting
5/// commit on the local filesystem repo.
6///
7/// Wire: `{"type":"notification","sha":"<commit-sha>"}`.
8#[derive(Serialize, Deserialize, Debug, Clone, JsonSchema)]
9#[schemars(rename = "cli.output.notification.Published")]
10pub struct Published {
11    pub sha: String,
12}