chandan-24 / harperive Goto Github PK
View Code? Open in Web Editor NEWA Node.Js client to connect HarperDB local or cloud database instance
Home Page: https://chandan-24.github.io/Harperive/
License: MIT License
A Node.Js client to connect HarperDB local or cloud database instance
Home Page: https://chandan-24.github.io/Harperive/
License: MIT License
Hello @chandan-24 I'm having a problem with a typescript related to harperive 2.0.1
node_modules/harperive/types/index.d.ts:105:31 - error TS2304: Cannot find name 'tansactionLogsOptions'.
105 readTransactionLog(options: tansactionLogsOptions): Promise<any>;
~~~~~~~~~~~~~~~~~~~~~
node_modules/harperive/types/index.d.ts:106:31 - error TS2304: Cannot find name 'tansactionLogsOptions'.
106 readTransactionLog(options: tansactionLogsOptions, cb: (error: any, response: responseData) => any): void;
~~~~~~~~~~~~~~~~~~~~~
node_modules/harperive/types/index.d.ts:266:14 - error TS2304: Cannot find name 'millisecondTime'.
266 timestamp: millisecondTime;
~~~~~~~~~~~~~~~
In the code, it is defined as:
export interface harperDbConfigOptions {
harperHost: string;
username: string;
password: string;
token: string;
schema: string;
}
This means all fields are required. However the website says that schema is optional and only one of {username + password} or {token} need to be provided. Right now, you get a typescript error if you try to omit any field.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.