UNPKG

@salesforce/schemas

Version:

This repository contains the spec and schema for the Scratch Org Definition Configuration file and `sfdx-project.json` file.

31 lines (30 loc) 637 B
export type Replacements = { replaceWhenEnv?: Array<EnvConditional>; } & WhereToReplace & WhatToReplace & ReplaceWith; type WhereToReplace = { filename: string; glob?: never; } | { glob: string; filename?: never; }; type WhatToReplace = { stringToReplace: string; regexToReplace?: never; } | { regexToReplace: string; stringToReplace?: never; }; type ReplaceWith = { replaceWithFile: string; replaceWithEnv?: never; } | { replaceWithEnv: string; replaceWithFile?: never; allowUnsetEnvVariable?: boolean; }; type EnvConditional = { env: string; value: string; }; export {};