Skip to content

Commit 811d12e

Browse files
authored
feat: remove dataProtectorSharing from the doc (#79)
1 parent 5cf1f70 commit 811d12e

File tree

59 files changed

+48
-3953
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+48
-3953
lines changed

.vitepress/sidebar.ts

Lines changed: 12 additions & 174 deletions
Original file line numberDiff line numberDiff line change
@@ -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
},

src/get-started/helloWorld/3-buildIApp.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ Telegram handles.
5656
[Github](https://github.com/iExecBlockchainComputing/web3telegram-sdk/tree/main/dapp)
5757
| [Documentation](/references/web3telegram)
5858

59-
### 🌐 Content delivery
60-
61-
Transfer, sell or rent protected content to authorized users.
62-
[Github](https://github.com/iExecBlockchainComputing/protected-data-delivery-dapp)
63-
| [Documentation](/references/dataProtector/dataProtectorSharing)
64-
6559
::: tip <i></i>
6660

6761
These are just a few examples, the possibilities are endless. Want to explore

src/get-started/helloWorld/4-manageDataAccess.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -112,21 +112,9 @@ users and iApp, and **process it safely**.
112112

113113
But here's where it gets even more exciting... **monetization!**.
114114

115-
Our SDK offers flexible **monetization mechanisms**, allowing you to create
116-
**protected data collections** and implement advanced models like
117-
**subscriptions**, **rentals**, or **direct sales**. The choice is yours!
118-
119-
Want to see it in action? Check out our
120-
[Content Creator Demo](https://demo.iex.ec/content-creator/) where you can:
121-
122-
- Create and protect your own content
123-
- Set pricing and access rules
124-
- Manage subscriptions and rentals
125-
- Track your earnings
126-
127-
For more technical details, see the
128-
[DataProtector Sharing](/references/dataProtector/dataProtectorSharing)
129-
documentation.
115+
Our SDK offers flexible **monetization mechanisms**, allowing you to monetize
116+
your protected data. For more technical details, see the guide
117+
[Monetize your Protected Data](/guides/manage-data/monetize-protected-data).
130118

131119
<Container variant="success">
132120

0 commit comments

Comments
 (0)