|
| 1 | +## Typedefs |
| 2 | + |
| 3 | +<dl> |
| 4 | +<dt><a href="#ResourceType">ResourceType</a> : <code>"commits"</code> | <code>"meta"</code> | <code>"branch"</code> | <code>"ref"</code> | <code>"repo"</code> | <code>"db"</code></dt> |
| 5 | +<dd></dd> |
| 6 | +<dt><a href="#GraphType">GraphType</a> : <code>"inference"</code> | <code>"schema"</code> | <code>"instance"</code></dt> |
| 7 | +<dd></dd> |
| 8 | +<dt><a href="#CredentialObj">CredentialObj</a> : <code>Object</code></dt> |
| 9 | +<dd></dd> |
| 10 | +<dt><a href="#ActionType">ActionType</a> : <code>'graph'</code> | <code>'db'</code> | <code>'clone'</code> | <code>'triples'</code> | <code>'woql'</code> | <code>'frame'</code> | <code>'fetch'</code> | <code>'pull'</code> | <code>'rebase'</code> | <code>'csv'</code> | <code>'branch'</code> | <code>'reset'</code> | <code>'push'</code></dt> |
| 11 | +<dd></dd> |
| 12 | +<dt><a href="#ParamsObj">ParamsObj</a> : <code>Object</code></dt> |
| 13 | +<dd></dd> |
| 14 | +<dt><a href="#RolesObj">RolesObj</a> : <code>Object</code></dt> |
| 15 | +<dd></dd> |
| 16 | +<dt><a href="#RepoType">RepoType</a> : <code>"local"</code> | <code>"remote"</code></dt> |
| 17 | +<dd></dd> |
| 18 | +<dt><a href="#DbDetails">DbDetails</a> : <code>Object</code></dt> |
| 19 | +<dd></dd> |
| 20 | +<dt><a href="#RemoteRepoDetails">RemoteRepoDetails</a> : <code>Object</code></dt> |
| 21 | +<dd><p>{remote: "origin", "remote_branch": "main", "author": "admin", "message": "message"}</p> |
| 22 | +</dd> |
| 23 | +<dt><a href="#CloneSourceDetails">CloneSourceDetails</a> : <code>Object</code></dt> |
| 24 | +<dd></dd> |
| 25 | +</dl> |
| 26 | + |
| 27 | +<a name="ResourceType"></a> |
| 28 | + |
| 29 | +## ResourceType : <code>"commits"</code> \| <code>"meta"</code> \| <code>"branch"</code> \| <code>"ref"</code> \| <code>"repo"</code> \| <code>"db"</code> |
| 30 | +<a name="GraphType"></a> |
| 31 | + |
| 32 | +## GraphType : <code>"inference"</code> \| <code>"schema"</code> \| <code>"instance"</code> |
| 33 | +<a name="CredentialObj"></a> |
| 34 | + |
| 35 | +## CredentialObj : <code>Object</code> |
| 36 | +**Properties** |
| 37 | + |
| 38 | +| Name | Type | Description | |
| 39 | +| --- | --- | --- | |
| 40 | +| type | <code>'basic'</code> \| <code>'jwt'</code> | the authorization type of an TerminusDB connection | |
| 41 | +| user | <code>string</code> \| <code>boolean</code> | the user id | I don't need the user with the jwt token | |
| 42 | +| key | <code>string</code> | the connection key | |
| 43 | + |
| 44 | +<a name="ActionType"></a> |
| 45 | + |
| 46 | +## ActionType : <code>'graph'</code> \| <code>'db'</code> \| <code>'clone'</code> \| <code>'triples'</code> \| <code>'woql'</code> \| <code>'frame'</code> \| <code>'fetch'</code> \| <code>'pull'</code> \| <code>'rebase'</code> \| <code>'csv'</code> \| <code>'branch'</code> \| <code>'reset'</code> \| <code>'push'</code> |
| 47 | +<a name="ParamsObj"></a> |
| 48 | + |
| 49 | +## ParamsObj : <code>Object</code> |
| 50 | +**Properties** |
| 51 | + |
| 52 | +| Name | Type | Description | |
| 53 | +| --- | --- | --- | |
| 54 | +| key | <code>string</code> | api key for basic auth | |
| 55 | +| user | <code>string</code> | basic auth user id | |
| 56 | +| [organization] | <code>string</code> | set organization to this id | |
| 57 | +| [db] | <code>string</code> | set cursor to this db | |
| 58 | +| [repo] | [<code>RepoType</code>](#RepoType) \| <code>string</code> | set cursor to this repo | |
| 59 | +| [branch] | <code>string</code> | set branch to this id | |
| 60 | +| [ref] | <code>string</code> | set commit ref | |
| 61 | +| [jwt] | <code>string</code> | jwt token | |
| 62 | +| [jwt_user] | <code>string</code> | jwt user id | |
| 63 | +| [default_branch_id] | <code>string</code> | set the default branch id | |
| 64 | + |
| 65 | +<a name="RolesObj"></a> |
| 66 | + |
| 67 | +## RolesObj : <code>Object</code> |
| 68 | +**Properties** |
| 69 | + |
| 70 | +| Name | Type | Description | |
| 71 | +| --- | --- | --- | |
| 72 | +| agent_name | <code>string</code> | the Authorization connection's type | |
| 73 | +| [database_name] | <code>string</code> | the user id | I don't need the user with the jwt token | |
| 74 | +| [organization_name] | <code>string</code> | the connection key | |
| 75 | +| [actions] | <code>array</code> | list of roles | |
| 76 | +| [invitation] | <code>string</code> | - | |
| 77 | + |
| 78 | +<a name="RepoType"></a> |
| 79 | + |
| 80 | +## RepoType : <code>"local"</code> \| <code>"remote"</code> |
| 81 | +<a name="DbDetails"></a> |
| 82 | + |
| 83 | +## DbDetails : <code>Object</code> |
| 84 | +**Properties** |
| 85 | + |
| 86 | +| Name | Type | Description | |
| 87 | +| --- | --- | --- | |
| 88 | +| [organization] | <code>string</code> | the db organization id | |
| 89 | +| id | <code>string</code> | The database identification name | |
| 90 | +| label | <code>string</code> | "Textual DB Name" | |
| 91 | +| [comment] | <code>string</code> | "Text description of DB" | |
| 92 | +| sharing | <code>string</code> | | |
| 93 | +| [icon] | <code>string</code> | The database's icon | |
| 94 | +| prefixes | <code>object</code> | {scm: "http://url.to.use/for/scm", doc: "http://url.to.use/for/doc"} | |
| 95 | +| [schema] | <code>boolean</code> | if set to true, a schema graph will be created | |
| 96 | + |
| 97 | +<a name="RemoteRepoDetails"></a> |
| 98 | + |
| 99 | +## RemoteRepoDetails : <code>Object</code> |
| 100 | +{remote: "origin", "remote_branch": "main", "author": "admin", "message": "message"} |
| 101 | + |
| 102 | +**Properties** |
| 103 | + |
| 104 | +| Name | Type | Description | |
| 105 | +| --- | --- | --- | |
| 106 | +| [remote] | <code>string</code> | remote server url | |
| 107 | +| remote_branch | <code>string</code> | remote branch name | |
| 108 | +| [author] | <code>string</code> | if it is undefined it get the current author | |
| 109 | +| [message] | <code>string</code> | the update commit message | |
| 110 | + |
| 111 | +<a name="CloneSourceDetails"></a> |
| 112 | + |
| 113 | +## CloneSourceDetails : <code>Object</code> |
| 114 | +**Properties** |
| 115 | + |
| 116 | +| Name | Type | Description | |
| 117 | +| --- | --- | --- | |
| 118 | +| remote_url | <code>string</code> | the remote db source url | |
| 119 | +| [label] | <code>string</code> | | |
| 120 | +| [comment] | <code>string</code> | | |
| 121 | + |
0 commit comments