From 736bea6172444fdf783ffff729879d8278ff82f3 Mon Sep 17 00:00:00 2001 From: Shivaditya Shivganesh Date: Wed, 28 Aug 2024 12:29:11 -0400 Subject: [PATCH] fix: cspell fix --- .cspell.json | 6 ++++-- src/types/database.ts | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.cspell.json b/.cspell.json index c2b732e..83a383f 100644 --- a/.cspell.json +++ b/.cspell.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", "version": "0.2", - "ignorePaths": ["**/*.json", "**/*.css", "node_modules", "**/*.log", "./src/adapters/supabase/**/**.ts"], + "ignorePaths": ["**/*.json", "**/*.css", "node_modules", "**/*.log", "./src/adapters/supabase/**/**.ts", "./src/types/database.ts", "./supabase/config.toml"], "useGitignore": true, "language": "en", "words": [ @@ -20,7 +20,9 @@ "Typeguards", "sonarjs", "knip", - "mischeck" + "mischeck", + "commentbody", + "issuebody" ], "dictionaries": ["typescript", "node", "software-terms"], "import": ["@cspell/dict-typescript/cspell-ext.json", "@cspell/dict-node/cspell-ext.json", "@cspell/dict-software-terms"], diff --git a/src/types/database.ts b/src/types/database.ts index ab1c90a..4f00255 100644 --- a/src/types/database.ts +++ b/src/types/database.ts @@ -1,5 +1,3 @@ -// cSpell:disable - export type Json = string | number | boolean | null | { [key: string]: Json | undefined } | Json[]; export type Database = { @@ -479,7 +477,7 @@ export type Database = { Args: { name: string; }; - Returns: unknown; + Returns: string[]; }; get_size_by_bucket: { Args: Record;