mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-30 04:05:39 +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),
|
||||
slice: z
|
||||
.object({
|
||||
start: z.number().min(0).optional(),
|
||||
end: z.number().min(0).optional()
|
||||
start: z.number().optional(),
|
||||
end: z.number().optional()
|
||||
})
|
||||
.optional()
|
||||
})
|
||||
|
@ -1,14 +1,14 @@
|
||||
{
|
||||
"prefix": "SOP5",
|
||||
"prefix": "I-SOP",
|
||||
"type": "toc",
|
||||
"metadata": {
|
||||
"in": "page-header-table-row",
|
||||
"headerIdx": 2,
|
||||
"headerIdx": 1,
|
||||
"docName": {
|
||||
"extract": { "row": 2, "col": 1 }
|
||||
"extract": { "row": 1, "col": 0, "slice": { "start": 7 } }
|
||||
},
|
||||
"docId": {
|
||||
"extract": { "row": 2, "col": 0 }
|
||||
"extract": { "row": 2, "col": 1, "slice": { "start": 9, "end": -3 } }
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
@ -21,7 +21,7 @@
|
||||
"tags": ["h1"]
|
||||
},
|
||||
"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"]
|
||||
},
|
||||
"end": {
|
||||
|
Loading…
Reference in New Issue
Block a user