Directus Extension Seed

screenshot of Directus Extension Seed
directus

Seed simple data into the database (useful for setting permissions and settings)

Overview:

The Directus CLI Extension: Seed is a tool for users to seed their Directus instance from .yml files through the command line interface (CLI). It is important to note that this extension is currently in development, so users should proceed with caution and use it at their own risk. The tool allows users to create and apply seed files containing collection data to their Directus instance.

Features:

  • Seeding of Directus instance: Users can seed their Directus instance with data from .yml files.
  • Upserting of collection data: The .yml files contain collection data that can be upserted, meaning it can be either updated or added.
  • Primary key requirement: The .yml files should include primary keys, as they are used to determine if an image should be updated or added.

Summary:

The Directus CLI Extension: Seed provides users with a convenient way to seed their Directus instance with collection data from .yml files. It allows for easy upserting of data and requires primary keys to determine if images should be updated or added. The extension is still under development, so caution should be exercised when using it.

directus
Directus

A website that uses Directus as an open source headless CMS to manage content. This includes features such as a customizable content model, role-based access control, and API-based content delivery to support a wide range of digital experiences.

Recoil

Recoil is a state management library for React that provides an intuitive and flexible API for managing and sharing state across components. It supports a range of features, including derived state, asynchronous updates, and time-travel debugging, and is designed to work well with the React ecosystem and other state management solutions.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.