mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
21 lines
427 B
TypeScript
21 lines
427 B
TypeScript
import { Frappe } from 'frappe/core/frappe';
|
|
|
|
type SingleValue = { fieldname: string; parent: string; value: unknown };
|
|
|
|
export class DbHandler {
|
|
frappe: Frappe;
|
|
constructor(frappe: Frappe) {
|
|
this.frappe = frappe;
|
|
}
|
|
|
|
init() {}
|
|
close() {}
|
|
exists(doctype: string, name: string): boolean {
|
|
return false;
|
|
}
|
|
|
|
getSingleValues(...fieldnames: Omit<SingleValue, 'value'>[]): SingleValue[] {
|
|
return [];
|
|
}
|
|
}
|