feat: add support for custom components in react or vanilla JS (#2603)

* cc

* cc

* cc

* all

* sqlx
This commit is contained in:
Ruben Fiszel
2023-11-09 19:38:52 +01:00
committed by GitHub
parent 08782f66e7
commit dd24ed59ec
34 changed files with 711 additions and 82 deletions
+7
View File
@@ -1028,6 +1028,13 @@ async fn create_workspace(
.execute(&mut *tx)
.await?;
sqlx::query!(
"INSERT INTO folder (workspace_id, name, display_name, owners, extra_perms) VALUES ($1, 'app_custom', 'App Custom Components', ARRAY[]::TEXT[], '{\"g/all\": false}') ON CONFLICT DO NOTHING",
nw.id,
)
.execute(&mut *tx)
.await?;
sqlx::query!(
"INSERT INTO folder (workspace_id, name, display_name, owners, extra_perms) VALUES ($1, 'app_groups', 'App Groups', ARRAY[]::TEXT[], '{\"g/all\": false}') ON CONFLICT DO NOTHING",
nw.id,