@lumeweb/pinner 0.1.5 → 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 +17 -3
- package/dist/esm/api/generated/content/content.msw.js +3 -3
- package/dist/esm/api/generated/dns/dns.msw.d.ts +39 -3
- package/dist/esm/api/generated/dns/dns.msw.js +3 -3
- package/dist/esm/api/generated/files/files.msw.d.ts +10 -3
- package/dist/esm/api/generated/files/files.msw.js +3 -3
- package/dist/esm/api/generated/gateway/gateway.msw.d.ts +9 -3
- package/dist/esm/api/generated/gateway/gateway.msw.js +3 -3
- package/dist/esm/api/generated/internal/internal.msw.d.ts +6 -3
- package/dist/esm/api/generated/internal/internal.msw.js +3 -3
- package/dist/esm/api/generated/ipns/ipns.msw.d.ts +23 -3
- package/dist/esm/api/generated/ipns/ipns.msw.js +3 -3
- package/dist/esm/api/generated/pinning/pinning.msw.d.ts +16 -3
- package/dist/esm/api/generated/pinning/pinning.msw.js +3 -3
- 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 +11 -3
- package/dist/esm/api/generated/tus/tus.msw.js +3 -3
- package/dist/esm/api/generated/websites/websites.msw.d.ts +24 -3
- package/dist/esm/api/generated/websites/websites.msw.js +3 -3
- 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
|
|
2
|
-
import {
|
|
1
|
+
import { BlockMetaResponse } from "../schemas/blockMetaResponse.js";
|
|
2
|
+
import { ErrorResponse } from "../schemas/errorResponse.js";
|
|
3
|
+
import { InfoResponse } from "../schemas/infoResponse.js";
|
|
4
|
+
import * as _$msw 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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { faker } from "
|
|
2
|
-
import { HttpResponse, delay, http } from "
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { HttpResponse, delay, http } from "msw";
|
|
3
3
|
|
|
4
4
|
//#region src/api/generated/content/content.msw.ts
|
|
5
5
|
/**
|
|
@@ -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
|
|
2
|
-
import {
|
|
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";
|
|
9
|
+
import * as _$msw 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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { faker } from "
|
|
2
|
-
import { HttpResponse, delay, http } from "
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { HttpResponse, delay, http } from "msw";
|
|
3
3
|
|
|
4
4
|
//#region src/api/generated/dns/dns.msw.ts
|
|
5
5
|
/**
|
|
@@ -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
|
|
2
|
-
import
|
|
1
|
+
import { FileManagerItemResponse } from "../schemas/fileManagerItemResponse.js";
|
|
2
|
+
import * as _$msw 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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { faker } from "
|
|
2
|
-
import { HttpResponse, delay, http } from "
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { HttpResponse, delay, http } from "msw";
|
|
3
3
|
|
|
4
4
|
//#region src/api/generated/files/files.msw.ts
|
|
5
5
|
/**
|
|
@@ -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
|
|
2
|
-
import {
|
|
1
|
+
import { GatewayWebsiteResponse } from "../schemas/gatewayWebsiteResponse.js";
|
|
2
|
+
import { GatewayWebsiteStatusResponse } from "../schemas/gatewayWebsiteStatusResponse.js";
|
|
3
|
+
import * as _$msw 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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { faker } from "
|
|
2
|
-
import { HttpResponse, delay, http } from "
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { HttpResponse, delay, http } from "msw";
|
|
3
3
|
|
|
4
4
|
//#region src/api/generated/gateway/gateway.msw.ts
|
|
5
5
|
/**
|
|
@@ -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
|
|
2
|
-
import
|
|
1
|
+
import { WebsiteResponse } from "../schemas/websiteResponse.js";
|
|
2
|
+
import * as _$msw 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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { faker } from "
|
|
2
|
-
import { HttpResponse, delay, http } from "
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { HttpResponse, delay, http } from "msw";
|
|
3
3
|
|
|
4
4
|
//#region src/api/generated/internal/internal.msw.ts
|
|
5
5
|
/**
|
|
@@ -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
|
|
2
|
-
import {
|
|
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";
|
|
7
|
+
import * as _$msw 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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { faker } from "
|
|
2
|
-
import { HttpResponse, delay, http } from "
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { HttpResponse, delay, http } from "msw";
|
|
3
3
|
|
|
4
4
|
//#region src/api/generated/ipns/ipns.msw.ts
|
|
5
5
|
/**
|
|
@@ -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
|
|
2
|
-
import {
|
|
1
|
+
import { ErrorResponse } from "../schemas/errorResponse.js";
|
|
2
|
+
import { PinStatusResponse } from "../schemas/pinStatusResponse.js";
|
|
3
|
+
import { PinResultsResponse } from "../schemas/pinResultsResponse.js";
|
|
4
|
+
import * as _$msw 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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { faker } from "
|
|
2
|
-
import { HttpResponse, delay, http } from "
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { HttpResponse, delay, http } from "msw";
|
|
3
3
|
|
|
4
4
|
//#region src/api/generated/pinning/pinning.msw.ts
|
|
5
5
|
/**
|
|
@@ -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
|