Skip to content
Snippets Groups Projects
command.model.ts 713 B
Newer Older
  • Learn to ignore specific revisions
  • import { ListResource } from '@goofy-client/tech-shared';
    
    export interface CreateCommand {
    
    }
    
    export interface Command extends CreateCommand {
    
    	createdAt: Date,
    	createdByName: string,
    
    	finishedAt: Date,
    	errorMessage: string
    
    export interface CommandResource extends Command, Resource { }
    
    
    export interface CommandListResource extends ListResource { }
    
    
    	REVOKED = 'REVOKED',
    	ERROR = 'ERROR'
    }
    
    
    export enum CommandOrder {
    	CREATE_ATTACHED_ITEM = 'CREATE_ATTACHED_ITEM',
    	UPDATE_ATTACHED_ITEM = 'UPDATE_ATTACHED_ITEM'
    }