generated from array-in-a-matrix/matrix-bot-template
8 lines
538 B
Nim
8 lines
538 B
Nim
{.emit:"/*INCLUDESECTION*/ import { SimpleFsStorageProvider } from 'matrix-bot-sdk';".}
|
|
|
|
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(#, #, #)".}
|