@confed/sanity-types 0.1.3-2511072024 → 0.1.3-2511072057

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sanity.types.ts +36 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2511072024",
3
+ "version": "0.1.3-2511072057",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -13,6 +13,38 @@
13
13
  */
14
14
 
15
15
  // Source: schema.json
16
+ export type SimpleCallToActionSection = {
17
+ _type: 'simpleCallToActionSection'
18
+ title: string
19
+ eyebrow?: string
20
+ intro?: Array<{
21
+ children?: Array<{
22
+ marks?: Array<string>
23
+ text?: string
24
+ _type: 'span'
25
+ _key: string
26
+ }>
27
+ style?: 'normal'
28
+ listItem?: 'bullet' | 'number'
29
+ markDefs?: Array<{
30
+ href?: string
31
+ openInNewTab?: boolean
32
+ _type: 'link'
33
+ _key: string
34
+ }>
35
+ level?: number
36
+ _type: 'block'
37
+ _key: string
38
+ }>
39
+ buttons?: Array<
40
+ {
41
+ _key: string
42
+ } & PtButton
43
+ >
44
+ anchorSlug?: Slug
45
+ icon?: string
46
+ }
47
+
16
48
  export type CallToActionSection = {
17
49
  _type: 'callToActionSection'
18
50
  title: string
@@ -1026,6 +1058,9 @@ export type Webpage = {
1026
1058
  | ({
1027
1059
  _key: string
1028
1060
  } & CallToActionSection)
1061
+ | ({
1062
+ _key: string
1063
+ } & SimpleCallToActionSection)
1029
1064
  >
1030
1065
  parentPage?:
1031
1066
  | {
@@ -1794,6 +1829,7 @@ export type SanityAssetSourceData = {
1794
1829
  }
1795
1830
 
1796
1831
  export type AllSanitySchemaTypes =
1832
+ | SimpleCallToActionSection
1797
1833
  | CallToActionSection
1798
1834
  | CardGridSection
1799
1835
  | Card