full diff

world.treeline.actor.preferences

treeline.world +5 −0
From
bafyreifljqvdgueebonbmb22yhhpnuii3lfjxxwkqafewpongkgwwglo7m indexed 2026-10-15 16:17 UTC View this version
To
bafyreigmzn7dn2kzb2jxqgxtzz6pxarr5k6hkekbwrolww4gwoxvg4mshy indexed 2026-10-16 15:44 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "world.treeline.actor.preferences:body.defaultHideHealthStats" }
  • AddedEdge AddedEdge { src: "world.treeline.actor.preferences:body", tgt: "world.treeline.actor.preferences:body.defaultHideHealthStats", kind: "prop", name: Some("defaultHideHealthStats") }

Migration guidance

Added

  • AddedVertex { vertex_id: "world.treeline.actor.preferences:body.defaultHideHealthStats" }

Notes

  • Non-breaking: AddedEdge { src: "world.treeline.actor.preferences:body", tgt: "world.treeline.actor.preferences:body.defaultHideHealthStats", kind: "prop", name: Some("defaultHideHealthStats") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Athlete display units, default sports, and privacy preferences for Treeline.",
66 "key": "literal:self",
77 "record": {
88 "properties": {
99 "allowReuse": {
1010 "default": "coAthletes",
1111 "description": "Who may save this athlete's public activities as their own: 'coAthletes' (tagged co-athletes and confirmed group matches, the default), 'everyone' (co-athletes save as an activity; anyone else saves as a route), or 'nobody'. Unset means 'coAthletes'.",
1212 "knownValues": [
1313 "everyone",
1414 "coAthletes",
1515 "nobody"
1616 ],
1717 "type": "string"
1818 },
1919 "defaultGear": {
2020 "description": "Per-sport default gear. Preselected in the upload and edit pickers and used as the default for the gear backfill. One entry per sport; gear that is retired or deleted is ignored.",
2121 "items": {
2222 "ref": "#sportGearDefault",
2323 "type": "ref"
2424 },
2525 "maxLength": 32,
2626 "type": "array"
2727 },
28 "defaultHideHealthStats": {
29 "default": false,
30 "description": "Default for new activities: hide heart rate, power and cadence from public views (activity.record hideHealthStats).",
31 "type": "boolean"
32 },
2833 "defaultHideStartEndMeters": {
2934 "default": 0,
3035 "description": "Default distance in meters trimmed from start and end for privacy.",
3136 "maximum": 100000,
3237 "minimum": 0,
3338 "type": "integer"
3439 },
3540 "defaultPrivacy": {
3641 "default": "public",
3742 "description": "Default visibility setting for new activities ('public' or 'unlisted'). Restricted/private training logs and groups/circles belong to ATProto Permissioned Spaces (Proposal 0016). Historical values ('followers', 'private', 'permissioned') are retained for schema compatibility.",
3843 "knownValues": [
3944 "public",
4045 "unlisted",
4146 "followers",
4247 "private",
4348 "permissioned"
4449 ],
4550 "type": "string"
4651 },
4752 "defaultSport": {
4853 "description": "Default sport category selected when recording or uploading activities.",
4954 "type": "string"
5055 },
5156 "defaultViewDensity": {
5257 "description": "How the athlete's archive and feed render activities: 'cards' (the default) or a 'compact' list. Unset means 'cards'.",
5358 "knownValues": [
5459 "cards",
5560 "compact"
5661 ],
5762 "type": "string"
5863 },
5964 "distanceUnits": {
6065 "default": "km",
6166 "description": "Preferred unit of measurement for distance.",
6267 "knownValues": [
6368 "km",
6469 "mi"
6570 ],
6671 "type": "string"
6772 },
6873 "elevationUnits": {
6974 "default": "m",
7075 "description": "Preferred unit of measurement for elevation.",
7176 "knownValues": [
7277 "m",
7378 "ft"
7479 ],
7580 "type": "string"
7681 },
7782 "temperatureUnits": {
7883 "default": "c",
7984 "description": "Preferred unit of measurement for temperature.",
8085 "knownValues": [
8186 "c",
8287 "f"
8388 ],
8489 "type": "string"
8590 },
8691 "themeMode": {
8792 "description": "The athlete's chosen colour theme: 'daylight', 'dusk', or 'system' (follow the operating system). Unset means 'system'. Synced across the athlete's sessions.",
8893 "knownValues": [
8994 "daylight",
9095 "dusk",
9196 "system"
9297 ],
9398 "type": "string"
9499 },
95100 "unitSystem": {
96101 "description": "[Deprecated in v0.10: Use distanceUnits, elevationUnits, temperatureUnits] Legacy unit system.",
97102 "knownValues": [
98103 "metric",
99104 "imperial"
100105 ],
101106 "type": "string"
102107 },
103108 "updatedAt": {
104109 "description": "Timestamp when preferences were last updated.",
105110 "format": "datetime",
106111 "type": "string"
107112 }
108113 },
109114 "type": "object"
110115 },
111116 "type": "record"
112117 },
113118 "sportGearDefault": {
114119 "properties": {
115120 "gearUri": {
116121 "description": "AT-URI of the world.treeline.gear.item to use by default for this sport.",
117122 "format": "at-uri",
118123 "maxLength": 512,
119124 "type": "string"
120125 },
121126 "sport": {
122127 "description": "Sport identifier, as used in activity.sport.",
123128 "maxGraphemes": 64,
124129 "maxLength": 64,
125130 "type": "string"
126131 }
127132 },
128133 "required": [
129134 "sport",
130135 "gearUri"
131136 ],
132137 "type": "object"
133138 }
134139 },
135140 "id": "world.treeline.actor.preferences",
136141 "lexicon": 1
137142}

Compare other versions