mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 05:01:56 +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 { Injectable } from '@angular/core';
|
||||||
import { WebSocketService } from './websocket.service';
|
import { WebSocketService } from './websocket.service';
|
||||||
|
|
||||||
|
import { FSMUpdate } from './fsmupdate';
|
||||||
class FSMUpdate {
|
|
||||||
current_state: string;
|
|
||||||
valid_transitions: object;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class FSMUpdateService {
|
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