Skip to content

Commit

Permalink
TSDoc + typing improvements + tweaks (#89)
Browse files Browse the repository at this point in the history
* some fixes/work

* some ttyping work

* added tsdoc everyuwhere for the msot part

* reset example astardbts versions

* few more tests

* minor uipdates to examples
  • Loading branch information
toptobes authored Dec 11, 2024
1 parent cfcf437 commit 0faa849
Show file tree
Hide file tree
Showing 113 changed files with 3,431 additions and 10,806 deletions.
514 changes: 215 additions & 299 deletions etc/astra-db-ts.api.md

Large diffs are not rendered by default.

1,685 changes: 93 additions & 1,592 deletions examples/browser/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"vite": "^5.2.0"
},
"dependencies": {
"@datastax/astra-db-ts": "file:../../datastax-astra-db-ts-2.0.0-prerelease.tgz",
"@datastax/astra-db-ts": "^1.5.0",
"events": "^3.3.0"
}
}
4 changes: 4 additions & 0 deletions examples/browser/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ const app = document.querySelector<HTMLDivElement>('#app')!;
app.innerHTML = '<p>Loading...</p>';

db.listCollections().then((collections) => {
console.log(collections);
app.innerHTML = `<code>${JSON.stringify(collections, null, 2)}</code>`;
}).catch((error) => {
console.error(error);
app.innerHTML = `<p>${error.message}</p>`;
});
10 changes: 0 additions & 10 deletions examples/browser/src/vite-env.d.ts

This file was deleted.

Loading

0 comments on commit 0faa849

Please sign in to comment.