mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Satiate linter
This commit is contained in:
@@ -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<Function> {
|
||||
): Promise<Func> {
|
||||
if (typeof functionId === 'undefined') {
|
||||
throw new AppwriteException('Missing required parameter: "functionId"');
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user