mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
fix(repo): make the workspace lint, typecheck and test clean (#1978)
This commit is contained in:
1 parent
b268320406
commit
f004685424
11 files changed
+27
-13
No files matched your search
@@ -48,10 +48,10 @@ export const GuildAdminResponse = z.object({
|
||||
.optional()
|
||||
.describe('Custom content warning text shown before entry'),
|
||||
approximate_member_count: Int32Type.optional().describe(
|
||||
'Approximate total member count (only when with_counts is true)'
|
||||
'Approximate total member count (only when with_counts is true)',
|
||||
),
|
||||
approximate_presence_count: Int32Type.optional().describe(
|
||||
'Approximate online member count (only when with_counts is true)'
|
||||
'Approximate online member count (only when with_counts is true)',
|
||||
),
|
||||
});
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {AdminACLs} from '@fluxer/constants/src/AdminACLs';
|
||||
import {
|
||||
PremiumFlags,
|
||||
PremiumFlagsDescriptions,
|
||||
@@ -8,7 +9,6 @@ import {
|
||||
UserFlags,
|
||||
UserFlagsDescriptions,
|
||||
} from '@fluxer/constants/src/UserConstants';
|
||||
import {AdminACLs} from '@fluxer/constants/src/AdminACLs';
|
||||
import {NSFWLevelSchema} from '@fluxer/schema/src/primitives/GuildValidators';
|
||||
import {
|
||||
createBitflagInt32Type,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
export const FORMAT_CONTENT_TYPES: Record<string, string> = {
|
||||
const FORMAT_CONTENT_TYPES: Record<string, string> = {
|
||||
gif: 'image/gif',
|
||||
loopedmp4: 'video/mp4',
|
||||
mediumgif: 'image/gif',
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {ClientUploadedAttachmentRequest} from '@fluxer/schema/src/domains/message/AttachmentSchemas';
|
||||
import {
|
||||
PresignedAttachmentUploadRequest,
|
||||
PresignedAttachmentUploadResponse,
|
||||
} from '@fluxer/schema/src/domains/message/AttachmentUploadSchemas';
|
||||
import {ClientUploadedAttachmentRequest} from '@fluxer/schema/src/domains/message/AttachmentSchemas';
|
||||
import {MessageAttachmentResponse} from '@fluxer/schema/src/domains/message/MessageResponseSchemas';
|
||||
import {describe, expect, it} from 'vitest';
|
||||
|
||||
|
||||
Reference in new issue
Block a user