This repository has been archived on 2026-09-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

14 lines
351 B
TypeScript

import { invoke } from "@tauri-apps/api/core";
export type SAuthMuatanMasuk = {
"id-klien": string;
};
export async function masuk(muatan: SAuthMuatanMasuk): Promise<null> {
return await invoke<null>("plugin:auth|masuk", { muatan: muatan });
}
export async function keluar(): Promise<null> {
return await invoke<null>("plugin:auth|masuk");
}