1
0

feat: add private profile media and realtime contracts

This commit is contained in:
2026-08-11 19:21:49 -07:00
parent a2a52bfdae
commit 1c37ef8f3e
22 changed files with 2321 additions and 8 deletions
+51
View File
@@ -0,0 +1,51 @@
export {
ACCENTS,
BODY_SHAPES,
HAIR_COLORS,
LOCAL_PROFILE_VERSION,
OUTFITS,
SKIN_TONES,
actorKindForPresence,
createDefaultLocalProfile,
decodeLocalProfile,
encodeLocalProfile,
isHumanoidAppearance,
isLocalProfile,
migrateLocalProfileV1,
resolveHumanoidAppearance,
type AccentChoice,
type BodyShapeChoice,
type HairColorChoice,
type HumanoidAppearanceChoices,
type LocalProfile,
type LocalProfileV1,
type LocalProfileV2,
type OutfitChoice,
type PresenceActorKind,
type PresenceContext,
type ProfileDecodeResult,
type ResolvedHumanoidAppearance,
type SkinToneChoice,
} from "./model.ts";
export {
clearLocalProfile,
loadLocalProfile,
saveLocalProfile,
type ProfileClearResult,
type ProfileLoadResult,
type ProfileSaveResult,
type ProfileStorageAdapter,
} from "./persistence.ts";
export {
createWebcamFaceConsent,
initialWebcamFaceConsent,
transitionWebcamFaceConsent,
type WebcamFaceConsentController,
type WebcamFaceConsentEvent,
type WebcamFaceConsentRejection,
type WebcamFaceConsentState,
type WebcamFaceConsentStatus,
type WebcamFaceConsentTransition,
} from "./webcamConsent.ts";