chore(custom-widgets): merge v2

This commit is contained in:
Thomas Camlong committed 2026-07-20 14:29:49 +02:00
commit aebc7016b1
36 files changed
+7351 -209

No files matched your search

@@ -0,0 +1 @@
ALTER TABLE `user` ADD `enable_right_click_on_widgets` integer DEFAULT true NOT NULL;
@@ -1,7 +1,7 @@
{
"version": "6",
"dialect": "sqlite",
"id": "30bbf6f8-3a3c-4cb0-994e-9d8494e4fcd0",
"id": "852e049b-72cc-4d7f-8be9-931c042fe019",
"prevId": "d76abdce-ba49-450b-81f0-621bcf581b90",
"tables": {
"account": {
@@ -546,40 +546,58 @@
"notNull": false,
"autoincrement": false
},
"sources": {
"name": "sources",
"url": {
"name": "url",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"requests": {
"name": "requests",
"auth_type": {
"name": "auth_type",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
"default": "'none'"
},
"header_name": {
"name": "header_name",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"options_schema": {
"name": "options_schema",
"method": {
"name": "method",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
"default": "'GET'"
},
"request_body": {
"name": "request_body",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"default_options": {
"name": "default_options",
"display_type": {
"name": "display_type",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
"autoincrement": false,
"default": "'singleValue'"
},
"template": {
"name": "template",
"display_config": {
"name": "display_config",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
"autoincrement": false,
"default": "'{\"json\": {}}'"
},
"enabled": {
"name": "enabled",
@@ -632,13 +650,6 @@
"custom_widget_secret": {
"name": "custom_widget_secret",
"columns": {
"source_id": {
"name": "source_id",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"kind": {
"name": "kind",
"type": "text",
@@ -646,8 +657,8 @@
"notNull": true,
"autoincrement": false
},
"encrypted_value": {
"name": "encrypted_value",
"value": {
"name": "value",
"type": "text",
"primaryKey": false,
"notNull": true,
@@ -681,9 +692,9 @@
}
},
"compositePrimaryKeys": {
"custom_widget_secret_definition_id_source_id_kind_pk": {
"columns": ["definition_id", "source_id", "kind"],
"name": "custom_widget_secret_definition_id_source_id_kind_pk"
"custom_widget_secret_definition_id_kind_pk": {
"columns": ["definition_id", "kind"],
"name": "custom_widget_secret_definition_id_kind_pk"
}
},
"uniqueConstraints": {},
@@ -2108,6 +2119,14 @@
"autoincrement": false,
"default": false
},
"enable_right_click_on_widgets": {
"name": "enable_right_click_on_widgets",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
"default": true
},
"completed_manage_tour": {
"name": "completed_manage_tour",
"type": "integer",
File diff suppressed because it is too large. Load diff
@@ -292,8 +292,15 @@
{
"idx": 41,
"version": "6",
"when": 1783786658943,
"tag": "0041_add_right_click_preference",
"breakpoints": true
},
{
"idx": 42,
"version": "6",
"when": 1784305283910,
"tag": "0041_custom_widget_v2_reset",
"tag": "0042_custom_widget_v2_reset",
"breakpoints": true
}
]