@giosg/pub-sdk
Advanced tools
Comparing version 0.8.2 to 0.9.0
@@ -7,2 +7,7 @@ # Changelog | ||
## 0.9.0 | ||
- Removed `latest_message_created_at` field from `PubChannel` interface. | ||
- Changed `latest_message` field of `PubChannel` interface type to `PubMessage | null`. | ||
## 0.8.2 | ||
@@ -9,0 +14,0 @@ |
@@ -32,5 +32,3 @@ import { UserUid, OrganizationUid } from "@giosg/types"; | ||
/** Latest message of the channel */ | ||
latest_message: PubMessageBody | null; | ||
/** Date when last message was created in the channel */ | ||
latest_message_created_at: string | null; | ||
latest_message: PubMessage | null; | ||
} | ||
@@ -58,14 +56,14 @@ export interface PubChannelMember { | ||
id: PubMessageUid; | ||
/** Date when the message was created */ | ||
created_at: string; | ||
/** Date when the message was updated for the last time */ | ||
updated_at: string; | ||
/** Unique identifier of the channel */ | ||
channel: PubChannelUid; | ||
/** User who sent the message */ | ||
sender_id: UserUid; | ||
/** Unique identifier of the organization */ | ||
organization_id: OrganizationUid; | ||
/** Date when the message was created */ | ||
created_at: string; | ||
/** Date when the message was updated for the last time */ | ||
updated_at: string; | ||
/** Actual body of the message */ | ||
body: PubMessageBody; | ||
/** User who sent the message */ | ||
sender_id: UserUid; | ||
} | ||
@@ -72,0 +70,0 @@ export declare type NotificationMode = "muted" | "unmuted" | "mentions"; |
{ | ||
"name": "@giosg/pub-sdk", | ||
"version": "0.8.2", | ||
"version": "0.9.0", | ||
"description": "TypeScript interfaces for Giosg Pub", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
24420
307