@livetiles/reach-plugin-types 0.4.0-preview.767 → 0.4.0-preview.769
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/lib/index.d.ts +12 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6333,6 +6333,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6333
6333
|
response: EventResponse;
|
|
6334
6334
|
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6335
6335
|
}
|
|
6336
|
+
export class LikeFullSeriesTriggerAction implements AppTriggerAction {
|
|
6337
|
+
static type: string;
|
|
6338
|
+
type: string;
|
|
6339
|
+
recurrenceSeriesId: string;
|
|
6340
|
+
itemId: string;
|
|
6341
|
+
isLiked: boolean;
|
|
6342
|
+
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6343
|
+
}
|
|
6336
6344
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6337
6345
|
static type: string;
|
|
6338
6346
|
type: string;
|
|
@@ -7444,6 +7452,8 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7444
7452
|
export const CardLikeButton: FC<{
|
|
7445
7453
|
item: NewsItem | EventItem;
|
|
7446
7454
|
itemResourceType: ItemResourceTypes;
|
|
7455
|
+
isAutoLiked?: boolean;
|
|
7456
|
+
onLiked?: (isLiked: boolean) => unknown;
|
|
7447
7457
|
className?: string;
|
|
7448
7458
|
}>;
|
|
7449
7459
|
}
|
|
@@ -8220,6 +8230,8 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8220
8230
|
showComments: boolean;
|
|
8221
8231
|
targetRoute: string;
|
|
8222
8232
|
itemResourceType: ItemResourceTypes;
|
|
8233
|
+
isAutoLiked?: boolean;
|
|
8234
|
+
onLiked?: (isLiked: boolean) => unknown;
|
|
8223
8235
|
}>;
|
|
8224
8236
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
8225
8237
|
}
|