Newer
Older
import { ApiError } from '@goofy-client/tech-shared';
import { Wiedervorlage } from '@goofy-client/wiedervorlage-shared';
import { Resource } from '@ngxp/rest';
export interface Command {

OZGCloud
committed
status: CommandStatus,
order: string
wiedervorlage: Wiedervorlage
}

OZGCloud
committed
export interface CommandResource extends Command, Resource { }
export enum CommandStatus {

OZGCloud
committed
FINISHED = 'FINISHED',
PENDING = 'PENDING',
REVOKED = 'REVOKED'
}
export interface CommandResourceWithError {
commandResource: CommandResource,
apiError: ApiError