You've already forked AstralRinth
forked from didirus/AstralRinth
* feat(theseus): Initial migration to Tauri v2 * feat(theseus): Added a way to zoom / scale UI * chore(theseus): Started cleaning up some plugins * fix(theseus): Github Actions * refactor(theseus): Reduced boilerplate & more work * feat(theseus): Allow multiple app instances to be open at once (#995) * fix(theseus): Lint & more * fix(theseus): App Release github action * fix(theseus): Open links in browser & macos builds * fix(theseus): Rebase fixes * fix(theseus): Updater & app release action * fix(theseus): Fixed definitions in `build.rs` * Fix MacOS deep linking, window decorations * fix(theseus): Closing & maximizing app * Fix macos build * add back release conf * acc fix build * make updater for release builds only * focus window on startup --------- Co-authored-by: Jai A <jaiagr+gpg@pm.me> Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
54 lines
1.8 KiB
JavaScript
54 lines
1.8 KiB
JavaScript
import { invoke } from '@tauri-apps/api/core'
|
|
|
|
export async function get_project(id, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_project', { id, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_project_many(ids, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_project_many', { ids, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_version(id, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_version', { id, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_version_many(ids, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_version_many', { ids, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_user(id, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_user', { id, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_user_many(ids, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_user_many', { ids, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_team(id, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_team', { id, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_team_many(ids, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_team_many', { ids, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_organization(id, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_organization', { id, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_organization_many(ids, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_organization_many', { ids, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_search_results(id, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_search_results', { id, cacheBehaviour })
|
|
}
|
|
|
|
export async function get_search_results_many(ids, cacheBehaviour) {
|
|
return await invoke('plugin:cache|get_search_results_many', { ids, cacheBehaviour })
|
|
}
|
|
|
|
export async function purge_cache_types(cacheTypes) {
|
|
return await invoke('plugin:cache|purge_cache_types', { cacheTypes })
|
|
}
|