alpha
Login
or
Join now
microcosm.blue
/
microcosm-rs
Star
0
Fork
3
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
Star
0
Fork
3
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix paths and verify it works via api
author
phil
date
8 months ago
(Oct 2, 2025, 5:21 PM -0400)
commit
4dd21fa2
4dd21fa2aafc61947ee20be16ea7c61a50c1572f
parent
dddc7329
dddc73295ac2db66ca51c296d090e327f4e288c5
+22
-2
4 changed files
Expand all
Collapse all
Unified
Split
constellation
src
server
mod.rs
storage
rocks_store.rs
templates
get-backlinks.html.j2
get-many-to-many-counts.html.j2
+3
-1
constellation/src/server/mod.rs
Reviewed
···
293
293
};
294
294
let path = format!(".{path}");
295
295
296
296
+
let path_to_other = format!(".{}", query.path_to_other);
297
297
+
296
298
let paged = store
297
299
.get_many_to_many_counts(
298
300
&query.subject,
299
301
collection,
300
302
&path,
301
301
-
&query.path_to_other,
303
303
+
&path_to_other,
302
304
limit,
303
305
cursor_key,
304
306
&filter_dids,
+2
constellation/src/storage/rocks_store.rs
Reviewed
···
959
959
let after = after.map(|s| s.parse::<u64>().map(TargetId)).transpose()?;
960
960
961
961
let Some(target_id) = self.target_id_table.get_id_val(&self.db, &target_key)? else {
962
962
+
eprintln!("nothin doin for this target, {target_key:?}");
962
963
return Ok(Default::default());
963
964
};
964
965
···
1019
1020
.take(1)
1020
1021
.next()
1021
1022
else {
1023
1023
+
eprintln!("no forward match");
1022
1024
continue;
1023
1025
};
1024
1026
+1
-1
constellation/templates/get-backlinks.html.j2
Reviewed
···
1
1
{% extends "base.html.j2" %}
2
2
{% import "try-it-macros.html.j2" as try_it %}
3
3
4
4
-
{% block title %}Links{% endblock %}
4
4
+
{% block title %}Backlinks{% endblock %}
5
5
{% block description %}All {{ query.source }} records with links to {{ query.subject }}{% endblock %}
6
6
7
7
{% block content %}
+16
constellation/templates/get-many-to-many-counts.html.j2
Reviewed
···
1
1
+
{% extends "base.html.j2" %}
2
2
+
{% import "try-it-macros.html.j2" as try_it %}
3
3
+
4
4
+
{% block title %}Many to Many counts{% endblock %}
5
5
+
{% block description %}All {{ query.source }} records with links to {{ query.subject }}{% endblock %}
6
6
+
7
7
+
{% block content %}
8
8
+
9
9
+
(todo)
10
10
+
11
11
+
<details>
12
12
+
<summary>Raw JSON response</summary>
13
13
+
<pre class="code">{{ self|tojson }}</pre>
14
14
+
</details>
15
15
+
16
16
+
{% endblock %}