Skip to content

Commit

Permalink
Timeline index pref (#2188)
Browse files Browse the repository at this point in the history
* add following index pref

* added changeset

* change pref name

* update changeset
  • Loading branch information
dholms authored Feb 16, 2024
1 parent fcf8e3f commit 8c94979
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/silly-ligers-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@atproto/api': patch
---

Added timelineIndex to savedFeedsPref
3 changes: 3 additions & 0 deletions lexicons/app/bsky/actor/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@
"type": "string",
"format": "at-uri"
}
},
"timelineIndex": {
"type": "integer"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions packages/api/src/client/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4833,6 +4833,9 @@ export const schemaDict = {
format: 'at-uri',
},
},
timelineIndex: {
type: 'integer',
},
},
},
personalDetailsPref: {
Expand Down
1 change: 1 addition & 0 deletions packages/api/src/client/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export function validateContentLabelPref(v: unknown): ValidationResult {
export interface SavedFeedsPref {
pinned: string[]
saved: string[]
timelineIndex?: number
[k: string]: unknown
}

Expand Down
3 changes: 3 additions & 0 deletions packages/bsky/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4833,6 +4833,9 @@ export const schemaDict = {
format: 'at-uri',
},
},
timelineIndex: {
type: 'integer',
},
},
},
personalDetailsPref: {
Expand Down
1 change: 1 addition & 0 deletions packages/bsky/src/lexicon/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export function validateContentLabelPref(v: unknown): ValidationResult {
export interface SavedFeedsPref {
pinned: string[]
saved: string[]
timelineIndex?: number
[k: string]: unknown
}

Expand Down
3 changes: 3 additions & 0 deletions packages/ozone/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4833,6 +4833,9 @@ export const schemaDict = {
format: 'at-uri',
},
},
timelineIndex: {
type: 'integer',
},
},
},
personalDetailsPref: {
Expand Down
1 change: 1 addition & 0 deletions packages/ozone/src/lexicon/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export function validateContentLabelPref(v: unknown): ValidationResult {
export interface SavedFeedsPref {
pinned: string[]
saved: string[]
timelineIndex?: number
[k: string]: unknown
}

Expand Down
3 changes: 3 additions & 0 deletions packages/pds/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4833,6 +4833,9 @@ export const schemaDict = {
format: 'at-uri',
},
},
timelineIndex: {
type: 'integer',
},
},
},
personalDetailsPref: {
Expand Down
1 change: 1 addition & 0 deletions packages/pds/src/lexicon/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export function validateContentLabelPref(v: unknown): ValidationResult {
export interface SavedFeedsPref {
pinned: string[]
saved: string[]
timelineIndex?: number
[k: string]: unknown
}

Expand Down

0 comments on commit 8c94979

Please sign in to comment.