@livetiles/reach-plugin-types 0.5.0-preview.1033 → 0.5.0-preview.1034
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 +131 -110
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2098,7 +2098,8 @@ declare module "libs/reach/util/common/src/content/EventItem" {
|
|
|
2098
2098
|
export enum EventResponse {
|
|
2099
2099
|
NotSet = 0,
|
|
2100
2100
|
Registered = 1,
|
|
2101
|
-
Declined = 2
|
|
2101
|
+
Declined = 2,
|
|
2102
|
+
WaitingList = 3
|
|
2102
2103
|
}
|
|
2103
2104
|
export interface EventItem extends SchedulableItem {
|
|
2104
2105
|
startDate?: string;
|
|
@@ -2118,6 +2119,7 @@ declare module "libs/reach/util/common/src/content/EventItem" {
|
|
|
2118
2119
|
isAllDayEvent?: boolean;
|
|
2119
2120
|
}
|
|
2120
2121
|
export interface EventRegistrationSettings {
|
|
2122
|
+
enableWaitingList?: boolean;
|
|
2121
2123
|
enabled?: boolean;
|
|
2122
2124
|
showParticipantsToEverybody?: boolean;
|
|
2123
2125
|
deadline?: string;
|
|
@@ -2523,7 +2525,9 @@ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
|
2523
2525
|
embeddedAudio = "embedded-audio",
|
|
2524
2526
|
languageChange = "language-change",
|
|
2525
2527
|
eventRegistration = "event-registration",
|
|
2528
|
+
eventWaitingList = "event-waiting-list",
|
|
2526
2529
|
eventSeriesRegistration = "event-series-registration",
|
|
2530
|
+
eventSeriesWaitingList = "event-series-waiting-list",
|
|
2527
2531
|
translateContent = "translate-content",
|
|
2528
2532
|
downloadFile = "download-file",
|
|
2529
2533
|
embeddedIframe = "embedded-iframe",
|
|
@@ -7745,26 +7749,27 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventPathCon
|
|
|
7745
7749
|
}>;
|
|
7746
7750
|
}
|
|
7747
7751
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo" {
|
|
7748
|
-
import { FC } from 'react';
|
|
7749
7752
|
import { Channel, EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
7753
|
+
import { FC } from 'react';
|
|
7750
7754
|
export const EventLocationInfo: FC<{
|
|
7751
|
-
locations: EventLocation[];
|
|
7752
|
-
itemId: string;
|
|
7753
7755
|
className?: string;
|
|
7756
|
+
itemId: string;
|
|
7757
|
+
locations: EventLocation[];
|
|
7758
|
+
noWrap?: boolean;
|
|
7754
7759
|
}>;
|
|
7755
7760
|
export const EventPeopleInfo: FC<{
|
|
7756
|
-
|
|
7761
|
+
className?: string;
|
|
7757
7762
|
hideAnnouncer?: boolean;
|
|
7758
|
-
|
|
7763
|
+
item: EventItem;
|
|
7759
7764
|
labelResourceKey?: string;
|
|
7760
|
-
|
|
7765
|
+
showFirstContactOnly?: boolean;
|
|
7761
7766
|
}>;
|
|
7762
7767
|
export const EventChannelsDisplay: FC<{
|
|
7763
|
-
item: EventItem;
|
|
7764
|
-
language: string;
|
|
7765
|
-
className?: string;
|
|
7766
7768
|
allowFilterByChannels?: boolean;
|
|
7767
7769
|
channelBackgroundColor?: string;
|
|
7770
|
+
className?: string;
|
|
7771
|
+
item: EventItem;
|
|
7772
|
+
language: string;
|
|
7768
7773
|
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
7769
7774
|
}>;
|
|
7770
7775
|
export const RTLMetaInfoStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -7815,31 +7820,15 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7815
7820
|
className?: string;
|
|
7816
7821
|
}>;
|
|
7817
7822
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/
|
|
7819
|
-
import {
|
|
7820
|
-
import {
|
|
7821
|
-
import {
|
|
7822
|
-
export
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
7828
|
-
reset: () => Promise<void>;
|
|
7829
|
-
onBehalfOfUpn: string;
|
|
7830
|
-
hasPollContext: boolean;
|
|
7831
|
-
eventResponse: EventResponse;
|
|
7832
|
-
setEventResponse: (response: EventResponse) => unknown;
|
|
7833
|
-
seatsInfo: EventRegistrationSeatsInfo;
|
|
7834
|
-
}
|
|
7835
|
-
export interface EventLocationWithLeftSeats extends EventLocation {
|
|
7836
|
-
seatsLeft: number;
|
|
7837
|
-
}
|
|
7838
|
-
export interface EventRegistrationSeatsInfo {
|
|
7839
|
-
hasAnySeatsLeft: boolean;
|
|
7840
|
-
locations?: EventLocationWithLeftSeats[];
|
|
7841
|
-
}
|
|
7842
|
-
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7823
|
+
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7824
|
+
import { MessageDescriptor } from 'react-intl';
|
|
7825
|
+
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7826
|
+
import { TranslationItem } from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7827
|
+
export function getLocationQuestionId(item: EventItem): string;
|
|
7828
|
+
export function getLocationPollDefinitions(item: EventItem, formatMessage: (messageDescriptor: MessageDescriptor, values?: Record<string, any>) => string, result?: PollResult, isOnBehalfOf?: boolean): {
|
|
7829
|
+
question?: PollQuestion;
|
|
7830
|
+
translations?: TranslationItem[];
|
|
7831
|
+
};
|
|
7843
7832
|
}
|
|
7844
7833
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7845
7834
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
@@ -7854,40 +7843,58 @@ declare module "libs/reach/feature/content/src/common/detail/events/eventUtils"
|
|
|
7854
7843
|
isPastDeadline: boolean;
|
|
7855
7844
|
};
|
|
7856
7845
|
}
|
|
7846
|
+
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7847
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7848
|
+
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
7849
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7850
|
+
export function useEventRegistrationApi(): {
|
|
7851
|
+
setEventRegistration: (itemId: string, response: EventResponse, pollAnswers?: PollQuestionAnswer[], locationId?: string, onBehalfOfUpn?: string) => Promise<unknown>;
|
|
7852
|
+
getEventRegistrationResults: (itemId: string) => Promise<EventRegistrationResult>;
|
|
7853
|
+
getParticipants: (eventId: string) => Promise<EventParticipant[]>;
|
|
7854
|
+
};
|
|
7855
|
+
}
|
|
7857
7856
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton" {
|
|
7858
|
-
import { FC } from 'react';
|
|
7859
7857
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7858
|
+
import { FC } from 'react';
|
|
7860
7859
|
export const EventRegistrationButton: FC<{
|
|
7861
|
-
isRegistered: boolean;
|
|
7862
|
-
eventId: string;
|
|
7863
|
-
disabled?: boolean;
|
|
7864
7860
|
className?: string;
|
|
7861
|
+
disabled?: boolean;
|
|
7862
|
+
eventId: string;
|
|
7863
|
+
infoMessageResourceKey?: string;
|
|
7864
|
+
isRegistered: boolean;
|
|
7865
|
+
isWaitingList: boolean;
|
|
7866
|
+
isWaitingListEnabled?: boolean;
|
|
7865
7867
|
onClick?: () => void;
|
|
7866
7868
|
showInfoMessage?: boolean;
|
|
7867
|
-
infoMessageResourceKey?: string;
|
|
7868
7869
|
}>;
|
|
7869
7870
|
export const RegisterButton: import("styled-components").StyledComponent<typeof PrimaryButton, import("styled-components").DefaultTheme, {
|
|
7870
7871
|
isRegistered?: boolean;
|
|
7871
7872
|
}, never>;
|
|
7872
7873
|
}
|
|
7873
|
-
declare module "libs/reach/feature/content/src/events/
|
|
7874
|
-
import { EventItem,
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7874
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationContext" {
|
|
7875
|
+
import { EventItem, EventLocation, EventResponse, PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7876
|
+
export interface EventUserRegistrationContextType {
|
|
7877
|
+
answers: PollQuestionAnswer[];
|
|
7878
|
+
eventResponse: EventResponse;
|
|
7879
|
+
hasMissingAnswers: boolean;
|
|
7880
|
+
hasPollContext: boolean;
|
|
7881
|
+
isLoading: boolean;
|
|
7882
|
+
isLoadingPollResult: boolean;
|
|
7883
|
+
item: EventItem;
|
|
7884
|
+
onBehalfOfUpn: string;
|
|
7885
|
+
reset: () => Promise<void>;
|
|
7886
|
+
seatsInfo: EventRegistrationSeatsInfo;
|
|
7887
|
+
setEventResponse: (response: EventResponse) => unknown;
|
|
7888
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
7889
|
+
}
|
|
7890
|
+
export interface EventLocationWithLeftSeats extends EventLocation {
|
|
7891
|
+
seatsLeft: number;
|
|
7892
|
+
}
|
|
7893
|
+
export interface EventRegistrationSeatsInfo {
|
|
7887
7894
|
hasAnySeatsLeft: boolean;
|
|
7888
|
-
locations
|
|
7889
|
-
|
|
7890
|
-
|
|
7895
|
+
locations?: EventLocationWithLeftSeats[];
|
|
7896
|
+
}
|
|
7897
|
+
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7891
7898
|
}
|
|
7892
7899
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription" {
|
|
7893
7900
|
export const EventRegistrationInfoDescription: import("styled-components").StyledComponent<import("react").FC<{
|
|
@@ -7898,62 +7905,65 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7898
7905
|
dir?: string;
|
|
7899
7906
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
7900
7907
|
}
|
|
7901
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterStatusInfo" {
|
|
7902
|
-
import { FC } from 'react';
|
|
7903
|
-
export const EventRegistrationRegisterStatusInfo: FC<{
|
|
7904
|
-
isRegistered: boolean;
|
|
7905
|
-
onBehalfOfUpn: string;
|
|
7906
|
-
className?: string;
|
|
7907
|
-
}>;
|
|
7908
|
-
}
|
|
7909
7908
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationDeadlineInfo" {
|
|
7910
7909
|
import { FC } from 'react';
|
|
7911
7910
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
7912
7911
|
export const EventRegistrationDeadlineInfo: FC<{
|
|
7913
|
-
item: EventItem;
|
|
7914
|
-
isRegistered: boolean;
|
|
7915
7912
|
className?: string;
|
|
7913
|
+
isRegistered: boolean;
|
|
7914
|
+
item: EventItem;
|
|
7916
7915
|
}>;
|
|
7917
7916
|
}
|
|
7918
7917
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationFullSeriesDialog" {
|
|
7919
7918
|
import { FC } from 'react';
|
|
7920
7919
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
7921
7920
|
export const EventUserRegistrationFullSeriesDialog: FC<{
|
|
7922
|
-
item: EventItem;
|
|
7923
|
-
visible: boolean;
|
|
7924
7921
|
isRegistered: boolean;
|
|
7922
|
+
isWaitingList: boolean;
|
|
7923
|
+
isWaitingListEnabled?: boolean;
|
|
7924
|
+
item: EventItem;
|
|
7925
7925
|
onClick: (doRegister: boolean) => unknown;
|
|
7926
7926
|
onDismiss: () => unknown;
|
|
7927
|
+
visible: boolean;
|
|
7927
7928
|
}>;
|
|
7928
7929
|
}
|
|
7929
|
-
declare module "libs/reach/feature/content/src/common/detail/events/
|
|
7930
|
-
import {
|
|
7931
|
-
import {
|
|
7932
|
-
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
7936
|
-
|
|
7937
|
-
}
|
|
7930
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationLocationSeatsInfo" {
|
|
7931
|
+
import { FC } from 'react';
|
|
7932
|
+
import { EventLocationWithLeftSeats } from "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistrationContext";
|
|
7933
|
+
export const EventRegistrationLocationSeatsInfo: FC<{
|
|
7934
|
+
className?: string;
|
|
7935
|
+
hasAnySeatsLeft: boolean;
|
|
7936
|
+
isHidden: boolean;
|
|
7937
|
+
locations: EventLocationWithLeftSeats[];
|
|
7938
|
+
}>;
|
|
7939
|
+
}
|
|
7940
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterStatusInfo" {
|
|
7941
|
+
import { FC } from 'react';
|
|
7942
|
+
export const EventRegistrationRegisterStatusInfo: FC<{
|
|
7943
|
+
className?: string;
|
|
7944
|
+
isRegistered: boolean;
|
|
7945
|
+
isWaitingList: boolean;
|
|
7946
|
+
onBehalfOfUpn: string;
|
|
7947
|
+
}>;
|
|
7938
7948
|
}
|
|
7939
7949
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7940
7950
|
import { FC } from 'react';
|
|
7941
7951
|
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7942
7952
|
export const EventUserRegistration: FC<{
|
|
7953
|
+
className?: string;
|
|
7943
7954
|
disabled?: boolean;
|
|
7944
7955
|
hideInfoMessage?: boolean;
|
|
7945
|
-
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7946
7956
|
onRegistrationRedirect?: (url: string) => void;
|
|
7947
|
-
|
|
7957
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7948
7958
|
}>;
|
|
7949
7959
|
}
|
|
7950
7960
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration" {
|
|
7951
7961
|
import { FC } from 'react';
|
|
7952
7962
|
import { EventItem, LanguageDirection } from "libs/reach/util/common/src/index";
|
|
7953
7963
|
export const EventCardUserRegistration: FC<{
|
|
7954
|
-
item: EventItem;
|
|
7955
|
-
disabled?: boolean;
|
|
7956
7964
|
className?: string;
|
|
7965
|
+
disabled?: boolean;
|
|
7966
|
+
item: EventItem;
|
|
7957
7967
|
languageDirection?: LanguageDirection;
|
|
7958
7968
|
onRegistrationRedirect?: (url: string) => void;
|
|
7959
7969
|
}>;
|
|
@@ -8977,6 +8987,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8977
8987
|
}>;
|
|
8978
8988
|
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8979
8989
|
}
|
|
8990
|
+
declare module "libs/reach/feature/content/src/events/index" {
|
|
8991
|
+
export * from "libs/reach/feature/content/src/events/EventLocationLink";
|
|
8992
|
+
export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfo";
|
|
8993
|
+
export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoNavLink";
|
|
8994
|
+
export * from "libs/reach/feature/content/src/events/eventUtils";
|
|
8995
|
+
export * from "libs/reach/feature/content/src/events/list/EventCard";
|
|
8996
|
+
export * from "libs/reach/feature/content/src/events/useEventsApi";
|
|
8997
|
+
}
|
|
8980
8998
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8981
8999
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8982
9000
|
export const Intro: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -9194,38 +9212,30 @@ declare module "libs/reach/feature/content/src/pages/index" {
|
|
|
9194
9212
|
export * from "libs/reach/feature/content/src/pages/utils";
|
|
9195
9213
|
export * from "libs/reach/feature/content/src/pages/DocumentDownloadButton";
|
|
9196
9214
|
}
|
|
9197
|
-
declare module "libs/reach/feature/content/src/events/index" {
|
|
9198
|
-
export * from "libs/reach/feature/content/src/events/EventLocationLink";
|
|
9199
|
-
export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfo";
|
|
9200
|
-
export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoNavLink";
|
|
9201
|
-
export * from "libs/reach/feature/content/src/events/eventUtils";
|
|
9202
|
-
export * from "libs/reach/feature/content/src/events/list/EventCard";
|
|
9203
|
-
export * from "libs/reach/feature/content/src/events/useEventsApi";
|
|
9204
|
-
}
|
|
9205
9215
|
declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
9206
|
-
import { FC, MouseEvent, ReactNode } from 'react';
|
|
9207
9216
|
import { Channel, EventItem } from "libs/reach/util/common/src/index";
|
|
9217
|
+
import { FC, MouseEvent, ReactNode } from 'react';
|
|
9208
9218
|
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9209
9219
|
interface StyleDefinition {
|
|
9210
9220
|
backgroundColor?: string;
|
|
9211
|
-
noShadow?: boolean;
|
|
9212
|
-
channelsBackgroundColor?: string;
|
|
9213
9221
|
bannerContainerDefaultWidth?: number;
|
|
9222
|
+
channelsBackgroundColor?: string;
|
|
9223
|
+
noShadow?: boolean;
|
|
9214
9224
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
9215
9225
|
}
|
|
9216
9226
|
interface Props {
|
|
9217
|
-
item: EventItem;
|
|
9218
9227
|
baseRoute: string;
|
|
9219
|
-
layoutMode?: ItemTileLayoutMode;
|
|
9220
9228
|
buttons?: ReactNode;
|
|
9221
|
-
|
|
9222
|
-
|
|
9229
|
+
className?: string;
|
|
9230
|
+
item: EventItem;
|
|
9231
|
+
layoutMode?: ItemTileLayoutMode;
|
|
9223
9232
|
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
9224
|
-
|
|
9233
|
+
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
9234
|
+
onRegistrationRedirect?: (url: string) => void;
|
|
9235
|
+
openTargetInNewWindow?: boolean;
|
|
9225
9236
|
showBanner?: boolean;
|
|
9226
9237
|
showBannerAlwaysOnTheLeft?: boolean;
|
|
9227
|
-
|
|
9228
|
-
className?: string;
|
|
9238
|
+
styleDefinition?: StyleDefinition;
|
|
9229
9239
|
}
|
|
9230
9240
|
export const EventItemTile: FC<Props>;
|
|
9231
9241
|
}
|
|
@@ -9570,22 +9580,20 @@ declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
|
9570
9580
|
}
|
|
9571
9581
|
declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider" {
|
|
9572
9582
|
import { FC } from 'react';
|
|
9573
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9574
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9575
|
-
import { PollQuestion, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
9583
|
+
import { ItemResourceTypes, PollQuestion, PollQuestionAnswer, PollResult, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9576
9584
|
import { FeedbackItem } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
9577
9585
|
import { TranslationItem } from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9578
9586
|
export const PollUserContextProvider: FC<{
|
|
9579
|
-
item: PublishableItem;
|
|
9580
|
-
onBehalfOfUpn?: string;
|
|
9581
|
-
resourceType: ItemResourceTypes;
|
|
9582
|
-
language: string;
|
|
9583
9587
|
getAdditionalQuestions?: (pollResult?: PollResult) => {
|
|
9584
9588
|
questions: PollQuestion[];
|
|
9585
9589
|
translations: TranslationItem[];
|
|
9586
9590
|
};
|
|
9587
9591
|
getAdditionalUserAnswers?: (records: FeedbackItem[]) => PollQuestionAnswer[];
|
|
9588
9592
|
getPollResults: (itemId: string) => Promise<PollResult>;
|
|
9593
|
+
item: PublishableItem;
|
|
9594
|
+
language: string;
|
|
9595
|
+
onBehalfOfUpn?: string;
|
|
9596
|
+
resourceType: ItemResourceTypes;
|
|
9589
9597
|
showResult?: boolean;
|
|
9590
9598
|
}>;
|
|
9591
9599
|
}
|
|
@@ -9622,9 +9630,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9622
9630
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
|
|
9623
9631
|
import { FC } from 'react';
|
|
9624
9632
|
export const EventDetailViewUserRegistration: FC<{
|
|
9633
|
+
className?: string;
|
|
9625
9634
|
hideInfoMessage?: boolean;
|
|
9626
9635
|
isReadOnly?: boolean;
|
|
9627
|
-
className?: string;
|
|
9628
9636
|
}>;
|
|
9629
9637
|
}
|
|
9630
9638
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
@@ -10549,10 +10557,16 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
10549
10557
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
10550
10558
|
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10551
10559
|
export enum StreamEventResponse {
|
|
10552
|
-
NotSet = "
|
|
10560
|
+
NotSet = "NOT_SET",
|
|
10553
10561
|
Registered = "REGISTERED",
|
|
10562
|
+
WaitingList = "WAITING_LIST",
|
|
10554
10563
|
Declined = "DECLINED"
|
|
10555
10564
|
}
|
|
10565
|
+
export enum StreamSeriesRegistrationMode {
|
|
10566
|
+
None = "NONE",
|
|
10567
|
+
FullSeries = "FULL_SERIES",
|
|
10568
|
+
PerInstance = "PER_INSTANCE"
|
|
10569
|
+
}
|
|
10556
10570
|
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10557
10571
|
}
|
|
10558
10572
|
export function useStreamItemsQuery<TItem extends StreamItem = StreamItem>(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
@@ -10612,7 +10626,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
10612
10626
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10613
10627
|
}
|
|
10614
10628
|
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10615
|
-
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";
|
|
10629
|
+
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";
|
|
10616
10630
|
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10617
10631
|
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10618
10632
|
export enum StreamItemTypes {
|
|
@@ -10938,6 +10952,13 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10938
10952
|
};
|
|
10939
10953
|
}) | (TItem & {
|
|
10940
10954
|
userResponse: EventResponse;
|
|
10955
|
+
registrationSettings: {
|
|
10956
|
+
seriesMode: SeriesRegistrationMode;
|
|
10957
|
+
enableWaitingList?: boolean;
|
|
10958
|
+
enabled?: boolean;
|
|
10959
|
+
showParticipantsToEverybody?: boolean;
|
|
10960
|
+
deadline?: string;
|
|
10961
|
+
};
|
|
10941
10962
|
cancelInformation: {
|
|
10942
10963
|
reasons: {
|
|
10943
10964
|
[key: string]: string;
|