@@ -97,6 +97,7 @@ async function seed() {
9797 priorityIndiv: $priorityIndiv,
9898 priorityComm: $priorityComm,
9999 priorityComp: $priorityComp,
100+ tags: $tags,
100101 createdAt: datetime(),
101102 updatedAt: datetime()
102103 })` ,
@@ -108,20 +109,21 @@ async function seed() {
108109 priorityExec : Math . random ( ) ,
109110 priorityIndiv : Math . random ( ) ,
110111 priorityComm : Math . random ( ) ,
111- priorityComp : Math . random ( )
112+ priorityComp : Math . random ( ) ,
113+ tags : [ ]
112114 }
113115 ) ;
114116 }
115117 console . log ( `✅ Created ${ workItems . length } work items` ) ;
116118
117119 // Create edges (relationships between work items)
118120 const edges = [
119- { source : 'wi-1' , target : 'wi-2' , type : 'DEPENDENCY ' } ,
120- { source : 'wi-2' , target : 'wi-3' , type : 'DEPENDENCY ' } ,
121- { source : 'wi-5' , target : 'wi-6' , type : 'CONTAINS ' } ,
122- { source : 'wi-5' , target : 'wi-7' , type : 'CONTAINS ' } ,
123- { source : 'wi-5' , target : 'wi-8' , type : 'CONTAINS ' } ,
124- { source : 'wi-12' , target : 'wi-5' , type : 'DEPENDENCY ' }
121+ { source : 'wi-1' , target : 'wi-2' , type : 'DEPENDS_ON ' } ,
122+ { source : 'wi-2' , target : 'wi-3' , type : 'DEPENDS_ON ' } ,
123+ { source : 'wi-5' , target : 'wi-6' , type : 'PART_OF ' } ,
124+ { source : 'wi-5' , target : 'wi-7' , type : 'PART_OF ' } ,
125+ { source : 'wi-5' , target : 'wi-8' , type : 'PART_OF ' } ,
126+ { source : 'wi-12' , target : 'wi-5' , type : 'DEPENDS_ON ' }
125127 ] ;
126128
127129 for ( const edge of edges ) {
0 commit comments