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 { getBootstrapNodes, StoreCodec } from "js-waku";
import { useCallback, useEffect, useState } from "react"; import { useCallback, useEffect, useState } from "react";
import { Identity, Messenger } from "status-communities/dist/cjs"; 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 { uintToImgUrl } from "../helpers/uintToImgUrl";
import { ChatMessage } from "../models/ChatMessage"; import { ChatMessage } from "../models/ChatMessage";

View File

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