mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-03 22:26:43 +00:00

* remove supabase package * upgrade valibot * removed supabase package Migration not complete yet * update submodule * fixed some supabase errors * Add new fields to extension models - Added `id` field to `ExtPublish` - Expanded `DBExtension` with multiple new properties: - `api_version`, `author_id`, `created_at`, - `downloads`, `icon`, `identifier`, - `long_description`, `name`, - `readme`, `short_description`, - and `tarball_size` * Refactor: clean up unused Supabase imports - Removed commented-out Supabase imports from various files to streamline the codebase. - Updated `created_at` type in `ExtPublish` model from `date` to `string` for consistency. * update icon enum to union * fix type errors after removing supabase * format * more types fixed * feat: enhance command handling and update SDK version
14 lines
332 B
TypeScript
14 lines
332 B
TypeScript
import { IconType } from "@kksh/api/models"
|
|
import { getExtensionsLatestPublishByIdentifier } from "@kksh/sdk"
|
|
|
|
const latestPublish = await getExtensionsLatestPublishByIdentifier({
|
|
path: {
|
|
identifier: "RAG1"
|
|
}
|
|
})
|
|
console.log(latestPublish)
|
|
// latestPublish
|
|
|
|
// console.log(typeof IconEnum.Iconify)
|
|
console.log(IconType.options)
|