New attachment storage system
This commit is contained in:
parent
273e1ccb15
commit
28664a606f
161 changed files with 2418 additions and 1562 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue