generated from array-in-a-matrix/matrix-bot-template
SimpleFsStorageProvider works
This commit is contained in:
parent
1be944b77a
commit
b4b45d677a
2 changed files with 6 additions and 3 deletions
|
@ -10,3 +10,6 @@ export sendReadReceipt, setTyping, replyText, replyHtmlText, replyNotice, replyH
|
|||
|
||||
import nimbotsdk/AutojoinRoomsMixin
|
||||
export AutojoinRoomsMixinSetupOnClient, AutojoinRoomsMixinSetupOnAppservice
|
||||
|
||||
import nimbotsdk/SimpleFsStorageProvider
|
||||
export newSimpleFsStorageProvider
|
|
@ -3,5 +3,5 @@
|
|||
import matrixTypes
|
||||
|
||||
proc newSimpleFsStorageProvider*(filename: cstring): Storage {.importjs: "new SimpleFsStorageProvider(#)".}
|
||||
proc newSimpleFsStorageProvider*(filename: cstring, trackTransactionsInMemory: bool): storage {.importjs: "new SimpleFsStorageProvider(#, #)".}
|
||||
proc newSimpleFsStorageProvider*(filename: cstring, trackTransactionsInMemory: bool, maxInMemoryTransactions: int): storage {.importjs: "new SimpleFsStorageProvider(#, #, #)".}
|
||||
proc newSimpleFsStorageProvider*(filename: cstring, trackTransactionsInMemory: bool): Storage {.importjs: "new SimpleFsStorageProvider(#, #)".}
|
||||
proc newSimpleFsStorageProvider*(filename: cstring, trackTransactionsInMemory: bool, maxInMemoryTransactions: int): Storage {.importjs: "new SimpleFsStorageProvider(#, #, #)".}
|
||||
|
|
Loading…
Add table
Reference in a new issue