strapi-to-lokalise-plugin
Version:
Preview and sync Lokalise translations from Strapi admin
68 lines (66 loc) • 1.4 kB
JSON
{
"kind": "collectionType",
"collectionName": "lokalise_entry_metadata",
"info": {
"singularName": "entry-metadata",
"pluralName": "entry-metadata",
"displayName": "Lokalise Entry Metadata",
"description": "Stores lokalise_key_id mappings per entry/field"
},
"options": {
"draftAndPublish": false,
"populateCreatorFields": false,
"timestamps": true,
"indexes": [
{
"name": "lokalise_metadata_unique_key",
"columns": ["content_type", "entry_document_id", "entry_slug", "field_path", "key_name"],
"type": "unique"
}
]
},
"pluginOptions": {
"content-manager": {
"visible": false
},
"content-type-builder": {
"visible": false
}
},
"attributes": {
"content_type": {
"type": "string",
"required": true
},
"entry_document_id": {
"type": "string"
},
"entry_numeric_id": {
"type": "string"
},
"entry_slug": {
"type": "string"
},
"field_path": {
"type": "string",
"required": true
},
"key_name": {
"type": "string",
"required": true
},
"lokalise_key_id": {
"type": "integer",
"required": true
},
"lokalise_sync_hash": {
"type": "string"
},
"lokalise_tags_snapshot": {
"type": "json"
},
"locale": {
"type": "string"
}
}
}