Skip to content

Commit 9c10b71

Browse files
committed
update version
1 parent 099934a commit 9c10b71

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const bankerSchema = [
100100
"@type":"Class",
101101
"@id":"Person",
102102
"@key":{
103-
"@type":"Hash",
103+
"@type":"Lexical",
104104
"@fields":[
105105
"name"
106106
]

docs/_sidebar.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@
6060
- [getPrefixes](api/woqlClient.js?id=getPrefixes)
6161
- [getUserOrganizations](api/woqlClient.js?id=getUserOrganizations)
6262
- [userOrganizations](api/woqlClient.js?id=userOrganizations)
63-
- [getDiff](api/woqlClient.js?id=getDiff)
63+
- [getJSONDiff](api/woqlClient.js?id=getJSONDiff)
6464
- [getVersionObjectDiff](api/woqlClient.js?id=getVersionObjectDiff)
6565
- [getVersionDiff](api/woqlClient.js?id=getVersionDiff)
66+
- [apply](api/woqlClient.js?id=apply)
6667
- [patch](api/woqlClient.js?id=patch)
6768
- [WOQL](api/woql.js?id=WOQL)
6869
- [using](api/woql.js?id=using)
@@ -169,6 +170,7 @@
169170
- [setApiToken](api/accessControl.js?id=setApiToken)
170171
- [setApiKey](api/accessControl.js?id=setApiKey)
171172
- [getAPIUrl](api/accessControl.js?id=getAPIUrl)
173+
- [customHeaders](api/accessControl.js?id=customHeaders)
172174
- [getAllOrganizations](api/accessControl.js?id=getAllOrganizations)
173175
- [createOrganization](api/accessControl.js?id=createOrganization)
174176
- [deleteOrganization](api/accessControl.js?id=deleteOrganization)

docs/api/woqlclient.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ Get the patch of difference between two documents.
11321132
| --- | --- | --- |
11331133
| before | <code>object</code> | The current state of JSON document |
11341134
| after | <code>object</code> | The updated state of JSON document |
1135-
| [options] | <code>object</code> | {keep:{}} Options to send to the diff endpoint. The diff api outputs the changes between the input (branches or commits), in options you can list the properties that you would like to see in the diff result in any case. |
1135+
| [options] | <code>object</code> | {keep:{}} Options to send to the diff endpoint. The diff api outputs the changes between the input, in options you can list the properties that you would like to see in the diff result in any case. |
11361136
11371137
**Example**
11381138
```javascript
@@ -1157,8 +1157,8 @@ Get the patch of difference between two documents.
11571157
| --- | --- | --- |
11581158
| dataVersion | <code>string</code> | The version from which to compare the object |
11591159
| jsonObject | <code>object</code> | The updated state of JSON document |
1160-
| id | <code>string</code> | The object id to be diffed |
1161-
| [options] | <code>object</code> | {keep:{}} Options to send to the diff endpoint the diff api outputs the changes between the input (branches or commits), but you can list the properties that you would like to see in the diff result in any case. |
1160+
| id | <code>string</code> | The document id to be diffed |
1161+
| [options] | <code>object</code> | {keep:{}} Options to send to the diff endpoint the diff api outputs the changes between the input, but you can list the properties that you would like to see in the diff result in any case. |
11621162
11631163
**Example**
11641164
```javascript
@@ -1244,7 +1244,7 @@ Patch the difference between two documents.
12441244
12451245
**Example**
12461246
```javascript
1247-
let diffPatch = await client.getDiff(
1247+
let diffPatch = await client.getJSONDiff(
12481248
{ "@id": "Person/Jane", "@type": "Person", name: "Jane" },
12491249
{ "@id": "Person/Jane", "@type": "Person", name: "Janine" }
12501250
);

0 commit comments

Comments
 (0)