Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PassConstraints

import type { PassConstraints } from "https://googleapis.deno.dev/v1/walletobjects:v1.ts";

Container for any constraints that may be placed on passes.

interface PassConstraints {
nfcConstraint?: "NFC_CONSTRAINT_UNSPECIFIED" | "BLOCK_PAYMENT" | "BLOCK_CLOSED_LOOP_TRANSIT"[];
screenshotEligibility?: "SCREENSHOT_ELIGIBILITY_UNSPECIFIED" | "ELIGIBLE" | "INELIGIBLE";
}

§Properties

§
nfcConstraint?: "NFC_CONSTRAINT_UNSPECIFIED" | "BLOCK_PAYMENT" | "BLOCK_CLOSED_LOOP_TRANSIT"[]
[src]

The NFC constraints for the pass.

§
screenshotEligibility?: "SCREENSHOT_ELIGIBILITY_UNSPECIFIED" | "ELIGIBLE" | "INELIGIBLE"
[src]

The screenshot eligibility for the pass.