Menyelesaikan plugin, siap ucob
Penerbitan Plugin / persiapan (pull_request) Successful in 5s
Penerbitan Plugin / penerbitan (pull_request) Failing after 1m29s

This commit is contained in:
rizky_denianto committed 2026-09-02 23:13:23 +07:00
1 parent 6f5478e9ab
commit caf005b82d
14 files changed
+312 -15

No files matched your search

+8 -2
View File
@@ -2,8 +2,14 @@ use tauri::{AppHandle, Runtime, command};
use crate::AuthExt;
use crate::Result;
use crate::models::SAuthMuatanMasuk;
#[command]
pub(crate) async fn autentikasi<R: Runtime>(app: AppHandle<R>) -> Result<Vec<()>> {
return app.auth().autentikasi();
pub(crate) async fn masuk<R: Runtime>(app: AppHandle<R>, payload: SAuthMuatanMasuk) -> Result<()> {
return app.auth().masuk(payload);
}
#[command]
pub(crate) async fn keluar<R: Runtime>(app: AppHandle<R>) -> Result<()> {
return app.auth().keluar();
}