@ninetailed/experience.js-utils-contentful 7.20.5 → 7.21.0

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