UNPKG

@govtechsg/open-attestation

Version:
21 lines (20 loc) 781 B
import { SchemaId } from "./document"; export interface WrapDocumentOption { externalSchemaId?: string; version?: SchemaId; } export interface WrapDocumentOptionV2 { externalSchemaId?: string; version?: SchemaId.v2; } /** * @deprecated will be removed in the next major release in favour of OpenAttestation v4.0 (more info: https://github.com/Open-Attestation/open-attestation/tree/alpha) */ export interface WrapDocumentOptionV3 { externalSchemaId?: string; version: SchemaId.v3; } /** * @deprecated will be removed in the next major release in favour of OpenAttestation v4.0 (more info: https://github.com/Open-Attestation/open-attestation/tree/alpha) */ export declare const isWrapDocumentOptionV3: (options: any) => options is WrapDocumentOptionV3;