mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
New attachment storage system
This commit is contained in:
@@ -228,6 +228,10 @@ export type StickerType = Readonly<{
|
||||
|
||||
width: number;
|
||||
height: number;
|
||||
|
||||
version: 1 | 2;
|
||||
localKey?: string;
|
||||
size?: number;
|
||||
}>;
|
||||
|
||||
export const StickerPackStatuses = [
|
||||
@@ -806,6 +810,9 @@ export type DataInterface = {
|
||||
) => Promise<void>;
|
||||
updateStickerPackInfo: (info: StickerPackInfoType) => Promise<void>;
|
||||
createOrUpdateSticker: (sticker: StickerType) => Promise<void>;
|
||||
createOrUpdateStickers: (
|
||||
sticker: ReadonlyArray<StickerType>
|
||||
) => Promise<void>;
|
||||
updateStickerLastUsed: (
|
||||
packId: string,
|
||||
stickerId: number,
|
||||
|
||||
Reference in New Issue
Block a user