@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.
- package/dist/phases/deps.test.js +1 -5
- package/dist/phases/deps.test.js.map +1 -1
- package/dist/phases/routes-ui.test.js +3 -15
- package/dist/phases/routes-ui.test.js.map +1 -1
- package/dist/templates/byline-examples/scripts/import-docs.ts +35 -10
- package/dist/workspace-root.test.js +6 -27
- package/dist/workspace-root.test.js.map +1 -1
- package/package.json +9 -9
- package/dist/templates/byline-examples/collections/doc-example-flat-locale-all.ts +0 -373
- package/dist/templates/byline-examples/collections/doc-example-flat-locale-en.ts +0 -283
- package/dist/templates/byline-examples/collections/doc-example-tree-locale-all.ts +0 -278
- package/dist/templates/byline-examples/collections/doc-example-tree-locale-en.ts +0 -205
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
const _doc_tree_locale_en = {
|
|
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: 'A bulk created document. 981',
|
|
10
|
-
summary: 'This is a sample document for testing purposes.',
|
|
11
|
-
featured: false,
|
|
12
|
-
content: [
|
|
13
|
-
{
|
|
14
|
-
richTextBlock: [
|
|
15
|
-
{
|
|
16
|
-
richText: {
|
|
17
|
-
root: {
|
|
18
|
-
type: 'root',
|
|
19
|
-
format: '',
|
|
20
|
-
indent: 0,
|
|
21
|
-
version: 1,
|
|
22
|
-
children: [
|
|
23
|
-
{
|
|
24
|
-
type: 'paragraph',
|
|
25
|
-
format: '',
|
|
26
|
-
indent: 0,
|
|
27
|
-
version: 1,
|
|
28
|
-
children: [
|
|
29
|
-
{
|
|
30
|
-
mode: 'normal',
|
|
31
|
-
text: 'Some richtext here...',
|
|
32
|
-
type: 'text',
|
|
33
|
-
style: '',
|
|
34
|
-
detail: 0,
|
|
35
|
-
format: 0,
|
|
36
|
-
version: 1,
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
direction: 'ltr',
|
|
40
|
-
textStyle: '',
|
|
41
|
-
textFormat: 0,
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
direction: 'ltr',
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
constrainedWidth: true,
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
photoBlock: [
|
|
55
|
-
{
|
|
56
|
-
display: 'wide',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
photo: {
|
|
60
|
-
file_id: '01981ef7-2e41-7084-add9-3bf27c9b27c3',
|
|
61
|
-
filename: 'docs-photo-01.jpg',
|
|
62
|
-
original_filename: 'some-original-filename.jpg',
|
|
63
|
-
mime_type: 'image/jpeg',
|
|
64
|
-
file_size: '123456',
|
|
65
|
-
storage_provider: 'local',
|
|
66
|
-
storage_path: 'uploads/docs-photo-01.jpg',
|
|
67
|
-
storage_url: null,
|
|
68
|
-
file_hash: null,
|
|
69
|
-
image_width: null,
|
|
70
|
-
image_height: null,
|
|
71
|
-
image_format: null,
|
|
72
|
-
processing_status: 'pending',
|
|
73
|
-
thumbnail_generated: false,
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
alt: 'Some alt text here',
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
caption: {
|
|
81
|
-
root: {
|
|
82
|
-
type: 'root',
|
|
83
|
-
format: '',
|
|
84
|
-
indent: 0,
|
|
85
|
-
version: 1,
|
|
86
|
-
children: [
|
|
87
|
-
{
|
|
88
|
-
type: 'paragraph',
|
|
89
|
-
format: '',
|
|
90
|
-
indent: 0,
|
|
91
|
-
version: 1,
|
|
92
|
-
children: [
|
|
93
|
-
{
|
|
94
|
-
mode: 'normal',
|
|
95
|
-
text: 'Here is a richtext field Here is a richtext field Here is a richtext field Here is a rich text field.',
|
|
96
|
-
type: 'text',
|
|
97
|
-
style: '',
|
|
98
|
-
detail: 0,
|
|
99
|
-
format: 0,
|
|
100
|
-
version: 1,
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
direction: 'ltr',
|
|
104
|
-
textStyle: '',
|
|
105
|
-
textFormat: 0,
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
direction: 'ltr',
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
},
|
|
114
|
-
],
|
|
115
|
-
links: [
|
|
116
|
-
{
|
|
117
|
-
link: 'https://example.com',
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
link: 'https://another-example.com',
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
reviews: [
|
|
124
|
-
{
|
|
125
|
-
reviewItem: [
|
|
126
|
-
{
|
|
127
|
-
rating: 5,
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
comment: {
|
|
131
|
-
root: {
|
|
132
|
-
type: 'root',
|
|
133
|
-
format: '',
|
|
134
|
-
indent: 0,
|
|
135
|
-
version: 1,
|
|
136
|
-
children: [
|
|
137
|
-
{
|
|
138
|
-
type: 'paragraph',
|
|
139
|
-
format: '',
|
|
140
|
-
indent: 0,
|
|
141
|
-
version: 1,
|
|
142
|
-
children: [
|
|
143
|
-
{
|
|
144
|
-
mode: 'normal',
|
|
145
|
-
text: 'Some review text here...',
|
|
146
|
-
type: 'text',
|
|
147
|
-
style: '',
|
|
148
|
-
detail: 0,
|
|
149
|
-
format: 0,
|
|
150
|
-
version: 1,
|
|
151
|
-
},
|
|
152
|
-
],
|
|
153
|
-
direction: 'ltr',
|
|
154
|
-
textStyle: '',
|
|
155
|
-
textFormat: 0,
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
direction: 'ltr',
|
|
159
|
-
},
|
|
160
|
-
},
|
|
161
|
-
},
|
|
162
|
-
],
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
reviewItem: [
|
|
166
|
-
{
|
|
167
|
-
rating: 3,
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
comment: {
|
|
171
|
-
root: {
|
|
172
|
-
type: 'root',
|
|
173
|
-
format: '',
|
|
174
|
-
indent: 0,
|
|
175
|
-
version: 1,
|
|
176
|
-
children: [
|
|
177
|
-
{
|
|
178
|
-
type: 'paragraph',
|
|
179
|
-
format: '',
|
|
180
|
-
indent: 0,
|
|
181
|
-
version: 1,
|
|
182
|
-
children: [
|
|
183
|
-
{
|
|
184
|
-
mode: 'normal',
|
|
185
|
-
text: 'Some review text here...',
|
|
186
|
-
type: 'text',
|
|
187
|
-
style: '',
|
|
188
|
-
detail: 0,
|
|
189
|
-
format: 0,
|
|
190
|
-
version: 1,
|
|
191
|
-
},
|
|
192
|
-
],
|
|
193
|
-
direction: 'ltr',
|
|
194
|
-
textStyle: '',
|
|
195
|
-
textFormat: 0,
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
|
-
direction: 'ltr',
|
|
199
|
-
},
|
|
200
|
-
},
|
|
201
|
-
},
|
|
202
|
-
],
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
}
|