@@ -211,187 +211,50 @@ export function getSidebar() {
211211 {
212212 text : '🔐 DataProtector' ,
213213 link : '/references/dataProtector' ,
214- collapsed : true ,
215214 items : [
216215 {
217216 text : 'Getting Started' ,
218217 link : '/references/dataProtector/getting-started' ,
219218 } ,
220219 {
221- text : 'DataProtector Core' ,
222- link : '/references/dataProtector/dataProtectorCore' ,
220+ text : 'Methods' ,
223221 collapsed : true ,
224222 items : [
225223 {
226224 text : 'protectData' ,
227- link : '/references/dataProtector/dataProtectorCore /protectData' ,
225+ link : '/references/dataProtector/methods /protectData' ,
228226 } ,
229227 {
230228 text : 'getProtectedData' ,
231- link : '/references/dataProtector/dataProtectorCore /getProtectedData' ,
229+ link : '/references/dataProtector/methods /getProtectedData' ,
232230 } ,
233231 {
234232 text : 'transferOwnership' ,
235- link : '/references/dataProtector/dataProtectorCore /transferOwnership' ,
233+ link : '/references/dataProtector/methods /transferOwnership' ,
236234 } ,
237235 {
238236 text : 'grantAccess' ,
239- link : '/references/dataProtector/dataProtectorCore /grantAccess' ,
237+ link : '/references/dataProtector/methods /grantAccess' ,
240238 } ,
241239 {
242240 text : 'getGrantedAccess' ,
243- link : '/references/dataProtector/dataProtectorCore /getGrantedAccess' ,
241+ link : '/references/dataProtector/methods /getGrantedAccess' ,
244242 } ,
245243 {
246244 text : 'revokeOneAccess' ,
247- link : '/references/dataProtector/dataProtectorCore /revokeOneAccess' ,
245+ link : '/references/dataProtector/methods /revokeOneAccess' ,
248246 } ,
249247 {
250248 text : 'revokeAllAccess' ,
251- link : '/references/dataProtector/dataProtectorCore /revokeAllAccess' ,
249+ link : '/references/dataProtector/methods /revokeAllAccess' ,
252250 } ,
253251 {
254252 text : 'processProtectedData' ,
255- link : '/references/dataProtector/dataProtectorCore /processProtectedData' ,
253+ link : '/references/dataProtector/methods /processProtectedData' ,
256254 } ,
257255 {
258256 text : 'getResultFromCompletedTask' ,
259- link : '/references/dataProtector/dataProtectorCore/getResultFromCompletedTask' ,
260- } ,
261- ] ,
262- } ,
263- {
264- text : 'DataProtector Sharing' ,
265- link : '/references/dataProtector/dataProtectorSharing' ,
266- collapsed : true ,
267- items : [
268- {
269- text : 'Collection' ,
270- link : '/references/dataProtector/dataProtectorSharing/collection' ,
271- collapsed : true ,
272- items : [
273- {
274- text : 'createCollection' ,
275- link : '/references/dataProtector/dataProtectorSharing/collection/createCollection' ,
276- } ,
277- {
278- text : 'removeCollection' ,
279- link : '/references/dataProtector/dataProtectorSharing/collection/removeCollection' ,
280- } ,
281- {
282- text : 'addToCollection' ,
283- link : '/references/dataProtector/dataProtectorSharing/collection/addToCollection' ,
284- } ,
285- {
286- text : 'removeProtectedDataFromCollection' ,
287- link : '/references/dataProtector/dataProtectorSharing/collection/removeProtectedDataFromCollection' ,
288- } ,
289- ] ,
290- } ,
291- {
292- text : 'Renting' ,
293- link : '/references/dataProtector/dataProtectorSharing/renting' ,
294- collapsed : true ,
295- items : [
296- {
297- text : 'setProtectedDataToRenting' ,
298- link : '/references/dataProtector/dataProtectorSharing/renting/setProtectedDataToRenting' ,
299- } ,
300- {
301- text : 'setProtectedDataRentingParams' ,
302- link : '/references/dataProtector/dataProtectorSharing/renting/setProtectedDataRentingParams' ,
303- } ,
304- {
305- text : 'rentProtectedData' ,
306- link : '/references/dataProtector/dataProtectorSharing/renting/rentProtectedData' ,
307- } ,
308- {
309- text : 'removeProtectedDataFromRenting' ,
310- link : '/references/dataProtector/dataProtectorSharing/renting/removeProtectedDataFromRenting' ,
311- } ,
312- ] ,
313- } ,
314- {
315- text : 'Selling' ,
316- link : '/references/dataProtector/dataProtectorSharing/selling' ,
317- collapsed : true ,
318- items : [
319- {
320- text : 'setProtectedDataForSale' ,
321- link : '/references/dataProtector/dataProtectorSharing/selling/setProtectedDataForSale' ,
322- } ,
323- {
324- text : 'buyProtectedData' ,
325- link : '/references/dataProtector/dataProtectorSharing/selling/buyProtectedData' ,
326- } ,
327- {
328- text : 'removeProtectedDataForSale' ,
329- link : '/references/dataProtector/dataProtectorSharing/selling/removeProtectedDataForSale' ,
330- } ,
331- ] ,
332- } ,
333- {
334- text : 'Subscription' ,
335- link : '/references/dataProtector/dataProtectorSharing/subscription' ,
336- collapsed : true ,
337- items : [
338- {
339- text : 'setProtectedDataToSubscription' ,
340- link : '/references/dataProtector/dataProtectorSharing/subscription/setProtectedDataToSubscription' ,
341- } ,
342- {
343- text : 'setSubscriptionParams' ,
344- link : '/references/dataProtector/dataProtectorSharing/subscription/setSubscriptionParams' ,
345- } ,
346- {
347- text : 'subscribeToCollection' ,
348- link : '/references/dataProtector/dataProtectorSharing/subscription/subscribeToCollection' ,
349- } ,
350- {
351- text : 'removeProtectedDataFromSubscription' ,
352- link : '/references/dataProtector/dataProtectorSharing/subscription/removeProtectedDataFromSubscription' ,
353- } ,
354- ] ,
355- } ,
356- {
357- text : 'Consume' ,
358- collapsed : true ,
359- items : [
360- {
361- text : 'consumeProtectedData' ,
362- link : '/references/dataProtector/dataProtectorSharing/consume/consumeProtectedData' ,
363- } ,
364- ] ,
365- } ,
366- {
367- text : 'Read Data' ,
368- collapsed : true ,
369- items : [
370- {
371- text : 'getProtectedDataInCollections' ,
372- link : '/references/dataProtector/dataProtectorSharing/read/getProtectedDataInCollections' ,
373- } ,
374- {
375- text : 'getProtectedDataPricingParams' ,
376- link : '/references/dataProtector/dataProtectorSharing/read/getProtectedDataPricingParams' ,
377- } ,
378- {
379- text : 'getCollectionOwners' ,
380- link : '/references/dataProtector/dataProtectorSharing/read/getCollectionOwners' ,
381- } ,
382- {
383- text : 'getCollectionsByOwner' ,
384- link : '/references/dataProtector/dataProtectorSharing/read/getCollectionsByOwner' ,
385- } ,
386- {
387- text : 'getCollectionSubscriptions' ,
388- link : '/references/dataProtector/dataProtectorSharing/read/getCollectionSubscriptions' ,
389- } ,
390- {
391- text : 'getRentals' ,
392- link : '/references/dataProtector/dataProtectorSharing/read/getRentals' ,
393- } ,
394- ] ,
257+ link : '/references/dataProtector/methods/getResultFromCompletedTask' ,
395258 } ,
396259 ] ,
397260 } ,
@@ -400,33 +263,8 @@ export function getSidebar() {
400263 link : '/references/dataProtector/types' ,
401264 } ,
402265 {
403- text : 'Advanced' ,
404- collapsed : true ,
405- items : [
406- {
407- text : 'Advanced Configuration' ,
408- link : '/references/dataProtector/advanced/advanced-configuration' ,
409- } ,
410- {
411- text : 'Apps whitelist' ,
412- link : '/references/dataProtector/advanced/apps-whitelist' ,
413- collapsed : true ,
414- items : [
415- {
416- text : 'createAddOnlyAppWhitelist' ,
417- link : '/references/dataProtector/advanced/apps-whitelist/createAddOnlyAppWhitelist' ,
418- } ,
419- {
420- text : 'addAppToAddOnlyAppWhitelist' ,
421- link : '/references/dataProtector/advanced/apps-whitelist/addAppToAddOnlyAppWhitelist' ,
422- } ,
423- {
424- text : 'getUserAddOnlyAppWhitelist' ,
425- link : '/references/dataProtector/advanced/apps-whitelist/getUserAddOnlyAppWhitelist' ,
426- } ,
427- ] ,
428- } ,
429- ] ,
266+ text : 'Advanced Configuration' ,
267+ link : '/references/dataProtector/advanced-configuration' ,
430268 } ,
431269 ] ,
432270 } ,
0 commit comments