itube-specs 0.0.762 → 0.0.765

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/composables/{use-fetch-categories-by-letter.ts → fetch/use-fetch-categories-by-letter.ts} +3 -3
  2. package/composables/{use-fetch-categories-by-name.ts → fetch/use-fetch-categories-by-name.ts} +3 -3
  3. package/composables/{use-fetch-categories-by-phrase.ts → fetch/use-fetch-categories-by-phrase.ts} +3 -3
  4. package/composables/{use-fetch-categories-group-by-letter.ts → fetch/use-fetch-categories-group-by-letter.ts} +2 -2
  5. package/composables/{use-fetch-categories-related.ts → fetch/use-fetch-categories-related.ts} +3 -3
  6. package/composables/{use-fetch-channels-by-model.ts → fetch/use-fetch-channels-by-model.ts} +3 -3
  7. package/composables/{use-fetch-channels-by-name.ts → fetch/use-fetch-channels-by-name.ts} +3 -3
  8. package/composables/{use-fetch-channels-by-network-name.ts → fetch/use-fetch-channels-by-network-name.ts} +3 -3
  9. package/composables/{use-fetch-channels.ts → fetch/use-fetch-channels.ts} +4 -4
  10. package/composables/{use-fetch-dictionaries-countries.ts → fetch/use-fetch-dictionaries-countries.ts} +3 -3
  11. package/composables/{use-fetch-dictionaries-genders.ts → fetch/use-fetch-dictionaries-genders.ts} +3 -3
  12. package/composables/{use-fetch-footer-categories.ts → fetch/use-fetch-footer-categories.ts} +3 -3
  13. package/composables/{use-fetch-groups-categories-lazy.ts → fetch/use-fetch-groups-categories-lazy.ts} +2 -2
  14. package/composables/{use-fetch-groups-categories.ts → fetch/use-fetch-groups-categories.ts} +3 -3
  15. package/composables/{use-fetch-model-by-name.ts → fetch/use-fetch-model-by-name.ts} +3 -3
  16. package/composables/{use-fetch-models-by-category.ts → fetch/use-fetch-models-by-category.ts} +3 -3
  17. package/composables/{use-fetch-models-by-channel.ts → fetch/use-fetch-models-by-channel.ts} +2 -2
  18. package/composables/{use-fetch-models-by-letter.ts → fetch/use-fetch-models-by-letter.ts} +4 -4
  19. package/composables/{use-fetch-models-by-phrases.ts → fetch/use-fetch-models-by-phrases.ts} +3 -3
  20. package/composables/{use-fetch-models-by-tag.ts → fetch/use-fetch-models-by-tag.ts} +3 -3
  21. package/composables/{use-fetch-models-related.ts → fetch/use-fetch-models-related.ts} +3 -3
  22. package/composables/{use-fetch-models.ts → fetch/use-fetch-models.ts} +4 -4
  23. package/composables/{use-fetch-multi-suggest.ts → fetch/use-fetch-multi-suggest.ts} +3 -3
  24. package/composables/{use-fetch-playlists-by-id.ts → fetch/use-fetch-playlists-by-id.ts} +2 -2
  25. package/composables/{use-fetch-playlists-by-niche.ts → fetch/use-fetch-playlists-by-niche.ts} +4 -4
  26. package/composables/{use-fetch-playlists-get-videos-by-id.ts → fetch/use-fetch-playlists-get-videos-by-id.ts} +2 -2
  27. package/composables/{use-fetch-popular-tags-by-channel-name.ts → fetch/use-fetch-popular-tags-by-channel-name.ts} +3 -3
  28. package/composables/{use-fetch-popular-tags-by-model-name.ts → fetch/use-fetch-popular-tags-by-model-name.ts} +3 -3
  29. package/composables/{use-fetch-related-searches.ts → fetch/use-fetch-related-searches.ts} +2 -2
  30. package/composables/{use-fetch-related-videos.ts → fetch/use-fetch-related-videos.ts} +3 -3
  31. package/composables/{use-fetch-top-chips-models.ts → fetch/use-fetch-top-chips-models.ts} +3 -3
  32. package/composables/{use-fetch-top-models.ts → fetch/use-fetch-top-models.ts} +2 -2
  33. package/composables/{use-fetch-top-random-categories.ts → fetch/use-fetch-top-random-categories.ts} +3 -3
  34. package/composables/{use-fetch-top-random-full.ts → fetch/use-fetch-top-random-full.ts} +3 -3
  35. package/composables/{use-fetch-video-referer-phrases.ts → fetch/use-fetch-video-referer-phrases.ts} +2 -2
  36. package/composables/{use-fetch-video.ts → fetch/use-fetch-video.ts} +3 -3
  37. package/composables/{use-fetch-videos-by-categories.ts → fetch/use-fetch-videos-by-categories.ts} +4 -4
  38. package/composables/{use-fetch-videos-by-channel.ts → fetch/use-fetch-videos-by-channel.ts} +4 -4
  39. package/composables/{use-fetch-videos-by-model-and-channel.ts → fetch/use-fetch-videos-by-model-and-channel.ts} +4 -4
  40. package/composables/{use-fetch-videos-by-model-and-tag.ts → fetch/use-fetch-videos-by-model-and-tag.ts} +4 -4
  41. package/composables/{use-fetch-videos-by-model.ts → fetch/use-fetch-videos-by-model.ts} +4 -4
  42. package/composables/{use-fetch-videos-by-tag.ts → fetch/use-fetch-videos-by-tag.ts} +4 -4
  43. package/composables/{use-fetch-videos-search-by-niche.ts → fetch/use-fetch-videos-search-by-niche.ts} +3 -3
  44. package/composables/{use-fetch-videos.ts → fetch/use-fetch-videos.ts} +4 -4
  45. package/nuxt.config.ts +3 -0
  46. package/package.json +5 -2
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { ICategoryCard } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { ICategoryCard } from '../../types';
4
4
 
