Skip to content

Commit

Permalink
Merge pull request #36 from codenotary/fix/imports
Browse files Browse the repository at this point in the history
Fix organization imports
  • Loading branch information
user3232 authored Dec 10, 2022
2 parents b1b4299 + 4ce86e4 commit 125cdcf
Show file tree
Hide file tree
Showing 51 changed files with 68 additions and 108 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ jobs:
npm run build
- name: Run overview showcase
run: |
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.3.2
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.4.1
npx ts-node --esm ./immudb-node-showcase/src/overview-showcase.ts
docker stop immudb
- name: Run sql showcase
run: |
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.3.2
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.4.1
npx ts-node --esm ./immudb-node-showcase/src/sql-showcase.ts
docker stop immudb
- name: Run zSet showcase
run: |
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.3.2
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.4.1
npx ts-node --esm ./immudb-node-showcase/src/zSet-showcase.ts
docker stop immudb
2 changes: 1 addition & 1 deletion immudb-node-doc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codenotary/immudb-node-doc",
"version": "2.0.0-alpha.0",
"version": "2.0.0-alpha.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion immudb-node-grpcjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codenotary/immudb-node-grpcjs",
"version": "2.0.0-alpha.0",
"version": "2.0.0-alpha.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion immudb-node-pbjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codenotary/immudb-node-pbjs",
"version": "2.0.0-alpha.0",
"version": "2.0.0-alpha.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions immudb-node-showcase/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codenotary/immudb-node-showcase",
"version": "2.0.0-alpha.0",
"version": "2.0.0-alpha.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand All @@ -19,7 +19,7 @@
}
},
"dependencies": {
"@codenotary/immudb-node": "2.0.0-alpha.0",
"@codenotary/immudb-node": "2.0.0-alpha.1",
"long": "^5.2.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion immudb-node-showcase/src/overview-showcase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
verifyVerification,
types,
stream,
} from 'immudb-node'
} from '@codenotary/immudb-node'



Expand Down
2 changes: 1 addition & 1 deletion immudb-node-showcase/src/sql-showcase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
verifyVerification,
types,
stream,
} from 'immudb-node'
} from '@codenotary/immudb-node'



Expand Down
2 changes: 1 addition & 1 deletion immudb-node-showcase/src/zSet-showcase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
verifyVerification,
types,
stream,
} from 'immudb-node'
} from '@codenotary/immudb-node'



Expand Down
6 changes: 3 additions & 3 deletions immudb-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codenotary/immudb-node",
"version": "2.0.0-alpha.0",
"version": "2.0.0-alpha.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,8 +34,8 @@
"types": "dist/index.d.ts",
"dependencies": {
"@grpc/grpc-js": "^1.7.0",
"@codenotary/immudb-node-grpcjs": "2.0.0-alpha.0",
"@codenotary/immudb-node-pbjs": "2.0.0-alpha.0",
"@codenotary/immudb-node-grpcjs": "2.0.0-alpha.1",
"@codenotary/immudb-node-pbjs": "2.0.0-alpha.1",
"long": "^5.2.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type * as immu from '../types/index.js'
import * as igd from '../immu-grpc-db.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'



Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/delete-val-ref.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
import * as igt from '../immu-grpc-tx/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Long from 'long'
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
import * as ige from '../immu-grpc-entry/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/history.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
import * as ige from '../immu-grpc-entry/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/instance.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/scan-txes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
import Long from 'long'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/scan-val-ref-entries.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import { Buffer } from 'node:buffer'
import Long from 'long'
import * as grpcjs from '@grpc/grpc-js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/scan-zSet-entries.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
import * as ige from '../immu-grpc-entry/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/session.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as igs from '../immu-grpc-session/index.js'
import * as grpcjs from '@grpc/grpc-js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/set-ref-entry.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as igp from '../immu-grpc-precond/index.js'
import * as grpcjs from '@grpc/grpc-js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/set-val-entry.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/set-val-ref-zSet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as igp from '../immu-grpc-precond/index.js'
import * as igt from '../immu-grpc-tx/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/set-z-entry.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as igt from '../immu-grpc-tx/index.js'
import * as grpcjs from '@grpc/grpc-js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/sql-exec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/sql-query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/sql-tx.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/user.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as ip from '../immu-permission.js'
import * as grpcjs from '@grpc/grpc-js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/verification-get-sql-row.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/verification-get-tx.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/verification-get-val-ref.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/verification-set-ref.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/verification-set-val.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-api/verification-set-zSet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as grpcjs from '@grpc/grpc-js'
import * as immuGrpc from '../immu-grpc/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-client.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as api from './immu-api/index.js'
import * as session from './immu-session.js'
import * as grpcjs from '@grpc/grpc-js'
import * as igrpc from 'immudb-node-grpcjs'
import * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from './types/index.js'


Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc-db.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type * as immu from './types/index.js'
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'



Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc-entry/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import { kvmhToEntry } from './kvmh.js'

Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc-precond/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'


Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc-session/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import { Buffer } from 'node:buffer'
import type * as immu from '../types/index.js'

Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc-sql/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type * as immu from "../types/index.js";
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'



Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc-tx/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'


Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc-verification/entry.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import * as ige from '../immu-grpc-entry/index.js'
import * as ike from '../immu-kvm-entry/index.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc-verification/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import Long from 'long'
import { grpcDualProofToVerificationTx } from './tx.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc-verification/tx.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs';
import type * as igrpc from '@codenotary/immudb-node-grpcjs';
import type * as immu from '../types/index.js'
import * as binEntry from '../immu-entry/index.js'
import Long from 'long'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc/reader-call.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as igrpc from 'immudb-node-grpcjs'
import * as igrpc from '@codenotary/immudb-node-grpcjs'
import * as promis from '../grpc-promis/index.js'


Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc/unary-call.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import * as promis from '../grpc-promis/index.js'


Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-grpc/writer-call.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import * as promis from '../grpc-promis/index.js'


Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-kvm-entry/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'
import type * as immu from '../types/index.js'
import Long from 'long'

Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-stream-kv/execEntry.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as pb from 'immudb-node-pbjs'
import * as pb from '@codenotary/immudb-node-pbjs'
import { fromKVEntry } from './kvEntry.js'
import Long from 'long'
import * as buffer from '../buffer.js'
Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-stream-kv/kvEntryAndProof.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Buffer } from 'node:buffer'
import * as pbImmu from 'immudb-node-pbjs'
import * as pbImmu from '@codenotary/immudb-node-pbjs'
// import * as _pbImmu from '../pb/immu.js'
// import pbImmu = _pbImmu.immudb.schema

Expand Down
2 changes: 1 addition & 1 deletion immudb-node/src/immu-tx-core.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type * as immu from './types/index.js'
import type * as igrpc from 'immudb-node-grpcjs'
import type * as igrpc from '@codenotary/immudb-node-grpcjs'


export function fromGrpcTxHeader(
Expand Down
Loading

0 comments on commit 125cdcf

Please sign in to comment.