style: normalize restored source endings
Remote Build and Deploy / deploy (push) Has been cancelled

This commit is contained in:
Simo committed 2026-07-11 21:19:54 +02:00
1 parent 9552d6b938
commit 8d37ae9ae0
77 files changed
-77

No files matched your search

-1
View File
@@ -52,4 +52,3 @@ export function formatTimestamp(ts: number): string {
if (!ts) return 'N/A'
return new Date(ts * 1000).toLocaleString()
}
-1
View File
@@ -148,4 +148,3 @@ export async function fetchAdminList<TRow = PrismaModel>(
rank: session.user.rank,
}
}
-1
View File
@@ -45,4 +45,3 @@ export const LAYOUT_DESCRIPTIONS: Record<CatalogLayout, string> = {
room_bundle: 'Room bundle purchase page',
sold_ltd_items: 'Sold limited editions archive',
}
-1
View File
@@ -222,4 +222,3 @@ export function translateCaption(caption: string): string | null {
const key = caption.toLowerCase().trim()
return CATALOG_IT[key] ?? null
}
@@ -42,4 +42,3 @@ export function getCachedSongPickerOptions(): SoundtrackOption[] | null {
export function invalidateSongPickerCache(): void {
cachedOptions = null
}
-1
View File
@@ -95,4 +95,3 @@ export const CLIENT_TRANSLATION_FILES: ClientTranslationFile[] = [
export function getClientTranslationFile(id: string): ClientTranslationFile | undefined {
return CLIENT_TRANSLATION_FILES.find((f) => f.id === id)
}
-1
View File
@@ -40,4 +40,3 @@ export function getHabboCdnIconUrl(classname: string, revision: number): string
const base = getBaseClassname(classname)
return `https://images.habbo.com/dcr/hof_furni/${revision}/${encodeURIComponent(base)}_icon.png`
}
-1
View File
@@ -42,4 +42,3 @@ export function getAvatarUrl(figure: string, options: AvatarOptions = {}): strin
return `${IMAGER_URL}?${params.toString()}`
}
-1
View File
@@ -76,4 +76,3 @@ export function patchJson5(
return { content: result, unpatchedKeys }
}
-1
View File
@@ -117,4 +117,3 @@ export function getSuggestions(opts: { interactionType?: string; itemName?: stri
.sort((a, b) => b[1] - a[1])
.map(([id]) => id)
}
-1
View File
@@ -66,4 +66,3 @@ export const PERMS = {
MOD_USERS_VIEW: 'mod.users.view',
MOD_BANS_VIEW: 'mod.bans.view',
} as const
-1
View File
@@ -112,4 +112,3 @@ export async function getAuditLogs(options: GetLogsOptions = {}) {
lastPage: Math.ceil(total / perPage),
}
}
-1
View File
@@ -294,4 +294,3 @@ export async function loadCatalogItemsData(pageId: number): Promise<CatalogItems
allPages,
}
}
-1
View File
@@ -257,4 +257,3 @@ export async function getAncestors(
return ancestors
}
@@ -160,4 +160,3 @@ export function clearHabboItCache(): void {
cache = null
cacheTimestamp = 0
}
-1
View File
@@ -308,4 +308,3 @@ function quoteIdentifier(identifier: string) {
if (!VALID_KEY.test(identifier)) throw new Error('Invalid identifier')
return `\`${identifier}\``
}
-1
View File
@@ -125,4 +125,3 @@ export {
parseTraxChannels,
TRAX_TICK_SECONDS,
} from '@/lib/trax-format'
-1
View File
@@ -3,4 +3,3 @@
* All implementation has been moved to the ./swf/ module directory.
*/
export * from './swf'
-1
View File
@@ -301,4 +301,3 @@ export function decodeJpegToRGBA(jpegData: Buffer, width: number, height: number
return Buffer.alloc(width * height * 4)
}
}
-1
View File
@@ -485,4 +485,3 @@ export function nitroDecompress(data: Buffer): Buffer {
}
}
}
-1
View File
@@ -258,4 +258,3 @@ export function parseNitroBundle(buffer: Buffer): {
return { json, jsonFileName, png, pngFileName }
}
-1
View File
@@ -150,4 +150,3 @@ export function parseBinaryData(data: Buffer): { id: number; content: Buffer } {
const content = data.subarray(6)
return { id, content }
}
-1
View File
@@ -579,4 +579,3 @@ export function computeDefaultDir(directions: number[]): number {
if (directions.includes(0)) return 0
return directions[0] || 0
}
-1
View File
@@ -21,4 +21,3 @@ const getCachedWatchedIds = unstable_cache(
['user-watch-list'],
{ revalidate: 60, tags: ['user-watch'] },
)
-1
View File
@@ -110,4 +110,3 @@ export function notify(payload: WebhookPayload): void {
sendDiscord(payload).catch(() => {})
sendTelegram(payload).catch(() => {})
}
-1
View File
@@ -31,4 +31,3 @@ export function unflattenObject(flat: Record<string, string>): Record<string, un
}
return result
}
-1
View File
@@ -60,4 +60,3 @@ export function parseTrackSamples(track: string | null | undefined): number[] {
export function detectSoundtrackKind(track: string | null | undefined): 'single' | 'composition' {
return parseTrackSamples(track).length > 0 ? 'composition' : 'single'
}
-1
View File
@@ -4,4 +4,3 @@ import { twMerge } from 'tailwind-merge'
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
-1
View File
@@ -8,4 +8,3 @@ export const updateRoomSchema = z.object({
})
export type UpdateRoomInput = z.infer<typeof updateRoomSchema>
-1
View File
@@ -42,4 +42,3 @@ export type ReplyTicketInput = z.infer<typeof replyTicketSchema>
export type UpdateTicketStatusInput = z.infer<typeof updateTicketStatusSchema>
export type AssignTicketInput = z.infer<typeof assignTicketSchema>
export type UpdateTicketPriorityInput = z.infer<typeof updateTicketPrioritySchema>
-1
View File
@@ -40,4 +40,3 @@ export type CreateUserInput = z.infer<typeof createUserSchema>
export type UpdateUserInput = z.infer<typeof updateUserSchema>
export type BanUserInput = z.infer<typeof banUserSchema>
export type GiveBadgeInput = z.infer<typeof giveBadgeSchema>