kunkun/packages/api/src/constants.ts
Huakun Shen ed87fc6c12
App Setup (#2)
* chore: add vendor submodules

* feat: add packages for db,ci,schema,api,jarvis cmds

* feat: add tauri-jarvis-plugin

* feat: implement extension commands list

* fix(desktop): import path errors after packages refactor

* chore: add self signed cert

* fix: prevent prerender for desktop

* fix(desktop): desktop sveltekit static build, use csr for dynamic route

* feat: add error handling page and components

* refactor: component lib

* refactor: move more types, functions and components out of desktop

* refactor(ui): more refactor

* refactor(ui): move store components to @kksh/ui

* ci: add CI for build & test

* refactor: rename @kksh/extensions to @kksh/extension

* ci: add 2 more ci

* ci: fix

* fix: CI env var

* chore: add changeset

* feat: implement extension store item detail view

* feat: implement extension store install, uninstall, upgrade

* format

* revert: upgradable logic, the new one doesn't work yet

* refactor: make @kksh/ui dependent only on @kksh/api

Reason: @kksh/ui may be published later for building website, all its dependency packages must be also published. To avoid trouble it should be standalone, depend only on packages already published

* refactor: cleanup

* fixed: some typescript error

* chore: got typedoc working on @kksh/api

* ci: disable manifest schema upload CI on push
2024-11-03 13:54:44 -05:00

19 lines
965 B
TypeScript

export enum KUNKUN_EXT_IDENTIFIER {
KUNKUN_CLIPBOARD_EXT_IDENTIFIER = "sh.kunkun.ext.clipboard",
KUNKUN_QUICK_LINKS_EXT_IDENTIFIER = "sh.kunkun.ext.quick-links",
KUNKUN_REMOTE_EXT_IDENTIFIER = "sh.kunkun.ext.remote",
KUNKUN_SCRIPT_CMD_EXT_IDENTIFIER = "sh.kunkun.ext.script-cmd",
KUNKUN_DEV_EXT_IDENTIFIER = "sh.kunkun.ext.dev"
}
export const KUNKUN_DESKTOP_APP_SERVER_PORTS = [1566, 1567, 1568, 9559, 9560, 9561]
export const DESKTOP_SERVICE_NAME = "Kunkun"
/* -------------------------------------------------------------------------- */
/* Deep Link */
/* -------------------------------------------------------------------------- */
export const DEEP_LINK_PATH_OPEN = "kunkun://open"
export const DEEP_LINK_PATH_STORE = "kunkun://store"
export const DEEP_LINK_PATH_REFRESH_DEV_EXTENSION = "kunkun://refresh-dev-extension"
export const DEEP_LINK_PATH_AUTH_CONFIRM = "kunkun://auth/confirm"