simplex-chat-nodejs: typed DbConfig (#6875)

* simplex-chat-nodejs: typed DbConfig for ChatApi.init and BotDbOpts

* simplex-chat-nodejs: regenerate typedoc docs for DbConfig

* simplex-chat-nodejs: rename DbConfig.kind to .type
This commit is contained in:
sh
2026-04-24 15:43:43 +00:00
committed by GitHub
parent ac0176fa0b
commit 42dd36bf09
22 changed files with 485 additions and 239 deletions
@@ -6,76 +6,76 @@
# Interface: BotOptions
Defined in: [src/bot.ts:13](../src/bot.ts#L13)
Defined in: [src/bot.ts:11](../src/bot.ts#L11)
## Properties
### addressSettings?
> `optional` **addressSettings**: [`BotAddressSettings`](api.Interface.BotAddressSettings.md)
Defined in: [src/bot.ts:17](../src/bot.ts#L17)
***
### allowFiles?
> `optional` **allowFiles**: `boolean`
Defined in: [src/bot.ts:18](../src/bot.ts#L18)
***
### commands?
> `optional` **commands**: `ChatBotCommand`[]
Defined in: [src/bot.ts:19](../src/bot.ts#L19)
***
### createAddress?
> `optional` **createAddress**: `boolean`
Defined in: [src/bot.ts:14](../src/bot.ts#L14)
***
### logContacts?
> `optional` **logContacts**: `boolean`
Defined in: [src/bot.ts:21](../src/bot.ts#L21)
***
### logNetwork?
> `optional` **logNetwork**: `boolean`
Defined in: [src/bot.ts:22](../src/bot.ts#L22)
***
### updateAddress?
> `optional` **updateAddress**: `boolean`
> `optional` **addressSettings?**: [`BotAddressSettings`](api.Interface.BotAddressSettings.md)
Defined in: [src/bot.ts:15](../src/bot.ts#L15)
***
### updateProfile?
### allowFiles?
> `optional` **updateProfile**: `boolean`
> `optional` **allowFiles?**: `boolean`
Defined in: [src/bot.ts:16](../src/bot.ts#L16)
***
### useBotProfile?
### commands?
> `optional` **useBotProfile**: `boolean`
> `optional` **commands?**: `ChatBotCommand`[]
Defined in: [src/bot.ts:17](../src/bot.ts#L17)
***
### createAddress?
> `optional` **createAddress?**: `boolean`
Defined in: [src/bot.ts:12](../src/bot.ts#L12)
***
### logContacts?
> `optional` **logContacts?**: `boolean`
Defined in: [src/bot.ts:19](../src/bot.ts#L19)
***
### logNetwork?
> `optional` **logNetwork?**: `boolean`
Defined in: [src/bot.ts:20](../src/bot.ts#L20)
***
### updateAddress?
> `optional` **updateAddress?**: `boolean`
Defined in: [src/bot.ts:13](../src/bot.ts#L13)
***
### updateProfile?
> `optional` **updateProfile?**: `boolean`
Defined in: [src/bot.ts:14](../src/bot.ts#L14)
***
### useBotProfile?
> `optional` **useBotProfile?**: `boolean`
Defined in: [src/bot.ts:18](../src/bot.ts#L18)