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

Entity

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

A Datastore data object. Must not exceed 1 MiB - 4 bytes.

interface Entity {
key?: Key;
properties?: {
[key: string]: Value;
}
;
}

§Properties

§
key?: Key
[src]

The entity's key. An entity must have a key, unless otherwise documented (for example, an entity in Value.entity_value may have no key). An entity's kind is its key path's last element's kind, or null if it has no key.

§
properties?: {
[key: string]: Value;
}
[src]

The entity's properties. The map's keys are property names. A property name matching regex __.*__ is reserved. A reserved property name is forbidden in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.