Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9717011 commit 2758139Copy full SHA for 2758139
site/src/utils/richParameters.ts
@@ -12,19 +12,6 @@ export type AutofillBuildParameter = {
12
source: AutofillSource;
13
} & WorkspaceBuildParameter;
14
15
-// Gets autofill parameters from URL search params
16
-export const getAutofillParameters = (
17
- urlSearchParams: URLSearchParams,
18
-): AutofillBuildParameter[] => {
19
- return Array.from(urlSearchParams.keys())
20
- .filter((key) => key.startsWith("param."))
21
- .map((key) => {
22
- const name = key.replace("param.", "");
23
- const value = urlSearchParams.get(key) ?? "";
24
- return { name, value, source: "url" };
25
- });
26
-};
27
-
28
export const getInitialRichParameterValues = (
29
templateParams: TemplateVersionParameter[],
30
autofillParams?: AutofillBuildParameter[],
0 commit comments