mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 13:35:42 +09:00
refactor(imports): replace relative imports with path aliases (#2741)
This commit is contained in:
1 parent
a59b80ce11
commit
84dcf6b8a8
1834 files changed
+11601
-10725
No files matched your search
@@ -8,9 +8,6 @@ import {
|
||||
MEDIA_PROXY_IMAGE_SIZE_LADDER,
|
||||
snapMediaProxyImageSize,
|
||||
} from '@app/features/messaging/utils/MediaProxyUtils';
|
||||
|
||||
export {MEDIA_PROXY_IMAGE_SIZE_LADDER, snapMediaProxyImageSize};
|
||||
|
||||
import {cdnUrl, mediaUrl, setPathQueryParams} from '@app/features/messaging/utils/MessagingUrlUtils';
|
||||
import type {User} from '@app/features/user/models/User';
|
||||
import {
|
||||
@@ -26,6 +23,8 @@ import {
|
||||
import type {MediaProxyImageSize} from '@fluxer/constants/src/MediaProxyImageSizes';
|
||||
import {SOUNDBOARD_SOUND_PATH_PREFIX} from '@fluxer/constants/src/SoundboardConstants';
|
||||
|
||||
export {MEDIA_PROXY_IMAGE_SIZE_LADDER, snapMediaProxyImageSize};
|
||||
|
||||
const GUILD_BANNER_CSS_WIDTH = 360;
|
||||
const GUILD_EMBED_SPLASH_CSS_WIDTH = 360;
|
||||
const GUILD_SPLASH_FALLBACK_CSS_WIDTH = 1024;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {isVisionaryDiscriminator0000Blocked} from '@app/features/user/utils/FluxerTagDiscriminatorUtils';
|
||||
import {describe, expect, it} from 'vitest';
|
||||
import {isVisionaryDiscriminator0000Blocked} from './FluxerTagDiscriminatorUtils';
|
||||
|
||||
describe('isVisionaryDiscriminator0000Blocked', () => {
|
||||
it('allows #0000 on self-hosted instances', () => {
|
||||
|
||||
Reference in new issue
Block a user