@@ -30,6 +30,7 @@ export const StaticInputType = Object.freeze({
3030 TASK : 'task' ,
3131 INLINKS : 'inlinks' ,
3232 OUTLINKS : 'outlinks' ,
33+ METADATA_TAGS : 'metadata_tags' ,
3334 NEW_COLUMN : 'new_column' ,
3435} ) ;
3536
@@ -51,7 +52,8 @@ export const MetadataColumns = Object.freeze({
5152 TASKS : `__tasks__` ,
5253 OUTLINKS : `__outlinks__` ,
5354 INLINKS : `__inlinks__` ,
54- ROW_CONTEXT_MENU : "__rowContextMenu__"
55+ ROW_CONTEXT_MENU : "__rowContextMenu__" ,
56+ TAGS : `__tags__` ,
5557} ) ;
5658
5759export const MetadataLabels = Object . freeze ( {
@@ -62,6 +64,7 @@ export const MetadataLabels = Object.freeze({
6264 TASK : 'Task' ,
6365 OUTLINKS : 'Outlinks' ,
6466 INLINKS : 'Inlinks' ,
67+ TAGS : 'File Tags' ,
6568} ) ;
6669
6770export const PaginationRenderOptions = Object . freeze ( {
@@ -214,6 +217,18 @@ export const MetadataDatabaseColumns: MetadataColumnsModel = Object.freeze({
214217 config : DEFAULT_COLUMN_CONFIG
215218
216219 } ,
220+ TAGS : {
221+ key : MetadataColumns . TAGS ,
222+ id : MetadataColumns . TAGS ,
223+ input : InputType . METADATA_TAGS ,
224+ label : MetadataLabels . TAGS ,
225+ accessorKey : MetadataColumns . TAGS ,
226+ isMetadata : true ,
227+ isDragDisabled : false ,
228+ skipPersist : false ,
229+ csvCandidate : false ,
230+ config : DEFAULT_COLUMN_CONFIG
231+ } ,
217232 ROW_CONTEXT_MENU : {
218233 id : MetadataColumns . ROW_CONTEXT_MENU ,
219234 key : MetadataColumns . ROW_CONTEXT_MENU ,
@@ -413,6 +428,7 @@ export const DEFAULT_SETTINGS: DatabaseSettings = {
413428 show_metadata_tasks : false ,
414429 show_metadata_inlinks : false ,
415430 show_metadata_outlinks : false ,
431+ show_metadata_tags : false ,
416432 source_data : SourceDataTypes . CURRENT_FOLDER ,
417433 source_form_result : '' ,
418434 source_destination_path : '/' ,
0 commit comments