@prismicio/editor-fields 0.4.49-alpha.feat-onboarding-guide.15 → 0.4.49-alpha.feat-onboarding-guide.16

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.
@@ -28,7 +28,7 @@ declare const repositoryQuotas: z.ZodObject<{
28
28
  slicemachineEnabled: boolean;
29
29
  }>;
30
30
  export type RepositoryQuotas = z.TypeOf<typeof repositoryQuotas>;
31
- declare const repositoryFramework: z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "next" | "nuxt" | "sveltekit" | "other", unknown>;
31
+ export declare const repositoryFramework: z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "next" | "nuxt" | "sveltekit" | "other", unknown>;
32
32
  export type RepositoryFramework = z.TypeOf<typeof repositoryFramework>;
33
33
  declare const repositorySchema: z.ZodEffects<z.ZodObject<{
34
34
  simulator_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -92,6 +92,11 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
92
92
  minor: number;
93
93
  }>;
94
94
  }, "strip", z.ZodTypeAny, {
95
+ languages: {
96
+ id: string;
97
+ name: string;
98
+ is_master?: boolean | undefined;
99
+ }[];
95
100
  authors: {
96
101
  id: string;
97
102
  email: string;
@@ -99,15 +104,10 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
99
104
  lastname?: string | undefined;
100
105
  uploadedAvatar?: string | undefined;
101
106
  }[];
102
- framework: "next" | "nuxt" | "sveltekit" | "other";
103
- languages: {
104
- id: string;
105
- name: string;
106
- is_master?: boolean | undefined;
107
- }[];
108
107
  quotas: {
109
108
  slicemachineEnabled: boolean;
110
109
  };
110
+ framework: "next" | "nuxt" | "sveltekit" | "other";
111
111
  storageVersion: {
112
112
  major: number;
113
113
  minor: number;
@@ -141,6 +141,11 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
141
141
  framework: "next" | "nuxt" | "sveltekit" | "other";
142
142
  simulatorUrl: string | undefined;
143
143
  isSupportedFramework: boolean;
144
+ languages: {
145
+ id: string;
146
+ name: string;
147
+ is_master?: boolean | undefined;
148
+ }[];
144
149
  authors: {
145
150
  id: string;
146
151
  email: string;
@@ -148,11 +153,6 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
148
153
  lastname?: string | undefined;
149
154
  uploadedAvatar?: string | undefined;
150
155
  }[];
151
- languages: {
152
- id: string;
153
- name: string;
154
- is_master?: boolean | undefined;
155
- }[];
156
156
  quotas: {
157
157
  slicemachineEnabled: boolean;
158
158
  };
@@ -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,6 +59,7 @@ 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;
@@ -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
  } & {