Skip to content

Commit 7a3b6de

Browse files
Merge branch 'master' into master
2 parents 4968c78 + 9384c24 commit 7a3b6de

36 files changed

+1084
-3206
lines changed

.github/workflows/issue.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Labeling new issue
2+
on:
3+
issues:
4+
types: ['opened']
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: Renato66/auto-label@v2
10+
with:
11+
repo-token: ${{ secrets.GITHUB_TOKEN }}
12+
ignore-comments: true
13+
default-labels: '["triage"]'

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package-lock.json
22
docs/api/*.json
3-
3+
docs/api/local_doc
44
.vscode
55

66
local_test

Contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to Terminus Client
1+
# Contributing to TerminusDB JS Client
22

33
Thanks for your interest in contributing to Terminus Client. To get started, fork this repo and follow the [instruction setting up dev environment](#setting-up-dev-environment). If you don't have idea where to start, you can look for [`good first issue`](https://github.com/terminusdb/terminus-client/contribute) or the `help wanted` label at issues. All pull requests should follow the [Pull Request Format Guideline](#pull-request-format-guideline) and pull requests (PR) that involving coding should come with [tests](#writing-tests-and-testing) and [documentation](#writing-documentation). **All pull request should be made towards `dev` branch**
44

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Promise based terminus client for the browser and node.js
77

88
## Requirements
99

10-
- [TerminusDB](https://github.com/terminusdb/terminusdb-server)
10+
- [TerminusDB](https://github.com/terminusdb/terminusdb)
1111
- [NodeJS 8.1.4+](https://nodejs.org/en/)
1212

1313
## Installation
@@ -46,7 +46,7 @@ Download the terminusdb-client.min.js file from the /dist directory and save it
4646

4747
This example creates a simple Express.js server that will post an account to
4848
a database with the id "banker" and the default "admin" user with password "root"
49-
For the [full Documentation](https://terminusdb.com/docs/reference/js-client)
49+
For the [full Documentation](https://terminusdb.github.io/terminusdb-client-js)
5050

5151
```javascript
5252
const express = require("express");
@@ -124,13 +124,13 @@ const client = new TerminusClient.WOQLClient("https://127.0.0.1:6363/", {
124124

125125
## API
126126

127-
The API is documented at: https://terminusdb.com/docs/reference/js-client/core/#terminusdb-client-api
127+
The API is documented at: https://terminusdb.com/docs/terminusdb/#/reference/API
128128

129129
## Report Issues
130130

131131
If you have encounter any issues, please report it with your os and environment setup, version that you are using and a simple reproducible case.
132132

133-
If you encounter other questions, you can ask in our community [forum](https://community.terminusdb.com/) or [Slack channel](http://bit.ly/terminusdb-slack).
133+
If you encounter other questions, you can ask in our [Discord Server](https://discord.gg/hTU3XWSzuZ).
134134

135135
## Contribute
136136

@@ -142,4 +142,4 @@ Please check [Contributing.md](Contributing.md) for more information.
142142

143143
The APACHE 2.0 License
144144

145-
Copyright (c) 2019
145+
Copyright (c) 2019

docs/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,11 @@ const TerminusClient = require("@terminusdb/terminusdb-client");
5757

5858
// Connect and configure the TerminusClient
5959
const client = new TerminusClient.WOQLClient("https://127.0.0.1:6363/", {
60-
db: "banker",
60+
dbid: "banker",
6161
user: "admin",
6262
key: "root",
6363
});
64-
65-
//to change the starting settings
66-
client.db("banker01");
64+
client.db("banker");
6765
client.organization("admin");
6866

6967
async function postAccount() {
@@ -117,7 +115,7 @@ To initialize `TerminusDB client` with custom options use
117115
const TerminusClient = require("@terminusdb/terminusdb-client");
118116

119117
const client = new TerminusClient.WOQLClient("https://127.0.0.1:6363/", {
120-
id: "test_db",
118+
dbid: "test_db",
121119
user: "admin",
122120
key: "my_secret_key",
123121
});

docs/_sidebar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
- [Push](api/woqlClient.js?id=push)
1717
- [Fetch](api/woqlClient.js?id=fetch)
1818
- [Insert CSV](api/woqlClient.js?id=insert-csv)
19-
- [Update CSV](api/woqlClient.js?id=update-csv)
2019
- [Get CSV](api/woqlClient.js?id=get-csv)
20+
- [Update CSV](api/woqlClient.js?id=update-csv)
2121
- [Delete CSV](api/woqlClient.js?id=delete-csv)
2222
- [copy](api/woqlClient.js?id=copy)
2323
- [server](api/woqlClient.js?id=server)

docs/api/typedef.md

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

docs/api/woql.js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ Casts the value of Input to a new value of type Type and stores the result in Ca
10151015

10161016
**Example**
10171017
```js
1018-
cast("22/3/98", "xsd:dateTime", "v:time")
1018+
typecast("22/3/98", "xsd:dateTime", "v:time")
10191019
```
10201020

10211021
### order_by

0 commit comments

Comments
 (0)