@atproto/api 0.13.27 → 0.13.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1090,6 +1090,27 @@ exports.schemaDict = {
1090
1090
  },
1091
1091
  },
1092
1092
  },
1093
+ ComAtprotoLexiconSchema: {
1094
+ lexicon: 1,
1095
+ id: 'com.atproto.lexicon.schema',
1096
+ defs: {
1097
+ main: {
1098
+ type: 'record',
1099
+ description: "Representation of Lexicon schemas themselves, when published as atproto records. Note that the schema language is not defined in Lexicon; this meta schema currently only includes a single version field ('lexicon'). See the atproto specifications for description of the other expected top-level fields ('id', 'defs', etc).",
1100
+ key: 'nsid',
1101
+ record: {
1102
+ type: 'object',
1103
+ required: ['lexicon'],
1104
+ properties: {
1105
+ lexicon: {
1106
+ type: 'integer',
1107
+ description: "Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system.",
1108
+ },
1109
+ },
1110
+ },
1111
+ },
1112
+ },
1113
+ },
1093
1114
  ComAtprotoModerationCreateReport: {
1094
1115
  lexicon: 1,
1095
1116
  id: 'com.atproto.moderation.createReport',
@@ -4673,6 +4694,10 @@ exports.schemaDict = {
4673
4694
  ref: 'lex:app.bsky.actor.defs#profileView',
4674
4695
  },
4675
4696
  },
4697
+ recId: {
4698
+ type: 'integer',
4699
+ description: 'Snowflake for this recommendation, use when submitting recommendation events.',
4700
+ },
4676
4701
  },
4677
4702
  },
4678
4703
  },
@@ -5577,6 +5602,13 @@ exports.schemaDict = {
5577
5602
  type: 'ref',
5578
5603
  ref: 'lex:app.bsky.feed.defs#generatorViewerState',
5579
5604
  },
5605
+ contentMode: {
5606
+ type: 'string',
5607
+ knownValues: [
5608
+ 'app.bsky.feed.defs#contentModeUnspecified',
5609
+ 'app.bsky.feed.defs#contentModeVideo',
5610
+ ],
5611
+ },
5580
5612
  indexedAt: {
5581
5613
  type: 'string',
5582
5614
  format: 'datetime',
@@ -5706,6 +5738,14 @@ exports.schemaDict = {
5706
5738
  type: 'token',
5707
5739
  description: 'User clicked through to the embedded content of the feed item',
5708
5740
  },
5741
+ contentModeUnspecified: {
5742
+ type: 'token',
5743
+ description: 'Declares the feed generator returns any types of posts.',
5744
+ },
5745
+ contentModeVideo: {
5746
+ type: 'token',
5747
+ description: 'Declares the feed generator returns posts containing app.bsky.embed.video embeds.',
5748
+ },
5709
5749
  interactionSeen: {
5710
5750
  type: 'token',
5711
5751
  description: 'Feed item was seen by user',
@@ -5834,6 +5874,13 @@ exports.schemaDict = {
5834
5874
  description: 'Self-label values',
5835
5875
  refs: ['lex:com.atproto.label.defs#selfLabels'],
5836
5876
  },
5877
+ contentMode: {
5878
+ type: 'string',
5879
+ knownValues: [
5880
+ 'app.bsky.feed.defs#contentModeUnspecified',
5881
+ 'app.bsky.feed.defs#contentModeVideo',
5882
+ ],
5883
+ },
5837
5884
  createdAt: {
5838
5885
  type: 'string',
5839
5886
  format: 'datetime',
@@ -8086,6 +8133,10 @@ exports.schemaDict = {
8086
8133
  description: 'If true, response has fallen-back to generic results, and is not scoped using relativeToDid',
8087
8134
  default: false,
8088
8135
  },
8136
+ recId: {
8137
+ type: 'integer',
8138
+ description: 'Snowflake for this recommendation, use when submitting recommendation events.',
8139
+ },
8089
8140
  },
8090
8141
  },
8091
8142
  },
@@ -9129,6 +9180,10 @@ exports.schemaDict = {
9129
9180
  format: 'did',
9130
9181
  description: 'DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer.',
9131
9182
  },
9183
+ recId: {
9184
+ type: 'integer',
9185
+ description: 'Snowflake for this recommendation, use when submitting recommendation events.',
9186
+ },
9132
9187
  },
9133
9188
  },
9134
9189
  },
@@ -13275,6 +13330,7 @@ exports.ids = {
13275
13330
  ComAtprotoLabelDefs: 'com.atproto.label.defs',
13276
13331
  ComAtprotoLabelQueryLabels: 'com.atproto.label.queryLabels',
13277
13332
  ComAtprotoLabelSubscribeLabels: 'com.atproto.label.subscribeLabels',
13333
+ ComAtprotoLexiconSchema: 'com.atproto.lexicon.schema',
13278
13334
  ComAtprotoModerationCreateReport: 'com.atproto.moderation.createReport',
13279
13335
  ComAtprotoModerationDefs: 'com.atproto.moderation.defs',
13280
13336
  ComAtprotoRepoApplyWrites: 'com.atproto.repo.applyWrites',