Skip to content
Snippets Groups Projects
command.model.ts 523 B
Newer Older
  • Learn to ignore specific revisions
  • import { ApiError } from '@goofy-client/tech-shared';
    
    import { Wiedervorlage } from '@goofy-client/wiedervorlage-shared';
    
    import { Resource } from '@ngxp/rest';
    
    export interface Command {
    
    export interface CommandResource extends Command, Resource { }
    
    export enum CommandStatus {
    
    	FINISHED = 'FINISHED',
    	PENDING = 'PENDING',
    	REVOKED = 'REVOKED'
    
    export interface CommandResourceWithError {
    
    	commandResource: CommandResource,
    	apiError: ApiError