π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
chore: lint
DarkPhoenix2704f5efb53c8c10
diff --git a/packages/nc-gui/components/general/PageDoesNotExist.vue b/packages/nc-gui/components/general/PageDoesNotExist.vueindex c7c1ad4ebd..e66899a25b 100644--- a/packages/nc-gui/components/general/PageDoesNotExist.vue+++ b/packages/nc-gui/components/general/PageDoesNotExist.vue@@ -19,7 +19,7 @@ defineProps<{ title?: string; subtitle?: string; containerClass?: string; action</div><slot name="actions">- <NcButton @click="navigateTo('/')" class="!text-base" :class="actionButtonClass">{{+ <NcButton class="!text-base" :class="actionButtonClass" @click="navigateTo('/')">{{$t('activity.goBackHome')}}</NcButton></slot>diff --git a/packages/nc-gui/components/smartsheet/column/LookupOptions.vue b/packages/nc-gui/components/smartsheet/column/LookupOptions.vueindex 47a8987eb8..dbd99cbeb5 100644--- a/packages/nc-gui/components/smartsheet/column/LookupOptions.vue+++ b/packages/nc-gui/components/smartsheet/column/LookupOptions.vue@@ -1,7 +1,7 @@<script setup lang="ts">import { onMounted } from '@vue/runtime-core'import type { ColumnType, LinkToAnotherRecordType, LookupType, TableType } from 'nocodb-sdk'-import { PlanFeatureTypes, PlanTitles, RelationTypes, UITypes, isLinksOrLTAR, isSystemColumn, isVirtualCol } from 'nocodb-sdk'+import { PlanFeatureTypes, PlanTitles, RelationTypes, UITypes, isLinksOrLTAR, isVirtualCol } from 'nocodb-sdk'const props = defineProps<{value: anydiff --git a/packages/nc-gui/components/smartsheet/header/AddLookups.vue b/packages/nc-gui/components/smartsheet/header/AddLookups.vueindex 4a508552ec..ffa8b5071d 100644--- a/packages/nc-gui/components/smartsheet/header/AddLookups.vue+++ b/packages/nc-gui/components/smartsheet/header/AddLookups.vue@@ -1,5 +1,5 @@<script setup lang="ts">-import { type ColumnType, type TableType, UITypes, isLinksOrLTAR, isSystemColumn, isVirtualCol } from 'nocodb-sdk'+import { type ColumnType, type TableType, UITypes, isVirtualCol } from 'nocodb-sdk'import Draggable from 'vuedraggable'import { generateUniqueColumnName } from '~/helpers/parsers/parserHelpers'diff --git a/packages/nc-gui/components/smartsheet/toolbar/AddLookupsDropdown.vue b/packages/nc-gui/components/smartsheet/toolbar/AddLookupsDropdown.vueindex 4a77fb01e8..445f3b3dbd 100644--- a/packages/nc-gui/components/smartsheet/toolbar/AddLookupsDropdown.vue+++ b/packages/nc-gui/components/smartsheet/toolbar/AddLookupsDropdown.vue@@ -1,5 +1,5 @@<script setup lang="ts">-import { type ColumnType, type TableType, UITypes, isLinksOrLTAR, isSystemColumn, isVirtualCol } from 'nocodb-sdk'+import { type ColumnType, type TableType, UITypes, isVirtualCol } from 'nocodb-sdk'import { generateUniqueColumnName } from '~/helpers/parsers/parserHelpers'interface Props {diff --git a/packages/nocodb-sdk-v2/src/lib/Api.ts b/packages/nocodb-sdk-v2/src/lib/Api.tsindex 73f9445b54..57c1c26336 100644--- a/packages/nocodb-sdk-v2/src/lib/Api.ts+++ b/packages/nocodb-sdk-v2/src/lib/Api.ts@@ -172,7 +172,7 @@ export interface TableCreate {export type FieldOptions = any;-export type CreateField = FieldBase;+export type CreateField = FieldBaseCreate;export interface Table {/** Unique identifier for the table. */@@ -531,13 +531,49 @@ export interface FieldBase {/** Title of the field. */title: string;/** Field data type. */- type: string;+ type?:+ | 'SingleLineText'+ | 'LongText'+ | 'PhoneNumber'+ | 'URL'+ | 'Email'+ | 'Number'+ | 'Decimal'+ | 'Currency'+ | 'Percent'+ | 'Duration'+ | 'Date'+ | 'DateTime'+ | 'Time'+ | 'SingleSelect'+ | 'MultiSelect'+ | 'Rating'+ | 'Checkbox'+ | 'Attachment'+ | 'Geometry'+ | 'Links'+ | 'Lookup'+ | 'Rollup'+ | 'Button'+ | 'Formula'+ | 'Barcode'+ | 'Year'+ | 'QrCode'+ | 'CreatedAt'+ | 'LastModifiedAt'+ | 'CreatedBy'+ | 'LastModifiedBy'+ | 'LinkToAnotherRecord'+ | 'User'+ | 'JSON';/** Description of the field. */description?: string | null;/** Default value for the field. Applicable for SingleLineText, LongText, PhoneNumber, URL, Email, Number, Decimal, Currency, Percent, Duration, Date, DateTime, Time, SingleSelect, MultiSelect, Rating, Checkbox, User and JSON fields. */default_value?: string | boolean | number;}+export type FieldBaseCreate = FieldBase;+export interface FieldOptionsLongText {/** Enable rich text formatting. */rich_text?: boolean;diff --git a/packages/nocodb/src/db/BaseModelSqlv2/nested-link-preparator.ts b/packages/nocodb/src/db/BaseModelSqlv2/nested-link-preparator.tsindex a616bc05f3..7cd3104986 100644--- a/packages/nocodb/src/db/BaseModelSqlv2/nested-link-preparator.ts+++ b/packages/nocodb/src/db/BaseModelSqlv2/nested-link-preparator.ts@@ -5,7 +5,6 @@ import {getRelatedLinksColumn,} from '~/helpers/dbHelpers';import { type Column, type LinkToAnotherRecordColumn, Model } from '~/models';-import { addOrRemoveLinks } from '~/db/BaseModelSqlv2/add-remove-links';export class NestedLinkPreparator {async prepareNestedLinkQb(