chore: bump version to 24.10.0

This commit is contained in:
Andrew Bastin
2024-10-29 17:25:37 +05:30
parent 75bac21b46
commit 108315d1b4
12 changed files with 17 additions and 19 deletions

View File

@@ -80,11 +80,10 @@ const props = defineProps<{
active: boolean
}>()
const formattedShortcutKeys = computed(
() =>
props.entry.meta?.keyboardShortcut?.map(
(key) => SPECIAL_KEY_CHARS[key] ?? capitalize(key)
)
const formattedShortcutKeys = computed(() =>
props.entry.meta?.keyboardShortcut?.map(
(key) => SPECIAL_KEY_CHARS[key] ?? capitalize(key)
)
)
const emit = defineEmits<{

View File

@@ -375,7 +375,7 @@ export function useCodemirror(
language.of(
getEditorLanguage(
options.extendedEditorConfig.useLang
? (options.extendedEditorConfig.mode as any) ?? ""
? ((options.extendedEditorConfig.mode as any) ?? "")
: "",
options.linter ?? undefined,
options.completer ?? undefined
@@ -486,7 +486,7 @@ export function useCodemirror(
effects: language.reconfigure(
getEditorLanguage(
options.extendedEditorConfig.useLang
? (options.extendedEditorConfig.mode as any) ?? ""
? ((options.extendedEditorConfig.mode as any) ?? "")
: "",
options.linter ?? undefined,
options.completer ?? undefined

View File

@@ -23,9 +23,8 @@ import { replaceInsomniaTemplating } from "./insomniaEnv"
// TODO: Insomnia allows custom prefixes for Bearer token auth, Hoppscotch doesn't. We just ignore the prefix for now
type UnwrapPromise<T extends Promise<any>> = T extends Promise<infer Y>
? Y
: never
type UnwrapPromise<T extends Promise<any>> =
T extends Promise<infer Y> ? Y : never
type InsomniaDoc = UnwrapPromise<ReturnType<typeof convert>>
type InsomniaResource = ImportRequest

View File

@@ -177,7 +177,7 @@ export const getComputedAuthHeaders = async (
false,
showKeyIfSecret
)
: request.auth.value ?? "",
: (request.auth.value ?? ""),
description: "",
})
}