diff --git a/.eslintrc.cjs b/.eslintrc.cjs index daf11b937..8924734c0 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -90,6 +90,7 @@ module.exports = { }, ], 'import/extensions': 'off', + '@typescript-eslint/no-redundant-type-constituents': 'off', }, ignorePatterns: [ '**/node_modules/**', @@ -105,6 +106,5 @@ module.exports = { 'templates', 'external', '.nx', - '**/database.types.ts', ], }; diff --git a/packages/dapp/src/app/[locale]/app/(protected)/shared-presentations/sharedPresentations.tsx b/packages/dapp/src/app/[locale]/app/(protected)/shared-presentations/sharedPresentations.tsx index 4a369d3d2..519283609 100644 --- a/packages/dapp/src/app/[locale]/app/(protected)/shared-presentations/sharedPresentations.tsx +++ b/packages/dapp/src/app/[locale]/app/(protected)/shared-presentations/sharedPresentations.tsx @@ -208,8 +208,8 @@ export const SharedPresentations = () => { column.key === 'actions' ? 'text-end' : column.key === 'title' - ? 'text-start' - : 'text-center' + ? 'text-start' + : 'text-center' )} > {column.label} @@ -229,8 +229,8 @@ export const SharedPresentations = () => { columnKey === 'actions' ? 'text-end' : columnKey === 'title' - ? 'text-start' - : 'text-center' + ? 'text-start' + : 'text-center' )} > {renderCell(item, columnKey)} diff --git a/packages/dapp/src/utils/supabase/database.types.ts b/packages/dapp/src/utils/supabase/database.types.ts index 46eea7e3f..1b3525d8e 100644 --- a/packages/dapp/src/utils/supabase/database.types.ts +++ b/packages/dapp/src/utils/supabase/database.types.ts @@ -144,14 +144,14 @@ export type Tables< ? R : never : PublicTableNameOrOptions extends keyof (Database['public']['Tables'] & - Database['public']['Views']) - ? (Database['public']['Tables'] & - Database['public']['Views'])[PublicTableNameOrOptions] extends { - Row: infer R; - } - ? R - : never - : never; + Database['public']['Views']) + ? (Database['public']['Tables'] & + Database['public']['Views'])[PublicTableNameOrOptions] extends { + Row: infer R; + } + ? R + : never + : never; export type TablesInsert< PublicTableNameOrOptions extends @@ -167,12 +167,12 @@ export type TablesInsert< ? I : never : PublicTableNameOrOptions extends keyof Database['public']['Tables'] - ? Database['public']['Tables'][PublicTableNameOrOptions] extends { - Insert: infer I; - } - ? I - : never - : never; + ? Database['public']['Tables'][PublicTableNameOrOptions] extends { + Insert: infer I; + } + ? I + : never + : never; export type TablesUpdate< PublicTableNameOrOptions extends @@ -188,12 +188,12 @@ export type TablesUpdate< ? U : never : PublicTableNameOrOptions extends keyof Database['public']['Tables'] - ? Database['public']['Tables'][PublicTableNameOrOptions] extends { - Update: infer U; - } - ? U - : never - : never; + ? Database['public']['Tables'][PublicTableNameOrOptions] extends { + Update: infer U; + } + ? U + : never + : never; export type Enums< PublicEnumNameOrOptions extends @@ -205,5 +205,5 @@ export type Enums< > = PublicEnumNameOrOptions extends { schema: keyof Database } ? Database[PublicEnumNameOrOptions['schema']]['Enums'][EnumName] : PublicEnumNameOrOptions extends keyof Database['public']['Enums'] - ? Database['public']['Enums'][PublicEnumNameOrOptions] - : never; + ? Database['public']['Enums'][PublicEnumNameOrOptions] + : never;