Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/builder/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export const SchemaMakeResult = SchemaResultBase.extend({
custom: z.object({
nativePrjDir: z.string().optional().describe('Native project path after build'), // 构建后的原生项目地址
executableFile: z.string().optional().describe('Compiled executable file path'), // 编译后的可执行文件地址
}).optional().describe('Custom fields after compiling the project, in object format'), // 编译项目后的自定义字段, object 形式
}).passthrough().optional().describe('Custom fields after compiling the project, in object format'), // 编译项目后的自定义字段, object 形式
}).nullable().describe('Result after compiling the project'); // 编译项目后的结果

export const SchemaPreviewSettingsResult = z.object({
Expand Down Expand Up @@ -412,4 +412,4 @@ export const SchemaBuildDest = z.string().min(1).describe('Build Output Director
export type TBuildDest = z.infer<typeof SchemaBuildDest>;

export const SchemaRunResult = z.string().describe('Run URL'); // 运行 URL
export type TRunResult = z.infer<typeof SchemaRunResult>;
export type TRunResult = z.infer<typeof SchemaRunResult>;
Loading