full diff

com.suibari.nagi.getPreferences

suibari.com +2 −1
From
bafyreibr242v52yncyz2kuaqcrn7o2bd3ry35veiojp2azjrjm62sbg2xm indexed 2026-11-21 21:58 UTC View this version
To
bafyreifnw3mestlqzh5743eq7vn3eladudcigdxbutl67qzxdzr2ps4ehi indexed 2026-11-24 08:53 UTC View this version

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "com.suibari.nagi.getPreferences#feedTab.source", sort: "knownValues", old_value: "[\"home\",\"affirmation\",\"following\"]", new_value: "[\"home\",\"recommended\",\"affirmation\",\"following\"]" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "com.suibari.nagi.getPreferences#feedTab.source", sort: "knownValues", old_value: "[\"home\",\"affirmation\",\"following\"]", new_value: "[\"home\",\"recommended\",\"affirmation\",\"following\"]" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "adventRead": {
55 "properties": {
66 "lastSeenDay": {
77 "maximum": 25,
88 "minimum": 0,
99 "type": "integer"
1010 },
1111 "openedDays": {
1212 "items": {
1313 "type": "integer"
1414 },
1515 "maxLength": 25,
1616 "type": "array"
1717 },
1818 "year": {
1919 "type": "integer"
2020 }
2121 },
2222 "required": [
2323 "year",
2424 "lastSeenDay",
2525 "openedDays"
2626 ],
2727 "type": "object"
2828 },
2929 "customFavorite": {
3030 "description": "Bluemoji のスナップショット。url などは表示のたびに再解決されるので、権威は uri のみ。",
3131 "properties": {
3232 "emoji": {
3333 "type": "unknown"
3434 },
3535 "kind": {
3636 "const": "custom",
3737 "type": "string"
3838 }
3939 },
4040 "required": [
4141 "kind",
4242 "emoji"
4343 ],
4444 "type": "object"
4545 },
4646 "diaryDay": {
4747 "description": "日記の「1日」を決める設定。本人にだけ返す。PDS レコードには書かない。",
4848 "properties": {
4949 "current": {
5050 "ref": "#diaryDayCurrent",
5151 "type": "ref"
5252 },
5353 "detectedTimezone": {
5454 "description": "Nagi を開いたときにブラウザから届いたタイムゾーン。",
5555 "maxLength": 64,
5656 "type": "string"
5757 },
5858 "manualTimezone": {
5959 "description": "本人が選んだタイムゾーン。あれば自動検出より優先する。",
6060 "maxLength": 64,
6161 "type": "string"
6262 },
6363 "pending": {
6464 "ref": "#diaryDayPending",
6565 "type": "ref"
6666 },
6767 "startHour": {
6868 "description": "本人が選んだ区切りの時刻(18〜23, 0〜6)。既定は22。",
6969 "maximum": 23,
7070 "minimum": 0,
7171 "type": "integer"
7272 }
7373 },
7474 "required": [
7575 "startHour",
7676 "current"
7777 ],
7878 "type": "object"
7979 },
8080 "diaryDayCurrent": {
8181 "description": "今開いている日に使っている設定。effectiveFrom はその設定が有効になった日(言語からの推定のままなら省略)。",
8282 "properties": {
8383 "effectiveFrom": {
8484 "maxLength": 10,
8585 "type": "string"
8686 },
8787 "startHour": {
8888 "maximum": 23,
8989 "minimum": 0,
9090 "type": "integer"
9191 },
9292 "timezone": {
9393 "maxLength": 64,
9494 "type": "string"
9595 }
9696 },
9797 "required": [
9898 "timezone",
9999 "startHour"
100100 ],
101101 "type": "object"
102102 },
103103 "diaryDayPending": {
104104 "description": "まだ有効になっていない変更。effectiveFrom の日の日記から反映される。",
105105 "properties": {
106106 "effectiveFrom": {
107107 "maxLength": 10,
108108 "type": "string"
109109 },
110110 "startHour": {
111111 "maximum": 23,
112112 "minimum": 0,
113113 "type": "integer"
114114 },
115115 "timezone": {
116116 "maxLength": 64,
117117 "type": "string"
118118 }
119119 },
120120 "required": [
121121 "timezone",
122122 "startHour",
123123 "effectiveFrom"
124124 ],
125125 "type": "object"
126126 },
127127 "feedTab": {
128128 "description": "フィードのタブ1枚。必要なフィールドは kind ごとに異なる(list / custom は source、hashtag / search は query、bsky は uri または source=following)。",
129129 "properties": {
130130 "id": {
131131 "maxLength": 64,
132132 "type": "string"
133133 },
134134 "kind": {
135135 "knownValues": [
136136 "list",
137137 "global",
138138 "custom",
139139 "hashtag",
140140 "search",
141141 "bsky"
142142 ],
143143 "maxLength": 32,
144144 "type": "string"
145145 },
146146 "label": {
147147 "description": "表示名のスナップショット。権威は query / uri 側。",
148148 "maxLength": 64,
149149 "type": "string"
150150 },
151151 "query": {
152152 "description": "kind が search のときは自由文の保存クエリ、hashtag のときはタグ(先頭の # を除いた小文字)。",
153153 "maxLength": 128,
154154 "type": "string"
155155 },
156156 "source": {
157 "description": "kind が list / custom のときの参照先(list=home, custom=affirmation)。kind が bsky のときは following(Bluesky のホームタイムライン)だけを取り、uri と排他。",
157 "description": "kind が list / custom のときの参照先(list=home, custom=recommended。affirmation は旧クライアントが書く値で、recommended として読む)。kind が bsky のときは following(Bluesky のホームタイムライン)だけを取り、uri と排他。",
158158 "knownValues": [
159159 "home",
160 "recommended",
160161 "affirmation",
161162 "following"
162163 ],
163164 "maxLength": 32,
164165 "type": "string"
165166 },
166167 "uri": {
167168 "description": "kind が bsky のときの app.bsky.feed.generator の AT-URI。source が following なら持たない。",
168169 "format": "at-uri",
169170 "maxLength": 512,
170171 "type": "string"
171172 }
172173 },
173174 "required": [
174175 "id",
175176 "kind"
176177 ],
177178 "type": "object"
178179 },
179180 "languagePreferences": {
180181 "properties": {
181182 "autoTranslate": {
182183 "type": "boolean"
183184 },
184185 "post": {
185186 "maxLength": 16,
186187 "type": "string"
187188 },
188189 "provider": {
189190 "knownValues": [
190191 "kagi",
191192 "deepl",
192193 "google"
193194 ],
194195 "type": "string"
195196 },
196197 "translation": {
197198 "maxLength": 16,
198199 "type": "string"
199200 }
200201 },
201202 "required": [
202203 "post",
203204 "translation",
204205 "provider",
205206 "autoTranslate"
206207 ],
207208 "type": "object"
208209 },
209210 "main": {
210211 "description": "端末をまたいで同期する本人の設定(既読位置、お気に入り絵文字、フィードタブ、投稿・翻訳言語、コンテンツ表示、通知、最後のブックマークフォルダ)を返す。他ユーザーからは参照できない。",
211212 "errors": [
212213 {
213214 "name": "AuthRequired"
214215 }
215216 ],
216217 "output": {
217218 "encoding": "application/json",
218219 "schema": {
219220 "properties": {
220221 "adventRead": {
221222 "description": "今年のアドベントカレンダーの既読と、開封演出を見終えた自分のカードの日。",
222223 "ref": "#adventRead",
223224 "type": "ref"
224225 },
225226 "chronicleReadYears": {
226227 "description": "年ごとの既読ハッシュ。過去の版は蓄積せず、現在の年表内容と一致する版だけを保存する。",
227228 "items": {
228229 "ref": "com.suibari.nagi.getChronicle#readYear",
229230 "type": "ref"
230231 },
231232 "type": "array"
232233 },
233234 "diaryDay": {
234235 "ref": "#diaryDay",
235236 "type": "ref"
236237 },
237238 "emojiFavorites": {
238239 "description": "お気に入り絵文字パレット。表示順そのまま。要素は #unicodeFavorite または #customFavorite。",
239240 "items": {
240241 "type": "unknown"
241242 },
242243 "maxLength": 32,
243244 "type": "array"
244245 },
245246 "emojiFavoritesUpdatedAt": {
246247 "description": "省略時は、この利用者のお気に入りがまだ一度も同期されていないことを表す。",
247248 "format": "datetime",
248249 "type": "string"
249250 },
250251 "feedTabs": {
251252 "description": "フィードのタブ。表示順そのまま。",
252253 "items": {
253254 "ref": "#feedTab",
254255 "type": "ref"
255256 },
256257 "maxLength": 16,
257258 "type": "array"
258259 },
259260 "feedTabsUpdatedAt": {
260261 "description": "省略時は、この利用者がまだ一度もタブをカスタムしていないことを表す(クライアントは既定タブを使う)。",
261262 "format": "datetime",
262263 "type": "string"
263264 },
264265 "languagePreferences": {
265266 "ref": "#languagePreferences",
266267 "type": "ref"
267268 },
268269 "languagePreferencesUpdatedAt": {
269270 "format": "datetime",
270271 "type": "string"
271272 },
272273 "lastBookmarkFolderId": {
273274 "maxLength": 64,
274275 "type": "string"
275276 },
276277 "lastBookmarkFolderUpdatedAt": {
277278 "format": "datetime",
278279 "type": "string"
279280 },
280281 "moderationPreferences": {
281282 "ref": "#moderationPreferences",
282283 "type": "ref"
283284 },
284285 "moderationPreferencesUpdatedAt": {
285286 "format": "datetime",
286287 "type": "string"
287288 },
288289 "notificationPreferences": {
289290 "ref": "#notificationPreferences",
290291 "type": "ref"
291292 },
292293 "notificationPreferencesUpdatedAt": {
293294 "description": "省略時は、この利用者がまだ一度も通知設定を保存していないことを表す(すべて既定)。",
294295 "format": "datetime",
295296 "type": "string"
296297 },
297298 "preferredName": {
298299 "description": "botたんに呼んでほしい名前。省略時は未設定=表示名で呼ばれる。",
299300 "maxGraphemes": 40,
300301 "maxLength": 120,
301302 "type": "string"
302303 },
303304 "readPositions": {
304305 "items": {
305306 "ref": "#readPosition",
306307 "type": "ref"
307308 },
308309 "type": "array"
309310 },
310311 "replyFreq": {
311312 "description": "botたんからの返信確率(0〜100%)。Bluesky側のfreq設定と共用。",
312313 "maximum": 100,
313314 "minimum": 0,
314315 "type": "integer"
315316 },
316317 "tagFavorites": {
317318 "description": "お気に入りタグ。# を除いた小文字の正規形で、表示順そのまま。",
318319 "items": {
319320 "maxLength": 64,
320321 "type": "string"
321322 },
322323 "maxLength": 32,
323324 "type": "array"
324325 },
325326 "tagFavoritesUpdatedAt": {
326327 "description": "省略時は、この利用者のお気に入りタグがまだ一度も同期されていないことを表す。",
327328 "format": "datetime",
328329 "type": "string"
329330 }
330331 },
331332 "required": [
332333 "readPositions",
333334 "emojiFavorites"
334335 ],
335336 "type": "object"
336337 }
337338 },
338339 "type": "query"
339340 },
340341 "moderationPreferences": {
341342 "properties": {
342343 "automatic": {
343344 "knownValues": [
344345 "warn",
345346 "hide",
346347 "ignore"
347348 ],
348349 "type": "string"
349350 },
350351 "selfAi": {
351352 "knownValues": [
352353 "warn",
353354 "hide",
354355 "ignore"
355356 ],
356357 "type": "string"
357358 },
358359 "selfNsfw": {
359360 "knownValues": [
360361 "warn",
361362 "hide",
362363 "ignore"
363364 ],
364365 "type": "string"
365366 }
366367 },
367368 "required": [
368369 "automatic",
369370 "selfAi",
370371 "selfNsfw"
371372 ],
372373 "type": "object"
373374 },
374375 "notificationPreference": {
375376 "description": "list は通知欄に出すか、push はプッシュ通知するか。",
376377 "properties": {
377378 "list": {
378379 "type": "boolean"
379380 },
380381 "push": {
381382 "type": "boolean"
382383 }
383384 },
384385 "required": [
385386 "list",
386387 "push"
387388 ],
388389 "type": "object"
389390 },
390391 "notificationPreferences": {
391392 "description": "通知の種別ごとの設定。Bluesky の app.bsky.notification.defs#preferences に倣う。省略したカテゴリは list / push とも true。botInteraction は botたんからの返信・メンション・リアクション(その3種別では人からのものと分けて扱う)。seasonal は季節の特別なお知らせ(アドベントカレンダーなど期間限定の催し)。bluesky で始まるカテゴリは Bluesky の通知の Push で、省略時は list / push とも false。list は使わない。",
392393 "properties": {
393394 "analysis": {
394395 "ref": "#notificationPreference",
395396 "type": "ref"
396397 },
397398 "blueskyFollow": {
398399 "ref": "#notificationPreference",
399400 "type": "ref"
400401 },
401402 "blueskyLike": {
402403 "ref": "#notificationPreference",
403404 "type": "ref"
404405 },
405406 "blueskyMention": {
406407 "ref": "#notificationPreference",
407408 "type": "ref"
408409 },
409410 "blueskyQuote": {
410411 "ref": "#notificationPreference",
411412 "type": "ref"
412413 },
413414 "blueskyReply": {
414415 "ref": "#notificationPreference",
415416 "type": "ref"
416417 },
417418 "blueskyRepost": {
418419 "ref": "#notificationPreference",
419420 "type": "ref"
420421 },
421422 "botInteraction": {
422423 "ref": "#notificationPreference",
423424 "type": "ref"
424425 },
425426 "chronicle": {
426427 "ref": "#notificationPreference",
427428 "type": "ref"
428429 },
429430 "diary": {
430431 "ref": "#notificationPreference",
431432 "type": "ref"
432433 },
433434 "gift": {
434435 "ref": "#notificationPreference",
435436 "type": "ref"
436437 },
437438 "mention": {
438439 "ref": "#notificationPreference",
439440 "type": "ref"
440441 },
441442 "mood": {
442443 "ref": "#notificationPreference",
443444 "type": "ref"
444445 },
445446 "reaction": {
446447 "ref": "#notificationPreference",
447448 "type": "ref"
448449 },
449450 "reply": {
450451 "ref": "#notificationPreference",
451452 "type": "ref"
452453 },
453454 "seasonal": {
454455 "ref": "#notificationPreference",
455456 "type": "ref"
456457 }
457458 },
458459 "type": "object"
459460 },
460461 "readPosition": {
461462 "description": "「ここまで読んだ」位置。新旧の比較は (indexedAt, uri) の辞書順で行う。",
462463 "properties": {
463464 "indexedAt": {
464465 "format": "datetime",
465466 "type": "string"
466467 },
467468 "section": {
468469 "knownValues": [
469470 "bot",
470471 "community",
471472 "list",
472473 "channels",
473474 "news"
474475 ],
475476 "maxLength": 32,
476477 "type": "string"
477478 },
478479 "uri": {
479480 "format": "at-uri",
480481 "maxLength": 2048,
481482 "type": "string"
482483 }
483484 },
484485 "required": [
485486 "section",
486487 "indexedAt",
487488 "uri"
488489 ],
489490 "type": "object"
490491 },
491492 "unicodeFavorite": {
492493 "properties": {
493494 "emoji": {
494495 "maxLength": 64,
495496 "type": "string"
496497 },
497498 "kind": {
498499 "const": "unicode",
499500 "type": "string"
500501 }
501502 },
502503 "required": [
503504 "kind",
504505 "emoji"
505506 ],
506507 "type": "object"
507508 }
508509 },
509510 "id": "com.suibari.nagi.getPreferences",
510511 "lexicon": 1
511512}

Compare other versions