finish basic autocraft for create store

This commit is contained in:
2025-10-07 22:15:41 +08:00
parent c8eeb4f354
commit d3cbc15450
26 changed files with 3386 additions and 0 deletions

16
types/cc/shell/completion.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
/** @noSelfInFile **/
/** @noResolution **/
declare module "cc.shell.completion" {
export function file(shell: Object|LuaTable, text: string): string[];
export function dir(shell: Object|LuaTable, text: string): string[];
export function dirOrFile(shell: Object|LuaTable, text: string, previous: string[], add_space?: boolean): string[];
export function program(shell: Object|LuaTable, text: string): string[];
export function programWithArgs(shell: Object|LuaTable, text: string, previous: string[], starting: number): string[];
export function help(shell: Object|LuaTable, text: string, previous: string[]): string[];
export function choice(shell: Object|LuaTable, text: string, previous: string[], choices: string[], add_space?: boolean): string[];
export function peripheral(shell: Object|LuaTable, text: string, previous: string[], add_space?: boolean): string[];
export function side(shell: Object|LuaTable, text: string, previous: string[], add_space?: boolean): string[];
export function setting(shell: Object|LuaTable, text: string, previous: string[], add_space?: boolean): string[];
export function command(shell: Object|LuaTable, text: string, previous: string[], add_space?: boolean): string[];
export function build(...args: (null | ((text: string, previous: string[]) => string[]) | [(text: string, previous: string[], ...args: any[]) => string[], ...any[]])[]): (index: number, arg: string, previous: string[]) => string[];
}