@golemio/flow
TypeScript icon, indicating that this package has built-in type declarations

1.3.4 • Public • Published

This module is intended for use with Golemio services. Refer here for further information on usage, local development and more.

Installation

The APIs may be unstable. Therefore, we recommend to install this module as an exact version.

# Latest version
npm install --save-exact @golemio/flow@latest

# Development version
npm install --save-exact @golemio/flow@dev

Method refreshCubes

It is possible to send a custom AMQP message to the worker for this method, indicating the desired time range for which you want to update the data in the database.

There is interval size limit. Please, use intervals of up to 12 hours.

The format of the message content should be as follows:

{
    "from": "Sun Mar 21 2021 00:19:52 GMT+0100 (GMT+01:00)",
    "to": "Tue Mar 21 2021 12:19:52 GMT+0200 (GMT+02:00)"
}

or

{
    "from": 1625731200000,
    "to": 1625731200000
}

or an array:

[
    {
        "from": 1625695200000,
        "to": 1625696160000
    },
    {
        "from": 1625731200000,
        "to": 1625732160000
    }
]

Any new Date(value) parsable format is useable.

Readme

Keywords

Package Sidebar

Install

npm i @golemio/flow

Weekly Downloads

399

Version

1.3.4

License

MIT

Unpacked Size

583 kB

Total Files

111

Last publish

Collaborators

  • sinacek
  • benaktom
  • vlasaty
  • oict-robot