ApiSchemasVariables
Variable: location
const location: object & Typed<{
accuracy?: number;
at: string;
lat: number;
lon: number;
}>;Defined in: packages/core/src/schemas/library/life.ts:67
Where someone is now, shared live: one per person, overwritten as they move.
Type Declaration
description
readonly description: "Where someone is now: one per person." = 'Where someone is now: one per person.';name
readonly name: "std.location" = 'std.location';rules
readonly rules: object;rules.onePer
readonly onePer: readonly ["@author"];schema
readonly schema: object;schema.properties
readonly properties: object;schema.properties.accuracy
readonly accuracy: object;schema.properties.accuracy.description
readonly description: "Metres" = 'Metres';schema.properties.accuracy.minimum
readonly minimum: 0 = 0;schema.properties.accuracy.type
readonly type: "number" = 'number';schema.properties.at
readonly at: object & object;Type Declaration
maxLength
maxLength: number = max;minLength?
minLength?: number = min;type
type: "string";x-kind
readonly "x-kind": "when";schema.properties.lat
readonly lat: object;schema.properties.lat.maximum
maximum: number = 90;schema.properties.lat.minimum
minimum: number = -90;schema.properties.lat.type
type: "number";schema.properties.lon
readonly lon: object;schema.properties.lon.maximum
maximum: number = 180;schema.properties.lon.minimum
minimum: number = -180;schema.properties.lon.type
type: "number";schema.required
readonly required: readonly ["lat", "lon", "at"];schema.type
readonly type: "object" = 'object';title
readonly title: "Location" = 'Location';