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

Version

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

Version contains structured information about the version of a package.

interface Version {
epoch?: number;
fullName?: string;
inclusive?: boolean;
kind?:
| "VERSION_KIND_UNSPECIFIED"
| "NORMAL"
| "MINIMUM"
| "MAXIMUM";
name?: string;
revision?: string;
}

§Properties

§
epoch?: number
[src]

Used to correct mistakes in the version numbering scheme.

§
fullName?: string
[src]

Human readable version string. This string is of the form :- and is only set when kind is NORMAL.

§
inclusive?: boolean
[src]

Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.

§
kind?: "VERSION_KIND_UNSPECIFIED" | "NORMAL" | "MINIMUM" | "MAXIMUM"
[src]

Required. Distinguishes between sentinel MIN/MAX versions and normal versions.

§
name?: string
[src]

Required only when version kind is NORMAL. The main part of the version name.

§
revision?: string
[src]

The iteration of the package build from the above version.