-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathindex.js
More file actions
143 lines (141 loc) · 3.35 KB
/
index.js
File metadata and controls
143 lines (141 loc) · 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
import * as Assert from './assert.js'
import * as Claim from './claim.js'
import * as Provider from './provider.js'
import * as Space from './space.js'
import * as Top from './top.js'
import * as Store from './store.js'
import * as Upload from './upload.js'
import * as UploadShard from './upload/shard.js'
import * as Access from './access.js'
import * as Utils from './utils.js'
import * as Consumer from './consumer.js'
import * as Customer from './customer.js'
import * as Console from './console.js'
import * as RateLimit from './rate-limit.js'
import * as Admin from './admin.js'
import * as Subscription from './subscription.js'
import * as Filecoin from './filecoin/index.js'
import * as Storefront from './filecoin/storefront.js'
import * as Aggregator from './filecoin/aggregator.js'
import * as Dealer from './filecoin/dealer.js'
import * as DealTracker from './filecoin/deal-tracker.js'
import * as SpaceIndex from './space/index.js'
import * as UCAN from './ucan.js'
import * as Plan from './plan.js'
import * as Usage from './usage.js'
import * as Blob from './blob/index.js'
import * as SpaceBlob from './space/blob.js'
import * as W3sBlob from './web3.storage/blob.js'
import * as HTTP from './http.js'
import * as AccountUsage from './account/usage.js'
import * as AccountEgress from './account/egress.js'
import * as PDP from './pdp.js'
export {
Access,
Assert,
Claim,
Provider,
Space,
Top,
Store,
Upload,
UploadShard,
Consumer,
Customer,
Console,
Utils,
RateLimit,
Subscription,
Filecoin,
SpaceIndex,
Storefront,
Aggregator,
Dealer,
DealTracker,
Admin,
UCAN,
Plan,
Usage,
Blob,
SpaceBlob,
W3sBlob,
HTTP,
AccountUsage,
AccountEgress,
PDP,
}
/** @type {import('./types.js').ServiceAbility[]} */
export const abilitiesAsStrings = [
Top.top.can,
Assert.assert.can,
Assert.equals.can,
Assert.inclusion.can,
Assert.index.can,
Assert.location.can,
Assert.partition.can,
Assert.relation.can,
Claim.claim.can,
Claim.cache.can,
Provider.add.can,
Space.space.can,
Space.info.can,
Space.EncryptionSetup.can,
Space.EncryptionKeyDecrypt.can,
Upload.upload.can,
Upload.add.can,
Upload.get.can,
Upload.remove.can,
Upload.list.can,
UploadShard.shard.can,
UploadShard.list.can,
Store.store.can,
Store.get.can,
Store.remove.can,
Store.list.can,
Access.access.can,
Access.authorize.can,
UCAN.attest.can,
UCAN.conclude.can,
Customer.get.can,
Consumer.has.can,
Consumer.get.can,
Subscription.get.can,
Subscription.list.can,
RateLimit.add.can,
RateLimit.remove.can,
RateLimit.list.can,
Storefront.filecoinOffer.can,
Storefront.filecoinSubmit.can,
Storefront.filecoinAccept.can,
Storefront.filecoinInfo.can,
Aggregator.pieceOffer.can,
Aggregator.pieceAccept.can,
Dealer.aggregateOffer.can,
Dealer.aggregateAccept.can,
DealTracker.dealInfo.can,
Admin.admin.can,
Admin.upload.inspect.can,
Admin.store.inspect.can,
Plan.get.can,
Plan.set.can,
Plan.createAdminSession.can,
Usage.usage.can,
Usage.report.can,
Blob.blob.can,
Blob.allocate.can,
Blob.accept.can,
SpaceBlob.blob.can,
SpaceBlob.add.can,
SpaceBlob.remove.can,
SpaceBlob.list.can,
W3sBlob.blob.can,
W3sBlob.allocate.can,
W3sBlob.accept.can,
HTTP.put.can,
SpaceIndex.index.can,
SpaceIndex.add.can,
AccountUsage.get.can,
AccountEgress.get.can,
PDP.accept.can,
PDP.info.can,
]