Skip to content

Commit 0faa849

Browse files
authored
TSDoc + typing improvements + tweaks (#89)
* some fixes/work * some ttyping work * added tsdoc everyuwhere for the msot part * reset example astardbts versions * few more tests * minor uipdates to examples
1 parent cfcf437 commit 0faa849

File tree

113 files changed

+3431
-10806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+3431
-10806
lines changed

etc/astra-db-ts.api.md

Lines changed: 215 additions & 299 deletions
Large diffs are not rendered by default.

examples/browser/package-lock.json

Lines changed: 93 additions & 1592 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"vite": "^5.2.0"
1414
},
1515
"dependencies": {
16-
"@datastax/astra-db-ts": "file:../../datastax-astra-db-ts-2.0.0-prerelease.tgz",
16+
"@datastax/astra-db-ts": "^1.5.0",
1717
"events": "^3.3.0"
1818
}
1919
}

examples/browser/src/main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@ const app = document.querySelector<HTMLDivElement>('#app')!;
1010
app.innerHTML = '<p>Loading...</p>';
1111

1212
db.listCollections().then((collections) => {
13+
console.log(collections);
1314
app.innerHTML = `<code>${JSON.stringify(collections, null, 2)}</code>`;
15+
}).catch((error) => {
16+
console.error(error);
17+
app.innerHTML = `<p>${error.message}</p>`;
1418
});

examples/browser/src/vite-env.d.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)