File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11import type { NitroFetchRequest } from 'nitropack'
22import type { Ref } from 'vue'
33import { computed , unref } from 'vue'
4+ // TODO: Import type from `#app` is not transpiled
5+ import type { AsyncData } from 'nuxt/app'
46import type { KqlQueryRequest , KqlQueryResponse , UseKqlOptions } from '../types'
5- import type { AsyncData } from '#app'
67import { useFetch } from '#imports'
78import { apiRoute } from '#build/nuxt-kql/options'
89
Original file line number Diff line number Diff line change 11import type { NitroFetchRequest } from 'nitropack'
22import type { Ref } from 'vue'
33import { computed , unref } from 'vue'
4+ import type { AsyncData } from 'nuxt/app'
45import type { KqlQueryRequest , KqlQueryResponse , UseKqlOptions } from '../types'
56import type { ModuleOptions } from '../../module'
67import { getAuthHeaders } from '../utils'
7- import type { AsyncData } from '#app'
88import { useFetch , useRuntimeConfig } from '#imports'
99
1010export function usePublicKql < ResT = KqlQueryResponse , ReqT = KqlQueryRequest > (
Original file line number Diff line number Diff line change 11import type { FetchOptions } from 'ohmyfetch'
2- import type { UseFetchOptions } from '#app'
2+ // TODO: Import type from `#app` is not transpiled
3+ import type { UseFetchOptions } from 'nuxt/app'
34
45export type KqlQuery = `${'kirby' | 'site' | 'page' } ${string } `
56
You can’t perform that action at this time.
0 commit comments