@salesforce/core
Version:
Core libraries to interact with SFDX projects, orgs, and APIs.
30 lines (29 loc) • 820 B
TypeScript
import { ConfigFile } from './configFile';
/**
* A config file that stores usernames for an org.
*/
export declare class SandboxOrgConfig extends ConfigFile<SandboxOrgConfig.Options> {
/**
* Gets the config options for a given org ID.
*
* @param orgId The orgId. Generally this org would have multiple users configured.
*/
static getOptions(orgId: string): SandboxOrgConfig.Options;
}
export declare namespace SandboxOrgConfig {
/**
* The config file options.
*/
interface Options extends ConfigFile.Options {
/**
* The org id associated with this sandbox.
*/
orgId: string;
}
enum Fields {
/**
* The username of the user who created the sandbox.
*/
PROD_ORG_USERNAME = "prodOrgUsername"
}
}