feat: 脚手架基本ok
This commit is contained in:
29
bin/types.ts
Normal file
29
bin/types.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
export interface PakeCliOptions {
|
||||
/** 应用名称 */
|
||||
name?: string;
|
||||
|
||||
/** 应用icon */
|
||||
icon: string;
|
||||
|
||||
/** 应用窗口宽度,默认 1280px */
|
||||
width: number;
|
||||
|
||||
/** 应用窗口高度,默认 800px */
|
||||
height: number;
|
||||
|
||||
/** 是否可以拖动,默认true */
|
||||
resizable: boolean;
|
||||
|
||||
/** 是否可以全屏,默认 false */
|
||||
fullscreen: boolean;
|
||||
|
||||
/** 是否开启沉浸式头部,默认为 false 不开启 ƒ*/
|
||||
transparent: boolean;
|
||||
|
||||
/** 调试模式,会输出更多日志 */
|
||||
debug: boolean;
|
||||
}
|
||||
|
||||
export interface PakeAppOptions extends PakeCliOptions {
|
||||
identifier: string;
|
||||
}
|
||||
Reference in New Issue
Block a user