@byline/ai 3.17.1 → 3.18.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/@types.d.ts +5 -5
- package/dist/@types.d.ts.map +1 -1
- package/dist/config/ai-config.d.ts +2 -2
- package/dist/config/ai-config.d.ts.map +1 -1
- package/dist/config/ai-provider.d.ts +1 -1
- package/dist/config/ai-provider.d.ts.map +1 -1
- package/dist/models/anthropic/schema.d.ts +63 -63
- package/dist/models/anthropic/schema.d.ts.map +1 -1
- package/dist/models/google/normalize-generated-doc.d.ts.map +1 -1
- package/dist/models/google/schema.d.ts +126 -126
- package/dist/models/google/schema.d.ts.map +1 -1
- package/dist/models/openai/schema.d.ts +149 -149
- package/dist/models/openai/schema.d.ts.map +1 -1
- package/dist/plugins/lexical/import-html.d.ts.map +1 -1
- package/dist/plugins/lexical/plugin.js +1 -1
- package/dist/plugins/storage.d.ts.map +1 -1
- package/dist/plugins/text/plugin.js +1 -1
- package/dist/prompts.d.ts.map +1 -1
- package/dist/schemas/lexical-json-schema.d.ts.map +1 -1
- package/package.json +22 -22
|
@@ -21,440 +21,440 @@ export declare const openaiHtmlGenerationSchema: {
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
export declare const openaiGenerationSchema: {
|
|
24
|
-
readonly name:
|
|
24
|
+
readonly name: 'lexical_doc_blocks_v1';
|
|
25
25
|
readonly strict: true;
|
|
26
26
|
readonly schema: {
|
|
27
|
-
readonly type:
|
|
27
|
+
readonly type: 'object';
|
|
28
28
|
readonly additionalProperties: false;
|
|
29
29
|
readonly properties: {
|
|
30
30
|
readonly title: {
|
|
31
31
|
readonly anyOf: readonly [{
|
|
32
|
-
readonly type:
|
|
32
|
+
readonly type: 'string';
|
|
33
33
|
}, {
|
|
34
|
-
readonly type:
|
|
34
|
+
readonly type: 'null';
|
|
35
35
|
}];
|
|
36
36
|
};
|
|
37
37
|
readonly blocks: {
|
|
38
|
-
readonly type:
|
|
38
|
+
readonly type: 'array';
|
|
39
39
|
readonly items: {
|
|
40
40
|
readonly anyOf: readonly [{
|
|
41
|
-
readonly type:
|
|
41
|
+
readonly type: 'object';
|
|
42
42
|
readonly additionalProperties: false;
|
|
43
43
|
readonly properties: {
|
|
44
44
|
readonly kind: {
|
|
45
|
-
readonly type:
|
|
46
|
-
readonly enum: readonly [
|
|
45
|
+
readonly type: 'string';
|
|
46
|
+
readonly enum: readonly ['heading'];
|
|
47
47
|
};
|
|
48
48
|
readonly level: {
|
|
49
|
-
readonly type:
|
|
49
|
+
readonly type: 'number';
|
|
50
50
|
readonly enum: readonly [1, 2, 3];
|
|
51
51
|
};
|
|
52
52
|
readonly inlines: {
|
|
53
|
-
readonly type:
|
|
53
|
+
readonly type: 'array';
|
|
54
54
|
readonly items: {
|
|
55
55
|
readonly anyOf: readonly [{
|
|
56
|
-
readonly type:
|
|
56
|
+
readonly type: 'object';
|
|
57
57
|
readonly additionalProperties: false;
|
|
58
58
|
readonly properties: {
|
|
59
59
|
readonly kind: {
|
|
60
|
-
readonly type:
|
|
61
|
-
readonly enum: readonly [
|
|
60
|
+
readonly type: 'string';
|
|
61
|
+
readonly enum: readonly ['text'];
|
|
62
62
|
};
|
|
63
63
|
readonly text: {
|
|
64
|
-
readonly type:
|
|
64
|
+
readonly type: 'string';
|
|
65
65
|
};
|
|
66
66
|
readonly marks: {
|
|
67
|
-
readonly type:
|
|
67
|
+
readonly type: 'object';
|
|
68
68
|
readonly additionalProperties: false;
|
|
69
69
|
readonly properties: {
|
|
70
70
|
readonly bold: {
|
|
71
|
-
readonly type:
|
|
71
|
+
readonly type: 'boolean';
|
|
72
72
|
};
|
|
73
73
|
readonly italic: {
|
|
74
|
-
readonly type:
|
|
74
|
+
readonly type: 'boolean';
|
|
75
75
|
};
|
|
76
76
|
readonly underline: {
|
|
77
|
-
readonly type:
|
|
77
|
+
readonly type: 'boolean';
|
|
78
78
|
};
|
|
79
79
|
readonly code: {
|
|
80
|
-
readonly type:
|
|
80
|
+
readonly type: 'boolean';
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
|
-
readonly required: readonly [
|
|
83
|
+
readonly required: readonly ['bold', 'italic', 'underline', 'code'];
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
|
-
readonly required: readonly [
|
|
86
|
+
readonly required: readonly ['kind', 'text', 'marks'];
|
|
87
87
|
}, {
|
|
88
|
-
readonly type:
|
|
88
|
+
readonly type: 'object';
|
|
89
89
|
readonly additionalProperties: false;
|
|
90
90
|
readonly properties: {
|
|
91
91
|
readonly kind: {
|
|
92
|
-
readonly type:
|
|
93
|
-
readonly enum: readonly [
|
|
92
|
+
readonly type: 'string';
|
|
93
|
+
readonly enum: readonly ['link'];
|
|
94
94
|
};
|
|
95
95
|
readonly url: {
|
|
96
|
-
readonly type:
|
|
96
|
+
readonly type: 'string';
|
|
97
97
|
};
|
|
98
98
|
readonly text: {
|
|
99
|
-
readonly type:
|
|
99
|
+
readonly type: 'string';
|
|
100
100
|
};
|
|
101
101
|
readonly marks: {
|
|
102
|
-
readonly type:
|
|
102
|
+
readonly type: 'object';
|
|
103
103
|
readonly additionalProperties: false;
|
|
104
104
|
readonly properties: {
|
|
105
105
|
readonly bold: {
|
|
106
|
-
readonly type:
|
|
106
|
+
readonly type: 'boolean';
|
|
107
107
|
};
|
|
108
108
|
readonly italic: {
|
|
109
|
-
readonly type:
|
|
109
|
+
readonly type: 'boolean';
|
|
110
110
|
};
|
|
111
111
|
readonly underline: {
|
|
112
|
-
readonly type:
|
|
112
|
+
readonly type: 'boolean';
|
|
113
113
|
};
|
|
114
114
|
readonly code: {
|
|
115
|
-
readonly type:
|
|
115
|
+
readonly type: 'boolean';
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
readonly required: readonly [
|
|
118
|
+
readonly required: readonly ['bold', 'italic', 'underline', 'code'];
|
|
119
119
|
};
|
|
120
120
|
};
|
|
121
|
-
readonly required: readonly [
|
|
121
|
+
readonly required: readonly ['kind', 'url', 'text', 'marks'];
|
|
122
122
|
}, {
|
|
123
|
-
readonly type:
|
|
123
|
+
readonly type: 'object';
|
|
124
124
|
readonly additionalProperties: false;
|
|
125
125
|
readonly properties: {
|
|
126
126
|
readonly kind: {
|
|
127
|
-
readonly type:
|
|
128
|
-
readonly enum: readonly [
|
|
127
|
+
readonly type: 'string';
|
|
128
|
+
readonly enum: readonly ['br'];
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
readonly required: readonly [
|
|
131
|
+
readonly required: readonly ['kind'];
|
|
132
132
|
}];
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
|
-
readonly required: readonly [
|
|
136
|
+
readonly required: readonly ['kind', 'level', 'inlines'];
|
|
137
137
|
}, {
|
|
138
|
-
readonly type:
|
|
138
|
+
readonly type: 'object';
|
|
139
139
|
readonly additionalProperties: false;
|
|
140
140
|
readonly properties: {
|
|
141
141
|
readonly kind: {
|
|
142
|
-
readonly type:
|
|
143
|
-
readonly enum: readonly [
|
|
142
|
+
readonly type: 'string';
|
|
143
|
+
readonly enum: readonly ['paragraph'];
|
|
144
144
|
};
|
|
145
145
|
readonly align: {
|
|
146
|
-
readonly type:
|
|
147
|
-
readonly enum: readonly [
|
|
146
|
+
readonly type: 'string';
|
|
147
|
+
readonly enum: readonly ['start', 'center', 'right'];
|
|
148
148
|
};
|
|
149
149
|
readonly inlines: {
|
|
150
|
-
readonly type:
|
|
150
|
+
readonly type: 'array';
|
|
151
151
|
readonly items: {
|
|
152
152
|
readonly anyOf: readonly [{
|
|
153
|
-
readonly type:
|
|
153
|
+
readonly type: 'object';
|
|
154
154
|
readonly additionalProperties: false;
|
|
155
155
|
readonly properties: {
|
|
156
156
|
readonly kind: {
|
|
157
|
-
readonly type:
|
|
158
|
-
readonly enum: readonly [
|
|
157
|
+
readonly type: 'string';
|
|
158
|
+
readonly enum: readonly ['text'];
|
|
159
159
|
};
|
|
160
160
|
readonly text: {
|
|
161
|
-
readonly type:
|
|
161
|
+
readonly type: 'string';
|
|
162
162
|
};
|
|
163
163
|
readonly marks: {
|
|
164
|
-
readonly type:
|
|
164
|
+
readonly type: 'object';
|
|
165
165
|
readonly additionalProperties: false;
|
|
166
166
|
readonly properties: {
|
|
167
167
|
readonly bold: {
|
|
168
|
-
readonly type:
|
|
168
|
+
readonly type: 'boolean';
|
|
169
169
|
};
|
|
170
170
|
readonly italic: {
|
|
171
|
-
readonly type:
|
|
171
|
+
readonly type: 'boolean';
|
|
172
172
|
};
|
|
173
173
|
readonly underline: {
|
|
174
|
-
readonly type:
|
|
174
|
+
readonly type: 'boolean';
|
|
175
175
|
};
|
|
176
176
|
readonly code: {
|
|
177
|
-
readonly type:
|
|
177
|
+
readonly type: 'boolean';
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
|
-
readonly required: readonly [
|
|
180
|
+
readonly required: readonly ['bold', 'italic', 'underline', 'code'];
|
|
181
181
|
};
|
|
182
182
|
};
|
|
183
|
-
readonly required: readonly [
|
|
183
|
+
readonly required: readonly ['kind', 'text', 'marks'];
|
|
184
184
|
}, {
|
|
185
|
-
readonly type:
|
|
185
|
+
readonly type: 'object';
|
|
186
186
|
readonly additionalProperties: false;
|
|
187
187
|
readonly properties: {
|
|
188
188
|
readonly kind: {
|
|
189
|
-
readonly type:
|
|
190
|
-
readonly enum: readonly [
|
|
189
|
+
readonly type: 'string';
|
|
190
|
+
readonly enum: readonly ['link'];
|
|
191
191
|
};
|
|
192
192
|
readonly url: {
|
|
193
|
-
readonly type:
|
|
193
|
+
readonly type: 'string';
|
|
194
194
|
};
|
|
195
195
|
readonly text: {
|
|
196
|
-
readonly type:
|
|
196
|
+
readonly type: 'string';
|
|
197
197
|
};
|
|
198
198
|
readonly marks: {
|
|
199
|
-
readonly type:
|
|
199
|
+
readonly type: 'object';
|
|
200
200
|
readonly additionalProperties: false;
|
|
201
201
|
readonly properties: {
|
|
202
202
|
readonly bold: {
|
|
203
|
-
readonly type:
|
|
203
|
+
readonly type: 'boolean';
|
|
204
204
|
};
|
|
205
205
|
readonly italic: {
|
|
206
|
-
readonly type:
|
|
206
|
+
readonly type: 'boolean';
|
|
207
207
|
};
|
|
208
208
|
readonly underline: {
|
|
209
|
-
readonly type:
|
|
209
|
+
readonly type: 'boolean';
|
|
210
210
|
};
|
|
211
211
|
readonly code: {
|
|
212
|
-
readonly type:
|
|
212
|
+
readonly type: 'boolean';
|
|
213
213
|
};
|
|
214
214
|
};
|
|
215
|
-
readonly required: readonly [
|
|
215
|
+
readonly required: readonly ['bold', 'italic', 'underline', 'code'];
|
|
216
216
|
};
|
|
217
217
|
};
|
|
218
|
-
readonly required: readonly [
|
|
218
|
+
readonly required: readonly ['kind', 'url', 'text', 'marks'];
|
|
219
219
|
}, {
|
|
220
|
-
readonly type:
|
|
220
|
+
readonly type: 'object';
|
|
221
221
|
readonly additionalProperties: false;
|
|
222
222
|
readonly properties: {
|
|
223
223
|
readonly kind: {
|
|
224
|
-
readonly type:
|
|
225
|
-
readonly enum: readonly [
|
|
224
|
+
readonly type: 'string';
|
|
225
|
+
readonly enum: readonly ['br'];
|
|
226
226
|
};
|
|
227
227
|
};
|
|
228
|
-
readonly required: readonly [
|
|
228
|
+
readonly required: readonly ['kind'];
|
|
229
229
|
}];
|
|
230
230
|
};
|
|
231
231
|
};
|
|
232
232
|
};
|
|
233
|
-
readonly required: readonly [
|
|
233
|
+
readonly required: readonly ['kind', 'align', 'inlines'];
|
|
234
234
|
}, {
|
|
235
|
-
readonly type:
|
|
235
|
+
readonly type: 'object';
|
|
236
236
|
readonly additionalProperties: false;
|
|
237
237
|
readonly properties: {
|
|
238
238
|
readonly kind: {
|
|
239
|
-
readonly type:
|
|
240
|
-
readonly enum: readonly [
|
|
239
|
+
readonly type: 'string';
|
|
240
|
+
readonly enum: readonly ['list'];
|
|
241
241
|
};
|
|
242
242
|
readonly listType: {
|
|
243
|
-
readonly type:
|
|
244
|
-
readonly enum: readonly [
|
|
243
|
+
readonly type: 'string';
|
|
244
|
+
readonly enum: readonly ['bullet', 'number'];
|
|
245
245
|
};
|
|
246
246
|
readonly items: {
|
|
247
|
-
readonly type:
|
|
247
|
+
readonly type: 'array';
|
|
248
248
|
readonly items: {
|
|
249
|
-
readonly type:
|
|
249
|
+
readonly type: 'object';
|
|
250
250
|
readonly additionalProperties: false;
|
|
251
251
|
readonly properties: {
|
|
252
252
|
readonly indent: {
|
|
253
|
-
readonly type:
|
|
253
|
+
readonly type: 'number';
|
|
254
254
|
readonly enum: readonly [0, 1];
|
|
255
255
|
};
|
|
256
256
|
readonly blocks: {
|
|
257
|
-
readonly type:
|
|
257
|
+
readonly type: 'array';
|
|
258
258
|
readonly items: {
|
|
259
259
|
readonly anyOf: readonly [{
|
|
260
|
-
readonly type:
|
|
260
|
+
readonly type: 'object';
|
|
261
261
|
readonly additionalProperties: false;
|
|
262
262
|
readonly properties: {
|
|
263
263
|
readonly kind: {
|
|
264
|
-
readonly type:
|
|
265
|
-
readonly enum: readonly [
|
|
264
|
+
readonly type: 'string';
|
|
265
|
+
readonly enum: readonly ['paragraph'];
|
|
266
266
|
};
|
|
267
267
|
readonly align: {
|
|
268
|
-
readonly type:
|
|
269
|
-
readonly enum: readonly [
|
|
268
|
+
readonly type: 'string';
|
|
269
|
+
readonly enum: readonly ['start', 'center', 'right'];
|
|
270
270
|
};
|
|
271
271
|
readonly inlines: {
|
|
272
|
-
readonly type:
|
|
272
|
+
readonly type: 'array';
|
|
273
273
|
readonly items: {
|
|
274
274
|
readonly anyOf: readonly [{
|
|
275
|
-
readonly type:
|
|
275
|
+
readonly type: 'object';
|
|
276
276
|
readonly additionalProperties: false;
|
|
277
277
|
readonly properties: {
|
|
278
278
|
readonly kind: {
|
|
279
|
-
readonly type:
|
|
280
|
-
readonly enum: readonly [
|
|
279
|
+
readonly type: 'string';
|
|
280
|
+
readonly enum: readonly ['text'];
|
|
281
281
|
};
|
|
282
282
|
readonly text: {
|
|
283
|
-
readonly type:
|
|
283
|
+
readonly type: 'string';
|
|
284
284
|
};
|
|
285
285
|
readonly marks: {
|
|
286
|
-
readonly type:
|
|
286
|
+
readonly type: 'object';
|
|
287
287
|
readonly additionalProperties: false;
|
|
288
288
|
readonly properties: {
|
|
289
289
|
readonly bold: {
|
|
290
|
-
readonly type:
|
|
290
|
+
readonly type: 'boolean';
|
|
291
291
|
};
|
|
292
292
|
readonly italic: {
|
|
293
|
-
readonly type:
|
|
293
|
+
readonly type: 'boolean';
|
|
294
294
|
};
|
|
295
295
|
readonly underline: {
|
|
296
|
-
readonly type:
|
|
296
|
+
readonly type: 'boolean';
|
|
297
297
|
};
|
|
298
298
|
readonly code: {
|
|
299
|
-
readonly type:
|
|
299
|
+
readonly type: 'boolean';
|
|
300
300
|
};
|
|
301
301
|
};
|
|
302
|
-
readonly required: readonly [
|
|
302
|
+
readonly required: readonly ['bold', 'italic', 'underline', 'code'];
|
|
303
303
|
};
|
|
304
304
|
};
|
|
305
|
-
readonly required: readonly [
|
|
305
|
+
readonly required: readonly ['kind', 'text', 'marks'];
|
|
306
306
|
}, {
|
|
307
|
-
readonly type:
|
|
307
|
+
readonly type: 'object';
|
|
308
308
|
readonly additionalProperties: false;
|
|
309
309
|
readonly properties: {
|
|
310
310
|
readonly kind: {
|
|
311
|
-
readonly type:
|
|
312
|
-
readonly enum: readonly [
|
|
311
|
+
readonly type: 'string';
|
|
312
|
+
readonly enum: readonly ['link'];
|
|
313
313
|
};
|
|
314
314
|
readonly url: {
|
|
315
|
-
readonly type:
|
|
315
|
+
readonly type: 'string';
|
|
316
316
|
};
|
|
317
317
|
readonly text: {
|
|
318
|
-
readonly type:
|
|
318
|
+
readonly type: 'string';
|
|
319
319
|
};
|
|
320
320
|
readonly marks: {
|
|
321
|
-
readonly type:
|
|
321
|
+
readonly type: 'object';
|
|
322
322
|
readonly additionalProperties: false;
|
|
323
323
|
readonly properties: {
|
|
324
324
|
readonly bold: {
|
|
325
|
-
readonly type:
|
|
325
|
+
readonly type: 'boolean';
|
|
326
326
|
};
|
|
327
327
|
readonly italic: {
|
|
328
|
-
readonly type:
|
|
328
|
+
readonly type: 'boolean';
|
|
329
329
|
};
|
|
330
330
|
readonly underline: {
|
|
331
|
-
readonly type:
|
|
331
|
+
readonly type: 'boolean';
|
|
332
332
|
};
|
|
333
333
|
readonly code: {
|
|
334
|
-
readonly type:
|
|
334
|
+
readonly type: 'boolean';
|
|
335
335
|
};
|
|
336
336
|
};
|
|
337
|
-
readonly required: readonly [
|
|
337
|
+
readonly required: readonly ['bold', 'italic', 'underline', 'code'];
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
|
-
readonly required: readonly [
|
|
340
|
+
readonly required: readonly ['kind', 'url', 'text', 'marks'];
|
|
341
341
|
}, {
|
|
342
|
-
readonly type:
|
|
342
|
+
readonly type: 'object';
|
|
343
343
|
readonly additionalProperties: false;
|
|
344
344
|
readonly properties: {
|
|
345
345
|
readonly kind: {
|
|
346
|
-
readonly type:
|
|
347
|
-
readonly enum: readonly [
|
|
346
|
+
readonly type: 'string';
|
|
347
|
+
readonly enum: readonly ['br'];
|
|
348
348
|
};
|
|
349
349
|
};
|
|
350
|
-
readonly required: readonly [
|
|
350
|
+
readonly required: readonly ['kind'];
|
|
351
351
|
}];
|
|
352
352
|
};
|
|
353
353
|
};
|
|
354
354
|
};
|
|
355
|
-
readonly required: readonly [
|
|
355
|
+
readonly required: readonly ['kind', 'align', 'inlines'];
|
|
356
356
|
}];
|
|
357
357
|
};
|
|
358
358
|
};
|
|
359
359
|
};
|
|
360
|
-
readonly required: readonly [
|
|
360
|
+
readonly required: readonly ['indent', 'blocks'];
|
|
361
361
|
};
|
|
362
362
|
};
|
|
363
363
|
};
|
|
364
|
-
readonly required: readonly [
|
|
364
|
+
readonly required: readonly ['kind', 'listType', 'items'];
|
|
365
365
|
}, {
|
|
366
|
-
readonly type:
|
|
366
|
+
readonly type: 'object';
|
|
367
367
|
readonly additionalProperties: false;
|
|
368
368
|
readonly properties: {
|
|
369
369
|
readonly kind: {
|
|
370
|
-
readonly type:
|
|
371
|
-
readonly enum: readonly [
|
|
370
|
+
readonly type: 'string';
|
|
371
|
+
readonly enum: readonly ['quote'];
|
|
372
372
|
};
|
|
373
373
|
readonly blocks: {
|
|
374
|
-
readonly type:
|
|
374
|
+
readonly type: 'array';
|
|
375
375
|
readonly items: {
|
|
376
376
|
readonly anyOf: readonly [{
|
|
377
|
-
readonly type:
|
|
377
|
+
readonly type: 'object';
|
|
378
378
|
readonly additionalProperties: false;
|
|
379
379
|
readonly properties: {
|
|
380
380
|
readonly kind: {
|
|
381
|
-
readonly type:
|
|
382
|
-
readonly enum: readonly [
|
|
381
|
+
readonly type: 'string';
|
|
382
|
+
readonly enum: readonly ['paragraph'];
|
|
383
383
|
};
|
|
384
384
|
readonly align: {
|
|
385
|
-
readonly type:
|
|
386
|
-
readonly enum: readonly [
|
|
385
|
+
readonly type: 'string';
|
|
386
|
+
readonly enum: readonly ['start', 'center', 'right'];
|
|
387
387
|
};
|
|
388
388
|
readonly inlines: {
|
|
389
|
-
readonly type:
|
|
389
|
+
readonly type: 'array';
|
|
390
390
|
readonly items: {
|
|
391
391
|
readonly anyOf: readonly [{
|
|
392
|
-
readonly type:
|
|
392
|
+
readonly type: 'object';
|
|
393
393
|
readonly additionalProperties: false;
|
|
394
394
|
readonly properties: {
|
|
395
395
|
readonly kind: {
|
|
396
|
-
readonly type:
|
|
397
|
-
readonly enum: readonly [
|
|
396
|
+
readonly type: 'string';
|
|
397
|
+
readonly enum: readonly ['text'];
|
|
398
398
|
};
|
|
399
399
|
readonly text: {
|
|
400
|
-
readonly type:
|
|
400
|
+
readonly type: 'string';
|
|
401
401
|
};
|
|
402
402
|
readonly marks: {
|
|
403
|
-
readonly type:
|
|
403
|
+
readonly type: 'object';
|
|
404
404
|
readonly additionalProperties: false;
|
|
405
405
|
readonly properties: {
|
|
406
406
|
readonly bold: {
|
|
407
|
-
readonly type:
|
|
407
|
+
readonly type: 'boolean';
|
|
408
408
|
};
|
|
409
409
|
readonly italic: {
|
|
410
|
-
readonly type:
|
|
410
|
+
readonly type: 'boolean';
|
|
411
411
|
};
|
|
412
412
|
readonly underline: {
|
|
413
|
-
readonly type:
|
|
413
|
+
readonly type: 'boolean';
|
|
414
414
|
};
|
|
415
415
|
readonly code: {
|
|
416
|
-
readonly type:
|
|
416
|
+
readonly type: 'boolean';
|
|
417
417
|
};
|
|
418
418
|
};
|
|
419
|
-
readonly required: readonly [
|
|
419
|
+
readonly required: readonly ['bold', 'italic', 'underline', 'code'];
|
|
420
420
|
};
|
|
421
421
|
};
|
|
422
|
-
readonly required: readonly [
|
|
422
|
+
readonly required: readonly ['kind', 'text', 'marks'];
|
|
423
423
|
}, {
|
|
424
|
-
readonly type:
|
|
424
|
+
readonly type: 'object';
|
|
425
425
|
readonly additionalProperties: false;
|
|
426
426
|
readonly properties: {
|
|
427
427
|
readonly kind: {
|
|
428
|
-
readonly type:
|
|
429
|
-
readonly enum: readonly [
|
|
428
|
+
readonly type: 'string';
|
|
429
|
+
readonly enum: readonly ['br'];
|
|
430
430
|
};
|
|
431
431
|
};
|
|
432
|
-
readonly required: readonly [
|
|
432
|
+
readonly required: readonly ['kind'];
|
|
433
433
|
}];
|
|
434
434
|
};
|
|
435
435
|
};
|
|
436
436
|
};
|
|
437
|
-
readonly required: readonly [
|
|
437
|
+
readonly required: readonly ['kind', 'align', 'inlines'];
|
|
438
438
|
}];
|
|
439
439
|
};
|
|
440
440
|
};
|
|
441
441
|
};
|
|
442
|
-
readonly required: readonly [
|
|
442
|
+
readonly required: readonly ['kind', 'blocks'];
|
|
443
443
|
}, {
|
|
444
|
-
readonly type:
|
|
444
|
+
readonly type: 'object';
|
|
445
445
|
readonly additionalProperties: false;
|
|
446
446
|
readonly properties: {
|
|
447
447
|
readonly kind: {
|
|
448
|
-
readonly type:
|
|
449
|
-
readonly enum: readonly [
|
|
448
|
+
readonly type: 'string';
|
|
449
|
+
readonly enum: readonly ['hr'];
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
|
-
readonly required: readonly [
|
|
452
|
+
readonly required: readonly ['kind'];
|
|
453
453
|
}];
|
|
454
454
|
};
|
|
455
455
|
};
|
|
456
456
|
};
|
|
457
|
-
readonly required: readonly [
|
|
457
|
+
readonly required: readonly ['title', 'blocks'];
|
|
458
458
|
};
|
|
459
459
|
};
|
|
460
460
|
//# sourceMappingURL=schema.d.ts.map
|