Skip to content

Commit

Permalink
rename to at:define-settings
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Aug 14, 2023
1 parent adadd4d commit 66745fd
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/app/dynamic-settings.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { ExtractSettingType } from '$base/define-setting'
import { extractSettingLocales } from '$base/define-setting'
import type { ExtractSettingType } from '$base/@define-setting'
import { extractSettingLocales } from '$base/@define-setting'
const props = defineProps<{
modelValue: ExtractSettingType<typeof settings>
Expand Down
2 changes: 1 addition & 1 deletion src/composables/useDynamicSettings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useClientDynamicSettings } from '~/store/dynamic-settings'
import type { ExtractSettingType } from '$base/define-setting'
import type { ExtractSettingType } from '$base/@define-setting'
import type { settings } from '$active/dynamic-settings'

export default async function () {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/server/backend/$base/dynamic-settings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { z } from 'zod'
import { defineDynamicUserSetting } from './define-setting'
import { defineDynamicUserSetting } from './@define-setting'
import { IntlPicker } from './intl-picker'
import { DynamicSettingStore } from '~/def/user'
import { Lang } from '~/def'
Expand Down
2 changes: 1 addition & 1 deletion src/server/backend/$base/server/user.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { JSONContent } from '@tiptap/core'
import type { ExtractLocationSettings, ExtractSettingType } from '../define-setting'
import type { ExtractLocationSettings, ExtractSettingType } from '../@define-setting'
import type { idTransformable } from './@extends'
import type { BeatmapSource, RankingStatus } from '~/def/beatmap'
import type {
Expand Down
2 changes: 1 addition & 1 deletion src/server/backend/bancho.py/dynamic-settings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { z } from 'zod'
import { defineDynamicUserSetting } from '$base/define-setting'
import { defineDynamicUserSetting } from '$base/@define-setting'
import * as base from '$base/dynamic-settings'
import { DynamicSettingStore } from '~/def/user'
import { Lang } from '~/def'
Expand Down
2 changes: 1 addition & 1 deletion src/server/backend/bancho.py/server/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { getPrismaClient } from './source/prisma'
import { UserRelationProvider } from './user-relations'
import { ArticleProvider } from './article'
import { ScoreProvider } from './score'
import type { ExtractLocationSettings, ExtractSettingType } from '$base/define-setting'
import type { ExtractLocationSettings, ExtractSettingType } from '$base/@define-setting'
import { env } from '~/server/env'
import { userNotFound } from '~/server/trpc/messages'

Expand Down
2 changes: 1 addition & 1 deletion src/server/trpc/routers/me.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '../messages'
import { zodHandle, zodRelationType, zodTipTapJSONContent } from '../shapes'
import { router as _router } from '../trpc'
import { extractLocationSettings, extractSettingValidators } from '$base/define-setting'
import { extractLocationSettings, extractSettingValidators } from '$base/@define-setting'
import { settings } from '$active/dynamic-settings'
import { userProcedure as pUser } from '~/server/trpc/middleware/user'
import { SessionProvider, UserProvider, UserRelationProvider } from '$active/server'
Expand Down
2 changes: 1 addition & 1 deletion src/store/dynamic-settings.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineStore } from 'pinia'
import type { z } from 'zod'
import { DynamicSettingStore } from '../def/user'
import { extractLocationSettings, extractSettingValidators } from '$base/define-setting'
import { extractLocationSettings, extractSettingValidators } from '$base/@define-setting'

import { IntlPicker } from '$base/intl-picker'
import { settings } from '$active/dynamic-settings'
Expand Down

0 comments on commit 66745fd

Please sign in to comment.