Make JSON-like command classes interfaces

This commit is contained in:
Kristóf Tóth 2018-05-30 14:10:32 +02:00
parent e77bd88963
commit b635993656
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;