Refactor globalVariables key names in GlobalVariablesStore
This commit is contained in:
parent
7f34516a52
commit
fbe346ccee
1 changed files with 5 additions and 5 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
export type GlobalVariablesStore = {
|
export type GlobalVariablesStore = {
|
||||||
globalVariablesEntries: Array<string>;
|
globalVariablesEntries: Array<string>;
|
||||||
globalVariables: { [key: string]: { id: string; provider?: string } };
|
globalVariables: { [name: string]: { id: string; provider?: string } };
|
||||||
setGlobalVariables: (variables: {
|
setGlobalVariables: (variables: {
|
||||||
[key: string]: { id: string; provider?: string };
|
[name: string]: { id: string; provider?: string };
|
||||||
}) => void;
|
}) => void;
|
||||||
addGlobalVariable: (key: string, id: string, provider?: string) => void;
|
addGlobalVariable: (name: string, id: string, provider?: string) => void;
|
||||||
removeGlobalVariable: (key: string) => void;
|
removeGlobalVariable: (name: string) => void;
|
||||||
getVariableId: (key: string) => string | undefined;
|
getVariableId: (name: string) => string | undefined;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue