UNPKG

@decaf-ts/fabric-weaver

Version:
20 lines (19 loc) 629 B
import { FabricCAClientCommand } from "../../fabric/constants/fabric-ca-client"; import { FabricAccountType } from "../../fabric/constants/fabric-general"; export type EnrollmentType = FabricCAClientCommand.ENROLL | FabricCAClientCommand.REGISTER; export type EnrollmentRequest = { type: EnrollmentType; request: { url?: string; idName?: string; idSecret?: string; tlsCertfiles?: string; mspdir?: string; idType?: FabricAccountType; idAttrs?: string; home?: string; csrHosts?: string[]; }; copykey?: boolean; changeKeyName?: boolean; };