5
5
  export const useFetchCategoriesByLetter = async (
6
6
  apiMethod: (...args: any[]) => Promise<Array<ICategoryCard>>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { ICardInfo } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { ICardInfo } from '../../types';
4
4
 
5
5
  export const useFetchCategoriesByName = async (
6
6
  apiMethod: (...args: any[]) => Promise<ICardInfo>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IChipsItem } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IChipsItem } from '../../types';
4
4
 
5
5
  export const useFetchCategoriesByPhrase = async (
6
6
  apiMethod: (...args: any[]) => Promise<Array<IChipsItem>>
@@ -1,5 +1,5 @@
1
- import type { EAsyncData, ELanguage } from '../runtime';
2
- import type { ICategoryCard, IChipsItem } from '../types';
1
+ import type { EAsyncData, ELanguage } from '../../runtime';
2
+ import type { ICategoryCard, IChipsItem } from '../../types';
3
3
 
4
4
  export const useFetchCategoriesGroupByLetter = async (
5
5
  key: EAsyncData,
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IRelatedPhrases } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IRelatedPhrases } from '../../types';
4
4
 
5
5
  export const useFetchCategoriesRelated = async (
6
6
  apiMethod: (...args: any[]) => Promise<IRelatedPhrases>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IChannelCard, PaginatedResponse } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IChannelCard, PaginatedResponse } from '../../types';
4
4
 
