mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-07-01 14:01:31 +00:00
format
This commit is contained in:
parent
e413121cd1
commit
67807b229d
@ -1,5 +1,5 @@
|
|||||||
import { getExtensionsLatestPublishByIdentifier } from "@kksh/sdk"
|
|
||||||
import { IconType } from "@kksh/api/models"
|
import { IconType } from "@kksh/api/models"
|
||||||
|
import { getExtensionsLatestPublishByIdentifier } from "@kksh/sdk"
|
||||||
|
|
||||||
const latestPublish = await getExtensionsLatestPublishByIdentifier({
|
const latestPublish = await getExtensionsLatestPublishByIdentifier({
|
||||||
path: {
|
path: {
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
import type { ExtPublishMetadata } from "@kunkunapi/src/models"
|
import type { ExtPublishMetadata } from "@kunkunapi/src/models"
|
||||||
|
|
||||||
export async function getInstallExtras(
|
export async function getInstallExtras(extMetadata?: {
|
||||||
extMetadata?: {
|
|
||||||
sourceType?: string
|
sourceType?: string
|
||||||
source?: string
|
source?: string
|
||||||
}
|
}): Promise<{ overwritePackageJson?: string }> {
|
||||||
): Promise<{ overwritePackageJson?: string }> {
|
|
||||||
const extras: { overwritePackageJson?: string } = {}
|
const extras: { overwritePackageJson?: string } = {}
|
||||||
if (extMetadata?.sourceType) {
|
if (extMetadata?.sourceType) {
|
||||||
if (extMetadata?.sourceType === "jsr") {
|
if (extMetadata?.sourceType === "jsr") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user