mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 02:51:57 +00:00
Move FSMUpdate class to separate file
This commit is contained in:
parent
246d0366eb
commit
11b004e3b7
@ -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
4
src/app/fsmupdate.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export class FSMUpdate {
|
||||
current_state: string;
|
||||
valid_transitions: object;
|
||||
}
|
Loading…
Reference in New Issue
Block a user