onecore 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/model.ts +9 -0
package/package.json
CHANGED
package/src/model.ts
CHANGED
|
@@ -142,6 +142,15 @@ export interface History<T> {
|
|
|
142
142
|
data: T;
|
|
143
143
|
time: Date;
|
|
144
144
|
user: User;
|
|
145
|
+
note?: string;
|
|
146
|
+
}
|
|
147
|
+
export interface Notification {
|
|
148
|
+
id: string;
|
|
149
|
+
time: Date;
|
|
150
|
+
notifier?: User;
|
|
151
|
+
message: string;
|
|
152
|
+
url?: string;
|
|
153
|
+
read: boolean;
|
|
145
154
|
}
|
|
146
155
|
export interface Achievement {
|
|
147
156
|
subject: string;
|