1.0.0 • Published 1 year ago

directus-extension-filepreview-interface-sbn v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

File Preview Interface - Directus extension

A file freview interface.

Installation

In your Directus installation root

npm install directus-extension-filepreview-interface

Restart directus

Usage

Create a field with File Preview, set field name that you want to preview, and set a static token. And then you should add config in .env file:

CONTENT_SECURITY_POLICY_directives__child-src="'self' blob: https://view.officeapps.live.com"

Building locally and contributing

You can also clone this repository and build it by yourself.

npm i
npm run build

Then use index.js in your custom /extensions/interfaces directory or in whatever you want.

acornansi-regexansi-stylesbalanced-matchbase64-jsblboolbasebrace-expansionbrowserslistbufferbuffer-frombuiltin-modulescallsitescaniuse-apicaniuse-litechalkcli-cursorcli-spinnersclonecolor-convertcolor-namecolordcommandercommondirconcat-mapcosmiconfigcross-spawncss-declaration-sortercss-selectcss-treecss-whatcssesccssnanocssnano-preset-defaultcssnano-utilscssocsstypedate-fnsdebugdecode-uri-componentdeepmergedefaultsdom-serializerdomelementtypedomhandlerdomutilselectron-to-chromiumentitieserror-exescaladeescape-string-regexpestree-walkereventemitter3execafilter-objfind-cache-dirfind-upfs-extrafs.realpathfseventsfunction-bindget-streamglobgraceful-fshashas-flaghash-sumhuman-signalsicss-utilsieee754import-freshinflightinheritsis-arrayishis-builtin-moduleis-core-moduleis-interactiveis-moduleis-referenceis-streamis-unicode-supportedisexejest-workerjoijs-tokensjson-parse-even-better-errorsjsonfilelilconfiglines-and-columnslocate-pathlodashlodash.memoizelodash.sortbylodash.uniqlog-symbolsmagic-stringmake-dirmdn-datamerge-streammime-dbmime-typesmimic-fnminimatchmsnanoidnode-releasesnormalize-urlnpm-run-pathnth-checkonceonetimeorap-finallyp-limitp-locatep-queuep-timeoutp-tryparent-moduleparse-jsonpath-existspath-is-absolutepath-is-network-drivepath-keypath-parsepath-strip-seppath-typepicocolorspicomatchpkg-dirpostcsspostcss-calcpostcss-colorminpostcss-convert-valuespostcss-discard-commentspostcss-discard-duplicatespostcss-discard-emptypostcss-discard-overriddenpostcss-merge-longhandpostcss-merge-rulespostcss-minify-font-valuespostcss-minify-gradientspostcss-minify-paramspostcss-minify-selectorspostcss-modules-extract-importspostcss-modules-local-by-defaultpostcss-modules-scopepostcss-modules-valuespostcss-normalize-charsetpostcss-normalize-display-valuespostcss-normalize-positionspostcss-normalize-repeat-stylepostcss-normalize-stringpostcss-normalize-timing-functionspostcss-normalize-unicodepostcss-normalize-urlpostcss-normalize-whitespacepostcss-ordered-valuespostcss-reduce-initialpostcss-reduce-transformspostcss-selector-parserpostcss-svgopostcss-unique-selectorspostcss-value-parserpunycodequery-stringrandombytesreadable-streamresolveresolve-fromrestore-cursorrolluprollup-plugin-stylesrollup-plugin-terserrollup-plugin-typescript2rollup-plugin-vuerollup-pluginutilssafe-buffersemverserialize-javascriptshebang-commandshebang-regexsignal-exitsource-mapsource-map-jssource-map-supportsourcemap-codecsplit-on-firststablestrict-uri-encodestring_decoderstrip-ansistrip-final-newlinestylehackssupports-colorsupports-preserve-symlinks-flagsvgotersertr46tslibuniversalifyupath2util-deprecatewcwidthwebidl-conversionswhatwg-urlwhichwrappyyamlyocto-queue
1.0.0

1 year ago