mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-29 04:43:26 +01:00
Initial donationReceipts data types
This commit is contained in:
@@ -218,6 +218,13 @@ import {
|
||||
updateCallLinkState,
|
||||
updateDefunctCallLink,
|
||||
} from './server/callLinks';
|
||||
import {
|
||||
_deleteAllDonationReceipts,
|
||||
createDonationReceipt,
|
||||
deleteDonationReceiptById,
|
||||
getAllDonationReceipts,
|
||||
getDonationReceiptById,
|
||||
} from './server/donationReceipts';
|
||||
import {
|
||||
deleteAllEndorsementsForGroup,
|
||||
getGroupSendCombinedEndorsementExpiration,
|
||||
@@ -391,6 +398,9 @@ export const DataReader: ServerReadableInterface = {
|
||||
getAllNotificationProfiles,
|
||||
getNotificationProfileById,
|
||||
|
||||
getAllDonationReceipts,
|
||||
getDonationReceiptById,
|
||||
|
||||
callLinkExists,
|
||||
defunctCallLinkExists,
|
||||
getAllCallLinks,
|
||||
@@ -624,6 +634,10 @@ export const DataWriter: ServerWritableInterface = {
|
||||
markNotificationProfileDeleted,
|
||||
updateNotificationProfile,
|
||||
|
||||
_deleteAllDonationReceipts,
|
||||
deleteDonationReceiptById,
|
||||
createDonationReceipt,
|
||||
|
||||
removeAll,
|
||||
removeAllConfiguration,
|
||||
eraseStorageServiceState,
|
||||
@@ -7495,6 +7509,7 @@ function removeAll(db: WritableDB): void {
|
||||
DELETE FROM callsHistory;
|
||||
DELETE FROM conversations;
|
||||
DELETE FROM defunctCallLinks;
|
||||
DELETE FROM donationReceipts;
|
||||
DELETE FROM emojis;
|
||||
DELETE FROM groupCallRingCancellations;
|
||||
DELETE FROM groupSendCombinedEndorsement;
|
||||
|
||||
Reference in New Issue
Block a user