feat: sync fw (#10671)

* feat: sync table init

* feat: sync table (WIP)

* feat: oauth flow for github

* feat: sync feature flag

* feat: progress for sync

* feat: revise sync status

* feat: incremental support for sync

* feat: disable insert & delete operations on synced tables

* feat: handle synced & readonly on frontend

* test: apply system column order (always initial)

* test: change wrong index

* fix: PR requested changes

* test: overlapping variable names
This commit is contained in:
Mert E.
2025-02-28 16:43:49 +03:00
committed by GitHub
parent 9d0ee75fbf
commit 2a4b192e73
73 changed files with 2518 additions and 182 deletions

View File

@@ -14,6 +14,7 @@ const rootPath = path.resolve(
"..",
"nocodb",
"src",
"ee",
"integrations"
);
@@ -234,7 +235,7 @@ async function generateFormBoilerplate(type: string, subType: string) {
const options = [];
let selectMode: 'single' | 'multiple' | 'multipleWithInput';
let selectMode: "single" | "multiple" | "multipleWithInput";
if (menu === "Select") {
let counter = 0;
@@ -297,9 +298,7 @@ async function generateFormBoilerplate(type: string, subType: string) {
category: '${category}',` +
`${placeholder ? `\nplaceholder: '${placeholder}',\n` : ""}` +
`${menu === "Select" ? `selectMode: '${selectMode}',\n` : ""}` +
`${
menu === "Select" ? `options: ${JSON.stringify(options)},\n` : ""
}` +
`${menu === "Select" ? `options: ${JSON.stringify(options)},\n` : ""}` +
`${defaultValue ? `defaultValue: '${defaultValue}',\n` : ""}` +
`${
isRequired