Skip to content

Commit f2ae435

Browse files
authored
docs(ipfs): improve documentation (#905)
1 parent aa8a9fc commit f2ae435

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

packages/clients/src/api/ipfs/v1alpha1/types.gen.ts

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export type CreateVolumeRequest = {
101101
* config.
102102
*/
103103
region?: Region
104-
/** Project id. */
104+
/** Project ID. */
105105
projectId?: string
106106
/** Volume name. */
107107
name: string
@@ -113,7 +113,7 @@ export type GetVolumeRequest = {
113113
* config.
114114
*/
115115
region?: Region
116-
/** Volume id. */
116+
/** Volume ID. */
117117
volumeId: string
118118
}
119119

@@ -123,13 +123,13 @@ export type ListVolumesRequest = {
123123
* config.
124124
*/
125125
region?: Region
126-
/** Project id whose volumes you wish to list. */
126+
/** Project ID, only volumes belonging to this project will be listed. */
127127
projectId?: string
128-
/** Sort order of the returned Volume. */
128+
/** Sort the order of the returned volumes. */
129129
orderBy?: ListVolumesRequestOrderBy
130-
/** Page number to return, from the paginated results. */
130+
/** Page number. */
131131
page?: number
132-
/** Maximum number of Volume to return per page. */
132+
/** Maximum number of volumes to return per page. */
133133
pageSize?: number
134134
}
135135

@@ -139,11 +139,11 @@ export type UpdateVolumeRequest = {
139139
* config.
140140
*/
141141
region?: Region
142-
/** Volume id. */
142+
/** Volume ID. */
143143
volumeId: string
144144
/** Volume name. */
145145
name?: string
146-
/** Tags for the Volume. */
146+
/** Tags of the volume. */
147147
tags?: string[]
148148
}
149149

@@ -153,7 +153,7 @@ export type DeleteVolumeRequest = {
153153
* config.
154154
*/
155155
region?: Region
156-
/** Volume id. */
156+
/** Volume ID. */
157157
volumeId: string
158158
}
159159

@@ -163,9 +163,9 @@ export type CreatePinByURLRequest = {
163163
* config.
164164
*/
165165
region?: Region
166-
/** Volume Id on which you wish to pin your content. */
166+
/** Volume ID on which you want to pin your content. */
167167
volumeId: string
168-
/** Url whose content you wish to pin. */
168+
/** URL containing the content you want to pin. */
169169
url: string
170170
/** Pin name. */
171171
name?: string
@@ -179,11 +179,11 @@ export type CreatePinByCIDRequest = {
179179
* config.
180180
*/
181181
region?: Region
182-
/** Volume Id on which you wish to pin your content. */
182+
/** Volume ID on which you want to pin your content. */
183183
volumeId: string
184-
/** Cid whose content you wish to pin. */
184+
/** CID containing the content you want to pin. */
185185
cid: string
186-
/** Node containing the content you wish to pin. */
186+
/** Node containing the content you want to pin. */
187187
origins?: string[]
188188
/** Pin name. */
189189
name?: string
@@ -197,15 +197,15 @@ export type ReplacePinRequest = {
197197
* config.
198198
*/
199199
region?: Region
200-
/** Pin id whose information you wish to replace. */
200+
/** Pin ID whose information you wish to replace. */
201201
pinId: string
202-
/** Volume id. */
202+
/** Volume ID. */
203203
volumeId: string
204-
/** New cid you want to pin in place of the old one. */
204+
/** New CID you want to pin in place of the old one. */
205205
cid: string
206206
/** New name to replace. */
207207
name?: string
208-
/** Node containing the content you wish to pin. */
208+
/** Node containing the content you want to pin. */
209209
origins?: string[]
210210
/** Pin options. */
211211
pinOptions?: PinOptions
@@ -217,9 +217,9 @@ export type GetPinRequest = {
217217
* config.
218218
*/
219219
region?: Region
220-
/** Pin id for which you wish to obtain information. */
220+
/** Pin ID of which you want to obtain information. */
221221
pinId: string
222-
/** Volume id. */
222+
/** Volume ID. */
223223
volumeId: string
224224
}
225225

@@ -229,17 +229,17 @@ export type ListPinsRequest = {
229229
* config.
230230
*/
231231
region?: Region
232-
/** Volume ID for which you wish to list the pins. */
232+
/** Volume ID of which you want to list the pins. */
233233
volumeId: string
234-
/** Project id. */
234+
/** Project ID. */
235235
projectId?: string
236-
/** Organization id. */
236+
/** Organization ID. */
237237
organizationId?: string
238238
/** Sort order of the returned Volume. */
239239
orderBy?: ListPinsRequestOrderBy
240-
/** Page number to return, from the paginated results. */
240+
/** Page number. */
241241
page?: number
242-
/** Maximum number of Volume to return per page. */
242+
/** Maximum number of volumes to return per page. */
243243
pageSize?: number
244244
/** List pins by status. */
245245
status?: PinStatus
@@ -251,8 +251,8 @@ export type DeletePinRequest = {
251251
* config.
252252
*/
253253
region?: Region
254-
/** Pin id you wish to remove from the volume. */
254+
/** Pin ID you want to remove from the volume. */
255255
pinId: string
256-
/** Volume id. */
256+
/** Volume ID. */
257257
volumeId: string
258258
}

0 commit comments

Comments
 (0)