Socket
Socket
Sign inDemoInstall

@omnisci/omniscidb-thrift-ts-bindings

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@omnisci/omniscidb-thrift-ts-bindings

OmnisciDB Thrift TypeScript bindings


Version published
Maintainers
3
Created

Readme

Source

omniscidb-thrift-ts-bindings

OmnisciDB Thrift TypeScript bindings

How to update bindings

  • Install docker
  • Clone https://github.com/omnisci/omniscidb to your local
  • From the root folder of omniscidb run the following command: docker run -v $PWD:/data --user $(id -u):$(id -g) -it cspwizard/thrift:0.14.2 -r -gen js:ts,node,es6 -o /data /data/omnisci.thrift
  • This should have generated a folder gen-nodejs
  • There are 4 lines in OmniSci.d.ts that will have generated invalid TypeScript optional arguments ordering. Search for the following and just make them optional arguments:
    • file_type?: TFileType, create_params: TCreateParams -> file_type?: TFileType, create_params?: TCreateParams
    • first_n?: number, transport_method: TArrowTransport -> first_n?: number, transport_method?: TArrowTransport
  • Copy the contents of the /gen-nodejs folder into this repo's lib/thrift folder and commit those changes.

How to publish package to NPM

// TODO - write steps for package publishing

FAQs

Package last updated on 23 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc