Pass function/site specifications empty

This commit is contained in:
Khushboo Verma
2025-10-07 13:43:43 +05:30
parent d81d1665c1
commit 4fa5d0448e
20 changed files with 21 additions and 21 deletions
@@ -105,7 +105,7 @@
commands: installCommand || undefined,
scopes: selectedScopes?.length ? selectedScopes : undefined,
providerSilentMode: false,
specification: specification || undefined
specification: undefined
});
// Add domain
@@ -72,7 +72,7 @@
enabled: true,
entrypoint,
commands: buildCommand,
specification: specification || undefined
specification: undefined
});
// Add domain
@@ -108,7 +108,7 @@
providerBranch: branch,
providerSilentMode: silentMode,
providerRootDirectory: rootDir,
specification: specification || undefined
specification: undefined
});
// Add domain
@@ -148,7 +148,7 @@
providerBranch: branch,
providerSilentMode: silentMode,
providerRootDirectory: rootDir,
specification: specification || undefined
specification: undefined
});
// Add domain
@@ -36,7 +36,7 @@
providerBranch: func.providerBranch || undefined,
providerSilentMode: func.providerSilentMode || undefined,
providerRootDirectory: func.providerRootDirectory || undefined,
specification: func.specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
@@ -47,7 +47,7 @@
providerBranch: $func.providerBranch || undefined,
providerSilentMode: $func.providerSilentMode || undefined,
providerRootDirectory: $func.providerRootDirectory || undefined,
specification: $func.specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -37,7 +37,7 @@
providerBranch: func.providerBranch || undefined,
providerSilentMode: func.providerSilentMode || undefined,
providerRootDirectory: func.providerRootDirectory || undefined,
specification: func.specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -42,7 +42,7 @@
providerBranch: $func.providerBranch || undefined,
providerSilentMode: $func.providerSilentMode || undefined,
providerRootDirectory: $func.providerRootDirectory || undefined,
specification: $func.specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -47,7 +47,7 @@
providerBranch: $func.providerBranch || undefined,
providerSilentMode: $func.providerSilentMode || undefined,
providerRootDirectory: $func.providerRootDirectory || undefined,
specification: $func.specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -44,7 +44,7 @@
providerBranch: func.providerBranch || undefined,
providerSilentMode: func.providerSilentMode || undefined,
providerRootDirectory: func.providerRootDirectory || undefined,
specification: specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
@@ -46,7 +46,7 @@
providerBranch: $func.providerBranch || undefined,
providerSilentMode: $func.providerSilentMode || undefined,
providerRootDirectory: $func.providerRootDirectory || undefined,
specification: $func.specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -47,7 +47,7 @@
providerBranch: $func.providerBranch || undefined,
providerSilentMode: $func.providerSilentMode || undefined,
providerRootDirectory: $func.providerRootDirectory || undefined,
specification: $func.specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -45,7 +45,7 @@
providerBranch: $func.providerBranch || undefined,
providerSilentMode: $func.providerSilentMode || undefined,
providerRootDirectory: $func.providerRootDirectory || undefined,
specification: $func.specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -42,7 +42,7 @@
providerBranch: $func.providerBranch || undefined,
providerSilentMode: $func.providerSilentMode || undefined,
providerRootDirectory: $func.providerRootDirectory || undefined,
specification: $func.specification || undefined
specification: undefined
});
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -33,7 +33,7 @@
providerBranch: site?.providerBranch || undefined,
providerSilentMode: site?.providerSilentMode || undefined,
providerRootDirectory: site?.providerRootDirectory || undefined,
specification: site?.specification || undefined
specification: undefined
});
await invalidate(Dependencies.SITE);
addNotification({
@@ -37,7 +37,7 @@
providerBranch: site?.providerBranch || undefined,
providerSilentMode: site?.providerSilentMode || undefined,
providerRootDirectory: site?.providerRootDirectory || undefined,
specification: site?.specification || undefined
specification: undefined
});
await invalidate(Dependencies.SITE);
addNotification({
@@ -86,7 +86,7 @@
providerBranch: selectedBranch || undefined,
providerSilentMode: silentMode || undefined,
providerRootDirectory: selectedDir || undefined,
specification: site?.specification || undefined
specification: undefined
});
await invalidate(Dependencies.SITE);
addNotification({
@@ -133,7 +133,7 @@
installationId: selectedInstallationId,
providerRepositoryId: selectedRepository,
providerBranch: 'main',
specification: site?.specification || undefined
specification: undefined
});
invalidate(Dependencies.SITE);
@@ -39,7 +39,7 @@
providerBranch: site?.providerBranch || undefined,
providerSilentMode: site?.providerSilentMode || undefined,
providerRootDirectory: site?.providerRootDirectory || undefined,
specification: specification || undefined
specification: undefined
});
await invalidate(Dependencies.SITE);
originalSpecification = specification;
@@ -43,7 +43,7 @@
providerBranch: site?.providerBranch || undefined,
providerSilentMode: site?.providerSilentMode || undefined,
providerRootDirectory: site?.providerRootDirectory || undefined,
specification: site?.specification || undefined
specification: undefined
});
await invalidate(Dependencies.SITE);
addNotification({
@@ -36,7 +36,7 @@
providerBranch: site?.providerBranch || undefined,
providerSilentMode: site?.providerSilentMode || undefined,
providerRootDirectory: site?.providerRootDirectory || undefined,
specification: site?.specification || undefined
specification: undefined
});
await invalidate(Dependencies.SITE);
addNotification({