react-bricks 3.1.8 → 3.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-bricks",
3
- "version": "3.1.8",
3
+ "version": "3.2.2",
4
4
  "description": "React Bricks is a CMS with visual editing based on React components for Next.js and Gatsby.",
5
5
  "keywords": [
6
6
  "react bricks",
package/react-bricks.d.ts CHANGED
@@ -132,6 +132,7 @@ declare namespace types {
132
132
  canDeployStaging: boolean;
133
133
  role: string;
134
134
  plan: string;
135
+ isVerified: boolean;
135
136
  languages: Language[];
136
137
  defaultLanguage: string;
137
138
  } | null;
@@ -584,14 +585,9 @@ declare const Image: FC<ImageProps>;
584
585
  */
585
586
  interface FileProps {
586
587
  propName: string;
587
- renderBlock: (props?: File) => JSX.Element;
588
+ renderBlock: (props: types.IFileSource | null) => JSX.Element;
588
589
  allowedExtensions?: string[];
589
590
  }
590
- interface File {
591
- name: string;
592
- size: string;
593
- url: string;
594
- }
595
591
  declare const File: React.FC<FileProps>;
596
592
 
597
593
  /**
@@ -781,6 +777,7 @@ declare const useAuth: () => {
781
777
  canDeployStaging: boolean;
782
778
  role: string;
783
779
  plan: string;
780
+ isVerified: boolean;
784
781
  languages: types.Language[];
785
782
  defaultLanguage: string;
786
783
  } & {