{"_id":"@emahuni/directus.app.guts","_rev":"5-252e4c3bfc95260b06de50f6b1dab550","name":"@emahuni/directus.app.guts","dist-tags":{"latest":"3.0.2-app-13.13.1"},"versions":{"2.1.0-app-13.11.2":{"name":"@emahuni/directus.app.guts","version":"2.1.0-app-13.11.2","keywords":["directus","composables","vue","typescript","sdk","extensions"],"author":{"url":"https://github.com/emahuni/","name":"Emmanuel Mahuni","email":"emahuni@gmail.com"},"license":"MIT","_id":"@emahuni/directus.app.guts@2.1.0-app-13.11.2","maintainers":[{"name":"emahuni","email":"emahuni@gmail.com"}],"dist":{"shasum":"2df2c2e6ae01334ebae5ab2c231aba6c26a50b4e","tarball":"https://registry.npmjs.org/@emahuni/directus.app.guts/-/directus.app.guts-2.1.0-app-13.11.2.tgz","fileCount":368,"integrity":"sha512-AqwQPIrVwUQ3W4/U762LEkj48Q2Emlf0KDLCBYUUFYvb5aqhDdGQkUCTBsbz/kxXfJ3RpFCt1DbZCP5CNdHl6A==","signatures":[{"sig":"MEUCIQCgxQ/1rTDUeRV4qMoghByoXhyKiyZ4bkJVydxLRZFjMwIgKnR7A/xsUX0OYLEYHoVbHTcqMB/CSwiYS0hIuGV6wwk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":991031},"pnpm":{"onlyBuiltDependencies":["@fortawesome/fontawesome-common-types","@fortawesome/fontawesome-svg-core","@fortawesome/free-regular-svg-icons","@fortawesome/free-solid-svg-icons","esbuild","vue-demi"]},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./events":{"types":"./dist/events.d.ts","default":"./dist/events.js"},"./utils/*":{"types":"./dist/utils/*.d.ts","default":"./dist/utils/*.js"},"./index.js":{"types":"./dist/index.js/index.d.ts","default":"./dist/index.js/index.js"},"./__utils__":{"types":"./dist/__utils__/index.d.ts","default":"./dist/__utils__/index.js"},"./constants":{"types":"./dist/constants.d.ts","default":"./dist/constants.js"},"./index.d.ts":{"types":"./dist/index.d.ts/index.d.ts","default":"./dist/index.d.ts/index.js"},"./__utils__/*":{"types":"./dist/__utils__/*.d.ts","default":"./dist/__utils__/*.js"},"./composables":{"types":"./dist/composables/index.d.ts","default":"./dist/composables/index.js"},"./composables/*":{"types":"./dist/composables/*.d.ts","default":"./dist/composables/*.js"},"./utils/geometry":{"types":"./dist/utils/geometry/index.d.ts","default":"./dist/utils/geometry/index.js"},"./composables/use-item":{"types":"./dist/composables/use-item/index.d.ts","default":"./dist/composables/use-item/index.js"},"./utils/readable-mime-type":{"types":"./dist/utils/readable-mime-type/index.d.ts","default":"./dist/utils/readable-mime-type/index.js"},"./composables/use-permissions":{"types":"./dist/composables/use-permissions/index.d.ts","default":"./dist/composables/use-permissions/index.js"},"./composables/use-permissions/types":{"types":"./dist/composables/use-permissions/types/index.d.ts","default":"./dist/composables/use-permissions/types/index.js"}},"gitHead":"609f83408fb9b76b0445da6d3d51dcafaf0c3bb4","scripts":{"dev":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs -w","build":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs","prepack":"pnpm build","sync-clone":"cd src/directus && git pull origin v$(node -p \"require('../../package.json').version\")"},"_npmUser":{"name":"emahuni","email":"emahuni@gmail.com"},"_npmVersion":"10.9.2","description":"Exposition of Directus App Internals. Selection of Composables, __utils__ and utils from Directus app for use in extensions and other code that works in Directus App Studio. The version of this package uses semver with an additional '-app-n.n.n' to denote","directories":{},"_nodeVersion":"22.16.0","dependencies":{"vue":"3.5.13","diff":"7.0.0","mime":"4.0.6","mitt":"3.0.1","vite":"5.4.19","axios":"1.8.4","color":"5.0.0","pinia":"2.3.1","lodash":"4.17.21","marked":"15.0.7","nanoid":"5.1.2","ofetch":"1.4.1","qrcode":"1.5.4","semver":"7.7.1","vitest":"2.1.9","base-64":"1.0.0","geojson":"0.5.0","p-queue":"8.1.0","tinymce":"6.8.5","vue-tsc":"2.2.8","date-fns":"4.1.0","histoire":"0.17.17","vue-i18n":"11.1.2","caret-pos":"2.0.0","chroma-js":"3.1.2","cropperjs":"1.6.2","dompurify":"3.2.4","flatpickr":"4.6.13","happy-dom":"17.1.8","mapbox-gl":"1.13.3","pretty-ms":"9.2.0","wellknown":"0.5.0","@turf/meta":"7.2.0","apexcharts":"4.5.0","codemirror":"5.65.18","diacritics":"1.3.0","file-saver":"2.0.5","typescript":"5.8.2","vue-router":"4.5.0","@types/diff":"7.0.1","@unhead/vue":"1.11.20","maplibre-gl":"1.15.3","@vueuse/core":"12.7.0","jsonlint-mod":"1.7.6","string-width":"7.2.0","vuedraggable":"4.1.0","@directus/sdk":"20.0.0","@editorjs/raw":"2.5.0","@ngneat/falso":"7.3.0","@types/lodash":"4.17.16","@types/qrcode":"1.5.5","@types/semver":"7.5.8","html-entities":"2.5.2","micromustache":"8.0.3","sass-embedded":"1.85.1","tus-js-client":"4.3.1","@editorjs/code":"2.9.0","@pinia/testing":"1.0.0","@popperjs/core":"2.11.8","@types/base-64":"1.0.2","@types/geojson":"7946.0.16","@unhead/addons":"1.11.20","@vueuse/router":"12.7.0","@directus/types":"13.2.0","@directus/utils":"13.0.7","@editorjs/embed":"2.7.4","@editorjs/image":"2.9.3","@editorjs/quote":"2.7.2","@editorjs/table":"2.3.0","@vue/test-utils":"2.4.6","@directus/errors":"2.0.2","@directus/random":"2.0.1","@directus/stores":"1.0.2","@directus/themes":"1.1.2","@editorjs/header":"2.8.1","@types/chroma-js":"3.1.1","@types/wellknown":"0.5.8","@json2csv/plainjs":"7.0.6","@types/codemirror":"5.60.15","@types/diacritics":"1.3.3","@types/file-saver":"2.0.7","@directus/tsconfig":"3.0.0","@editorjs/attaches":"1.3.0","@editorjs/editorjs":"2.29.1","@fullcalendar/core":"6.1.15","@fullcalendar/list":"6.1.15","@vitejs/plugin-vue":"5.2.1","@directus/constants":"13.0.1","@editorjs/checklist":"1.6.0","@editorjs/delimiter":"1.4.2","@editorjs/paragraph":"2.11.5","@editorjs/underline":"1.1.0","@rollup/plugin-yaml":"4.1.2","@directus/extensions":"3.0.7","@directus/validation":"2.0.6","@histoire/plugin-vue":"0.17.17","@tinymce/tinymce-vue":"6.1.0","@vueuse/integrations":"12.7.0","escape-string-regexp":"5.0.0","vue-virtual-scroller":"2.0.0-beta.8","@directus/composables":"11.2.0","@directus/system-data":"3.1.1","@editorjs/inline-code":"1.5.1","@editorjs/nested-list":"1.4.3","@fullcalendar/daygrid":"6.1.15","@sindresorhus/slugify":"2.2.1","editorjs-toggle-block":"0.3.16","json-to-graphql-query":"2.3.0","@directus/format-title":"12.0.1","@fullcalendar/timegrid":"6.1.15","@mapbox/mapbox-gl-draw":"1.5.0","@directus/extensions-sdk":"14.0.0","@joeattardi/emoji-button":"4.6.4","vite-plugin-vue-devtools":"7.7.2","@fullcalendar/interaction":"6.1.15","@mapbox/mapbox-gl-geocoder":"5.0.3","@directus/extensions-registry":"3.0.7","@types/mapbox__mapbox-gl-draw":"1.4.8","@fortawesome/fontawesome-svg-core":"6.7.2","@types/mapbox__mapbox-gl-geocoder":"5.0.0","@fortawesome/free-brands-svg-icons":"6.7.2","@mapbox/mapbox-gl-draw-static-mode":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.4.5","vite":"5.4.19","rimraf":"^5.0.10","ts-morph":"^25.0.1","typescript":"5.8.2","vite-plugin-dts":"^4.5.3","@rollup/plugin-yaml":"4.1.2","vite-tsconfig-paths":"^5.1.4","@emahuni/add-pkg-deps":"^0.5.3","@emahuni/alt-resolver":"^1.1.1","@rollup/plugin-terser":"^0.4.4","vite-plugin-node-polyfills":"^0.23.0"},"_npmOperationalInternal":{"tmp":"tmp/directus.app.guts_2.1.0-app-13.11.2_1753435100392_0.9394840626544079","host":"s3://npm-registry-packages-npm-production"}},"2.2.0-app-13.13.1":{"name":"@emahuni/directus.app.guts","version":"2.2.0-app-13.13.1","keywords":["directus","composables","vue","typescript","sdk","extensions"],"author":{"url":"https://github.com/emahuni/","name":"Emmanuel Mahuni","email":"emahuni@gmail.com"},"license":"MIT","_id":"@emahuni/directus.app.guts@2.2.0-app-13.13.1","maintainers":[{"name":"emahuni","email":"emahuni@gmail.com"}],"dist":{"shasum":"2417d4b001c2e89ecffb068b55a60b1b26697845","tarball":"https://registry.npmjs.org/@emahuni/directus.app.guts/-/directus.app.guts-2.2.0-app-13.13.1.tgz","fileCount":367,"integrity":"sha512-HDLjrtC3JcKTLPOt1bdvVighCkOmlzyMSywwvkcKbAJb23R509Et+aDWM53ozveJMwbQkDNN68+iZesLHwiv9w==","signatures":[{"sig":"MEYCIQDiBmaj7RujQBqXqRN5qlEiFMCNESJrofgxZ3DdH2CbsgIhAJCjwC8/wKVYfA0SaxygYQf1GiXc28DUgi33U33Uk6Ep","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":990567},"type":"module","_from":"file:emahuni-directus.app.guts-2.2.0-app-13.13.1.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./events":{"types":"./dist/events.d.ts","default":"./dist/events.js"},"./utils/*":{"types":"./dist/utils/*.d.ts","default":"./dist/utils/*.js"},"./index.js":{"types":"./dist/index.js/index.d.ts","default":"./dist/index.js/index.js"},"./__utils__":{"types":"./dist/__utils__/index.d.ts","default":"./dist/__utils__/index.js"},"./constants":{"types":"./dist/constants.d.ts","default":"./dist/constants.js"},"./index.d.ts":{"types":"./dist/index.d.ts/index.d.ts","default":"./dist/index.d.ts/index.js"},"./__utils__/*":{"types":"./dist/__utils__/*.d.ts","default":"./dist/__utils__/*.js"},"./composables":{"types":"./dist/composables/index.d.ts","default":"./dist/composables/index.js"},"./composables/*":{"types":"./dist/composables/*.d.ts","default":"./dist/composables/*.js"},"./utils/geometry":{"types":"./dist/utils/geometry/index.d.ts","default":"./dist/utils/geometry/index.js"},"./composables/use-item":{"types":"./dist/composables/use-item/index.d.ts","default":"./dist/composables/use-item/index.js"},"./utils/readable-mime-type":{"types":"./dist/utils/readable-mime-type/index.d.ts","default":"./dist/utils/readable-mime-type/index.js"},"./composables/use-permissions":{"types":"./dist/composables/use-permissions/index.d.ts","default":"./dist/composables/use-permissions/index.js"},"./composables/use-permissions/types":{"types":"./dist/composables/use-permissions/types/index.d.ts","default":"./dist/composables/use-permissions/types/index.js"}},"scripts":{"dev":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs -w","build":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs","sync-clone":"cd src/directus && git pull origin v$(node -p \"require('../../package.json').version\")"},"_npmUser":{"name":"emahuni","email":"emahuni@gmail.com"},"_resolved":"/private/var/folders/h0/bp0k5841625b156m7rhxrqbh0000gn/T/d65bc3e1a5fa25b02dd36348775196b0/emahuni-directus.app.guts-2.2.0-app-13.13.1.tgz","_integrity":"sha512-HDLjrtC3JcKTLPOt1bdvVighCkOmlzyMSywwvkcKbAJb23R509Et+aDWM53ozveJMwbQkDNN68+iZesLHwiv9w==","_npmVersion":"10.9.2","description":"Exposition of Directus App Internals. Selection of Composables, __utils__ and utils from Directus app for use in extensions and other code that works in Directus App Studio. The version of this package uses semver with an additional '-app-n.n.n' to denote","directories":{},"_nodeVersion":"22.16.0","dependencies":{"vue":"3.5.18","diff":"7.0.0","mime":"4.0.7","mitt":"3.0.1","vite":"5.4.19","axios":"1.11.0","color":"5.0.0","pinia":"2.3.1","lodash":"4.17.21","marked":"16.1.1","nanoid":"5.1.5","ofetch":"1.4.1","qrcode":"1.5.4","semver":"7.7.2","vitest":"3.2.4","base-64":"1.0.0","geojson":"0.5.0","p-queue":"8.1.0","tinymce":"6.8.5","vue-tsc":"3.0.5","date-fns":"4.1.0","histoire":"0.17.17","vue-i18n":"11.1.11","caret-pos":"2.0.0","chroma-js":"3.1.2","cropperjs":"1.6.2","dompurify":"3.2.6","flatpickr":"4.6.13","happy-dom":"18.0.1","mapbox-gl":"1.13.3","pretty-ms":"9.2.0","wellknown":"0.5.0","@turf/meta":"7.2.0","apexcharts":"4.5.0","codemirror":"5.65.18","diacritics":"1.3.0","file-saver":"2.0.5","focus-trap":"7.6.5","typescript":"5.8.3","vue-router":"4.5.1","@types/diff":"7.0.1","@unhead/vue":"1.11.20","maplibre-gl":"1.15.3","@vueuse/core":"13.6.0","jsonlint-mod":"1.7.6","string-width":"7.2.0","vuedraggable":"4.1.0","@directus/sdk":"20.0.2","@editorjs/raw":"2.5.1","@ngneat/falso":"8.0.2","@types/lodash":"4.17.20","@types/qrcode":"1.5.5","@types/semver":"7.7.0","html-entities":"2.6.0","micromustache":"8.0.3","sass-embedded":"1.89.2","tus-js-client":"4.3.1","@editorjs/code":"2.9.3","@pinia/testing":"1.0.2","@popperjs/core":"2.11.8","@types/base-64":"1.0.2","@types/geojson":"7946.0.16","@unhead/addons":"1.11.20","@vueuse/router":"13.6.0","@directus/types":"13.2.1","@directus/utils":"13.0.9","@editorjs/embed":"2.7.6","@editorjs/image":"2.10.3","@editorjs/quote":"2.7.6","@editorjs/table":"2.4.5","@vue/test-utils":"2.4.6","@directus/errors":"2.0.3","@directus/random":"2.0.1","@directus/stores":"1.0.3","@directus/themes":"1.1.4","@editorjs/header":"2.8.8","@types/chroma-js":"3.1.1","@types/wellknown":"0.5.8","@json2csv/plainjs":"7.0.6","@types/codemirror":"5.60.16","@types/diacritics":"1.3.3","@types/file-saver":"2.0.7","@directus/tsconfig":"3.0.0","@editorjs/attaches":"1.3.0","@editorjs/editorjs":"2.30.8","@fullcalendar/core":"6.1.18","@fullcalendar/list":"6.1.18","@vitejs/plugin-vue":"6.0.1","@directus/constants":"13.0.2","@editorjs/checklist":"1.6.0","@editorjs/delimiter":"1.4.2","@editorjs/paragraph":"2.11.7","@editorjs/underline":"1.2.1","@rollup/plugin-yaml":"4.1.2","@vitest/coverage-v8":"3.2.4","@directus/extensions":"3.0.9","@directus/validation":"2.0.8","@histoire/plugin-vue":"0.17.17","@tinymce/tinymce-vue":"6.3.0","@vueuse/integrations":"13.6.0","escape-string-regexp":"5.0.0","vue-virtual-scroller":"2.0.0-beta.8","@directus/composables":"11.2.2","@directus/system-data":"3.2.1","@editorjs/inline-code":"1.5.2","@editorjs/nested-list":"1.4.3","@fullcalendar/daygrid":"6.1.18","@sindresorhus/slugify":"2.2.1","editorjs-toggle-block":"0.3.16","json-to-graphql-query":"2.3.0","@directus/format-title":"12.0.1","@fullcalendar/timegrid":"6.1.18","@mapbox/mapbox-gl-draw":"1.5.0","@directus/extensions-sdk":"16.0.0","@joeattardi/emoji-button":"4.6.4","vite-plugin-vue-devtools":"7.7.2","@fullcalendar/interaction":"6.1.18","@mapbox/mapbox-gl-geocoder":"5.1.0","@directus/extensions-registry":"3.0.9","@types/mapbox__mapbox-gl-draw":"1.4.9","@fortawesome/fontawesome-svg-core":"6.7.2","@types/mapbox__mapbox-gl-geocoder":"5.0.0","@fortawesome/free-brands-svg-icons":"6.7.2","@mapbox/mapbox-gl-draw-static-mode":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.4.5","vite":"5.4.19","rimraf":"^5.0.10","ts-morph":"^25.0.1","typescript":"5.8.2","vite-plugin-dts":"^4.5.3","@rollup/plugin-yaml":"4.1.2","vite-tsconfig-paths":"^5.1.4","@emahuni/add-pkg-deps":"^0.5.3","@emahuni/alt-resolver":"^1.1.1","@rollup/plugin-terser":"^0.4.4","vite-plugin-node-polyfills":"^0.23.0"},"peerDependencies":{},"optionalDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/directus.app.guts_2.2.0-app-13.13.1_1755182761729_0.21104533073169618","host":"s3://npm-registry-packages-npm-production"}},"2.3.0-app-13.13.1":{"name":"@emahuni/directus.app.guts","version":"2.3.0-app-13.13.1","keywords":["directus","composables","vue","typescript","sdk","extensions"],"author":{"url":"https://github.com/emahuni/","name":"Emmanuel Mahuni","email":"emahuni@gmail.com"},"license":"MIT","_id":"@emahuni/directus.app.guts@2.3.0-app-13.13.1","maintainers":[{"name":"emahuni","email":"emahuni@gmail.com"}],"dist":{"shasum":"4e84fb2cc92276b69c64d72a71e3be1b031cdb37","tarball":"https://registry.npmjs.org/@emahuni/directus.app.guts/-/directus.app.guts-2.3.0-app-13.13.1.tgz","fileCount":436,"integrity":"sha512-IV1wBv4z26Hurl543mGRuW5r5vfR4FjtOzZlG/kwFovkUyJmDMbhv0Bdgwth6jJlMwhIoB+ldo/TqONOmB8fxA==","signatures":[{"sig":"MEYCIQCT4bsBv37bXrI7WzZknkdAlV2wKR12Qn2E5Od3xWORtgIhANkVVPJMcULzoTbCJJ+EiFcovFRd9NJM9OjtZZ5MolFm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1191599},"type":"module","_from":"file:emahuni-directus.app.guts-2.3.0-app-13.13.1.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./events":{"types":"./dist/events.d.ts","default":"./dist/events.js"},"./stores":{"types":"./dist/stores/index.d.ts","default":"./dist/stores/index.js"},"./utils/*":{"types":"./dist/utils/*.d.ts","default":"./dist/utils/*.js"},"./index.js":{"types":"./dist/index.js/index.d.ts","default":"./dist/index.js/index.js"},"./stores/*":{"types":"./dist/stores/*.d.ts","default":"./dist/stores/*.js"},"./styles/*":{"default":"./dist/styles/*"},"./__utils__":{"types":"./dist/__utils__/index.d.ts","default":"./dist/__utils__/index.js"},"./constants":{"types":"./dist/constants/index.d.ts","default":"./dist/constants/index.js"},"./index.d.ts":{"types":"./dist/index.d.ts/index.d.ts","default":"./dist/index.d.ts/index.js"},"./__utils__/*":{"types":"./dist/__utils__/*.d.ts","default":"./dist/__utils__/*.js"},"./composables":{"types":"./dist/composables/index.d.ts","default":"./dist/composables/index.js"},"./constants/*":{"types":"./dist/constants/*.d.ts","default":"./dist/constants/*.js"},"./composables/*":{"types":"./dist/composables/*.d.ts","default":"./dist/composables/*.js"},"./utils/geometry":{"types":"./dist/utils/geometry/index.d.ts","default":"./dist/utils/geometry/index.js"},"./composables/use-item":{"types":"./dist/composables/use-item/index.d.ts","default":"./dist/composables/use-item/index.js"},"./utils/readable-mime-type":{"types":"./dist/utils/readable-mime-type/index.d.ts","default":"./dist/utils/readable-mime-type/index.js"},"./composables/use-permissions":{"types":"./dist/composables/use-permissions/index.d.ts","default":"./dist/composables/use-permissions/index.js"},"./composables/use-permissions/types":{"types":"./dist/composables/use-permissions/types/index.d.ts","default":"./dist/composables/use-permissions/types/index.js"}},"scripts":{"dev":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs -w","build":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs","sync-clone":"cd src/directus && git pull origin v$(node -p \"require('../../package.json').version\")"},"_npmUser":{"name":"emahuni","email":"emahuni@gmail.com"},"_resolved":"/private/var/folders/h0/bp0k5841625b156m7rhxrqbh0000gn/T/53b304f06ee63605bb175ea5e46be78a/emahuni-directus.app.guts-2.3.0-app-13.13.1.tgz","_integrity":"sha512-IV1wBv4z26Hurl543mGRuW5r5vfR4FjtOzZlG/kwFovkUyJmDMbhv0Bdgwth6jJlMwhIoB+ldo/TqONOmB8fxA==","_npmVersion":"10.9.2","description":"Exposition of Directus App Internals. Selection of Composables, __utils__ and utils from Directus app for use in extensions and other code that works in Directus App Studio. The version of this package uses semver with an additional '-app-n.n.n' to denote","directories":{},"_nodeVersion":"22.16.0","dependencies":{"vue":"3.5.18","diff":"7.0.0","mime":"4.0.7","mitt":"3.0.1","vite":"5.4.19","axios":"1.11.0","color":"5.0.0","pinia":"2.3.1","lodash":"4.17.21","marked":"16.1.1","nanoid":"5.1.5","ofetch":"1.4.1","qrcode":"1.5.4","semver":"7.7.2","vitest":"3.2.4","base-64":"1.0.0","geojson":"0.5.0","p-queue":"8.1.0","tinymce":"6.8.5","vue-tsc":"3.0.5","date-fns":"4.1.0","histoire":"0.17.17","vue-i18n":"11.1.11","caret-pos":"2.0.0","chroma-js":"3.1.2","cropperjs":"1.6.2","dompurify":"3.2.6","flatpickr":"4.6.13","happy-dom":"18.0.1","mapbox-gl":"1.13.3","pretty-ms":"9.2.0","wellknown":"0.5.0","@turf/meta":"7.2.0","apexcharts":"4.5.0","codemirror":"5.65.18","diacritics":"1.3.0","file-saver":"2.0.5","focus-trap":"7.6.5","typescript":"5.8.3","vue-router":"4.5.1","@types/diff":"7.0.1","@unhead/vue":"1.11.20","maplibre-gl":"1.15.3","@vueuse/core":"13.6.0","jsonlint-mod":"1.7.6","string-width":"7.2.0","vuedraggable":"4.1.0","@directus/sdk":"20.0.2","@editorjs/raw":"2.5.1","@ngneat/falso":"8.0.2","@types/lodash":"4.17.20","@types/qrcode":"1.5.5","@types/semver":"7.7.0","html-entities":"2.6.0","micromustache":"8.0.3","sass-embedded":"1.89.2","tus-js-client":"4.3.1","@editorjs/code":"2.9.3","@pinia/testing":"1.0.2","@popperjs/core":"2.11.8","@types/base-64":"1.0.2","@types/geojson":"7946.0.16","@unhead/addons":"1.11.20","@vueuse/router":"13.6.0","@directus/types":"13.2.1","@directus/utils":"13.0.9","@editorjs/embed":"2.7.6","@editorjs/image":"2.10.3","@editorjs/quote":"2.7.6","@editorjs/table":"2.4.5","@vue/test-utils":"2.4.6","@directus/errors":"2.0.3","@directus/random":"2.0.1","@directus/stores":"1.0.3","@directus/themes":"1.1.4","@editorjs/header":"2.8.8","@types/chroma-js":"3.1.1","@types/wellknown":"0.5.8","@json2csv/plainjs":"7.0.6","@types/codemirror":"5.60.16","@types/diacritics":"1.3.3","@types/file-saver":"2.0.7","@directus/tsconfig":"3.0.0","@editorjs/attaches":"1.3.0","@editorjs/editorjs":"2.30.8","@fullcalendar/core":"6.1.18","@fullcalendar/list":"6.1.18","@vitejs/plugin-vue":"6.0.1","@directus/constants":"13.0.2","@editorjs/checklist":"1.6.0","@editorjs/delimiter":"1.4.2","@editorjs/paragraph":"2.11.7","@editorjs/underline":"1.2.1","@rollup/plugin-yaml":"4.1.2","@vitest/coverage-v8":"3.2.4","@directus/extensions":"3.0.9","@directus/validation":"2.0.8","@histoire/plugin-vue":"0.17.17","@tinymce/tinymce-vue":"6.3.0","@vueuse/integrations":"13.6.0","escape-string-regexp":"5.0.0","vue-virtual-scroller":"2.0.0-beta.8","@directus/composables":"11.2.2","@directus/system-data":"3.2.1","@editorjs/inline-code":"1.5.2","@editorjs/nested-list":"1.4.3","@fullcalendar/daygrid":"6.1.18","@sindresorhus/slugify":"2.2.1","editorjs-toggle-block":"0.3.16","json-to-graphql-query":"2.3.0","@directus/format-title":"12.0.1","@fullcalendar/timegrid":"6.1.18","@mapbox/mapbox-gl-draw":"1.5.0","@directus/extensions-sdk":"16.0.0","@joeattardi/emoji-button":"4.6.4","vite-plugin-vue-devtools":"7.7.2","@fullcalendar/interaction":"6.1.18","@mapbox/mapbox-gl-geocoder":"5.1.0","@directus/extensions-registry":"3.0.9","@types/mapbox__mapbox-gl-draw":"1.4.9","@fortawesome/fontawesome-svg-core":"6.7.2","@types/mapbox__mapbox-gl-geocoder":"5.0.0","@fortawesome/free-brands-svg-icons":"6.7.2","@mapbox/mapbox-gl-draw-static-mode":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.4.5","vite":"5.4.19","rimraf":"^5.0.10","ts-morph":"^25.0.1","typescript":"5.8.2","vite-plugin-dts":"^4.5.3","@rollup/plugin-yaml":"4.1.2","vite-tsconfig-paths":"^5.1.4","@emahuni/add-pkg-deps":"^0.5.3","@emahuni/alt-resolver":"^1.2.0","@rollup/plugin-terser":"^0.4.4","vite-plugin-node-polyfills":"^0.23.0"},"peerDependencies":{},"optionalDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/directus.app.guts_2.3.0-app-13.13.1_1756467507428_0.74526622123587","host":"s3://npm-registry-packages-npm-production"}},"3.0.1-app-13.13.1":{"name":"@emahuni/directus.app.guts","version":"3.0.1-app-13.13.1","keywords":["directus","composables","vue","typescript","sdk","extensions"],"author":{"url":"https://github.com/emahuni/","name":"Emmanuel Mahuni","email":"emahuni@gmail.com"},"license":"MIT","_id":"@emahuni/directus.app.guts@3.0.1-app-13.13.1","maintainers":[{"name":"emahuni","email":"emahuni@gmail.com"}],"dist":{"shasum":"71730ddd2dc94402c390c0ecc3f4c6dc92504ae3","tarball":"https://registry.npmjs.org/@emahuni/directus.app.guts/-/directus.app.guts-3.0.1-app-13.13.1.tgz","fileCount":436,"integrity":"sha512-/lipuc6JX+zRRkWcrhPSA9OKQqxX4Kc4brzDEauOEqTVTvEGX8+Z1LNpmZ8iPILlrp057kuOYe6DLAW0epnZkA==","signatures":[{"sig":"MEUCIQDicsNBral9hvQKRp5Sqx1bPE+17eIoFmI2J9tV4ChC0AIgLm/zOvin922tBP761Igz4Q39wQ6KGcpYnorAp3TtFZk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1103666},"type":"module","_from":"file:emahuni-directus.app.guts-3.0.1-app-13.13.1.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./events":{"types":"./dist/events.d.ts","default":"./dist/events.js"},"./stores":{"types":"./dist/stores/index.d.ts","default":"./dist/stores/index.js"},"./utils/*":{"types":"./dist/utils/*.d.ts","default":"./dist/utils/*.js"},"./index.js":{"types":"./dist/index.js/index.d.ts","default":"./dist/index.js/index.js"},"./stores/*":{"types":"./dist/stores/*.d.ts","default":"./dist/stores/*.js"},"./styles/*":{"default":"./dist/styles/*"},"./__utils__":{"types":"./dist/__utils__/index.d.ts","default":"./dist/__utils__/index.js"},"./constants":{"types":"./dist/constants/index.d.ts","default":"./dist/constants/index.js"},"./index.d.ts":{"types":"./dist/index.d.ts/index.d.ts","default":"./dist/index.d.ts/index.js"},"./__utils__/*":{"types":"./dist/__utils__/*.d.ts","default":"./dist/__utils__/*.js"},"./composables":{"types":"./dist/composables/index.d.ts","default":"./dist/composables/index.js"},"./constants/*":{"types":"./dist/constants/*.d.ts","default":"./dist/constants/*.js"},"./composables/*":{"types":"./dist/composables/*.d.ts","default":"./dist/composables/*.js"},"./utils/geometry":{"types":"./dist/utils/geometry/index.d.ts","default":"./dist/utils/geometry/index.js"},"./composables/use-item":{"types":"./dist/composables/use-item/index.d.ts","default":"./dist/composables/use-item/index.js"},"./utils/readable-mime-type":{"types":"./dist/utils/readable-mime-type/index.d.ts","default":"./dist/utils/readable-mime-type/index.js"},"./composables/use-permissions":{"types":"./dist/composables/use-permissions/index.d.ts","default":"./dist/composables/use-permissions/index.js"},"./composables/use-permissions/types":{"types":"./dist/composables/use-permissions/types/index.d.ts","default":"./dist/composables/use-permissions/types/index.js"}},"scripts":{"dev":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs -w","build":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs","preversion":"echo \"Update version in package.json\" && exit 1","sync-clone":"cd src/directus && git pull origin v$(node -p \"require('../../package.json').version\")"},"_npmUser":{"name":"emahuni","email":"emahuni@gmail.com"},"_resolved":"/private/var/folders/h0/bp0k5841625b156m7rhxrqbh0000gn/T/fdef3f1ca5ba19a325964889229b0d23/emahuni-directus.app.guts-3.0.1-app-13.13.1.tgz","_integrity":"sha512-/lipuc6JX+zRRkWcrhPSA9OKQqxX4Kc4brzDEauOEqTVTvEGX8+Z1LNpmZ8iPILlrp057kuOYe6DLAW0epnZkA==","_npmVersion":"10.9.3","description":"Exposition of Directus App Internals. Selection of Composables, __utils__ and utils from Directus app for use in extensions and other code that works in Directus App Studio. The version of this package uses semver with an additional '-app-n.n.n' to denote","directories":{},"_nodeVersion":"22.19.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.4.5","vite":"5.4.19","rimraf":"^5.0.10","ts-morph":"^25.0.1","typescript":"5.8.3","vite-plugin-dts":"^4.5.3","@rollup/plugin-yaml":"4.1.2","vite-tsconfig-paths":"^5.1.4","@emahuni/add-pkg-deps":"^0.5.3","@emahuni/alt-resolver":"^1.2.0","@rollup/plugin-terser":"^0.4.4","vite-plugin-node-polyfills":"^0.23.0","@azimutlabs/rollup-plugin-external":"^0.1.0"},"peerDependencies":{"vue":"3.5.18","diff":"7.0.0","mime":"4.0.7","mitt":"3.0.1","vite":"5.4.19","axios":"1.11.0","color":"5.0.0","pinia":"2.3.1","lodash":"4.17.21","marked":"16.1.1","nanoid":"5.1.5","ofetch":"1.4.1","qrcode":"1.5.4","semver":"7.7.2","vitest":"3.2.4","base-64":"1.0.0","geojson":"0.5.0","p-queue":"8.1.0","tinymce":"6.8.5","vue-tsc":"3.0.5","date-fns":"4.1.0","histoire":"0.17.17","vue-i18n":"11.1.11","caret-pos":"2.0.0","chroma-js":"3.1.2","cropperjs":"1.6.2","dompurify":"3.2.6","flatpickr":"4.6.13","happy-dom":"18.0.1","mapbox-gl":"1.13.3","pretty-ms":"9.2.0","wellknown":"0.5.0","@turf/meta":"7.2.0","apexcharts":"4.5.0","codemirror":"5.65.18","diacritics":"1.3.0","file-saver":"2.0.5","focus-trap":"7.6.5","typescript":"5.8.3","vue-router":"4.5.1","@types/diff":"7.0.1","@unhead/vue":"1.11.20","maplibre-gl":"1.15.3","@vueuse/core":"13.6.0","jsonlint-mod":"1.7.6","string-width":"7.2.0","vuedraggable":"4.1.0","@directus/sdk":"20.0.2","@editorjs/raw":"2.5.1","@ngneat/falso":"8.0.2","@types/lodash":"4.17.20","@types/qrcode":"1.5.5","@types/semver":"7.7.0","html-entities":"2.6.0","micromustache":"8.0.3","sass-embedded":"1.89.2","tus-js-client":"4.3.1","@editorjs/code":"2.9.3","@pinia/testing":"1.0.2","@popperjs/core":"2.11.8","@types/base-64":"1.0.2","@types/geojson":"7946.0.16","@unhead/addons":"1.11.20","@vueuse/router":"13.6.0","@directus/types":"13.2.1","@directus/utils":"13.0.9","@editorjs/embed":"2.7.6","@editorjs/image":"2.10.3","@editorjs/quote":"2.7.6","@editorjs/table":"2.4.5","@vue/test-utils":"2.4.6","@directus/errors":"2.0.3","@directus/stores":"1.0.3","@directus/themes":"1.1.4","@editorjs/header":"2.8.8","@types/chroma-js":"3.1.1","@types/wellknown":"0.5.8","@json2csv/plainjs":"7.0.6","@types/codemirror":"5.60.16","@types/diacritics":"1.3.3","@types/file-saver":"2.0.7","@directus/tsconfig":"3.0.0","@editorjs/attaches":"1.3.0","@editorjs/editorjs":"2.30.8","@fullcalendar/core":"6.1.18","@fullcalendar/list":"6.1.18","@vitejs/plugin-vue":"6.0.1","@directus/constants":"13.0.2","@editorjs/checklist":"1.6.0","@editorjs/delimiter":"1.4.2","@editorjs/paragraph":"2.11.7","@editorjs/underline":"1.2.1","@rollup/plugin-yaml":"4.1.2","@vitest/coverage-v8":"3.2.4","@directus/extensions":"3.0.9","@directus/validation":"2.0.8","@histoire/plugin-vue":"0.17.17","@tinymce/tinymce-vue":"6.3.0","@vueuse/integrations":"13.6.0","escape-string-regexp":"5.0.0","vue-virtual-scroller":"2.0.0-beta.8","@directus/composables":"11.2.2","@directus/system-data":"3.2.1","@editorjs/inline-code":"1.5.2","@editorjs/nested-list":"1.4.3","@fullcalendar/daygrid":"6.1.18","@sindresorhus/slugify":"2.2.1","editorjs-toggle-block":"0.3.16","json-to-graphql-query":"2.3.0","@directus/format-title":"12.0.1","@fullcalendar/timegrid":"6.1.18","@mapbox/mapbox-gl-draw":"1.5.0","@directus/extensions-sdk":"16.0.0","@joeattardi/emoji-button":"4.6.4","vite-plugin-vue-devtools":"7.7.2","@fullcalendar/interaction":"6.1.18","@mapbox/mapbox-gl-geocoder":"5.1.0","@directus/extensions-registry":"3.0.9","@types/mapbox__mapbox-gl-draw":"1.4.9","@fortawesome/fontawesome-svg-core":"6.7.2","@types/mapbox__mapbox-gl-geocoder":"5.0.0","@fortawesome/free-brands-svg-icons":"6.7.2","@mapbox/mapbox-gl-draw-static-mode":"1.0.1"},"optionalDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/directus.app.guts_3.0.1-app-13.13.1_1756999694646_0.7854456562729641","host":"s3://npm-registry-packages-npm-production"}},"3.0.2-app-13.13.1":{"name":"@emahuni/directus.app.guts","description":"Exposition of Directus App Internals. Selection of Composables, __utils__ and utils from Directus app for use in extensions and other code that works in Directus App Studio. The version of this package uses semver with an additional '-app-n.n.n' to denote","version":"3.0.2-app-13.13.1","author":{"name":"Emmanuel Mahuni","email":"emahuni@gmail.com","url":"https://github.com/emahuni/"},"keywords":["directus","composables","vue","typescript","sdk","extensions"],"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./styles/*":{"import":"./dist/styles/*"},"./constants/*":{"types":"./dist/constants/*.d.ts","import":"./dist/constants/*.js"},"./constants":{"types":"./dist/constants/index.d.ts","import":"./dist/constants/index.js"},"./__utils__":{"types":"./dist/__utils__/index.d.ts","import":"./dist/__utils__/index.js"},"./__utils__/*":{"types":"./dist/__utils__/*.d.ts","import":"./dist/__utils__/*.js"},"./composables":{"types":"./dist/composables/index.d.ts","import":"./dist/composables/index.js"},"./composables/*":{"types":"./dist/composables/*.d.ts","import":"./dist/composables/*.js"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js"},"./stores":{"types":"./dist/stores/index.d.ts","import":"./dist/stores/index.js"},"./stores/*":{"types":"./dist/stores/*.d.ts","import":"./dist/stores/*.js"},"./utils":{"types":"./dist/utils/index.d.ts","import":"./dist/utils/index.js"},"./utils/*":{"types":"./dist/utils/*.d.ts","import":"./dist/utils/*.js"},"./composables/use-item":{"types":"./dist/composables/use-item/index.d.ts","import":"./dist/composables/use-item/index.js"},"./composables/use-permissions":{"types":"./dist/composables/use-permissions/index.d.ts","import":"./dist/composables/use-permissions/index.js"},"./composables/use-permissions/types":{"types":"./dist/composables/use-permissions/types/index.d.ts","import":"./dist/composables/use-permissions/types/index.js"},"./utils/geometry":{"types":"./dist/utils/geometry/index.d.ts","import":"./dist/utils/geometry/index.js"},"./utils/readable-mime-type":{"types":"./dist/utils/readable-mime-type/index.d.ts","import":"./dist/utils/readable-mime-type/index.js"}},"license":"MIT","devDependencies":{"@azimutlabs/rollup-plugin-external":"^0.1.0","@emahuni/add-pkg-deps":"^0.5.3","@emahuni/alt-resolver":"^1.2.0","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-yaml":"4.1.2","glob":"^10.4.5","rimraf":"^5.0.10","ts-morph":"^25.0.1","typescript":"5.8.3","vite":"5.4.19","vite-plugin-dts":"^4.5.3","vite-plugin-node-polyfills":"^0.23.0","vite-tsconfig-paths":"^5.1.4"},"peerDependencies":{"@directus/composables":"11.2.2","@directus/constants":"13.0.2","@directus/errors":"2.0.3","@directus/extensions":"3.0.9","@directus/extensions-registry":"3.0.9","@directus/extensions-sdk":"16.0.0","@directus/format-title":"12.0.1","@directus/sdk":"20.0.2","@directus/stores":"1.0.3","@directus/system-data":"3.2.1","@directus/themes":"1.1.4","@directus/tsconfig":"3.0.0","@directus/types":"13.2.1","@directus/utils":"13.0.9","@directus/validation":"2.0.8","@editorjs/attaches":"1.3.0","@editorjs/checklist":"1.6.0","@editorjs/code":"2.9.3","@editorjs/delimiter":"1.4.2","@editorjs/editorjs":"2.30.8","@editorjs/embed":"2.7.6","@editorjs/header":"2.8.8","@editorjs/image":"2.10.3","@editorjs/inline-code":"1.5.2","@editorjs/nested-list":"1.4.3","@editorjs/paragraph":"2.11.7","@editorjs/quote":"2.7.6","@editorjs/raw":"2.5.1","@editorjs/table":"2.4.5","@editorjs/underline":"1.2.1","@fortawesome/fontawesome-svg-core":"6.7.2","@fortawesome/free-brands-svg-icons":"6.7.2","@fullcalendar/core":"6.1.18","@fullcalendar/daygrid":"6.1.18","@fullcalendar/interaction":"6.1.18","@fullcalendar/list":"6.1.18","@fullcalendar/timegrid":"6.1.18","@histoire/plugin-vue":"0.17.17","@joeattardi/emoji-button":"4.6.4","@json2csv/plainjs":"7.0.6","@mapbox/mapbox-gl-draw":"1.5.0","@mapbox/mapbox-gl-draw-static-mode":"1.0.1","@mapbox/mapbox-gl-geocoder":"5.1.0","@ngneat/falso":"8.0.2","@pinia/testing":"1.0.2","@popperjs/core":"2.11.8","@rollup/plugin-yaml":"4.1.2","@sindresorhus/slugify":"2.2.1","@tinymce/tinymce-vue":"6.3.0","@turf/meta":"7.2.0","@types/base-64":"1.0.2","@types/chroma-js":"3.1.1","@types/codemirror":"5.60.16","@types/diacritics":"1.3.3","@types/diff":"7.0.1","@types/file-saver":"2.0.7","@types/geojson":"7946.0.16","@types/lodash":"4.17.20","@types/mapbox__mapbox-gl-draw":"1.4.9","@types/mapbox__mapbox-gl-geocoder":"5.0.0","@types/qrcode":"1.5.5","@types/semver":"7.7.0","@types/wellknown":"0.5.8","@unhead/addons":"1.11.20","@unhead/vue":"1.11.20","@vitejs/plugin-vue":"6.0.1","@vitest/coverage-v8":"3.2.4","@vue/test-utils":"2.4.6","@vueuse/core":"13.6.0","@vueuse/integrations":"13.6.0","@vueuse/router":"13.6.0","apexcharts":"4.5.0","axios":"1.11.0","base-64":"1.0.0","caret-pos":"2.0.0","chroma-js":"3.1.2","codemirror":"5.65.18","color":"5.0.0","cropperjs":"1.6.2","date-fns":"4.1.0","diacritics":"1.3.0","diff":"7.0.0","dompurify":"3.2.6","editorjs-toggle-block":"0.3.16","escape-string-regexp":"5.0.0","file-saver":"2.0.5","flatpickr":"4.6.13","focus-trap":"7.6.5","geojson":"0.5.0","happy-dom":"18.0.1","histoire":"0.17.17","html-entities":"2.6.0","json-to-graphql-query":"2.3.0","jsonlint-mod":"1.7.6","lodash":"4.17.21","mapbox-gl":"1.13.3","maplibre-gl":"1.15.3","marked":"16.1.1","micromustache":"8.0.3","mime":"4.0.7","mitt":"3.0.1","nanoid":"5.1.5","ofetch":"1.4.1","p-queue":"8.1.0","pinia":"2.3.1","pretty-ms":"9.2.0","qrcode":"1.5.4","sass-embedded":"1.89.2","semver":"7.7.2","string-width":"7.2.0","tinymce":"6.8.5","tus-js-client":"4.3.1","typescript":"5.8.3","vite":"5.4.19","vite-plugin-vue-devtools":"7.7.2","vitest":"3.2.4","vue":"3.5.18","vue-i18n":"11.1.11","vue-router":"4.5.1","vue-tsc":"3.0.5","vue-virtual-scroller":"2.0.0-beta.8","vuedraggable":"4.1.0","wellknown":"0.5.0"},"dependencies":{},"optionalDependencies":{},"scripts":{"preversion":"echo \"Update version in package.json\" && exit 1","build":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs","dev":"rimraf --no-glob dist && NODE_OPTIONS=\"--max-old-space-size=4096\" vite build && node post-build.mjs -w","sync-clone":"cd src/directus && git pull origin v$(node -p \"require('../../package.json').version\")"},"_id":"@emahuni/directus.app.guts@3.0.2-app-13.13.1","_integrity":"sha512-oiLwU/je3JU5Cx46OVcCmCepp1aGH2U7GIaR83T8gba8DzhN+zhS4RwvnBvwc3CpvOuePBeyiQNbV89VLCN9QA==","_resolved":"/private/var/folders/h0/bp0k5841625b156m7rhxrqbh0000gn/T/4de88a39b23e0a464c7e2498817a464b/emahuni-directus.app.guts-3.0.2-app-13.13.1.tgz","_from":"file:emahuni-directus.app.guts-3.0.2-app-13.13.1.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-oiLwU/je3JU5Cx46OVcCmCepp1aGH2U7GIaR83T8gba8DzhN+zhS4RwvnBvwc3CpvOuePBeyiQNbV89VLCN9QA==","shasum":"5a12c22633b0af5278dac5cf7bed736d8f78177c","tarball":"https://registry.npmjs.org/@emahuni/directus.app.guts/-/directus.app.guts-3.0.2-app-13.13.1.tgz","fileCount":436,"unpackedSize":1103410,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCH4DS0cDIk3CJBDeNaxOwrTVL1DfRH78DNLbrfX7bLrgIhALnLluPLLfLn3pWT7YMi5hHIBapy6Yn1gIXAW3EmpMuT"}]},"_npmUser":{"name":"emahuni","email":"emahuni@gmail.com"},"directories":{},"maintainers":[{"name":"emahuni","email":"emahuni@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/directus.app.guts_3.0.2-app-13.13.1_1757752460911_0.25487588397531735"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-25T09:18:20.299Z","modified":"2025-09-13T08:34:21.366Z","2.1.0-app-13.11.2":"2025-07-25T09:18:20.639Z","2.2.0-app-13.13.1":"2025-08-14T14:46:02.017Z","2.3.0-app-13.13.1":"2025-08-29T11:38:27.713Z","3.0.1-app-13.13.1":"2025-09-04T15:28:14.841Z","3.0.2-app-13.13.1":"2025-09-13T08:34:21.169Z"},"author":{"name":"Emmanuel Mahuni","email":"emahuni@gmail.com","url":"https://github.com/emahuni/"},"license":"MIT","keywords":["directus","composables","vue","typescript","sdk","extensions"],"description":"Exposition of Directus App Internals. Selection of Composables, __utils__ and utils from Directus app for use in extensions and other code that works in Directus App Studio. The version of this package uses semver with an additional '-app-n.n.n' to denote","maintainers":[{"name":"emahuni","email":"emahuni@gmail.com"}],"readme":"# @emahuni/directus.app.guts\n\nA collection of composables and utility functions distilling core parts of the Directus App. This package exposes composables and utils from the Directus App source for use in Directus extensions and other integrations within Directus App Studio. The version of this package uses semver with an additional '-app-n.n.n' to denote the version of the distilled Directus App package that it directly correlates to.\n\n## Why\n\nThe Directus App internally uses a set of composables and utilities that power its components and various functionalities. However, these valuable resources are not exposed to the extensions ecosystem. This package digs into the source and exposes these internal composables and utilities, so you can leverage the well-written Directus codebase to build your own extensions. As Directus matures, this package will be updated to reflect those changes.\n\n## Installation\n\nMake sure you are using [pnpm](https://pnpm.io/) as your package manager:\n\n```bash\npnpm add @emahuni/directus.app.guts\n```\n\n## Usage\n\nThis package exports different modules that can be imported into your project using barrel files:\n```typescript\nimport { composable, utility, CONSTANT, specialUtility } from '@emahuni/directus.app.guts'\n```\n\n## IMPORTANT\n\n- This package is not intended to be used as a standalone package. It is intended to be used as a dependency of another package.\n- When used as a dependency, the version of this package should match the version of the Directus App that it is using.\n- The API that use extensions or packages that consume this package should use @emahuni/directus as the entry point to their server. The reason for this is that Directus API doesn't expose rollup configuration for its bundling process. @rollup/plugin-commonjs is required to correctly bundle the code because of the way that the Directus App is written when using the internal code that this package exposes. You can optionally add the commonjs plugin yourself in Directus Api code in node_modules as a patch, but the better solution is to use @emahuni/directus as the entry point to your server as it already has this plugin configured and resolves any external dependencies correctly. \n\n\n### Importing Composables\n\nIf you prefer to be specific, i.e., not execute any non-composable in the process:\n```typescript\nimport { composable } from '@emahuni/directus.app.guts/composables'\n// eg: import { useTemplateData } from '@emahuni/directus.app.guts/composables'\n```\n\nIf you prefer to be even more specific, i.e., not execute any other composable code except what you really need (recommended):\n```typescript\nimport { composable } from '@emahuni/directus.app.guts/composables/composable'\n// eg: import { useTemplateData } from '@emahuni/directus.app.guts/composables/use-template-data'\n```\n\n##### Exposed Composables Docs\nEffort was made to [document composables](./docs/composables.md)\n\n### Importing Constants\n\nIf you prefer to be specific, i.e., not execute anything else except the constants file in the process:\n```typescript\nimport { CONSTANT } from '@emahuni/directus.app.guts/constants'\n// eg: import { FIELD_TYPES_SELECT } from '@emahuni/directus.app.guts/constants'\n```\n\n##### Exposed Constants Docs\nEffort was made to [document constants](./docs/constants.md)\n\n### Importing Utils\n\nIf you prefer to be specific, i.e., not execute any non-utility in the process:\n```typescript\nimport { utility } from '@emahuni/directus.app.guts/utils'\n// eg: import { renderStringTemplate } from '@emahuni/directus.app.guts/utils'\n```\n\nIf you prefer to be even more specific, i.e., not execute any other composable code except what you really need (recommended):\n```typescript\nimport { utility } from '@emahuni/directus.app.guts/utils'\n// eg: import { renderStringTemplate } from '@emahuni/directus.app.guts/utils/render-string-template'\n```\n\n##### Exposed Utils Docs\nEffort was made to [document utils](./docs/utils.md)\n\n### Importing __utils__\n\nIf you prefer to be specific, i.e., not execute any non-special-utility in the process:\n```typescript\nimport { specialUtility } from '@emahuni/directus.app.guts/__utils__'\n// eg: import { Focus } from '@emahuni/directus.app.guts/__utils__'\n```\n\nIf you prefer to be even more specific, i.e., not execute any other special util code except what you really need (recommended):\n```typescript\nimport { specialUtility } from '@emahuni/directus.app.guts/__utils__/special-utility';\n// eg: import { Focus } from '@emahuni/directus.app.guts/__utils__/focus'\n```\n\n##### Exposed __utils\\__ Docs\nEffort was made to [document __utils\\__](./docs/__utils__.md)\n\n\n## Build Issues\n\nWhen building your extension that imports this library, you will sometimes get these errors (especially when building bundles, have not confirmed on other extension types): \n\n```\n\"https\" is imported by \"../../../../../packages/libraries/directus.distilled-app-internals/node_modules/.pnpm/axios@1.8.4/node_modules/axios/lib/adapters/http.js\", but could not be resolved – treating it as an external dependency.\n...\n✔ Done\n```\n\nSpecifically for the built-ins, the build will work, and the extension itself will work. However, the problem is when in development mode with a watch. It will hang on the second build after a watch trigger. This is happening because of the mixture of node and browser code... and the other is not compatible with node code. Especially when the code is importing something that imports `@directus/composables`.\n\nFirstly, try to import the specific module you are trying to use, e.g.:\nInstead of `import { useItem } from '@emahuni/directus.app.guts'` do `import { useItem } from '@emahuni/directus.app.guts/composable/use-item'`. Note that this is an actual culprit that is doing this that you can test this with.\n\n> The following is the recommended solution.\n\nThe other bulletproof approach is to use an `extension.config.js` file:\n\n1. Install `@azimutlabs/rollup-plugin-external`: `pnpm add -D @azimutlabs/rollup-plugin-external` \n2. Create the `extension.config.js` file in the root of your extension.\n3. Paste the following code in it: \n```javascript\nimport { rollupPluginExternal } from '@azimutlabs/rollup-plugin-external';\n\nexport default {\n    plugins: [\n        rollupPluginExternal({\n            useDependencies    : false,\n            usePeerDependencies: true,\n            useBuiltins        : true,\n        }),\n    ],\n};\n```\n\nThis means that Rollup will avoid bundling any dependencies that are not explicitly imported. Crucially, it will also leave out peer dependencies and Node.js built-ins. This resolves the issue where the build hangs on the second run.  \n\nThe dependencies that are excluded from the bundle should be declared under `peerDependencies` in your **package.json**. After that, make sure you use the `@emahuni/directus` package as the entry point for your server. This ensures that any dependencies installed in your API, which the extension relies on, are properly resolved.  \n\n## Example\n\nIf your extension imports `await-until` like this:  \n\n```js\nimport awaitUntil from 'await-until';\n```\n\n…and you added it as a `devDependency`, it will not be bundled with your extension. Instead, you must also add it to `peerDependencies` and install `await-until` as a dependency in your API project (because it is now a peer requirement).  \n\nThis approach makes every extension that follows the same pattern lightweight, while sharing the same `await-until` dependency across all extensions. It will only be downloaded once and loaded on demand in the browser, keeping the Directus API lean and efficient.  \n\n## Why This Matters\n\nAt present, Directus bundles every dependency used by an extension directly into the extension itself. This leads to code duplication, bloated builds, and inefficiency. Worse still, when Directus aggregates all extensions into one large bundle for the browser, the same dependency (like `await-until`) ends up included multiple times. This is the solution to that problem.\n\n## Development\n\n### Scripts\n\nThe package includes several scripts to help with building and development:\n\n- **Build**: Clean the distribution folder and build the package.\n\n  ```bash\n  pnpm run build\n  ```\n\n- **Development Watch**: Clean the distribution folder and watch for changes.\n\n  ```bash\n  pnpm run dev\n  ```\n\n- **Sync Clone**: Pulls the latest version of the Directus App from the source based on this packages version (* now broken needs fixing).\n\n  ```bash\n  pnpm run sync-clone\n  ```\n\n### Build Process\n\nThe build process uses [Vite](https://vitejs.dev/) and [Rollup](https://rollupjs.org/guide/en/). The commands clean the `dist` folder using `rimraf` before building the bundle. Ensure you have all necessary dependencies installed via pnpm.\n\n### Contributing\n\nContributions are welcome! Please open an issue or submit a pull request with your improvements.\n\n### License\n\n[MIT](LICENSE)\n\n## Author\n\nEmmanuel Mahuni - [GitHub](https://github.com/emahuni/) | [Email](mailto:emahuni@gmail.com)","readmeFilename":"README.md"}