src/issuer/status-list/dto/update-status-list.dto.ts

Description

DTO for updating a status list's binding.

Extends

createZodDto(UpdateStatusListSchema)

Relationships

Used by

No results matching.

Index

Properties

Properties

Optional credentialConfigurationId
Type : string | null
Decorators :
@ApiPropertyOptional({description: 'Credential configuration ID to bind this list exclusively to. Set to null to make this a shared list.', example: 'org.iso.18013.5.1.mDL', nullable: true})

Credential configuration ID to bind this list exclusively to. Set to null to make this a shared list.

Optional keyChainId
Type : string | null
Decorators :
@ApiPropertyOptional({description: 'Key chain ID to use for signing. Set to null to use the tenant's default StatusList key chain.', example: 'my-status-list-keychain', nullable: true})

Key chain ID to use for signing this status list's JWT. Set to null to use the tenant's default StatusList key chain.

import { ApiPropertyOptional } from "@nestjs/swagger";
import { createZodDto } from "nestjs-zod";
import { UpdateStatusListSchema } from "./status-list.schema";

/**
 * DTO for updating a status list's binding.
 */
export class UpdateStatusListDto extends createZodDto(UpdateStatusListSchema) {
    /**
     * Credential configuration ID to bind this list exclusively to.
     * Set to null to make this a shared list.
     */
    @ApiPropertyOptional({
        description:
            "Credential configuration ID to bind this list exclusively to. Set to null to make this a shared list.",
        example: "org.iso.18013.5.1.mDL",
        nullable: true,
    })
    credentialConfigurationId?: string | null;

    /**
     * Key chain ID to use for signing this status list's JWT.
     * Set to null to use the tenant's default StatusList key chain.
     */
    @ApiPropertyOptional({
        description:
            "Key chain ID to use for signing. Set to null to use the tenant's default StatusList key chain.",
        example: "my-status-list-keychain",
        nullable: true,
    })
    keyChainId?: string | null;
}

results matching ""

    No results matching ""