25 lines
939 B
JavaScript
25 lines
939 B
JavaScript
// Rapport Insights glossary terms (rapport/insights/functions/glossary.js).
|
|
// Listed with the generic EntityList; adding and editing use the custom
|
|
// formula builder page (src/views/insights/GlossaryForm.jsx).
|
|
const insightsglossary = {
|
|
service: 'insights',
|
|
module: 'glossary',
|
|
title: 'Glossary',
|
|
subtitle: 'Insights',
|
|
baseUrl: '/insights/glossary',
|
|
listPath: '/insights/glossarys',
|
|
deleteMethod: 'post',
|
|
listFields: [
|
|
{ key: 'actions', title: 'Actions', buttons: ['edit', 'delete'] },
|
|
{ key: 'name', title: 'Term', type: 'text' },
|
|
{ key: 'synonyms_text', title: 'Also called', type: 'text' },
|
|
{ key: 'description', title: 'Description', type: 'text' },
|
|
{ key: 'status', title: 'Status', type: 'text' },
|
|
{ key: 'updated_by_name', title: 'Updated by', type: 'text' },
|
|
{ key: 'updated_at', title: 'Updated', type: 'datetime' },
|
|
],
|
|
formFields: () => [],
|
|
};
|
|
|
|
export default insightsglossary;
|