@byline/cli 4.2.0 → 4.4.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,283 +0,0 @@
1
- const _doc_flat_locale_en = {
2
- document_version_id: '01981ef7-6782-71a7-a779-3e36d9b2bc05',
3
- document_id: '01981ef7-6782-71a7-a779-432fe33aaa80',
4
- path: 'my-first-bulk-document-13325',
5
- status: 'draft',
6
- created_at: '2025-07-18T19:16:27.138Z',
7
- updated_at: '2025-07-18T19:16:27.138Z',
8
- fields: [
9
- {
10
- field_path: 'path',
11
- field_name: 'path',
12
- locale: 'all',
13
- field_type: 'text',
14
- value: 'my-first-bulk-document-13325',
15
- },
16
- {
17
- field_path: 'publishedOn',
18
- field_name: 'publishedOn',
19
- locale: 'all',
20
- field_type: 'datetime',
21
- date_type: 'datetime',
22
- value_time: null,
23
- value_date: null,
24
- value_timestamp_tz: '2024-01-15 03:00:00+00',
25
- },
26
- {
27
- field_path: 'title',
28
- field_name: 'title',
29
- locale: 'en',
30
- field_type: 'text',
31
- value: 'A bulk created document. 981',
32
- },
33
- {
34
- field_path: 'summary',
35
- field_name: 'summary',
36
- locale: 'en',
37
- field_type: 'text',
38
- value: 'This is a sample document for testing purposes.',
39
- },
40
- {
41
- field_path: 'featured',
42
- field_name: 'featured',
43
- locale: 'all',
44
- field_type: 'boolean',
45
- value: false,
46
- },
47
- {
48
- field_path: 'content.0.richTextBlock.0.richText',
49
- field_name: 'richText',
50
- locale: 'en',
51
- parent_path: 'content.0.richTextBlock.0',
52
- field_type: 'richText',
53
- value: {
54
- root: {
55
- type: 'root',
56
- format: '',
57
- indent: 0,
58
- version: 1,
59
- children: [
60
- {
61
- type: 'paragraph',
62
- format: '',
63
- indent: 0,
64
- version: 1,
65
- children: [
66
- {
67
- mode: 'normal',
68
- text: 'Some richtext here...',
69
- type: 'text',
70
- style: '',
71
- detail: 0,
72
- format: 0,
73
- version: 1,
74
- },
75
- ],
76
- direction: 'ltr',
77
- textStyle: '',
78
- textFormat: 0,
79
- },
80
- ],
81
- direction: 'ltr',
82
- },
83
- },
84
- },
85
- {
86
- field_path: 'content.0.richTextBlock.1.constrainedWidth',
87
- field_name: 'constrainedWidth',
88
- locale: 'all',
89
- parent_path: 'content.0.richTextBlock.1',
90
- field_type: 'boolean',
91
- value: true,
92
- },
93
- {
94
- field_path: 'content.1.photoBlock.0.display',
95
- field_name: 'display',
96
- locale: 'all',
97
- parent_path: 'content.1.photoBlock.0',
98
- field_type: 'text',
99
- value: 'wide',
100
- },
101
- {
102
- field_path: 'content.1.photoBlock.1.photo',
103
- field_name: 'photo',
104
- locale: 'all',
105
- parent_path: 'content.1.photoBlock.1',
106
- field_type: 'file',
107
- file_id: '01981ef7-2e41-7084-add9-3bf27c9b27c3',
108
- filename: 'docs-photo-01.jpg',
109
- original_filename: 'some-original-filename.jpg',
110
- mime_type: 'image/jpeg',
111
- file_size: '123456',
112
- storage_provider: 'local',
113
- storage_path: 'uploads/docs-photo-01.jpg',
114
- storage_url: null,
115
- file_hash: null,
116
- image_width: null,
117
- image_height: null,
118
- image_format: null,
119
- processing_status: 'pending',
120
- thumbnail_generated: false,
121
- },
122
- {
123
- field_path: 'content.1.photoBlock.2.alt',
124
- field_name: 'alt',
125
- locale: 'all',
126
- parent_path: 'content.1.photoBlock.2',
127
- field_type: 'text',
128
- value: 'Some alt text here',
129
- },
130
- {
131
- field_path: 'content.1.photoBlock.3.caption',
132
- field_name: 'caption',
133
- locale: 'en',
134
- parent_path: 'content.1.photoBlock.3',
135
- field_type: 'richText',
136
- value: {
137
- root: {
138
- type: 'root',
139
- format: '',
140
- indent: 0,
141
- version: 1,
142
- children: [
143
- {
144
- type: 'paragraph',
145
- format: '',
146
- indent: 0,
147
- version: 1,
148
- children: [
149
- {
150
- mode: 'normal',
151
- text: 'Here is a richtext field Here is a richtext field Here is a richtext field Here is a rich text field.',
152
- type: 'text',
153
- style: '',
154
- detail: 0,
155
- format: 0,
156
- version: 1,
157
- },
158
- ],
159
- direction: 'ltr',
160
- textStyle: '',
161
- textFormat: 0,
162
- },
163
- ],
164
- direction: 'ltr',
165
- },
166
- },
167
- },
168
- {
169
- field_path: 'links.0.link',
170
- field_name: 'link',
171
- locale: 'all',
172
- parent_path: 'links.0',
173
- field_type: 'text',
174
- value: 'https://example.com',
175
- },
176
- {
177
- field_path: 'links.1.link',
178
- field_name: 'link',
179
- locale: 'all',
180
- parent_path: 'links.1',
181
- field_type: 'text',
182
- value: 'https://another-example.com',
183
- },
184
- {
185
- field_path: 'reviews.0.reviewItem.0.rating',
186
- field_name: 'rating',
187
- locale: 'all',
188
- parent_path: 'reviews.0.reviewItem.0',
189
- field_type: 'integer',
190
- number_type: 'integer',
191
- value_integer: 5,
192
- value_decimal: null,
193
- value_float: null,
194
- },
195
- {
196
- field_path: 'reviews.0.reviewItem.1.comment',
197
- field_name: 'comment',
198
- locale: 'all',
199
- parent_path: 'reviews.0.reviewItem.1',
200
- field_type: 'richText',
201
- value: {
202
- root: {
203
- type: 'root',
204
- format: '',
205
- indent: 0,
206
- version: 1,
207
- children: [
208
- {
209
- type: 'paragraph',
210
- format: '',
211
- indent: 0,
212
- version: 1,
213
- children: [
214
- {
215
- mode: 'normal',
216
- text: 'Some review text here...',
217
- type: 'text',
218
- style: '',
219
- detail: 0,
220
- format: 0,
221
- version: 1,
222
- },
223
- ],
224
- direction: 'ltr',
225
- textStyle: '',
226
- textFormat: 0,
227
- },
228
- ],
229
- direction: 'ltr',
230
- },
231
- },
232
- },
233
- {
234
- field_path: 'reviews.1.reviewItem.0.rating',
235
- field_name: 'rating',
236
- locale: 'all',
237
- parent_path: 'reviews.1.reviewItem.0',
238
- field_type: 'integer',
239
- number_type: 'integer',
240
- value_integer: 3,
241
- value_decimal: null,
242
- value_float: null,
243
- },
244
- {
245
- field_path: 'reviews.1.reviewItem.1.comment',
246
- field_name: 'comment',
247
- locale: 'all',
248
- parent_path: 'reviews.1.reviewItem.1',
249
- field_type: 'richText',
250
- value: {
251
- root: {
252
- type: 'root',
253
- format: '',
254
- indent: 0,
255
- version: 1,
256
- children: [
257
- {
258
- type: 'paragraph',
259
- format: '',
260
- indent: 0,
261
- version: 1,
262
- children: [
263
- {
264
- mode: 'normal',
265
- text: 'Some review text here...',
266
- type: 'text',
267
- style: '',
268
- detail: 0,
269
- format: 0,
270
- version: 1,
271
- },
272
- ],
273
- direction: 'ltr',
274
- textStyle: '',
275
- textFormat: 0,
276
- },
277
- ],
278
- direction: 'ltr',
279
- },
280
- },
281
- },
282
- ],
283
- }
@@ -1,278 +0,0 @@
1
- const _doc_tree_locale_all = {
2
- document_version_id: '01981ef7-6782-71a7-a779-3e36d9b2bc05',
3
- document_id: '01981ef7-6782-71a7-a779-432fe33aaa80',
4
- status: 'draft',
5
- created_at: '2025-07-18T19:16:27.138Z',
6
- updated_at: '2025-07-18T19:16:27.138Z',
7
- path: 'my-first-bulk-document-13325',
8
- publishedOn: '2024-01-15 03:00:00+00',
9
- title: {
10
- en: 'A bulk created document. 981',
11
- es: 'Mi Primer Documento',
12
- },
13
- summary: {
14
- en: 'This is a sample document for testing purposes.',
15
- es: 'Este es un documento de muestra para fines de prueba.',
16
- },
17
- featured: false,
18
- content: [
19
- {
20
- richTextBlock: [
21
- {
22
- richText: {
23
- en: {
24
- root: {
25
- type: 'root',
26
- format: '',
27
- indent: 0,
28
- version: 1,
29
- children: [
30
- {
31
- type: 'paragraph',
32
- format: '',
33
- indent: 0,
34
- version: 1,
35
- children: [
36
- {
37
- mode: 'normal',
38
- text: 'Some richtext here...',
39
- type: 'text',
40
- style: '',
41
- detail: 0,
42
- format: 0,
43
- version: 1,
44
- },
45
- ],
46
- direction: 'ltr',
47
- textStyle: '',
48
- textFormat: 0,
49
- },
50
- ],
51
- direction: 'ltr',
52
- },
53
- },
54
- es: {
55
- root: {
56
- type: 'root',
57
- format: '',
58
- indent: 0,
59
- version: 1,
60
- children: [
61
- {
62
- type: 'paragraph',
63
- format: '',
64
- indent: 0,
65
- version: 1,
66
- children: [
67
- {
68
- mode: 'normal',
69
- text: 'Aquí hay un campo de texto enriquecido...',
70
- type: 'text',
71
- style: '',
72
- detail: 0,
73
- format: 0,
74
- version: 1,
75
- },
76
- ],
77
- direction: 'ltr',
78
- textStyle: '',
79
- textFormat: 0,
80
- },
81
- ],
82
- direction: 'ltr',
83
- },
84
- },
85
- },
86
- },
87
- {
88
- constrainedWidth: true,
89
- },
90
- ],
91
- },
92
- {
93
- photoBlock: [
94
- {
95
- display: 'wide',
96
- },
97
- {
98
- photo: {
99
- file_id: '01981ef7-2e41-7084-add9-3bf27c9b27c3',
100
- filename: 'docs-photo-01.jpg',
101
- original_filename: 'some-original-filename.jpg',
102
- mime_type: 'image/jpeg',
103
- file_size: '123456',
104
- storage_provider: 'local',
105
- storage_path: 'uploads/docs-photo-01.jpg',
106
- storage_url: null,
107
- file_hash: null,
108
- image_width: null,
109
- image_height: null,
110
- image_format: null,
111
- processing_status: 'pending',
112
- thumbnail_generated: false,
113
- },
114
- },
115
- {
116
- alt: 'Some alt text here',
117
- },
118
- {
119
- caption: {
120
- en: {
121
- root: {
122
- type: 'root',
123
- format: '',
124
- indent: 0,
125
- version: 1,
126
- children: [
127
- {
128
- type: 'paragraph',
129
- format: '',
130
- indent: 0,
131
- version: 1,
132
- children: [
133
- {
134
- mode: 'normal',
135
- text: 'Here is a richtext field Here is a richtext field Here is a richtext field Here is a rich text field.',
136
- type: 'text',
137
- style: '',
138
- detail: 0,
139
- format: 0,
140
- version: 1,
141
- },
142
- ],
143
- direction: 'ltr',
144
- textStyle: '',
145
- textFormat: 0,
146
- },
147
- ],
148
- direction: 'ltr',
149
- },
150
- },
151
- es: {
152
- root: {
153
- type: 'root',
154
- format: '',
155
- indent: 0,
156
- version: 1,
157
- children: [
158
- {
159
- type: 'paragraph',
160
- format: '',
161
- indent: 0,
162
- version: 1,
163
- children: [
164
- {
165
- mode: 'normal',
166
- text: 'Aquí hay un campo de texto enriquecido. Aquí hay un campo de texto enriquecido. Aquí hay un campo de texto enriquecido. Aquí hay un campo de texto enriquecido.',
167
- type: 'text',
168
- style: '',
169
- detail: 0,
170
- format: 0,
171
- version: 1,
172
- },
173
- ],
174
- direction: 'ltr',
175
- textStyle: '',
176
- textFormat: 0,
177
- },
178
- ],
179
- direction: 'ltr',
180
- },
181
- },
182
- },
183
- },
184
- ],
185
- },
186
- ],
187
- links: [
188
- {
189
- link: 'https://example.com',
190
- },
191
- {
192
- link: 'https://another-example.com',
193
- },
194
- ],
195
-
196
- reviews: [
197
- {
198
- reviewItem: [
199
- {
200
- rating: 5,
201
- },
202
- {
203
- comment: {
204
- root: {
205
- type: 'root',
206
- format: '',
207
- indent: 0,
208
- version: 1,
209
- children: [
210
- {
211
- type: 'paragraph',
212
- format: '',
213
- indent: 0,
214
- version: 1,
215
- children: [
216
- {
217
- mode: 'normal',
218
- text: 'Some review text here...',
219
- type: 'text',
220
- style: '',
221
- detail: 0,
222
- format: 0,
223
- version: 1,
224
- },
225
- ],
226
- direction: 'ltr',
227
- textStyle: '',
228
- textFormat: 0,
229
- },
230
- ],
231
- direction: 'ltr',
232
- },
233
- },
234
- },
235
- ],
236
- },
237
- {
238
- reviewItem: [
239
- {
240
- rating: 3,
241
- },
242
- {
243
- comment: {
244
- root: {
245
- type: 'root',
246
- format: '',
247
- indent: 0,
248
- version: 1,
249
- children: [
250
- {
251
- type: 'paragraph',
252
- format: '',
253
- indent: 0,
254
- version: 1,
255
- children: [
256
- {
257
- mode: 'normal',
258
- text: 'Some review text here...',
259
- type: 'text',
260
- style: '',
261
- detail: 0,
262
- format: 0,
263
- version: 1,
264
- },
265
- ],
266
- direction: 'ltr',
267
- textStyle: '',
268
- textFormat: 0,
269
- },
270
- ],
271
- direction: 'ltr',
272
- },
273
- },
274
- },
275
- ],
276
- },
277
- ],
278
- }