|
@@ -28,22 +28,17 @@ When running `npm run dev`, Rollup will bundle all of your code into a single fi
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
-1. The library should expose a chat room UI
|
|
|
+The library should expose a chat room UI
|
|
|
|
|
|
- a. It should display a list of existing comments that updates when a new comment is sent or received.
|
|
|
+1. It should display a list of existing comments that updates when a new comment is sent or received.
|
|
|
+2. It should not display any comments that have been deleted.
|
|
|
+3. It should include a way to send comments.
|
|
|
+4. It should include a way to switch between different "chat rooms" list of comments.
|
|
|
|
|
|
- b. It should not display any comments that have been deleted.
|
|
|
+The library should expose methods:
|
|
|
|
|
|
- b. It should include a way to send comments.
|
|
|
+1. To get lists of comments.
|
|
|
+2. To create and delete individual comments.
|
|
|
+3. To get and create users.
|
|
|
|
|
|
- c. It should include a way to switch between different "chat rooms" list of comments.
|
|
|
-
|
|
|
-2. The library should expose methods:
|
|
|
-
|
|
|
- a. To get lists of comments
|
|
|
-
|
|
|
- b. To create and delete individual comments
|
|
|
-
|
|
|
- c. To get and create users
|
|
|
-
|
|
|
-3. Add TypeScript interfaces/types to exposed methods.
|
|
|
+Add TypeScript interfaces/types to exposed methods.
|