@amityco/ts-sdk-react-native 7.25.1-4faf708f.0 → 7.25.1-a6eec2f8.0
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.
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
* The subset of a post payload needed to locate its parent.
|
|
3
3
|
*
|
|
4
4
|
* Both ids are declared non-nullable on {@link Amity.RawPost}, but events
|
|
5
|
-
* arrive with either one missing
|
|
6
|
-
* they are widened here to the shape the wire actually produces.
|
|
5
|
+
* arrive from the server with either one missing, so they are optional here.
|
|
7
6
|
*/
|
|
8
7
|
declare type ChildPostIds = {
|
|
9
8
|
postId: Amity.RawPost['postId'];
|
|
10
|
-
parentId?: Amity.RawPost['parentId']
|
|
11
|
-
parentPostId?: Amity.RawPost['parentPostId']
|
|
9
|
+
parentId?: Amity.RawPost['parentId'];
|
|
10
|
+
parentPostId?: Amity.RawPost['parentPostId'];
|
|
12
11
|
};
|
|
13
12
|
/**
|
|
14
13
|
* Resolves the id of the parent post that a child-post payload belongs to.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parentPost.d.ts","sourceRoot":"","sources":["../../../src/postRepository/events/parentPost.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"parentPost.d.ts","sourceRoot":"","sources":["../../../src/postRepository/events/parentPost.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,aAAK,YAAY,GAAG;IAClB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrC,YAAY,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;CAC9C,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB,SAAU,YAAY,KAAG,MAAM,GAAG,SAmBjE,CAAC"}
|
package/package.json
CHANGED