@livetiles/reach-plugin-types 0.5.0-preview.1146 → 0.5.0-preview.1148
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 +6 -4
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -862,8 +862,8 @@ declare module "libs/reach/util/context/src/MemoryCache" {
|
|
|
862
862
|
}
|
|
863
863
|
declare module "libs/reach/util/context/src/useNewExperienceStorage" {
|
|
864
864
|
export function useNewUserExperienceStorage(): {
|
|
865
|
-
getUseNewUserExperience: (subscriptionId: string) => Promise<boolean>;
|
|
866
|
-
setUseNewUserExperience: (subscriptionId: string, enabled: boolean) => Promise<void>;
|
|
865
|
+
getUseNewUserExperience: (subscriptionId: string, subscriptionHandle?: string) => Promise<boolean>;
|
|
866
|
+
setUseNewUserExperience: (subscriptionId: string, enabled: boolean, subscriptionHandle?: string) => Promise<void>;
|
|
867
867
|
};
|
|
868
868
|
}
|
|
869
869
|
declare module "libs/reach/util/context/src/NewUserExperienceContext" {
|
|
@@ -873,14 +873,14 @@ declare module "libs/reach/util/context/src/NewUserExperienceContext" {
|
|
|
873
873
|
isLoading?: boolean;
|
|
874
874
|
isNewUXEnabled?: boolean;
|
|
875
875
|
setBrandColor?: Dispatch<SetStateAction<string>>;
|
|
876
|
-
setIsNewUXEnabled?: (enabled: boolean) => void;
|
|
876
|
+
setIsNewUXEnabled?: (subscriptionId: string, enabled: boolean, subscriptionHandle?: string) => void;
|
|
877
877
|
};
|
|
878
878
|
export const NewUserExperienceContext: import("react").Context<{
|
|
879
879
|
brandColor?: string;
|
|
880
880
|
isLoading?: boolean;
|
|
881
881
|
isNewUXEnabled?: boolean;
|
|
882
882
|
setBrandColor?: Dispatch<SetStateAction<string>>;
|
|
883
|
-
setIsNewUXEnabled?: (enabled: boolean) => void;
|
|
883
|
+
setIsNewUXEnabled?: (subscriptionId: string, enabled: boolean, subscriptionHandle?: string) => void;
|
|
884
884
|
}>;
|
|
885
885
|
export const NewUserExperienceContextProvider: FC;
|
|
886
886
|
}
|
|
@@ -12160,9 +12160,11 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/format/inde
|
|
|
12160
12160
|
export { FormatContextProvider, useFormatContext } from "libs/reach/feature/content/src/reach-2/common/editor/format/FormatContext";
|
|
12161
12161
|
}
|
|
12162
12162
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/types" {
|
|
12163
|
+
import { StreamAttachment } from "libs/reach/feature/content/src/stream/index";
|
|
12163
12164
|
export interface AttachmentStorageInfo {
|
|
12164
12165
|
attachmentContainerId?: string;
|
|
12165
12166
|
fileAccessToken?: string;
|
|
12167
|
+
postAttachments?: StreamAttachment[];
|
|
12166
12168
|
subscriptionId?: string;
|
|
12167
12169
|
}
|
|
12168
12170
|
}
|