@prismicio/types-internal 0.2.3 → 0.2.4

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.
@@ -13,20 +13,20 @@ export declare const WidgetTypes: {
13
13
  Group: string;
14
14
  slices: string;
15
15
  Links: {
16
- DocumentLink: string;
17
- FileLink: string;
18
- ExternalLink: string;
19
- ImageLink: string;
20
- LinkContent: string;
16
+ readonly DocumentLink: "DocumentLink";
17
+ readonly FileLink: "FileLink";
18
+ readonly ExternalLink: "ExternalLink";
19
+ readonly ImageLink: "ImageLink";
20
+ readonly LinkContent: "LinkContent";
21
21
  };
22
- StructuredText: string;
23
- Boolean: string;
24
- Embed: string;
25
- Field: string;
26
- GeoPoint: string;
27
- Image: string;
28
- IntegrationFields: string;
29
- Separator: string;
22
+ StructuredText: "StructuredTextContent";
23
+ Boolean: "BooleanContent";
24
+ Embed: "EmbedContent";
25
+ Field: "FieldContent";
26
+ GeoPoint: "GeoPointContent";
27
+ Image: "ImageContent";
28
+ IntegrationFields: "IntegrationFieldsContent";
29
+ Separator: "SeparatorContent";
30
30
  };
31
31
  export declare type WidgetKey = string;
32
32
  export declare type WidgetContent = SlicesContent | StaticWidgetContent;
@@ -81,9 +81,9 @@ export declare const is: {
81
81
  imageLink: typeof isImageLink;
82
82
  };
83
83
  export declare const LinksTypes: {
84
- DocumentLink: string;
85
- FileLink: string;
86
- ExternalLink: string;
87
- ImageLink: string;
88
- LinkContent: string;
84
+ readonly DocumentLink: "DocumentLink";
85
+ readonly FileLink: "FileLink";
86
+ readonly ExternalLink: "ExternalLink";
87
+ readonly ImageLink: "ImageLink";
88
+ readonly LinkContent: "LinkContent";
89
89
  };
@@ -8,19 +8,19 @@ export * as Links from "./Link";
8
8
  export * from "./SeparatorContent";
9
9
  export * from "./StructuredTextContent";
10
10
  export declare const NestableTypes: {
11
- Links: {
12
- DocumentLink: string;
13
- FileLink: string;
14
- ExternalLink: string;
15
- ImageLink: string;
16
- LinkContent: string;
11
+ readonly Links: {
12
+ readonly DocumentLink: "DocumentLink";
13
+ readonly FileLink: "FileLink";
14
+ readonly ExternalLink: "ExternalLink";
15
+ readonly ImageLink: "ImageLink";
16
+ readonly LinkContent: "LinkContent";
17
17
  };
18
- StructuredText: string;
19
- Boolean: string;
20
- Embed: string;
21
- Field: string;
22
- GeoPoint: string;
23
- Image: string;
24
- IntegrationFields: string;
25
- Separator: string;
18
+ readonly StructuredText: "StructuredTextContent";
19
+ readonly Boolean: "BooleanContent";
20
+ readonly Embed: "EmbedContent";
21
+ readonly Field: "FieldContent";
22
+ readonly GeoPoint: "GeoPointContent";
23
+ readonly Image: "ImageContent";
24
+ readonly IntegrationFields: "IntegrationFieldsContent";
25
+ readonly Separator: "SeparatorContent";
26
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismicio/types-internal",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Prismic types for Custom Types and Prismic Data",
5
5
  "keywords": [
6
6
  "typescript",
@@ -30,4 +30,4 @@ export const LinksTypes = {
30
30
  ExternalLink: ExternalLinkType,
31
31
  ImageLink: ImageLinkType,
32
32
  LinkContent: LinkContentType,
33
- }
33
+ } as const
@@ -32,4 +32,4 @@ export const NestableTypes = {
32
32
  Image: ImageContentType,
33
33
  IntegrationFields: IntegrationFieldsContentType,
34
34
  Separator: SeparatorContentType,
35
- }
35
+ } as const