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