mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-02 00:07:56 +01:00
17 lines
474 B
TypeScript
17 lines
474 B
TypeScript
// Copyright 2025 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
import {
|
|
getPath,
|
|
getDraftPath,
|
|
getStickersPath,
|
|
getTempPath,
|
|
} from '../../app/attachments.js';
|
|
|
|
const userDataPath = window.SignalContext.getPath('userData');
|
|
|
|
export const ATTACHMENTS_PATH = getPath(userDataPath);
|
|
export const DRAFT_PATH = getDraftPath(userDataPath);
|
|
export const STICKERS_PATH = getStickersPath(userDataPath);
|
|
export const TEMP_PATH = getTempPath(userDataPath);
|