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

Interaction

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

Represents an interaction between a user and an item.

interface Interaction {
interactionTime?: Date;
principal?: Principal;
type?: "UNSPECIFIED" | "VIEW" | "EDIT";
}

§Properties

§
interactionTime?: Date
[src]

The time when the user acted on the item. If multiple actions of the same type exist for a single user, only the most recent action is recorded.

§
principal?: Principal
[src]

The user that acted on the item.

§
type?: "UNSPECIFIED" | "VIEW" | "EDIT"
[src]