| 1 | /**
|
|---|
| 2 | * Guardianship (FEP-633c "Guardians") — the module.
|
|---|
| 3 | *
|
|---|
| 4 | * Klonkt's kid-safety feature as one cohesive unit:
|
|---|
| 5 | * - context.js: the shaer JSON-LD namespace + Relationship vocabulary
|
|---|
| 6 | * - offers.js: the multi-party handshake state (a port of the Shaer daemon)
|
|---|
| 7 | * - relations.js: the COMMITTED ward ↔ guardian relations + actor props
|
|---|
| 8 | * - handshake.js: the adoption Offer/Accept/Reject over C2S and S2S
|
|---|
| 9 | * - queues.js: the owner-only dashboard collections (offers/follows/wards)
|
|---|
| 10 | * - notes.js: the shaer:helpRequest flag on direct notes
|
|---|
| 11 | * - delivery.js: the direct-note leg a ward's call-for-help rides
|
|---|
| 12 | *
|
|---|
| 13 | * The shared blocklist (Shaer's "in Orbit") lives NEXT TO this module in
|
|---|
| 14 | * BlocklistService. ActivityPubService wires the AP helpers in once and
|
|---|
| 15 | * delegates; nothing here imports ActivityPubService back.
|
|---|
| 16 | */
|
|---|
| 17 | export { SHAER_CONTEXT, GUARDIAN_RELATIONSHIP, GUARDIAN_RELATIONSHIP_COMPACT, isGuardianRelationship } from './context.js';
|
|---|
| 18 | export { helpRequestProps, isHelpRequest, waveProps, isWave, awayProps, hasGuardiansProps, objectHasGuardians, externalEmbedsAllowed, externalPlaybackAllowed, wardGateAllowed } from './notes.js';
|
|---|
| 19 | export { wireDelivery, c2sVisibility, deliverDirectNote } from './delivery.js';
|
|---|
| 20 | export { wireHandshake, handleOutbox as handleGuardianshipOutbox, handleInbox as handleGuardianshipInbox, parseRelationship, parseUndoRelationship, endGuardianship, existingGuardiansOf } from './handshake.js';
|
|---|
| 21 | export { offersCollection, followsCollection, outgoingFollowsCollection, logCollection, wardsCollection, guardiansCollection, helpCollection } from './queues.js';
|
|---|
| 22 | export * as availability from './availability.js';
|
|---|
| 23 | export { wireAvailability } from './availability.js';
|
|---|
| 24 | export * as follows from './follows.js';
|
|---|
| 25 | export * as outgoing from './outgoing.js';
|
|---|
| 26 | export { listForParty as listOffersForParty, getOffer, findOfferAnywhere } from './offers.js';
|
|---|
| 27 | export {
|
|---|
| 28 | listGuardians, listWards, isGuardian, getRelation, removeRelation,
|
|---|
| 29 | actorProps as guardianshipActorProps,
|
|---|
| 30 | } from './relations.js';
|
|---|
| 31 |
|
|---|
| 32 | // §5.6 gated settings (decided by the guardians, enforced by the ward's server)
|
|---|
| 33 | export * as gated from './gated.js';
|
|---|
| 34 | export * as queues from './queues.js';
|
|---|
| 35 | // 5.2.1: wie er op een hulpvraag af is en wanneer hij is afgesloten (shaer-lgo)
|
|---|
| 36 | export * as help from './help.js';
|
|---|
| 37 | export * as gatereq from './gatereq.js';
|
|---|