temp 更新
This commit is contained in:
@@ -11,7 +11,7 @@ export interface AppData {
|
||||
orgs?: string[];
|
||||
};
|
||||
}
|
||||
export type AppType = 'web-single' | 'web-module';
|
||||
export type AppType = 'web-single' | 'web-module'; // 可以做到网页代理
|
||||
export enum AppStatus {
|
||||
running = 'running',
|
||||
stop = 'stop',
|
||||
@@ -32,6 +32,8 @@ export class AppModel extends Model {
|
||||
declare key: string;
|
||||
declare type: string;
|
||||
declare uid: string;
|
||||
declare pid: string;
|
||||
declare proxy: boolean;
|
||||
declare user: string;
|
||||
declare status: string;
|
||||
}
|
||||
@@ -79,6 +81,14 @@ AppModel.init(
|
||||
type: DataTypes.UUID,
|
||||
allowNull: true,
|
||||
},
|
||||
pid: {
|
||||
type: DataTypes.UUID,
|
||||
allowNull: true,
|
||||
},
|
||||
proxy: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false,
|
||||
},
|
||||
user: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
|
||||
Reference in New Issue
Block a user