@xuda.io/notification_module 1.1.93 → 1.1.94
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/index.mjs +34 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -616,3 +616,37 @@ export const notifications_validation_fx = async (notification_id) => {
|
|
|
616
616
|
|
|
617
617
|
return await fx[doc.topic]();
|
|
618
618
|
};
|
|
619
|
+
|
|
620
|
+
// setTimeout(async () => {
|
|
621
|
+
// // const app_id = "vps4d6ec68e01d97ef65a8bd86088b26ca2",
|
|
622
|
+
// // uid = "341cf2d32991a68e4d8aaba6c16e15cc",
|
|
623
|
+
// // ip = "192.11.22.333",
|
|
624
|
+
// // name = "Boaz Avrahami";
|
|
625
|
+
// // const aa = await module.exports.submit_notification({
|
|
626
|
+
// // type: "deploy",
|
|
627
|
+
// // app_id: app_id,
|
|
628
|
+
// // uid_arr: [uid],
|
|
629
|
+
// // topic: "welcome_aboard_vps",
|
|
630
|
+
// // params: {
|
|
631
|
+
// // name: name,
|
|
632
|
+
// // ip: ip,
|
|
633
|
+
// // dashboard_url: `https://xuda.io/dashboard/project/${app_id}/admin/overview`,
|
|
634
|
+
// // dashboard_ssh_url: `https://xuda.io/dashboard/project/${app_id}/admin/overview`,
|
|
635
|
+
// // dashboard_ssh_assign_url: `https://xuda.io/dashboard/settings/ssh_keys`,
|
|
636
|
+
// // support_url: `https://xuda.io/schedule/sales?topic=Sales&subtopic=General+Inquiries`,
|
|
637
|
+
// // },
|
|
638
|
+
// // ref: null,
|
|
639
|
+
// // email: null,
|
|
640
|
+
// // });
|
|
641
|
+
// // console.log(aa);
|
|
642
|
+
// }, 2000);
|
|
643
|
+
|
|
644
|
+
// class notifications_validation_class {
|
|
645
|
+
// constructor(name) {
|
|
646
|
+
// this.name = name;
|
|
647
|
+
// }
|
|
648
|
+
|
|
649
|
+
// new_version_available(params) {
|
|
650
|
+
// console.log(`Hello, my name is ${this.name}`);
|
|
651
|
+
// }
|
|
652
|
+
// }
|