@stream-io/feeds-client 0.3.11 → 0.3.13
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.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react-bindings.js +1 -1
- package/dist/es/index.mjs +2 -2
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/react-bindings.mjs +1 -1
- package/dist/{feeds-client-CW1V7UYV.mjs → feeds-client-B6dsdSNW.mjs} +6 -2
- package/dist/feeds-client-B6dsdSNW.mjs.map +1 -0
- package/dist/{feeds-client-BZsETpdK.js → feeds-client-DaiBvVCs.js} +6 -2
- package/dist/feeds-client-DaiBvVCs.js.map +1 -0
- package/dist/types/bindings/react/hooks/client-state-hooks/useClientConnectedUser.d.ts +1 -1
- package/dist/types/bindings/react/hooks/client-state-hooks/useClientConnectedUser.d.ts.map +1 -1
- package/dist/types/common/real-time/event-models.d.ts +2 -2
- package/dist/types/common/real-time/event-models.d.ts.map +1 -1
- package/dist/types/feeds-client/feeds-client.d.ts +3 -3
- package/dist/types/feeds-client/feeds-client.d.ts.map +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts.map +1 -1
- package/dist/types/gen/models/index.d.ts +7 -0
- package/dist/types/gen/models/index.d.ts.map +1 -1
- package/dist/types/types.d.ts +5 -1
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/common/real-time/event-models.ts +2 -2
- package/src/feeds-client/feeds-client.ts +7 -3
- package/src/gen/feeds/FeedsApi.ts +4 -0
- package/src/gen/models/index.ts +14 -0
- package/src/types.ts +3 -1
- package/dist/feeds-client-BZsETpdK.js.map +0 -1
- package/dist/feeds-client-CW1V7UYV.mjs.map +0 -1
package/src/gen/models/index.ts
CHANGED
|
@@ -375,6 +375,8 @@ export interface ActivityRequest {
|
|
|
375
375
|
|
|
376
376
|
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
377
377
|
|
|
378
|
+
skip_enrich_url?: boolean;
|
|
379
|
+
|
|
378
380
|
text?: string;
|
|
379
381
|
|
|
380
382
|
visibility?: 'public' | 'private' | 'tag';
|
|
@@ -547,6 +549,8 @@ export interface AddActivityRequest {
|
|
|
547
549
|
|
|
548
550
|
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
549
551
|
|
|
552
|
+
skip_enrich_url?: boolean;
|
|
553
|
+
|
|
550
554
|
text?: string;
|
|
551
555
|
|
|
552
556
|
visibility?: 'public' | 'private' | 'tag';
|
|
@@ -623,6 +627,8 @@ export interface AddCommentRequest {
|
|
|
623
627
|
|
|
624
628
|
parent_id?: string;
|
|
625
629
|
|
|
630
|
+
skip_enrich_url?: boolean;
|
|
631
|
+
|
|
626
632
|
skip_push?: boolean;
|
|
627
633
|
|
|
628
634
|
attachments?: Attachment[];
|
|
@@ -2818,6 +2824,8 @@ export interface FeedsPreferences {
|
|
|
2818
2824
|
|
|
2819
2825
|
comment_reaction?: 'all' | 'none';
|
|
2820
2826
|
|
|
2827
|
+
comment_reply?: 'all' | 'none';
|
|
2828
|
+
|
|
2821
2829
|
follow?: 'all' | 'none';
|
|
2822
2830
|
|
|
2823
2831
|
mention?: 'all' | 'none';
|
|
@@ -3849,6 +3857,8 @@ export interface NotificationComment {
|
|
|
3849
3857
|
}
|
|
3850
3858
|
|
|
3851
3859
|
export interface NotificationConfig {
|
|
3860
|
+
deduplication_window?: string;
|
|
3861
|
+
|
|
3852
3862
|
track_read?: boolean;
|
|
3853
3863
|
|
|
3854
3864
|
track_seen?: boolean;
|
|
@@ -5478,6 +5488,8 @@ export interface UpdateActivityRequest {
|
|
|
5478
5488
|
|
|
5479
5489
|
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
5480
5490
|
|
|
5491
|
+
skip_enrich_url?: boolean;
|
|
5492
|
+
|
|
5481
5493
|
text?: string;
|
|
5482
5494
|
|
|
5483
5495
|
visibility?: string;
|
|
@@ -5568,6 +5580,8 @@ export interface UpdateCollectionsResponse {
|
|
|
5568
5580
|
export interface UpdateCommentRequest {
|
|
5569
5581
|
comment?: string;
|
|
5570
5582
|
|
|
5583
|
+
skip_enrich_url?: boolean;
|
|
5584
|
+
|
|
5571
5585
|
skip_push?: boolean;
|
|
5572
5586
|
|
|
5573
5587
|
custom?: Record<string, any>;
|
package/src/types.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
UnhandledErrorEvent,
|
|
4
4
|
} from './common/real-time/event-models';
|
|
5
5
|
import type { NetworkChangedEvent } from './common/types';
|
|
6
|
-
import type { PagerResponse, WSEvent } from './gen/models';
|
|
6
|
+
import type { OwnUser, PagerResponse, WSEvent } from './gen/models';
|
|
7
7
|
import type { ActivityResponse, CommentResponse } from './gen/models';
|
|
8
8
|
import type { FeedsClient } from './feeds-client';
|
|
9
9
|
|
|
@@ -34,3 +34,5 @@ export type TokenProvider = () => Promise<string>;
|
|
|
34
34
|
export type StreamFile = File | { name: string; uri: string; type: string };
|
|
35
35
|
|
|
36
36
|
export type CommentParent = ActivityResponse | CommentResponse;
|
|
37
|
+
|
|
38
|
+
export type ConnectedUser = OwnUser & { name?: string; image?: string };
|