Skip to content

Commit f2d5141

Browse files
committed
Fix seo of root
1 parent 8276255 commit f2d5141

File tree

2 files changed

+29
-30
lines changed

2 files changed

+29
-30
lines changed

src/app/docs/usetdbgraphqlquery/page.md

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -48,81 +48,80 @@ media: []
4848
The following options are supported via the main options object passed to useTDBGraphqlQuery
4949

5050
* `limit : number`
51-
5251
* Optional
5352
* The initial state value for `limit`
53+
5454
* `start : number`
55-
5655
* Optional
5756
* The initial state value for `start`
57+
5858
* `tableConfigObj: Object`
59-
6059
* Optional
6160
* The table configuration object
61+
6262
* `hiddenColumns : Array`
63-
6463
* Optional
6564
* The initial state object for `hiddenColumnsArr`
66-
67-
## Instance Properties
68-
69-
The following properties are available on the table instance returned from useTDBGraphqlQuery
70-
65+
66+
## Instance Properties
67+
68+
The following properties are available on the table instance returned from useTDBGraphqlQuery
69+
70+
7171
* `state.loading : Bool`
72-
7372
* This is the current `loading` value, located on the state, if true the hook is doing a server call
73+
7474
* `state.error: Object|Bool`
75-
7675
* This is the current error reporting object from the server, located on the state, the starting value is false
76+
7777
* `state.limit: Number`
78-
7978
* This is set the limit clause to select a limited number of records, The starting value is 10. Using the `changeLimits` function will change the status of this property
79+
8080
* `state.start:Number`
81-
8281
* This is the pagination start value, pagination allows returning only a portion, rather than the whole, result set. The start value is 0. Use the `changeLimits` function to change the status of this property
82+
8383
* `state.queryFilters:Object`
84-
8584
* This is the query filter status, this value is used to fill the filter value in the GraphQL query variables. Use the `setAdvancedFilters` or `changeFilters` functions to change the status of this property
85+
8686
* `state.queryOrders:Object`
87-
8887
* This is the query orderBy status. Use this value to fill the orderBy value in the graphql query variables. Use the `changeOrders` function to change the status of this property
88+
8989
* `state.orderBy:Array` - This is the table orderBy status, transform this value to create the queryOrders object. Use the `changeOrders` function to change the status of this property
9090

9191
* `state.filterBy:Array`
92-
9392
* This is the table filter status, transform this value to create the queryFilters object. Use the `changeFilters` function to change the status of this property
93+
9494
* `state.rowCount:Number`
95-
9695
* This is the current number of records loaded
96+
9797
* `state.documentResults:Array`
98-
9998
* The successful GraphQL query fetch result data
99+
100100
* `state.extractedData:Array`
101-
102101
* The successful GraphQL query fetch result data formatted for the table
102+
103103
* `state.hiddenColumnsArr:Array`
104-
105104
* Store the table hiddenColumns list. If a column's ID is contained in this array, it will be hidden using the `setHiddenColumns` function
105+
106106
* `callGraphqlServer: Function(currentlimit:Number,currentstart:Number,queryOrders:Object,queryFilters:Object)`
107-
108107
* This function changes the `limit`, the `start` status, the `queryOrders`, and the `queryFilters` properties and calls the server with pagination, returning only a portion, rather than the whole, result.
108+
109109
* `changeLimits: Function(currentlimit:Number,currentstart:Number)`
110-
111110
* This function changes the `limit` and `start` status properties and calls the server with pagination, returning only a portion, rather than the whole, result.
111+
112112
* `changeOrders: Function(orderByArr:Array)`
113-
114113
* This function gets the graphqlTable orderByArr variable and transforms it in the GraphQL orderBy variables format.
115114
* Set the `queryOrders` and `orderBy` properties status to call the server with the current `queryOrders` and `queryFilters` status
116-
* `changeFilters: Function(filtersArr:Array)`
117-
115+
116+
* `changeFilters: Function(filtersArr:Array)`
118117
* This function gets the graphqlTable filtersArr variable and transforms it in the GraphQL filters variables format.
119118
* Set the `queryFilters` and `filterBy` properties status to call the server with the current `queryFilters` and `queryOrders` status
119+
120120
* `setAdvancedFilters: Function(advfilter:Object)`
121-
122121
* This gets the advfilter in the GraphQL filters variables format
123122
* Set the `queryFilters` reset the `filterBy` properties status to call the server with the current `queryFilters` and `queryOrders` status
123+
124124
* `setHiddenColumns: Function(id:string, checked:bool)`
125-
126125
* This function is called to add or remove a columns ID to the `hiddenColumns` status property
127126

128127
View the useTDBGraphqlQuery component integrated inside a dashboard here

src/app/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ const lexend = localFont({
2727

2828
export const metadata: Metadata = {
2929
title: {
30-
template: '%s - TerminusDB Documentation',
31-
default: 'TerminusDB - Git-for-data graph database for model-based hierarchical records.',
30+
template: '%s',
31+
default: 'TerminusDB, a git-for-data graph and document database',
3232
},
33-
description: 'TerminusDB provides Semantic Document Graph Infrastructure; with a model-based, in-memory, and distributed graph database for hierarchical records with a git-for-data collaboration model at its heart.',
33+
description: 'TerminusDB provides Semantic Document Graph Infrastructure; a model-based, in-memory, and distributed graph database with git-for-data collaboration',
3434
metadataBase: new URL('https://terminusdb.org'),
3535
alternates: {
3636
canonical: '/',

0 commit comments

Comments
 (0)