MCPcopy Create free account
hub / github.com/firebase/firebase-tools / buildBindingOptionsWithBaseValue

Function buildBindingOptionsWithBaseValue

src/extensions/paramHelper.ts:42–53  ·  view source on GitHub ↗
(baseParams: { [key: string]: string })

Source from the content-addressed store, hash-verified

40}
41
42export function buildBindingOptionsWithBaseValue(baseParams: { [key: string]: string }): {
43 [key: string]: ParamBindingOptions;
44} {
45 let paramOptions: { [key: string]: ParamBindingOptions } = {};
46 for (const [k, v] of Object.entries(baseParams)) {
47 paramOptions = {
48 ...paramOptions,
49 ...{ [k]: { baseValue: v } },
50 };
51 }
52 return paramOptions;
53}
54
55/**
56 * A mutator to switch the defaults for a list of params to new ones.

Callers 3

ext-export.tsFile · 0.90
ext-configure.tsFile · 0.90
promptForNewParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…