@decaf-ts/for-fabric 0.10.0 → 0.12.0
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/lib/cjs/version.cjs +1 -1
- package/lib/esm/version.js +1 -1
- package/lib/types/client/FabricClientAdapter.d.cts +3 -3
- package/lib/types/client/FabricClientAdapter.d.mts +3 -3
- package/lib/types/client/FabricClientDispatch.d.cts +2 -2
- package/lib/types/client/FabricClientDispatch.d.mts +2 -2
- package/lib/types/client/FabricClientPaginator.d.cts +1 -1
- package/lib/types/client/FabricClientPaginator.d.mts +1 -1
- package/lib/types/client/FabricClientRepository.d.cts +1 -1
- package/lib/types/client/FabricClientRepository.d.mts +1 -1
- package/lib/types/client/FabricClientStatement.d.cts +2 -2
- package/lib/types/client/FabricClientStatement.d.mts +2 -2
- package/lib/types/client/collections/index.d.cts +1 -1
- package/lib/types/client/collections/index.d.mts +1 -1
- package/lib/types/client/constants.d.cts +1 -1
- package/lib/types/client/constants.d.mts +1 -1
- package/lib/types/client/erc20/FabricERC20ClientRepository.d.cts +3 -3
- package/lib/types/client/erc20/FabricERC20ClientRepository.d.mts +3 -3
- package/lib/types/client/erc20/index.d.cts +1 -1
- package/lib/types/client/erc20/index.d.mts +1 -1
- package/lib/types/client/ids/index.d.cts +1 -1
- package/lib/types/client/ids/index.d.mts +1 -1
- package/lib/types/client/index.d.cts +14 -14
- package/lib/types/client/index.d.mts +14 -14
- package/lib/types/client/indexes/index.d.cts +1 -1
- package/lib/types/client/indexes/index.d.mts +1 -1
- package/lib/types/client/services/FabricEnrollmentService.d.cts +4 -4
- package/lib/types/client/services/FabricEnrollmentService.d.mts +4 -4
- package/lib/types/client/services/FabricIdentityService.d.cts +5 -5
- package/lib/types/client/services/FabricIdentityService.d.mts +5 -5
- package/lib/types/client/services/RegistrationRequestBuilder.d.cts +1 -1
- package/lib/types/client/services/RegistrationRequestBuilder.d.mts +1 -1
- package/lib/types/client/services/index.d.cts +4 -4
- package/lib/types/client/services/index.d.mts +4 -4
- package/lib/types/client/types.d.cts +1 -1
- package/lib/types/client/types.d.mts +1 -1
- package/lib/types/client/utils.d.cts +1 -1
- package/lib/types/client/utils.d.mts +1 -1
- package/lib/types/contract/AddressContract.d.cts +2 -2
- package/lib/types/contract/AddressContract.d.mts +2 -2
- package/lib/types/contract/AuditContract.d.cts +2 -2
- package/lib/types/contract/AuditContract.d.mts +2 -2
- package/lib/types/contract/BatchContract.d.cts +2 -2
- package/lib/types/contract/BatchContract.d.mts +2 -2
- package/lib/types/contract/MarketContract.d.cts +2 -2
- package/lib/types/contract/MarketContract.d.mts +2 -2
- package/lib/types/contract/OtherAuditContract.d.cts +2 -2
- package/lib/types/contract/OtherAuditContract.d.mts +2 -2
- package/lib/types/contract/OtherBatchContract.d.cts +2 -2
- package/lib/types/contract/OtherBatchContract.d.mts +2 -2
- package/lib/types/contract/OtherMarketContract.d.cts +2 -2
- package/lib/types/contract/OtherMarketContract.d.mts +2 -2
- package/lib/types/contract/OtherProductContract.d.cts +2 -2
- package/lib/types/contract/OtherProductContract.d.mts +2 -2
- package/lib/types/contract/OtherProductImageContract.d.cts +2 -2
- package/lib/types/contract/OtherProductImageContract.d.mts +2 -2
- package/lib/types/contract/OtherProductSharedContract.d.cts +2 -2
- package/lib/types/contract/OtherProductSharedContract.d.mts +2 -2
- package/lib/types/contract/OtherProductStrengthContract.d.cts +2 -2
- package/lib/types/contract/OtherProductStrengthContract.d.mts +2 -2
- package/lib/types/contract/Product.d.cts +1 -1
- package/lib/types/contract/Product.d.mts +1 -1
- package/lib/types/contract/ProductContract.d.cts +2 -2
- package/lib/types/contract/ProductContract.d.mts +2 -2
- package/lib/types/contract/ProductStrengthContract.d.cts +2 -2
- package/lib/types/contract/ProductStrengthContract.d.mts +2 -2
- package/lib/types/contract/SegregatedPrivateDocumentContract.d.cts +2 -2
- package/lib/types/contract/SegregatedPrivateDocumentContract.d.mts +2 -2
- package/lib/types/contract/SegregatedSharedDocumentContract.d.cts +2 -2
- package/lib/types/contract/SegregatedSharedDocumentContract.d.mts +2 -2
- package/lib/types/contract/UserContract.d.cts +2 -2
- package/lib/types/contract/UserContract.d.mts +2 -2
- package/lib/types/contract/models/Audit.d.cts +2 -2
- package/lib/types/contract/models/Audit.d.mts +2 -2
- package/lib/types/contract/models/BaseIdentifiedModel.d.cts +1 -1
- package/lib/types/contract/models/BaseIdentifiedModel.d.mts +1 -1
- package/lib/types/contract/models/Batch.d.cts +1 -1
- package/lib/types/contract/models/Batch.d.mts +1 -1
- package/lib/types/contract/models/GtinOwner.d.cts +1 -1
- package/lib/types/contract/models/GtinOwner.d.mts +1 -1
- package/lib/types/contract/models/Leaflet.d.cts +1 -1
- package/lib/types/contract/models/Leaflet.d.mts +1 -1
- package/lib/types/contract/models/LeafletFile.d.cts +1 -1
- package/lib/types/contract/models/LeafletFile.d.mts +1 -1
- package/lib/types/contract/models/Market.d.cts +1 -1
- package/lib/types/contract/models/Market.d.mts +1 -1
- package/lib/types/contract/models/OtherAudit.d.cts +2 -2
- package/lib/types/contract/models/OtherAudit.d.mts +2 -2
- package/lib/types/contract/models/OtherBatchShared.d.cts +1 -1
- package/lib/types/contract/models/OtherBatchShared.d.mts +1 -1
- package/lib/types/contract/models/OtherLeaflet.d.cts +2 -2
- package/lib/types/contract/models/OtherLeaflet.d.mts +2 -2
- package/lib/types/contract/models/OtherLeafletFile.d.cts +1 -1
- package/lib/types/contract/models/OtherLeafletFile.d.mts +1 -1
- package/lib/types/contract/models/OtherMarket.d.cts +1 -1
- package/lib/types/contract/models/OtherMarket.d.mts +1 -1
- package/lib/types/contract/models/OtherProduct.d.cts +1 -1
- package/lib/types/contract/models/OtherProduct.d.mts +1 -1
- package/lib/types/contract/models/OtherProductImage.d.cts +1 -1
- package/lib/types/contract/models/OtherProductImage.d.mts +1 -1
- package/lib/types/contract/models/OtherProductShared.d.cts +4 -4
- package/lib/types/contract/models/OtherProductShared.d.mts +4 -4
- package/lib/types/contract/models/OtherProductStrength.d.cts +1 -1
- package/lib/types/contract/models/OtherProductStrength.d.mts +1 -1
- package/lib/types/contract/models/Product.d.cts +3 -3
- package/lib/types/contract/models/Product.d.mts +3 -3
- package/lib/types/contract/models/ProductStrength.d.cts +1 -1
- package/lib/types/contract/models/ProductStrength.d.mts +1 -1
- package/lib/types/contract/models/SegregatedDocument.d.cts +1 -1
- package/lib/types/contract/models/SegregatedDocument.d.mts +1 -1
- package/lib/types/contract/models/decorators-private.d.cts +2 -2
- package/lib/types/contract/models/decorators-private.d.mts +2 -2
- package/lib/types/contract/models/decorators.d.cts +2 -2
- package/lib/types/contract/models/decorators.d.mts +2 -2
- package/lib/types/contract/models/history-dec.d.cts +1 -1
- package/lib/types/contract/models/history-dec.d.mts +1 -1
- package/lib/types/contracts/ContractAdapter.d.cts +5 -5
- package/lib/types/contracts/ContractAdapter.d.mts +5 -5
- package/lib/types/contracts/ContractContext.d.cts +1 -1
- package/lib/types/contracts/ContractContext.d.mts +1 -1
- package/lib/types/contracts/FabricContractDispatch.d.cts +2 -2
- package/lib/types/contracts/FabricContractDispatch.d.mts +2 -2
- package/lib/types/contracts/FabricContractPaginator.d.cts +1 -1
- package/lib/types/contracts/FabricContractPaginator.d.mts +1 -1
- package/lib/types/contracts/FabricContractRepository.d.cts +3 -3
- package/lib/types/contracts/FabricContractRepository.d.mts +3 -3
- package/lib/types/contracts/FabricContractRepositoryObservableHandler.d.cts +1 -1
- package/lib/types/contracts/FabricContractRepositoryObservableHandler.d.mts +1 -1
- package/lib/types/contracts/FabricContractStatement.d.cts +1 -1
- package/lib/types/contracts/FabricContractStatement.d.mts +1 -1
- package/lib/types/contracts/MigrationContract.d.cts +3 -3
- package/lib/types/contracts/MigrationContract.d.mts +3 -3
- package/lib/types/contracts/auth/index.d.cts +1 -1
- package/lib/types/contracts/auth/index.d.mts +1 -1
- package/lib/types/contracts/crud/crud-contract.d.cts +5 -5
- package/lib/types/contracts/crud/crud-contract.d.mts +5 -5
- package/lib/types/contracts/crud/index.d.cts +2 -2
- package/lib/types/contracts/crud/index.d.mts +2 -2
- package/lib/types/contracts/crud/serialized-crud-contract.d.cts +1 -1
- package/lib/types/contracts/crud/serialized-crud-contract.d.mts +1 -1
- package/lib/types/contracts/erc20/erc20contract.d.cts +3 -3
- package/lib/types/contracts/erc20/erc20contract.d.mts +3 -3
- package/lib/types/contracts/erc20/index.d.cts +1 -1
- package/lib/types/contracts/erc20/index.d.mts +1 -1
- package/lib/types/contracts/index.d.cts +13 -13
- package/lib/types/contracts/index.d.mts +13 -13
- package/lib/types/contracts/types.d.cts +1 -1
- package/lib/types/contracts/types.d.mts +1 -1
- package/lib/types/index.d.cts +3 -3
- package/lib/types/index.d.mts +3 -3
- package/lib/types/shared/decorators.d.cts +3 -3
- package/lib/types/shared/decorators.d.mts +3 -3
- package/lib/types/shared/erc20/index.d.cts +1 -1
- package/lib/types/shared/erc20/index.d.mts +1 -1
- package/lib/types/shared/index.d.cts +14 -14
- package/lib/types/shared/index.d.mts +14 -14
- package/lib/types/shared/interfaces/index.d.cts +1 -1
- package/lib/types/shared/interfaces/index.d.mts +1 -1
- package/lib/types/shared/model/FabricIdentifiedBaseModel.d.cts +1 -1
- package/lib/types/shared/model/FabricIdentifiedBaseModel.d.mts +1 -1
- package/lib/types/shared/model/Identity.d.cts +2 -2
- package/lib/types/shared/model/Identity.d.mts +2 -2
- package/lib/types/shared/model/index.d.cts +4 -4
- package/lib/types/shared/model/index.d.mts +4 -4
- package/lib/types/shared/overrides/Model.d.cts +2 -2
- package/lib/types/shared/overrides/Model.d.mts +2 -2
- package/lib/types/shared/overrides/index.d.cts +2 -2
- package/lib/types/shared/overrides/index.d.mts +2 -2
- package/lib/types/version.d.cts +1 -1
- package/lib/types/version.d.mts +1 -1
- package/package.json +1 -1
- package/lib/types/bin/cli.d.ts +0 -1
- package/lib/types/cli-module.d.ts +0 -3
- package/lib/types/cli-utils.d.ts +0 -21
- package/lib/types/client/FabricClientAdapter.d.ts +0 -404
- package/lib/types/client/FabricClientDispatch.d.ts +0 -133
- package/lib/types/client/FabricClientPaginator.d.ts +0 -12
- package/lib/types/client/FabricClientRepository.d.ts +0 -71
- package/lib/types/client/FabricClientStatement.d.ts +0 -64
- package/lib/types/client/collections/generation.d.ts +0 -46
- package/lib/types/client/collections/index.d.ts +0 -1
- package/lib/types/client/constants.d.ts +0 -2
- package/lib/types/client/crypto.d.ts +0 -107
- package/lib/types/client/erc20/FabricERC20ClientRepository.d.ts +0 -254
- package/lib/types/client/erc20/index.d.ts +0 -1
- package/lib/types/client/fabric-fs.d.ts +0 -92
- package/lib/types/client/fabric-hsm.d.ts +0 -24
- package/lib/types/client/ids/id-extraction.d.ts +0 -4
- package/lib/types/client/ids/index.d.ts +0 -1
- package/lib/types/client/index.d.ts +0 -23
- package/lib/types/client/indexes/generation.d.ts +0 -10
- package/lib/types/client/indexes/index.d.ts +0 -1
- package/lib/types/client/logging.d.ts +0 -60
- package/lib/types/client/services/FabricEnrollmentService.d.ts +0 -176
- package/lib/types/client/services/FabricIdentityService.d.ts +0 -98
- package/lib/types/client/services/RegistrationRequestBuilder.d.ts +0 -19
- package/lib/types/client/services/constants.d.ts +0 -15
- package/lib/types/client/services/index.d.ts +0 -4
- package/lib/types/client/types.d.ts +0 -20
- package/lib/types/client/utils.d.ts +0 -71
- package/lib/types/contract/Address.d.ts +0 -13
- package/lib/types/contract/AddressContract.d.ts +0 -5
- package/lib/types/contract/AuditContract.d.ts +0 -5
- package/lib/types/contract/BatchContract.d.ts +0 -5
- package/lib/types/contract/MarketContract.d.ts +0 -5
- package/lib/types/contract/OtherAuditContract.d.ts +0 -5
- package/lib/types/contract/OtherBatchContract.d.ts +0 -5
- package/lib/types/contract/OtherMarketContract.d.ts +0 -5
- package/lib/types/contract/OtherProductContract.d.ts +0 -5
- package/lib/types/contract/OtherProductImageContract.d.ts +0 -5
- package/lib/types/contract/OtherProductSharedContract.d.ts +0 -5
- package/lib/types/contract/OtherProductStrengthContract.d.ts +0 -5
- package/lib/types/contract/Product.d.ts +0 -7
- package/lib/types/contract/ProductContract.d.ts +0 -5
- package/lib/types/contract/ProductStrengthContract.d.ts +0 -5
- package/lib/types/contract/SegregatedPrivateDocumentContract.d.ts +0 -5
- package/lib/types/contract/SegregatedSharedDocumentContract.d.ts +0 -5
- package/lib/types/contract/User.d.ts +0 -7
- package/lib/types/contract/UserContract.d.ts +0 -5
- package/lib/types/contract/index.d.ts +0 -2
- package/lib/types/contract/logging-context.d.ts +0 -8
- package/lib/types/contract/models/Audit.d.ts +0 -13
- package/lib/types/contract/models/BaseIdentifiedModel.d.ts +0 -7
- package/lib/types/contract/models/BaseModel.d.ts +0 -7
- package/lib/types/contract/models/Batch.d.ts +0 -18
- package/lib/types/contract/models/GtinOwner.d.ts +0 -8
- package/lib/types/contract/models/History.d.ts +0 -9
- package/lib/types/contract/models/Leaflet.d.ts +0 -12
- package/lib/types/contract/models/LeafletFile.d.ts +0 -9
- package/lib/types/contract/models/Market.d.ts +0 -12
- package/lib/types/contract/models/OtherAudit.d.ts +0 -15
- package/lib/types/contract/models/OtherBatchShared.d.ts +0 -18
- package/lib/types/contract/models/OtherLeaflet.d.ts +0 -16
- package/lib/types/contract/models/OtherLeafletFile.d.ts +0 -10
- package/lib/types/contract/models/OtherMarket.d.ts +0 -13
- package/lib/types/contract/models/OtherProduct.d.ts +0 -12
- package/lib/types/contract/models/OtherProductImage.d.ts +0 -9
- package/lib/types/contract/models/OtherProductShared.d.ts +0 -18
- package/lib/types/contract/models/OtherProductStrength.d.ts +0 -12
- package/lib/types/contract/models/Product.d.ts +0 -15
- package/lib/types/contract/models/ProductStrength.d.ts +0 -11
- package/lib/types/contract/models/SegregatedDocument.d.ts +0 -18
- package/lib/types/contract/models/constants.d.ts +0 -24
- package/lib/types/contract/models/decorators-private.d.ts +0 -16
- package/lib/types/contract/models/decorators.d.ts +0 -28
- package/lib/types/contract/models/gtin.d.ts +0 -8
- package/lib/types/contract/models/history-dec.d.ts +0 -6
- package/lib/types/contracts/ContractAdapter.d.ts +0 -287
- package/lib/types/contracts/ContractContext.d.ts +0 -89
- package/lib/types/contracts/FabricContractDispatch.d.ts +0 -7
- package/lib/types/contracts/FabricContractPaginator.d.ts +0 -105
- package/lib/types/contracts/FabricContractRepository.d.ts +0 -119
- package/lib/types/contracts/FabricContractRepositoryObservableHandler.d.ts +0 -62
- package/lib/types/contracts/FabricContractSequence.d.ts +0 -87
- package/lib/types/contracts/FabricContractStatement.d.ts +0 -36
- package/lib/types/contracts/MigrationContract.d.ts +0 -22
- package/lib/types/contracts/PrivateSequence.d.ts +0 -15
- package/lib/types/contracts/auth/decorators.d.ts +0 -6
- package/lib/types/contracts/auth/index.d.ts +0 -1
- package/lib/types/contracts/crud/crud-contract.d.ts +0 -199
- package/lib/types/contracts/crud/index.d.ts +0 -2
- package/lib/types/contracts/crud/serialized-crud-contract.d.ts +0 -42
- package/lib/types/contracts/erc20/erc20contract.d.ts +0 -152
- package/lib/types/contracts/erc20/index.d.ts +0 -2
- package/lib/types/contracts/erc20/models.d.ts +0 -114
- package/lib/types/contracts/index.d.ts +0 -20
- package/lib/types/contracts/logging.d.ts +0 -54
- package/lib/types/contracts/overrides.d.ts +0 -1
- package/lib/types/contracts/types.d.ts +0 -38
- package/lib/types/contracts/uuid.d.ts +0 -2
- package/lib/types/index.d.ts +0 -8
- package/lib/types/shared/ClientSerializer.d.ts +0 -52
- package/lib/types/shared/DeterministicSerializer.d.ts +0 -47
- package/lib/types/shared/SimpleDeterministicSerializer.d.ts +0 -7
- package/lib/types/shared/constants.d.ts +0 -35
- package/lib/types/shared/decorators.d.ts +0 -81
- package/lib/types/shared/erc20/erc20-constants.d.ts +0 -25
- package/lib/types/shared/erc20/index.d.ts +0 -1
- package/lib/types/shared/errors.d.ts +0 -140
- package/lib/types/shared/events.d.ts +0 -37
- package/lib/types/shared/fabric-types.d.ts +0 -32
- package/lib/types/shared/index.d.ts +0 -21
- package/lib/types/shared/interfaces/Checkable.d.ts +0 -23
- package/lib/types/shared/interfaces/index.d.ts +0 -1
- package/lib/types/shared/math.d.ts +0 -34
- package/lib/types/shared/model/FabricBaseModel.d.ts +0 -7
- package/lib/types/shared/model/FabricIdentifiedBaseModel.d.ts +0 -7
- package/lib/types/shared/model/Identity.d.ts +0 -42
- package/lib/types/shared/model/IdentityCredentials.d.ts +0 -41
- package/lib/types/shared/model/index.d.ts +0 -4
- package/lib/types/shared/overrides/Model.d.ts +0 -22
- package/lib/types/shared/overrides/index.d.ts +0 -2
- package/lib/types/shared/overrides/overrides.d.ts +0 -1
- package/lib/types/shared/types.d.ts +0 -125
- package/lib/types/version.d.ts +0 -2
package/lib/cjs/version.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PACKAGE_NAME = exports.VERSION = void 0;
|
|
4
4
|
const decoration_1 = require("@decaf-ts/decoration");
|
|
5
|
-
exports.VERSION = "0.
|
|
5
|
+
exports.VERSION = "0.11.0";
|
|
6
6
|
exports.PACKAGE_NAME = "@decaf-ts/for-fabric";
|
|
7
7
|
decoration_1.Metadata.registerLibrary(exports.PACKAGE_NAME, exports.VERSION);
|
|
8
8
|
//# sourceMappingURL=version.js.map
|
package/lib/esm/version.js
CHANGED
|
@@ -2,13 +2,13 @@ import "../shared/overrides";
|
|
|
2
2
|
import { type MangoQuery, type ViewResponse } from "@decaf-ts/for-couchdb";
|
|
3
3
|
import { Client } from "@grpc/grpc-js";
|
|
4
4
|
import { Model, type ModelConstructor, type Serializer } from "@decaf-ts/decorator-validation";
|
|
5
|
-
import { type PeerConfig, type SegregatedModel } from "../shared/types.
|
|
5
|
+
import { type PeerConfig, type SegregatedModel } from "../shared/types.d.cts";
|
|
6
6
|
import { Gateway, Network, Contract as Contrakt, GatewayError } from "@hyperledger/fabric-gateway";
|
|
7
7
|
import { BaseError, OperationKeys, type PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
8
8
|
import { Context, Adapter, type AdapterFlags, Repository, Statement, type PreparedStatement, Paginator, MaybeContextualArg, ContextualArgs, type PreparedModel, AllOperationKeys } from "@decaf-ts/core";
|
|
9
|
-
import { FabricClientDispatch } from "./FabricClientDispatch.
|
|
9
|
+
import { FabricClientDispatch } from "./FabricClientDispatch.d.cts";
|
|
10
10
|
import { type Constructor } from "@decaf-ts/decoration";
|
|
11
|
-
import { FabricClientFlags } from "./types.
|
|
11
|
+
import { FabricClientFlags } from "./types.d.cts";
|
|
12
12
|
/**
|
|
13
13
|
* @description Adapter for interacting with Hyperledger Fabric networks
|
|
14
14
|
* @summary The FabricAdapter extends CouchDBAdapter to provide a seamless interface for interacting with Hyperledger Fabric networks.
|
|
@@ -2,13 +2,13 @@ import "../shared/overrides";
|
|
|
2
2
|
import { type MangoQuery, type ViewResponse } from "@decaf-ts/for-couchdb";
|
|
3
3
|
import { Client } from "@grpc/grpc-js";
|
|
4
4
|
import { Model, type ModelConstructor, type Serializer } from "@decaf-ts/decorator-validation";
|
|
5
|
-
import { type PeerConfig, type SegregatedModel } from "../shared/types.
|
|
5
|
+
import { type PeerConfig, type SegregatedModel } from "../shared/types.d.mts";
|
|
6
6
|
import { Gateway, Network, Contract as Contrakt, GatewayError } from "@hyperledger/fabric-gateway";
|
|
7
7
|
import { BaseError, OperationKeys, type PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
8
8
|
import { Context, Adapter, type AdapterFlags, Repository, Statement, type PreparedStatement, Paginator, MaybeContextualArg, ContextualArgs, type PreparedModel, AllOperationKeys } from "@decaf-ts/core";
|
|
9
|
-
import { FabricClientDispatch } from "./FabricClientDispatch.
|
|
9
|
+
import { FabricClientDispatch } from "./FabricClientDispatch.d.mts";
|
|
10
10
|
import { type Constructor } from "@decaf-ts/decoration";
|
|
11
|
-
import { FabricClientFlags } from "./types.
|
|
11
|
+
import { FabricClientFlags } from "./types.d.mts";
|
|
12
12
|
/**
|
|
13
13
|
* @description Adapter for interacting with Hyperledger Fabric networks
|
|
14
14
|
* @summary The FabricAdapter extends CouchDBAdapter to provide a seamless interface for interacting with Hyperledger Fabric networks.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Adapter, ContextualArgs, Dispatch, EventIds, Context } from "@decaf-ts/core";
|
|
2
2
|
import { Client } from "@grpc/grpc-js";
|
|
3
|
-
import { FabricClientAdapter } from "./FabricClientAdapter.
|
|
3
|
+
import { FabricClientAdapter } from "./FabricClientAdapter.d.cts";
|
|
4
4
|
import { BulkCrudOperationKeys, OperationKeys } from "@decaf-ts/db-decorators";
|
|
5
5
|
import { Constructor } from "@decaf-ts/decoration";
|
|
6
|
-
import { FabricClientFlags } from "./types.
|
|
6
|
+
import { FabricClientFlags } from "./types.d.cts";
|
|
7
7
|
/**
|
|
8
8
|
* @description Event dispatcher for Hyperledger Fabric chaincode events
|
|
9
9
|
* @summary Listens for and processes events emitted by Fabric chaincode, dispatching them to registered observers
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Adapter, ContextualArgs, Dispatch, EventIds, Context } from "@decaf-ts/core";
|
|
2
2
|
import { Client } from "@grpc/grpc-js";
|
|
3
|
-
import { FabricClientAdapter } from "./FabricClientAdapter.
|
|
3
|
+
import { FabricClientAdapter } from "./FabricClientAdapter.d.mts";
|
|
4
4
|
import { BulkCrudOperationKeys, OperationKeys } from "@decaf-ts/db-decorators";
|
|
5
5
|
import { Constructor } from "@decaf-ts/decoration";
|
|
6
|
-
import { FabricClientFlags } from "./types.
|
|
6
|
+
import { FabricClientFlags } from "./types.d.mts";
|
|
7
7
|
/**
|
|
8
8
|
* @description Event dispatcher for Hyperledger Fabric chaincode events
|
|
9
9
|
* @summary Listens for and processes events emitted by Fabric chaincode, dispatching them to registered observers
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MaybeContextualArg, Paginator, PreparedStatement, SerializedPage } from "@decaf-ts/core";
|
|
2
2
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
3
|
import { Constructor } from "@decaf-ts/decoration";
|
|
4
|
-
import { FabricClientAdapter } from "./FabricClientAdapter.
|
|
4
|
+
import { FabricClientAdapter } from "./FabricClientAdapter.d.cts";
|
|
5
5
|
import { MangoQuery } from "@decaf-ts/for-couchdb";
|
|
6
6
|
export declare class FabricClientPaginator<M extends Model> extends Paginator<M, M[], MangoQuery> {
|
|
7
7
|
bookmark?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MaybeContextualArg, Paginator, PreparedStatement, SerializedPage } from "@decaf-ts/core";
|
|
2
2
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
3
|
import { Constructor } from "@decaf-ts/decoration";
|
|
4
|
-
import { FabricClientAdapter } from "./FabricClientAdapter.
|
|
4
|
+
import { FabricClientAdapter } from "./FabricClientAdapter.d.mts";
|
|
5
5
|
import { MangoQuery } from "@decaf-ts/for-couchdb";
|
|
6
6
|
export declare class FabricClientPaginator<M extends Model> extends Paginator<M, M[], MangoQuery> {
|
|
7
7
|
bookmark?: string;
|
|
@@ -2,7 +2,7 @@ import type { MaybeContextualArg } from "@decaf-ts/core";
|
|
|
2
2
|
import { ContextOf, DirectionLimitOffset, FlagsOf, ObserverHandler, OrderDirection, Repository, SerializedPage } from "@decaf-ts/core";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
import { Constructor } from "@decaf-ts/decoration";
|
|
5
|
-
import { type FabricClientAdapter } from "./FabricClientAdapter.
|
|
5
|
+
import { type FabricClientAdapter } from "./FabricClientAdapter.d.cts";
|
|
6
6
|
import { PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
7
7
|
/**
|
|
8
8
|
* @description Repository implementation for Fabric client operations
|
|
@@ -2,7 +2,7 @@ import type { MaybeContextualArg } from "@decaf-ts/core";
|
|
|
2
2
|
import { ContextOf, DirectionLimitOffset, FlagsOf, ObserverHandler, OrderDirection, Repository, SerializedPage } from "@decaf-ts/core";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
import { Constructor } from "@decaf-ts/decoration";
|
|
5
|
-
import { type FabricClientAdapter } from "./FabricClientAdapter.
|
|
5
|
+
import { type FabricClientAdapter } from "./FabricClientAdapter.d.mts";
|
|
6
6
|
import { PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
7
7
|
/**
|
|
8
8
|
* @description Repository implementation for Fabric client operations
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AdapterFlags, Condition, Context, MaybeContextualArg, PreparedStatement, Statement, StatementExecutor } from "@decaf-ts/core";
|
|
2
2
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import { FabricClientAdapter } from "./FabricClientAdapter.
|
|
3
|
+
import { FabricClientAdapter } from "./FabricClientAdapter.d.cts";
|
|
4
4
|
import { MangoQuery } from "@decaf-ts/for-couchdb";
|
|
5
|
-
import { FabricClientFlags } from "./types.
|
|
5
|
+
import { FabricClientFlags } from "./types.d.cts";
|
|
6
6
|
export declare class FabricClientStatement<M extends Model, R> extends Statement<M, FabricClientAdapter, R, MangoQuery> {
|
|
7
7
|
constructor(adapter: FabricClientAdapter, overrides?: Partial<AdapterFlags>);
|
|
8
8
|
protected squash(ctx: Context<FabricClientFlags>): PreparedStatement<any> | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AdapterFlags, Condition, Context, MaybeContextualArg, PreparedStatement, Statement, StatementExecutor } from "@decaf-ts/core";
|
|
2
2
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import { FabricClientAdapter } from "./FabricClientAdapter.
|
|
3
|
+
import { FabricClientAdapter } from "./FabricClientAdapter.d.mts";
|
|
4
4
|
import { MangoQuery } from "@decaf-ts/for-couchdb";
|
|
5
|
-
import { FabricClientFlags } from "./types.
|
|
5
|
+
import { FabricClientFlags } from "./types.d.mts";
|
|
6
6
|
export declare class FabricClientStatement<M extends Model, R> extends Statement<M, FabricClientAdapter, R, MangoQuery> {
|
|
7
7
|
constructor(adapter: FabricClientAdapter, overrides?: Partial<AdapterFlags>);
|
|
8
8
|
protected squash(ctx: Context<FabricClientFlags>): PreparedStatement<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./generation.
|
|
1
|
+
export * from "./generation.d.cts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./generation.
|
|
1
|
+
export * from "./generation.d.mts";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FabricClientFlags } from "./types.
|
|
1
|
+
import { FabricClientFlags } from "./types.d.cts";
|
|
2
2
|
export declare const DefaultFabricClientFlags: FabricClientFlags;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FabricClientFlags } from "./types.
|
|
1
|
+
import { FabricClientFlags } from "./types.d.mts";
|
|
2
2
|
export declare const DefaultFabricClientFlags: FabricClientFlags;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FabricClientRepository } from "../FabricClientRepository.
|
|
2
|
-
import { ERC20Token, ERC20Wallet } from "../../contracts/erc20/models.
|
|
1
|
+
import { FabricClientRepository } from "../FabricClientRepository.d.cts";
|
|
2
|
+
import { ERC20Token, ERC20Wallet } from "../../contracts/erc20/models.d.cts";
|
|
3
3
|
import { Model, Serializer } from "@decaf-ts/decorator-validation";
|
|
4
|
-
import { FabricClientAdapter } from "../FabricClientAdapter.
|
|
4
|
+
import { FabricClientAdapter } from "../FabricClientAdapter.d.cts";
|
|
5
5
|
import { ContextOf, ContextualArgs, EventIds, MaybeContextualArg } from "@decaf-ts/core";
|
|
6
6
|
import { BulkCrudOperationKeys, OperationKeys } from "@decaf-ts/db-decorators";
|
|
7
7
|
import { Constructor } from "@decaf-ts/decoration";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FabricClientRepository } from "../FabricClientRepository.
|
|
2
|
-
import { ERC20Token, ERC20Wallet } from "../../contracts/erc20/models.
|
|
1
|
+
import { FabricClientRepository } from "../FabricClientRepository.d.mts";
|
|
2
|
+
import { ERC20Token, ERC20Wallet } from "../../contracts/erc20/models.d.mts";
|
|
3
3
|
import { Model, Serializer } from "@decaf-ts/decorator-validation";
|
|
4
|
-
import { FabricClientAdapter } from "../FabricClientAdapter.
|
|
4
|
+
import { FabricClientAdapter } from "../FabricClientAdapter.d.mts";
|
|
5
5
|
import { ContextOf, ContextualArgs, EventIds, MaybeContextualArg } from "@decaf-ts/core";
|
|
6
6
|
import { BulkCrudOperationKeys, OperationKeys } from "@decaf-ts/db-decorators";
|
|
7
7
|
import { Constructor } from "@decaf-ts/decoration";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./FabricERC20ClientRepository.
|
|
1
|
+
export * from "./FabricERC20ClientRepository.d.cts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./FabricERC20ClientRepository.
|
|
1
|
+
export * from "./FabricERC20ClientRepository.d.mts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./id-extraction.
|
|
1
|
+
export * from "./id-extraction.d.cts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./id-extraction.
|
|
1
|
+
export * from "./id-extraction.d.mts";
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
* // Create a client adapter and submit a transaction
|
|
8
8
|
* // See also: {@link module:for-fabric~FabricClientAdapter} and {@link module:for-fabric~FabricClientDispatch}
|
|
9
9
|
*/
|
|
10
|
-
export * from "./collections/index.
|
|
11
|
-
export * from "./erc20/index.
|
|
12
|
-
export * from "./ids/index.
|
|
13
|
-
export * from "./indexes/index.
|
|
14
|
-
export * from "./services/index.
|
|
15
|
-
export * from "./constants.
|
|
16
|
-
export * from "./crypto.
|
|
17
|
-
export * from "./services/index.
|
|
18
|
-
export * from "./FabricClientDispatch.
|
|
19
|
-
export * from "./fabric-fs.
|
|
20
|
-
export * from "./FabricClientAdapter.
|
|
21
|
-
export * from "./FabricClientRepository.
|
|
22
|
-
export * from "../shared/types.
|
|
23
|
-
export * from "./utils.
|
|
10
|
+
export * from "./collections/index.d.cts";
|
|
11
|
+
export * from "./erc20/index.d.cts";
|
|
12
|
+
export * from "./ids/index.d.cts";
|
|
13
|
+
export * from "./indexes/index.d.cts";
|
|
14
|
+
export * from "./services/index.d.cts";
|
|
15
|
+
export * from "./constants.d.cts";
|
|
16
|
+
export * from "./crypto.d.cts";
|
|
17
|
+
export * from "./services/index.d.cts";
|
|
18
|
+
export * from "./FabricClientDispatch.d.cts";
|
|
19
|
+
export * from "./fabric-fs.d.cts";
|
|
20
|
+
export * from "./FabricClientAdapter.d.cts";
|
|
21
|
+
export * from "./FabricClientRepository.d.cts";
|
|
22
|
+
export * from "../shared/types.d.cts";
|
|
23
|
+
export * from "./utils.d.cts";
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
* // Create a client adapter and submit a transaction
|
|
8
8
|
* // See also: {@link module:for-fabric~FabricClientAdapter} and {@link module:for-fabric~FabricClientDispatch}
|
|
9
9
|
*/
|
|
10
|
-
export * from "./collections/index.
|
|
11
|
-
export * from "./erc20/index.
|
|
12
|
-
export * from "./ids/index.
|
|
13
|
-
export * from "./indexes/index.
|
|
14
|
-
export * from "./services/index.
|
|
15
|
-
export * from "./constants.
|
|
16
|
-
export * from "./crypto.
|
|
17
|
-
export * from "./services/index.
|
|
18
|
-
export * from "./FabricClientDispatch.
|
|
19
|
-
export * from "./fabric-fs.
|
|
20
|
-
export * from "./FabricClientAdapter.
|
|
21
|
-
export * from "./FabricClientRepository.
|
|
22
|
-
export * from "../shared/types.
|
|
23
|
-
export * from "./utils.
|
|
10
|
+
export * from "./collections/index.d.mts";
|
|
11
|
+
export * from "./erc20/index.d.mts";
|
|
12
|
+
export * from "./ids/index.d.mts";
|
|
13
|
+
export * from "./indexes/index.d.mts";
|
|
14
|
+
export * from "./services/index.d.mts";
|
|
15
|
+
export * from "./constants.d.mts";
|
|
16
|
+
export * from "./crypto.d.mts";
|
|
17
|
+
export * from "./services/index.d.mts";
|
|
18
|
+
export * from "./FabricClientDispatch.d.mts";
|
|
19
|
+
export * from "./fabric-fs.d.mts";
|
|
20
|
+
export * from "./FabricClientAdapter.d.mts";
|
|
21
|
+
export * from "./FabricClientRepository.d.mts";
|
|
22
|
+
export * from "../shared/types.d.mts";
|
|
23
|
+
export * from "./utils.d.mts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./generation.
|
|
1
|
+
export * from "./generation.d.cts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./generation.
|
|
1
|
+
export * from "./generation.d.mts";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import FabricCAServices from "fabric-ca-client";
|
|
2
2
|
import { IEnrollResponse } from "fabric-ca-client";
|
|
3
3
|
import { User } from "fabric-common";
|
|
4
|
-
import { CAConfig, Credentials } from "../../shared/types.
|
|
5
|
-
import { Identity } from "../../shared/model/Identity.
|
|
4
|
+
import { CAConfig, Credentials } from "../../shared/types.d.cts";
|
|
5
|
+
import { Identity } from "../../shared/model/Identity.d.cts";
|
|
6
6
|
import { AuthorizationError } from "@decaf-ts/core";
|
|
7
7
|
import { ConflictError } from "@decaf-ts/db-decorators";
|
|
8
|
-
import { CA_ROLE } from "./constants.
|
|
9
|
-
import { CertificateResponse, FabricIdentity, GetCertificatesRequest } from "../../shared/fabric-types.
|
|
8
|
+
import { CA_ROLE } from "./constants.d.cts";
|
|
9
|
+
import { CertificateResponse, FabricIdentity, GetCertificatesRequest } from "../../shared/fabric-types.d.cts";
|
|
10
10
|
import { LoggedClass } from "@decaf-ts/logging";
|
|
11
11
|
/**
|
|
12
12
|
* @description Hyperledger Fabric CA identity types.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import FabricCAServices from "fabric-ca-client";
|
|
2
2
|
import { IEnrollResponse } from "fabric-ca-client";
|
|
3
3
|
import { User } from "fabric-common";
|
|
4
|
-
import { CAConfig, Credentials } from "../../shared/types.
|
|
5
|
-
import { Identity } from "../../shared/model/Identity.
|
|
4
|
+
import { CAConfig, Credentials } from "../../shared/types.d.mts";
|
|
5
|
+
import { Identity } from "../../shared/model/Identity.d.mts";
|
|
6
6
|
import { AuthorizationError } from "@decaf-ts/core";
|
|
7
7
|
import { ConflictError } from "@decaf-ts/db-decorators";
|
|
8
|
-
import { CA_ROLE } from "./constants.
|
|
9
|
-
import { CertificateResponse, FabricIdentity, GetCertificatesRequest } from "../../shared/fabric-types.
|
|
8
|
+
import { CA_ROLE } from "./constants.d.mts";
|
|
9
|
+
import { CertificateResponse, FabricIdentity, GetCertificatesRequest } from "../../shared/fabric-types.d.mts";
|
|
10
10
|
import { LoggedClass } from "@decaf-ts/logging";
|
|
11
11
|
/**
|
|
12
12
|
* @description Hyperledger Fabric CA identity types.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AuthorizationError, ClientBasedService, Context, MaybeContextualArg } from "@decaf-ts/core";
|
|
2
2
|
import FabricCAServices, { AffiliationService, IdentityService, IEnrollResponse, IIdentityRequest, IRevokeRequest, IServiceResponse } from "fabric-ca-client";
|
|
3
|
-
import { CAConfig, Credentials } from "../../shared/types.
|
|
3
|
+
import { CAConfig, Credentials } from "../../shared/types.d.cts";
|
|
4
4
|
import { ConflictError } from "@decaf-ts/db-decorators";
|
|
5
|
-
import { CertificateResponse, FabricIdentity, GetCertificatesRequest } from "../../shared/fabric-types.
|
|
5
|
+
import { CertificateResponse, FabricIdentity, GetCertificatesRequest } from "../../shared/fabric-types.d.cts";
|
|
6
6
|
import { User } from "fabric-common";
|
|
7
|
-
import { CA_ROLE } from "./constants.
|
|
8
|
-
import { IKeyValueAttribute } from "./FabricEnrollmentService.
|
|
9
|
-
import { Identity } from "../../shared/index.
|
|
7
|
+
import { CA_ROLE } from "./constants.d.cts";
|
|
8
|
+
import { IKeyValueAttribute } from "./FabricEnrollmentService.d.cts";
|
|
9
|
+
import { Identity } from "../../shared/index.d.cts";
|
|
10
10
|
export declare class FabricIdentityService extends ClientBasedService<FabricCAServices, CAConfig> {
|
|
11
11
|
protected _user: User;
|
|
12
12
|
constructor();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AuthorizationError, ClientBasedService, Context, MaybeContextualArg } from "@decaf-ts/core";
|
|
2
2
|
import FabricCAServices, { AffiliationService, IdentityService, IEnrollResponse, IIdentityRequest, IRevokeRequest, IServiceResponse } from "fabric-ca-client";
|
|
3
|
-
import { CAConfig, Credentials } from "../../shared/types.
|
|
3
|
+
import { CAConfig, Credentials } from "../../shared/types.d.mts";
|
|
4
4
|
import { ConflictError } from "@decaf-ts/db-decorators";
|
|
5
|
-
import { CertificateResponse, FabricIdentity, GetCertificatesRequest } from "../../shared/fabric-types.
|
|
5
|
+
import { CertificateResponse, FabricIdentity, GetCertificatesRequest } from "../../shared/fabric-types.d.mts";
|
|
6
6
|
import { User } from "fabric-common";
|
|
7
|
-
import { CA_ROLE } from "./constants.
|
|
8
|
-
import { IKeyValueAttribute } from "./FabricEnrollmentService.
|
|
9
|
-
import { Identity } from "../../shared/index.
|
|
7
|
+
import { CA_ROLE } from "./constants.d.mts";
|
|
8
|
+
import { IKeyValueAttribute } from "./FabricEnrollmentService.d.mts";
|
|
9
|
+
import { Identity } from "../../shared/index.d.mts";
|
|
10
10
|
export declare class FabricIdentityService extends ClientBasedService<FabricCAServices, CAConfig> {
|
|
11
11
|
protected _user: User;
|
|
12
12
|
constructor();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRegisterRequest, IKeyValueAttribute } from "fabric-ca-client";
|
|
2
|
-
import { CA_ROLE } from "./constants.
|
|
2
|
+
import { CA_ROLE } from "./constants.d.cts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
export declare class RegistrationRequestBuilder extends Model {
|
|
5
5
|
affiliation: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRegisterRequest, IKeyValueAttribute } from "fabric-ca-client";
|
|
2
|
-
import { CA_ROLE } from "./constants.
|
|
2
|
+
import { CA_ROLE } from "./constants.d.mts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
export declare class RegistrationRequestBuilder extends Model {
|
|
5
5
|
affiliation: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./FabricEnrollmentService.
|
|
2
|
-
export * from "./RegistrationRequestBuilder.
|
|
3
|
-
export * from "./FabricIdentityService.
|
|
4
|
-
export * from "./constants.
|
|
1
|
+
export * from "./FabricEnrollmentService.d.cts";
|
|
2
|
+
export * from "./RegistrationRequestBuilder.d.cts";
|
|
3
|
+
export * from "./FabricIdentityService.d.cts";
|
|
4
|
+
export * from "./constants.d.cts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./FabricEnrollmentService.
|
|
2
|
-
export * from "./RegistrationRequestBuilder.
|
|
3
|
-
export * from "./FabricIdentityService.
|
|
4
|
-
export * from "./constants.
|
|
1
|
+
export * from "./FabricEnrollmentService.d.mts";
|
|
2
|
+
export * from "./RegistrationRequestBuilder.d.mts";
|
|
3
|
+
export * from "./FabricIdentityService.d.mts";
|
|
4
|
+
export * from "./constants.d.mts";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Identity, Signer } from "@hyperledger/fabric-gateway";
|
|
2
2
|
import { CryptoSetting, ICryptoSuite, User } from "fabric-common";
|
|
3
|
-
import { HSMOptions } from "../shared/types.
|
|
3
|
+
import { HSMOptions } from "../shared/types.d.cts";
|
|
4
4
|
/**
|
|
5
5
|
* @description Core utilities for interacting with files, crypto identities, and Fabric SDK helpers
|
|
6
6
|
* @summary Provides static helper methods to read credentials and keys from disk or raw content, construct Fabric gateway Identities and Signers, and perform common filesystem operations used by the Fabric client tooling.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Identity, Signer } from "@hyperledger/fabric-gateway";
|
|
2
2
|
import { CryptoSetting, ICryptoSuite, User } from "fabric-common";
|
|
3
|
-
import { HSMOptions } from "../shared/types.
|
|
3
|
+
import { HSMOptions } from "../shared/types.d.mts";
|
|
4
4
|
/**
|
|
5
5
|
* @description Core utilities for interacting with files, crypto identities, and Fabric SDK helpers
|
|
6
6
|
* @summary Provides static helper methods to read credentials and keys from disk or raw content, construct Fabric gateway Identities and Signers, and perform common filesystem operations used by the Fabric client tooling.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { Address } from "./Address.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.cts";
|
|
2
|
+
import { Address } from "./Address.d.cts";
|
|
3
3
|
export declare class AddressContract extends SerializedCrudContract<Address> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { Address } from "./Address.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.mts";
|
|
2
|
+
import { Address } from "./Address.d.mts";
|
|
3
3
|
export declare class AddressContract extends SerializedCrudContract<Address> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { Audit } from "./models/Audit.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.cts";
|
|
2
|
+
import { Audit } from "./models/Audit.d.cts";
|
|
3
3
|
export declare class AuditContract extends SerializedCrudContract<Audit> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { Audit } from "./models/Audit.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.mts";
|
|
2
|
+
import { Audit } from "./models/Audit.d.mts";
|
|
3
3
|
export declare class AuditContract extends SerializedCrudContract<Audit> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { Batch } from "./models/Batch.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.cts";
|
|
2
|
+
import { Batch } from "./models/Batch.d.cts";
|
|
3
3
|
export declare class BatchContract extends SerializedCrudContract<Batch> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { Batch } from "./models/Batch.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.mts";
|
|
2
|
+
import { Batch } from "./models/Batch.d.mts";
|
|
3
3
|
export declare class BatchContract extends SerializedCrudContract<Batch> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { Market } from "./models/Market.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.cts";
|
|
2
|
+
import { Market } from "./models/Market.d.cts";
|
|
3
3
|
export declare class MarketContract extends SerializedCrudContract<Market> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { Market } from "./models/Market.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.mts";
|
|
2
|
+
import { Market } from "./models/Market.d.mts";
|
|
3
3
|
export declare class MarketContract extends SerializedCrudContract<Market> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherAudit } from "./models/OtherAudit.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.cts";
|
|
2
|
+
import { OtherAudit } from "./models/OtherAudit.d.cts";
|
|
3
3
|
export declare class OtherAuditContract extends SerializedCrudContract<OtherAudit> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherAudit } from "./models/OtherAudit.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.mts";
|
|
2
|
+
import { OtherAudit } from "./models/OtherAudit.d.mts";
|
|
3
3
|
export declare class OtherAuditContract extends SerializedCrudContract<OtherAudit> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherBatchShared } from "./models/OtherBatchShared.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.cts";
|
|
2
|
+
import { OtherBatchShared } from "./models/OtherBatchShared.d.cts";
|
|
3
3
|
export declare class OtherBatchContract extends SerializedCrudContract<OtherBatchShared> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherBatchShared } from "./models/OtherBatchShared.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.mts";
|
|
2
|
+
import { OtherBatchShared } from "./models/OtherBatchShared.d.mts";
|
|
3
3
|
export declare class OtherBatchContract extends SerializedCrudContract<OtherBatchShared> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherMarket } from "./models/OtherMarket.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.cts";
|
|
2
|
+
import { OtherMarket } from "./models/OtherMarket.d.cts";
|
|
3
3
|
export declare class OtherMarketContract extends SerializedCrudContract<OtherMarket> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherMarket } from "./models/OtherMarket.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.mts";
|
|
2
|
+
import { OtherMarket } from "./models/OtherMarket.d.mts";
|
|
3
3
|
export declare class OtherMarketContract extends SerializedCrudContract<OtherMarket> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherProduct } from "./models/OtherProduct.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.cts";
|
|
2
|
+
import { OtherProduct } from "./models/OtherProduct.d.cts";
|
|
3
3
|
export declare class OtherProductContract extends SerializedCrudContract<OtherProduct> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherProduct } from "./models/OtherProduct.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.mts";
|
|
2
|
+
import { OtherProduct } from "./models/OtherProduct.d.mts";
|
|
3
3
|
export declare class OtherProductContract extends SerializedCrudContract<OtherProduct> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherProductImage } from "./models/OtherProductImage.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.cts";
|
|
2
|
+
import { OtherProductImage } from "./models/OtherProductImage.d.cts";
|
|
3
3
|
export declare class OtherProductImageContract extends SerializedCrudContract<OtherProductImage> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.
|
|
2
|
-
import { OtherProductImage } from "./models/OtherProductImage.
|
|
1
|
+
import { SerializedCrudContract } from "../contracts/crud/serialized-crud-contract.d.mts";
|
|
2
|
+
import { OtherProductImage } from "./models/OtherProductImage.d.mts";
|
|
3
3
|
export declare class OtherProductImageContract extends SerializedCrudContract<OtherProductImage> {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|