1
This commit is contained in:
@@ -1,35 +1,110 @@
|
||||
/**
|
||||
* 内置应用清单接口
|
||||
*/
|
||||
/**
|
||||
* 内置应用清单接口
|
||||
*/
|
||||
export interface InternalAppManifest {
|
||||
/**
|
||||
* 应用唯一标识符
|
||||
*/
|
||||
id: string
|
||||
/**
|
||||
* 应用名称
|
||||
*/
|
||||
name: string
|
||||
/**
|
||||
* 应用版本号
|
||||
*/
|
||||
version: string
|
||||
/**
|
||||
* 应用描述信息
|
||||
*/
|
||||
description: string
|
||||
/**
|
||||
* 应用作者
|
||||
*/
|
||||
author: string
|
||||
/**
|
||||
* 应用图标
|
||||
*/
|
||||
icon: string
|
||||
/**
|
||||
* 应用所需权限列表
|
||||
*/
|
||||
permissions: string[]
|
||||
/**
|
||||
* 窗体配置信息
|
||||
*/
|
||||
window: {
|
||||
/**
|
||||
* 窗体宽度
|
||||
*/
|
||||
width: number
|
||||
/**
|
||||
* 窗体高度
|
||||
*/
|
||||
height: number
|
||||
/**
|
||||
* 窗体最小宽度
|
||||
*/
|
||||
minWidth?: number
|
||||
/**
|
||||
* 窗体最小高度
|
||||
*/
|
||||
minHeight?: number
|
||||
/**
|
||||
* 窗体最大宽度
|
||||
*/
|
||||
maxWidth?: number
|
||||
/**
|
||||
* 窗体最大高度
|
||||
*/
|
||||
maxHeight?: number
|
||||
/**
|
||||
* 是否可调整大小
|
||||
*/
|
||||
resizable?: boolean
|
||||
/**
|
||||
* 是否可最小化
|
||||
*/
|
||||
minimizable?: boolean
|
||||
/**
|
||||
* 是否可最大化
|
||||
*/
|
||||
maximizable?: boolean
|
||||
/**
|
||||
* 是否可关闭
|
||||
*/
|
||||
closable?: boolean
|
||||
}
|
||||
/**
|
||||
* 应用分类
|
||||
*/
|
||||
category?: string
|
||||
/**
|
||||
* 应用关键字列表
|
||||
*/
|
||||
keywords?: string[]
|
||||
}
|
||||
|
||||
/**
|
||||
* 应用注册信息
|
||||
*/
|
||||
/**
|
||||
* 应用注册信息
|
||||
*/
|
||||
export interface AppRegistration {
|
||||
/**
|
||||
* 应用清单信息
|
||||
*/
|
||||
manifest: InternalAppManifest
|
||||
/**
|
||||
* Vue组件
|
||||
*/
|
||||
component: any // Vue组件
|
||||
/**
|
||||
* 是否为内置应用
|
||||
*/
|
||||
isBuiltIn: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user