Turn off the accepted rules and fix the design tokens, alt text, and last type errors. [skip build]
Checks / checks (push) Successful in 2m18s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-03 01:10:06 +11:00
parent 3db9b499af
commit 17d1eef572
73 changed files with 283 additions and 217 deletions
+1 -3
View File
@@ -25,7 +25,7 @@ const TRANSPARENT_COLOR = 0xff00ff;
* @returns The Lottie animation JSON object
*/
function decompressTgs(tgsData: ArrayBuffer): object {
const decompressed = inflate(new Uint8Array(tgsData), { to: 'string' });
const decompressed = inflate(new Uint8Array(tgsData), { toText: true });
return JSON.parse(decompressed);
}
@@ -82,7 +82,6 @@ async function renderLottieToGif(
return;
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const workerScript = (GIF as any).getWorkerScript?.() || '/gif.worker.js';
// Initialize GIF encoder with transparency support
@@ -236,7 +235,6 @@ export async function webmToGif(
return;
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const workerScript = (GIF as any).getWorkerScript?.() || '/gif.worker.js';
// Initialize GIF encoder with transparency support
+1 -1
View File
@@ -33,7 +33,7 @@ export type DiscordCollectibleItem = {
};
export type DownloadedCollectibleAsset = DiscordCollectibleAsset & {
data: Uint8Array;
data: Uint8Array<ArrayBuffer>;
};
const CDN_HOST_RE = /(^|\.)(discordapp\.com|discordapp\.net|discord\.com)$/i;
+2 -2
View File
@@ -105,7 +105,7 @@ export const getThumbnailContent = (thumbnailInfo: {
};
export const encryptFile = async (
file: File | Blob,
file: TUploadContent,
): Promise<{
encInfo: EncryptedAttachmentInfo;
file: File;
@@ -113,7 +113,7 @@ export const encryptFile = async (
}> => {
const dataBuffer = await file.arrayBuffer();
const encryptedAttachment = await encryptAttachment(dataBuffer);
const encFile = new File([encryptedAttachment.data], file.name, {
const encFile = new File([encryptedAttachment.data], file.name ?? '', {
type: file.type,
});
return {
-1
View File
@@ -298,7 +298,6 @@ export async function importTelegramStickerPack(
// Save to user account data
console.log('Saving merged pack to account data:', AccountDataEvent.PoniesUserEmotes);
console.log('Merged content:', JSON.stringify(mergedContent, null, 2));
// eslint-disable-next-line @typescript-eslint/no-explicit-any
await mx.setAccountData(AccountDataEvent.PoniesUserEmotes as any, mergedContent as any);
console.log('Pack saved successfully');