diff --git a/apps/desktop/dev.ts b/apps/desktop/dev.ts index 9cf2faf..174ad49 100644 --- a/apps/desktop/dev.ts +++ b/apps/desktop/dev.ts @@ -1,5 +1,5 @@ -import { getExtensionsLatestPublishByIdentifier } from "@kksh/sdk" import { IconType } from "@kksh/api/models" +import { getExtensionsLatestPublishByIdentifier } from "@kksh/sdk" const latestPublish = await getExtensionsLatestPublishByIdentifier({ path: { @@ -10,4 +10,4 @@ console.log(latestPublish) // latestPublish // console.log(typeof IconEnum.Iconify) -console.log(IconType.options) \ No newline at end of file +console.log(IconType.options) diff --git a/apps/desktop/src/routes/app/extension/store/[identifier]/helper.ts b/apps/desktop/src/routes/app/extension/store/[identifier]/helper.ts index 03f6628..7e0511e 100644 --- a/apps/desktop/src/routes/app/extension/store/[identifier]/helper.ts +++ b/apps/desktop/src/routes/app/extension/store/[identifier]/helper.ts @@ -1,11 +1,9 @@ import type { ExtPublishMetadata } from "@kunkunapi/src/models" -export async function getInstallExtras( - extMetadata?: { - sourceType?: string - source?: string - } -): Promise<{ overwritePackageJson?: string }> { +export async function getInstallExtras(extMetadata?: { + sourceType?: string + source?: string +}): Promise<{ overwritePackageJson?: string }> { const extras: { overwritePackageJson?: string } = {} if (extMetadata?.sourceType) { if (extMetadata?.sourceType === "jsr") {