@@ -53,7 +53,7 @@ The SettleMint Hasura SDK provides a seamless way to interact with Hasura GraphQ
5353
5454> ** createHasuraClient** \< ` Setup ` \> (` options ` , ` clientOptions? ` , ` logger? ` ): ` object `
5555
56- Defined in: [ sdk/hasura/src/hasura.ts:83] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L83 )
56+ Defined in: [ sdk/hasura/src/hasura.ts:83] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L83 )
5757
5858Creates a Hasura GraphQL client with proper type safety using gql.tada
5959
@@ -85,8 +85,8 @@ An object containing:
8585
8686| Name | Type | Defined in |
8787| ------ | ------ | ------ |
88- | ` client ` | ` GraphQLClient ` | [ sdk/hasura/src/hasura.ts:88] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L88 ) |
89- | ` graphql ` | ` initGraphQLTada ` \< ` Setup ` \> | [ sdk/hasura/src/hasura.ts:89] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L89 ) |
88+ | ` client ` | ` GraphQLClient ` | [ sdk/hasura/src/hasura.ts:88] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L88 ) |
89+ | ` graphql ` | ` initGraphQLTada ` \< ` Setup ` \> | [ sdk/hasura/src/hasura.ts:89] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L89 ) |
9090
9191##### Throws
9292
@@ -144,7 +144,7 @@ const result = await client.request(query);
144144
145145> ** createHasuraMetadataClient** (` options ` , ` logger? ` ): \< ` T ` \> (` query ` ) => ` Promise ` \<\{ ` data ` : ` T ` ; ` ok ` : ` boolean ` ; \}\>
146146
147- Defined in: [ sdk/hasura/src/hasura.ts:132] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L132 )
147+ Defined in: [ sdk/hasura/src/hasura.ts:132] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L132 )
148148
149149Creates a Hasura Metadata client
150150
@@ -210,7 +210,7 @@ const result = await client({
210210
211211> ** createPostgresPool** (` databaseUrl ` ): ` Pool `
212212
213- Defined in: [ sdk/hasura/src/postgres.ts:107] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/postgres.ts#L107 )
213+ Defined in: [ sdk/hasura/src/postgres.ts:107] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/postgres.ts#L107 )
214214
215215Creates a PostgreSQL connection pool with error handling and retry mechanisms
216216
@@ -253,7 +253,7 @@ try {
253253
254254> ** trackAllTables** (` databaseName ` , ` client ` , ` tableOptions ` ): ` Promise ` \<\{ ` messages ` : ` string ` [ ] ; ` result ` : ` "success" ` \| ` "no-tables" ` ; \}\>
255255
256- Defined in: [ sdk/hasura/src/utils/track-all-tables.ts:30] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/utils/track-all-tables.ts#L30 )
256+ Defined in: [ sdk/hasura/src/utils/track-all-tables.ts:30] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/utils/track-all-tables.ts#L30 )
257257
258258Track all tables in a database
259259
@@ -300,26 +300,26 @@ if (result.result === "success") {
300300
301301> ** ClientOptions** = ` object `
302302
303- Defined in: [ sdk/hasura/src/hasura.ts:28] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L28 )
303+ Defined in: [ sdk/hasura/src/hasura.ts:28] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L28 )
304304
305305Type definition for client options derived from the ClientOptionsSchema.
306306
307307##### Type Declaration
308308
309309| Name | Type | Default value | Defined in |
310310| ------ | ------ | ------ | ------ |
311- | <a id =" accesstoken " ></a > ` accessToken? ` | ` string ` | - | [ sdk/hasura/src/hasura.ts:20] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L20 ) |
312- | <a id =" adminsecret " ></a > ` adminSecret ` | ` string ` | - | [ sdk/hasura/src/hasura.ts:21] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L21 ) |
313- | <a id =" cache " ></a > ` cache? ` | ` "default" ` \| ` "force-cache" ` \| ` "no-cache" ` \| ` "no-store" ` \| ` "only-if-cached" ` \| ` "reload" ` | - | [ sdk/hasura/src/hasura.ts:22] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L22 ) |
314- | <a id =" instance " ></a > ` instance ` | ` string ` | ` UrlOrPathSchema ` | [ sdk/hasura/src/hasura.ts:19] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L19 ) |
311+ | <a id =" accesstoken " ></a > ` accessToken? ` | ` string ` | - | [ sdk/hasura/src/hasura.ts:20] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L20 ) |
312+ | <a id =" adminsecret " ></a > ` adminSecret ` | ` string ` | - | [ sdk/hasura/src/hasura.ts:21] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L21 ) |
313+ | <a id =" cache " ></a > ` cache? ` | ` "default" ` \| ` "force-cache" ` \| ` "no-cache" ` \| ` "no-store" ` \| ` "only-if-cached" ` \| ` "reload" ` | - | [ sdk/hasura/src/hasura.ts:22] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L22 ) |
314+ | <a id =" instance " ></a > ` instance ` | ` string ` | ` UrlOrPathSchema ` | [ sdk/hasura/src/hasura.ts:19] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L19 ) |
315315
316316***
317317
318318#### RequestConfig
319319
320320> ** RequestConfig** = ` ConstructorParameters ` \< * typeof* ` GraphQLClient ` \>\[ ` 1 ` \]
321321
322- Defined in: [ sdk/hasura/src/hasura.ts:13] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L13 )
322+ Defined in: [ sdk/hasura/src/hasura.ts:13] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L13 )
323323
324324Type definition for GraphQL client configuration options
325325
@@ -329,7 +329,7 @@ Type definition for GraphQL client configuration options
329329
330330> ` const ` ** ClientOptionsSchema** : ` ZodObject ` \< [ ` ClientOptions ` ] ( #clientoptions ) \>
331331
332- Defined in: [ sdk/hasura/src/hasura.ts:18] ( https://github.com/settlemint/sdk/blob/v2.6.3 /sdk/hasura/src/hasura.ts#L18 )
332+ Defined in: [ sdk/hasura/src/hasura.ts:18] ( https://github.com/settlemint/sdk/blob/v2.6.4 /sdk/hasura/src/hasura.ts#L18 )
333333
334334Schema for validating client options for the Hasura client.
335335
0 commit comments