Merge pull request #1739 from appwrite/fix-remember-specification-functions

Save the specification when updating a function
This commit is contained in:
Ernst Mulders
2025-03-12 14:16:15 +01:00
committed by GitHub
9 changed files with 18 additions and 9 deletions
@@ -36,7 +36,8 @@
$repository.id,
$choices.branch,
$choices.silentMode || undefined,
$choices.rootDir
$choices.rootDir,
$func.specification || undefined
);
trackEvent(Submit.FunctionConnectRepo, {
customId: !!$func.$id
@@ -135,7 +135,8 @@
$func.providerRepositoryId || undefined,
selectedBranch,
silentMode,
selectedDir
selectedDir,
$func.specification || undefined
);
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -51,7 +51,8 @@
$func.providerRepositoryId || undefined,
$func.providerBranch || undefined,
$func.providerSilentMode || undefined,
$func.providerRootDirectory || undefined
$func.providerRootDirectory || undefined,
$func.specification || undefined
);
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -44,7 +44,8 @@
$func.providerRepositoryId || undefined,
$func.providerBranch || undefined,
$func.providerSilentMode || undefined,
$func.providerRootDirectory || undefined
$func.providerRootDirectory || undefined,
$func.specification || undefined
);
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -41,7 +41,8 @@
$func.providerRepositoryId || undefined,
$func.providerBranch || undefined,
$func.providerSilentMode || undefined,
$func.providerRootDirectory || undefined
$func.providerRootDirectory || undefined,
$func.specification || undefined
);
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -45,7 +45,8 @@
$func.providerRepositoryId || undefined,
$func.providerBranch || undefined,
$func.providerSilentMode || undefined,
$func.providerRootDirectory || undefined
$func.providerRootDirectory || undefined,
$func.specification || undefined
);
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -46,7 +46,8 @@
$func.providerRepositoryId || undefined,
$func.providerBranch || undefined,
$func.providerSilentMode || undefined,
$func.providerRootDirectory || undefined
$func.providerRootDirectory || undefined,
$func.specification || undefined
);
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -43,7 +43,8 @@
$func.providerRepositoryId || undefined,
$func.providerBranch || undefined,
$func.providerSilentMode || undefined,
$func.providerRootDirectory || undefined
$func.providerRootDirectory || undefined,
$func.specification || undefined
);
await invalidate(Dependencies.FUNCTION);
addNotification({
@@ -41,7 +41,8 @@
$func.providerRepositoryId || undefined,
$func.providerBranch || undefined,
$func.providerSilentMode || undefined,
$func.providerRootDirectory || undefined
$func.providerRootDirectory || undefined,
$func.specification || undefined
);
await invalidate(Dependencies.FUNCTION);
addNotification({