Files
SortMeow/frontend/wailsjs/go/models.ts
T
2026-07-16 17:54:03 +08:00

22 lines
448 B
TypeScript

export namespace main {
export class ImageResult {
code: number;
message: string;
data?: string;
static createFrom(source: any = {}) {
return new ImageResult(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.code = source["code"];
this.message = source["message"];
this.data = source["data"];
}
}
}