react-bricks 3.0.0-beta.3 → 3.0.0-beta.4
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/react-bricks.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ interface TextProps {
|
|
|
25
25
|
children: any;
|
|
26
26
|
}) => JSX.Element;
|
|
27
27
|
propName: string;
|
|
28
|
+
multiline: boolean;
|
|
28
29
|
}
|
|
29
30
|
declare const Text: React.FC<TextProps>;
|
|
30
31
|
|
|
@@ -515,6 +516,7 @@ interface RichTextProps {
|
|
|
515
516
|
children: any;
|
|
516
517
|
}) => JSX.Element;
|
|
517
518
|
plugins?: types.RichTextPlugin[];
|
|
519
|
+
multiline?: boolean;
|
|
518
520
|
}
|
|
519
521
|
declare const RichText: React.FC<RichTextProps>;
|
|
520
522
|
|
|
@@ -609,7 +611,35 @@ declare const Playground: () => JSX.Element;
|
|
|
609
611
|
declare const AppSettings: React.FC;
|
|
610
612
|
|
|
611
613
|
declare const useAuth: () => {
|
|
612
|
-
loginUser: (email: string, password: string) => Promise<
|
|
614
|
+
loginUser: (email: string, password: string) => Promise<({
|
|
615
|
+
id: string;
|
|
616
|
+
email: string;
|
|
617
|
+
firstName: string;
|
|
618
|
+
lastName: string;
|
|
619
|
+
company: string;
|
|
620
|
+
avatarUrl?: string | undefined;
|
|
621
|
+
isAdmin: boolean;
|
|
622
|
+
token: string;
|
|
623
|
+
appName: string;
|
|
624
|
+
deployHookUrl?: string | undefined;
|
|
625
|
+
deployHookMethod?: string | undefined;
|
|
626
|
+
deployHookTriggerOnScheduledPublishing: boolean;
|
|
627
|
+
deployHookStagingUrl?: string | undefined;
|
|
628
|
+
deployHookStagingMethod?: string | undefined;
|
|
629
|
+
deployHookStagingTriggerOnScheduledPublishing: boolean;
|
|
630
|
+
eventsHookUrl?: string | undefined;
|
|
631
|
+
eventsHookAuthToken?: string | undefined;
|
|
632
|
+
canCreatePage: boolean;
|
|
633
|
+
canDeletePage: boolean;
|
|
634
|
+
canDeploy: boolean;
|
|
635
|
+
canDeployStaging: boolean;
|
|
636
|
+
role: string;
|
|
637
|
+
plan: string;
|
|
638
|
+
languages: types.Language[];
|
|
639
|
+
defaultLanguage: string;
|
|
640
|
+
} & {
|
|
641
|
+
authToken: string;
|
|
642
|
+
}) | null>;
|
|
613
643
|
logoutUser: () => void;
|
|
614
644
|
};
|
|
615
645
|
|