upload build

This commit is contained in:
koplenov 2025-08-19 05:04:14 +03:00
parent 599d119eaf
commit 3bb8197536
7 changed files with 40 additions and 38 deletions

View file

@ -15403,7 +15403,7 @@ var $;
} }
add_site(url, title) { add_site(url, title) {
const new_site = this.home().Sites(null).make(null); const new_site = this.home().Sites(null).make(null);
new_site.land().give(null, $hyoo_crus_rank_post("just")); new_site.land().give(null, $hyoo_crus_rank_rule);
new_site.url(null).val(url); new_site.url(null).val(url);
new_site.title(null).val(title); new_site.title(null).val(title);
} }
@ -15415,15 +15415,14 @@ var $;
} }
users() { users() {
const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/join')); const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/join'));
return this.$.$hyoo_crus_glob.Node(ref, $hyoo_crus_dict); return this.$.$hyoo_crus_glob.Node(ref, $hyoo_crus_list_vary);
} }
home() { home() {
const home = this.$.$hyoo_crus_glob.home($hd_canary_app_home); const home = this.$.$hyoo_crus_glob.home($hd_canary_app_home);
home.land().join(); if (this.users().has(home.ref()) == false) {
if (this.users().has(this.my_key()) == false) {
const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/ref')); const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/ref'));
home.land().give(ref, $hyoo_crus_rank_post("just")); home.land().give(ref, $hyoo_crus_rank_rule);
this.users().dive(this.my_key(), $hyoo_crus_atom_vary, home.ref().description); this.users().add(home.ref());
} }
return home; return home;
} }
@ -18891,11 +18890,11 @@ var $;
message: "_stat_update", message: "_stat_update",
...{ action: "tick", url: "_stat_update", title: "_stat_update" } ...{ action: "tick", url: "_stat_update", title: "_stat_update" }
}); });
const home_land = this.$.$hyoo_crus_glob.home($hd_canary_app_home).land(); const home_land = this.$.$hyoo_crus_glob.home().land();
const list = home_land.Node($hyoo_crus_dict).Item(''); const list = home_land.Node($hyoo_crus_list_vary).Item('');
for (const ref of list.keys()) { for (const ref of list.items_vary()) {
try { try {
const user = this.$.$hyoo_crus_glob.Node($hyoo_crus_ref(ref), $hd_canary_app_home); const user = this.$.$hyoo_crus_glob.Node(ref, $hd_canary_app_home);
for (const site of user.Sites(null)?.remote_list() ?? []) { for (const site of user.Sites(null)?.remote_list() ?? []) {
site.tick(); site.tick();
} }
@ -18919,9 +18918,9 @@ var $;
$.$hd_canary = $hd_canary; $.$hd_canary = $hd_canary;
class $hd_canary_join extends $mol_rest_resource { class $hd_canary_join extends $mol_rest_resource {
GET(msg) { GET(msg) {
const home_land = this.$.$hyoo_crus_glob.home($hd_canary_app_home).land(); const home_land = this.$.$hyoo_crus_glob.home().land();
const list = home_land.Node($hyoo_crus_dict).Item(''); home_land.give(null, $hyoo_crus_rank_rule);
list.land().give(null, $hyoo_crus_rank_rule); const list = home_land.Node($hyoo_crus_list_vary).Item('');
msg.reply(list.ref().description); msg.reply(list.ref().description);
} }
} }

File diff suppressed because one or more lines are too long

View file

@ -15394,7 +15394,7 @@ var $;
} }
add_site(url, title) { add_site(url, title) {
const new_site = this.home().Sites(null).make(null); const new_site = this.home().Sites(null).make(null);
new_site.land().give(null, $hyoo_crus_rank_post("just")); new_site.land().give(null, $hyoo_crus_rank_rule);
new_site.url(null).val(url); new_site.url(null).val(url);
new_site.title(null).val(title); new_site.title(null).val(title);
} }
@ -15406,15 +15406,14 @@ var $;
} }
users() { users() {
const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/join')); const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/join'));
return this.$.$hyoo_crus_glob.Node(ref, $hyoo_crus_dict); return this.$.$hyoo_crus_glob.Node(ref, $hyoo_crus_list_vary);
} }
home() { home() {
const home = this.$.$hyoo_crus_glob.home($hd_canary_app_home); const home = this.$.$hyoo_crus_glob.home($hd_canary_app_home);
home.land().join(); if (this.users().has(home.ref()) == false) {
if (this.users().has(this.my_key()) == false) {
const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/ref')); const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/ref'));
home.land().give(ref, $hyoo_crus_rank_post("just")); home.land().give(ref, $hyoo_crus_rank_rule);
this.users().dive(this.my_key(), $hyoo_crus_atom_vary, home.ref().description); this.users().add(home.ref());
} }
return home; return home;
} }
@ -18882,11 +18881,11 @@ var $;
message: "_stat_update", message: "_stat_update",
...{ action: "tick", url: "_stat_update", title: "_stat_update" } ...{ action: "tick", url: "_stat_update", title: "_stat_update" }
}); });
const home_land = this.$.$hyoo_crus_glob.home($hd_canary_app_home).land(); const home_land = this.$.$hyoo_crus_glob.home().land();
const list = home_land.Node($hyoo_crus_dict).Item(''); const list = home_land.Node($hyoo_crus_list_vary).Item('');
for (const ref of list.keys()) { for (const ref of list.items_vary()) {
try { try {
const user = this.$.$hyoo_crus_glob.Node($hyoo_crus_ref(ref), $hd_canary_app_home); const user = this.$.$hyoo_crus_glob.Node(ref, $hd_canary_app_home);
for (const site of user.Sites(null)?.remote_list() ?? []) { for (const site of user.Sites(null)?.remote_list() ?? []) {
site.tick(); site.tick();
} }
@ -18910,9 +18909,9 @@ var $;
$.$hd_canary = $hd_canary; $.$hd_canary = $hd_canary;
class $hd_canary_join extends $mol_rest_resource { class $hd_canary_join extends $mol_rest_resource {
GET(msg) { GET(msg) {
const home_land = this.$.$hyoo_crus_glob.home($hd_canary_app_home).land(); const home_land = this.$.$hyoo_crus_glob.home().land();
const list = home_land.Node($hyoo_crus_dict).Item(''); home_land.give(null, $hyoo_crus_rank_rule);
list.land().give(null, $hyoo_crus_rank_rule); const list = home_land.Node($hyoo_crus_list_vary).Item('');
msg.reply(list.ref().description); msg.reply(list.ref().description);
} }
} }

File diff suppressed because one or more lines are too long

View file

@ -14142,6 +14142,11 @@ var $;
$mol_mem $mol_mem
], $hd_canary_app_home_site.prototype, "tick", null); ], $hd_canary_app_home_site.prototype, "tick", null);
$.$hd_canary_app_home_site = $hd_canary_app_home_site; $.$hd_canary_app_home_site = $hd_canary_app_home_site;
class $hd_canary_app_home_server extends $hyoo_crus_home.with({
Users: $hyoo_crus_list_ref_to($hyoo_crus_ref),
}) {
}
$.$hd_canary_app_home_server = $hd_canary_app_home_server;
})($ || ($ = {})); })($ || ($ = {}));
; ;
@ -14200,7 +14205,7 @@ var $;
} }
add_site(url, title) { add_site(url, title) {
const new_site = this.home().Sites(null).make(null); const new_site = this.home().Sites(null).make(null);
new_site.land().give(null, $hyoo_crus_rank_post("just")); new_site.land().give(null, $hyoo_crus_rank_rule);
new_site.url(null).val(url); new_site.url(null).val(url);
new_site.title(null).val(title); new_site.title(null).val(title);
} }
@ -14210,17 +14215,16 @@ var $;
my_key() { my_key() {
return this.$.$hyoo_crus_auth.current().lord().description; return this.$.$hyoo_crus_auth.current().lord().description;
} }
users() { server() {
const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/join')); const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/join'));
return this.$.$hyoo_crus_glob.Node(ref, $hyoo_crus_dict); return this.$.$hyoo_crus_glob.Node(ref, $hyoo_crus_list_vary);
} }
home() { home() {
const home = this.$.$hyoo_crus_glob.home($hd_canary_app_home); const home = this.$.$hyoo_crus_glob.home($hd_canary_app_home);
home.land().join(); if (this.server().has(home.ref()) == false) {
if (this.users().has(this.my_key()) == false) {
const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/ref')); const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/ref'));
home.land().give(ref, $hyoo_crus_rank_post("just")); home.land().give(ref, $hyoo_crus_rank_rule);
this.users().dive(this.my_key(), $hyoo_crus_atom_vary, home.ref().description); this.server().add(home.ref());
} }
return home; return home;
} }
@ -14236,7 +14240,7 @@ var $;
], $hd_canary_app_monitor.prototype, "add_site", null); ], $hd_canary_app_monitor.prototype, "add_site", null);
__decorate([ __decorate([
$mol_mem $mol_mem
], $hd_canary_app_monitor.prototype, "users", null); ], $hd_canary_app_monitor.prototype, "server", null);
__decorate([ __decorate([
$mol_mem $mol_mem
], $hd_canary_app_monitor.prototype, "home", null); ], $hd_canary_app_monitor.prototype, "home", null);

File diff suppressed because one or more lines are too long

View file

@ -54,7 +54,7 @@ namespace $.$$ {
@$mol_action @$mol_action
add_site(url: string, title: string) { add_site(url: string, title: string) {
const new_site = this.home().Sites(null)!.make(null) const new_site = this.home().Sites(null)!.make(null)
new_site.land().give(null, $hyoo_crus_rank_post("just")) new_site.land().give(null, $hyoo_crus_rank_rule)
new_site.url(null)!.val(url) new_site.url(null)!.val(url)
new_site.title(null)!.val(title) new_site.title(null)!.val(title)