generated from dave/wails-template
59 lines
1.0 KiB
TypeScript
59 lines
1.0 KiB
TypeScript
export namespace main {
|
|
|
|
export class WailsBills {
|
|
|
|
|
|
static createFrom(source: any = {}) {
|
|
return new WailsBills(source);
|
|
}
|
|
|
|
constructor(source: any = {}) {
|
|
if ('string' === typeof source) source = JSON.parse(source);
|
|
|
|
}
|
|
}
|
|
export class WailsPayment {
|
|
|
|
|
|
static createFrom(source: any = {}) {
|
|
return new WailsPayment(source);
|
|
}
|
|
|
|
constructor(source: any = {}) {
|
|
if ('string' === typeof source) source = JSON.parse(source);
|
|
|
|
}
|
|
}
|
|
export class WailsPayments {
|
|
|
|
|
|
static createFrom(source: any = {}) {
|
|
return new WailsPayments(source);
|
|
}
|
|
|
|
constructor(source: any = {}) {
|
|
if ('string' === typeof source) source = JSON.parse(source);
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
export namespace time {
|
|
|
|
export class Time {
|
|
|
|
|
|
static createFrom(source: any = {}) {
|
|
return new Time(source);
|
|
}
|
|
|
|
constructor(source: any = {}) {
|
|
if ('string' === typeof source) source = JSON.parse(source);
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
|