@prismicio/types-internal 4.4.0 → 4.5.0-canary.6acece9
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.
- package/dist/content/codec/richText.js +24 -20
- package/dist/content/codec/richText.js.map +1 -1
- package/dist/content/legacy/richText.d.ts.map +1 -1
- package/dist/content/legacy/richText.js.map +1 -1
- package/dist/helpers/repository.js.map +1 -1
- package/dist/helpers/traverseContent.d.ts.map +1 -1
- package/dist/helpers/traverseContent.js +2 -0
- package/dist/helpers/traverseContent.js.map +1 -1
- package/dist/helpers/traverseContentWithModel.d.ts.map +1 -1
- package/dist/helpers/traverseContentWithModel.js +1 -0
- package/dist/helpers/traverseContentWithModel.js.map +1 -1
- package/dist/io-ts.d.ts +802 -0
- package/dist/io-ts.d.ts.map +1 -1
- package/dist/model/customType.d.ts +28 -4
- package/dist/model/customType.d.ts.map +1 -1
- package/dist/model/customType.js +37 -29
- package/dist/model/customType.js.map +1 -1
- package/dist/model/image.js +1 -1
- package/dist/model/image.js.map +1 -1
- package/dist/model/slice.d.ts +577 -2
- package/dist/model/slice.d.ts.map +1 -1
- package/dist/model/slice.js +8 -2
- package/dist/model/slice.js.map +1 -1
- package/dist/zod4.d.ts +619 -8
- package/dist/zod4.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/content/codec/richText.ts +29 -27
- package/src/content/legacy/richText.ts +2 -0
- package/src/helpers/repository.ts +1 -3
- package/src/helpers/traverseContent.ts +12 -0
- package/src/helpers/traverseContentWithModel.ts +6 -0
- package/src/model/customType.ts +19 -8
- package/src/model/image.ts +1 -1
- package/src/model/slice.ts +20 -7
package/dist/io-ts.d.ts
CHANGED
|
@@ -4556,6 +4556,380 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4556
4556
|
}[];
|
|
4557
4557
|
description?: string | undefined;
|
|
4558
4558
|
legacyPaths?: Record<string, string> | undefined;
|
|
4559
|
+
schema?: undefined;
|
|
4560
|
+
} | {
|
|
4561
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
4562
|
+
id: string;
|
|
4563
|
+
type: "SharedSlice";
|
|
4564
|
+
name: string;
|
|
4565
|
+
variations: {
|
|
4566
|
+
id: string;
|
|
4567
|
+
name: string;
|
|
4568
|
+
description: string;
|
|
4569
|
+
imageUrl: string;
|
|
4570
|
+
docURL: string;
|
|
4571
|
+
version: string;
|
|
4572
|
+
display?: string | undefined;
|
|
4573
|
+
primary?: Record<string, NestableModel | {
|
|
4574
|
+
type: "Group";
|
|
4575
|
+
fieldset?: string | null | undefined;
|
|
4576
|
+
icon?: string | undefined;
|
|
4577
|
+
description?: string | undefined;
|
|
4578
|
+
config?: {
|
|
4579
|
+
label?: string | null | undefined;
|
|
4580
|
+
repeat?: boolean | undefined;
|
|
4581
|
+
fields?: Record<string, NestableModel | {
|
|
4582
|
+
type: "Group";
|
|
4583
|
+
fieldset?: string | null | undefined;
|
|
4584
|
+
icon?: string | undefined;
|
|
4585
|
+
description?: string | undefined;
|
|
4586
|
+
config?: {
|
|
4587
|
+
label?: string | null | undefined;
|
|
4588
|
+
repeat?: boolean | undefined;
|
|
4589
|
+
fields?: Record<string, {
|
|
4590
|
+
type: "Boolean";
|
|
4591
|
+
config?: {
|
|
4592
|
+
label?: string | null | undefined;
|
|
4593
|
+
default_value?: boolean | undefined;
|
|
4594
|
+
placeholder_true?: string | undefined;
|
|
4595
|
+
placeholder_false?: string | undefined;
|
|
4596
|
+
} | undefined;
|
|
4597
|
+
} | {
|
|
4598
|
+
type: "Color";
|
|
4599
|
+
fieldset?: string | null | undefined;
|
|
4600
|
+
config?: {
|
|
4601
|
+
label?: string | null | undefined;
|
|
4602
|
+
placeholder?: string | undefined;
|
|
4603
|
+
} | undefined;
|
|
4604
|
+
} | {
|
|
4605
|
+
type: "Date";
|
|
4606
|
+
fieldset?: string | null | undefined;
|
|
4607
|
+
config?: {
|
|
4608
|
+
label?: string | null | undefined;
|
|
4609
|
+
placeholder?: string | undefined;
|
|
4610
|
+
default?: string | undefined;
|
|
4611
|
+
} | undefined;
|
|
4612
|
+
} | {
|
|
4613
|
+
type: "Embed";
|
|
4614
|
+
fieldset?: string | null | undefined;
|
|
4615
|
+
config?: {
|
|
4616
|
+
label?: string | null | undefined;
|
|
4617
|
+
placeholder?: string | undefined;
|
|
4618
|
+
useAsTitle?: boolean | undefined;
|
|
4619
|
+
} | undefined;
|
|
4620
|
+
} | {
|
|
4621
|
+
type: "GeoPoint";
|
|
4622
|
+
fieldset?: string | null | undefined;
|
|
4623
|
+
config?: {
|
|
4624
|
+
label?: string | null | undefined;
|
|
4625
|
+
} | undefined;
|
|
4626
|
+
} | {
|
|
4627
|
+
type: "Image";
|
|
4628
|
+
fieldset?: string | null | undefined;
|
|
4629
|
+
config?: {
|
|
4630
|
+
label?: string | null | undefined;
|
|
4631
|
+
placeholder?: string | undefined;
|
|
4632
|
+
constraint?: {
|
|
4633
|
+
width?: number | null | undefined;
|
|
4634
|
+
height?: number | null | undefined;
|
|
4635
|
+
} | undefined;
|
|
4636
|
+
thumbnails?: {
|
|
4637
|
+
name: string;
|
|
4638
|
+
width?: number | null | undefined;
|
|
4639
|
+
height?: number | null | undefined;
|
|
4640
|
+
}[] | undefined;
|
|
4641
|
+
} | undefined;
|
|
4642
|
+
} | {
|
|
4643
|
+
type: "IntegrationFields";
|
|
4644
|
+
fieldset?: string | null | undefined;
|
|
4645
|
+
config?: {
|
|
4646
|
+
label?: string | null | undefined;
|
|
4647
|
+
placeholder?: string | undefined;
|
|
4648
|
+
catalog?: string | undefined;
|
|
4649
|
+
} | undefined;
|
|
4650
|
+
} | {
|
|
4651
|
+
type: "Link";
|
|
4652
|
+
fieldset?: string | null | undefined;
|
|
4653
|
+
config?: {
|
|
4654
|
+
label?: string | null | undefined;
|
|
4655
|
+
useAsTitle?: boolean | undefined;
|
|
4656
|
+
placeholder?: string | undefined;
|
|
4657
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
4658
|
+
customtypes?: (string | {
|
|
4659
|
+
id: string;
|
|
4660
|
+
fields: (string | {
|
|
4661
|
+
id: string;
|
|
4662
|
+
customtypes: (string | {
|
|
4663
|
+
id: string;
|
|
4664
|
+
fields: (string | /*elided*/any)[];
|
|
4665
|
+
})[];
|
|
4666
|
+
} | {
|
|
4667
|
+
id: string;
|
|
4668
|
+
fields: (string | {
|
|
4669
|
+
id: string;
|
|
4670
|
+
customtypes: (string | /*elided*/any)[];
|
|
4671
|
+
})[];
|
|
4672
|
+
})[];
|
|
4673
|
+
})[] | undefined;
|
|
4674
|
+
masks?: string[] | undefined;
|
|
4675
|
+
tags?: string[] | undefined;
|
|
4676
|
+
allowTargetBlank?: boolean | undefined;
|
|
4677
|
+
allowText?: boolean | undefined;
|
|
4678
|
+
repeat?: boolean | undefined;
|
|
4679
|
+
variants?: string[] | undefined;
|
|
4680
|
+
} | undefined;
|
|
4681
|
+
} | {
|
|
4682
|
+
type: "Number";
|
|
4683
|
+
fieldset?: string | null | undefined;
|
|
4684
|
+
config?: {
|
|
4685
|
+
label?: string | null | undefined;
|
|
4686
|
+
placeholder?: string | undefined;
|
|
4687
|
+
min?: number | undefined;
|
|
4688
|
+
max?: number | undefined;
|
|
4689
|
+
step?: number | undefined;
|
|
4690
|
+
} | undefined;
|
|
4691
|
+
} | {
|
|
4692
|
+
type: "Range";
|
|
4693
|
+
fieldset?: string | null | undefined;
|
|
4694
|
+
config?: {
|
|
4695
|
+
label?: string | null | undefined;
|
|
4696
|
+
placeholder?: string | undefined;
|
|
4697
|
+
min?: number | undefined;
|
|
4698
|
+
max?: number | undefined;
|
|
4699
|
+
step?: number | undefined;
|
|
4700
|
+
} | undefined;
|
|
4701
|
+
} | {
|
|
4702
|
+
type: "StructuredText";
|
|
4703
|
+
fieldset?: string | null | undefined;
|
|
4704
|
+
config?: {
|
|
4705
|
+
label?: string | null | undefined;
|
|
4706
|
+
placeholder?: string | undefined;
|
|
4707
|
+
useAsTitle?: boolean | undefined;
|
|
4708
|
+
single?: string | undefined;
|
|
4709
|
+
multi?: string | undefined;
|
|
4710
|
+
imageConstraint?: {
|
|
4711
|
+
width?: number | null | undefined;
|
|
4712
|
+
height?: number | null | undefined;
|
|
4713
|
+
} | undefined;
|
|
4714
|
+
labels?: string[] | undefined;
|
|
4715
|
+
allowTargetBlank?: boolean | undefined;
|
|
4716
|
+
} | undefined;
|
|
4717
|
+
} | {
|
|
4718
|
+
type: "Select";
|
|
4719
|
+
fieldset?: string | null | undefined;
|
|
4720
|
+
config?: {
|
|
4721
|
+
label?: string | null | undefined;
|
|
4722
|
+
placeholder?: string | undefined;
|
|
4723
|
+
default_value?: string | undefined;
|
|
4724
|
+
options?: string[] | undefined;
|
|
4725
|
+
} | undefined;
|
|
4726
|
+
} | {
|
|
4727
|
+
type: "Separator";
|
|
4728
|
+
config?: {
|
|
4729
|
+
label?: string | null | undefined;
|
|
4730
|
+
} | undefined;
|
|
4731
|
+
} | {
|
|
4732
|
+
type: "Table";
|
|
4733
|
+
config?: {
|
|
4734
|
+
label?: string | null | undefined;
|
|
4735
|
+
} | undefined;
|
|
4736
|
+
} | {
|
|
4737
|
+
type: "Text";
|
|
4738
|
+
fieldset?: string | null | undefined;
|
|
4739
|
+
config?: {
|
|
4740
|
+
label?: string | null | undefined;
|
|
4741
|
+
useAsTitle?: boolean | undefined;
|
|
4742
|
+
placeholder?: string | undefined;
|
|
4743
|
+
} | undefined;
|
|
4744
|
+
} | {
|
|
4745
|
+
type: "Timestamp";
|
|
4746
|
+
fieldset?: string | null | undefined;
|
|
4747
|
+
config?: {
|
|
4748
|
+
label?: string | null | undefined;
|
|
4749
|
+
placeholder?: string | undefined;
|
|
4750
|
+
default?: string | undefined;
|
|
4751
|
+
} | undefined;
|
|
4752
|
+
}> | undefined;
|
|
4753
|
+
} | undefined;
|
|
4754
|
+
}> | undefined;
|
|
4755
|
+
} | undefined;
|
|
4756
|
+
}> | undefined;
|
|
4757
|
+
items?: Record<string, {
|
|
4758
|
+
type: "Boolean";
|
|
4759
|
+
config?: {
|
|
4760
|
+
label?: string | null | undefined;
|
|
4761
|
+
default_value?: boolean | undefined;
|
|
4762
|
+
placeholder_true?: string | undefined;
|
|
4763
|
+
placeholder_false?: string | undefined;
|
|
4764
|
+
} | undefined;
|
|
4765
|
+
} | {
|
|
4766
|
+
type: "Color";
|
|
4767
|
+
fieldset?: string | null | undefined;
|
|
4768
|
+
config?: {
|
|
4769
|
+
label?: string | null | undefined;
|
|
4770
|
+
placeholder?: string | undefined;
|
|
4771
|
+
} | undefined;
|
|
4772
|
+
} | {
|
|
4773
|
+
type: "Date";
|
|
4774
|
+
fieldset?: string | null | undefined;
|
|
4775
|
+
config?: {
|
|
4776
|
+
label?: string | null | undefined;
|
|
4777
|
+
placeholder?: string | undefined;
|
|
4778
|
+
default?: string | undefined;
|
|
4779
|
+
} | undefined;
|
|
4780
|
+
} | {
|
|
4781
|
+
type: "Embed";
|
|
4782
|
+
fieldset?: string | null | undefined;
|
|
4783
|
+
config?: {
|
|
4784
|
+
label?: string | null | undefined;
|
|
4785
|
+
placeholder?: string | undefined;
|
|
4786
|
+
useAsTitle?: boolean | undefined;
|
|
4787
|
+
} | undefined;
|
|
4788
|
+
} | {
|
|
4789
|
+
type: "GeoPoint";
|
|
4790
|
+
fieldset?: string | null | undefined;
|
|
4791
|
+
config?: {
|
|
4792
|
+
label?: string | null | undefined;
|
|
4793
|
+
} | undefined;
|
|
4794
|
+
} | {
|
|
4795
|
+
type: "Image";
|
|
4796
|
+
fieldset?: string | null | undefined;
|
|
4797
|
+
config?: {
|
|
4798
|
+
label?: string | null | undefined;
|
|
4799
|
+
placeholder?: string | undefined;
|
|
4800
|
+
constraint?: {
|
|
4801
|
+
width?: number | null | undefined;
|
|
4802
|
+
height?: number | null | undefined;
|
|
4803
|
+
} | undefined;
|
|
4804
|
+
thumbnails?: {
|
|
4805
|
+
name: string;
|
|
4806
|
+
width?: number | null | undefined;
|
|
4807
|
+
height?: number | null | undefined;
|
|
4808
|
+
}[] | undefined;
|
|
4809
|
+
} | undefined;
|
|
4810
|
+
} | {
|
|
4811
|
+
type: "IntegrationFields";
|
|
4812
|
+
fieldset?: string | null | undefined;
|
|
4813
|
+
config?: {
|
|
4814
|
+
label?: string | null | undefined;
|
|
4815
|
+
placeholder?: string | undefined;
|
|
4816
|
+
catalog?: string | undefined;
|
|
4817
|
+
} | undefined;
|
|
4818
|
+
} | {
|
|
4819
|
+
type: "Link";
|
|
4820
|
+
fieldset?: string | null | undefined;
|
|
4821
|
+
config?: {
|
|
4822
|
+
label?: string | null | undefined;
|
|
4823
|
+
useAsTitle?: boolean | undefined;
|
|
4824
|
+
placeholder?: string | undefined;
|
|
4825
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
4826
|
+
customtypes?: (string | {
|
|
4827
|
+
id: string;
|
|
4828
|
+
fields: (string | {
|
|
4829
|
+
id: string;
|
|
4830
|
+
customtypes: (string | {
|
|
4831
|
+
id: string;
|
|
4832
|
+
fields: (string | {
|
|
4833
|
+
id: string;
|
|
4834
|
+
fields: string[];
|
|
4835
|
+
})[];
|
|
4836
|
+
})[];
|
|
4837
|
+
} | {
|
|
4838
|
+
id: string;
|
|
4839
|
+
fields: (string | {
|
|
4840
|
+
id: string;
|
|
4841
|
+
customtypes: (string | {
|
|
4842
|
+
id: string;
|
|
4843
|
+
fields: (string | {
|
|
4844
|
+
id: string;
|
|
4845
|
+
fields: string[];
|
|
4846
|
+
})[];
|
|
4847
|
+
})[];
|
|
4848
|
+
})[];
|
|
4849
|
+
})[];
|
|
4850
|
+
})[] | undefined;
|
|
4851
|
+
masks?: string[] | undefined;
|
|
4852
|
+
tags?: string[] | undefined;
|
|
4853
|
+
allowTargetBlank?: boolean | undefined;
|
|
4854
|
+
allowText?: boolean | undefined;
|
|
4855
|
+
repeat?: boolean | undefined;
|
|
4856
|
+
variants?: string[] | undefined;
|
|
4857
|
+
} | undefined;
|
|
4858
|
+
} | {
|
|
4859
|
+
type: "Number";
|
|
4860
|
+
fieldset?: string | null | undefined;
|
|
4861
|
+
config?: {
|
|
4862
|
+
label?: string | null | undefined;
|
|
4863
|
+
placeholder?: string | undefined;
|
|
4864
|
+
min?: number | undefined;
|
|
4865
|
+
max?: number | undefined;
|
|
4866
|
+
step?: number | undefined;
|
|
4867
|
+
} | undefined;
|
|
4868
|
+
} | {
|
|
4869
|
+
type: "Range";
|
|
4870
|
+
fieldset?: string | null | undefined;
|
|
4871
|
+
config?: {
|
|
4872
|
+
label?: string | null | undefined;
|
|
4873
|
+
placeholder?: string | undefined;
|
|
4874
|
+
min?: number | undefined;
|
|
4875
|
+
max?: number | undefined;
|
|
4876
|
+
step?: number | undefined;
|
|
4877
|
+
} | undefined;
|
|
4878
|
+
} | {
|
|
4879
|
+
type: "StructuredText";
|
|
4880
|
+
fieldset?: string | null | undefined;
|
|
4881
|
+
config?: {
|
|
4882
|
+
label?: string | null | undefined;
|
|
4883
|
+
placeholder?: string | undefined;
|
|
4884
|
+
useAsTitle?: boolean | undefined;
|
|
4885
|
+
single?: string | undefined;
|
|
4886
|
+
multi?: string | undefined;
|
|
4887
|
+
imageConstraint?: {
|
|
4888
|
+
width?: number | null | undefined;
|
|
4889
|
+
height?: number | null | undefined;
|
|
4890
|
+
} | undefined;
|
|
4891
|
+
labels?: string[] | undefined;
|
|
4892
|
+
allowTargetBlank?: boolean | undefined;
|
|
4893
|
+
} | undefined;
|
|
4894
|
+
} | {
|
|
4895
|
+
type: "Select";
|
|
4896
|
+
fieldset?: string | null | undefined;
|
|
4897
|
+
config?: {
|
|
4898
|
+
label?: string | null | undefined;
|
|
4899
|
+
placeholder?: string | undefined;
|
|
4900
|
+
default_value?: string | undefined;
|
|
4901
|
+
options?: string[] | undefined;
|
|
4902
|
+
} | undefined;
|
|
4903
|
+
} | {
|
|
4904
|
+
type: "Separator";
|
|
4905
|
+
config?: {
|
|
4906
|
+
label?: string | null | undefined;
|
|
4907
|
+
} | undefined;
|
|
4908
|
+
} | {
|
|
4909
|
+
type: "Table";
|
|
4910
|
+
config?: {
|
|
4911
|
+
label?: string | null | undefined;
|
|
4912
|
+
} | undefined;
|
|
4913
|
+
} | {
|
|
4914
|
+
type: "Text";
|
|
4915
|
+
fieldset?: string | null | undefined;
|
|
4916
|
+
config?: {
|
|
4917
|
+
label?: string | null | undefined;
|
|
4918
|
+
useAsTitle?: boolean | undefined;
|
|
4919
|
+
placeholder?: string | undefined;
|
|
4920
|
+
} | undefined;
|
|
4921
|
+
} | {
|
|
4922
|
+
type: "Timestamp";
|
|
4923
|
+
fieldset?: string | null | undefined;
|
|
4924
|
+
config?: {
|
|
4925
|
+
label?: string | null | undefined;
|
|
4926
|
+
placeholder?: string | undefined;
|
|
4927
|
+
default?: string | undefined;
|
|
4928
|
+
} | undefined;
|
|
4929
|
+
}> | undefined;
|
|
4930
|
+
}[];
|
|
4931
|
+
description?: string | undefined;
|
|
4932
|
+
legacyPaths?: Record<string, string> | undefined;
|
|
4559
4933
|
}, {
|
|
4560
4934
|
id: string;
|
|
4561
4935
|
type: "SharedSlice";
|
|
@@ -4928,6 +5302,380 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4928
5302
|
}[];
|
|
4929
5303
|
description?: string | undefined;
|
|
4930
5304
|
legacyPaths?: Record<string, string> | undefined;
|
|
5305
|
+
schema?: undefined;
|
|
5306
|
+
} | {
|
|
5307
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
5308
|
+
id: string;
|
|
5309
|
+
type: "SharedSlice";
|
|
5310
|
+
name: string;
|
|
5311
|
+
variations: {
|
|
5312
|
+
id: string;
|
|
5313
|
+
name: string;
|
|
5314
|
+
description: string;
|
|
5315
|
+
imageUrl: string;
|
|
5316
|
+
docURL: string;
|
|
5317
|
+
version: string;
|
|
5318
|
+
display?: string | undefined;
|
|
5319
|
+
primary?: Record<string, NestableModel | {
|
|
5320
|
+
type: "Group";
|
|
5321
|
+
fieldset?: string | null | undefined;
|
|
5322
|
+
icon?: string | undefined;
|
|
5323
|
+
description?: string | undefined;
|
|
5324
|
+
config?: {
|
|
5325
|
+
label?: string | null | undefined;
|
|
5326
|
+
repeat?: boolean | undefined;
|
|
5327
|
+
fields?: Record<string, NestableModel | {
|
|
5328
|
+
type: "Group";
|
|
5329
|
+
fieldset?: string | null | undefined;
|
|
5330
|
+
icon?: string | undefined;
|
|
5331
|
+
description?: string | undefined;
|
|
5332
|
+
config?: {
|
|
5333
|
+
label?: string | null | undefined;
|
|
5334
|
+
repeat?: boolean | undefined;
|
|
5335
|
+
fields?: Record<string, {
|
|
5336
|
+
type: "Boolean";
|
|
5337
|
+
config?: {
|
|
5338
|
+
label?: string | null | undefined;
|
|
5339
|
+
default_value?: boolean | undefined;
|
|
5340
|
+
placeholder_true?: string | undefined;
|
|
5341
|
+
placeholder_false?: string | undefined;
|
|
5342
|
+
} | undefined;
|
|
5343
|
+
} | {
|
|
5344
|
+
type: "Color";
|
|
5345
|
+
fieldset?: string | null | undefined;
|
|
5346
|
+
config?: {
|
|
5347
|
+
label?: string | null | undefined;
|
|
5348
|
+
placeholder?: string | undefined;
|
|
5349
|
+
} | undefined;
|
|
5350
|
+
} | {
|
|
5351
|
+
type: "Date";
|
|
5352
|
+
fieldset?: string | null | undefined;
|
|
5353
|
+
config?: {
|
|
5354
|
+
label?: string | null | undefined;
|
|
5355
|
+
placeholder?: string | undefined;
|
|
5356
|
+
default?: string | undefined;
|
|
5357
|
+
} | undefined;
|
|
5358
|
+
} | {
|
|
5359
|
+
type: "Embed";
|
|
5360
|
+
fieldset?: string | null | undefined;
|
|
5361
|
+
config?: {
|
|
5362
|
+
label?: string | null | undefined;
|
|
5363
|
+
placeholder?: string | undefined;
|
|
5364
|
+
useAsTitle?: boolean | undefined;
|
|
5365
|
+
} | undefined;
|
|
5366
|
+
} | {
|
|
5367
|
+
type: "GeoPoint";
|
|
5368
|
+
fieldset?: string | null | undefined;
|
|
5369
|
+
config?: {
|
|
5370
|
+
label?: string | null | undefined;
|
|
5371
|
+
} | undefined;
|
|
5372
|
+
} | {
|
|
5373
|
+
type: "Image";
|
|
5374
|
+
fieldset?: string | null | undefined;
|
|
5375
|
+
config?: {
|
|
5376
|
+
label?: string | null | undefined;
|
|
5377
|
+
placeholder?: string | undefined;
|
|
5378
|
+
constraint?: {
|
|
5379
|
+
width?: number | null | undefined;
|
|
5380
|
+
height?: number | null | undefined;
|
|
5381
|
+
} | undefined;
|
|
5382
|
+
thumbnails?: {
|
|
5383
|
+
name: string;
|
|
5384
|
+
width?: number | null | undefined;
|
|
5385
|
+
height?: number | null | undefined;
|
|
5386
|
+
}[] | undefined;
|
|
5387
|
+
} | undefined;
|
|
5388
|
+
} | {
|
|
5389
|
+
type: "IntegrationFields";
|
|
5390
|
+
fieldset?: string | null | undefined;
|
|
5391
|
+
config?: {
|
|
5392
|
+
label?: string | null | undefined;
|
|
5393
|
+
placeholder?: string | undefined;
|
|
5394
|
+
catalog?: string | undefined;
|
|
5395
|
+
} | undefined;
|
|
5396
|
+
} | {
|
|
5397
|
+
type: "Link";
|
|
5398
|
+
fieldset?: string | null | undefined;
|
|
5399
|
+
config?: {
|
|
5400
|
+
label?: string | null | undefined;
|
|
5401
|
+
useAsTitle?: boolean | undefined;
|
|
5402
|
+
placeholder?: string | undefined;
|
|
5403
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
5404
|
+
customtypes?: (string | {
|
|
5405
|
+
id: string;
|
|
5406
|
+
fields: (string | {
|
|
5407
|
+
id: string;
|
|
5408
|
+
customtypes: (string | {
|
|
5409
|
+
id: string;
|
|
5410
|
+
fields: (string | /*elided*/any)[];
|
|
5411
|
+
})[];
|
|
5412
|
+
} | {
|
|
5413
|
+
id: string;
|
|
5414
|
+
fields: (string | {
|
|
5415
|
+
id: string;
|
|
5416
|
+
customtypes: (string | /*elided*/any)[];
|
|
5417
|
+
})[];
|
|
5418
|
+
})[];
|
|
5419
|
+
})[] | undefined;
|
|
5420
|
+
masks?: string[] | undefined;
|
|
5421
|
+
tags?: string[] | undefined;
|
|
5422
|
+
allowTargetBlank?: boolean | undefined;
|
|
5423
|
+
allowText?: boolean | undefined;
|
|
5424
|
+
repeat?: boolean | undefined;
|
|
5425
|
+
variants?: string[] | undefined;
|
|
5426
|
+
} | undefined;
|
|
5427
|
+
} | {
|
|
5428
|
+
type: "Number";
|
|
5429
|
+
fieldset?: string | null | undefined;
|
|
5430
|
+
config?: {
|
|
5431
|
+
label?: string | null | undefined;
|
|
5432
|
+
placeholder?: string | undefined;
|
|
5433
|
+
min?: number | undefined;
|
|
5434
|
+
max?: number | undefined;
|
|
5435
|
+
step?: number | undefined;
|
|
5436
|
+
} | undefined;
|
|
5437
|
+
} | {
|
|
5438
|
+
type: "Range";
|
|
5439
|
+
fieldset?: string | null | undefined;
|
|
5440
|
+
config?: {
|
|
5441
|
+
label?: string | null | undefined;
|
|
5442
|
+
placeholder?: string | undefined;
|
|
5443
|
+
min?: number | undefined;
|
|
5444
|
+
max?: number | undefined;
|
|
5445
|
+
step?: number | undefined;
|
|
5446
|
+
} | undefined;
|
|
5447
|
+
} | {
|
|
5448
|
+
type: "StructuredText";
|
|
5449
|
+
fieldset?: string | null | undefined;
|
|
5450
|
+
config?: {
|
|
5451
|
+
label?: string | null | undefined;
|
|
5452
|
+
placeholder?: string | undefined;
|
|
5453
|
+
useAsTitle?: boolean | undefined;
|
|
5454
|
+
single?: string | undefined;
|
|
5455
|
+
multi?: string | undefined;
|
|
5456
|
+
imageConstraint?: {
|
|
5457
|
+
width?: number | null | undefined;
|
|
5458
|
+
height?: number | null | undefined;
|
|
5459
|
+
} | undefined;
|
|
5460
|
+
labels?: string[] | undefined;
|
|
5461
|
+
allowTargetBlank?: boolean | undefined;
|
|
5462
|
+
} | undefined;
|
|
5463
|
+
} | {
|
|
5464
|
+
type: "Select";
|
|
5465
|
+
fieldset?: string | null | undefined;
|
|
5466
|
+
config?: {
|
|
5467
|
+
label?: string | null | undefined;
|
|
5468
|
+
placeholder?: string | undefined;
|
|
5469
|
+
default_value?: string | undefined;
|
|
5470
|
+
options?: string[] | undefined;
|
|
5471
|
+
} | undefined;
|
|
5472
|
+
} | {
|
|
5473
|
+
type: "Separator";
|
|
5474
|
+
config?: {
|
|
5475
|
+
label?: string | null | undefined;
|
|
5476
|
+
} | undefined;
|
|
5477
|
+
} | {
|
|
5478
|
+
type: "Table";
|
|
5479
|
+
config?: {
|
|
5480
|
+
label?: string | null | undefined;
|
|
5481
|
+
} | undefined;
|
|
5482
|
+
} | {
|
|
5483
|
+
type: "Text";
|
|
5484
|
+
fieldset?: string | null | undefined;
|
|
5485
|
+
config?: {
|
|
5486
|
+
label?: string | null | undefined;
|
|
5487
|
+
useAsTitle?: boolean | undefined;
|
|
5488
|
+
placeholder?: string | undefined;
|
|
5489
|
+
} | undefined;
|
|
5490
|
+
} | {
|
|
5491
|
+
type: "Timestamp";
|
|
5492
|
+
fieldset?: string | null | undefined;
|
|
5493
|
+
config?: {
|
|
5494
|
+
label?: string | null | undefined;
|
|
5495
|
+
placeholder?: string | undefined;
|
|
5496
|
+
default?: string | undefined;
|
|
5497
|
+
} | undefined;
|
|
5498
|
+
}> | undefined;
|
|
5499
|
+
} | undefined;
|
|
5500
|
+
}> | undefined;
|
|
5501
|
+
} | undefined;
|
|
5502
|
+
}> | undefined;
|
|
5503
|
+
items?: Record<string, {
|
|
5504
|
+
type: "Boolean";
|
|
5505
|
+
config?: {
|
|
5506
|
+
label?: string | null | undefined;
|
|
5507
|
+
default_value?: boolean | undefined;
|
|
5508
|
+
placeholder_true?: string | undefined;
|
|
5509
|
+
placeholder_false?: string | undefined;
|
|
5510
|
+
} | undefined;
|
|
5511
|
+
} | {
|
|
5512
|
+
type: "Color";
|
|
5513
|
+
fieldset?: string | null | undefined;
|
|
5514
|
+
config?: {
|
|
5515
|
+
label?: string | null | undefined;
|
|
5516
|
+
placeholder?: string | undefined;
|
|
5517
|
+
} | undefined;
|
|
5518
|
+
} | {
|
|
5519
|
+
type: "Date";
|
|
5520
|
+
fieldset?: string | null | undefined;
|
|
5521
|
+
config?: {
|
|
5522
|
+
label?: string | null | undefined;
|
|
5523
|
+
placeholder?: string | undefined;
|
|
5524
|
+
default?: string | undefined;
|
|
5525
|
+
} | undefined;
|
|
5526
|
+
} | {
|
|
5527
|
+
type: "Embed";
|
|
5528
|
+
fieldset?: string | null | undefined;
|
|
5529
|
+
config?: {
|
|
5530
|
+
label?: string | null | undefined;
|
|
5531
|
+
placeholder?: string | undefined;
|
|
5532
|
+
useAsTitle?: boolean | undefined;
|
|
5533
|
+
} | undefined;
|
|
5534
|
+
} | {
|
|
5535
|
+
type: "GeoPoint";
|
|
5536
|
+
fieldset?: string | null | undefined;
|
|
5537
|
+
config?: {
|
|
5538
|
+
label?: string | null | undefined;
|
|
5539
|
+
} | undefined;
|
|
5540
|
+
} | {
|
|
5541
|
+
type: "Image";
|
|
5542
|
+
fieldset?: string | null | undefined;
|
|
5543
|
+
config?: {
|
|
5544
|
+
label?: string | null | undefined;
|
|
5545
|
+
placeholder?: string | undefined;
|
|
5546
|
+
constraint?: {
|
|
5547
|
+
width?: number | null | undefined;
|
|
5548
|
+
height?: number | null | undefined;
|
|
5549
|
+
} | undefined;
|
|
5550
|
+
thumbnails?: {
|
|
5551
|
+
name: string;
|
|
5552
|
+
width?: number | null | undefined;
|
|
5553
|
+
height?: number | null | undefined;
|
|
5554
|
+
}[] | undefined;
|
|
5555
|
+
} | undefined;
|
|
5556
|
+
} | {
|
|
5557
|
+
type: "IntegrationFields";
|
|
5558
|
+
fieldset?: string | null | undefined;
|
|
5559
|
+
config?: {
|
|
5560
|
+
label?: string | null | undefined;
|
|
5561
|
+
placeholder?: string | undefined;
|
|
5562
|
+
catalog?: string | undefined;
|
|
5563
|
+
} | undefined;
|
|
5564
|
+
} | {
|
|
5565
|
+
type: "Link";
|
|
5566
|
+
fieldset?: string | null | undefined;
|
|
5567
|
+
config?: {
|
|
5568
|
+
label?: string | null | undefined;
|
|
5569
|
+
useAsTitle?: boolean | undefined;
|
|
5570
|
+
placeholder?: string | undefined;
|
|
5571
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
5572
|
+
customtypes?: (string | {
|
|
5573
|
+
id: string;
|
|
5574
|
+
fields: (string | {
|
|
5575
|
+
id: string;
|
|
5576
|
+
customtypes: (string | {
|
|
5577
|
+
id: string;
|
|
5578
|
+
fields: (string | {
|
|
5579
|
+
id: string;
|
|
5580
|
+
fields: string[];
|
|
5581
|
+
})[];
|
|
5582
|
+
})[];
|
|
5583
|
+
} | {
|
|
5584
|
+
id: string;
|
|
5585
|
+
fields: (string | {
|
|
5586
|
+
id: string;
|
|
5587
|
+
customtypes: (string | {
|
|
5588
|
+
id: string;
|
|
5589
|
+
fields: (string | {
|
|
5590
|
+
id: string;
|
|
5591
|
+
fields: string[];
|
|
5592
|
+
})[];
|
|
5593
|
+
})[];
|
|
5594
|
+
})[];
|
|
5595
|
+
})[];
|
|
5596
|
+
})[] | undefined;
|
|
5597
|
+
masks?: string[] | undefined;
|
|
5598
|
+
tags?: string[] | undefined;
|
|
5599
|
+
allowTargetBlank?: boolean | undefined;
|
|
5600
|
+
allowText?: boolean | undefined;
|
|
5601
|
+
repeat?: boolean | undefined;
|
|
5602
|
+
variants?: string[] | undefined;
|
|
5603
|
+
} | undefined;
|
|
5604
|
+
} | {
|
|
5605
|
+
type: "Number";
|
|
5606
|
+
fieldset?: string | null | undefined;
|
|
5607
|
+
config?: {
|
|
5608
|
+
label?: string | null | undefined;
|
|
5609
|
+
placeholder?: string | undefined;
|
|
5610
|
+
min?: number | undefined;
|
|
5611
|
+
max?: number | undefined;
|
|
5612
|
+
step?: number | undefined;
|
|
5613
|
+
} | undefined;
|
|
5614
|
+
} | {
|
|
5615
|
+
type: "Range";
|
|
5616
|
+
fieldset?: string | null | undefined;
|
|
5617
|
+
config?: {
|
|
5618
|
+
label?: string | null | undefined;
|
|
5619
|
+
placeholder?: string | undefined;
|
|
5620
|
+
min?: number | undefined;
|
|
5621
|
+
max?: number | undefined;
|
|
5622
|
+
step?: number | undefined;
|
|
5623
|
+
} | undefined;
|
|
5624
|
+
} | {
|
|
5625
|
+
type: "StructuredText";
|
|
5626
|
+
fieldset?: string | null | undefined;
|
|
5627
|
+
config?: {
|
|
5628
|
+
label?: string | null | undefined;
|
|
5629
|
+
placeholder?: string | undefined;
|
|
5630
|
+
useAsTitle?: boolean | undefined;
|
|
5631
|
+
single?: string | undefined;
|
|
5632
|
+
multi?: string | undefined;
|
|
5633
|
+
imageConstraint?: {
|
|
5634
|
+
width?: number | null | undefined;
|
|
5635
|
+
height?: number | null | undefined;
|
|
5636
|
+
} | undefined;
|
|
5637
|
+
labels?: string[] | undefined;
|
|
5638
|
+
allowTargetBlank?: boolean | undefined;
|
|
5639
|
+
} | undefined;
|
|
5640
|
+
} | {
|
|
5641
|
+
type: "Select";
|
|
5642
|
+
fieldset?: string | null | undefined;
|
|
5643
|
+
config?: {
|
|
5644
|
+
label?: string | null | undefined;
|
|
5645
|
+
placeholder?: string | undefined;
|
|
5646
|
+
default_value?: string | undefined;
|
|
5647
|
+
options?: string[] | undefined;
|
|
5648
|
+
} | undefined;
|
|
5649
|
+
} | {
|
|
5650
|
+
type: "Separator";
|
|
5651
|
+
config?: {
|
|
5652
|
+
label?: string | null | undefined;
|
|
5653
|
+
} | undefined;
|
|
5654
|
+
} | {
|
|
5655
|
+
type: "Table";
|
|
5656
|
+
config?: {
|
|
5657
|
+
label?: string | null | undefined;
|
|
5658
|
+
} | undefined;
|
|
5659
|
+
} | {
|
|
5660
|
+
type: "Text";
|
|
5661
|
+
fieldset?: string | null | undefined;
|
|
5662
|
+
config?: {
|
|
5663
|
+
label?: string | null | undefined;
|
|
5664
|
+
useAsTitle?: boolean | undefined;
|
|
5665
|
+
placeholder?: string | undefined;
|
|
5666
|
+
} | undefined;
|
|
5667
|
+
} | {
|
|
5668
|
+
type: "Timestamp";
|
|
5669
|
+
fieldset?: string | null | undefined;
|
|
5670
|
+
config?: {
|
|
5671
|
+
label?: string | null | undefined;
|
|
5672
|
+
placeholder?: string | undefined;
|
|
5673
|
+
default?: string | undefined;
|
|
5674
|
+
} | undefined;
|
|
5675
|
+
}> | undefined;
|
|
5676
|
+
}[];
|
|
5677
|
+
description?: string | undefined;
|
|
5678
|
+
legacyPaths?: Record<string, string> | undefined;
|
|
4931
5679
|
}, unknown>;
|
|
4932
5680
|
declare const TableModelSchema: t.Type<{
|
|
4933
5681
|
type: "Table";
|
|
@@ -7969,6 +8717,15 @@ declare const StaticCustomTypeModelSchema: t.Type<{
|
|
|
7969
8717
|
status: boolean;
|
|
7970
8718
|
format: "custom" | "page";
|
|
7971
8719
|
label?: string | null | undefined;
|
|
8720
|
+
schema?: undefined;
|
|
8721
|
+
} | {
|
|
8722
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8723
|
+
id: string;
|
|
8724
|
+
repeatable: boolean;
|
|
8725
|
+
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8726
|
+
status: boolean;
|
|
8727
|
+
format: "custom" | "page";
|
|
8728
|
+
label?: string | null | undefined;
|
|
7972
8729
|
}, {
|
|
7973
8730
|
id: string;
|
|
7974
8731
|
repeatable: boolean;
|
|
@@ -7976,6 +8733,15 @@ declare const StaticCustomTypeModelSchema: t.Type<{
|
|
|
7976
8733
|
status: boolean;
|
|
7977
8734
|
format: "custom" | "page";
|
|
7978
8735
|
label?: string | null | undefined;
|
|
8736
|
+
schema?: undefined;
|
|
8737
|
+
} | {
|
|
8738
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8739
|
+
id: string;
|
|
8740
|
+
repeatable: boolean;
|
|
8741
|
+
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8742
|
+
status: boolean;
|
|
8743
|
+
format: "custom" | "page";
|
|
8744
|
+
label?: string | null | undefined;
|
|
7979
8745
|
}, unknown>;
|
|
7980
8746
|
declare const DynamicCustomTypeModelSchema: t.Type<{
|
|
7981
8747
|
id: string;
|
|
@@ -7984,6 +8750,15 @@ declare const DynamicCustomTypeModelSchema: t.Type<{
|
|
|
7984
8750
|
status: boolean;
|
|
7985
8751
|
format: "custom" | "page";
|
|
7986
8752
|
label?: string | null | undefined;
|
|
8753
|
+
schema?: undefined;
|
|
8754
|
+
} | {
|
|
8755
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8756
|
+
id: string;
|
|
8757
|
+
repeatable: boolean;
|
|
8758
|
+
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8759
|
+
status: boolean;
|
|
8760
|
+
format: "custom" | "page";
|
|
8761
|
+
label?: string | null | undefined;
|
|
7987
8762
|
}, {
|
|
7988
8763
|
id: string;
|
|
7989
8764
|
repeatable: boolean;
|
|
@@ -7991,6 +8766,15 @@ declare const DynamicCustomTypeModelSchema: t.Type<{
|
|
|
7991
8766
|
status: boolean;
|
|
7992
8767
|
format: "custom" | "page";
|
|
7993
8768
|
label?: string | null | undefined;
|
|
8769
|
+
schema?: undefined;
|
|
8770
|
+
} | {
|
|
8771
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8772
|
+
id: string;
|
|
8773
|
+
repeatable: boolean;
|
|
8774
|
+
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8775
|
+
status: boolean;
|
|
8776
|
+
format: "custom" | "page";
|
|
8777
|
+
label?: string | null | undefined;
|
|
7994
8778
|
}, unknown>;
|
|
7995
8779
|
/** @deprecated Use DynamicCustomTypeModelSchema instead */
|
|
7996
8780
|
declare const CustomTypeModelSchema: t.Type<{
|
|
@@ -8000,6 +8784,15 @@ declare const CustomTypeModelSchema: t.Type<{
|
|
|
8000
8784
|
status: boolean;
|
|
8001
8785
|
format: "custom" | "page";
|
|
8002
8786
|
label?: string | null | undefined;
|
|
8787
|
+
schema?: undefined;
|
|
8788
|
+
} | {
|
|
8789
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8790
|
+
id: string;
|
|
8791
|
+
repeatable: boolean;
|
|
8792
|
+
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8793
|
+
status: boolean;
|
|
8794
|
+
format: "custom" | "page";
|
|
8795
|
+
label?: string | null | undefined;
|
|
8003
8796
|
}, {
|
|
8004
8797
|
id: string;
|
|
8005
8798
|
repeatable: boolean;
|
|
@@ -8007,6 +8800,15 @@ declare const CustomTypeModelSchema: t.Type<{
|
|
|
8007
8800
|
status: boolean;
|
|
8008
8801
|
format: "custom" | "page";
|
|
8009
8802
|
label?: string | null | undefined;
|
|
8803
|
+
schema?: undefined;
|
|
8804
|
+
} | {
|
|
8805
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8806
|
+
id: string;
|
|
8807
|
+
repeatable: boolean;
|
|
8808
|
+
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8809
|
+
status: boolean;
|
|
8810
|
+
format: "custom" | "page";
|
|
8811
|
+
label?: string | null | undefined;
|
|
8010
8812
|
}, unknown>;
|
|
8011
8813
|
//#endregion
|
|
8012
8814
|
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicCustomTypeModelSchema, DynamicCustomTypeModelTabSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, EmptyLinkContentSchema, FieldContentSchema, FilledLinkContentSchema, GeoPointContentSchema, GeoPointLegacy, GeoPointModelSchema, GroupContentSchema, GroupItemContentSchema, GroupItemLegacy, GroupLegacy, GroupModelSchema, HexaColorCodeSchema, ImageContentSchema, ImageContentViewSchema, ImageLegacy, ImageModelSchema, IntegrationFieldContentSchema, IntegrationFieldLegacy, IntegrationFieldModelSchema, LegacySliceContentSchema, LegacySliceItemContentSchema, LegacySliceLegacy, LegacySliceModelSchema, LinkContentSchema, LinkLegacy, LinkModelSchema, NestableContentSchema, NestableLegacy, NestableModelSchema, NestedGroupModelSchema, NonEmptyStringSchema, NumberContentSchema, NumberLegacy, NumberModelSchema, RangeContentSchema, RangeLegacy, RangeModelSchema, RepeatableContentSchema, RepeatableLegacy, RichTextContentBlockSchema, RichTextContentSchema, RichTextContentSpanSchema, RichTextLegacy, RichTextModelSchema, SelectContentSchema, SelectLegacy, SelectModelSchema, SeparatorContentSchema, SeparatorLegacy, SeparatorModelSchema, SharedSliceContentSchema, SharedSliceItemContentSchema, SharedSliceLegacy, SharedSliceModelSchema, SharedSliceModelVariationSchema, SharedSliceRefModelSchema, SliceContentModelSchema, SliceContentSchema, SliceItemContentSchema, SliceItemLegacy, SliceLegacy, SlicesContentSchema, SlicesLegacy, StaticCustomTypeModelSchema, StaticCustomTypeModelTabSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
|