2
0
Fork 0
mirror of https://github.com/redhat-actions/push-to-registry.git synced 2025-06-27 16:25:53 +00:00
podman-push-to-registry/src/types.ts
Luca Stocchi 9a0a0927cd
first implementation push to quay action
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2020-11-07 13:04:04 +01:00

11 lines
No EOL
259 B
TypeScript

export interface CommandSucceeeded {
readonly succeeded: true;
readonly output?: string;
}
export interface CommandFailed {
readonly succeeded: false;
readonly reason?: string;
}
export type CommandResult = CommandFailed | CommandSucceeeded;