@atcute/bluesky 1.0.11 → 1.0.12

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.
@@ -296,6 +296,8 @@ declare module '@atcute/client/lexicons' {
296
296
  interface Output {
297
297
  actors: AppBskyActorDefs.ProfileView[];
298
298
  cursor?: string;
299
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
300
+ recId?: number;
299
301
  }
300
302
  }
301
303
  namespace AppBskyActorProfile {
@@ -544,6 +546,8 @@ declare module '@atcute/client/lexicons' {
544
546
  type ClickthroughEmbed = 'app.bsky.feed.defs#clickthroughEmbed';
545
547
  type ClickthroughItem = 'app.bsky.feed.defs#clickthroughItem';
546
548
  type ClickthroughReposter = 'app.bsky.feed.defs#clickthroughReposter';
549
+ type ContentModeUnspecified = 'app.bsky.feed.defs#contentModeUnspecified';
550
+ type ContentModeVideo = 'app.bsky.feed.defs#contentModeVideo';
547
551
  interface FeedViewPost {
548
552
  [Brand.Type]?: 'app.bsky.feed.defs#feedViewPost';
549
553
  post: PostView;
@@ -565,6 +569,7 @@ declare module '@atcute/client/lexicons' {
565
569
  uri: At.Uri;
566
570
  acceptsInteractions?: boolean;
567
571
  avatar?: string;
572
+ contentMode?: 'app.bsky.feed.defs#contentModeUnspecified' | 'app.bsky.feed.defs#contentModeVideo' | (string & {});
568
573
  /**
569
574
  * Maximum string length: 3000 \
570
575
  * Maximum grapheme length: 300
@@ -709,6 +714,7 @@ declare module '@atcute/client/lexicons' {
709
714
  /** Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions */
710
715
  acceptsInteractions?: boolean;
711
716
  avatar?: At.Blob;
717
+ contentMode?: 'app.bsky.feed.defs#contentModeUnspecified' | 'app.bsky.feed.defs#contentModeVideo' | (string & {});
712
718
  /**
713
719
  * Maximum string length: 3000 \
714
720
  * Maximum grapheme length: 300
@@ -1580,6 +1586,8 @@ declare module '@atcute/client/lexicons' {
1580
1586
  * @default false
1581
1587
  */
1582
1588
  isFallback?: boolean;
1589
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
1590
+ recId?: number;
1583
1591
  }
1584
1592
  }
1585
1593
  namespace AppBskyGraphList {
@@ -1965,6 +1973,8 @@ declare module '@atcute/client/lexicons' {
1965
1973
  interface Output {
1966
1974
  actors: AppBskyUnspeccedDefs.SkeletonSearchActor[];
1967
1975
  cursor?: string;
1976
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
1977
+ recId?: number;
1968
1978
  /** DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer. */
1969
1979
  relativeToDid?: At.DID;
1970
1980
  }
package/lib/lexicons.ts CHANGED
@@ -318,6 +318,8 @@ declare module '@atcute/client/lexicons' {
318
318
  interface Output {
319
319
  actors: AppBskyActorDefs.ProfileView[];
320
320
  cursor?: string;
321
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
322
+ recId?: number;
321
323
  }
322
324
  }
323
325
 
@@ -591,6 +593,8 @@ declare module '@atcute/client/lexicons' {
591
593
  type ClickthroughEmbed = 'app.bsky.feed.defs#clickthroughEmbed';
592
594
  type ClickthroughItem = 'app.bsky.feed.defs#clickthroughItem';
593
595
  type ClickthroughReposter = 'app.bsky.feed.defs#clickthroughReposter';
596
+ type ContentModeUnspecified = 'app.bsky.feed.defs#contentModeUnspecified';
597
+ type ContentModeVideo = 'app.bsky.feed.defs#contentModeVideo';
594
598
  interface FeedViewPost {
595
599
  [Brand.Type]?: 'app.bsky.feed.defs#feedViewPost';
596
600
  post: PostView;
@@ -612,6 +616,10 @@ declare module '@atcute/client/lexicons' {
612
616
  uri: At.Uri;
613
617
  acceptsInteractions?: boolean;
614
618
  avatar?: string;
619
+ contentMode?:
620
+ | 'app.bsky.feed.defs#contentModeUnspecified'
621
+ | 'app.bsky.feed.defs#contentModeVideo'
622
+ | (string & {});
615
623
  /**
616
624
  * Maximum string length: 3000 \
617
625
  * Maximum grapheme length: 300
@@ -776,6 +784,10 @@ declare module '@atcute/client/lexicons' {
776
784
  /** Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions */
777
785
  acceptsInteractions?: boolean;
778
786
  avatar?: At.Blob;
787
+ contentMode?:
788
+ | 'app.bsky.feed.defs#contentModeUnspecified'
789
+ | 'app.bsky.feed.defs#contentModeVideo'
790
+ | (string & {});
779
791
  /**
780
792
  * Maximum string length: 3000 \
781
793
  * Maximum grapheme length: 300
@@ -1701,6 +1713,8 @@ declare module '@atcute/client/lexicons' {
1701
1713
  * @default false
1702
1714
  */
1703
1715
  isFallback?: boolean;
1716
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
1717
+ recId?: number;
1704
1718
  }
1705
1719
  }
1706
1720
 
@@ -2108,6 +2122,8 @@ declare module '@atcute/client/lexicons' {
2108
2122
  interface Output {
2109
2123
  actors: AppBskyUnspeccedDefs.SkeletonSearchActor[];
2110
2124
  cursor?: string;
2125
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
2126
+ recId?: number;
2111
2127
  /** DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer. */
2112
2128
  relativeToDid?: At.DID;
2113
2129
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@atcute/bluesky",
4
- "version": "1.0.11",
4
+ "version": "1.0.12",
5
5
  "description": "Bluesky type definitions for atcute",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -21,8 +21,8 @@
21
21
  "@atcute/client": "^1.0.0 || ^2.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@atcute/lex-cli": "^1.0.3",
25
- "@atcute/client": "^2.0.6"
24
+ "@atcute/client": "^2.0.7",
25
+ "@atcute/lex-cli": "^1.0.4"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsc",