Nanoseconds Produce Minutes

    apollo-engine-reporting-protobuf
    TypeScript icon, indicating that this package has built-in type declarations

    0.5.2 • Public • Published

    apollo-engine-reporting-protobuf

    Note: The Apollo Graph Manager (previously, Apollo Engine) reporting API is subject to change. We strongly encourage developers to contact Apollo Graph Manager support to discuss their use case prior to building their own reporting agent using this module.

    This module provides JavaScript/TypeScript Protocol buffer definitions for the Apollo Graph Manager reporting API. These definitions are generated for consumption from the reports.proto file which is defined internally within Apollo.

    Development

    Note: Due to a dependency on Unix tools (e.g. bash, grep, etc.), the development of this module requires a Unix system. There is no reason why this can't be avoided, the time just hasn't been taken to make those changes. We'd happily accept a PR which makes the appropriate changes!

    Currently, this package generates a majority of its code with protobufjs based on the reports.proto file. The output is generated with the prepare npm script.

    The root of the repository provides the devDependencies necessary to build these definitions (e.g. pbjs, pbts, protobuf, etc.) and the prepare npm script is invoked programmatically via the monorepo tooling (e.g. Lerna) thanks to this module's postinstall script. Therefore, when making changes to this module, npx lerna run prepare should be run from the root of this monorepo in order to update the definitions in this module.

    Install

    npm i apollo-engine-reporting-protobuf

    DownloadsWeekly Downloads

    127,292

    Version

    0.5.2

    License

    MIT

    Unpacked Size

    527 kB

    Total Files

    12

    Last publish

    Collaborators

    • apollo-bot