UNPKG

@dynvis/datocms-plugin-typed-list

Version:

This plugin transforms JSON fields of array type into editable lists.

61 lines (60 loc) 1.4 kB
{ "name": "@dynvis/datocms-plugin-typed-list", "version": "0.1.29", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "files": [ "public", "docs" ], "datoCmsPlugin": { "title": "Single Select", "previewImage": "docs/editing-list.png", "entryPoint": "public/index.html", "fieldTypes": [ "json" ], "pluginType": "field_editor", "parameters": { "global": [], "instance": [ { "id": "type", "label": "Type", "hint": "The type of list items, possible values: 'string' or 'number'", "type": "string", "required": false, "default": "string" }, { "id": "options", "label": "Options", "hint": "List of comma separated allowed values. Used when type is set to 'string'", "type": "string", "required": false, "default": "" } ] } }, "repository": { "type": "git", "url": "git+https://github.com/David-Richter/datocms-single-select-plugin" }, "keywords": [ "datocms", "datocms-plugin", "field-editor", "json-field", "single-select" ], "author": "David Richter", "license": "ISC", "bugs": { "url": "https://github.com/David-Richter/datocms-single-select-plugin/issues" }, "directories": { "doc": "docs" } }