mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-07 08:21:08 +00:00
ezqms-1160: fix slice type (#6280)
This commit is contained in:
parent
3c424b8c31
commit
f5cd4bf169
@ -130,8 +130,8 @@ const metadataTableCell = z.object({
|
|||||||
col: z.number().min(0),
|
col: z.number().min(0),
|
||||||
slice: z
|
slice: z
|
||||||
.object({
|
.object({
|
||||||
start: z.number().min(0).optional(),
|
start: z.number().optional(),
|
||||||
end: z.number().min(0).optional()
|
end: z.number().optional()
|
||||||
})
|
})
|
||||||
.optional()
|
.optional()
|
||||||
})
|
})
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"prefix": "SOP5",
|
"prefix": "I-SOP",
|
||||||
"type": "toc",
|
"type": "toc",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"in": "page-header-table-row",
|
"in": "page-header-table-row",
|
||||||
"headerIdx": 2,
|
"headerIdx": 1,
|
||||||
"docName": {
|
"docName": {
|
||||||
"extract": { "row": 2, "col": 1 }
|
"extract": { "row": 1, "col": 0, "slice": { "start": 7 } }
|
||||||
},
|
},
|
||||||
"docId": {
|
"docId": {
|
||||||
"extract": { "row": 2, "col": 0 }
|
"extract": { "row": 2, "col": 1, "slice": { "start": 9, "end": -3 } }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
@ -21,7 +21,7 @@
|
|||||||
"tags": ["h1"]
|
"tags": ["h1"]
|
||||||
},
|
},
|
||||||
"start": {
|
"start": {
|
||||||
"patterns": ["Table of contents", "Table des matières", "CONTENTS"],
|
"patterns": ["Table of contents", "Table des matières", "CONTENTS", "TABLE OF CONTENTS"],
|
||||||
"tags": ["h1", "h2", "h3", "p"]
|
"tags": ["h1", "h2", "h3", "p"]
|
||||||
},
|
},
|
||||||
"end": {
|
"end": {
|
||||||
|
Loading…
Reference in New Issue
Block a user