chore(bruno): update library API collection and add dev DB setup

Update all library API request files to the current Bruno format
with proper settings blocks, updated sequence numbers, and cleaner
YAML formatting.

Add NewDevDBSetup collection with requests for creating comic, ebook,
and manga libraries, user registration, and folder configuration to
speed up development environment setup.
This commit is contained in:
2026-04-19 14:27:35 -04:00
parent c337b46bef
commit e2d2dbecab
18 changed files with 484 additions and 75 deletions
+20 -12
View File
@@ -1,24 +1,32 @@
info:
name: Update Library
type: http
seq: 2
seq: 11
http:
method: PUT
url: '{{base_url}}/api/libraries/{{library_id}}'
auth: inherit
url: "{{base_url}}/api/libraries/{{library_id}}"
headers:
- name: ""
value: application/json
body:
type: json
json:
name: Updated Library Name
description: Updated library description
headers:
- key: Content-Type
value: application/json
data: ""
auth: inherit
runtime:
scripts:
- type: tests
code: "test_update_library_success(status, headers, body) {\n if (status !==\
\ 200) {\n throw new Error(\"Expected status 200, got \" + status);"
- type: tests
code: |-
test_update_library_success(status, headers, body) {
if (status !== 200) {
throw new Error("Expected status 200, got " + status);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
docs: |-
## Update Library