Export more types from root

This commit is contained in:
Franck Royer 2021-10-08 14:41:28 +11:00
parent d677958a22
commit 907eacaa6c
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 16 additions and 7 deletions

View File

@ -2,7 +2,7 @@
import { getBootstrapNodes, StoreCodec } from "js-waku";
import { useCallback, useEffect, useState } from "react";
import { Identity, Messenger } from "status-communities/dist/cjs";
import { ApplicationMetadataMessage } from "status-communities/dist/cjs/application_metadata_message";
import { ApplicationMetadataMessage } from "status-communities/dist/cjs";
import { uintToImgUrl } from "../helpers/uintToImgUrl";
import { ChatMessage } from "../models/ChatMessage";

View File

@ -1,6 +1,15 @@
import { Identity } from "./identity";
import { Messenger } from "./messenger";
import { ApplicationMetadataMessage } from "./wire/application_metadata_message";
import { ChatMessage } from "./wire/chat_message";
export { Messenger, Identity, ApplicationMetadataMessage, ChatMessage };
export { Identity } from "./identity";
export { Messenger } from "./messenger";
export { Community } from "./community";
export { Chat } from "./chat";
export * as utils from "./utils";
export { ApplicationMetadataMessage } from "./wire/application_metadata_message";
export {
ChatMessage,
ContentType,
Content,
StickerContent,
ImageContent,
AudioContent,
TextContent,
} from "./wire/chat_message";