Move FSMUpdate class to separate file

This commit is contained in:
Bálint Bokros 2018-02-01 16:38:56 +01:00
parent 246d0366eb
commit 11b004e3b7
2 changed files with 5 additions and 6 deletions

View File

@ -1,12 +1,7 @@
import { Injectable } from '@angular/core';
import { WebSocketService } from './websocket.service';
class FSMUpdate {
current_state: string;
valid_transitions: object;
}
import { FSMUpdate } from './fsmupdate';
@Injectable()
export class FSMUpdateService {

4
src/app/fsmupdate.ts Normal file
View File

@ -0,0 +1,4 @@
export class FSMUpdate {
current_state: string;
valid_transitions: object;
}