Faster incremental builds

This commit is contained in:
Fedor Indutny
2025-10-06 12:23:41 -07:00
committed by GitHub
parent 7ab12f3d7a
commit 780f39c285
130 changed files with 1479 additions and 1450 deletions

View File

@@ -53,6 +53,7 @@ import type { WidthBreakpoint } from '../_util.js';
import { OutgoingGiftBadgeModal } from '../OutgoingGiftBadgeModal.js';
import { createLogger } from '../../logging/log.js';
import { StoryViewModeType } from '../../types/Stories.js';
import { GiftBadgeStates } from '../../types/GiftBadgeStates.js';
import type {
AttachmentForUIType,
AttachmentType,
@@ -71,7 +72,7 @@ import {
isImageAttachment,
isPlayed,
isVideo,
} from '../../types/Attachment.js';
} from '../../util/Attachment.js';
import type { EmbeddedContactForUIType } from '../../types/EmbeddedContact.js';
import { getIncrement } from '../../util/timer.js';
@@ -208,13 +209,6 @@ export type AudioAttachmentProps = {
onCorrupted(): void;
};
export enum GiftBadgeStates {
Unopened = 'Unopened',
Opened = 'Opened',
Redeemed = 'Redeemed',
Failed = 'Failed',
}
export type GiftBadgeType =
| {
state: