Convert js/modules/types/message to Typescript

This commit is contained in:
Scott Nonnenberg
2022-06-09 18:10:20 -07:00
committed by GitHub
parent 9975758fde
commit 924c271b13
18 changed files with 748 additions and 398 deletions

View File

@@ -110,7 +110,7 @@ const searchSelectors = require('../../ts/state/selectors/search');
// Types
const AttachmentType = require('../../ts/types/Attachment');
const VisualAttachment = require('../../ts/types/VisualAttachment');
const MessageType = require('./types/message');
const MessageType = require('../../ts/types/Message2');
const { UUID } = require('../../ts/types/UUID');
const { Address } = require('../../ts/types/Address');
const { QualifiedAddress } = require('../../ts/types/QualifiedAddress');
@@ -281,6 +281,8 @@ function initializeMigrations({
makeVideoScreenshot,
logger,
maxVersion,
getAbsoluteStickerPath,
writeNewStickerData,
});
},
writeMessageAttachments: MessageType.createAttachmentDataWriter({