upload build
This commit is contained in:
parent
599d119eaf
commit
3bb8197536
7 changed files with 40 additions and 38 deletions
25
-/node.js
25
-/node.js
|
|
@ -15403,7 +15403,7 @@ var $;
|
|||
}
|
||||
add_site(url, title) {
|
||||
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.title(null).val(title);
|
||||
}
|
||||
|
|
@ -15415,15 +15415,14 @@ var $;
|
|||
}
|
||||
users() {
|
||||
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() {
|
||||
const home = this.$.$hyoo_crus_glob.home($hd_canary_app_home);
|
||||
home.land().join();
|
||||
if (this.users().has(this.my_key()) == false) {
|
||||
if (this.users().has(home.ref()) == false) {
|
||||
const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/ref'));
|
||||
home.land().give(ref, $hyoo_crus_rank_post("just"));
|
||||
this.users().dive(this.my_key(), $hyoo_crus_atom_vary, home.ref().description);
|
||||
home.land().give(ref, $hyoo_crus_rank_rule);
|
||||
this.users().add(home.ref());
|
||||
}
|
||||
return home;
|
||||
}
|
||||
|
|
@ -18891,11 +18890,11 @@ var $;
|
|||
message: "_stat_update",
|
||||
...{ action: "tick", url: "_stat_update", title: "_stat_update" }
|
||||
});
|
||||
const home_land = this.$.$hyoo_crus_glob.home($hd_canary_app_home).land();
|
||||
const list = home_land.Node($hyoo_crus_dict).Item('');
|
||||
for (const ref of list.keys()) {
|
||||
const home_land = this.$.$hyoo_crus_glob.home().land();
|
||||
const list = home_land.Node($hyoo_crus_list_vary).Item('');
|
||||
for (const ref of list.items_vary()) {
|
||||
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() ?? []) {
|
||||
site.tick();
|
||||
}
|
||||
|
|
@ -18919,9 +18918,9 @@ var $;
|
|||
$.$hd_canary = $hd_canary;
|
||||
class $hd_canary_join extends $mol_rest_resource {
|
||||
GET(msg) {
|
||||
const home_land = this.$.$hyoo_crus_glob.home($hd_canary_app_home).land();
|
||||
const list = home_land.Node($hyoo_crus_dict).Item('');
|
||||
list.land().give(null, $hyoo_crus_rank_rule);
|
||||
const home_land = this.$.$hyoo_crus_glob.home().land();
|
||||
home_land.give(null, $hyoo_crus_rank_rule);
|
||||
const list = home_land.Node($hyoo_crus_list_vary).Item('');
|
||||
msg.reply(list.ref().description);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -15394,7 +15394,7 @@ var $;
|
|||
}
|
||||
add_site(url, title) {
|
||||
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.title(null).val(title);
|
||||
}
|
||||
|
|
@ -15406,15 +15406,14 @@ var $;
|
|||
}
|
||||
users() {
|
||||
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() {
|
||||
const home = this.$.$hyoo_crus_glob.home($hd_canary_app_home);
|
||||
home.land().join();
|
||||
if (this.users().has(this.my_key()) == false) {
|
||||
if (this.users().has(home.ref()) == false) {
|
||||
const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/ref'));
|
||||
home.land().give(ref, $hyoo_crus_rank_post("just"));
|
||||
this.users().dive(this.my_key(), $hyoo_crus_atom_vary, home.ref().description);
|
||||
home.land().give(ref, $hyoo_crus_rank_rule);
|
||||
this.users().add(home.ref());
|
||||
}
|
||||
return home;
|
||||
}
|
||||
|
|
@ -18882,11 +18881,11 @@ var $;
|
|||
message: "_stat_update",
|
||||
...{ action: "tick", url: "_stat_update", title: "_stat_update" }
|
||||
});
|
||||
const home_land = this.$.$hyoo_crus_glob.home($hd_canary_app_home).land();
|
||||
const list = home_land.Node($hyoo_crus_dict).Item('');
|
||||
for (const ref of list.keys()) {
|
||||
const home_land = this.$.$hyoo_crus_glob.home().land();
|
||||
const list = home_land.Node($hyoo_crus_list_vary).Item('');
|
||||
for (const ref of list.items_vary()) {
|
||||
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() ?? []) {
|
||||
site.tick();
|
||||
}
|
||||
|
|
@ -18910,9 +18909,9 @@ var $;
|
|||
$.$hd_canary = $hd_canary;
|
||||
class $hd_canary_join extends $mol_rest_resource {
|
||||
GET(msg) {
|
||||
const home_land = this.$.$hyoo_crus_glob.home($hd_canary_app_home).land();
|
||||
const list = home_land.Node($hyoo_crus_dict).Item('');
|
||||
list.land().give(null, $hyoo_crus_rank_rule);
|
||||
const home_land = this.$.$hyoo_crus_glob.home().land();
|
||||
home_land.give(null, $hyoo_crus_rank_rule);
|
||||
const list = home_land.Node($hyoo_crus_list_vary).Item('');
|
||||
msg.reply(list.ref().description);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
20
-/web.js
20
-/web.js
|
|
@ -14142,6 +14142,11 @@ var $;
|
|||
$mol_mem
|
||||
], $hd_canary_app_home_site.prototype, "tick", null);
|
||||
$.$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) {
|
||||
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.title(null).val(title);
|
||||
}
|
||||
|
|
@ -14210,17 +14215,16 @@ var $;
|
|||
my_key() {
|
||||
return this.$.$hyoo_crus_auth.current().lord().description;
|
||||
}
|
||||
users() {
|
||||
server() {
|
||||
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() {
|
||||
const home = this.$.$hyoo_crus_glob.home($hd_canary_app_home);
|
||||
home.land().join();
|
||||
if (this.users().has(this.my_key()) == false) {
|
||||
if (this.server().has(home.ref()) == false) {
|
||||
const ref = $hyoo_crus_ref(this.$.$mol_fetch.text('/ref'));
|
||||
home.land().give(ref, $hyoo_crus_rank_post("just"));
|
||||
this.users().dive(this.my_key(), $hyoo_crus_atom_vary, home.ref().description);
|
||||
home.land().give(ref, $hyoo_crus_rank_rule);
|
||||
this.server().add(home.ref());
|
||||
}
|
||||
return home;
|
||||
}
|
||||
|
|
@ -14236,7 +14240,7 @@ var $;
|
|||
], $hd_canary_app_monitor.prototype, "add_site", null);
|
||||
__decorate([
|
||||
$mol_mem
|
||||
], $hd_canary_app_monitor.prototype, "users", null);
|
||||
], $hd_canary_app_monitor.prototype, "server", null);
|
||||
__decorate([
|
||||
$mol_mem
|
||||
], $hd_canary_app_monitor.prototype, "home", null);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -54,7 +54,7 @@ namespace $.$$ {
|
|||
@$mol_action
|
||||
add_site(url: string, title: string) {
|
||||
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.title(null)!.val(title)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue