Skip to content

Commit

Permalink
Update lvksh/logger and update LogMethod Type (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
svemat01 authored Jul 15, 2022
1 parent f5ed213 commit f60a445
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"pub": "yarn build && yarn publish --access public"
},
"dependencies": {
"@lvksh/logger": "^1.4.4",
"@lvksh/logger": "^1.6.3",
"cassandra-driver": "^4.6.3"
}
}
4 changes: 3 additions & 1 deletion src/ScylloClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LogMethod } from '@lvksh/logger';
import { LogMethodInput } from '@lvksh/logger';
import {
Client,
DseClientOptions as CassandraConfig,
Expand All @@ -23,6 +23,8 @@ import { fromScyllo, ValidDataType } from './ScylloTranslator';
export type DatabaseObject = { [key: string]: ValidDataType } | typeof Object;
export type TableScheme = { [key: string]: DatabaseObject };

export type LogMethod = (...input: LogMethodInput[]) => unknown;

export type TableCreateLayout<F> = {
[key in keyof F]: ColumnType;
};
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -528,10 +528,10 @@
"@types/yargs" "^16.0.0"
chalk "^4.0.0"

"@lvksh/logger@^1.4.4":
version "1.4.4"
resolved "https://registry.yarnpkg.com/@lvksh/logger/-/logger-1.4.4.tgz#7da2af2041f345a38830f85bbdd6b156953d597f"
integrity sha512-s5bVsylHOB8Pj/r+Su25n1WMRD1vyl/HFQ5Hd4Q67NgsnjIshukXTReWYO9p9ShOEgyoqEfurFmnMq4G5pDzcQ==
"@lvksh/logger@^1.6.3":
version "1.6.3"
resolved "https://registry.yarnpkg.com/@lvksh/logger/-/logger-1.6.3.tgz#c601be2a07528b858f6807d99b3ef3f66f058ee8"
integrity sha512-xt7s3k9Dk7oaUH1GxU//vGdKftJ1UZkurwXJ189aB6CxY0cy6ATOSti5iTDh5BMsvEcT6Hk5GL/dF+HaZl+pQA==

"@nodelib/[email protected]":
version "2.1.5"
Expand Down

0 comments on commit f60a445

Please sign in to comment.