@livetiles/reach-plugin-types 0.4.137 → 0.4.139
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 +299 -263
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -435,10 +435,11 @@ declare module "libs/shared/util/common/src/avatarUtil" {
|
|
|
435
435
|
export function getPersonaInitialsColor(initials: string): PersonaInitialsColor;
|
|
436
436
|
}
|
|
437
437
|
declare module "libs/shared/util/common/src/dateUtils" {
|
|
438
|
-
export
|
|
439
|
-
export
|
|
440
|
-
export
|
|
441
|
-
export
|
|
438
|
+
export const getDateOrNow: (value?: string) => Date;
|
|
439
|
+
export const ensureDate: (value: string | Date) => Date;
|
|
440
|
+
export const isDateToday: (value: string | Date) => boolean;
|
|
441
|
+
export const isSameOrAfter: (date: Date, dateToCompare: Date) => boolean;
|
|
442
|
+
export const toTimezone: (date: Date) => Date;
|
|
442
443
|
}
|
|
443
444
|
declare module "libs/shared/util/common/src/index" {
|
|
444
445
|
export * from "libs/shared/util/common/src/Logger";
|
|
@@ -2053,7 +2054,8 @@ declare module "libs/reach/util/common/src/content/EventItem" {
|
|
|
2053
2054
|
export enum EventResponse {
|
|
2054
2055
|
NotSet = 0,
|
|
2055
2056
|
Registered = 1,
|
|
2056
|
-
Declined = 2
|
|
2057
|
+
Declined = 2,
|
|
2058
|
+
WaitingList = 3
|
|
2057
2059
|
}
|
|
2058
2060
|
export interface EventItem extends SchedulableItem {
|
|
2059
2061
|
startDate?: string;
|
|
@@ -2073,6 +2075,7 @@ declare module "libs/reach/util/common/src/content/EventItem" {
|
|
|
2073
2075
|
isAllDayEvent?: boolean;
|
|
2074
2076
|
}
|
|
2075
2077
|
export interface EventRegistrationSettings {
|
|
2078
|
+
enableWaitingList?: boolean;
|
|
2076
2079
|
enabled?: boolean;
|
|
2077
2080
|
showParticipantsToEverybody?: boolean;
|
|
2078
2081
|
deadline?: string;
|
|
@@ -2476,7 +2479,9 @@ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
|
2476
2479
|
embeddedAudio = "embedded-audio",
|
|
2477
2480
|
languageChange = "language-change",
|
|
2478
2481
|
eventRegistration = "event-registration",
|
|
2482
|
+
eventWaitingList = "event-waiting-list",
|
|
2479
2483
|
eventSeriesRegistration = "event-series-registration",
|
|
2484
|
+
eventSeriesWaitingList = "event-series-waiting-list",
|
|
2480
2485
|
translateContent = "translate-content",
|
|
2481
2486
|
downloadFile = "download-file",
|
|
2482
2487
|
embeddedIframe = "embedded-iframe",
|
|
@@ -7600,26 +7605,27 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventPathCon
|
|
|
7600
7605
|
}>;
|
|
7601
7606
|
}
|
|
7602
7607
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo" {
|
|
7603
|
-
import { FC } from 'react';
|
|
7604
7608
|
import { Channel, EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
7609
|
+
import { FC } from 'react';
|
|
7605
7610
|
export const EventLocationInfo: FC<{
|
|
7606
|
-
locations: EventLocation[];
|
|
7607
|
-
itemId: string;
|
|
7608
7611
|
className?: string;
|
|
7612
|
+
itemId: string;
|
|
7613
|
+
locations: EventLocation[];
|
|
7614
|
+
noWrap?: boolean;
|
|
7609
7615
|
}>;
|
|
7610
7616
|
export const EventPeopleInfo: FC<{
|
|
7611
|
-
|
|
7617
|
+
className?: string;
|
|
7612
7618
|
hideAnnouncer?: boolean;
|
|
7613
|
-
|
|
7619
|
+
item: EventItem;
|
|
7614
7620
|
labelResourceKey?: string;
|
|
7615
|
-
|
|
7621
|
+
showFirstContactOnly?: boolean;
|
|
7616
7622
|
}>;
|
|
7617
7623
|
export const EventChannelsDisplay: FC<{
|
|
7618
|
-
item: EventItem;
|
|
7619
|
-
language: string;
|
|
7620
|
-
className?: string;
|
|
7621
7624
|
allowFilterByChannels?: boolean;
|
|
7622
7625
|
channelBackgroundColor?: string;
|
|
7626
|
+
className?: string;
|
|
7627
|
+
item: EventItem;
|
|
7628
|
+
language: string;
|
|
7623
7629
|
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
7624
7630
|
}>;
|
|
7625
7631
|
export const RTLMetaInfoStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -7670,31 +7676,15 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7670
7676
|
className?: string;
|
|
7671
7677
|
}>;
|
|
7672
7678
|
}
|
|
7673
|
-
declare module "libs/reach/feature/content/src/
|
|
7674
|
-
import {
|
|
7675
|
-
import {
|
|
7676
|
-
import {
|
|
7677
|
-
export
|
|
7678
|
-
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7682
|
-
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
7683
|
-
reset: () => Promise<void>;
|
|
7684
|
-
onBehalfOfUpn: string;
|
|
7685
|
-
hasPollContext: boolean;
|
|
7686
|
-
eventResponse: EventResponse;
|
|
7687
|
-
setEventResponse: (response: EventResponse) => unknown;
|
|
7688
|
-
seatsInfo: EventRegistrationSeatsInfo;
|
|
7689
|
-
}
|
|
7690
|
-
export interface EventLocationWithLeftSeats extends EventLocation {
|
|
7691
|
-
seatsLeft: number;
|
|
7692
|
-
}
|
|
7693
|
-
export interface EventRegistrationSeatsInfo {
|
|
7694
|
-
hasAnySeatsLeft: boolean;
|
|
7695
|
-
locations?: EventLocationWithLeftSeats[];
|
|
7696
|
-
}
|
|
7697
|
-
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7679
|
+
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7680
|
+
import { MessageDescriptor } from 'react-intl';
|
|
7681
|
+
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7682
|
+
import { TranslationItem } from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7683
|
+
export function getLocationQuestionId(item: EventItem): string;
|
|
7684
|
+
export function getLocationPollDefinitions(item: EventItem, formatMessage: (messageDescriptor: MessageDescriptor, values?: Record<string, any>) => string, result?: PollResult, isOnBehalfOf?: boolean): {
|
|
7685
|
+
question?: PollQuestion;
|
|
7686
|
+
translations?: TranslationItem[];
|
|
7687
|
+
};
|
|
7698
7688
|
}
|
|
7699
7689
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7700
7690
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
@@ -7709,40 +7699,58 @@ declare module "libs/reach/feature/content/src/common/detail/events/eventUtils"
|
|
|
7709
7699
|
isPastDeadline: boolean;
|
|
7710
7700
|
};
|
|
7711
7701
|
}
|
|
7702
|
+
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7703
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7704
|
+
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
7705
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7706
|
+
export function useEventRegistrationApi(): {
|
|
7707
|
+
setEventRegistration: (itemId: string, response: EventResponse, pollAnswers?: PollQuestionAnswer[], locationId?: string, onBehalfOfUpn?: string) => Promise<unknown>;
|
|
7708
|
+
getEventRegistrationResults: (itemId: string) => Promise<EventRegistrationResult>;
|
|
7709
|
+
getParticipants: (eventId: string) => Promise<EventParticipant[]>;
|
|
7710
|
+
};
|
|
7711
|
+
}
|
|
7712
7712
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton" {
|
|
7713
|
-
import { FC } from 'react';
|
|
7714
7713
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7714
|
+
import { FC } from 'react';
|
|
7715
7715
|
export const EventRegistrationButton: FC<{
|
|
7716
|
-
isRegistered: boolean;
|
|
7717
|
-
eventId: string;
|
|
7718
|
-
disabled?: boolean;
|
|
7719
7716
|
className?: string;
|
|
7717
|
+
disabled?: boolean;
|
|
7718
|
+
eventId: string;
|
|
7719
|
+
infoMessageResourceKey?: string;
|
|
7720
|
+
isRegistered: boolean;
|
|
7721
|
+
isWaitingList: boolean;
|
|
7722
|
+
isWaitingListEnabled?: boolean;
|
|
7720
7723
|
onClick?: () => void;
|
|
7721
7724
|
showInfoMessage?: boolean;
|
|
7722
|
-
infoMessageResourceKey?: string;
|
|
7723
7725
|
}>;
|
|
7724
7726
|
export const RegisterButton: import("styled-components").StyledComponent<typeof PrimaryButton, import("styled-components").DefaultTheme, {
|
|
7725
7727
|
isRegistered?: boolean;
|
|
7726
7728
|
}, never>;
|
|
7727
7729
|
}
|
|
7728
|
-
declare module "libs/reach/feature/content/src/events/
|
|
7729
|
-
import { EventItem,
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7730
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationContext" {
|
|
7731
|
+
import { EventItem, EventLocation, EventResponse, PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7732
|
+
export interface EventUserRegistrationContextType {
|
|
7733
|
+
answers: PollQuestionAnswer[];
|
|
7734
|
+
eventResponse: EventResponse;
|
|
7735
|
+
hasMissingAnswers: boolean;
|
|
7736
|
+
hasPollContext: boolean;
|
|
7737
|
+
isLoading: boolean;
|
|
7738
|
+
isLoadingPollResult: boolean;
|
|
7739
|
+
item: EventItem;
|
|
7740
|
+
onBehalfOfUpn: string;
|
|
7741
|
+
reset: () => Promise<void>;
|
|
7742
|
+
seatsInfo: EventRegistrationSeatsInfo;
|
|
7743
|
+
setEventResponse: (response: EventResponse) => unknown;
|
|
7744
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
7745
|
+
}
|
|
7746
|
+
export interface EventLocationWithLeftSeats extends EventLocation {
|
|
7747
|
+
seatsLeft: number;
|
|
7748
|
+
}
|
|
7749
|
+
export interface EventRegistrationSeatsInfo {
|
|
7742
7750
|
hasAnySeatsLeft: boolean;
|
|
7743
|
-
locations
|
|
7744
|
-
|
|
7745
|
-
|
|
7751
|
+
locations?: EventLocationWithLeftSeats[];
|
|
7752
|
+
}
|
|
7753
|
+
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7746
7754
|
}
|
|
7747
7755
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription" {
|
|
7748
7756
|
export const EventRegistrationInfoDescription: import("styled-components").StyledComponent<import("react").FC<{
|
|
@@ -7753,62 +7761,65 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7753
7761
|
dir?: string;
|
|
7754
7762
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
7755
7763
|
}
|
|
7756
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterStatusInfo" {
|
|
7757
|
-
import { FC } from 'react';
|
|
7758
|
-
export const EventRegistrationRegisterStatusInfo: FC<{
|
|
7759
|
-
isRegistered: boolean;
|
|
7760
|
-
onBehalfOfUpn: string;
|
|
7761
|
-
className?: string;
|
|
7762
|
-
}>;
|
|
7763
|
-
}
|
|
7764
7764
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationDeadlineInfo" {
|
|
7765
7765
|
import { FC } from 'react';
|
|
7766
7766
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
7767
7767
|
export const EventRegistrationDeadlineInfo: FC<{
|
|
7768
|
-
item: EventItem;
|
|
7769
|
-
isRegistered: boolean;
|
|
7770
7768
|
className?: string;
|
|
7769
|
+
isRegistered: boolean;
|
|
7770
|
+
item: EventItem;
|
|
7771
7771
|
}>;
|
|
7772
7772
|
}
|
|
7773
7773
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationFullSeriesDialog" {
|
|
7774
7774
|
import { FC } from 'react';
|
|
7775
7775
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
7776
7776
|
export const EventUserRegistrationFullSeriesDialog: FC<{
|
|
7777
|
-
item: EventItem;
|
|
7778
|
-
visible: boolean;
|
|
7779
7777
|
isRegistered: boolean;
|
|
7778
|
+
isWaitingList: boolean;
|
|
7779
|
+
isWaitingListEnabled?: boolean;
|
|
7780
|
+
item: EventItem;
|
|
7780
7781
|
onClick: (doRegister: boolean) => unknown;
|
|
7781
7782
|
onDismiss: () => unknown;
|
|
7783
|
+
visible: boolean;
|
|
7782
7784
|
}>;
|
|
7783
7785
|
}
|
|
7784
|
-
declare module "libs/reach/feature/content/src/common/detail/events/
|
|
7785
|
-
import {
|
|
7786
|
-
import {
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
}
|
|
7786
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationLocationSeatsInfo" {
|
|
7787
|
+
import { FC } from 'react';
|
|
7788
|
+
import { EventLocationWithLeftSeats } from "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationContext";
|
|
7789
|
+
export const EventRegistrationLocationSeatsInfo: FC<{
|
|
7790
|
+
className?: string;
|
|
7791
|
+
hasAnySeatsLeft: boolean;
|
|
7792
|
+
isHidden: boolean;
|
|
7793
|
+
locations: EventLocationWithLeftSeats[];
|
|
7794
|
+
}>;
|
|
7795
|
+
}
|
|
7796
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterStatusInfo" {
|
|
7797
|
+
import { FC } from 'react';
|
|
7798
|
+
export const EventRegistrationRegisterStatusInfo: FC<{
|
|
7799
|
+
className?: string;
|
|
7800
|
+
isRegistered: boolean;
|
|
7801
|
+
isWaitingList: boolean;
|
|
7802
|
+
onBehalfOfUpn: string;
|
|
7803
|
+
}>;
|
|
7793
7804
|
}
|
|
7794
7805
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7795
7806
|
import { FC } from 'react';
|
|
7796
7807
|
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7797
7808
|
export const EventUserRegistration: FC<{
|
|
7809
|
+
className?: string;
|
|
7798
7810
|
disabled?: boolean;
|
|
7799
7811
|
hideInfoMessage?: boolean;
|
|
7800
|
-
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7801
7812
|
onRegistrationRedirect?: (url: string) => void;
|
|
7802
|
-
|
|
7813
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7803
7814
|
}>;
|
|
7804
7815
|
}
|
|
7805
7816
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration" {
|
|
7806
7817
|
import { FC } from 'react';
|
|
7807
7818
|
import { EventItem, LanguageDirection } from "libs/reach/util/common/src/index";
|
|
7808
7819
|
export const EventCardUserRegistration: FC<{
|
|
7809
|
-
item: EventItem;
|
|
7810
|
-
disabled?: boolean;
|
|
7811
7820
|
className?: string;
|
|
7821
|
+
disabled?: boolean;
|
|
7822
|
+
item: EventItem;
|
|
7812
7823
|
languageDirection?: LanguageDirection;
|
|
7813
7824
|
onRegistrationRedirect?: (url: string) => void;
|
|
7814
7825
|
}>;
|
|
@@ -8756,10 +8767,167 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8756
8767
|
}>;
|
|
8757
8768
|
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8758
8769
|
}
|
|
8770
|
+
declare module "libs/reach/feature/content/src/events/index" {
|
|
8771
|
+
export * from "libs/reach/feature/content/src/events/EventLocationLink";
|
|
8772
|
+
export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfo";
|
|
8773
|
+
export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoNavLink";
|
|
8774
|
+
export * from "libs/reach/feature/content/src/events/eventUtils";
|
|
8775
|
+
export * from "libs/reach/feature/content/src/events/list/EventCard";
|
|
8776
|
+
export * from "libs/reach/feature/content/src/events/useEventsApi";
|
|
8777
|
+
}
|
|
8778
|
+
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8779
|
+
import { FC } from 'react';
|
|
8780
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8781
|
+
interface DateInfoProps {
|
|
8782
|
+
item: Partial<PublishableItem>;
|
|
8783
|
+
dateMode: DateMode;
|
|
8784
|
+
expiryDate?: string;
|
|
8785
|
+
className?: string;
|
|
8786
|
+
}
|
|
8787
|
+
export enum DateMode {
|
|
8788
|
+
Published = 0,
|
|
8789
|
+
Modified = 1
|
|
8790
|
+
}
|
|
8791
|
+
export const DateInfo: FC<DateInfoProps>;
|
|
8792
|
+
}
|
|
8793
|
+
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8794
|
+
import { FC } from 'react';
|
|
8795
|
+
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8796
|
+
import { Account, Channel, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8797
|
+
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8798
|
+
export const ItemMetaInfo: FC<{
|
|
8799
|
+
item: Partial<PublishableItem>;
|
|
8800
|
+
className?: string;
|
|
8801
|
+
expiryDate?: string;
|
|
8802
|
+
channels?: Channel[];
|
|
8803
|
+
showChannels?: boolean;
|
|
8804
|
+
dateMode: DateMode;
|
|
8805
|
+
readOnly?: boolean;
|
|
8806
|
+
hideAvatar?: boolean;
|
|
8807
|
+
hideDisplayName?: boolean;
|
|
8808
|
+
language?: string;
|
|
8809
|
+
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8810
|
+
clickableAvatar?: boolean;
|
|
8811
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
8812
|
+
}>;
|
|
8813
|
+
}
|
|
8814
|
+
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
8815
|
+
import { FC } from 'react';
|
|
8816
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8817
|
+
export const ExternalNewsLinkButton: FC<{
|
|
8818
|
+
item: PublishableItem;
|
|
8819
|
+
disabled?: boolean;
|
|
8820
|
+
onClick?: (e: React.MouseEvent<unknown>) => unknown;
|
|
8821
|
+
className?: string;
|
|
8822
|
+
}>;
|
|
8823
|
+
}
|
|
8824
|
+
declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
|
|
8825
|
+
import { FC, MouseEvent } from 'react';
|
|
8826
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8827
|
+
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8828
|
+
export const ExternalPagesLinkButton: FC<{
|
|
8829
|
+
item: PublishableItem | PageNavigationNode;
|
|
8830
|
+
disabled?: boolean;
|
|
8831
|
+
onClick?: (e: MouseEvent) => unknown;
|
|
8832
|
+
className?: string;
|
|
8833
|
+
}>;
|
|
8834
|
+
}
|
|
8835
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8836
|
+
import { FC } from 'react';
|
|
8837
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8838
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8839
|
+
interface Props {
|
|
8840
|
+
id: string;
|
|
8841
|
+
item: PublishableItem;
|
|
8842
|
+
itemResourceType: ItemResourceTypes;
|
|
8843
|
+
}
|
|
8844
|
+
export const CardBanner: FC<Props>;
|
|
8845
|
+
}
|
|
8846
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8847
|
+
import { FC, ReactNode } from 'react';
|
|
8848
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8849
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8850
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8851
|
+
interface CardProps {
|
|
8852
|
+
item: PublishableItem;
|
|
8853
|
+
itemResourceType: ItemResourceTypes;
|
|
8854
|
+
additionalMetadata?: ReactNode;
|
|
8855
|
+
highlight?: boolean;
|
|
8856
|
+
languageDirection?: string;
|
|
8857
|
+
className?: string;
|
|
8858
|
+
}
|
|
8859
|
+
export const Card: FC<CardProps>;
|
|
8860
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
8861
|
+
item: TItem;
|
|
8862
|
+
language: string;
|
|
8863
|
+
}
|
|
8864
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8865
|
+
}
|
|
8759
8866
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8760
8867
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8761
8868
|
export const Intro: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
8762
8869
|
}
|
|
8870
|
+
declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
8871
|
+
import { FC } from 'react';
|
|
8872
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8873
|
+
interface NewsCardProps {
|
|
8874
|
+
item: NewsItem;
|
|
8875
|
+
baseRoute: string;
|
|
8876
|
+
language: string;
|
|
8877
|
+
highlight: boolean;
|
|
8878
|
+
className?: string;
|
|
8879
|
+
}
|
|
8880
|
+
export const NewsCard: FC<NewsCardProps>;
|
|
8881
|
+
}
|
|
8882
|
+
declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
|
|
8883
|
+
import { FC } from 'react';
|
|
8884
|
+
export const EmptyChannelsView: FC;
|
|
8885
|
+
}
|
|
8886
|
+
declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
|
|
8887
|
+
import { FC } from 'react';
|
|
8888
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8889
|
+
interface Props {
|
|
8890
|
+
item: NewsItem;
|
|
8891
|
+
iconName: string;
|
|
8892
|
+
iconTooltipStringResource: string;
|
|
8893
|
+
baseItemRoute: string;
|
|
8894
|
+
msColorName: string;
|
|
8895
|
+
}
|
|
8896
|
+
export const PromotedNewsItem: FC<Props>;
|
|
8897
|
+
}
|
|
8898
|
+
declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
8899
|
+
import { FC } from 'react';
|
|
8900
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8901
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
8902
|
+
export const NewsList: FC<{
|
|
8903
|
+
items: NewsItem[];
|
|
8904
|
+
baseItemRoute: string;
|
|
8905
|
+
isLoading: boolean;
|
|
8906
|
+
isLastPage: boolean;
|
|
8907
|
+
unreadOnly?: boolean;
|
|
8908
|
+
filter?: NewsFilterDefinition;
|
|
8909
|
+
activeChannel?: string;
|
|
8910
|
+
}>;
|
|
8911
|
+
}
|
|
8912
|
+
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
8913
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8914
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8915
|
+
export function useTranslateApi(): {
|
|
8916
|
+
translateContents: (type: ItemResourceTypes, itemId: string, language: string) => Promise<PublishableItemContent>;
|
|
8917
|
+
};
|
|
8918
|
+
}
|
|
8919
|
+
declare module "libs/reach/feature/content/src/news/index" {
|
|
8920
|
+
export * from "libs/reach/feature/content/src/news/DateInfo";
|
|
8921
|
+
export * from "libs/reach/feature/content/src/news/ItemMetaInfo";
|
|
8922
|
+
export * from "libs/reach/feature/content/src/news/NewsService";
|
|
8923
|
+
export * from "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton";
|
|
8924
|
+
export * from "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton";
|
|
8925
|
+
export * from "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton";
|
|
8926
|
+
export * from "libs/reach/feature/content/src/news/list-view/NewsCard";
|
|
8927
|
+
export * from "libs/reach/feature/content/src/news/list-view/NewsList";
|
|
8928
|
+
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
8929
|
+
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
8930
|
+
}
|
|
8763
8931
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
8764
8932
|
import { FC } from 'react';
|
|
8765
8933
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -8832,17 +9000,6 @@ declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
|
8832
9000
|
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8833
9001
|
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8834
9002
|
}
|
|
8835
|
-
declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
|
|
8836
|
-
import { FC, MouseEvent } from 'react';
|
|
8837
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8838
|
-
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8839
|
-
export const ExternalPagesLinkButton: FC<{
|
|
8840
|
-
item: PublishableItem | PageNavigationNode;
|
|
8841
|
-
disabled?: boolean;
|
|
8842
|
-
onClick?: (e: MouseEvent) => unknown;
|
|
8843
|
-
className?: string;
|
|
8844
|
-
}>;
|
|
8845
|
-
}
|
|
8846
9003
|
declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
8847
9004
|
import { FC } from 'react';
|
|
8848
9005
|
import { PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
@@ -8966,176 +9123,30 @@ declare module "libs/reach/feature/content/src/pages/index" {
|
|
|
8966
9123
|
export * from "libs/reach/feature/content/src/pages/utils";
|
|
8967
9124
|
export * from "libs/reach/feature/content/src/pages/DocumentDownloadButton";
|
|
8968
9125
|
}
|
|
8969
|
-
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8970
|
-
import { FC } from 'react';
|
|
8971
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8972
|
-
interface DateInfoProps {
|
|
8973
|
-
item: Partial<PublishableItem>;
|
|
8974
|
-
dateMode: DateMode;
|
|
8975
|
-
expiryDate?: string;
|
|
8976
|
-
className?: string;
|
|
8977
|
-
}
|
|
8978
|
-
export enum DateMode {
|
|
8979
|
-
Published = 0,
|
|
8980
|
-
Modified = 1
|
|
8981
|
-
}
|
|
8982
|
-
export const DateInfo: FC<DateInfoProps>;
|
|
8983
|
-
}
|
|
8984
|
-
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8985
|
-
import { FC } from 'react';
|
|
8986
|
-
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8987
|
-
import { Account, Channel, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8988
|
-
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8989
|
-
export const ItemMetaInfo: FC<{
|
|
8990
|
-
item: Partial<PublishableItem>;
|
|
8991
|
-
className?: string;
|
|
8992
|
-
expiryDate?: string;
|
|
8993
|
-
channels?: Channel[];
|
|
8994
|
-
showChannels?: boolean;
|
|
8995
|
-
dateMode: DateMode;
|
|
8996
|
-
readOnly?: boolean;
|
|
8997
|
-
hideAvatar?: boolean;
|
|
8998
|
-
hideDisplayName?: boolean;
|
|
8999
|
-
language?: string;
|
|
9000
|
-
buildChannelFilterUrl?: (channelName: string) => string;
|
|
9001
|
-
clickableAvatar?: boolean;
|
|
9002
|
-
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
9003
|
-
}>;
|
|
9004
|
-
}
|
|
9005
|
-
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
9006
|
-
import { FC } from 'react';
|
|
9007
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9008
|
-
export const ExternalNewsLinkButton: FC<{
|
|
9009
|
-
item: PublishableItem;
|
|
9010
|
-
disabled?: boolean;
|
|
9011
|
-
onClick?: (e: React.MouseEvent<unknown>) => unknown;
|
|
9012
|
-
className?: string;
|
|
9013
|
-
}>;
|
|
9014
|
-
}
|
|
9015
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9016
|
-
import { FC } from 'react';
|
|
9017
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9018
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9019
|
-
interface Props {
|
|
9020
|
-
id: string;
|
|
9021
|
-
item: PublishableItem;
|
|
9022
|
-
itemResourceType: ItemResourceTypes;
|
|
9023
|
-
}
|
|
9024
|
-
export const CardBanner: FC<Props>;
|
|
9025
|
-
}
|
|
9026
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9027
|
-
import { FC, ReactNode } from 'react';
|
|
9028
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9029
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9030
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9031
|
-
interface CardProps {
|
|
9032
|
-
item: PublishableItem;
|
|
9033
|
-
itemResourceType: ItemResourceTypes;
|
|
9034
|
-
additionalMetadata?: ReactNode;
|
|
9035
|
-
highlight?: boolean;
|
|
9036
|
-
languageDirection?: string;
|
|
9037
|
-
className?: string;
|
|
9038
|
-
}
|
|
9039
|
-
export const Card: FC<CardProps>;
|
|
9040
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
9041
|
-
item: TItem;
|
|
9042
|
-
language: string;
|
|
9043
|
-
}
|
|
9044
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9045
|
-
}
|
|
9046
|
-
declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
9047
|
-
import { FC } from 'react';
|
|
9048
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9049
|
-
interface NewsCardProps {
|
|
9050
|
-
item: NewsItem;
|
|
9051
|
-
baseRoute: string;
|
|
9052
|
-
language: string;
|
|
9053
|
-
highlight: boolean;
|
|
9054
|
-
className?: string;
|
|
9055
|
-
}
|
|
9056
|
-
export const NewsCard: FC<NewsCardProps>;
|
|
9057
|
-
}
|
|
9058
|
-
declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
|
|
9059
|
-
import { FC } from 'react';
|
|
9060
|
-
export const EmptyChannelsView: FC;
|
|
9061
|
-
}
|
|
9062
|
-
declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
|
|
9063
|
-
import { FC } from 'react';
|
|
9064
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9065
|
-
interface Props {
|
|
9066
|
-
item: NewsItem;
|
|
9067
|
-
iconName: string;
|
|
9068
|
-
iconTooltipStringResource: string;
|
|
9069
|
-
baseItemRoute: string;
|
|
9070
|
-
msColorName: string;
|
|
9071
|
-
}
|
|
9072
|
-
export const PromotedNewsItem: FC<Props>;
|
|
9073
|
-
}
|
|
9074
|
-
declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
9075
|
-
import { FC } from 'react';
|
|
9076
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9077
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
9078
|
-
export const NewsList: FC<{
|
|
9079
|
-
items: NewsItem[];
|
|
9080
|
-
baseItemRoute: string;
|
|
9081
|
-
isLoading: boolean;
|
|
9082
|
-
isLastPage: boolean;
|
|
9083
|
-
unreadOnly?: boolean;
|
|
9084
|
-
filter?: NewsFilterDefinition;
|
|
9085
|
-
activeChannel?: string;
|
|
9086
|
-
}>;
|
|
9087
|
-
}
|
|
9088
|
-
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
9089
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9090
|
-
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9091
|
-
export function useTranslateApi(): {
|
|
9092
|
-
translateContents: (type: ItemResourceTypes, itemId: string, language: string) => Promise<PublishableItemContent>;
|
|
9093
|
-
};
|
|
9094
|
-
}
|
|
9095
|
-
declare module "libs/reach/feature/content/src/news/index" {
|
|
9096
|
-
export * from "libs/reach/feature/content/src/news/DateInfo";
|
|
9097
|
-
export * from "libs/reach/feature/content/src/news/ItemMetaInfo";
|
|
9098
|
-
export * from "libs/reach/feature/content/src/news/NewsService";
|
|
9099
|
-
export * from "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton";
|
|
9100
|
-
export * from "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton";
|
|
9101
|
-
export * from "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton";
|
|
9102
|
-
export * from "libs/reach/feature/content/src/news/list-view/NewsCard";
|
|
9103
|
-
export * from "libs/reach/feature/content/src/news/list-view/NewsList";
|
|
9104
|
-
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9105
|
-
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9106
|
-
}
|
|
9107
|
-
declare module "libs/reach/feature/content/src/events/index" {
|
|
9108
|
-
export * from "libs/reach/feature/content/src/events/EventLocationLink";
|
|
9109
|
-
export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfo";
|
|
9110
|
-
export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoNavLink";
|
|
9111
|
-
export * from "libs/reach/feature/content/src/events/eventUtils";
|
|
9112
|
-
export * from "libs/reach/feature/content/src/events/list/EventCard";
|
|
9113
|
-
export * from "libs/reach/feature/content/src/events/useEventsApi";
|
|
9114
|
-
}
|
|
9115
9126
|
declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
9116
|
-
import { FC, MouseEvent, ReactNode } from 'react';
|
|
9117
9127
|
import { Channel, EventItem } from "libs/reach/util/common/src/index";
|
|
9128
|
+
import { FC, MouseEvent, ReactNode } from 'react';
|
|
9118
9129
|
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9119
9130
|
interface StyleDefinition {
|
|
9120
9131
|
backgroundColor?: string;
|
|
9121
|
-
noShadow?: boolean;
|
|
9122
|
-
channelsBackgroundColor?: string;
|
|
9123
9132
|
bannerContainerDefaultWidth?: number;
|
|
9133
|
+
channelsBackgroundColor?: string;
|
|
9134
|
+
noShadow?: boolean;
|
|
9124
9135
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
9125
9136
|
}
|
|
9126
9137
|
interface Props {
|
|
9127
|
-
item: EventItem;
|
|
9128
9138
|
baseRoute: string;
|
|
9129
|
-
layoutMode?: ItemTileLayoutMode;
|
|
9130
9139
|
buttons?: ReactNode;
|
|
9131
|
-
|
|
9132
|
-
|
|
9140
|
+
className?: string;
|
|
9141
|
+
item: EventItem;
|
|
9142
|
+
layoutMode?: ItemTileLayoutMode;
|
|
9133
9143
|
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
9134
|
-
|
|
9144
|
+
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
9145
|
+
onRegistrationRedirect?: (url: string) => void;
|
|
9146
|
+
openTargetInNewWindow?: boolean;
|
|
9135
9147
|
showBanner?: boolean;
|
|
9136
9148
|
showBannerAlwaysOnTheLeft?: boolean;
|
|
9137
|
-
|
|
9138
|
-
className?: string;
|
|
9149
|
+
styleDefinition?: StyleDefinition;
|
|
9139
9150
|
}
|
|
9140
9151
|
export const EventItemTile: FC<Props>;
|
|
9141
9152
|
}
|
|
@@ -9473,22 +9484,20 @@ declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
|
9473
9484
|
}
|
|
9474
9485
|
declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider" {
|
|
9475
9486
|
import { FC } from 'react';
|
|
9476
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9477
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9478
|
-
import { PollQuestion, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
9487
|
+
import { ItemResourceTypes, PollQuestion, PollQuestionAnswer, PollResult, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9479
9488
|
import { FeedbackItem } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
9480
9489
|
import { TranslationItem } from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9481
9490
|
export const PollUserContextProvider: FC<{
|
|
9482
|
-
item: PublishableItem;
|
|
9483
|
-
onBehalfOfUpn?: string;
|
|
9484
|
-
resourceType: ItemResourceTypes;
|
|
9485
|
-
language: string;
|
|
9486
9491
|
getAdditionalQuestions?: (pollResult?: PollResult) => {
|
|
9487
9492
|
questions: PollQuestion[];
|
|
9488
9493
|
translations: TranslationItem[];
|
|
9489
9494
|
};
|
|
9490
9495
|
getAdditionalUserAnswers?: (records: FeedbackItem[]) => PollQuestionAnswer[];
|
|
9491
9496
|
getPollResults: (itemId: string) => Promise<PollResult>;
|
|
9497
|
+
item: PublishableItem;
|
|
9498
|
+
language: string;
|
|
9499
|
+
onBehalfOfUpn?: string;
|
|
9500
|
+
resourceType: ItemResourceTypes;
|
|
9492
9501
|
showResult?: boolean;
|
|
9493
9502
|
}>;
|
|
9494
9503
|
}
|
|
@@ -9525,9 +9534,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9525
9534
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
|
|
9526
9535
|
import { FC } from 'react';
|
|
9527
9536
|
export const EventDetailViewUserRegistration: FC<{
|
|
9537
|
+
className?: string;
|
|
9528
9538
|
hideInfoMessage?: boolean;
|
|
9529
9539
|
isReadOnly?: boolean;
|
|
9530
|
-
className?: string;
|
|
9531
9540
|
}>;
|
|
9532
9541
|
}
|
|
9533
9542
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
@@ -10257,10 +10266,16 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
10257
10266
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
10258
10267
|
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10259
10268
|
export enum StreamEventResponse {
|
|
10260
|
-
NotSet = "
|
|
10269
|
+
NotSet = "NOT_SET",
|
|
10261
10270
|
Registered = "REGISTERED",
|
|
10271
|
+
WaitingList = "WAITING_LIST",
|
|
10262
10272
|
Declined = "DECLINED"
|
|
10263
10273
|
}
|
|
10274
|
+
export enum StreamSeriesRegistrationMode {
|
|
10275
|
+
None = "NONE",
|
|
10276
|
+
FullSeries = "FULL_SERIES",
|
|
10277
|
+
PerInstance = "PER_INSTANCE"
|
|
10278
|
+
}
|
|
10264
10279
|
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10265
10280
|
}
|
|
10266
10281
|
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
@@ -10320,7 +10335,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
10320
10335
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10321
10336
|
}
|
|
10322
10337
|
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10323
|
-
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10338
|
+
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList, SeriesRegistrationMode } from "libs/reach/util/common/src/index";
|
|
10324
10339
|
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10325
10340
|
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10326
10341
|
export enum StreamItemTypes {
|
|
@@ -10961,6 +10976,13 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10961
10976
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10962
10977
|
} | {
|
|
10963
10978
|
userResponse: EventResponse;
|
|
10979
|
+
registrationSettings: {
|
|
10980
|
+
seriesMode: SeriesRegistrationMode;
|
|
10981
|
+
enableWaitingList?: boolean;
|
|
10982
|
+
enabled?: boolean;
|
|
10983
|
+
showParticipantsToEverybody?: boolean;
|
|
10984
|
+
deadline?: string;
|
|
10985
|
+
};
|
|
10964
10986
|
cancelInformation: {
|
|
10965
10987
|
reasons: {
|
|
10966
10988
|
[key: string]: string;
|
|
@@ -11012,6 +11034,13 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11012
11034
|
attachmentContainerId?: string;
|
|
11013
11035
|
} | {
|
|
11014
11036
|
userResponse: EventResponse;
|
|
11037
|
+
registrationSettings: {
|
|
11038
|
+
seriesMode: SeriesRegistrationMode;
|
|
11039
|
+
enableWaitingList?: boolean;
|
|
11040
|
+
enabled?: boolean;
|
|
11041
|
+
showParticipantsToEverybody?: boolean;
|
|
11042
|
+
deadline?: string;
|
|
11043
|
+
};
|
|
11015
11044
|
cancelInformation: {
|
|
11016
11045
|
reasons: {
|
|
11017
11046
|
[key: string]: string;
|
|
@@ -11077,6 +11106,13 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11077
11106
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11078
11107
|
} | {
|
|
11079
11108
|
userResponse: EventResponse;
|
|
11109
|
+
registrationSettings: {
|
|
11110
|
+
seriesMode: SeriesRegistrationMode;
|
|
11111
|
+
enableWaitingList?: boolean;
|
|
11112
|
+
enabled?: boolean;
|
|
11113
|
+
showParticipantsToEverybody?: boolean;
|
|
11114
|
+
deadline?: string;
|
|
11115
|
+
};
|
|
11080
11116
|
cancelInformation: {
|
|
11081
11117
|
reasons: {
|
|
11082
11118
|
[key: string]: string;
|