diff --git a/src/lib/sdk/functionsSpec.ts b/src/lib/sdk/functionsSpec.ts index d0325a89a..a50679099 100644 --- a/src/lib/sdk/functionsSpec.ts +++ b/src/lib/sdk/functionsSpec.ts @@ -39,7 +39,7 @@ type Variable = { resourceId: string; }; -export type Function = { +export type Func = { /** * Function ID. */ @@ -199,7 +199,7 @@ export class SpecsFunctions { providerRootDirectory?: string, cpus?: number, memory?: number - ): Promise { + ): Promise { if (typeof functionId === 'undefined') { throw new AppwriteException('Missing required parameter: "functionId"'); } diff --git a/src/routes/console/project-[project]/functions/function-[function]/store.ts b/src/routes/console/project-[project]/functions/function-[function]/store.ts index d27030d2f..ffe78b451 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/store.ts +++ b/src/routes/console/project-[project]/functions/function-[function]/store.ts @@ -1,9 +1,9 @@ import { page } from '$app/stores'; import { derived, writable, type Writable } from 'svelte/store'; import type { Models } from '@appwrite.io/console'; -import type { Function } from '$lib/sdk/functionsSpec'; +import type { Func } from '$lib/sdk/functionsSpec'; -export const func = derived(page, ($page) => $page.data.function as Function); +export const func = derived(page, ($page) => $page.data.function as Func); export const deploymentList = derived( page, ($page) => $page.data.deploymentList as Models.DeploymentList