@prismicio/editor-fields 0.4.52-jp-onboarding-guide-triggers.1 → 0.4.52-jp-onboarding-guide-triggers-highlight

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.
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
- type IntegrationCatalogSearchArgs = {
3
- searchTerm: string;
2
+ interface IntegrationCatalogSearchArgs {
3
+ searchTerm: string;
4
4
  catalogId: string;
5
5
  }
6
6
  export declare function useIntegrationCatalogSearch(args: IntegrationCatalogSearchArgs): {
@@ -11,13 +11,13 @@ export declare function useIntegrationCatalogSearch(args: IntegrationCatalogSear
11
11
  description?: string | undefined;
12
12
  }[];
13
13
  response: {
14
+ page: number;
14
15
  items: {
15
16
  id: string;
16
17
  title: string;
17
18
  imageURL?: string | undefined;
18
19
  description?: string | undefined;
19
20
  }[];
20
- page: number;
21
21
  totalPages: number;
22
22
  };
23
23
  fetchNextPage: () => void;
@@ -40,8 +40,8 @@ declare const integrationItem: z.ZodObject<{
40
40
  description?: string | undefined;
41
41
  }>;
42
42
  export type IntegrationItem = z.TypeOf<typeof integrationItem>;
43
- type IntegrationCatalogReadArgs = {
44
- catalogId: string;
43
+ interface IntegrationCatalogReadArgs {
44
+ catalogId: string;
45
45
  itemId: string;
46
46
  }
47
47
  export declare function useIntegrationCatalogRead(args: IntegrationCatalogReadArgs): {
@@ -10,7 +10,7 @@ interface useLinkFieldParams {
10
10
  onContentChange: (content: LinkContent | undefined) => void;
11
11
  }
12
12
  export declare function useLinkField(params: useLinkFieldParams): {
13
- contentType: "ImageLink" | "FileLink" | "DocumentLink" | "ExternalLink" | "MediaLink" | "AnyLink" | undefined;
13
+ contentType: "DocumentLink" | "ImageLink" | "FileLink" | "ExternalLink" | "MediaLink" | "AnyLink" | undefined;
14
14
  selectType: "document" | "web" | "media" | "any" | undefined;
15
15
  fieldValue: string;
16
16
  onDisplayTextChange: (displayText: string) => void;