@prismicio/editor-fields 0.4.32 → 0.4.34

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.
@@ -7,13 +7,15 @@ export declare function useIntegrationCatalogSearch(args: IntegrationCatalogSear
7
7
  items: {
8
8
  id: string;
9
9
  title: string;
10
- imageURL?: string | null | undefined;
10
+ imageURL?: string | undefined;
11
+ description?: string | undefined;
11
12
  }[];
12
13
  response: {
13
14
  items: {
14
15
  id: string;
15
16
  title: string;
16
- imageURL?: string | null | undefined;
17
+ imageURL?: string | undefined;
18
+ description?: string | undefined;
17
19
  }[];
18
20
  page: number;
19
21
  totalPages: number;
@@ -24,15 +26,18 @@ export declare function useIntegrationCatalogSearch(args: IntegrationCatalogSear
24
26
  declare const integrationItem: z.ZodObject<{
25
27
  id: z.ZodString;
26
28
  title: z.ZodString;
27
- imageURL: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
+ imageURL: z.ZodOptional<z.ZodString>;
30
+ description: z.ZodOptional<z.ZodString>;
28
31
  }, "strip", z.ZodTypeAny, {
29
32
  id: string;
30
33
  title: string;
31
- imageURL?: string | null | undefined;
34
+ imageURL?: string | undefined;
35
+ description?: string | undefined;
32
36
  }, {
33
37
  id: string;
34
38
  title: string;
35
- imageURL?: string | null | undefined;
39
+ imageURL?: string | undefined;
40
+ description?: string | undefined;
36
41
  }>;
37
42
  export type IntegrationItem = z.TypeOf<typeof integrationItem>;
38
43
  interface IntegrationCatalogReadArgs {
@@ -43,7 +48,8 @@ export declare function useIntegrationCatalogRead(args: IntegrationCatalogReadAr
43
48
  item: {
44
49
  id: string;
45
50
  title: string;
46
- imageURL?: string | null | undefined;
51
+ imageURL?: string | undefined;
52
+ description?: string | undefined;
47
53
  };
48
54
  };
49
55
  export {};
@@ -5,8 +5,8 @@ interface Props {
5
5
  content: SelectContent | undefined;
6
6
  field: SelectT;
7
7
  id: string;
8
- onContentChange: (content: SelectContent | undefined) => void;
9
8
  readOnly: boolean;
9
+ onContentChange: (content: SelectContent | undefined) => void;
10
10
  }
11
11
  export declare function SelectField(props: Props): JSX.Element;
12
12
  export {};