import export

This commit is contained in:
lubiana 2025-07-25 20:18:05 +02:00
parent eb023a40d0
commit 84ef53ae05
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
5 changed files with 315 additions and 6 deletions

47
test-checklist.json Normal file
View file

@ -0,0 +1,47 @@
{
"name": "Test Import Checklist",
"uuid": "test-uuid-123",
"exportedAt": "2024-01-01T12:00:00.000Z",
"items": [
{
"id": 1,
"content": "First item",
"checked": false,
"parent_id": null,
"checklist_uuid": "test-uuid-123",
"dependencies": [],
"not_before": null,
"not_after": null
},
{
"id": 2,
"content": "Second item (depends on first)",
"checked": false,
"parent_id": null,
"checklist_uuid": "test-uuid-123",
"dependencies": [1],
"not_before": null,
"not_after": null
},
{
"id": 3,
"content": "Child item",
"checked": true,
"parent_id": 1,
"checklist_uuid": "test-uuid-123",
"dependencies": [],
"not_before": null,
"not_after": null
},
{
"id": 4,
"content": "Item with date constraints",
"checked": false,
"parent_id": null,
"checklist_uuid": "test-uuid-123",
"dependencies": [2],
"not_before": "2024-01-01T10:00:00Z",
"not_after": "2024-01-01T14:00:00Z"
}
]
}