Skip to main content
Version: 2.4



Type Aliases


Class<T>: new () => T

Type parameters

  • T

Type declaration

    • new (): T
    • Returns T


FollowRule: Property<number>


FunctionBrick: Brick

use Brick instead


InstanceTag: Tag | Entry


List<T>: T[] | (T extends CloudObject | CloudObject[] ? QueryResult<T> : never)

Type parameters

  • T


Operation: { model: string; object: string; properties?: Map<string, any>; type: CREATE } | { model: string; object: string; properties: Map<string, any>; type: UPDATE } | { model: string; object: string; type: DELETE } | { from: string; fromModel: string; relation: string; to: string; toModel: string; type: CREATE_RELATION } | { from: string; fromModel: string; relation: string; to: string; toModel: string; type: DELETE_RELATION }

Represents an operation that can be performed regarding data type instances.


ParsedPredicate: { name: IS; tags: string[] } | { caseSensitive: boolean; name: CONTAINS; property: string; value: string } | { name: EQUALS; property: string; value: any } | { name: INEQUALITY_OPERATOR; operator: string; property: string; strict: boolean; value: any } | { name: NOT; predicate: ParsedPredicate } | { caseSensitive: boolean; name: REGEX; pattern: RegExp; property: string }

Details for a predicate from the OLYMPE query API


SRPData: { login: string; salt: string; username: string; verifier: string }

Type declaration

  • login: string
  • salt: string
  • username: string
  • verifier: string


ServiceRequestType: { GET: any; PUBLISH: any; SEND: any; SUBSCRIBE: any }

Types of requests that can be received in a Service. This is used to know what method call on the request to answer the requester.

Type declaration

  • GET: any
  • PUBLISH: any
  • SEND: any
  • SUBSCRIBE: any


Source: PredefinedDataSource | string

When manipulating CloudObjects, sometimes it is required to manually set the data source of that object. Source determines where the object comes from: what data source is the owner of the object across the ecosystem.


Tag: string | HasTag | typeof CloudObject

A Tag can be either a string, a HasTag (CloudObject instance, Property, Relation, …) or the class constructor for a CloudObject


UserToken: { idpName: string; nonce: string; payload: Object; protocol: AuthProtocol; user: string; userTag: string }

Type declaration

  • idpName: string
  • nonce: string
  • payload: Object
  • protocol: AuthProtocol
  • user: string
  • userTag: string



Global variable, constructor of class Relation.