@lumeweb/pinner 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/README.md +197 -18
  2. package/dist/esm/_virtual/{rolldown_runtime.js → _rolldown/runtime.js} +2 -2
  3. package/dist/esm/adapters/pinata/index.d.ts +4 -4
  4. package/dist/esm/adapters/pinata/index.js +6 -3
  5. package/dist/esm/adapters/pinata/legacy/adapter.d.ts +73 -0
  6. package/dist/esm/adapters/pinata/legacy/adapter.js +124 -0
  7. package/dist/esm/adapters/pinata/legacy/adapter.js.map +1 -0
  8. package/dist/esm/adapters/pinata/legacy/index.d.ts +1 -0
  9. package/dist/esm/adapters/pinata/legacy/index.js +1 -0
  10. package/dist/esm/adapters/pinata/shared/index.d.ts +1 -0
  11. package/dist/esm/adapters/pinata/shared/index.js +1 -0
  12. package/dist/esm/adapters/pinata/shared/types.d.ts +218 -0
  13. package/dist/esm/adapters/pinata/shared/utils.d.ts +1 -0
  14. package/dist/esm/adapters/pinata/shared/utils.js +78 -0
  15. package/dist/esm/adapters/pinata/shared/utils.js.map +1 -0
  16. package/dist/esm/adapters/pinata/v2/adapter-interface.d.ts +197 -0
  17. package/dist/esm/adapters/pinata/v2/adapter.d.ts +16 -0
  18. package/dist/esm/adapters/pinata/v2/adapter.js +636 -0
  19. package/dist/esm/adapters/pinata/v2/adapter.js.map +1 -0
  20. package/dist/esm/adapters/pinata/v2/index.d.ts +3 -0
  21. package/dist/esm/adapters/pinata/v2/index.js +1 -0
  22. package/dist/esm/adapters/pinata/v2/types.d.ts +308 -0
  23. package/dist/esm/api/generated/schemas/iPNSKeyListResponse.d.ts +46 -0
  24. package/dist/esm/api/generated/schemas/iPNSKeyListResponseResponse.d.ts +10 -0
  25. package/dist/esm/api/generated/schemas/iPNSKeyRequest.d.ts +43 -0
  26. package/dist/esm/api/generated/schemas/iPNSKeyResponse.d.ts +46 -0
  27. package/dist/esm/api/generated/schemas/iPNSPublishRequest.d.ts +44 -0
  28. package/dist/esm/api/generated/schemas/iPNSPublishResponse.d.ts +46 -0
  29. package/dist/esm/api/generated/schemas/iPNSResolveResponse.d.ts +47 -0
  30. package/dist/esm/api/generated/schemas/sSLStatusInfo.d.ts +45 -0
  31. package/dist/esm/api/generated/schemas/websiteConfigResponse.d.ts +43 -0
  32. package/dist/esm/api/generated/schemas/websiteItem.d.ts +23 -0
  33. package/dist/esm/api/generated/schemas/websiteItemResponse.d.ts +10 -0
  34. package/dist/esm/api/generated/schemas/websiteRequest.d.ts +45 -0
  35. package/dist/esm/api/generated/schemas/websiteResponse.d.ts +23 -0
  36. package/dist/esm/api/generated/schemas/websiteUpdateRequest.d.ts +45 -0
  37. package/dist/esm/api/generated/schemas/websiteValidateResponse.d.ts +45 -0
  38. package/dist/esm/api/ipns.d.ts +28 -0
  39. package/dist/esm/api/ipns.js +83 -0
  40. package/dist/esm/api/ipns.js.map +1 -0
  41. package/dist/esm/api/websites.d.ts +48 -0
  42. package/dist/esm/api/websites.js +168 -0
  43. package/dist/esm/api/websites.js.map +1 -0
  44. package/dist/esm/blockstore/unstorage-base.d.ts +4 -1
  45. package/dist/esm/blockstore/unstorage-base.js +3 -3
  46. package/dist/esm/blockstore/unstorage-base.js.map +1 -1
  47. package/dist/esm/blockstore/unstorage.d.ts +3 -31
  48. package/dist/esm/blockstore/unstorage.js +2 -2
  49. package/dist/esm/blockstore/unstorage.js.map +1 -1
  50. package/dist/esm/encoder/base64.js.map +1 -1
  51. package/dist/esm/encoder/csv/row-formatter.js.map +1 -1
  52. package/dist/esm/encoder/csv.js.map +1 -1
  53. package/dist/esm/encoder/json.js.map +1 -1
  54. package/dist/esm/encoder/text.js.map +1 -1
  55. package/dist/esm/encoder/url.js.map +1 -1
  56. package/dist/esm/index.d.ts +7 -5
  57. package/dist/esm/index.js +5 -2
  58. package/dist/esm/pin/client.js +8 -5
  59. package/dist/esm/pin/client.js.map +1 -1
  60. package/dist/esm/pinner.d.ts +16 -0
  61. package/dist/esm/pinner.js +24 -0
  62. package/dist/esm/pinner.js.map +1 -1
  63. package/dist/esm/types/constants.js +6 -2
  64. package/dist/esm/types/constants.js.map +1 -1
  65. package/dist/esm/types/pin.d.ts +4 -1
  66. package/dist/esm/types/type-guards.d.ts +0 -1
  67. package/dist/esm/types/upload.d.ts +0 -1
  68. package/dist/esm/upload/base-upload.js +3 -3
  69. package/dist/esm/upload/base-upload.js.map +1 -1
  70. package/dist/esm/upload/builder.d.ts +0 -1
  71. package/dist/esm/upload/car.js +3 -3
  72. package/dist/esm/upload/car.js.map +1 -1
  73. package/dist/esm/upload/manager.js +5 -5
  74. package/dist/esm/upload/manager.js.map +1 -1
  75. package/dist/esm/upload/normalize.js +1 -1
  76. package/dist/esm/upload/normalize.js.map +1 -1
  77. package/dist/esm/utils/stream.d.ts +0 -3
  78. package/dist/esm/utils/tus-patch.js +2 -2
  79. package/dist/esm/utils/tus-patch.js.map +1 -1
  80. package/dist/esm/utils/validation.js.map +1 -1
  81. package/package.json +33 -32
  82. package/dist/cjs/_virtual/rolldown_runtime.cjs +0 -29
  83. package/dist/cjs/adapters/pinata/adapter.cjs +0 -88
  84. package/dist/cjs/adapters/pinata/adapter.cjs.map +0 -1
  85. package/dist/cjs/adapters/pinata/adapter.d.cts +0 -35
  86. package/dist/cjs/adapters/pinata/builder.cjs +0 -194
  87. package/dist/cjs/adapters/pinata/builder.cjs.map +0 -1
  88. package/dist/cjs/adapters/pinata/index.cjs +0 -3
  89. package/dist/cjs/adapters/pinata/list-builder.cjs +0 -52
  90. package/dist/cjs/adapters/pinata/list-builder.cjs.map +0 -1
  91. package/dist/cjs/blockstore/index.cjs +0 -2
  92. package/dist/cjs/blockstore/unstorage-base.cjs +0 -240
  93. package/dist/cjs/blockstore/unstorage-base.cjs.map +0 -1
  94. package/dist/cjs/blockstore/unstorage-base.d.cts +0 -23
  95. package/dist/cjs/blockstore/unstorage.cjs +0 -39
  96. package/dist/cjs/blockstore/unstorage.cjs.map +0 -1
  97. package/dist/cjs/blockstore/unstorage.d.cts +0 -36
  98. package/dist/cjs/config.d.cts +0 -51
  99. package/dist/cjs/encoder/base64.cjs +0 -38
  100. package/dist/cjs/encoder/base64.cjs.map +0 -1
  101. package/dist/cjs/encoder/csv/csv-formatter.cjs +0 -81
  102. package/dist/cjs/encoder/csv/csv-formatter.cjs.map +0 -1
  103. package/dist/cjs/encoder/csv/field-formatter.cjs +0 -76
  104. package/dist/cjs/encoder/csv/field-formatter.cjs.map +0 -1
  105. package/dist/cjs/encoder/csv/row-formatter.cjs +0 -159
  106. package/dist/cjs/encoder/csv/row-formatter.cjs.map +0 -1
  107. package/dist/cjs/encoder/csv.cjs +0 -44
  108. package/dist/cjs/encoder/csv.cjs.map +0 -1
  109. package/dist/cjs/encoder/error.cjs +0 -19
  110. package/dist/cjs/encoder/error.cjs.map +0 -1
  111. package/dist/cjs/encoder/index.cjs +0 -6
  112. package/dist/cjs/encoder/json.cjs +0 -36
  113. package/dist/cjs/encoder/json.cjs.map +0 -1
  114. package/dist/cjs/encoder/text.cjs +0 -35
  115. package/dist/cjs/encoder/text.cjs.map +0 -1
  116. package/dist/cjs/encoder/url.cjs +0 -39
  117. package/dist/cjs/encoder/url.cjs.map +0 -1
  118. package/dist/cjs/errors/index.cjs +0 -104
  119. package/dist/cjs/errors/index.cjs.map +0 -1
  120. package/dist/cjs/errors/index.d.cts +0 -47
  121. package/dist/cjs/index.cjs +0 -42
  122. package/dist/cjs/index.d.cts +0 -14
  123. package/dist/cjs/pin/client.cjs +0 -96
  124. package/dist/cjs/pin/client.cjs.map +0 -1
  125. package/dist/cjs/pin/index.cjs +0 -1
  126. package/dist/cjs/pinner.cjs +0 -126
  127. package/dist/cjs/pinner.cjs.map +0 -1
  128. package/dist/cjs/pinner.d.cts +0 -77
  129. package/dist/cjs/types/constants.cjs +0 -34
  130. package/dist/cjs/types/constants.cjs.map +0 -1
  131. package/dist/cjs/types/mime-types.cjs +0 -11
  132. package/dist/cjs/types/mime-types.cjs.map +0 -1
  133. package/dist/cjs/types/mime-types.d.cts +0 -7
  134. package/dist/cjs/types/pin.d.cts +0 -74
  135. package/dist/cjs/types/pinata.d.cts +0 -99
  136. package/dist/cjs/types/type-guards.cjs +0 -20
  137. package/dist/cjs/types/type-guards.cjs.map +0 -1
  138. package/dist/cjs/types/type-guards.d.cts +0 -15
  139. package/dist/cjs/types/upload.cjs +0 -18
  140. package/dist/cjs/types/upload.cjs.map +0 -1
  141. package/dist/cjs/types/upload.d.cts +0 -189
  142. package/dist/cjs/upload/base-upload.cjs +0 -135
  143. package/dist/cjs/upload/base-upload.cjs.map +0 -1
  144. package/dist/cjs/upload/builder.cjs +0 -174
  145. package/dist/cjs/upload/builder.cjs.map +0 -1
  146. package/dist/cjs/upload/builder.d.cts +0 -60
  147. package/dist/cjs/upload/car.cjs +0 -129
  148. package/dist/cjs/upload/car.cjs.map +0 -1
  149. package/dist/cjs/upload/car.d.cts +0 -19
  150. package/dist/cjs/upload/constants.cjs +0 -9
  151. package/dist/cjs/upload/constants.cjs.map +0 -1
  152. package/dist/cjs/upload/index.cjs +0 -8
  153. package/dist/cjs/upload/manager.cjs +0 -249
  154. package/dist/cjs/upload/manager.cjs.map +0 -1
  155. package/dist/cjs/upload/manager.d.cts +0 -35
  156. package/dist/cjs/upload/normalize.cjs +0 -28
  157. package/dist/cjs/upload/normalize.cjs.map +0 -1
  158. package/dist/cjs/upload/tus-upload.cjs +0 -74
  159. package/dist/cjs/upload/tus-upload.cjs.map +0 -1
  160. package/dist/cjs/upload/xhr-upload.cjs +0 -41
  161. package/dist/cjs/upload/xhr-upload.cjs.map +0 -1
  162. package/dist/cjs/utils/env.cjs +0 -12
  163. package/dist/cjs/utils/env.cjs.map +0 -1
  164. package/dist/cjs/utils/stream.cjs +0 -141
  165. package/dist/cjs/utils/stream.cjs.map +0 -1
  166. package/dist/cjs/utils/stream.d.cts +0 -23
  167. package/dist/cjs/utils/tus-patch.cjs +0 -50
  168. package/dist/cjs/utils/tus-patch.cjs.map +0 -1
  169. package/dist/cjs/utils/validation.cjs +0 -62
  170. package/dist/cjs/utils/validation.cjs.map +0 -1
  171. package/dist/esm/adapters/pinata/adapter.d.ts +0 -35
  172. package/dist/esm/adapters/pinata/adapter.js +0 -87
  173. package/dist/esm/adapters/pinata/adapter.js.map +0 -1
  174. package/dist/esm/adapters/pinata/builder.d.ts +0 -1
  175. package/dist/esm/adapters/pinata/builder.js +0 -187
  176. package/dist/esm/adapters/pinata/builder.js.map +0 -1
  177. package/dist/esm/adapters/pinata/list-builder.d.ts +0 -1
  178. package/dist/esm/adapters/pinata/list-builder.js +0 -51
  179. package/dist/esm/adapters/pinata/list-builder.js.map +0 -1
  180. package/dist/esm/types/pinata.d.ts +0 -99
