Skip to content

Commit

Permalink
Merge pull request #18 from BlackbitDevs/patch-1
Browse files Browse the repository at this point in the history
Add file extensions "stp" and "step"
  • Loading branch information
frankdejonge authored Aug 3, 2023
2 parents 6b094dd + 5c7ff7f commit a5007a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GeneratedExtensionToMimeTypeMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -933,10 +933,12 @@ class GeneratedExtensionToMimeTypeMap implements ExtensionToMimeTypeMap
'st' => 'application/vnd.sailingtracker.track',
'stc' => 'application/vnd.sun.xml.calc.template',
'std' => 'application/vnd.sun.xml.draw.template',
'step' => 'application/STEP',
'stf' => 'application/vnd.wt.stf',
'sti' => 'application/vnd.sun.xml.impress.template',
'stk' => 'application/hyperstudio',
'stl' => 'model/stl',
'stp' => 'application/STEP',
'stpx' => 'model/step+xml',
'stpxz' => 'model/step-xml+zip',
'stpz' => 'model/step+zip',
Expand Down
2 changes: 2 additions & 0 deletions src/Generation/FlysystemProvidedMimeTypeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ public function provideMimeTypes(): array
new MimeTypeForExtension('application/vnd.oasis.opendocument.text-master', 'odm'),
new MimeTypeForExtension('application/vnd.oasis.opendocument.database', 'odb'),
new MimeTypeForExtension('application/vnd.oasis.opendocument.text-template', 'ott'),
new MimeTypeForExtension('application/STEP', 'step'),
new MimeTypeForExtension('application/STEP', 'stp'),
];
}
}

0 comments on commit a5007a6

Please sign in to comment.