mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Remove window.Signal.Services.storage
This commit is contained in:
@@ -28,6 +28,7 @@ import {
|
||||
prepareForDisabledNotificationProfileSync,
|
||||
prepareForEnabledNotificationProfileSync,
|
||||
} from '../../services/storageRecordOps.js';
|
||||
import { storageServiceUploadJob } from '../../services/storage.js';
|
||||
import { SECOND } from '../../util/durations/constants.js';
|
||||
|
||||
import type {
|
||||
@@ -155,7 +156,7 @@ const updateStorageService = debounce(
|
||||
return;
|
||||
}
|
||||
|
||||
window.Signal.Services.storage.storageServiceUploadJob({
|
||||
storageServiceUploadJob({
|
||||
reason,
|
||||
});
|
||||
},
|
||||
|
||||
5
ts/window.d.ts
vendored
5
ts/window.d.ts
vendored
@@ -24,7 +24,6 @@ import type {
|
||||
import type { Receipt } from './types/Receipt.js';
|
||||
import type { ConversationController } from './ConversationController.js';
|
||||
import type { ReduxActions } from './state/types.js';
|
||||
import type * as StorageService from './services/storage.js';
|
||||
import type { BatcherType } from './util/batcher.js';
|
||||
import type { ScreenShareStatus } from './types/Calling.js';
|
||||
import type { MessageCache } from './services/MessageCache.js';
|
||||
@@ -133,9 +132,9 @@ export type SignalCoreType = {
|
||||
DebugLogWindowProps?: DebugLogWindowPropsType;
|
||||
PermissionsWindowProps?: PermissionsWindowPropsType;
|
||||
ScreenShareWindowProps?: ScreenShareWindowPropsType;
|
||||
// Only for development
|
||||
Services: {
|
||||
storage: typeof StorageService;
|
||||
// Only for development
|
||||
storage: unknown;
|
||||
backups: unknown;
|
||||
calling: unknown;
|
||||
donations: unknown;
|
||||
|
||||
Reference in New Issue
Block a user