mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 14:12:55 +00:00 
			
		
		
		
	Make JSON-like command classes interfaces
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
 | 
			
		||||
// All Rights Reserved. See LICENSE file for details.
 | 
			
		||||
 | 
			
		||||
export class ConsoleCommand {
 | 
			
		||||
export interface ConsoleCommand {
 | 
			
		||||
  command: string;
 | 
			
		||||
  content?: string;
 | 
			
		||||
  showLiveLogs?: boolean;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
 | 
			
		||||
// All Rights Reserved. See LICENSE file for details.
 | 
			
		||||
 | 
			
		||||
export class LayoutCommand {
 | 
			
		||||
export interface LayoutCommand {
 | 
			
		||||
  command: string;
 | 
			
		||||
  layout?: string;
 | 
			
		||||
  hide_messages?: boolean;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
 | 
			
		||||
// All Rights Reserved. See LICENSE file for details.
 | 
			
		||||
 | 
			
		||||
export class ProcessCommand {
 | 
			
		||||
export interface ProcessCommand {
 | 
			
		||||
  command: string;
 | 
			
		||||
  process_name: string;
 | 
			
		||||
  error?: string;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
// Copyright (C) 2018 Avatao.com Innovative Learning Kft.
 | 
			
		||||
// All Rights Reserved. See LICENSE file for details.
 | 
			
		||||
 | 
			
		||||
export class ProcessLogCommand {
 | 
			
		||||
export interface ProcessLogCommand {
 | 
			
		||||
  command: string;
 | 
			
		||||
  stdout: string;
 | 
			
		||||
  stderr: string;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user