init
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import { Call as $Call, CancellablePromise as $CancellablePromise } from "@wailsio/runtime";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import * as $models from "./models.js";
|
||||
|
||||
export function Donate(name: string, amount: number, message: string): $CancellablePromise<$models.CampaignStats> {
|
||||
return $Call.ByID(3212591404, name, amount, message);
|
||||
}
|
||||
|
||||
export function GetRecentDonations(): $CancellablePromise<$models.Donation[] | null> {
|
||||
return $Call.ByID(2710704353);
|
||||
}
|
||||
|
||||
export function GetStats(): $CancellablePromise<$models.CampaignStats> {
|
||||
return $Call.ByID(1236111792);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import { Call as $Call, CancellablePromise as $CancellablePromise } from "@wailsio/runtime";
|
||||
|
||||
export function Greet(name: string): $CancellablePromise<string> {
|
||||
return $Call.ByID(1411160069, name);
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
import * as CampaignService from "./campaignservice.js";
|
||||
import * as GreetService from "./greetservice.js";
|
||||
export {
|
||||
CampaignService,
|
||||
GreetService
|
||||
};
|
||||
|
||||
export type {
|
||||
CampaignStats,
|
||||
Donation
|
||||
} from "./models.js";
|
||||
@@ -0,0 +1,33 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import * as time$0 from "../time/models.js";
|
||||
|
||||
export interface CampaignStats {
|
||||
"totalDonors": number;
|
||||
"totalAmount": number;
|
||||
|
||||
/**
|
||||
* 마리
|
||||
*/
|
||||
"releasedFish": number;
|
||||
|
||||
/**
|
||||
* kg
|
||||
*/
|
||||
"collectedWaste": number;
|
||||
|
||||
/**
|
||||
* m²
|
||||
*/
|
||||
"purifiedArea": number;
|
||||
}
|
||||
|
||||
export interface Donation {
|
||||
"name": string;
|
||||
"amount": number;
|
||||
"message": string;
|
||||
"timestamp": time$0.Time;
|
||||
}
|
||||
Reference in New Issue
Block a user