diff --git a/module.yaml b/module.yaml index f7767b5..e3e9d18 100644 --- a/module.yaml +++ b/module.yaml @@ -29,3 +29,13 @@ outputs: # zip, quick-xml). No filesystem, no network. The empty list makes # this explicit; the hub enforces it. permissions: [] + +# MIME-type allow-list for the `document` input. Studio reads this +# through ModuleInfoResponse.accepts_mime and uses it as the OS +# file-picker filter so operators don't accidentally pick a `.png` +# for a PDF-extract step. Same list documented inline next to +# `inputs.document` above; kept synchronised by hand for now. +accepts_mime: + - application/pdf + - application/x-pdf + - application/vnd.openxmlformats-officedocument.wordprocessingml.document