@@ -19,6 +19,8 @@ export const InputType = Object.freeze({
1919 CALENDAR_TIME : 'calendar_time' ,
2020 METATADA_TIME : 'metadata_time' ,
2121 TASK : 'task' ,
22+ INLINKS : 'inlinks' ,
23+ OUTLINKS : 'outlinks' ,
2224 CHECKBOX : 'checkbox' ,
2325 NEW_COLUMN : 'new_column'
2426} ) ;
@@ -53,6 +55,8 @@ export const MetadataColumns = Object.freeze({
5355 MODIFIED : `__modified__` ,
5456 ADD_COLUMN : `__add_column__` ,
5557 TASKS : `__tasks__` ,
58+ OUTLINKS : `__outlinks__` ,
59+ INLINKS : `__inlinks__` ,
5660 ROW_CONTEXT_MENU : "__rowContextMenu__"
5761} ) ;
5862
@@ -62,6 +66,8 @@ export const MetadataLabels = Object.freeze({
6266 CREATED : 'Created' ,
6367 MODIFIED : 'Modified' ,
6468 TASK : 'Task' ,
69+ OUTLINKS : 'Outlinks' ,
70+ INLINKS : 'Inlinks' ,
6571} ) ;
6672
6773export const DEFAULT_COLUMN_CONFIG : ConfigColumn = Object . freeze ( {
@@ -133,6 +139,29 @@ export const MetadataDatabaseColumns: MetadataColumnsModel = Object.freeze({
133139 csvCandidate : false ,
134140 config : DEFAULT_COLUMN_CONFIG
135141 } ,
142+ INLINKS : {
143+ key : MetadataColumns . INLINKS ,
144+ input : InputType . INLINKS ,
145+ label : MetadataLabels . INLINKS ,
146+ accessorKey : MetadataColumns . INLINKS ,
147+ isMetadata : true ,
148+ isDragDisabled : false ,
149+ skipPersist : false ,
150+ csvCandidate : false ,
151+ config : DEFAULT_COLUMN_CONFIG
152+ } ,
153+ OUTLINKS : {
154+ key : MetadataColumns . OUTLINKS ,
155+ input : InputType . OUTLINKS ,
156+ label : MetadataLabels . OUTLINKS ,
157+ accessorKey : MetadataColumns . OUTLINKS ,
158+ isMetadata : true ,
159+ isDragDisabled : false ,
160+ skipPersist : false ,
161+ csvCandidate : false ,
162+ config : DEFAULT_COLUMN_CONFIG
163+
164+ } ,
136165 ROW_CONTEXT_MENU : {
137166 id : MetadataColumns . ROW_CONTEXT_MENU ,
138167 key : MetadataColumns . ROW_CONTEXT_MENU ,
@@ -313,6 +342,8 @@ export const DEFAULT_SETTINGS: DatabaseSettings = {
313342 show_metadata_created : false ,
314343 show_metadata_modified : false ,
315344 show_metadata_tasks : false ,
345+ show_metadata_inlinks : false ,
346+ show_metadata_outlinks : false ,
316347 source_data : SourceDataTypes . CURRENT_FOLDER ,
317348 source_form_result : 'root' ,
318349 source_destination_path : '/' ,
0 commit comments