UNPKG

691 BTypeScriptView Raw
1import { SandboxProcessObject, SandboxRequest } from '../org';
2import { TTLConfig } from './ttlConfig';
3export declare type SandboxRequestCacheEntry = {
4 alias?: string;
5 setDefault: boolean;
6 prodOrgUsername: string;
7 sandboxProcessObject: Partial<SandboxProcessObject>;
8 sandboxRequest: Partial<SandboxRequest>;
9 tracksSource?: boolean;
10};
11export declare class SandboxRequestCache extends TTLConfig<TTLConfig.Options, SandboxRequestCacheEntry> {
12 static getDefaultOptions(): TTLConfig.Options;
13 static unset(key: string): Promise<void>;
14 static set(key: string, sandboxProcessObject: SandboxRequestCacheEntry): Promise<void>;
15 static getFileName(): string;
16}