@ninetailed/experience.js-utils-contentful 4.2.3 → 4.2.5-beta.1
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/index.cjs +9 -18
- package/index.js +9 -18
- package/lib/AudienceMapper.d.ts +17 -17
- package/lib/ExperienceMapper.d.ts +16 -16
- package/package.json +9 -7
- package/types/AudienceEntry.d.ts +96 -124
- package/types/BaselineWithExperiencesEntry.d.ts +695 -695
- package/types/Entry.d.ts +1746 -1611
- package/types/ExperienceEntry.d.ts +9217 -7888
- package/types/ExperimentEntry.d.ts +4892 -4892
- package/types/fixtures/experienceEntryWithoutLinkType.d.ts +213 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
export declare const experienceEntryWithoutLinkType: {
|
|
2
|
+
sys: {
|
|
3
|
+
id: string;
|
|
4
|
+
contentType: {
|
|
5
|
+
sys: {
|
|
6
|
+
id: string;
|
|
7
|
+
type: string;
|
|
8
|
+
revision: number;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
updatedAt: string;
|
|
11
|
+
environment: {
|
|
12
|
+
sys: {
|
|
13
|
+
type: string;
|
|
14
|
+
id: string;
|
|
15
|
+
linkType: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
space: {
|
|
19
|
+
sys: {
|
|
20
|
+
type: string;
|
|
21
|
+
id: string;
|
|
22
|
+
linkType: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
displayField: string;
|
|
29
|
+
fields: ({
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
type: string;
|
|
33
|
+
required: boolean;
|
|
34
|
+
localized: boolean;
|
|
35
|
+
disabled?: undefined;
|
|
36
|
+
linkType?: undefined;
|
|
37
|
+
items?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
type: string;
|
|
42
|
+
required: boolean;
|
|
43
|
+
localized: boolean;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
linkType?: undefined;
|
|
46
|
+
items?: undefined;
|
|
47
|
+
} | {
|
|
48
|
+
id: string;
|
|
49
|
+
name: string;
|
|
50
|
+
type: string;
|
|
51
|
+
required: boolean;
|
|
52
|
+
localized: boolean;
|
|
53
|
+
disabled: boolean;
|
|
54
|
+
linkType: string;
|
|
55
|
+
items?: undefined;
|
|
56
|
+
} | {
|
|
57
|
+
id: string;
|
|
58
|
+
name: string;
|
|
59
|
+
type: string;
|
|
60
|
+
required: boolean;
|
|
61
|
+
localized: boolean;
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
items: {
|
|
64
|
+
type: string;
|
|
65
|
+
linkType: string;
|
|
66
|
+
};
|
|
67
|
+
linkType?: undefined;
|
|
68
|
+
})[];
|
|
69
|
+
};
|
|
70
|
+
publishedAt: string;
|
|
71
|
+
firstPublishedAt: string;
|
|
72
|
+
};
|
|
73
|
+
fields: {
|
|
74
|
+
nt_name: string;
|
|
75
|
+
nt_description: null;
|
|
76
|
+
nt_type: string;
|
|
77
|
+
nt_config: {
|
|
78
|
+
traffic: number;
|
|
79
|
+
components: {
|
|
80
|
+
baseline: {
|
|
81
|
+
id: string;
|
|
82
|
+
};
|
|
83
|
+
variants: {
|
|
84
|
+
id: string;
|
|
85
|
+
hidden: boolean;
|
|
86
|
+
}[];
|
|
87
|
+
}[];
|
|
88
|
+
distribution: number[];
|
|
89
|
+
};
|
|
90
|
+
nt_audience: null;
|
|
91
|
+
nt_variants: {
|
|
92
|
+
sys: {
|
|
93
|
+
id: string;
|
|
94
|
+
contentType: {
|
|
95
|
+
sys: {
|
|
96
|
+
id: string;
|
|
97
|
+
type: string;
|
|
98
|
+
revision: number;
|
|
99
|
+
createdAt: string;
|
|
100
|
+
updatedAt: string;
|
|
101
|
+
environment: {
|
|
102
|
+
sys: {
|
|
103
|
+
type: string;
|
|
104
|
+
id: string;
|
|
105
|
+
linkType: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
space: {
|
|
109
|
+
sys: {
|
|
110
|
+
type: string;
|
|
111
|
+
id: string;
|
|
112
|
+
linkType: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
name: string;
|
|
117
|
+
description: string;
|
|
118
|
+
displayField: string;
|
|
119
|
+
fields: ({
|
|
120
|
+
id: string;
|
|
121
|
+
name: string;
|
|
122
|
+
type: string;
|
|
123
|
+
required: boolean;
|
|
124
|
+
localized: boolean;
|
|
125
|
+
linkType?: undefined;
|
|
126
|
+
items?: undefined;
|
|
127
|
+
} | {
|
|
128
|
+
id: string;
|
|
129
|
+
name: string;
|
|
130
|
+
type: string;
|
|
131
|
+
required: boolean;
|
|
132
|
+
localized: boolean;
|
|
133
|
+
linkType: string;
|
|
134
|
+
items?: undefined;
|
|
135
|
+
} | {
|
|
136
|
+
id: string;
|
|
137
|
+
name: string;
|
|
138
|
+
type: string;
|
|
139
|
+
required: boolean;
|
|
140
|
+
localized: boolean;
|
|
141
|
+
items: {
|
|
142
|
+
type: string;
|
|
143
|
+
linkType: string;
|
|
144
|
+
};
|
|
145
|
+
linkType?: undefined;
|
|
146
|
+
})[];
|
|
147
|
+
};
|
|
148
|
+
publishedAt: string;
|
|
149
|
+
firstPublishedAt: string;
|
|
150
|
+
};
|
|
151
|
+
fields: {
|
|
152
|
+
internalTitle: string;
|
|
153
|
+
component: string;
|
|
154
|
+
images: {
|
|
155
|
+
alt: null;
|
|
156
|
+
bynder: {
|
|
157
|
+
id: string;
|
|
158
|
+
expires: null;
|
|
159
|
+
};
|
|
160
|
+
srcset: {
|
|
161
|
+
lg: string;
|
|
162
|
+
md: string;
|
|
163
|
+
xl: string;
|
|
164
|
+
xs: string;
|
|
165
|
+
xxs: string;
|
|
166
|
+
};
|
|
167
|
+
caption: null;
|
|
168
|
+
primary: boolean;
|
|
169
|
+
copyright: null;
|
|
170
|
+
}[];
|
|
171
|
+
videoId: null;
|
|
172
|
+
category: null;
|
|
173
|
+
title: string;
|
|
174
|
+
body: {
|
|
175
|
+
nodeType: string;
|
|
176
|
+
content: {
|
|
177
|
+
nodeType: string;
|
|
178
|
+
content: {
|
|
179
|
+
nodeType: string;
|
|
180
|
+
value: string;
|
|
181
|
+
marks: never[];
|
|
182
|
+
content: never[];
|
|
183
|
+
}[];
|
|
184
|
+
data: never[];
|
|
185
|
+
}[];
|
|
186
|
+
};
|
|
187
|
+
layout: string;
|
|
188
|
+
homepageLayout: string;
|
|
189
|
+
homepageStyle: string;
|
|
190
|
+
videoType: null;
|
|
191
|
+
video: null;
|
|
192
|
+
animation: null;
|
|
193
|
+
homepagePanelColour: string;
|
|
194
|
+
homepagePanelOptions: string;
|
|
195
|
+
homepageCountdown: null;
|
|
196
|
+
buttonLabel: string;
|
|
197
|
+
buttonUrl: string;
|
|
198
|
+
loginOptions: boolean;
|
|
199
|
+
campaignOptions: null;
|
|
200
|
+
anchor: string;
|
|
201
|
+
nt_experiences: never[];
|
|
202
|
+
};
|
|
203
|
+
metadata: {
|
|
204
|
+
tags: never[];
|
|
205
|
+
tagNames: never[];
|
|
206
|
+
};
|
|
207
|
+
}[];
|
|
208
|
+
};
|
|
209
|
+
metadata: {
|
|
210
|
+
tags: never[];
|
|
211
|
+
tagNames: never[];
|
|
212
|
+
};
|
|
213
|
+
}[];
|