5
5
  export const useFetchChannelsByModel = async (
6
6
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IChannelCard>>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { ICardInfo } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { ICardInfo } from '../../types';
4
4
 
5
5
  export const useFetchChannelsByName = async (
6
6
  apiMethod: (...args: any[]) => Promise<ICardInfo>
@@ -1,7 +1,7 @@
1
1
  import { useRoute } from 'vue-router';
2
- import type { ELanguage } from '../runtime';
3
- import { EAsyncData } from '../runtime';
4
- import type { IChannelCard, PaginatedResponse } from '../types';
2
+ import type { ELanguage } from '../../runtime';
3
+ import { EAsyncData } from '../../runtime';
4
+ import type { IChannelCard, PaginatedResponse } from '../../types';
5
5
 
6
6
  export const useFetchChannelsByNetworkName = async (
7
7
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IChannelCard>>
@@ -1,8 +1,8 @@
1
1
  import { useRoute } from 'vue-router';
2
- import type { ELanguage } from '../runtime';
3
- import { EAsyncData, getSelectedQuery } from '../runtime';
4
- import { sortChannels } from '../lib';
5
- import type { IChannelCard, PaginatedResponse } from '../types';
2
+ import type { ELanguage } from '../../runtime';
3
+ import { EAsyncData, getSelectedQuery } from '../../runtime';
4
+ import { sortChannels } from '../../lib';
5
+ import type { IChannelCard, PaginatedResponse } from '../../types';
6
6
 
7
7
  export const useFetchChannels = async (
8
8
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IChannelCard>>
@@ -1,6 +1,6 @@
1
- import type { ICountries } from '../types';
2
- import type { ELanguage } from '../runtime';
3
- import { EAsyncData } from '../runtime';
1
+ import type { ICountries } from '../../types';
2
+ import type { ELanguage } from '../../runtime';
3
+ import { EAsyncData } from '../../runtime';
4
4
 
5
5
  export const useFetchDictionariesCountries = async (
6
6
  apiMethod: (...args: any[]) => Promise<ICountries>
@@ -1,6 +1,6 @@
1
- import type { IGenders } from '../types';
2
- import type { ELanguage } from '../runtime';
3
- import { EAsyncData } from '../runtime';
1
+ import type { IGenders } from '../../types';
2
+ import type { ELanguage } from '../../runtime';
3
+ import { EAsyncData } from '../../runtime';
4
4
 
5
5
  export const useFetchDictionariesGenders = async (
6
6
  apiMethod: (...args: any[]) => Promise<IGenders>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IChipsItem } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IChipsItem } from '../../types';
4
4
 
5
5
  export const useFetchFooterCategories = async (
6
6
  apiMethod: (...args: any[]) => Promise<IChipsItem[]>
@@ -1,5 +1,5 @@
1
- import type { ELanguage } from '../runtime';
2
- import type { IGroupCategories } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import type { IGroupCategories } from '../../types';
3
3
 
4
4
  export const useFetchGroupsCategoriesLazy = (
5
5
  apiMethod: (...args: any[]) => Promise<IGroupCategories[]>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IGroupCategories } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IGroupCategories } from '../../types';
4
4
 
5
5
  export const useFetchGroupsCategories = async (
6
6
  apiMethod: (...args: any[]) => Promise<IGroupCategories[]>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { ICardInfo } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { ICardInfo } from '../../types';
4
4
 
5
5
  export const useFetchModelByName = async (
6
6
  apiMethod: (...args: any[]) => Promise<ICardInfo>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IModelCard, PaginatedResponse } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IModelCard, PaginatedResponse } from '../../types';
4
4
 
5
5
  export const useFetchModelsByCategory = async (
6
6
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IModelCard>>,
@@ -1,6 +1,6 @@
1
1
  import type { ELanguage } from '..runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IModelCard, PaginatedResponse } from '../types';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IModelCard, PaginatedResponse } from '../../types';
4
4
 
5
5
  export const useFetchModelsByChannel = async (
6
6
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IModelCard>>,
@@ -1,8 +1,8 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData, getSelectedQuery } from '../runtime';
3
- import { sortModels } from '../lib';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData, getSelectedQuery } from '../../runtime';
3
+ import { sortModels } from '../../lib';
4
4
  import { useRoute } from 'vue-router';
5
- import type { IModelCard, PaginatedResponse } from '../types';
5
+ import type { IModelCard, PaginatedResponse } from '../../types';
6
6
 
7
7
  export const useFetchModelsByLetter = async (
8
8
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IModelCard>>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { convertString, EAsyncData } from '../runtime';
3
- import type { IModelCard, PaginatedResponse } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { convertString, EAsyncData } from '../../runtime';
3
+ import type { IModelCard, PaginatedResponse } from '../../types';
4
4
  import { useRoute } from 'vue-router';
5
5
 
6
6
  export const useFetchModelsByPhrases = async (
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IModelCard, PaginatedResponse } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IModelCard, PaginatedResponse } from '../../types';
4
4
 
5
5
  export const useFetchModelsByTag = async (
6
6
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IModelCard>>,
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IModelCard, PaginatedResponse } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IModelCard, PaginatedResponse } from '../../types';
4
4
 
5
5
  export const useFetchRelatedModels = async (
6
6
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IModelCard>>,
@@ -1,8 +1,8 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData, getSelectedQuery } from '../runtime';
3
- import { sortModels } from '../lib';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData, getSelectedQuery } from '../../runtime';
3
+ import { sortModels } from '../../lib';
4
4
  import { useRoute } from 'vue-router';
5
- import type { IModelCard, PaginatedResponse } from '../types';
5
+ import type { IModelCard, PaginatedResponse } from '../../types';
6
6
 
7
7
  export const useFetchModels = async (
8
8
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IModelCard>>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IMultiSuggest } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IMultiSuggest } from '../../types';
4
4
  import { useRoute } from 'vue-router';
5
5
 
6
6
  export async function useFetchMultiSuggest(
@@ -1,6 +1,6 @@
1
1
  import { useRoute } from 'vue-router';
2
- import { EAsyncData, type ELanguage } from '../runtime';
3
- import type { IPlaylistData } from '../types';
2
+ import { EAsyncData, type ELanguage } from '../../runtime';
3
+ import type { IPlaylistData } from '../../types';
4
4
 
5
5
  export const useFetchPlaylistsById = async (apiMethod: (...args: any[]) => Promise<IPlaylistData>) => {
6
6
  const route = useRoute();
@@ -1,8 +1,8 @@
1
1
  import { useRoute } from 'vue-router';
2
- import type { ELanguage } from '../runtime';
3
- import { EAsyncData, getSelectedQuery } from '../runtime';
4
- import { sortPlaylists } from '../lib';
5
- import type { IPlaylistCard, PaginatedResponse } from '../types';
2
+ import type { ELanguage } from '../../runtime';
3
+ import { EAsyncData, getSelectedQuery } from '../../runtime';
4
+ import { sortPlaylists } from '../../lib';
5
+ import type { IPlaylistCard, PaginatedResponse } from '../../types';
6
6
 
7
7
  export const useFetchPlaylistsByNiche = async (apiMethod: (...args: any[]) => Promise<PaginatedResponse<IPlaylistCard>>) => {
8
8
  const route = useRoute();
@@ -1,5 +1,5 @@
1
- import { EAsyncData, type ELanguage } from '../runtime';
2
- import type { IVideoCard, PaginatedResponse } from '../types';
1
+ import { EAsyncData, type ELanguage } from '../../runtime';
2
+ import type { IVideoCard, PaginatedResponse } from '../../types';
3
3
  import { useRoute } from 'vue-router';
4
4
 
5
5
  export const useFetchPlaylistsGetVideosById = async (
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IPopularTags } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IPopularTags } from '../../types';
4
4
 
5
5
  export const useFetchPopularTagsByChannelName = async (
6
6
  apiMethod: (...args: any[]) => Promise<IPopularTags[]>
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IPopularTags } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IPopularTags } from '../../types';
4
4
 
5
5
  export const useFetchPopularTagsByModelName = async (
6
6
  apiMethod: (...args: any[]) => Promise<IPopularTags[]>
@@ -1,5 +1,5 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
3
 
4
4
  export const useFetchRelatedSearch = async (apiMethod: (...args: any[]) => Promise<Array<string>>) => {
5
5
  const lang = useLang() as ELanguage;
@@ -1,7 +1,7 @@
1
1
  import { useRoute } from 'vue-router';
2
- import type { ELanguage } from '../runtime';
3
- import { EAsyncData } from '../runtime';
4
- import type { IVideoCard, PaginatedResponse } from '../types';
2
+ import type { ELanguage } from '../../runtime';
3
+ import { EAsyncData } from '../../runtime';
4
+ import type { IVideoCard, PaginatedResponse } from '../../types';
5
5
 
6
6
  export const useFetchRelatedVideos = async (
7
7
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IVideoCard>>
@@ -1,6 +1,6 @@
1
- import type { ELanguage} from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IModelTag } from '../types';
1
+ import type { ELanguage} from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IModelTag } from '../../types';
4
4
 
5
5
  export const useFetchTopChipsModels = async (apiMethod: (...args: any[]) => Promise<IModelTag[]>, cacheId: string) => {
6
6
  const lang = useLang() as ELanguage;
@@ -1,5 +1,5 @@
1
- import type { EAsyncData, ELanguage } from '../runtime';
2
- import type { IModelCard, PaginatedResponse } from '../types';
1
+ import type { EAsyncData, ELanguage } from '../../runtime';
2
+ import type { IModelCard, PaginatedResponse } from '../../types';
3
3
 
4
4
  export const useFetchTopModels = async (apiMethod: (...args: any[]) => Promise<PaginatedResponse<IModelCard>>, limit: number, eName: EAsyncData | string, cacheId: string) => {
5
5
  const lang = useLang() as ELanguage;
@@ -1,6 +1,6 @@
1
- import type { ELanguage} from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IChipsItem } from '../types';
1
+ import type { ELanguage} from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IChipsItem } from '../../types';
4
4
 
5
5
  export const useFetchTopRandomCategories = async (apiMethod: (...args: any[]) => Promise<Array<IChipsItem>>, cacheId: string) => {
6
6
  const lang = useLang() as ELanguage;
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { ICategoryCard } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { ICategoryCard } from '../../types';
4
4
 
5
5
  export const useFetchTopRandomFull = async (
6
6
  apiMethod: (...args: any[]) => Promise<Array<ICategoryCard>>
@@ -1,5 +1,5 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
3
 
4
4
  export const useFetchVideoRefererPhrases = async (
5
5
  apiMethod: (...args: any[]) => Promise<string[]>) => {
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IVideoData } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IVideoData } from '../../types';
4
4
 
5
5
  export const useFetchVideo = async (
6
6
  apiMethod: (...args: any[]) => Promise<IVideoData>,
@@ -1,8 +1,8 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData, getSelectedQuery } from '../runtime';
3
- import type { IVideoCard, PaginatedResponse } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData, getSelectedQuery } from '../../runtime';
3
+ import type { IVideoCard, PaginatedResponse } from '../../types';
4
4
  import { useRoute } from 'vue-router';
5
- import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../lib';
5
+ import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../../lib';
6
6
 
7
7
  export const useFetchVideosByCategories = async (
8
8
  apiMethod: (...args: any[]) => Promise<PaginatedResponse<IVideoCard>>
@@ -1,7 +1,7 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData, getSelectedQuery } from '../runtime';
3
- import type { IVideoCard, PaginatedResponse } from '../types';
4
- import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../lib';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData, getSelectedQuery } from '../../runtime';
3
+ import type { IVideoCard, PaginatedResponse } from '../../types';
4
+ import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../../lib';
5
5
  import { useRoute } from 'vue-router';
6
6
 
7
7
  export const useFetchVideosByChannel = async (apiMethod: (...args: any[]) => Promise<PaginatedResponse<IVideoCard>>) => {
@@ -1,7 +1,7 @@
1
- import type { ELanguage } from '../runtime';
2
- import { convertString, EAsyncData, getSelectedQuery } from '../runtime';
3
- import type { IVideoCard, PaginatedResponse } from '../types';
4
- import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../lib';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { convertString, EAsyncData, getSelectedQuery } from '../../runtime';
3
+ import type { IVideoCard, PaginatedResponse } from '../../types';
4
+ import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../../lib';
5
5
  import { useRoute } from 'vue-router';
6
6
 
7
7
  export const useFetchVideosByModelAndChannel = async (apiMethod: (...args: any[]) => Promise<PaginatedResponse<IVideoCard>>) => {
@@ -1,7 +1,7 @@
1
- import type { ELanguage } from '../runtime';
2
- import { convertString, EAsyncData, getSelectedQuery } from '../runtime';
3
- import type { IVideoCard, PaginatedResponse } from '../types';
4
- import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../lib';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { convertString, EAsyncData, getSelectedQuery } from '../../runtime';
3
+ import type { IVideoCard, PaginatedResponse } from '../../types';
4
+ import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../../lib';
5
5
  import { useRoute } from 'vue-router';
6
6
 
7
7
  export const useFetchVideosByModelAndTag = async (apiMethod: (...args: any[]) => Promise<PaginatedResponse<IVideoCard>>) => {
@@ -1,7 +1,7 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData, getSelectedQuery } from '../runtime';
3
- import type { IVideoCard, PaginatedResponse } from '../types';
4
- import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../lib';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData, getSelectedQuery } from '../../runtime';
3
+ import type { IVideoCard, PaginatedResponse } from '../../types';
4
+ import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../../lib';
5
5
  import { useRoute } from 'vue-router';
6
6
 
7
7
  export const useFetchVideosByModel = async (apiMethod: (...args: any[]) => Promise<PaginatedResponse<IVideoCard>>) => {
@@ -1,8 +1,8 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData, getSelectedQuery } from '../runtime';
3
- import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../lib';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData, getSelectedQuery } from '../../runtime';
3
+ import { selectAddedItems, selectDurationItems, sortItemsDefault } from '../../lib';
4
4
  import { useRoute } from 'vue-router';
5
- import type { IVideoCard, PaginatedResponse } from '../types';
5
+ import type { IVideoCard, PaginatedResponse } from '../../types';
6
6
 
7
7
  export const useFetchVideosByTag = async (apiMethod: (...args: any[]) => Promise<PaginatedResponse<IVideoCard>>) => {
8
8
  const route = useRoute();
@@ -1,6 +1,6 @@
1
- import type { ELanguage } from '../runtime';
2
- import { EAsyncData } from '../runtime';
3
- import type { IVideoCard, PaginatedResponse } from '../types';
1
+ import type { ELanguage } from '../../runtime';
2
+ import { EAsyncData } from '../../runtime';
3
+ import type { IVideoCard, PaginatedResponse } from '../../types';
4
4
  import { useRoute } from 'vue-router';
5
5
 
6
6
  export const useFetchVideosSearchByNiche = async (apiMethod: (...args: any[]) => Promise<PaginatedResponse<IVideoCard>>) => {
@@ -1,7 +1,7 @@
1
- import { selectDurationItems, sortItemsDefault, selectAddedItems } from '../lib';
2
- import type { ELanguage } from '../runtime';
3
- import { EAsyncData, getSelectedQuery } from '../runtime';
4
- import type { IVideoCard, PaginatedResponse } from '../types';
1
+ import { selectDurationItems, sortItemsDefault, selectAddedItems } from '../../lib';
2
+ import type { ELanguage } from '../../runtime';
3
+ import { EAsyncData, getSelectedQuery } from '../../runtime';
4
+ import type { IVideoCard, PaginatedResponse } from '../../types';
5
5
  import { useRoute } from 'vue-router';
6
6
 
7
7
  export const useFetchVideos = async (
package/nuxt.config.ts CHANGED
@@ -3,6 +3,9 @@ import { defineNuxtConfig } from 'nuxt/config'
3
3
 
4
4
  export default defineNuxtConfig({
5
5
  modules: ['@nuxt/eslint', '@nuxt/icon', '@nuxtjs/i18n'],
6
+ imports: {
7
+ dirs: ['composables/**']
8
+ },
6
9
  eslint: {
7
10
  config: {
8
11
  // Use the generated ESLint config for lint root project as well
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.762",
4
+ "version": "0.0.765",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -10,6 +10,9 @@
10
10
  "eslint fix": "npx eslint . --ext .ts,.vue,.js --fix",
11
11
  "test": "NODE_OPTIONS='--no-warnings' vitest"
12
12
  },
13
+ "engines": {
14
+ "node": ">=22.12.0"
15
+ },
13
16
  "exports": {
14
17
  ".": {
15
18
  "types": "./types/index.d.ts",
@@ -47,7 +50,7 @@
47
50
  "@vue/test-utils": "^2.4.6",
48
51
  "eslint": "^9.37.0",
49
52
  "happy-dom": "^18.0.1",
50
- "nuxt": "3.17.6",
53
+ "nuxt": "^3.21.8",
51
54
  "typescript": "^5.9.3",
52
55
  "vitest": "^3.2.4",
53
56
  "vue": "3.5.17"