You've already forked AstralRinth
refactor: rename query-filter.ts to query-filter-utils.ts (#6335)
This commit is contained in:
@@ -227,7 +227,7 @@ import {
|
||||
normalizeSelectedValues as normalizeSelectedFilterValues,
|
||||
type ProjectVersionFilterOption,
|
||||
type ProjectVersionFilterOptionProjectMetadata,
|
||||
} from './query-filter.ts'
|
||||
} from './query-filter-utils.ts'
|
||||
|
||||
type AnalyticsFilterValueCategory = Exclude<AnalyticsQueryFilterCategory, 'project'>
|
||||
type GameVersionType = 'release' | 'all'
|
||||
|
||||
@@ -434,7 +434,7 @@ import {
|
||||
getAnalyticsStatsForBreakdown,
|
||||
getAnalyticsStatsForFilterCategory,
|
||||
getEnabledAnalyticsStatsForState,
|
||||
} from './query-filter.ts'
|
||||
} from './query-filter-utils.ts'
|
||||
import QueryBuilderFilter from './QueryFilter.vue'
|
||||
import {
|
||||
ensureMinimumTimeRange,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Labrinth } from '@modrinth/api-client'
|
||||
|
||||
import type { ProjectStatusFilterValue } from '~/components/analytics-dashboard/query-builder/query-filter'
|
||||
import type { ProjectStatusFilterValue } from '~/components/analytics-dashboard/query-builder/query-filter-utils'
|
||||
|
||||
import { getProjectIdsMatchingStatusFilter } from './analytics-project-utils'
|
||||
import type {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
getProjectStatusFilterValue,
|
||||
type ProjectStatusFilterValue,
|
||||
} from '~/components/analytics-dashboard/query-builder/query-filter'
|
||||
} from '~/components/analytics-dashboard/query-builder/query-filter-utils'
|
||||
|
||||
import type {
|
||||
AnalyticsDashboardProject,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Labrinth } from '@modrinth/api-client'
|
||||
import type { LocationQueryValueRaw } from 'vue-router'
|
||||
|
||||
import type { ProjectStatusFilterValue } from '~/components/analytics-dashboard/query-builder/query-filter'
|
||||
import type { ProjectStatusFilterValue } from '~/components/analytics-dashboard/query-builder/query-filter-utils'
|
||||
|
||||
export type AnalyticsQueryFilterCategory =
|
||||
| 'project'
|
||||
|
||||
@@ -29,7 +29,7 @@ import {
|
||||
PROJECT_STATUS_FILTER_VALUES,
|
||||
type ProjectStatusFilterValue,
|
||||
sanitizeAnalyticsSelectedFilters,
|
||||
} from '~/components/analytics-dashboard/query-builder/query-filter'
|
||||
} from '~/components/analytics-dashboard/query-builder/query-filter-utils'
|
||||
import { useAnalyticsRouteSync } from '~/components/analytics-dashboard/use-analytics-route-sync'
|
||||
|
||||
import type { OrganizationContext } from '../organization-context'
|
||||
|
||||
Reference in New Issue
Block a user