> For the complete documentation index, see [llms.txt](https://gl-docs.gitbook.io/zkpass/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gl-docs.gitbook.io/zkpass/zkpass-developers-guide/api-reference/typescript/type-aliases/types.md).

# Types

A collection of types used in the DVR module

### Table of contents

#### Types

* [PublicKeyOrKeysetEndpoint](#publickeyorkeysetendpoint)
* [ZkPassOutput](#zkpassoutput)
* [ZkPassProof](#zkpassproof)
* [VerifyZkPassProofResult](#verifyzkpassproofresult)

### Types

#### PublicKeyOrKeysetEndpoint

▸ **PublicKeyOrKeysetEndpoint**: [`PublicKey`](/zkpass/zkpass-developers-guide/api-reference/typescript/interfaces/interfaces.md#publickey) `|` [`KeysetEndpoint`](/zkpass/zkpass-developers-guide/api-reference/typescript/interfaces/interfaces.md#keysetendpoint)

A union type that can either be a PublicKey or KeysetEndpoint.

***

#### ZkPassOutput

▸ **ZkPassOutput**: `{ [key: string]: string | number | boolean }`

Key-value pairs representing the output data from a zkPass operation.

***

#### ZkPassProof

▸ **ZkPassProof**: `Object`

Properties representing a zkPass proof.

| Name                       | Type     | Description                       |
| -------------------------- | -------- | --------------------------------- |
| `zkproof`                  | `string` | The zkPass proof string           |
| `dvr_title`                | `string` | Title of the DVR                  |
| `dvr_id`                   | `string` | Identifier of the DVR             |
| `dvr_digest`               | `string` | Digest of the DVR                 |
| `user_data_verifying_keys` | `object` | Keys used for verifying user data |
| `dvr_verifying_key`        | `object` | Key used for verifying DVR        |
| `time_stamp`               | `number` | Timestamp of the proof generation |

***

#### VerifyZkPassProofResult

▸ **VerifyZkPassProofResult**: `Object`

Result of verifying a zkPass proof.

<table><thead><tr><th>Name</th><th width="247">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>output</code></td><td><a href="#zkpassoutput"><code>ZkPassOutput</code></a></td><td>The output data</td></tr><tr><td><code>zkpass_proof</code></td><td><a href="#zkpassproof"><code>ZkPassProof</code></a></td><td>The zkPass proof data</td></tr></tbody></table>
