@prismicio/editor-fields 0.4.49-alpha.feat-onboarding-guide.12 → 0.4.49-alpha.feat-onboarding-guide.13

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.
@@ -6,8 +6,8 @@ export declare function useDocuments(params: {
6
6
  localesFilter: Set<FilterOption>;
7
7
  }): {
8
8
  documents: {
9
- id: string;
10
9
  title: string;
10
+ id: string;
11
11
  language: {
12
12
  id: string;
13
13
  name: string;
@@ -25,7 +25,6 @@ export declare function useDocuments(params: {
25
25
  } | {
26
26
  status: "archived";
27
27
  }) & {
28
- tags: string[];
29
28
  author: {
30
29
  first_name?: string | undefined;
31
30
  last_name?: string | undefined;
@@ -33,6 +32,7 @@ export declare function useDocuments(params: {
33
32
  uploadedAvatar?: string | undefined;
34
33
  };
35
34
  version_id: string;
35
+ tags: string[];
36
36
  custom_type_label: string;
37
37
  last_modified_date: Date;
38
38
  preview_summary?: string | undefined;
@@ -52,7 +52,6 @@ export declare function useDocuments(params: {
52
52
  } | {
53
53
  status: "archived";
54
54
  }) & {
55
- tags: string[];
56
55
  author: {
57
56
  first_name?: string | undefined;
58
57
  last_name?: string | undefined;
@@ -60,14 +59,15 @@ export declare function useDocuments(params: {
60
59
  uploadedAvatar?: string | undefined;
61
60
  };
62
61
  version_id: string;
62
+ tags: string[];
63
63
  custom_type_label: string;
64
64
  last_modified_date: Date;
65
65
  preview_summary?: string | undefined;
66
66
  preview_image?: string | undefined;
67
67
  uid?: string | undefined;
68
68
  })[];
69
- id: string;
70
69
  title: string;
70
+ id: string;
71
71
  language: {
72
72
  id: string;
73
73
  name: string;
@@ -14,7 +14,7 @@ interface GetFieldIconArgs {
14
14
  selectType?: FieldSelectType;
15
15
  displayTextEnabled?: boolean;
16
16
  }
17
- export declare function getFieldIcon(args: GetFieldIconArgs): "image" | "description" | "link" | "notes" | "public";
17
+ export declare function getFieldIcon(args: GetFieldIconArgs): "description" | "image" | "link" | "notes" | "public";
18
18
  interface FilledLinkFieldProps {
19
19
  id?: string;
20
20
  condensedButtons?: boolean;
@@ -3,7 +3,7 @@ declare const _default: {
3
3
  component: import("@tiptap/core").Node<import("@tiptap/extension-list-item").ListItemOptions, any>;
4
4
  converter: {
5
5
  fromPrismic(schema: Schema<any, any>): (list: {
6
- type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
6
+ type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
7
7
  content: {
8
8
  text: string;
9
9
  } & {
@@ -64,7 +64,7 @@ declare const _default: {
64
64
  direction?: string | undefined;
65
65
  }) => ProsemirrorNode | undefined;
66
66
  toPrismic(node: ProsemirrorNode, nodeType: "list-item" | "o-list-item"): readonly ({
67
- type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
67
+ type: "em" | "embed" | "strong" | "image" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
68
68
  content: {
69
69
  text: string;
70
70
  } & {