Changeset abbb72a in Klonkt for src/services/guardianship
- Timestamp:
- 08/11/2026 04:20:01 PM (4 weeks ago)
- Branches:
- main
- Children:
- 26b1848
- Parents:
- 8b83cba
- Location:
- src/services/guardianship
- Files:
-
- 2 edited
-
handshake.js (modified) (2 diffs)
-
index.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/services/guardianship/handshake.js
r8b83cba rabbb72a 87 87 } 88 88 89 /** The existing guardians of a ward: local list, or the remote actor's shaer:guardians. */ 90 async function existingGuardiansOf(wardUri) { 89 /** 90 * The existing guardians of a ward: local list, or the remote actor's 91 * shaer:guardians. 92 * 93 * Geexporteerd sinds shaer-lgo: de markeerroute had zijn EIGEN afleiding, en 94 * die was fout voor precies het geval dat telt (zie routes/guardian.js). 95 */ 96 export async function existingGuardiansOf(wardUri) { 91 97 const local = deps.localSlug(wardUri); 92 98 if (local) return relations.listGuardians(local).map((r) => r.other_uri); … … 627 633 } 628 634 629 export default { wireHandshake, handleOutbox, handleInbox, parseRelationship, parseUndoRelationship, endGuardianship, retryDeferred };635 export default { wireHandshake, handleOutbox, handleInbox, parseRelationship, parseUndoRelationship, endGuardianship, retryDeferred, existingGuardiansOf }; -
src/services/guardianship/index.js
r8b83cba rabbb72a 18 18 export { helpRequestProps, isHelpRequest, waveProps, isWave, awayProps, hasGuardiansProps, objectHasGuardians, externalEmbedsAllowed, externalPlaybackAllowed, wardGateAllowed } from './notes.js'; 19 19 export { wireDelivery, c2sVisibility, deliverDirectNote } from './delivery.js'; 20 export { wireHandshake, handleOutbox as handleGuardianshipOutbox, handleInbox as handleGuardianshipInbox, parseRelationship, parseUndoRelationship, endGuardianship } from './handshake.js';20 export { wireHandshake, handleOutbox as handleGuardianshipOutbox, handleInbox as handleGuardianshipInbox, parseRelationship, parseUndoRelationship, endGuardianship, existingGuardiansOf } from './handshake.js'; 21 21 export { offersCollection, followsCollection, outgoingFollowsCollection, logCollection, wardsCollection, guardiansCollection, helpCollection } from './queues.js'; 22 22 export * as availability from './availability.js';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)