Browse Source

improved workspace content subfolder for better test

Skylsmoi 7 years ago
parent
commit
f69e1023d0
1 changed files with 43 additions and 0 deletions
  1. 43 0
      jsonserver/static_db.json

+ 43 - 0
jsonserver/static_db.json View File

@@ -99,56 +99,99 @@
99 99
     "content": [
100 100
       {
101 101
         "id": 1,
102
+        "parent_id": null,
103
+        "workspace_id": 1,
102 104
         "title": "La programmation fonctionnelle",
103 105
         "type": "PageHtml",
104 106
         "status": "validated"
105 107
       },
106 108
       {
107 109
         "id": 2,
110
+        "parent_id": null,
111
+        "workspace_id": 1,
108 112
         "title": "La programmation fonctionnelle est-elle vraiment utile ?",
109 113
         "type": "Thread",
110 114
         "status": "current"
111 115
       },
112 116
       {
113 117
         "id": 6,
118
+        "parent_id": null,
119
+        "workspace_id": 1,
114 120
         "title": "Une photo moche",
115 121
         "type": "File",
116 122
         "status": "current"
117 123
       },
118 124
       {
119 125
         "id": 10,
126
+        "parent_id": null,
127
+        "workspace_id": 1,
120 128
         "title": "le README.md d'un random repo github",
121 129
         "type": "PageMarkdown",
122 130
         "status": "current"
123 131
       },
124 132
       {
125 133
         "id": 7,
134
+        "parent_id": null,
135
+        "workspace_id": 1,
126 136
         "title": "Une liste de truc à faire que je ferai jamais",
127 137
         "type": "Task",
128 138
         "status": "current"
129 139
       },
130 140
       {
131 141
         "id": 8,
142
+        "parent_id": null,
143
+        "workspace_id": 1,
132 144
         "title": "Ça, ça marche pas. Merci de le fix",
133 145
         "type": "Issue",
134 146
         "status": "current"
135 147
       },
136 148
       {
137 149
         "id": 3,
150
+        "parent_id": null,
151
+        "workspace_id": 1,
138 152
         "title": "Programmation objet",
139 153
         "type": "folder",
140 154
         "content": [
141 155
           {
142 156
             "id": 4,
157
+            "parent_id": 3,
158
+            "workspace_id": 1,
143 159
             "title": "des trucs de backend",
144 160
             "type": "File",
145 161
             "status": "outdated"
146 162
           },
147 163
           {
148 164
             "id": 5,
165
+            "parent_id": 3,
166
+            "workspace_id": 1,
149 167
             "title": "on s'emmerde",
150 168
             "type": "PageHtml",
151 169
             "status": "outdated"
170
+          },
171
+          {
172
+            "id": 11,
173
+            "parent_id": 3,
174
+            "workspace_id": 1,
175
+            "title": "Hidden features",
176
+            "type": "folder",
177
+            "content": [
178
+              {
179
+                "id": 12,
180
+                "parent_id": 11,
181
+                "workspace_id": 1,
182
+                "title": "flatMap",
183
+                "type": "PageHtml",
184
+                "status": "current"
185
+              },
186
+              {
187
+                "id": 13,
188
+                "parent_id": 11,
189
+                "workspace_id": 1,
190
+                "title": "c'est tout pété",
191
+                "type": "Issue",
192
+                "status": "current"
193
+              }
194
+            ]
152 195
           }
153 196
         ]
154 197
       }