mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Don't pass specification where not needed
This commit is contained in:
1 parent
4fa5d0448e
commit
564899d48a
20 files changed
+21
-27
No files matched your search
+1
-2
@@ -104,8 +104,7 @@
|
||||
entrypoint: entrypoint || undefined,
|
||||
commands: installCommand || undefined,
|
||||
scopes: selectedScopes?.length ? selectedScopes : undefined,
|
||||
providerSilentMode: false,
|
||||
specification: undefined
|
||||
providerSilentMode: false
|
||||
});
|
||||
|
||||
// Add domain
|
||||
|
||||
+1
-2
@@ -71,8 +71,7 @@
|
||||
execute: roles?.length ? roles : undefined,
|
||||
enabled: true,
|
||||
entrypoint,
|
||||
commands: buildCommand,
|
||||
specification: undefined
|
||||
commands: buildCommand
|
||||
});
|
||||
|
||||
// Add domain
|
||||
|
||||
+1
-2
@@ -107,8 +107,7 @@
|
||||
providerRepositoryId: $repository.id,
|
||||
providerBranch: branch,
|
||||
providerSilentMode: silentMode,
|
||||
providerRootDirectory: rootDir,
|
||||
specification: undefined
|
||||
providerRootDirectory: rootDir
|
||||
});
|
||||
|
||||
// Add domain
|
||||
|
||||
+1
-2
@@ -147,8 +147,7 @@
|
||||
connectBehaviour === 'later' ? undefined : $repository?.id,
|
||||
providerBranch: branch,
|
||||
providerSilentMode: silentMode,
|
||||
providerRootDirectory: rootDir,
|
||||
specification: undefined
|
||||
providerRootDirectory: rootDir
|
||||
});
|
||||
|
||||
// Add domain
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
providerBranch: func.providerBranch || undefined,
|
||||
providerSilentMode: func.providerSilentMode || undefined,
|
||||
providerRootDirectory: func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: func.specification || undefined
|
||||
});
|
||||
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@
|
||||
providerBranch: $func.providerBranch || undefined,
|
||||
providerSilentMode: $func.providerSilentMode || undefined,
|
||||
providerRootDirectory: $func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: $func.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
addNotification({
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
providerBranch: func.providerBranch || undefined,
|
||||
providerSilentMode: func.providerSilentMode || undefined,
|
||||
providerRootDirectory: func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: func.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
addNotification({
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@
|
||||
providerBranch: $func.providerBranch || undefined,
|
||||
providerSilentMode: $func.providerSilentMode || undefined,
|
||||
providerRootDirectory: $func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: $func.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
addNotification({
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@
|
||||
providerBranch: $func.providerBranch || undefined,
|
||||
providerSilentMode: $func.providerSilentMode || undefined,
|
||||
providerRootDirectory: $func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: $func.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
addNotification({
|
||||
|
||||
+1
-2
@@ -43,8 +43,7 @@
|
||||
providerRepositoryId: func.providerRepositoryId || undefined,
|
||||
providerBranch: func.providerBranch || undefined,
|
||||
providerSilentMode: func.providerSilentMode || undefined,
|
||||
providerRootDirectory: func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
providerRootDirectory: func.providerRootDirectory || undefined
|
||||
});
|
||||
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
providerBranch: $func.providerBranch || undefined,
|
||||
providerSilentMode: $func.providerSilentMode || undefined,
|
||||
providerRootDirectory: $func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: $func.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
addNotification({
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@
|
||||
providerBranch: $func.providerBranch || undefined,
|
||||
providerSilentMode: $func.providerSilentMode || undefined,
|
||||
providerRootDirectory: $func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: $func.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
addNotification({
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@
|
||||
providerBranch: $func.providerBranch || undefined,
|
||||
providerSilentMode: $func.providerSilentMode || undefined,
|
||||
providerRootDirectory: $func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: $func.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
addNotification({
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@
|
||||
providerBranch: $func.providerBranch || undefined,
|
||||
providerSilentMode: $func.providerSilentMode || undefined,
|
||||
providerRootDirectory: $func.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: $func.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
addNotification({
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
providerBranch: site?.providerBranch || undefined,
|
||||
providerSilentMode: site?.providerSilentMode || undefined,
|
||||
providerRootDirectory: site?.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: site?.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.SITE);
|
||||
addNotification({
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
providerBranch: site?.providerBranch || undefined,
|
||||
providerSilentMode: site?.providerSilentMode || undefined,
|
||||
providerRootDirectory: site?.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: site?.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.SITE);
|
||||
addNotification({
|
||||
|
||||
+2
-2
@@ -86,7 +86,7 @@
|
||||
providerBranch: selectedBranch || undefined,
|
||||
providerSilentMode: silentMode || undefined,
|
||||
providerRootDirectory: selectedDir || undefined,
|
||||
specification: undefined
|
||||
specification: site?.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.SITE);
|
||||
addNotification({
|
||||
@@ -133,7 +133,7 @@
|
||||
installationId: selectedInstallationId,
|
||||
providerRepositoryId: selectedRepository,
|
||||
providerBranch: 'main',
|
||||
specification: undefined
|
||||
specification: site?.specification || undefined
|
||||
});
|
||||
|
||||
invalidate(Dependencies.SITE);
|
||||
|
||||
+1
-2
@@ -38,8 +38,7 @@
|
||||
providerRepositoryId: site?.providerRepositoryId || undefined,
|
||||
providerBranch: site?.providerBranch || undefined,
|
||||
providerSilentMode: site?.providerSilentMode || undefined,
|
||||
providerRootDirectory: site?.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
providerRootDirectory: site?.providerRootDirectory || undefined
|
||||
});
|
||||
await invalidate(Dependencies.SITE);
|
||||
originalSpecification = specification;
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@
|
||||
providerBranch: site?.providerBranch || undefined,
|
||||
providerSilentMode: site?.providerSilentMode || undefined,
|
||||
providerRootDirectory: site?.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: site?.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.SITE);
|
||||
addNotification({
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
providerBranch: site?.providerBranch || undefined,
|
||||
providerSilentMode: site?.providerSilentMode || undefined,
|
||||
providerRootDirectory: site?.providerRootDirectory || undefined,
|
||||
specification: undefined
|
||||
specification: site?.specification || undefined
|
||||
});
|
||||
await invalidate(Dependencies.SITE);
|
||||
addNotification({
|
||||
|
||||
Reference in new issue
Block a user