UNPKG

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