add backend dir
This commit is contained in:
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {backend} from '../models';
|
||||
import {gorm} from '../models';
|
||||
|
||||
export function ClearHistory():Promise<backend.Response>;
|
||||
|
||||
export function DeleteOneHistory(arg1:number):Promise<backend.Response>;
|
||||
|
||||
export function Detect(arg1:string):Promise<backend.Response>;
|
||||
|
||||
export function GetHistory(arg1:number,arg2:number):Promise<backend.Response>;
|
||||
|
||||
export function GetImage(arg1:string):Promise<backend.Response>;
|
||||
|
||||
export function GormDB():Promise<gorm.DB>;
|
||||
|
||||
export function UploadImage(arg1:Array<number>,arg2:string):Promise<backend.Response>;
|
||||
@@ -0,0 +1,31 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function ClearHistory() {
|
||||
return window['go']['backend']['App']['ClearHistory']();
|
||||
}
|
||||
|
||||
export function DeleteOneHistory(arg1) {
|
||||
return window['go']['backend']['App']['DeleteOneHistory'](arg1);
|
||||
}
|
||||
|
||||
export function Detect(arg1) {
|
||||
return window['go']['backend']['App']['Detect'](arg1);
|
||||
}
|
||||
|
||||
export function GetHistory(arg1, arg2) {
|
||||
return window['go']['backend']['App']['GetHistory'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function GetImage(arg1) {
|
||||
return window['go']['backend']['App']['GetImage'](arg1);
|
||||
}
|
||||
|
||||
export function GormDB() {
|
||||
return window['go']['backend']['App']['GormDB']();
|
||||
}
|
||||
|
||||
export function UploadImage(arg1, arg2) {
|
||||
return window['go']['backend']['App']['UploadImage'](arg1, arg2);
|
||||
}
|
||||
Vendored
-20
@@ -1,20 +0,0 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {main} from '../models';
|
||||
import {gorm} from '../models';
|
||||
|
||||
export function ClearHistory():Promise<main.Response>;
|
||||
|
||||
export function DeleteOneHistory(arg1:number):Promise<main.Response>;
|
||||
|
||||
export function Detect(arg1:string):Promise<main.Response>;
|
||||
|
||||
export function GetHistory(arg1:number,arg2:number):Promise<main.Response>;
|
||||
|
||||
export function GetImage(arg1:string):Promise<main.Response>;
|
||||
|
||||
export function GormDB():Promise<gorm.DB>;
|
||||
|
||||
export function Greet(arg1:string):Promise<string>;
|
||||
|
||||
export function UploadImage(arg1:Array<number>,arg2:string):Promise<main.Response>;
|
||||
@@ -1,35 +0,0 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function ClearHistory() {
|
||||
return window['go']['main']['App']['ClearHistory']();
|
||||
}
|
||||
|
||||
export function DeleteOneHistory(arg1) {
|
||||
return window['go']['main']['App']['DeleteOneHistory'](arg1);
|
||||
}
|
||||
|
||||
export function Detect(arg1) {
|
||||
return window['go']['main']['App']['Detect'](arg1);
|
||||
}
|
||||
|
||||
export function GetHistory(arg1, arg2) {
|
||||
return window['go']['main']['App']['GetHistory'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function GetImage(arg1) {
|
||||
return window['go']['main']['App']['GetImage'](arg1);
|
||||
}
|
||||
|
||||
export function GormDB() {
|
||||
return window['go']['main']['App']['GormDB']();
|
||||
}
|
||||
|
||||
export function Greet(arg1) {
|
||||
return window['go']['main']['App']['Greet'](arg1);
|
||||
}
|
||||
|
||||
export function UploadImage(arg1, arg2) {
|
||||
return window['go']['main']['App']['UploadImage'](arg1, arg2);
|
||||
}
|
||||
@@ -1,3 +1,24 @@
|
||||
export namespace backend {
|
||||
|
||||
export class Response {
|
||||
code: number;
|
||||
message: string;
|
||||
data?: any;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new Response(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.code = source["code"];
|
||||
this.message = source["message"];
|
||||
this.data = source["data"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export namespace clause {
|
||||
|
||||
export class Clause {
|
||||
@@ -327,27 +348,6 @@ export namespace gorm {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
export namespace main {
|
||||
|
||||
export class Response {
|
||||
code: number;
|
||||
message: string;
|
||||
data?: any;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new Response(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.code = source["code"];
|
||||
this.message = source["message"];
|
||||
this.data = source["data"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export namespace reflect {
|
||||
|
||||
Reference in New Issue
Block a user