UNPKG

react-caches

Version:

React Caches is a lightweight and easy-to-use package that provide you a simple way to use Local Storage, Session Storage, Caches Storage & Also provide Encryption & Decryption data alongside with outers package

52 lines (51 loc) 2.65 kB
import Cache_Storage from "../Storage/Class/Class.Based.Cache.Storage"; import { clearLocalStorage, getLocalStorage, removeLocalStorage, saveLocalStorage, updateLocalStorage } from "../Storage/Function/Local.Storage"; import { clearSession, getSession, removeSession, saveSession, updateSession } from "../Storage/Function/Session.Storage"; import { GetFetch, PostFetch, PutFetch, DeleteFetch, PatchFetch, FormDataPost, FormDataPut, FormDataPatch, FormDataDelete } from "../API/Function/API.config"; import { RegisterAPIBaseDomain } from "../API/Class/Class .Based.API.Call"; import { reActUpdateDocumentTitle } from "../React Common Services/Update.Document.Title"; import { ReactEncryption } from "../Encryption (Outers Service)/Class/Class.Based.Encryption.Call"; import isDeviceMobileOrDesktop from "../React Common Services/is.Device.Mobile.Desktop"; export declare const CacheStorage: typeof Cache_Storage; export declare const LocalStorage: { saveLocalStorageData: typeof saveLocalStorage; getLocalStorageData: typeof getLocalStorage; removeLocalStorageData: typeof removeLocalStorage; clearLocalStorageData: typeof clearLocalStorage; updateLocalStorageData: typeof updateLocalStorage; }; export declare const SessionStorage: { saveSessionData: typeof saveSession; getSessionData: typeof getSession; removeSessionData: typeof removeSession; clearSessionData: typeof clearSession; updateSessionData: typeof updateSession; }; export declare const React: { UpdateDocumentTitle: typeof reActUpdateDocumentTitle; Fetch: { Get: typeof GetFetch; Post: typeof PostFetch; Put: typeof PutFetch; Delete: typeof DeleteFetch; Patch: typeof PatchFetch; FormDataActions: { Post: typeof FormDataPost; Put: typeof FormDataPut; Patch: typeof FormDataPatch; Delete: typeof FormDataDelete; }; }; Random: { Boolean: typeof import("../React Common Services/Uniquegen/Function/BooleanFunction").default; Number: typeof import("../React Common Services/Uniquegen/Function/NumFunction").default; Word: typeof import("../React Common Services/Uniquegen/Function/WordFunction").default; Symbol: typeof import("../React Common Services/Uniquegen/Function/SymbolFunction").default; Mixed: typeof import("../React Common Services/Uniquegen/Function/MixedFunction").default; }; ClassBasedFunctions: { API: typeof RegisterAPIBaseDomain; ReactEncrypt: typeof ReactEncryption; }; isDeviceMobileOrDesktop: typeof isDeviceMobileOrDesktop; };