Skip to content

Commit 83ef0b1

Browse files
committed
Merge branch 'main' into feature/integrate-iapp
2 parents 57da9ca + 811d12e commit 83ef0b1

File tree

61 files changed

+99
-4001
lines changed

Some content is hidden

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

61 files changed

+99
-4001
lines changed

.vitepress/sidebar.ts

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

.vitepress/theme/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,22 @@ html {
332332
@apply scroll-smooth;
333333
}
334334

335+
.VPDocAside {
336+
@apply h-full;
337+
}
338+
335339
.aside .aside-container {
336340
@apply overflow-visible;
337341
}
338342

343+
.aside .aside-container .aside-content {
344+
@apply h-[calc(100%+32px)];
345+
}
346+
347+
.VPDocAsideOutline.has-outline {
348+
@apply overflow-y-auto pb-8;
349+
}
350+
339351
html.dark .light-only {
340352
display: none !important;
341353
}

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)