import { metrics } from 'config'; import { getAsyncItem, removeAsyncItem, setAsyncItem } from './asyncStorage'; const { STORAGE } = metrics; export const setDraftId = async (pushToken: string) => { await setAsyncItem(STORAGE.DRAFT_ID, pushToken); }; export const getDraftId = async () => getAsyncItem(STORAGE.DRAFT_ID); export const removeDraftId = async () => removeAsyncItem(STORAGE.DRAFT_ID);