mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 02:52:55 +00:00 
			
		
		
		
	Move FSMUpdate class to separate file
This commit is contained in:
		@@ -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;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user