educa-sdk
Version:
A JavaScript SDK for interacting with the Educa backend API (Admin, Staff, and Student methods)
28 lines (24 loc) • 678 B
JavaScript
// src/classes/Admin.js
import { school } from '../admin/school.js';
import { account } from '../admin/account.js';
import { wallet } from '../admin/wallet.js';
import { subscription } from '../admin/subscription.js';
import { card } from '../admin/card.js';
import { bank } from '../admin/bank.js';
import { misc } from '../admin/misc.js';
class Admin {
constructor() {
this._init_sections()
}
// initialize sections
_init_sections() {
this.school = school();
this.account = account();
this.wallet = wallet();
this.subscription = subscription();
this.card = card();
this.bank = bank();
this.misc = misc();
}
}
export default Admin;