user preferences
All checks were successful
Deploy / deploy (push) Successful in 36s

This commit is contained in:
2025-12-25 21:30:30 +06:00
parent 37683c42a9
commit 22c5fafb11
3 changed files with 43 additions and 3 deletions

View File

@@ -2831,6 +2831,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@tauri-apps/api@npm:^2.8.0":
version: 2.9.1
resolution: "@tauri-apps/api@npm:2.9.1"
checksum: 10c0/18c76ec58b579860bfde5cd5b5ea6c3b13019d356c17d436bf395cafdf15dd1f277364cacd24cc94e5d4aa3816f39698f231773d2a18625e98702295ab0c2c8f
languageName: node
linkType: hard
"@tauri-apps/cli-darwin-arm64@npm:2.8.4": "@tauri-apps/cli-darwin-arm64@npm:2.8.4":
version: 2.8.4 version: 2.8.4
resolution: "@tauri-apps/cli-darwin-arm64@npm:2.8.4" resolution: "@tauri-apps/cli-darwin-arm64@npm:2.8.4"
@@ -2952,6 +2959,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@tauri-apps/plugin-global-shortcut@npm:~2":
version: 2.3.1
resolution: "@tauri-apps/plugin-global-shortcut@npm:2.3.1"
dependencies:
"@tauri-apps/api": "npm:^2.8.0"
checksum: 10c0/e3833a1d0bab370aecb64396ea7e701f5342e303c6fdd3870583619b50c9e2784854b85ca24c279e9871bdcd6796de878392acd1ea4cd563fda83068939e27cd
languageName: node
linkType: hard
"@tauri-apps/plugin-process@npm:~2": "@tauri-apps/plugin-process@npm:~2":
version: 2.3.0 version: 2.3.0
resolution: "@tauri-apps/plugin-process@npm:2.3.0" resolution: "@tauri-apps/plugin-process@npm:2.3.0"
@@ -4036,11 +4052,13 @@ __metadata:
"@primevue/nuxt-module": "npm:^4.4.0" "@primevue/nuxt-module": "npm:^4.4.0"
"@tailwindcss/vite": "npm:^4.1.14" "@tailwindcss/vite": "npm:^4.1.14"
"@tauri-apps/cli": "npm:^2.8.4" "@tauri-apps/cli": "npm:^2.8.4"
"@tauri-apps/plugin-global-shortcut": "npm:~2"
"@tauri-apps/plugin-process": "npm:~2" "@tauri-apps/plugin-process": "npm:~2"
"@tauri-apps/plugin-updater": "npm:~2" "@tauri-apps/plugin-updater": "npm:~2"
"@vueuse/core": "npm:^13.9.0" "@vueuse/core": "npm:^13.9.0"
eslint: "npm:^9.36.0" eslint: "npm:^9.36.0"
eslint-plugin-format: "npm:^1.0.2" eslint-plugin-format: "npm:^1.0.2"
hotkeys-js: "npm:^4.0.0"
lucide-vue-next: "npm:^0.562.0" lucide-vue-next: "npm:^0.562.0"
mediasoup-client: "npm:^3.16.7" mediasoup-client: "npm:^3.16.7"
nuxt: "npm:^4.2.2" nuxt: "npm:^4.2.2"
@@ -6207,6 +6225,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"hotkeys-js@npm:^4.0.0":
version: 4.0.0
resolution: "hotkeys-js@npm:4.0.0"
checksum: 10c0/7cf84a0a8c20ff36e3d90de83977480a035a69335afffc41597d66930be49f69c5ad0a430ef38e953ab2ec73804b2a1635f34d096c7146fef2a2f7a45b3417c8
languageName: node
linkType: hard
"http-cache-semantics@npm:^4.1.1": "http-cache-semantics@npm:^4.1.1":
version: 4.2.0 version: 4.2.0
resolution: "http-cache-semantics@npm:4.2.0" resolution: "http-cache-semantics@npm:4.2.0"

View File

@@ -0,0 +1,15 @@
-- RedefineTables
PRAGMA defer_foreign_keys=ON;
PRAGMA foreign_keys=OFF;
CREATE TABLE "new_UserPreferences" (
"userId" TEXT NOT NULL PRIMARY KEY,
"toggleInputHotkey" TEXT,
"toggleOutputHotkey" TEXT,
"volumes" JSONB,
CONSTRAINT "UserPreferences_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User" ("id") ON DELETE CASCADE ON UPDATE CASCADE
);
INSERT INTO "new_UserPreferences" ("toggleInputHotkey", "toggleOutputHotkey", "userId", "volumes") SELECT "toggleInputHotkey", "toggleOutputHotkey", "userId", "volumes" FROM "UserPreferences";
DROP TABLE "UserPreferences";
ALTER TABLE "new_UserPreferences" RENAME TO "UserPreferences";
PRAGMA foreign_keys=ON;
PRAGMA defer_foreign_keys=OFF;

View File

@@ -32,9 +32,9 @@ model Session {
model UserPreferences { model UserPreferences {
userId String @id userId String @id
toggleInputHotkey String toggleInputHotkey String?
toggleOutputHotkey String toggleOutputHotkey String?
volumes Json volumes Json?
user User @relation(fields: [userId], references: [id], onDelete: Cascade) user User @relation(fields: [userId], references: [id], onDelete: Cascade)
} }