Files
Pake/bin/types.ts
2022-12-21 19:42:23 +08:00

30 lines
606 B
TypeScript
Vendored
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export interface PakeCliOptions {
/** 应用名称 */
name?: string;
/** 应用icon */
icon: string;
/** 应用窗口宽度,默认 1200px */
width: number;
/** 应用窗口高度,默认 780px */
height: number;
/** 是否可以拖动默认true */
resizable: boolean;
/** 是否可以全屏,默认 false */
fullscreen: boolean;
/** 是否开启沉浸式头部,默认为 false 不开启 ƒ*/
transparent: boolean;
/** 调试模式,会输出更多日志 */
debug: boolean;
}
export interface PakeAppOptions extends PakeCliOptions {
identifier: string;
}