@tak-ps/cloudtak 12.117.1 → 12.118.0
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.
|
@@ -32,6 +32,8 @@ export default class TAKNotification {
|
|
|
32
32
|
static clear(): Promise<void>;
|
|
33
33
|
static delete(id: string): Promise<void>;
|
|
34
34
|
delete(): Promise<void>;
|
|
35
|
+
static existsByUrl(url: string): Promise<boolean>;
|
|
36
|
+
static countByType(type: NotificationType): Promise<number>;
|
|
35
37
|
static count(): Promise<number>;
|
|
36
38
|
static list(): Promise<DBNotification[]>;
|
|
37
39
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ChatMessage = {
|
|
2
|
-
id: string;
|
|
2
|
+
id: string | number;
|
|
3
3
|
sender_uid: string;
|
|
4
4
|
sender?: string;
|
|
5
5
|
message: string;
|
|
@@ -13,18 +13,22 @@ type __VLS_Props = {
|
|
|
13
13
|
canSend?: boolean;
|
|
14
14
|
canDelete?: boolean;
|
|
15
15
|
multiselect?: boolean;
|
|
16
|
+
placeholder?: string;
|
|
16
17
|
};
|
|
17
18
|
declare function scrollToBottom(): void;
|
|
18
19
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
19
20
|
scrollToBottom: typeof scrollToBottom;
|
|
20
21
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
delete: (ids: string[]) => any;
|
|
22
|
+
delete: (ids: (string | number)[]) => any;
|
|
22
23
|
send: (message: string) => any;
|
|
24
|
+
"at-bottom": (atBottom: boolean) => any;
|
|
23
25
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
onDelete?: ((ids: string[]) => any) | undefined;
|
|
26
|
+
onDelete?: ((ids: (string | number)[]) => any) | undefined;
|
|
25
27
|
onSend?: ((message: string) => any) | undefined;
|
|
28
|
+
"onAt-bottom"?: ((atBottom: boolean) => any) | undefined;
|
|
26
29
|
}>, {
|
|
27
30
|
loading: boolean;
|
|
31
|
+
placeholder: string;
|
|
28
32
|
error: Error;
|
|
29
33
|
canSend: boolean;
|
|
30
34
|
canDelete: boolean;
|
package/package.json
CHANGED