-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add 'Viewer' class disentangled from 'User' (#48)
* viewer refactor * edit release notes * merge baseatlasclass refactor * Update publish-docs.yml * organizations use fetchAttributes * add ellipsis linting * remove duplicate openapi types * fix import paths * Update index.ts * import consistency --------- Co-authored-by: Robert Lesser <[email protected]>
- Loading branch information
Showing
17 changed files
with
622 additions
and
392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Publish TSDoc to GitHub Pages | ||
|
||
permissions: | ||
contents: write | ||
actions: read | ||
checks: write | ||
deployments: write | ||
issues: write | ||
packages: read | ||
pull-requests: write | ||
statuses: write | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- docs | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Generate documentation | ||
run: npx typedoc | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ src/openapi.d.ts | |
etc/openapi.json | ||
private | ||
dist | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 1.3 | ||
|
||
about: | ||
- This is a codebase for the Typescript SDK of Nomic Atlas. Atlas is a web based service that allows users to store and interact with unstructure datasets. The SDK should be useful for developers who want to interact with the Atlas API in both Node and browser environments. | ||
|
||
pr_review: | ||
confidence_threshold: 0.7 | ||
rules: | ||
- "Code should be DRY (Don't Repeat Yourself)" | ||
- 'There should no secrets or credentials in the code' | ||
- 'Extremely Complicated Code Needs Comments' | ||
- 'Use Descriptive Variable and Constant Names' | ||
- "Requests to APIs must have error handling, they shouldn't solely just the network error" | ||
- 'Use retries when calling external API services' | ||
- "Don't log sensitive data" | ||
- 'Follow the Single Responsibility Principle' | ||
- 'Function and Method Naming Should Follow Consistent Patterns' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.