Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/desktop/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tauri = { version = "2.11.1", default-features = false, features = ["wry"] }
time = { version = "0.3", features = ["formatting", "macros"] }
tokio = { version = "1.50.0", features = ["time"] }
url = "2.5.8"
uuid = { version = "1", features = ["v4"] }

[features]
default = []
6 changes: 6 additions & 0 deletions apps/desktop/src-tauri/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ fn main() {
"start_analysis_job",
"get_analysis_job_status",
"select_local_audio_source",
"import_youtube_url",
"save_project",
"load_project",
"attach_score_pdf",
"read_score_pdf",
"remove_score_pdf",
]),
))
.expect("failed to build tauri application manifest");
Expand Down
8 changes: 7 additions & 1 deletion apps/desktop/src-tauri/capabilities/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"core:event:allow-unlisten",
"allow-start-analysis-job",
"allow-get-analysis-job-status",
"allow-select-local-audio-source"
"allow-select-local-audio-source",
"allow-import-youtube-url",
"allow-save-project",
"allow-load-project",
"allow-attach-score-pdf",
"allow-read-score-pdf",
"allow-remove-score-pdf"
]
}
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/gen/schemas/acl-manifests.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/gen/schemas/capabilities.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"main-capability":{"identifier":"main-capability","description":"Capability for the main BandScope window to use the analysis orchestration commands.","local":true,"windows":["main"],"permissions":["core:event:allow-listen","core:event:allow-unlisten","allow-start-analysis-job","allow-get-analysis-job-status","allow-select-local-audio-source"]}}
{"main-capability":{"identifier":"main-capability","description":"Capability for the main BandScope window to use the analysis orchestration commands.","local":true,"windows":["main"],"permissions":["core:event:allow-listen","core:event:allow-unlisten","allow-start-analysis-job","allow-get-analysis-job-status","allow-select-local-audio-source","allow-import-youtube-url","allow-save-project","allow-load-project","allow-attach-score-pdf","allow-read-score-pdf","allow-remove-score-pdf"]}}
72 changes: 72 additions & 0 deletions apps/desktop/src-tauri/gen/schemas/desktop-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,48 @@
"Identifier": {
"description": "Permission identifier",
"oneOf": [
{
"description": "Enables the attach_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "allow-attach-score-pdf",
"markdownDescription": "Enables the attach_score_pdf command without any pre-configured scope."
},
{
"description": "Enables the get_analysis_job_status command without any pre-configured scope.",
"type": "string",
"const": "allow-get-analysis-job-status",
"markdownDescription": "Enables the get_analysis_job_status command without any pre-configured scope."
},
{
"description": "Enables the import_youtube_url command without any pre-configured scope.",
"type": "string",
"const": "allow-import-youtube-url",
"markdownDescription": "Enables the import_youtube_url command without any pre-configured scope."
},
{
"description": "Enables the load_project command without any pre-configured scope.",
"type": "string",
"const": "allow-load-project",
"markdownDescription": "Enables the load_project command without any pre-configured scope."
},
{
"description": "Enables the read_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "allow-read-score-pdf",
"markdownDescription": "Enables the read_score_pdf command without any pre-configured scope."
},
{
"description": "Enables the remove_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "allow-remove-score-pdf",
"markdownDescription": "Enables the remove_score_pdf command without any pre-configured scope."
},
{
"description": "Enables the save_project command without any pre-configured scope.",
"type": "string",
"const": "allow-save-project",
"markdownDescription": "Enables the save_project command without any pre-configured scope."
},
{
"description": "Enables the select_local_audio_source command without any pre-configured scope.",
"type": "string",
Expand All @@ -194,12 +230,48 @@
"const": "allow-start-analysis-job",
"markdownDescription": "Enables the start_analysis_job command without any pre-configured scope."
},
{
"description": "Denies the attach_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "deny-attach-score-pdf",
"markdownDescription": "Denies the attach_score_pdf command without any pre-configured scope."
},
{
"description": "Denies the get_analysis_job_status command without any pre-configured scope.",
"type": "string",
"const": "deny-get-analysis-job-status",
"markdownDescription": "Denies the get_analysis_job_status command without any pre-configured scope."
},
{
"description": "Denies the import_youtube_url command without any pre-configured scope.",
"type": "string",
"const": "deny-import-youtube-url",
"markdownDescription": "Denies the import_youtube_url command without any pre-configured scope."
},
{
"description": "Denies the load_project command without any pre-configured scope.",
"type": "string",
"const": "deny-load-project",
"markdownDescription": "Denies the load_project command without any pre-configured scope."
},
{
"description": "Denies the read_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "deny-read-score-pdf",
"markdownDescription": "Denies the read_score_pdf command without any pre-configured scope."
},
{
"description": "Denies the remove_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "deny-remove-score-pdf",
"markdownDescription": "Denies the remove_score_pdf command without any pre-configured scope."
},
{
"description": "Denies the save_project command without any pre-configured scope.",
"type": "string",
"const": "deny-save-project",
"markdownDescription": "Denies the save_project command without any pre-configured scope."
},
{
"description": "Denies the select_local_audio_source command without any pre-configured scope.",
"type": "string",
Expand Down
72 changes: 72 additions & 0 deletions apps/desktop/src-tauri/gen/schemas/macOS-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,48 @@
"Identifier": {
"description": "Permission identifier",
"oneOf": [
{
"description": "Enables the attach_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "allow-attach-score-pdf",
"markdownDescription": "Enables the attach_score_pdf command without any pre-configured scope."
},
{
"description": "Enables the get_analysis_job_status command without any pre-configured scope.",
"type": "string",
"const": "allow-get-analysis-job-status",
"markdownDescription": "Enables the get_analysis_job_status command without any pre-configured scope."
},
{
"description": "Enables the import_youtube_url command without any pre-configured scope.",
"type": "string",
"const": "allow-import-youtube-url",
"markdownDescription": "Enables the import_youtube_url command without any pre-configured scope."
},
{
"description": "Enables the load_project command without any pre-configured scope.",
"type": "string",
"const": "allow-load-project",
"markdownDescription": "Enables the load_project command without any pre-configured scope."
},
{
"description": "Enables the read_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "allow-read-score-pdf",
"markdownDescription": "Enables the read_score_pdf command without any pre-configured scope."
},
{
"description": "Enables the remove_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "allow-remove-score-pdf",
"markdownDescription": "Enables the remove_score_pdf command without any pre-configured scope."
},
{
"description": "Enables the save_project command without any pre-configured scope.",
"type": "string",
"const": "allow-save-project",
"markdownDescription": "Enables the save_project command without any pre-configured scope."
},
{
"description": "Enables the select_local_audio_source command without any pre-configured scope.",
"type": "string",
Expand All @@ -194,12 +230,48 @@
"const": "allow-start-analysis-job",
"markdownDescription": "Enables the start_analysis_job command without any pre-configured scope."
},
{
"description": "Denies the attach_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "deny-attach-score-pdf",
"markdownDescription": "Denies the attach_score_pdf command without any pre-configured scope."
},
{
"description": "Denies the get_analysis_job_status command without any pre-configured scope.",
"type": "string",
"const": "deny-get-analysis-job-status",
"markdownDescription": "Denies the get_analysis_job_status command without any pre-configured scope."
},
{
"description": "Denies the import_youtube_url command without any pre-configured scope.",
"type": "string",
"const": "deny-import-youtube-url",
"markdownDescription": "Denies the import_youtube_url command without any pre-configured scope."
},
{
"description": "Denies the load_project command without any pre-configured scope.",
"type": "string",
"const": "deny-load-project",
"markdownDescription": "Denies the load_project command without any pre-configured scope."
},
{
"description": "Denies the read_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "deny-read-score-pdf",
"markdownDescription": "Denies the read_score_pdf command without any pre-configured scope."
},
{
"description": "Denies the remove_score_pdf command without any pre-configured scope.",
"type": "string",
"const": "deny-remove-score-pdf",
"markdownDescription": "Denies the remove_score_pdf command without any pre-configured scope."
},
{
"description": "Denies the save_project command without any pre-configured scope.",
"type": "string",
"const": "deny-save-project",
"markdownDescription": "Denies the save_project command without any pre-configured scope."
},
{
"description": "Denies the select_local_audio_source command without any pre-configured scope.",
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-attach-score-pdf"
description = "Enables the attach_score_pdf command without any pre-configured scope."
commands.allow = ["attach_score_pdf"]

[[permission]]
identifier = "deny-attach-score-pdf"
description = "Denies the attach_score_pdf command without any pre-configured scope."
commands.deny = ["attach_score_pdf"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-import-youtube-url"
description = "Enables the import_youtube_url command without any pre-configured scope."
commands.allow = ["import_youtube_url"]

[[permission]]
identifier = "deny-import-youtube-url"
description = "Denies the import_youtube_url command without any pre-configured scope."
commands.deny = ["import_youtube_url"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-load-project"
description = "Enables the load_project command without any pre-configured scope."
commands.allow = ["load_project"]

[[permission]]
identifier = "deny-load-project"
description = "Denies the load_project command without any pre-configured scope."
commands.deny = ["load_project"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-read-score-pdf"
description = "Enables the read_score_pdf command without any pre-configured scope."
commands.allow = ["read_score_pdf"]

[[permission]]
identifier = "deny-read-score-pdf"
description = "Denies the read_score_pdf command without any pre-configured scope."
commands.deny = ["read_score_pdf"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-remove-score-pdf"
description = "Enables the remove_score_pdf command without any pre-configured scope."
commands.allow = ["remove_score_pdf"]

[[permission]]
identifier = "deny-remove-score-pdf"
description = "Denies the remove_score_pdf command without any pre-configured scope."
commands.deny = ["remove_score_pdf"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-save-project"
description = "Enables the save_project command without any pre-configured scope."
commands.allow = ["save_project"]

[[permission]]
identifier = "deny-save-project"
description = "Denies the save_project command without any pre-configured scope."
commands.deny = ["save_project"]
Loading
Loading