MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / notifications

Method notifications

src/actions/Notify.ts:27–37  ·  view source on GitHub ↗
(object: Record<string, any> | string | null = null)

Source from the content-addressed store, hash-verified

25 }
26
27 static notifications(object: Record<string, any> | string | null = null): any {
28 if (object !== null) {
29 if (typeof object === 'string') {
30 return Notify._configuration.notifications[object];
31 } else {
32 Notify._configuration.notifications = Object.assign({}, Notify._configuration.notifications, object);
33 }
34 } else {
35 return Notify._configuration.notifications;
36 }
37 }
38
39 hasPermission: boolean;
40 notification: any;

Callers 1

constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected