mirror of
https://github.com/directus/directus.git
synced 2026-01-13 20:18:00 -05:00
* Dangerously update API deps * Dangerously move app dependencies to pnpm-workspace * Move all dependencies to catalog * Sort catalog * Pnpm update * Use pnpm 10.14 * Update for zod breaking change * Fix unhead breaking change * Downgrade major api upgrades * Downgrade app major upgrades * Fix app tests * Downgrade isolated-vm * Add changeset * Fix template in head * Resolve unhead lang signature * Downgrade unhead * Downgrade keyv/redis It uses a different redis lib under the hood which is incompatible * Resolve import in test * Update and move workspace root dependencies * Update CSS for updated linter rules * Oops * Run formatter * Update rule name * Run prettier * Move utils peer to catalog * Add focus-trap dependency
@directus/stores
Shared Directus Studio state for use in components, extensions, and the @directus/app routes. Stores are
Pinia-based stores.
Installation
pnpm add @directus/stores
Usage
import { useAppStore } from '@directus/stores';
const appStore = useAppStore();
License
This package is licensed under the MIT License. See the LICENSE file for more information.