mirror of
https://github.com/moghtech/komodo.git
synced 2026-02-12 23:18:38 -06:00
servers owners defaults to empty array
This commit is contained in:
1
cli/src/types.d.ts
vendored
1
cli/src/types.d.ts
vendored
@@ -17,6 +17,7 @@ export type CoreOrPeripheryConfig = {
|
||||
sysroot: string;
|
||||
port: number;
|
||||
restart: string;
|
||||
host?: string;
|
||||
};
|
||||
|
||||
export type StartConfig = {
|
||||
|
||||
@@ -7,6 +7,7 @@ export default function serverModel() {
|
||||
address: String,
|
||||
enabled: { type: Boolean, default: true },
|
||||
isCore: Boolean,
|
||||
owners: { type: [String], default: [] }
|
||||
});
|
||||
|
||||
return model("Server", schema);
|
||||
|
||||
Reference in New Issue
Block a user