@@ -0,0 +1,3 @@
1
+ import { AccessLinkOptions, AnalyticsQuery, CidVersion, DeleteResponse, FileListItem, FileListResponse, GetGroupOptions, GroupCIDOptions, GroupListResponse, GroupOptions, GroupResponseItem, PinByCIDResponse, PinQueueItem, PinQueueResponse, PinataConfig, PinataMetadata, SignedUploadUrlOptions, SwapCidOptions, SwapCidResponse, SwapHistoryOptions, TimeIntervalAnalyticsQuery, TimeIntervalAnalyticsResponse, TimePeriodItem, TopAnalyticsItem, TopAnalyticsQuery, TopAnalyticsResponse, UpdateFileOptions, UpdateGroupFilesResponse, UpdateGroupOptions, UploadCIDOptions, UploadOptions, UploadResponse } from "./types.js";
2
+ import { PinataAdapter } from "./adapter-interface.js";
3
+ import { pinataAdapter } from "./adapter.js";
@@ -0,0 +1 @@
1
+ import { pinataAdapter } from "./adapter.js";
@@ -0,0 +1,308 @@
1
+ //#region src/adapters/pinata/v2/types.d.ts
2
+ /**
3
+ * Pinata SDK 2.x Types
4
+ * Source: https://github.com/PinataCloud/pinata/commit/cdc0c06116aaadaf7c4b287a2673cd23b6ba1125
5
+ * - src/core/types/index.ts
6
+ *
7
+ * Copyright © 2024 Pinata Cloud Technologies
8
+ * Type definitions adapted from Pinata SDK for compatibility.
9
+ * Original Pinata SDK: https://github.com/PinataCloud/pinata
10
+ */
11
+ /**
12
+ * CID version type
13
+ */
14
+ type CidVersion = "v0" | "v1";
15
+ /**
16
+ * Pinata configuration options
17
+ */
18
+ type PinataConfig = {
19
+ pinataJwt?: string;
20
+ pinataGateway?: string;
21
+ pinataGatewayKey?: string;
22
+ customHeaders?: Record<string, string>;
23
+ endpointUrl?: string;
24
+ uploadUrl?: string;
25
+ legacyUploadUrl?: string;
26
+ };
27
+ /**
28
+ * Pinata metadata
29
+ */
30
+ type PinataMetadata = {
31
+ name?: string;
32
+ keyvalues?: Record<string, string>;
33
+ };
34
+ /**
35
+ * Upload options
36
+ */
37
+ type UploadOptions = {
38
+ metadata?: PinataMetadata;
39
+ keys?: string;
40
+ groupId?: string;
41
+ vectorize?: boolean;
42
+ url?: string;
43
+ streamable?: boolean;
44
+ peerAddresses?: string[];
45
+ car?: boolean;
46
+ cid_version?: CidVersion;
47
+ };
48
+ /**
49
+ * Upload response
50
+ */
51
+ type UploadResponse = {
52
+ id: string;
53
+ name: string;
54
+ cid: string;
55
+ size: number;
56
+ created_at: string;
57
+ number_of_files: number;
58
+ mime_type: string;
59
+ group_id: string | null;
60
+ keyvalues: Record<string, string>;
61
+ vectorized: boolean;
62
+ network: string;
63
+ };
64
+ /**
65
+ * Upload CID options
66
+ */
67
+ type UploadCIDOptions = {
68
+ metadata?: PinataMetadata;
69
+ peerAddresses?: string[];
70
+ keys?: string;
71
+ groupId?: string;
72
+ };
73
+ /**
74
+ * Pin by CID response
75
+ */
76
+ type PinByCIDResponse = {
77
+ id: string;
78
+ cid: string;
79
+ date_queued: string;
80
+ name: string;
81
+ status: string;
82
+ keyvalues: Record<string, any> | null;
83
+ host_nodes: string[] | null;
84
+ group_id: string | null;
85
+ };
86
+ /**
87
+ * Signed upload URL options
88
+ */
89
+ type SignedUploadUrlOptions = {
90
+ date?: number;
91
+ expires: number;
92
+ groupId?: string;
93
+ name?: string;
94
+ keyvalues?: Record<string, string>;
95
+ vectorize?: boolean;
96
+ maxFileSize?: number;
97
+ mimeTypes?: string[];
98
+ streamable?: boolean;
99
+ car?: boolean;
100
+ cid_version?: CidVersion;
101
+ };
102
+ /**
103
+ * File list item
104
+ */
105
+ type FileListItem = {
106
+ id: string;
107
+ name: string | null;
108
+ cid: "pending" | string;
109
+ size: number;
110
+ number_of_files: number;
111
+ mime_type: string;
112
+ keyvalues: Record<string, string>;
113
+ group_id: string | null;
114
+ created_at: string;
115
+ };
116
+ /**
117
+ * File list response
118
+ */
119
+ type FileListResponse = {
120
+ files: FileListItem[];
121
+ next_page_token: string;
122
+ };
123
+ /**
124
+ * Update file options
125
+ */
126
+ type UpdateFileOptions = {
127
+ id: string;
128
+ name?: string;
129
+ keyvalues?: Record<string, string>;
130
+ };
131
+ /**
132
+ * Delete response
133
+ */
134
+ type DeleteResponse = {
135
+ id: string;
136
+ status: string;
137
+ };
138
+ /**
139
+ * Pin queue item
140
+ */
141
+ type PinQueueItem = {
142
+ id: string;
143
+ cid?: string;
144
+ ipfs_pin_hash?: string;
145
+ date_queued: string;
146
+ name: string;
147
+ status: string;
148
+ keyvalues: any;
149
+ host_nodes: string[];
150
+ pin_policy: {
151
+ regions: {
152
+ id: string;
153
+ desiredReplicationCount: number;
154
+ }[];
155
+ version: number;
156
+ };
157
+ };
158
+ /**
159
+ * Pin queue response
160
+ */
161
+ type PinQueueResponse = {
162
+ jobs: PinQueueItem[];
163
+ next_page_token: string;
164
+ };
165
+ /**
166
+ * Swap CID options
167
+ */
168
+ type SwapCidOptions = {
169
+ cid: string;
170
+ swapCid: string;
171
+ };
172
+ /**
173
+ * Swap history options
174
+ */
175
+ type SwapHistoryOptions = {
176
+ cid: string;
177
+ domain: string;
178
+ };
179
+ /**
180
+ * Swap CID response
181
+ */
182
+ type SwapCidResponse = {
183
+ mapped_cid: string;
184
+ created_at: string;
185
+ };
186
+ /**
187
+ * Access link options
188
+ */
189
+ type AccessLinkOptions = {
190
+ cid: string;
191
+ date?: number;
192
+ expires: number;
193
+ gateway?: string;
194
+ };
195
+ /**
196
+ * Group options
197
+ */
198
+ type GroupOptions = {
199
+ name: string;
200
+ isPublic?: boolean;
201
+ };
202
+ /**
203
+ * Update group options
204
+ */
205
+ type UpdateGroupOptions = {
206
+ groupId: string;
207
+ name?: string;
208
+ isPublic?: boolean;
209
+ };
210
+ /**
211
+ * Get group options
212
+ */
213
+ type GetGroupOptions = {
214
+ groupId: string;
215
+ };
216
+ /**
217
+ * Group response item
218
+ */
219
+ type GroupResponseItem = {
220
+ id: string;
221
+ is_public: boolean;
222
+ name: string;
223
+ createdAt: string;
224
+ };
225
+ /**
226
+ * Group list response
227
+ */
228
+ type GroupListResponse = {
229
+ groups: GroupResponseItem[];
230
+ next_page_token: string;
231
+ };
232
+ /**
233
+ * Group CID options
234
+ */
235
+ type GroupCIDOptions = {
236
+ groupId: string;
237
+ files: string[];
238
+ };
239
+ /**
240
+ * Update group files response
241
+ */
242
+ type UpdateGroupFilesResponse = {
243
+ id: string;
244
+ status: string;
245
+ };
246
+ /**
247
+ * Analytics query
248
+ */
249
+ type AnalyticsQuery = {
250
+ gateway_domain: string;
251
+ start_date: string;
252
+ end_date: string;
253
+ cid?: string;
254
+ file_name?: string;
255
+ user_agent?: string;
256
+ country?: string;
257
+ region?: string;
258
+ referer?: string;
259
+ limit?: number;
260
+ sort_order?: "asc" | "desc";
261
+ };
262
+ /**
263
+ * Top analytics query
264
+ */
265
+ type TopAnalyticsQuery = AnalyticsQuery & {
266
+ sort_by: "requests" | "bandwidth";
267
+ attribute: "cid" | "country" | "region" | "user_agent" | "referer" | "file_name";
268
+ };
269
+ /**
270
+ * Top analytics response
271
+ */
272
+ type TopAnalyticsResponse = {
273
+ data: TopAnalyticsItem[];
274
+ };
275
+ /**
276
+ * Top analytics item
277
+ */
278
+ type TopAnalyticsItem = {
279
+ value: string;
280
+ requests: number;
281
+ bandwidth: number;
282
+ };
283
+ /**
284
+ * Time interval analytics query
285
+ */
286
+ type TimeIntervalAnalyticsQuery = AnalyticsQuery & {
287
+ sort_by?: "requests" | "bandwidth";
288
+ date_interval: "day" | "week";
289
+ };
290
+ /**
291
+ * Time period item
292
+ */
293
+ type TimePeriodItem = {
294
+ period_start_time: string;
295
+ requests: number;
296
+ bandwidth: number;
297
+ };
298
+ /**
299
+ * Time interval analytics response
300
+ */
301
+ type TimeIntervalAnalyticsResponse = {
302
+ total_requests: number;
303
+ total_bandwidth: number;
304
+ time_periods: TimePeriodItem[];
305
+ };
306
+ //#endregion
307
+ export { AccessLinkOptions, AnalyticsQuery, CidVersion, DeleteResponse, FileListItem, FileListResponse, GetGroupOptions, GroupCIDOptions, GroupListResponse, GroupOptions, GroupResponseItem, PinByCIDResponse, PinQueueItem, PinQueueResponse, PinataConfig, PinataMetadata, SignedUploadUrlOptions, SwapCidOptions, SwapCidResponse, SwapHistoryOptions, TimeIntervalAnalyticsQuery, TimeIntervalAnalyticsResponse, TimePeriodItem, TopAnalyticsItem, TopAnalyticsQuery, TopAnalyticsResponse, UpdateFileOptions, UpdateGroupFilesResponse, UpdateGroupOptions, UploadCIDOptions, UploadOptions, UploadResponse };
308
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,46 @@
1
+ //#region src/api/generated/schemas/iPNSKeyListResponse.d.ts
2
+ /**
3
+ * Generated by orval v8.10.0 🍺
4
+ * Do not edit manually.
5
+ * Portal IPFS Plugin API
6
+ *
7
+ ## Portal IPFS Plugin API
8
+
9
+ A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+
11
+ ### IPFS Pinning Service API Compatibility
12
+
13
+ This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+
15
+ ### Features
16
+
17
+ - **Pinning**: Add, list, update, and remove pinned content
18
+ - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ - **IPNS**: Manage IPNS keys and publish content
20
+ - **Files**: Browse and manage pinned files with directory navigation
21
+ - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+
23
+ ### Authentication
24
+
25
+ All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+
27
+ ### Rate Limiting
28
+
29
+ API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+
31
+ ### Documentation
32
+
33
+ For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+
35
+ * OpenAPI spec version: 1.0.0
36
+ */
37
+ interface IPNSKeyListResponse {
38
+ created: string;
39
+ id: number;
40
+ ipns_name: string;
41
+ name: string;
42
+ peer_id: string;
43
+ }
44
+ //#endregion
45
+ export { IPNSKeyListResponse };
46
+ //# sourceMappingURL=iPNSKeyListResponse.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { IPNSKeyListResponse } from "./iPNSKeyListResponse.js";
2
+
3
+ //#region src/api/generated/schemas/iPNSKeyListResponseResponse.d.ts
4
+ interface IPNSKeyListResponseResponse {
5
+ data: IPNSKeyListResponse[];
6
+ total: number;
7
+ }
8
+ //#endregion
9
+ export { IPNSKeyListResponseResponse };
10
+ //# sourceMappingURL=iPNSKeyListResponseResponse.d.ts.map
@@ -0,0 +1,43 @@
1
+ //#region src/api/generated/schemas/iPNSKeyRequest.d.ts
2
+ /**
3
+ * Generated by orval v8.10.0 🍺
4
+ * Do not edit manually.
5
+ * Portal IPFS Plugin API
6
+ *
7
+ ## Portal IPFS Plugin API
8
+
9
+ A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+
11
+ ### IPFS Pinning Service API Compatibility
12
+
13
+ This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+
15
+ ### Features
16
+
17
+ - **Pinning**: Add, list, update, and remove pinned content
18
+ - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ - **IPNS**: Manage IPNS keys and publish content
20
+ - **Files**: Browse and manage pinned files with directory navigation
21
+ - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+
23
+ ### Authentication
24
+
25
+ All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+
27
+ ### Rate Limiting
28
+
29
+ API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+
31
+ ### Documentation
32
+
33
+ For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+
35
+ * OpenAPI spec version: 1.0.0
36
+ */
37
+ interface IPNSKeyRequest {
38
+ key?: string;
39
+ name: string;
40
+ }
41
+ //#endregion
42
+ export { IPNSKeyRequest };
43
+ //# sourceMappingURL=iPNSKeyRequest.d.ts.map
@@ -0,0 +1,46 @@
1
+ //#region src/api/generated/schemas/iPNSKeyResponse.d.ts
2
+ /**
3
+ * Generated by orval v8.10.0 🍺
4
+ * Do not edit manually.
5
+ * Portal IPFS Plugin API
6
+ *
7
+ ## Portal IPFS Plugin API
8
+
9
+ A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+
11
+ ### IPFS Pinning Service API Compatibility
12
+
13
+ This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+
15
+ ### Features
16
+
17
+ - **Pinning**: Add, list, update, and remove pinned content
18
+ - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ - **IPNS**: Manage IPNS keys and publish content
20
+ - **Files**: Browse and manage pinned files with directory navigation
21
+ - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+
23
+ ### Authentication
24
+
25
+ All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+
27
+ ### Rate Limiting
28
+
29
+ API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+
31
+ ### Documentation
32
+
33
+ For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+
35
+ * OpenAPI spec version: 1.0.0
36
+ */
37
+ interface IPNSKeyResponse {
38
+ created: string;
39
+ id: number;
40
+ ipns_name: string;
41
+ name: string;
42
+ peer_id: string;
43
+ }
44
+ //#endregion
45
+ export { IPNSKeyResponse };
46
+ //# sourceMappingURL=iPNSKeyResponse.d.ts.map
@@ -0,0 +1,44 @@
1
+ //#region src/api/generated/schemas/iPNSPublishRequest.d.ts
2
+ /**
3
+ * Generated by orval v8.10.0 🍺
4
+ * Do not edit manually.
5
+ * Portal IPFS Plugin API
6
+ *
7
+ ## Portal IPFS Plugin API
8
+
9
+ A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+
11
+ ### IPFS Pinning Service API Compatibility
12
+
13
+ This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+
15
+ ### Features
16
+
17
+ - **Pinning**: Add, list, update, and remove pinned content
18
+ - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ - **IPNS**: Manage IPNS keys and publish content
20
+ - **Files**: Browse and manage pinned files with directory navigation
21
+ - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+
23
+ ### Authentication
24
+
25
+ All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+
27
+ ### Rate Limiting
28
+
29
+ API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+
31
+ ### Documentation
32
+
33
+ For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+
35
+ * OpenAPI spec version: 1.0.0
36
+ */
37
+ interface IPNSPublishRequest {
38
+ cid: string;
39
+ key_id: number;
40
+ ttl?: string;
41
+ }
42
+ //#endregion
43
+ export { IPNSPublishRequest };
44
+ //# sourceMappingURL=iPNSPublishRequest.d.ts.map
@@ -0,0 +1,46 @@
1
+ //#region src/api/generated/schemas/iPNSPublishResponse.d.ts
2
+ /**
3
+ * Generated by orval v8.10.0 🍺
4
+ * Do not edit manually.
5
+ * Portal IPFS Plugin API
6
+ *
7
+ ## Portal IPFS Plugin API
8
+
9
+ A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+
11
+ ### IPFS Pinning Service API Compatibility
12
+
13
+ This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+
15
+ ### Features
16
+
17
+ - **Pinning**: Add, list, update, and remove pinned content
18
+ - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ - **IPNS**: Manage IPNS keys and publish content
20
+ - **Files**: Browse and manage pinned files with directory navigation
21
+ - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+
23
+ ### Authentication
24
+
25
+ All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+
27
+ ### Rate Limiting
28
+
29
+ API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+
31
+ ### Documentation
32
+
33
+ For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+
35
+ * OpenAPI spec version: 1.0.0
36
+ */
37
+ interface IPNSPublishResponse {
38
+ name: string;
39
+ published: string;
40
+ sequence: number;
41
+ validity: string;
42
+ value: string;
43
+ }
44
+ //#endregion
45
+ export { IPNSPublishResponse };
46
+ //# sourceMappingURL=iPNSPublishResponse.d.ts.map
@@ -0,0 +1,47 @@
1
+ //#region src/api/generated/schemas/iPNSResolveResponse.d.ts
2
+ /**
3
+ * Generated by orval v8.10.0 🍺
4
+ * Do not edit manually.
5
+ * Portal IPFS Plugin API
6
+ *
7
+ ## Portal IPFS Plugin API
8
+
9
+ A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+
11
+ ### IPFS Pinning Service API Compatibility
12
+
13
+ This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+
15
+ ### Features
16
+
17
+ - **Pinning**: Add, list, update, and remove pinned content
18
+ - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ - **IPNS**: Manage IPNS keys and publish content
20
+ - **Files**: Browse and manage pinned files with directory navigation
21
+ - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+
23
+ ### Authentication
24
+
25
+ All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+
27
+ ### Rate Limiting
28
+
29
+ API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+
31
+ ### Documentation
32
+
33
+ For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+
35
+ * OpenAPI spec version: 1.0.0
36
+ */
37
+ interface IPNSResolveResponse {
38
+ expired: boolean;
39
+ expires: string;
40
+ name: string;
41
+ path: string;
42
+ sequence: number;
43
+ value: string;
44
+ }
45
+ //#endregion
46
+ export { IPNSResolveResponse };
47
+ //# sourceMappingURL=iPNSResolveResponse.d.ts.map
@@ -0,0 +1,45 @@
1
+ //#region src/api/generated/schemas/sSLStatusInfo.d.ts
2
+ /**
3
+ * Generated by orval v8.10.0 🍺
4
+ * Do not edit manually.
5
+ * Portal IPFS Plugin API
6
+ *
7
+ ## Portal IPFS Plugin API
8
+
9
+ A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+
11
+ ### IPFS Pinning Service API Compatibility
12
+
13
+ This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+
15
+ ### Features
16
+
17
+ - **Pinning**: Add, list, update, and remove pinned content
18
+ - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ - **IPNS**: Manage IPNS keys and publish content
20
+ - **Files**: Browse and manage pinned files with directory navigation
21
+ - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+
23
+ ### Authentication
24
+
25
+ All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+
27
+ ### Rate Limiting
28
+
29
+ API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+
31
+ ### Documentation
32
+
33
+ For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+
35
+ * OpenAPI spec version: 1.0.0
36
+ */
37
+ interface SSLStatusInfo {
38
+ error?: string;
39
+ issued_at?: string;
40
+ last_updated_at?: string;
41
+ status: string;
42
+ }
43
+ //#endregion
44
+ export { SSLStatusInfo };
45
+ //# sourceMappingURL=sSLStatusInfo.d.ts.map
@@ -0,0 +1,43 @@
1
+ //#region src/api/generated/schemas/websiteConfigResponse.d.ts
2
+ /**
3
+ * Generated by orval v8.10.0 🍺
4
+ * Do not edit manually.
5
+ * Portal IPFS Plugin API
6
+ *
7
+ ## Portal IPFS Plugin API
8
+
9
+ A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+
11
+ ### IPFS Pinning Service API Compatibility
12
+
13
+ This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+
15
+ ### Features
16
+
17
+ - **Pinning**: Add, list, update, and remove pinned content
18
+ - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ - **IPNS**: Manage IPNS keys and publish content
20
+ - **Files**: Browse and manage pinned files with directory navigation
21
+ - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+
23
+ ### Authentication
24
+
25
+ All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+
27
+ ### Rate Limiting
28
+
29
+ API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+
31
+ ### Documentation
32
+
33
+ For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+
35
+ * OpenAPI spec version: 1.0.0
36
+ */
37
+ interface WebsiteConfigResponse {
38
+ gateway_domain?: string;
39
+ nameservers?: string[];
40
+ }
41
+ //#endregion
42
+ export { WebsiteConfigResponse };
43
+ //# sourceMappingURL=websiteConfigResponse.d.ts.map