generated from array-in-a-matrix/matrix-bot-template
match directory structure of og lib
This commit is contained in:
parent
bb5a1b19c2
commit
c3829a60df
4 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
{.emit:"/*INCLUDESECTION*/ import { AutojoinRoomsMixin } from 'matrix-bot-sdk';".}
|
||||
|
||||
import matrixTypes
|
||||
import ../matrixTypes
|
||||
|
||||
proc AutojoinRoomsMixinSetupOnClient*(client: Client): void {.importjs: "AutojoinRoomsMixin.setupOnClient(#)".}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{.emit:"/*INCLUDESECTION*/ import { RichRepliesPreprocessor } from 'matrix-bot-sdk';".}
|
||||
|
||||
import matrixTypes
|
||||
import ../matrixTypes
|
||||
|
||||
proc newRichRepliesPreprocessor*(): IPreprocessor {.importjs: "new RichRepliesPreprocessor()".}
|
||||
proc newRichRepliesPreprocessor*(fetchRealEventContents: bool): IPreprocessor {.importjs: "new RichRepliesPreprocessor(#)".}
|
|
@ -1,6 +1,6 @@
|
|||
{.emit:"/*INCLUDESECTION*/ import { RustSdkCryptoStorageProvider } from 'matrix-bot-sdk';".}
|
||||
|
||||
import matrixTypes
|
||||
import ../matrixTypes
|
||||
|
||||
proc newRustSdkCryptoStorageProvider*(storagePath: cstring): ICryptoStorageProvider {.importjs: "new RustSdkCryptoStorageProvider(#)"}
|
||||
proc newRustSdkCryptoStorageProvider*(storagePath: cstring, storageType: cstring): ICryptoStorageProvider {.importjs: "new RustSdkCryptoStorageProvider(#, #)"}
|
|
@ -1,6 +1,6 @@
|
|||
{.emit:"/*INCLUDESECTION*/ import { SimpleFsStorageProvider } from 'matrix-bot-sdk';".}
|
||||
|
||||
import matrixTypes
|
||||
import ../matrixTypes
|
||||
|
||||
proc newSimpleFsStorageProvider*(filename: cstring): Storage {.importjs: "new SimpleFsStorageProvider(#)".}
|
||||
proc newSimpleFsStorageProvider*(filename: cstring, trackTransactionsInMemory: bool): Storage {.importjs: "new SimpleFsStorageProvider(#, #)".}
|
Loading…
Add table
Reference in a new issue