@lumeweb/pinner 0.1.6 → 0.1.7
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.
- package/dist/esm/api/generated/content/content.msw.d.ts +16 -2
- package/dist/esm/api/generated/content/content.msw.js +1 -1
- package/dist/esm/api/generated/dns/dns.msw.d.ts +38 -2
- package/dist/esm/api/generated/dns/dns.msw.js +1 -1
- package/dist/esm/api/generated/files/files.msw.d.ts +9 -2
- package/dist/esm/api/generated/files/files.msw.js +1 -1
- package/dist/esm/api/generated/gateway/gateway.msw.d.ts +8 -2
- package/dist/esm/api/generated/gateway/gateway.msw.js +1 -1
- package/dist/esm/api/generated/internal/internal.msw.d.ts +5 -2
- package/dist/esm/api/generated/internal/internal.msw.js +1 -1
- package/dist/esm/api/generated/ipns/ipns.msw.d.ts +22 -2
- package/dist/esm/api/generated/ipns/ipns.msw.js +1 -1
- package/dist/esm/api/generated/pinning/pinning.msw.d.ts +15 -2
- package/dist/esm/api/generated/pinning/pinning.msw.js +1 -1
- package/dist/esm/api/generated/schemas/blockMetaResponse.d.ts +46 -0
- package/dist/esm/api/generated/schemas/bulkDeleteResponse.d.ts +9 -0
- package/dist/esm/api/generated/schemas/bulkRecordsResponse.d.ts +9 -0
- package/dist/esm/api/generated/schemas/component.d.ts +42 -0
- package/dist/esm/api/generated/schemas/errorResponse.d.ts +42 -0
- package/dist/esm/api/generated/schemas/fileManagerItem.d.ts +51 -0
- package/dist/esm/api/generated/schemas/fileManagerItemResponse.d.ts +10 -0
- package/dist/esm/api/generated/schemas/gatewayWebsiteResponse.d.ts +45 -0
- package/dist/esm/api/generated/schemas/gatewayWebsiteStatusResponse.d.ts +45 -0
- package/dist/esm/api/generated/schemas/infoResponse.d.ts +44 -0
- package/dist/esm/api/generated/schemas/multiaddr.d.ts +7 -0
- package/dist/esm/api/generated/schemas/pinRequest.d.ts +12 -0
- package/dist/esm/api/generated/schemas/pinRequestMeta.d.ts +42 -0
- package/dist/esm/api/generated/schemas/pinResultsResponse.d.ts +10 -0
- package/dist/esm/api/generated/schemas/pinStatusResponse.d.ts +16 -0
- package/dist/esm/api/generated/schemas/pinStatusResponseInfo.d.ts +42 -0
- package/dist/esm/api/generated/schemas/recordResponse.d.ts +47 -0
- package/dist/esm/api/generated/schemas/recordResponseResponse.d.ts +10 -0
- package/dist/esm/api/generated/schemas/recordResult.d.ts +45 -0
- package/dist/esm/api/generated/schemas/validationResponse.d.ts +45 -0
- package/dist/esm/api/generated/schemas/zoneListResponse.d.ts +48 -0
- package/dist/esm/api/generated/schemas/zoneListResponseResponse.d.ts +10 -0
- package/dist/esm/api/generated/schemas/zoneResponse.d.ts +48 -0
- package/dist/esm/api/generated/tus/tus.msw.d.ts +10 -2
- package/dist/esm/api/generated/tus/tus.msw.js +1 -1
- package/dist/esm/api/generated/websites/websites.msw.d.ts +23 -2
- package/dist/esm/api/generated/websites/websites.msw.js +1 -1
- package/dist/esm/api/mocks.d.ts +10 -0
- package/dist/esm/api/mocks.js +11 -0
- package/package.json +5 -5
- package/dist/esm/api/generated/index.msw.d.ts +0 -10
- package/dist/esm/api/generated/index.msw.js +0 -11
|
@@ -1,8 +1,22 @@
|
|
|
1
|
+
import { BlockMetaResponse } from "../schemas/blockMetaResponse.js";
|
|
2
|
+
import { ErrorResponse } from "../schemas/errorResponse.js";
|
|
3
|
+
import { InfoResponse } from "../schemas/infoResponse.js";
|
|
1
4
|
import * as _$msw from "msw";
|
|
2
|
-
import { http } from "msw";
|
|
5
|
+
import { RequestHandlerOptions, http } from "msw";
|
|
3
6
|
|
|
4
7
|
//#region src/api/generated/content/content.msw.d.ts
|
|
8
|
+
declare const getGetApiBlockMetaCidResponseMock: (overrideResponse?: Partial<Extract<BlockMetaResponse, object>>) => BlockMetaResponse;
|
|
9
|
+
declare const getPostApiBlockMetaBatchResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
10
|
+
declare const getGetApiInfoResponseMock: (overrideResponse?: Partial<Extract<InfoResponse, object>>) => InfoResponse;
|
|
11
|
+
declare const getGetIpfsCidResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
12
|
+
declare const getHeadIpfsCidResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
13
|
+
declare const getGetApiBlockMetaCidMockHandler: (overrideResponse?: BlockMetaResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<BlockMetaResponse> | BlockMetaResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
14
|
+
declare const getPostApiBlockMetaBatchMockHandler: (overrideResponse?: ErrorResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse> | ErrorResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
15
|
+
declare const getGetApiInfoMockHandler: (overrideResponse?: InfoResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<InfoResponse> | InfoResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
16
|
+
declare const getPostApiUploadMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
17
|
+
declare const getGetIpfsCidMockHandler: (overrideResponse?: ErrorResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ErrorResponse> | ErrorResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
18
|
+
declare const getHeadIpfsCidMockHandler: (overrideResponse?: ErrorResponse | ((info: Parameters<Parameters<typeof http.head>[1]>[0]) => Promise<ErrorResponse> | ErrorResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
5
19
|
declare const getContentMock: () => _$msw.HttpHandler[];
|
|
6
20
|
//#endregion
|
|
7
|
-
export { getContentMock };
|
|
21
|
+
export { getContentMock, getGetApiBlockMetaCidMockHandler, getGetApiBlockMetaCidResponseMock, getGetApiInfoMockHandler, getGetApiInfoResponseMock, getGetIpfsCidMockHandler, getGetIpfsCidResponseMock, getHeadIpfsCidMockHandler, getHeadIpfsCidResponseMock, getPostApiBlockMetaBatchMockHandler, getPostApiBlockMetaBatchResponseMock, getPostApiUploadMockHandler };
|
|
8
22
|
//# sourceMappingURL=content.msw.d.ts.map
|
|
@@ -143,5 +143,5 @@ const getContentMock = () => [
|
|
|
143
143
|
];
|
|
144
144
|
|
|
145
145
|
//#endregion
|
|
146
|
-
export { getContentMock };
|
|
146
|
+
export { getContentMock, getGetApiBlockMetaCidMockHandler, getGetApiBlockMetaCidResponseMock, getGetApiInfoMockHandler, getGetApiInfoResponseMock, getGetIpfsCidMockHandler, getGetIpfsCidResponseMock, getHeadIpfsCidMockHandler, getHeadIpfsCidResponseMock, getPostApiBlockMetaBatchMockHandler, getPostApiBlockMetaBatchResponseMock, getPostApiUploadMockHandler };
|
|
147
147
|
//# sourceMappingURL=content.msw.js.map
|
|
@@ -1,8 +1,44 @@
|
|
|
1
|
+
import { BulkDeleteResponse } from "../schemas/bulkDeleteResponse.js";
|
|
2
|
+
import { RecordResponse } from "../schemas/recordResponse.js";
|
|
3
|
+
import { BulkRecordsResponse } from "../schemas/bulkRecordsResponse.js";
|
|
4
|
+
import { ErrorResponse } from "../schemas/errorResponse.js";
|
|
5
|
+
import { RecordResponseResponse } from "../schemas/recordResponseResponse.js";
|
|
6
|
+
import { ValidationResponse } from "../schemas/validationResponse.js";
|
|
7
|
+
import { ZoneListResponseResponse } from "../schemas/zoneListResponseResponse.js";
|
|
8
|
+
import { ZoneResponse } from "../schemas/zoneResponse.js";
|
|
1
9
|
import * as _$msw from "msw";
|
|
2
|
-
import { http } from "msw";
|
|
10
|
+
import { RequestHandlerOptions, http } from "msw";
|
|
3
11
|
|
|
4
12
|
//#region src/api/generated/dns/dns.msw.d.ts
|
|
13
|
+
declare const getGetApiDnsZonesResponseMock: (overrideResponse?: Partial<Extract<ZoneListResponseResponse, object>>) => ZoneListResponseResponse;
|
|
14
|
+
declare const getPostApiDnsZonesResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse | ZoneResponse, object>>) => ErrorResponse | ZoneResponse;
|
|
15
|
+
declare const getDeleteApiDnsZonesIdResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
16
|
+
declare const getGetApiDnsZonesIdResponseMock: (overrideResponse?: Partial<Extract<ZoneResponse, object>>) => ZoneResponse;
|
|
17
|
+
declare const getPutApiDnsZonesIdResponseMock: (overrideResponse?: Partial<Extract<ZoneResponse, object>>) => ZoneResponse;
|
|
18
|
+
declare const getGetApiDnsZonesIdRecordsResponseMock: (overrideResponse?: Partial<Extract<RecordResponseResponse, object>>) => RecordResponseResponse;
|
|
19
|
+
declare const getPostApiDnsZonesIdRecordsResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse | RecordResponse, object>>) => ErrorResponse | RecordResponse;
|
|
20
|
+
declare const getDeleteApiDnsZonesIdRecordsNameTypeResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
21
|
+
declare const getGetApiDnsZonesIdRecordsNameTypeResponseMock: (overrideResponse?: Partial<Extract<RecordResponse, object>>) => RecordResponse;
|
|
22
|
+
declare const getPutApiDnsZonesIdRecordsNameTypeResponseMock: (overrideResponse?: Partial<Extract<RecordResponse, object>>) => RecordResponse;
|
|
23
|
+
declare const getPostApiDnsZonesIdRecordsBulkResponseMock: (overrideResponse?: Partial<Extract<BulkRecordsResponse, object>>) => BulkRecordsResponse;
|
|
24
|
+
declare const getPostApiDnsZonesIdRecordsBulkDeleteResponseMock: (overrideResponse?: Partial<Extract<BulkDeleteResponse, object>>) => BulkDeleteResponse;
|
|
25
|
+
declare const getGetApiDnsZonesIdStatusResponseMock: (overrideResponse?: Partial<Extract<ZoneResponse, object>>) => ZoneResponse;
|
|
26
|
+
declare const getPostApiDnsZonesIdValidateResponseMock: (overrideResponse?: Partial<Extract<ValidationResponse, object>>) => ValidationResponse;
|
|
27
|
+
declare const getGetApiDnsZonesMockHandler: (overrideResponse?: ZoneListResponseResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ZoneListResponseResponse> | ZoneListResponseResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
28
|
+
declare const getPostApiDnsZonesMockHandler: (overrideResponse?: ErrorResponse | ZoneResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | ZoneResponse> | ErrorResponse | ZoneResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
29
|
+
declare const getDeleteApiDnsZonesIdMockHandler: (overrideResponse?: void | ErrorResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
30
|
+
declare const getGetApiDnsZonesIdMockHandler: (overrideResponse?: ZoneResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ZoneResponse> | ZoneResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
31
|
+
declare const getPutApiDnsZonesIdMockHandler: (overrideResponse?: ZoneResponse | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<ZoneResponse> | ZoneResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
32
|
+
declare const getGetApiDnsZonesIdRecordsMockHandler: (overrideResponse?: RecordResponseResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<RecordResponseResponse> | RecordResponseResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
33
|
+
declare const getPostApiDnsZonesIdRecordsMockHandler: (overrideResponse?: ErrorResponse | RecordResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | RecordResponse> | ErrorResponse | RecordResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
34
|
+
declare const getDeleteApiDnsZonesIdRecordsNameTypeMockHandler: (overrideResponse?: void | ErrorResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
35
|
+
declare const getGetApiDnsZonesIdRecordsNameTypeMockHandler: (overrideResponse?: RecordResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<RecordResponse> | RecordResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
36
|
+
declare const getPutApiDnsZonesIdRecordsNameTypeMockHandler: (overrideResponse?: RecordResponse | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<RecordResponse> | RecordResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
37
|
+
declare const getPostApiDnsZonesIdRecordsBulkMockHandler: (overrideResponse?: BulkRecordsResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<BulkRecordsResponse> | BulkRecordsResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
38
|
+
declare const getPostApiDnsZonesIdRecordsBulkDeleteMockHandler: (overrideResponse?: BulkDeleteResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<BulkDeleteResponse> | BulkDeleteResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
39
|
+
declare const getGetApiDnsZonesIdStatusMockHandler: (overrideResponse?: ZoneResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ZoneResponse> | ZoneResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
40
|
+
declare const getPostApiDnsZonesIdValidateMockHandler: (overrideResponse?: ValidationResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ValidationResponse> | ValidationResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
5
41
|
declare const getDnsMock: () => _$msw.HttpHandler[];
|
|
6
42
|
//#endregion
|
|
7
|
-
export { getDnsMock };
|
|
43
|
+
export { getDeleteApiDnsZonesIdMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeResponseMock, getDeleteApiDnsZonesIdResponseMock, getDnsMock, getGetApiDnsZonesIdMockHandler, getGetApiDnsZonesIdRecordsMockHandler, getGetApiDnsZonesIdRecordsNameTypeMockHandler, getGetApiDnsZonesIdRecordsNameTypeResponseMock, getGetApiDnsZonesIdRecordsResponseMock, getGetApiDnsZonesIdResponseMock, getGetApiDnsZonesIdStatusMockHandler, getGetApiDnsZonesIdStatusResponseMock, getGetApiDnsZonesMockHandler, getGetApiDnsZonesResponseMock, getPostApiDnsZonesIdRecordsBulkDeleteMockHandler, getPostApiDnsZonesIdRecordsBulkDeleteResponseMock, getPostApiDnsZonesIdRecordsBulkMockHandler, getPostApiDnsZonesIdRecordsBulkResponseMock, getPostApiDnsZonesIdRecordsMockHandler, getPostApiDnsZonesIdRecordsResponseMock, getPostApiDnsZonesIdValidateMockHandler, getPostApiDnsZonesIdValidateResponseMock, getPostApiDnsZonesMockHandler, getPostApiDnsZonesResponseMock, getPutApiDnsZonesIdMockHandler, getPutApiDnsZonesIdRecordsNameTypeMockHandler, getPutApiDnsZonesIdRecordsNameTypeResponseMock, getPutApiDnsZonesIdResponseMock };
|
|
8
44
|
//# sourceMappingURL=dns.msw.d.ts.map
|
|
@@ -409,5 +409,5 @@ const getDnsMock = () => [
|
|
|
409
409
|
];
|
|
410
410
|
|
|
411
411
|
//#endregion
|
|
412
|
-
export { getDnsMock };
|
|
412
|
+
export { getDeleteApiDnsZonesIdMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeResponseMock, getDeleteApiDnsZonesIdResponseMock, getDnsMock, getGetApiDnsZonesIdMockHandler, getGetApiDnsZonesIdRecordsMockHandler, getGetApiDnsZonesIdRecordsNameTypeMockHandler, getGetApiDnsZonesIdRecordsNameTypeResponseMock, getGetApiDnsZonesIdRecordsResponseMock, getGetApiDnsZonesIdResponseMock, getGetApiDnsZonesIdStatusMockHandler, getGetApiDnsZonesIdStatusResponseMock, getGetApiDnsZonesMockHandler, getGetApiDnsZonesResponseMock, getPostApiDnsZonesIdRecordsBulkDeleteMockHandler, getPostApiDnsZonesIdRecordsBulkDeleteResponseMock, getPostApiDnsZonesIdRecordsBulkMockHandler, getPostApiDnsZonesIdRecordsBulkResponseMock, getPostApiDnsZonesIdRecordsMockHandler, getPostApiDnsZonesIdRecordsResponseMock, getPostApiDnsZonesIdValidateMockHandler, getPostApiDnsZonesIdValidateResponseMock, getPostApiDnsZonesMockHandler, getPostApiDnsZonesResponseMock, getPutApiDnsZonesIdMockHandler, getPutApiDnsZonesIdRecordsNameTypeMockHandler, getPutApiDnsZonesIdRecordsNameTypeResponseMock, getPutApiDnsZonesIdResponseMock };
|
|
413
413
|
//# sourceMappingURL=dns.msw.js.map
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
import { FileManagerItemResponse } from "../schemas/fileManagerItemResponse.js";
|
|
1
2
|
import * as _$msw from "msw";
|
|
2
|
-
import { http } from "msw";
|
|
3
|
+
import { RequestHandlerOptions, http } from "msw";
|
|
3
4
|
|
|
4
5
|
//#region src/api/generated/files/files.msw.d.ts
|
|
6
|
+
declare const getGetApiFilesResponseMock: (overrideResponse?: Partial<Extract<FileManagerItemResponse, object>>) => FileManagerItemResponse;
|
|
7
|
+
declare const getGetApiFilesBreadcrumbsResponseMock: (overrideResponse?: Partial<Extract<FileManagerItemResponse, object>>) => FileManagerItemResponse;
|
|
8
|
+
declare const getGetApiFilesDirectoryResponseMock: (overrideResponse?: Partial<Extract<FileManagerItemResponse, object>>) => FileManagerItemResponse;
|
|
9
|
+
declare const getGetApiFilesMockHandler: (overrideResponse?: FileManagerItemResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FileManagerItemResponse> | FileManagerItemResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
10
|
+
declare const getGetApiFilesBreadcrumbsMockHandler: (overrideResponse?: FileManagerItemResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FileManagerItemResponse> | FileManagerItemResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
11
|
+
declare const getGetApiFilesDirectoryMockHandler: (overrideResponse?: FileManagerItemResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<FileManagerItemResponse> | FileManagerItemResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
5
12
|
declare const getFilesMock: () => _$msw.HttpHandler[];
|
|
6
13
|
//#endregion
|
|
7
|
-
export { getFilesMock };
|
|
14
|
+
export { getFilesMock, getGetApiFilesBreadcrumbsMockHandler, getGetApiFilesBreadcrumbsResponseMock, getGetApiFilesDirectoryMockHandler, getGetApiFilesDirectoryResponseMock, getGetApiFilesMockHandler, getGetApiFilesResponseMock };
|
|
8
15
|
//# sourceMappingURL=files.msw.d.ts.map
|
|
@@ -146,5 +146,5 @@ const getFilesMock = () => [
|
|
|
146
146
|
];
|
|
147
147
|
|
|
148
148
|
//#endregion
|
|
149
|
-
export { getFilesMock };
|
|
149
|
+
export { getFilesMock, getGetApiFilesBreadcrumbsMockHandler, getGetApiFilesBreadcrumbsResponseMock, getGetApiFilesDirectoryMockHandler, getGetApiFilesDirectoryResponseMock, getGetApiFilesMockHandler, getGetApiFilesResponseMock };
|
|
150
150
|
//# sourceMappingURL=files.msw.js.map
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { GatewayWebsiteResponse } from "../schemas/gatewayWebsiteResponse.js";
|
|
2
|
+
import { GatewayWebsiteStatusResponse } from "../schemas/gatewayWebsiteStatusResponse.js";
|
|
1
3
|
import * as _$msw from "msw";
|
|
2
|
-
import { http } from "msw";
|
|
4
|
+
import { RequestHandlerOptions, http } from "msw";
|
|
3
5
|
|
|
4
6
|
//#region src/api/generated/gateway/gateway.msw.d.ts
|
|
7
|
+
declare const getGetInternalWebsitesDomainResponseMock: (overrideResponse?: Partial<Extract<GatewayWebsiteResponse, object>>) => GatewayWebsiteResponse;
|
|
8
|
+
declare const getGetInternalWebsitesDomainStatusResponseMock: (overrideResponse?: Partial<Extract<GatewayWebsiteStatusResponse, object>>) => GatewayWebsiteStatusResponse;
|
|
9
|
+
declare const getGetInternalWebsitesDomainMockHandler: (overrideResponse?: GatewayWebsiteResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<GatewayWebsiteResponse> | GatewayWebsiteResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
10
|
+
declare const getGetInternalWebsitesDomainStatusMockHandler: (overrideResponse?: GatewayWebsiteStatusResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<GatewayWebsiteStatusResponse> | GatewayWebsiteStatusResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
5
11
|
declare const getGatewayMock: () => _$msw.HttpHandler[];
|
|
6
12
|
//#endregion
|
|
7
|
-
export { getGatewayMock };
|
|
13
|
+
export { getGatewayMock, getGetInternalWebsitesDomainMockHandler, getGetInternalWebsitesDomainResponseMock, getGetInternalWebsitesDomainStatusMockHandler, getGetInternalWebsitesDomainStatusResponseMock };
|
|
8
14
|
//# sourceMappingURL=gateway.msw.d.ts.map
|
|
@@ -87,5 +87,5 @@ const getGetInternalWebsitesDomainStatusMockHandler = (overrideResponse, options
|
|
|
87
87
|
const getGatewayMock = () => [getGetInternalWebsitesDomainMockHandler(), getGetInternalWebsitesDomainStatusMockHandler()];
|
|
88
88
|
|
|
89
89
|
//#endregion
|
|
90
|
-
export { getGatewayMock };
|
|
90
|
+
export { getGatewayMock, getGetInternalWebsitesDomainMockHandler, getGetInternalWebsitesDomainResponseMock, getGetInternalWebsitesDomainStatusMockHandler, getGetInternalWebsitesDomainStatusResponseMock };
|
|
91
91
|
//# sourceMappingURL=gateway.msw.js.map
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { WebsiteResponse } from "../schemas/websiteResponse.js";
|
|
1
2
|
import * as _$msw from "msw";
|
|
2
|
-
import { http } from "msw";
|
|
3
|
+
import { RequestHandlerOptions, http } from "msw";
|
|
3
4
|
|
|
4
5
|
//#region src/api/generated/internal/internal.msw.d.ts
|
|
6
|
+
declare const getPostInternalWebsitesDomainSslStatusResponseMock: (overrideResponse?: Partial<Extract<WebsiteResponse, object>>) => WebsiteResponse;
|
|
7
|
+
declare const getPostInternalWebsitesDomainSslStatusMockHandler: (overrideResponse?: WebsiteResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<WebsiteResponse> | WebsiteResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
5
8
|
declare const getInternalMock: () => _$msw.HttpHandler[];
|
|
6
9
|
//#endregion
|
|
7
|
-
export { getInternalMock };
|
|
10
|
+
export { getInternalMock, getPostInternalWebsitesDomainSslStatusMockHandler, getPostInternalWebsitesDomainSslStatusResponseMock };
|
|
8
11
|
//# sourceMappingURL=internal.msw.d.ts.map
|
|
@@ -99,5 +99,5 @@ const getPostInternalWebsitesDomainSslStatusMockHandler = (overrideResponse, opt
|
|
|
99
99
|
const getInternalMock = () => [getPostInternalWebsitesDomainSslStatusMockHandler()];
|
|
100
100
|
|
|
101
101
|
//#endregion
|
|
102
|
-
export { getInternalMock };
|
|
102
|
+
export { getInternalMock, getPostInternalWebsitesDomainSslStatusMockHandler, getPostInternalWebsitesDomainSslStatusResponseMock };
|
|
103
103
|
//# sourceMappingURL=internal.msw.js.map
|
|
@@ -1,8 +1,28 @@
|
|
|
1
|
+
import { ErrorResponse } from "../schemas/errorResponse.js";
|
|
2
|
+
import { IPNSKeyListResponseResponse } from "../schemas/iPNSKeyListResponseResponse.js";
|
|
3
|
+
import { IPNSKeyResponse } from "../schemas/iPNSKeyResponse.js";
|
|
4
|
+
import { IPNSPublishResponse } from "../schemas/iPNSPublishResponse.js";
|
|
5
|
+
import { IPNSRepublishResponse } from "../schemas/iPNSRepublishResponse.js";
|
|
6
|
+
import { IPNSResolveResponse } from "../schemas/iPNSResolveResponse.js";
|
|
1
7
|
import * as _$msw from "msw";
|
|
2
|
-
import { http } from "msw";
|
|
8
|
+
import { RequestHandlerOptions, http } from "msw";
|
|
3
9
|
|
|
4
10
|
//#region src/api/generated/ipns/ipns.msw.d.ts
|
|
11
|
+
declare const getGetApiIpnsKeysResponseMock: (overrideResponse?: Partial<Extract<IPNSKeyListResponseResponse, object>>) => IPNSKeyListResponseResponse;
|
|
12
|
+
declare const getPostApiIpnsKeysResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse | IPNSKeyResponse, object>>) => ErrorResponse | IPNSKeyResponse;
|
|
13
|
+
declare const getDeleteApiIpnsKeysIdResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
14
|
+
declare const getGetApiIpnsKeysIdResponseMock: (overrideResponse?: Partial<Extract<IPNSKeyResponse, object>>) => IPNSKeyResponse;
|
|
15
|
+
declare const getPostApiIpnsKeysIdRepublishResponseMock: (overrideResponse?: Partial<Extract<IPNSRepublishResponse, object>>) => IPNSRepublishResponse;
|
|
16
|
+
declare const getPostApiIpnsPublishResponseMock: (overrideResponse?: Partial<Extract<IPNSPublishResponse, object>>) => IPNSPublishResponse;
|
|
17
|
+
declare const getGetApiIpnsResolveNameResponseMock: (overrideResponse?: Partial<Extract<IPNSResolveResponse, object>>) => IPNSResolveResponse;
|
|
18
|
+
declare const getGetApiIpnsKeysMockHandler: (overrideResponse?: IPNSKeyListResponseResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IPNSKeyListResponseResponse> | IPNSKeyListResponseResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
19
|
+
declare const getPostApiIpnsKeysMockHandler: (overrideResponse?: ErrorResponse | IPNSKeyResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | IPNSKeyResponse> | ErrorResponse | IPNSKeyResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
20
|
+
declare const getDeleteApiIpnsKeysIdMockHandler: (overrideResponse?: void | ErrorResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
21
|
+
declare const getGetApiIpnsKeysIdMockHandler: (overrideResponse?: IPNSKeyResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IPNSKeyResponse> | IPNSKeyResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
22
|
+
declare const getPostApiIpnsKeysIdRepublishMockHandler: (overrideResponse?: IPNSRepublishResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<IPNSRepublishResponse> | IPNSRepublishResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
23
|
+
declare const getPostApiIpnsPublishMockHandler: (overrideResponse?: IPNSPublishResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<IPNSPublishResponse> | IPNSPublishResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
24
|
+
declare const getGetApiIpnsResolveNameMockHandler: (overrideResponse?: IPNSResolveResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IPNSResolveResponse> | IPNSResolveResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
5
25
|
declare const getIpnsMock: () => _$msw.HttpHandler[];
|
|
6
26
|
//#endregion
|
|
7
|
-
export { getIpnsMock };
|
|
27
|
+
export { getDeleteApiIpnsKeysIdMockHandler, getDeleteApiIpnsKeysIdResponseMock, getGetApiIpnsKeysIdMockHandler, getGetApiIpnsKeysIdResponseMock, getGetApiIpnsKeysMockHandler, getGetApiIpnsKeysResponseMock, getGetApiIpnsResolveNameMockHandler, getGetApiIpnsResolveNameResponseMock, getIpnsMock, getPostApiIpnsKeysIdRepublishMockHandler, getPostApiIpnsKeysIdRepublishResponseMock, getPostApiIpnsKeysMockHandler, getPostApiIpnsKeysResponseMock, getPostApiIpnsPublishMockHandler, getPostApiIpnsPublishResponseMock };
|
|
8
28
|
//# sourceMappingURL=ipns.msw.d.ts.map
|
|
@@ -201,5 +201,5 @@ const getIpnsMock = () => [
|
|
|
201
201
|
];
|
|
202
202
|
|
|
203
203
|
//#endregion
|
|
204
|
-
export { getIpnsMock };
|
|
204
|
+
export { getDeleteApiIpnsKeysIdMockHandler, getDeleteApiIpnsKeysIdResponseMock, getGetApiIpnsKeysIdMockHandler, getGetApiIpnsKeysIdResponseMock, getGetApiIpnsKeysMockHandler, getGetApiIpnsKeysResponseMock, getGetApiIpnsResolveNameMockHandler, getGetApiIpnsResolveNameResponseMock, getIpnsMock, getPostApiIpnsKeysIdRepublishMockHandler, getPostApiIpnsKeysIdRepublishResponseMock, getPostApiIpnsKeysMockHandler, getPostApiIpnsKeysResponseMock, getPostApiIpnsPublishMockHandler, getPostApiIpnsPublishResponseMock };
|
|
205
205
|
//# sourceMappingURL=ipns.msw.js.map
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
+
import { ErrorResponse } from "../schemas/errorResponse.js";
|
|
2
|
+
import { PinStatusResponse } from "../schemas/pinStatusResponse.js";
|
|
3
|
+
import { PinResultsResponse } from "../schemas/pinResultsResponse.js";
|
|
1
4
|
import * as _$msw from "msw";
|
|
2
|
-
import { http } from "msw";
|
|
5
|
+
import { RequestHandlerOptions, http } from "msw";
|
|
3
6
|
|
|
4
7
|
//#region src/api/generated/pinning/pinning.msw.d.ts
|
|
8
|
+
declare const getGetPinsResponseMock: (overrideResponse?: Partial<Extract<PinResultsResponse, object>>) => PinResultsResponse;
|
|
9
|
+
declare const getPostPinsResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse | PinStatusResponse, object>>) => ErrorResponse | PinStatusResponse;
|
|
10
|
+
declare const getDeletePinsRequestidResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
11
|
+
declare const getGetPinsRequestidResponseMock: (overrideResponse?: Partial<Extract<PinStatusResponse, object>>) => PinStatusResponse;
|
|
12
|
+
declare const getPostPinsRequestidResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse | PinStatusResponse, object>>) => ErrorResponse | PinStatusResponse;
|
|
13
|
+
declare const getGetPinsMockHandler: (overrideResponse?: PinResultsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PinResultsResponse> | PinResultsResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
14
|
+
declare const getPostPinsMockHandler: (overrideResponse?: ErrorResponse | PinStatusResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | PinStatusResponse> | ErrorResponse | PinStatusResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
15
|
+
declare const getDeletePinsRequestidMockHandler: (overrideResponse?: void | ErrorResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
16
|
+
declare const getGetPinsRequestidMockHandler: (overrideResponse?: PinStatusResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PinStatusResponse> | PinStatusResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
17
|
+
declare const getPostPinsRequestidMockHandler: (overrideResponse?: ErrorResponse | PinStatusResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | PinStatusResponse> | ErrorResponse | PinStatusResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
5
18
|
declare const getPinningMock: () => _$msw.HttpHandler[];
|
|
6
19
|
//#endregion
|
|
7
|
-
export { getPinningMock };
|
|
20
|
+
export { getDeletePinsRequestidMockHandler, getDeletePinsRequestidResponseMock, getGetPinsMockHandler, getGetPinsRequestidMockHandler, getGetPinsRequestidResponseMock, getGetPinsResponseMock, getPinningMock, getPostPinsMockHandler, getPostPinsRequestidMockHandler, getPostPinsRequestidResponseMock, getPostPinsResponseMock };
|
|
8
21
|
//# sourceMappingURL=pinning.msw.d.ts.map
|
|
@@ -278,5 +278,5 @@ const getPinningMock = () => [
|
|
|
278
278
|
];
|
|
279
279
|
|
|
280
280
|
//#endregion
|
|
281
|
-
export { getPinningMock };
|
|
281
|
+
export { getDeletePinsRequestidMockHandler, getDeletePinsRequestidResponseMock, getGetPinsMockHandler, getGetPinsRequestidMockHandler, getGetPinsRequestidResponseMock, getGetPinsResponseMock, getPinningMock, getPostPinsMockHandler, getPostPinsRequestidMockHandler, getPostPinsRequestidResponseMock, getPostPinsResponseMock };
|
|
282
282
|
//# sourceMappingURL=pinning.msw.js.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/blockMetaResponse.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 BlockMetaResponse {
|
|
38
|
+
block_size: number;
|
|
39
|
+
child_cid: string[];
|
|
40
|
+
name: string;
|
|
41
|
+
type: number;
|
|
42
|
+
unixfs_size: number;
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
export { BlockMetaResponse };
|
|
46
|
+
//# sourceMappingURL=blockMetaResponse.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RecordResult } from "./recordResult.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/generated/schemas/bulkDeleteResponse.d.ts
|
|
4
|
+
interface BulkDeleteResponse {
|
|
5
|
+
results: RecordResult[];
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { BulkDeleteResponse };
|
|
9
|
+
//# sourceMappingURL=bulkDeleteResponse.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RecordResponse } from "./recordResponse.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/generated/schemas/bulkRecordsResponse.d.ts
|
|
4
|
+
interface BulkRecordsResponse {
|
|
5
|
+
records: RecordResponse[];
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { BulkRecordsResponse };
|
|
9
|
+
//# sourceMappingURL=bulkRecordsResponse.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/component.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 Component {
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
export { Component };
|
|
42
|
+
//# sourceMappingURL=component.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/errorResponse.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 ErrorResponse {
|
|
38
|
+
error: string;
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
export { ErrorResponse };
|
|
42
|
+
//# sourceMappingURL=errorResponse.d.ts.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/fileManagerItem.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 FileManagerItem {
|
|
38
|
+
cid: string;
|
|
39
|
+
created: string;
|
|
40
|
+
depth: number;
|
|
41
|
+
is_directory: boolean;
|
|
42
|
+
name: string;
|
|
43
|
+
path: string;
|
|
44
|
+
size: number;
|
|
45
|
+
type: number;
|
|
46
|
+
unpinnable: boolean;
|
|
47
|
+
updated: string;
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { FileManagerItem };
|
|
51
|
+
//# sourceMappingURL=fileManagerItem.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FileManagerItem } from "./fileManagerItem.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/generated/schemas/fileManagerItemResponse.d.ts
|
|
4
|
+
interface FileManagerItemResponse {
|
|
5
|
+
data: FileManagerItem[];
|
|
6
|
+
total: number;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { FileManagerItemResponse };
|
|
10
|
+
//# sourceMappingURL=fileManagerItemResponse.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/gatewayWebsiteResponse.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 GatewayWebsiteResponse {
|
|
38
|
+
domain: string;
|
|
39
|
+
status: string;
|
|
40
|
+
target_hash: string;
|
|
41
|
+
target_type: string;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { GatewayWebsiteResponse };
|
|
45
|
+
//# sourceMappingURL=gatewayWebsiteResponse.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/gatewayWebsiteStatusResponse.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 GatewayWebsiteStatusResponse {
|
|
38
|
+
domain: string;
|
|
39
|
+
is_broken: boolean;
|
|
40
|
+
last_checked?: string;
|
|
41
|
+
status: string;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { GatewayWebsiteStatusResponse };
|
|
45
|
+
//# sourceMappingURL=gatewayWebsiteStatusResponse.d.ts.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/infoResponse.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 InfoResponse {
|
|
38
|
+
announcement_addresses: string[];
|
|
39
|
+
connection_addresses: string[];
|
|
40
|
+
peer_id: string;
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
43
|
+
export { InfoResponse };
|
|
44
|
+
//# sourceMappingURL=infoResponse.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PinRequestMeta } from "./pinRequestMeta.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/generated/schemas/pinRequest.d.ts
|
|
4
|
+
interface PinRequest {
|
|
5
|
+
cid: string;
|
|
6
|
+
meta?: PinRequestMeta;
|
|
7
|
+
name?: string;
|
|
8
|
+
origins?: string[];
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { PinRequest };
|
|
12
|
+
//# sourceMappingURL=pinRequest.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/pinRequestMeta.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
|
+
type PinRequestMeta = {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { PinRequestMeta };
|
|
42
|
+
//# sourceMappingURL=pinRequestMeta.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PinStatusResponse } from "./pinStatusResponse.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/generated/schemas/pinResultsResponse.d.ts
|
|
4
|
+
interface PinResultsResponse {
|
|
5
|
+
count: number;
|
|
6
|
+
results: PinStatusResponse[];
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { PinResultsResponse };
|
|
10
|
+
//# sourceMappingURL=pinResultsResponse.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Multiaddr } from "./multiaddr.js";
|
|
2
|
+
import { PinRequest } from "./pinRequest.js";
|
|
3
|
+
import { PinStatusResponseInfo } from "./pinStatusResponseInfo.js";
|
|
4
|
+
|
|
5
|
+
//#region src/api/generated/schemas/pinStatusResponse.d.ts
|
|
6
|
+
interface PinStatusResponse {
|
|
7
|
+
created: string;
|
|
8
|
+
delegates: Multiaddr[];
|
|
9
|
+
info?: PinStatusResponseInfo;
|
|
10
|
+
pin: PinRequest;
|
|
11
|
+
requestid: string;
|
|
12
|
+
status: string;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { PinStatusResponse };
|
|
16
|
+
//# sourceMappingURL=pinStatusResponse.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/pinStatusResponseInfo.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
|
+
type PinStatusResponseInfo = {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { PinStatusResponseInfo };
|
|
42
|
+
//# sourceMappingURL=pinStatusResponseInfo.d.ts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/recordResponse.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 RecordResponse {
|
|
38
|
+
content: string;
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
name: string;
|
|
41
|
+
ttl: number;
|
|
42
|
+
type: string;
|
|
43
|
+
zone_id: number;
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
export { RecordResponse };
|
|
47
|
+
//# sourceMappingURL=recordResponse.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RecordResponse } from "./recordResponse.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/generated/schemas/recordResponseResponse.d.ts
|
|
4
|
+
interface RecordResponseResponse {
|
|
5
|
+
data: RecordResponse[];
|
|
6
|
+
total: number;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { RecordResponseResponse };
|
|
10
|
+
//# sourceMappingURL=recordResponseResponse.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/recordResult.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 RecordResult {
|
|
38
|
+
error?: string;
|
|
39
|
+
name: string;
|
|
40
|
+
status: string;
|
|
41
|
+
type: string;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { RecordResult };
|
|
45
|
+
//# sourceMappingURL=recordResult.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/validationResponse.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 ValidationResponse {
|
|
38
|
+
checked_at: string;
|
|
39
|
+
message: string;
|
|
40
|
+
nameservers?: string[];
|
|
41
|
+
valid: boolean;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { ValidationResponse };
|
|
45
|
+
//# sourceMappingURL=validationResponse.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/zoneListResponse.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 ZoneListResponse {
|
|
38
|
+
created_at: string;
|
|
39
|
+
domain: string;
|
|
40
|
+
id: number;
|
|
41
|
+
powerdns_zone_id?: string;
|
|
42
|
+
status: string;
|
|
43
|
+
updated_at: string;
|
|
44
|
+
user_id: number;
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { ZoneListResponse };
|
|
48
|
+
//# sourceMappingURL=zoneListResponse.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ZoneListResponse } from "./zoneListResponse.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/generated/schemas/zoneListResponseResponse.d.ts
|
|
4
|
+
interface ZoneListResponseResponse {
|
|
5
|
+
data: ZoneListResponse[];
|
|
6
|
+
total: number;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ZoneListResponseResponse };
|
|
10
|
+
//# sourceMappingURL=zoneListResponseResponse.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region src/api/generated/schemas/zoneResponse.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 ZoneResponse {
|
|
38
|
+
created_at: string;
|
|
39
|
+
domain: string;
|
|
40
|
+
id: number;
|
|
41
|
+
powerdns_zone_id?: string;
|
|
42
|
+
status: string;
|
|
43
|
+
updated_at: string;
|
|
44
|
+
user_id: number;
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { ZoneResponse };
|
|
48
|
+
//# sourceMappingURL=zoneResponse.d.ts.map
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
import { ErrorResponse } from "../schemas/errorResponse.js";
|
|
1
2
|
import * as _$msw from "msw";
|
|
2
|
-
import { http } from "msw";
|
|
3
|
+
import { RequestHandlerOptions, http } from "msw";
|
|
3
4
|
|
|
4
5
|
//#region src/api/generated/tus/tus.msw.d.ts
|
|
6
|
+
declare const getPostApiUploadTusResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
7
|
+
declare const getDeleteApiUploadTusIdResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
8
|
+
declare const getPatchApiUploadTusIdResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
9
|
+
declare const getPostApiUploadTusMockHandler: (overrideResponse?: void | ErrorResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
10
|
+
declare const getDeleteApiUploadTusIdMockHandler: (overrideResponse?: void | ErrorResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
11
|
+
declare const getHeadApiUploadTusIdMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.head>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
12
|
+
declare const getPatchApiUploadTusIdMockHandler: (overrideResponse?: void | ErrorResponse | ((info: Parameters<Parameters<typeof http.patch>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
5
13
|
declare const getTusMock: () => _$msw.HttpHandler[];
|
|
6
14
|
//#endregion
|
|
7
|
-
export { getTusMock };
|
|
15
|
+
export { getDeleteApiUploadTusIdMockHandler, getDeleteApiUploadTusIdResponseMock, getHeadApiUploadTusIdMockHandler, getPatchApiUploadTusIdMockHandler, getPatchApiUploadTusIdResponseMock, getPostApiUploadTusMockHandler, getPostApiUploadTusResponseMock, getTusMock };
|
|
8
16
|
//# sourceMappingURL=tus.msw.d.ts.map
|
|
@@ -94,5 +94,5 @@ const getTusMock = () => [
|
|
|
94
94
|
];
|
|
95
95
|
|
|
96
96
|
//#endregion
|
|
97
|
-
export { getTusMock };
|
|
97
|
+
export { getDeleteApiUploadTusIdMockHandler, getDeleteApiUploadTusIdResponseMock, getHeadApiUploadTusIdMockHandler, getPatchApiUploadTusIdMockHandler, getPatchApiUploadTusIdResponseMock, getPostApiUploadTusMockHandler, getPostApiUploadTusResponseMock, getTusMock };
|
|
98
98
|
//# sourceMappingURL=tus.msw.js.map
|
|
@@ -1,8 +1,29 @@
|
|
|
1
|
+
import { ErrorResponse } from "../schemas/errorResponse.js";
|
|
2
|
+
import { WebsiteConfigResponse } from "../schemas/websiteConfigResponse.js";
|
|
3
|
+
import { WebsiteItemResponse } from "../schemas/websiteItemResponse.js";
|
|
4
|
+
import { WebsiteResponse } from "../schemas/websiteResponse.js";
|
|
5
|
+
import { WebsiteValidateResponse } from "../schemas/websiteValidateResponse.js";
|
|
1
6
|
import * as _$msw from "msw";
|
|
2
|
-
import { http } from "msw";
|
|
7
|
+
import { RequestHandlerOptions, http } from "msw";
|
|
3
8
|
|
|
4
9
|
//#region src/api/generated/websites/websites.msw.d.ts
|
|
10
|
+
declare const getGetApiWebsitesResponseMock: (overrideResponse?: Partial<Extract<WebsiteItemResponse, object>>) => WebsiteItemResponse;
|
|
11
|
+
declare const getPostApiWebsitesResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse | WebsiteResponse, object>>) => ErrorResponse | WebsiteResponse;
|
|
12
|
+
declare const getGetApiWebsitesDomainSslStatusResponseMock: (overrideResponse?: Partial<Extract<WebsiteResponse, object>>) => WebsiteResponse;
|
|
13
|
+
declare const getDeleteApiWebsitesIdResponseMock: (overrideResponse?: Partial<Extract<ErrorResponse, object>>) => ErrorResponse;
|
|
14
|
+
declare const getGetApiWebsitesIdResponseMock: (overrideResponse?: Partial<Extract<WebsiteResponse, object>>) => WebsiteResponse;
|
|
15
|
+
declare const getPutApiWebsitesIdResponseMock: (overrideResponse?: Partial<Extract<WebsiteResponse, object>>) => WebsiteResponse;
|
|
16
|
+
declare const getPostApiWebsitesIdValidateResponseMock: (overrideResponse?: Partial<Extract<WebsiteValidateResponse, object>>) => WebsiteValidateResponse;
|
|
17
|
+
declare const getGetApiWebsitesConfigResponseMock: (overrideResponse?: Partial<Extract<WebsiteConfigResponse, object>>) => WebsiteConfigResponse;
|
|
18
|
+
declare const getGetApiWebsitesMockHandler: (overrideResponse?: WebsiteItemResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebsiteItemResponse> | WebsiteItemResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
19
|
+
declare const getPostApiWebsitesMockHandler: (overrideResponse?: ErrorResponse | WebsiteResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | WebsiteResponse> | ErrorResponse | WebsiteResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
20
|
+
declare const getGetApiWebsitesDomainSslStatusMockHandler: (overrideResponse?: WebsiteResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebsiteResponse> | WebsiteResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
21
|
+
declare const getDeleteApiWebsitesIdMockHandler: (overrideResponse?: void | ErrorResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
22
|
+
declare const getGetApiWebsitesIdMockHandler: (overrideResponse?: WebsiteResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebsiteResponse> | WebsiteResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
23
|
+
declare const getPutApiWebsitesIdMockHandler: (overrideResponse?: WebsiteResponse | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<WebsiteResponse> | WebsiteResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
24
|
+
declare const getPostApiWebsitesIdValidateMockHandler: (overrideResponse?: WebsiteValidateResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<WebsiteValidateResponse> | WebsiteValidateResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
25
|
+
declare const getGetApiWebsitesConfigMockHandler: (overrideResponse?: WebsiteConfigResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebsiteConfigResponse> | WebsiteConfigResponse), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
5
26
|
declare const getWebsitesMock: () => _$msw.HttpHandler[];
|
|
6
27
|
//#endregion
|
|
7
|
-
export { getWebsitesMock };
|
|
28
|
+
export { getDeleteApiWebsitesIdMockHandler, getDeleteApiWebsitesIdResponseMock, getGetApiWebsitesConfigMockHandler, getGetApiWebsitesConfigResponseMock, getGetApiWebsitesDomainSslStatusMockHandler, getGetApiWebsitesDomainSslStatusResponseMock, getGetApiWebsitesIdMockHandler, getGetApiWebsitesIdResponseMock, getGetApiWebsitesMockHandler, getGetApiWebsitesResponseMock, getPostApiWebsitesIdValidateMockHandler, getPostApiWebsitesIdValidateResponseMock, getPostApiWebsitesMockHandler, getPostApiWebsitesResponseMock, getPutApiWebsitesIdMockHandler, getPutApiWebsitesIdResponseMock, getWebsitesMock };
|
|
8
29
|
//# sourceMappingURL=websites.msw.d.ts.map
|
|
@@ -413,5 +413,5 @@ const getWebsitesMock = () => [
|
|
|
413
413
|
];
|
|
414
414
|
|
|
415
415
|
//#endregion
|
|
416
|
-
export { getWebsitesMock };
|
|
416
|
+
export { getDeleteApiWebsitesIdMockHandler, getDeleteApiWebsitesIdResponseMock, getGetApiWebsitesConfigMockHandler, getGetApiWebsitesConfigResponseMock, getGetApiWebsitesDomainSslStatusMockHandler, getGetApiWebsitesDomainSslStatusResponseMock, getGetApiWebsitesIdMockHandler, getGetApiWebsitesIdResponseMock, getGetApiWebsitesMockHandler, getGetApiWebsitesResponseMock, getPostApiWebsitesIdValidateMockHandler, getPostApiWebsitesIdValidateResponseMock, getPostApiWebsitesMockHandler, getPostApiWebsitesResponseMock, getPutApiWebsitesIdMockHandler, getPutApiWebsitesIdResponseMock, getWebsitesMock };
|
|
417
417
|
//# sourceMappingURL=websites.msw.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getContentMock, getGetApiBlockMetaCidMockHandler, getGetApiBlockMetaCidResponseMock, getGetApiInfoMockHandler, getGetApiInfoResponseMock, getGetIpfsCidMockHandler, getGetIpfsCidResponseMock, getHeadIpfsCidMockHandler, getHeadIpfsCidResponseMock, getPostApiBlockMetaBatchMockHandler, getPostApiBlockMetaBatchResponseMock, getPostApiUploadMockHandler } from "./generated/content/content.msw.js";
|
|
2
|
+
import { getDeleteApiDnsZonesIdMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeResponseMock, getDeleteApiDnsZonesIdResponseMock, getDnsMock, getGetApiDnsZonesIdMockHandler, getGetApiDnsZonesIdRecordsMockHandler, getGetApiDnsZonesIdRecordsNameTypeMockHandler, getGetApiDnsZonesIdRecordsNameTypeResponseMock, getGetApiDnsZonesIdRecordsResponseMock, getGetApiDnsZonesIdResponseMock, getGetApiDnsZonesIdStatusMockHandler, getGetApiDnsZonesIdStatusResponseMock, getGetApiDnsZonesMockHandler, getGetApiDnsZonesResponseMock, getPostApiDnsZonesIdRecordsBulkDeleteMockHandler, getPostApiDnsZonesIdRecordsBulkDeleteResponseMock, getPostApiDnsZonesIdRecordsBulkMockHandler, getPostApiDnsZonesIdRecordsBulkResponseMock, getPostApiDnsZonesIdRecordsMockHandler, getPostApiDnsZonesIdRecordsResponseMock, getPostApiDnsZonesIdValidateMockHandler, getPostApiDnsZonesIdValidateResponseMock, getPostApiDnsZonesMockHandler, getPostApiDnsZonesResponseMock, getPutApiDnsZonesIdMockHandler, getPutApiDnsZonesIdRecordsNameTypeMockHandler, getPutApiDnsZonesIdRecordsNameTypeResponseMock, getPutApiDnsZonesIdResponseMock } from "./generated/dns/dns.msw.js";
|
|
3
|
+
import { getFilesMock, getGetApiFilesBreadcrumbsMockHandler, getGetApiFilesBreadcrumbsResponseMock, getGetApiFilesDirectoryMockHandler, getGetApiFilesDirectoryResponseMock, getGetApiFilesMockHandler, getGetApiFilesResponseMock } from "./generated/files/files.msw.js";
|
|
4
|
+
import { getGatewayMock, getGetInternalWebsitesDomainMockHandler, getGetInternalWebsitesDomainResponseMock, getGetInternalWebsitesDomainStatusMockHandler, getGetInternalWebsitesDomainStatusResponseMock } from "./generated/gateway/gateway.msw.js";
|
|
5
|
+
import { getInternalMock, getPostInternalWebsitesDomainSslStatusMockHandler, getPostInternalWebsitesDomainSslStatusResponseMock } from "./generated/internal/internal.msw.js";
|
|
6
|
+
import { getDeleteApiIpnsKeysIdMockHandler, getDeleteApiIpnsKeysIdResponseMock, getGetApiIpnsKeysIdMockHandler, getGetApiIpnsKeysIdResponseMock, getGetApiIpnsKeysMockHandler, getGetApiIpnsKeysResponseMock, getGetApiIpnsResolveNameMockHandler, getGetApiIpnsResolveNameResponseMock, getIpnsMock, getPostApiIpnsKeysIdRepublishMockHandler, getPostApiIpnsKeysIdRepublishResponseMock, getPostApiIpnsKeysMockHandler, getPostApiIpnsKeysResponseMock, getPostApiIpnsPublishMockHandler, getPostApiIpnsPublishResponseMock } from "./generated/ipns/ipns.msw.js";
|
|
7
|
+
import { getDeletePinsRequestidMockHandler, getDeletePinsRequestidResponseMock, getGetPinsMockHandler, getGetPinsRequestidMockHandler, getGetPinsRequestidResponseMock, getGetPinsResponseMock, getPinningMock, getPostPinsMockHandler, getPostPinsRequestidMockHandler, getPostPinsRequestidResponseMock, getPostPinsResponseMock } from "./generated/pinning/pinning.msw.js";
|
|
8
|
+
import { getDeleteApiUploadTusIdMockHandler, getDeleteApiUploadTusIdResponseMock, getHeadApiUploadTusIdMockHandler, getPatchApiUploadTusIdMockHandler, getPatchApiUploadTusIdResponseMock, getPostApiUploadTusMockHandler, getPostApiUploadTusResponseMock, getTusMock } from "./generated/tus/tus.msw.js";
|
|
9
|
+
import { getDeleteApiWebsitesIdMockHandler, getDeleteApiWebsitesIdResponseMock, getGetApiWebsitesConfigMockHandler, getGetApiWebsitesConfigResponseMock, getGetApiWebsitesDomainSslStatusMockHandler, getGetApiWebsitesDomainSslStatusResponseMock, getGetApiWebsitesIdMockHandler, getGetApiWebsitesIdResponseMock, getGetApiWebsitesMockHandler, getGetApiWebsitesResponseMock, getPostApiWebsitesIdValidateMockHandler, getPostApiWebsitesIdValidateResponseMock, getPostApiWebsitesMockHandler, getPostApiWebsitesResponseMock, getPutApiWebsitesIdMockHandler, getPutApiWebsitesIdResponseMock, getWebsitesMock } from "./generated/websites/websites.msw.js";
|
|
10
|
+
export { getContentMock, getDeleteApiDnsZonesIdMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeResponseMock, getDeleteApiDnsZonesIdResponseMock, getDeleteApiIpnsKeysIdMockHandler, getDeleteApiIpnsKeysIdResponseMock, getDeleteApiUploadTusIdMockHandler, getDeleteApiUploadTusIdResponseMock, getDeleteApiWebsitesIdMockHandler, getDeleteApiWebsitesIdResponseMock, getDeletePinsRequestidMockHandler, getDeletePinsRequestidResponseMock, getDnsMock, getFilesMock, getGatewayMock, getGetApiBlockMetaCidMockHandler, getGetApiBlockMetaCidResponseMock, getGetApiDnsZonesIdMockHandler, getGetApiDnsZonesIdRecordsMockHandler, getGetApiDnsZonesIdRecordsNameTypeMockHandler, getGetApiDnsZonesIdRecordsNameTypeResponseMock, getGetApiDnsZonesIdRecordsResponseMock, getGetApiDnsZonesIdResponseMock, getGetApiDnsZonesIdStatusMockHandler, getGetApiDnsZonesIdStatusResponseMock, getGetApiDnsZonesMockHandler, getGetApiDnsZonesResponseMock, getGetApiFilesBreadcrumbsMockHandler, getGetApiFilesBreadcrumbsResponseMock, getGetApiFilesDirectoryMockHandler, getGetApiFilesDirectoryResponseMock, getGetApiFilesMockHandler, getGetApiFilesResponseMock, getGetApiInfoMockHandler, getGetApiInfoResponseMock, getGetApiIpnsKeysIdMockHandler, getGetApiIpnsKeysIdResponseMock, getGetApiIpnsKeysMockHandler, getGetApiIpnsKeysResponseMock, getGetApiIpnsResolveNameMockHandler, getGetApiIpnsResolveNameResponseMock, getGetApiWebsitesConfigMockHandler, getGetApiWebsitesConfigResponseMock, getGetApiWebsitesDomainSslStatusMockHandler, getGetApiWebsitesDomainSslStatusResponseMock, getGetApiWebsitesIdMockHandler, getGetApiWebsitesIdResponseMock, getGetApiWebsitesMockHandler, getGetApiWebsitesResponseMock, getGetInternalWebsitesDomainMockHandler, getGetInternalWebsitesDomainResponseMock, getGetInternalWebsitesDomainStatusMockHandler, getGetInternalWebsitesDomainStatusResponseMock, getGetIpfsCidMockHandler, getGetIpfsCidResponseMock, getGetPinsMockHandler, getGetPinsRequestidMockHandler, getGetPinsRequestidResponseMock, getGetPinsResponseMock, getHeadApiUploadTusIdMockHandler, getHeadIpfsCidMockHandler, getHeadIpfsCidResponseMock, getInternalMock, getIpnsMock, getPatchApiUploadTusIdMockHandler, getPatchApiUploadTusIdResponseMock, getPinningMock, getPostApiBlockMetaBatchMockHandler, getPostApiBlockMetaBatchResponseMock, getPostApiDnsZonesIdRecordsBulkDeleteMockHandler, getPostApiDnsZonesIdRecordsBulkDeleteResponseMock, getPostApiDnsZonesIdRecordsBulkMockHandler, getPostApiDnsZonesIdRecordsBulkResponseMock, getPostApiDnsZonesIdRecordsMockHandler, getPostApiDnsZonesIdRecordsResponseMock, getPostApiDnsZonesIdValidateMockHandler, getPostApiDnsZonesIdValidateResponseMock, getPostApiDnsZonesMockHandler, getPostApiDnsZonesResponseMock, getPostApiIpnsKeysIdRepublishMockHandler, getPostApiIpnsKeysIdRepublishResponseMock, getPostApiIpnsKeysMockHandler, getPostApiIpnsKeysResponseMock, getPostApiIpnsPublishMockHandler, getPostApiIpnsPublishResponseMock, getPostApiUploadMockHandler, getPostApiUploadTusMockHandler, getPostApiUploadTusResponseMock, getPostApiWebsitesIdValidateMockHandler, getPostApiWebsitesIdValidateResponseMock, getPostApiWebsitesMockHandler, getPostApiWebsitesResponseMock, getPostInternalWebsitesDomainSslStatusMockHandler, getPostInternalWebsitesDomainSslStatusResponseMock, getPostPinsMockHandler, getPostPinsRequestidMockHandler, getPostPinsRequestidResponseMock, getPostPinsResponseMock, getPutApiDnsZonesIdMockHandler, getPutApiDnsZonesIdRecordsNameTypeMockHandler, getPutApiDnsZonesIdRecordsNameTypeResponseMock, getPutApiDnsZonesIdResponseMock, getPutApiWebsitesIdMockHandler, getPutApiWebsitesIdResponseMock, getTusMock, getWebsitesMock };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { getContentMock, getGetApiBlockMetaCidMockHandler, getGetApiBlockMetaCidResponseMock, getGetApiInfoMockHandler, getGetApiInfoResponseMock, getGetIpfsCidMockHandler, getGetIpfsCidResponseMock, getHeadIpfsCidMockHandler, getHeadIpfsCidResponseMock, getPostApiBlockMetaBatchMockHandler, getPostApiBlockMetaBatchResponseMock, getPostApiUploadMockHandler } from "./generated/content/content.msw.js";
|
|
2
|
+
import { getDeleteApiDnsZonesIdMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeResponseMock, getDeleteApiDnsZonesIdResponseMock, getDnsMock, getGetApiDnsZonesIdMockHandler, getGetApiDnsZonesIdRecordsMockHandler, getGetApiDnsZonesIdRecordsNameTypeMockHandler, getGetApiDnsZonesIdRecordsNameTypeResponseMock, getGetApiDnsZonesIdRecordsResponseMock, getGetApiDnsZonesIdResponseMock, getGetApiDnsZonesIdStatusMockHandler, getGetApiDnsZonesIdStatusResponseMock, getGetApiDnsZonesMockHandler, getGetApiDnsZonesResponseMock, getPostApiDnsZonesIdRecordsBulkDeleteMockHandler, getPostApiDnsZonesIdRecordsBulkDeleteResponseMock, getPostApiDnsZonesIdRecordsBulkMockHandler, getPostApiDnsZonesIdRecordsBulkResponseMock, getPostApiDnsZonesIdRecordsMockHandler, getPostApiDnsZonesIdRecordsResponseMock, getPostApiDnsZonesIdValidateMockHandler, getPostApiDnsZonesIdValidateResponseMock, getPostApiDnsZonesMockHandler, getPostApiDnsZonesResponseMock, getPutApiDnsZonesIdMockHandler, getPutApiDnsZonesIdRecordsNameTypeMockHandler, getPutApiDnsZonesIdRecordsNameTypeResponseMock, getPutApiDnsZonesIdResponseMock } from "./generated/dns/dns.msw.js";
|
|
3
|
+
import { getFilesMock, getGetApiFilesBreadcrumbsMockHandler, getGetApiFilesBreadcrumbsResponseMock, getGetApiFilesDirectoryMockHandler, getGetApiFilesDirectoryResponseMock, getGetApiFilesMockHandler, getGetApiFilesResponseMock } from "./generated/files/files.msw.js";
|
|
4
|
+
import { getGatewayMock, getGetInternalWebsitesDomainMockHandler, getGetInternalWebsitesDomainResponseMock, getGetInternalWebsitesDomainStatusMockHandler, getGetInternalWebsitesDomainStatusResponseMock } from "./generated/gateway/gateway.msw.js";
|
|
5
|
+
import { getInternalMock, getPostInternalWebsitesDomainSslStatusMockHandler, getPostInternalWebsitesDomainSslStatusResponseMock } from "./generated/internal/internal.msw.js";
|
|
6
|
+
import { getDeleteApiIpnsKeysIdMockHandler, getDeleteApiIpnsKeysIdResponseMock, getGetApiIpnsKeysIdMockHandler, getGetApiIpnsKeysIdResponseMock, getGetApiIpnsKeysMockHandler, getGetApiIpnsKeysResponseMock, getGetApiIpnsResolveNameMockHandler, getGetApiIpnsResolveNameResponseMock, getIpnsMock, getPostApiIpnsKeysIdRepublishMockHandler, getPostApiIpnsKeysIdRepublishResponseMock, getPostApiIpnsKeysMockHandler, getPostApiIpnsKeysResponseMock, getPostApiIpnsPublishMockHandler, getPostApiIpnsPublishResponseMock } from "./generated/ipns/ipns.msw.js";
|
|
7
|
+
import { getDeletePinsRequestidMockHandler, getDeletePinsRequestidResponseMock, getGetPinsMockHandler, getGetPinsRequestidMockHandler, getGetPinsRequestidResponseMock, getGetPinsResponseMock, getPinningMock, getPostPinsMockHandler, getPostPinsRequestidMockHandler, getPostPinsRequestidResponseMock, getPostPinsResponseMock } from "./generated/pinning/pinning.msw.js";
|
|
8
|
+
import { getDeleteApiUploadTusIdMockHandler, getDeleteApiUploadTusIdResponseMock, getHeadApiUploadTusIdMockHandler, getPatchApiUploadTusIdMockHandler, getPatchApiUploadTusIdResponseMock, getPostApiUploadTusMockHandler, getPostApiUploadTusResponseMock, getTusMock } from "./generated/tus/tus.msw.js";
|
|
9
|
+
import { getDeleteApiWebsitesIdMockHandler, getDeleteApiWebsitesIdResponseMock, getGetApiWebsitesConfigMockHandler, getGetApiWebsitesConfigResponseMock, getGetApiWebsitesDomainSslStatusMockHandler, getGetApiWebsitesDomainSslStatusResponseMock, getGetApiWebsitesIdMockHandler, getGetApiWebsitesIdResponseMock, getGetApiWebsitesMockHandler, getGetApiWebsitesResponseMock, getPostApiWebsitesIdValidateMockHandler, getPostApiWebsitesIdValidateResponseMock, getPostApiWebsitesMockHandler, getPostApiWebsitesResponseMock, getPutApiWebsitesIdMockHandler, getPutApiWebsitesIdResponseMock, getWebsitesMock } from "./generated/websites/websites.msw.js";
|
|
10
|
+
|
|
11
|
+
export { getContentMock, getDeleteApiDnsZonesIdMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeMockHandler, getDeleteApiDnsZonesIdRecordsNameTypeResponseMock, getDeleteApiDnsZonesIdResponseMock, getDeleteApiIpnsKeysIdMockHandler, getDeleteApiIpnsKeysIdResponseMock, getDeleteApiUploadTusIdMockHandler, getDeleteApiUploadTusIdResponseMock, getDeleteApiWebsitesIdMockHandler, getDeleteApiWebsitesIdResponseMock, getDeletePinsRequestidMockHandler, getDeletePinsRequestidResponseMock, getDnsMock, getFilesMock, getGatewayMock, getGetApiBlockMetaCidMockHandler, getGetApiBlockMetaCidResponseMock, getGetApiDnsZonesIdMockHandler, getGetApiDnsZonesIdRecordsMockHandler, getGetApiDnsZonesIdRecordsNameTypeMockHandler, getGetApiDnsZonesIdRecordsNameTypeResponseMock, getGetApiDnsZonesIdRecordsResponseMock, getGetApiDnsZonesIdResponseMock, getGetApiDnsZonesIdStatusMockHandler, getGetApiDnsZonesIdStatusResponseMock, getGetApiDnsZonesMockHandler, getGetApiDnsZonesResponseMock, getGetApiFilesBreadcrumbsMockHandler, getGetApiFilesBreadcrumbsResponseMock, getGetApiFilesDirectoryMockHandler, getGetApiFilesDirectoryResponseMock, getGetApiFilesMockHandler, getGetApiFilesResponseMock, getGetApiInfoMockHandler, getGetApiInfoResponseMock, getGetApiIpnsKeysIdMockHandler, getGetApiIpnsKeysIdResponseMock, getGetApiIpnsKeysMockHandler, getGetApiIpnsKeysResponseMock, getGetApiIpnsResolveNameMockHandler, getGetApiIpnsResolveNameResponseMock, getGetApiWebsitesConfigMockHandler, getGetApiWebsitesConfigResponseMock, getGetApiWebsitesDomainSslStatusMockHandler, getGetApiWebsitesDomainSslStatusResponseMock, getGetApiWebsitesIdMockHandler, getGetApiWebsitesIdResponseMock, getGetApiWebsitesMockHandler, getGetApiWebsitesResponseMock, getGetInternalWebsitesDomainMockHandler, getGetInternalWebsitesDomainResponseMock, getGetInternalWebsitesDomainStatusMockHandler, getGetInternalWebsitesDomainStatusResponseMock, getGetIpfsCidMockHandler, getGetIpfsCidResponseMock, getGetPinsMockHandler, getGetPinsRequestidMockHandler, getGetPinsRequestidResponseMock, getGetPinsResponseMock, getHeadApiUploadTusIdMockHandler, getHeadIpfsCidMockHandler, getHeadIpfsCidResponseMock, getInternalMock, getIpnsMock, getPatchApiUploadTusIdMockHandler, getPatchApiUploadTusIdResponseMock, getPinningMock, getPostApiBlockMetaBatchMockHandler, getPostApiBlockMetaBatchResponseMock, getPostApiDnsZonesIdRecordsBulkDeleteMockHandler, getPostApiDnsZonesIdRecordsBulkDeleteResponseMock, getPostApiDnsZonesIdRecordsBulkMockHandler, getPostApiDnsZonesIdRecordsBulkResponseMock, getPostApiDnsZonesIdRecordsMockHandler, getPostApiDnsZonesIdRecordsResponseMock, getPostApiDnsZonesIdValidateMockHandler, getPostApiDnsZonesIdValidateResponseMock, getPostApiDnsZonesMockHandler, getPostApiDnsZonesResponseMock, getPostApiIpnsKeysIdRepublishMockHandler, getPostApiIpnsKeysIdRepublishResponseMock, getPostApiIpnsKeysMockHandler, getPostApiIpnsKeysResponseMock, getPostApiIpnsPublishMockHandler, getPostApiIpnsPublishResponseMock, getPostApiUploadMockHandler, getPostApiUploadTusMockHandler, getPostApiUploadTusResponseMock, getPostApiWebsitesIdValidateMockHandler, getPostApiWebsitesIdValidateResponseMock, getPostApiWebsitesMockHandler, getPostApiWebsitesResponseMock, getPostInternalWebsitesDomainSslStatusMockHandler, getPostInternalWebsitesDomainSslStatusResponseMock, getPostPinsMockHandler, getPostPinsRequestidMockHandler, getPostPinsRequestidResponseMock, getPostPinsResponseMock, getPutApiDnsZonesIdMockHandler, getPutApiDnsZonesIdRecordsNameTypeMockHandler, getPutApiDnsZonesIdRecordsNameTypeResponseMock, getPutApiDnsZonesIdResponseMock, getPutApiWebsitesIdMockHandler, getPutApiWebsitesIdResponseMock, getTusMock, getWebsitesMock };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumeweb/pinner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"require": "./dist/cjs/index.js"
|
|
18
18
|
},
|
|
19
19
|
"./mocks": {
|
|
20
|
-
"types": "./dist/esm/api/
|
|
21
|
-
"import": "./dist/esm/api/
|
|
20
|
+
"types": "./dist/esm/api/mocks.d.ts",
|
|
21
|
+
"import": "./dist/esm/api/mocks.js"
|
|
22
22
|
},
|
|
23
23
|
"./adapters/pinata": {
|
|
24
24
|
"types": "./dist/esm/adapters/pinata.d.ts",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"tus-js-client": "4.3.1",
|
|
65
65
|
"unstorage": "^1.17.5",
|
|
66
66
|
"@lumeweb/portal-sdk": "0.1.2",
|
|
67
|
-
"@lumeweb/
|
|
68
|
-
"@lumeweb/
|
|
67
|
+
"@lumeweb/query-builder": "0.1.1",
|
|
68
|
+
"@lumeweb/uppy-post-upload": "0.1.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@faker-js/faker": "^10.4.0",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { getContentMock } from "./content/content.msw.js";
|
|
2
|
-
import { getDnsMock } from "./dns/dns.msw.js";
|
|
3
|
-
import { getFilesMock } from "./files/files.msw.js";
|
|
4
|
-
import { getIpnsMock } from "./ipns/ipns.msw.js";
|
|
5
|
-
import { getTusMock } from "./tus/tus.msw.js";
|
|
6
|
-
import { getWebsitesMock } from "./websites/websites.msw.js";
|
|
7
|
-
import { getGatewayMock } from "./gateway/gateway.msw.js";
|
|
8
|
-
import { getInternalMock } from "./internal/internal.msw.js";
|
|
9
|
-
import { getPinningMock } from "./pinning/pinning.msw.js";
|
|
10
|
-
export { getContentMock, getDnsMock, getFilesMock, getGatewayMock, getInternalMock, getIpnsMock, getPinningMock, getTusMock, getWebsitesMock };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { getContentMock } from "./content/content.msw.js";
|
|
2
|
-
import { getDnsMock } from "./dns/dns.msw.js";
|
|
3
|
-
import { getFilesMock } from "./files/files.msw.js";
|
|
4
|
-
import { getIpnsMock } from "./ipns/ipns.msw.js";
|
|
5
|
-
import { getTusMock } from "./tus/tus.msw.js";
|
|
6
|
-
import { getWebsitesMock } from "./websites/websites.msw.js";
|
|
7
|
-
import { getGatewayMock } from "./gateway/gateway.msw.js";
|
|
8
|
-
import { getInternalMock } from "./internal/internal.msw.js";
|
|
9
|
-
import { getPinningMock } from "./pinning/pinning.msw.js";
|
|
10
|
-
|
|
11
|
-
export { getContentMock, getDnsMock, getFilesMock, getGatewayMock, getInternalMock, getIpnsMock, getPinningMock, getTusMock, getWebsitesMock };
|