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. // Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details. // All Rights Reserved. See LICENSE file for details.
export class ConsoleCommand { export interface ConsoleCommand {
command: string; command: string;
content?: string; content?: string;
showLiveLogs?: boolean; showLiveLogs?: boolean;

View File

@ -1,7 +1,7 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft. // Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details. // All Rights Reserved. See LICENSE file for details.
export class LayoutCommand { export interface LayoutCommand {
command: string; command: string;
layout?: string; layout?: string;
hide_messages?: boolean; hide_messages?: boolean;

View File

@ -1,7 +1,7 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft. // Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details. // All Rights Reserved. See LICENSE file for details.
export class ProcessCommand { export interface ProcessCommand {
command: string; command: string;
process_name: string; process_name: string;
error?: string; error?: string;

View File

@ -1,7 +1,7 @@
// Copyright (C) 2018 Avatao.com Innovative Learning Kft. // Copyright (C) 2018 Avatao.com Innovative Learning Kft.
// All Rights Reserved. See LICENSE file for details. // All Rights Reserved. See LICENSE file for details.
export class ProcessLogCommand { export interface ProcessLogCommand {
command: string; command: string;
stdout: string; stdout: string;
stderr: string; stderr: string;