-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add autocompletion for headers value (#1142)
* feature: add autocompletion for headers value * chore: rename file to autocompleteConstants and move it to codemirror utils
- Loading branch information
1 parent
0d3765a
commit 0d20469
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
packages/bruno-app/src/utils/codemirror/autocompleteConstants.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
export const MimeTypes = [ | ||
'application/atom+xml', | ||
'application/ecmascript', | ||
'application/json', | ||
'application/vnd.api+json', | ||
'application/javascript', | ||
'application/octet-stream', | ||
'application/ogg', | ||
'application/pdf', | ||
'application/postscript', | ||
'application/rdf+xml', | ||
'application/rss+xml', | ||
'application/soap+xml', | ||
'application/font-woff', | ||
'application/x-yaml', | ||
'application/xhtml+xml', | ||
'application/xml', | ||
'application/xml-dtd', | ||
'application/xop+xml', | ||
'application/zip', | ||
'application/gzip', | ||
'application/graphql', | ||
'application/x-www-form-urlencoded', | ||
'audio/basic', | ||
'audio/L24', | ||
'audio/mp4', | ||
'audio/mpeg', | ||
'audio/ogg', | ||
'audio/vorbis', | ||
'audio/vnd.rn-realaudio', | ||
'audio/vnd.wave', | ||
'audio/webm', | ||
'image/gif', | ||
'image/jpeg', | ||
'image/pjpeg', | ||
'image/png', | ||
'image/svg+xml', | ||
'image/tiff', | ||
'message/http', | ||
'message/imdn+xml', | ||
'message/partial', | ||
'message/rfc822', | ||
'multipart/mixed', | ||
'multipart/alternative', | ||
'multipart/related', | ||
'multipart/form-data', | ||
'multipart/signed', | ||
'multipart/encrypted', | ||
'text/cmd', | ||
'text/css', | ||
'text/csv', | ||
'text/html', | ||
'text/plain', | ||
'text/vcard', | ||
'text/xml' | ||
]; |