Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"id": "detect_mime_bytes_html",
"category": "detection",
"description": "Detect HTML MIME from bytes",
"tags": ["mime_detection", "bytes"],
"call": "detect_mime_type_from_bytes",
"input": {
"data": "html/html.html"
},
"assertions": [{ "type": "not_error" }]
}

View File

@@ -0,0 +1,15 @@
{
"id": "detect_mime_bytes_pdf",
"category": "detection",
"description": "Detect PDF MIME type from bytes",
"tags": ["mime_detection", "bytes", "pdf"],
"call": "detect_mime_type_from_bytes",
"input": {
"data": "pdf/fake_memo.pdf"
},
"assertions": [
{
"type": "not_error"
}
]
}

View File

@@ -0,0 +1,15 @@
{
"id": "detect_mime_bytes_png",
"category": "detection",
"description": "Detect PNG MIME type from bytes",
"tags": ["mime_detection", "bytes", "png"],
"call": "detect_mime_type_from_bytes",
"input": {
"data": "images/test_hello_world.png"
},
"assertions": [
{
"type": "not_error"
}
]
}

View File

@@ -0,0 +1,11 @@
{
"id": "get_extensions_unknown_mime",
"category": "detection",
"description": "get_extensions unknown MIME",
"tags": ["mime_detection", "error"],
"call": "get_extensions_for_mime",
"input": {
"mime_type": "application/x-totally-unknown"
},
"assertions": [{ "type": "error" }]
}