Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

directus-extension-dictionary-test

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directus-extension-dictionary-test

An extension providing dictionary interface for [Directus](https://github.com/directus/directus) that returns a standartd object of key/value pairs.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Directus Dictionary

An extension providing dictionary interface for Directus that returns a standartd object of key/value pairs.

Example setup

Extend the Directus built in repeater interface, to add, rearange, and delete keys.

Field options

Add values to the predifined list of keys:

Editing field values

The end value of this field will be:

{ 
  "logIn": "Log In",
  "logOut": "Log Out"
}

Keys with empty are omitted from the response object.

Feature List

  • Directus interface extension
    • Adding/removing/rearranging keys
    • Adding/removing values
    • Filters out empty values
    • Shows warning in empty fields
    • Shows completion progress in editor
  • Directus display extension
    • Displays completion progress in collection view
    • Sorts items by completion

Usage

  1. Build it via npm run build
  2. Copy dist/interfaces/dictionary to /directus/extensions/interfaces (or whereever your extension folder is)
  3. Add a new json field to your collection and select the Dictionary interface
  4. Define keys and add optional descriptions

Keywords

FAQs

Package last updated on 28 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc