mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:21:31 +00:00
Make JSON-like command classes interfaces
This commit is contained in:
parent
e77bd88963
commit
b635993656
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user