#import "modules/std.sx";

// A versioned build of an app, published to one channel. `version` is the
// human semver string; `build` is the monotonic build number. `channel`
// names the Channel it targets. Timestamps are unix epoch seconds;
// `published_at = 0` means the release is still a draft (not yet published).
Release :: struct {
    id: string;
    app_id: string;
    version: string;
    build: i64;
    channel: string;
    notes: string;
    created_by: string;
    created_at: i64;
    published_at: i64;
}
