generated from schreifuchs/wails-template
management of library
This commit is contained in:
35
frontend/wailsjs/go/main/App.d.ts
vendored
35
frontend/wailsjs/go/main/App.d.ts
vendored
@ -1,4 +1,39 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {model} from '../models';
|
||||
|
||||
export function BookLended(arg1:number):Promise<boolean>;
|
||||
|
||||
export function DeleteAuthor(arg1:model.Author):Promise<void>;
|
||||
|
||||
export function DeleteBook(arg1:model.Book):Promise<void>;
|
||||
|
||||
export function DeleteClient(arg1:model.Client):Promise<void>;
|
||||
|
||||
export function DeleteLending(arg1:model.Lending):Promise<void>;
|
||||
|
||||
export function GetAllLendings():Promise<Array<model.Lending>>;
|
||||
|
||||
export function GetAuthors():Promise<Array<model.Author>>;
|
||||
|
||||
export function GetAvailableBooks():Promise<Array<model.Book>>;
|
||||
|
||||
export function GetBooks():Promise<Array<model.Book>>;
|
||||
|
||||
export function GetClients():Promise<Array<model.Client>>;
|
||||
|
||||
export function GetLendings():Promise<Array<model.Lending>>;
|
||||
|
||||
export function GetReturnedLendings():Promise<Array<model.Lending>>;
|
||||
|
||||
export function Greet(arg1:string):Promise<string>;
|
||||
|
||||
export function ReturnLending(arg1:model.Lending):Promise<void>;
|
||||
|
||||
export function SaveAuthor(arg1:model.Author):Promise<void>;
|
||||
|
||||
export function SaveBook(arg1:model.Book):Promise<void>;
|
||||
|
||||
export function SaveClient(arg1:model.Client):Promise<void>;
|
||||
|
||||
export function SaveLending(arg1:model.Lending):Promise<string>;
|
||||
|
@ -2,6 +2,74 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function BookLended(arg1) {
|
||||
return window['go']['main']['App']['BookLended'](arg1);
|
||||
}
|
||||
|
||||
export function DeleteAuthor(arg1) {
|
||||
return window['go']['main']['App']['DeleteAuthor'](arg1);
|
||||
}
|
||||
|
||||
export function DeleteBook(arg1) {
|
||||
return window['go']['main']['App']['DeleteBook'](arg1);
|
||||
}
|
||||
|
||||
export function DeleteClient(arg1) {
|
||||
return window['go']['main']['App']['DeleteClient'](arg1);
|
||||
}
|
||||
|
||||
export function DeleteLending(arg1) {
|
||||
return window['go']['main']['App']['DeleteLending'](arg1);
|
||||
}
|
||||
|
||||
export function GetAllLendings() {
|
||||
return window['go']['main']['App']['GetAllLendings']();
|
||||
}
|
||||
|
||||
export function GetAuthors() {
|
||||
return window['go']['main']['App']['GetAuthors']();
|
||||
}
|
||||
|
||||
export function GetAvailableBooks() {
|
||||
return window['go']['main']['App']['GetAvailableBooks']();
|
||||
}
|
||||
|
||||
export function GetBooks() {
|
||||
return window['go']['main']['App']['GetBooks']();
|
||||
}
|
||||
|
||||
export function GetClients() {
|
||||
return window['go']['main']['App']['GetClients']();
|
||||
}
|
||||
|
||||
export function GetLendings() {
|
||||
return window['go']['main']['App']['GetLendings']();
|
||||
}
|
||||
|
||||
export function GetReturnedLendings() {
|
||||
return window['go']['main']['App']['GetReturnedLendings']();
|
||||
}
|
||||
|
||||
export function Greet(arg1) {
|
||||
return window['go']['main']['App']['Greet'](arg1);
|
||||
}
|
||||
|
||||
export function ReturnLending(arg1) {
|
||||
return window['go']['main']['App']['ReturnLending'](arg1);
|
||||
}
|
||||
|
||||
export function SaveAuthor(arg1) {
|
||||
return window['go']['main']['App']['SaveAuthor'](arg1);
|
||||
}
|
||||
|
||||
export function SaveBook(arg1) {
|
||||
return window['go']['main']['App']['SaveBook'](arg1);
|
||||
}
|
||||
|
||||
export function SaveClient(arg1) {
|
||||
return window['go']['main']['App']['SaveClient'](arg1);
|
||||
}
|
||||
|
||||
export function SaveLending(arg1) {
|
||||
return window['go']['main']['App']['SaveLending'](arg1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user