fix: function specifications for template!

This commit is contained in:
Darshan
2025-02-20 13:57:23 +05:30
parent 002c02816b
commit 2772064a3b
3 changed files with 2 additions and 8 deletions
@@ -55,10 +55,6 @@
$templateConfig.repositoryBehaviour === 'manual'
? undefined
: $choices.rootDir || undefined,
$template.providerRepositoryId || undefined,
$template.providerOwner || undefined,
runtimeDetail.providerRootDirectory || undefined,
$template.providerVersion || undefined,
$templateConfig.specification || undefined
);
@@ -14,6 +14,7 @@ export const templateConfig = writable<{
repositoryId: string;
execute?: boolean;
scopes?: string[];
specification?: string;
}>();
export const choices = writable<{
@@ -49,10 +49,7 @@
$templateConfig.repositoryBehaviour === 'manual'
? undefined
: $choices.rootDir || undefined,
$template.providerRepositoryId || undefined,
$template.providerOwner || undefined,
runtimeDetail.providerRootDirectory || undefined,
$template.providerVersion || undefined
$templateConfig.specification
);
if ($templateConfig.variables) {