@agentshouse/mdmodel 0.1.0-cd6a8e5bc7efc → 0.1.0-cdaa2262b2988
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/API.md +108 -115
- package/README.md +15 -13
- package/dist/built-in.d.ts.map +1 -1
- package/dist/built-in.js +10 -1
- package/dist/definition.d.ts +10 -3
- package/dist/definition.d.ts.map +1 -1
- package/dist/definition.js +99 -21
- package/dist/document.d.ts +3 -2
- package/dist/document.d.ts.map +1 -1
- package/dist/document.js +113 -71
- package/dist/event.d.ts +4 -7
- package/dist/event.d.ts.map +1 -1
- package/dist/event.js +3 -2
- package/dist/facts.d.ts.map +1 -1
- package/dist/facts.js +8 -4
- package/dist/fields.d.ts +1 -1
- package/dist/fields.d.ts.map +1 -1
- package/dist/fields.js +2 -2
- package/dist/folders.d.ts +5 -0
- package/dist/folders.d.ts.map +1 -0
- package/dist/folders.js +19 -0
- package/dist/form.d.ts.map +1 -1
- package/dist/form.js +3 -2
- package/dist/house-model.d.ts +190 -24
- package/dist/house-model.d.ts.map +1 -1
- package/dist/house-model.js +99 -15
- package/dist/house-references/crockford.d.ts.map +1 -0
- package/dist/house-references/patterns.d.ts +13 -0
- package/dist/house-references/patterns.d.ts.map +1 -0
- package/dist/house-references/patterns.js +20 -0
- package/dist/index.d.ts +23 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -13
- package/dist/indexed.d.ts +10 -0
- package/dist/indexed.d.ts.map +1 -0
- package/dist/indexed.js +63 -0
- package/dist/kinds.d.ts +9 -1
- package/dist/kinds.d.ts.map +1 -1
- package/dist/kinds.js +68 -0
- package/dist/markdown.d.ts +0 -4
- package/dist/markdown.d.ts.map +1 -1
- package/dist/markdown.js +1 -34
- package/dist/media-type.d.ts +72 -0
- package/dist/media-type.d.ts.map +1 -0
- package/dist/media-type.js +157 -0
- package/dist/moment.d.ts +9 -0
- package/dist/moment.d.ts.map +1 -0
- package/dist/moment.js +40 -0
- package/dist/not-ready.d.ts +2 -0
- package/dist/not-ready.d.ts.map +1 -0
- package/dist/not-ready.js +5 -0
- package/dist/paths.d.ts +6 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +33 -3
- package/dist/query/language.d.ts +4 -1
- package/dist/query/language.d.ts.map +1 -1
- package/dist/query/language.js +8 -7
- package/dist/query/match.d.ts +1 -1
- package/dist/query/match.d.ts.map +1 -1
- package/dist/query/match.js +3 -24
- package/dist/query/rows.d.ts +6 -1
- package/dist/query/rows.d.ts.map +1 -1
- package/dist/query/rows.js +37 -8
- package/dist/query/sql.d.ts +10 -1
- package/dist/query/sql.d.ts.map +1 -1
- package/dist/query/sql.js +22 -3
- package/dist/query/walk.d.ts +73 -0
- package/dist/query/walk.d.ts.map +1 -0
- package/dist/query/walk.js +277 -0
- package/dist/references.d.ts +2 -2
- package/dist/references.d.ts.map +1 -1
- package/dist/references.js +1 -1
- package/dist/reserved.d.ts +1 -1
- package/dist/reserved.d.ts.map +1 -1
- package/dist/reserved.js +15 -6
- package/dist/room-types.d.ts +2 -1
- package/dist/room-types.d.ts.map +1 -1
- package/dist/room-types.js +19 -13
- package/dist/schema.d.ts +1 -1
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +6 -7
- package/dist/types.d.ts +11 -31
- package/dist/types.d.ts.map +1 -1
- package/dist/validate.d.ts +7 -3
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +108 -46
- package/dist/view.d.ts +5 -0
- package/dist/view.d.ts.map +1 -0
- package/dist/view.js +27 -0
- package/dist/yaml.d.ts +7 -5
- package/dist/yaml.d.ts.map +1 -1
- package/dist/yaml.js +154 -33
- package/fixtures/README.md +64 -57
- package/fixtures/cases/absent-link-dangles/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/absent-optional-field/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/absolute-link/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/attachment-reference-any-file/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/attachment-reference-dangles/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/attachment-reference-outside/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/binary-any-reference/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/binary-document-collision/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/binary-image-dangles/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/binary-link-dangles/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/binary-link-outside-collection/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/binary-prototype-reference/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/binary-typed-reference/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/block-scalar-frontmatter/expected.json +1 -0
- package/fixtures/cases/block-scalar-frontmatter/library/notes/literal.md +17 -0
- package/fixtures/cases/block-scalar-frontmatter/library/skills/notes/SKILL.md +10 -0
- package/fixtures/cases/boolean-field/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/{duplicate-link-definition/schema.yaml → bracketed-link-definition/schema.md} +2 -0
- package/fixtures/cases/closed-nested-object/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/composed-root-reference/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/conditional-long-text/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/cross-room-link/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/cross-room-reference/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/date-time-format/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/declared-binary-links/schema.md +3 -0
- package/fixtures/cases/default-unfilled/schema.md +57 -0
- package/fixtures/cases/defs-pattern/schema.md +57 -0
- package/fixtures/cases/dependent-rule/schema.md +57 -0
- package/fixtures/cases/{bracketed-link-definition/schema.yaml → duplicate-link-definition/schema.md} +2 -0
- package/fixtures/cases/email-format/schema.md +57 -0
- package/fixtures/cases/equal-labels/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/fenced-link-definition/schema.md +7 -0
- package/fixtures/cases/field-enum/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/folder-keeps-a-built-in-type/context.json +1 -0
- package/fixtures/cases/folder-keeps-a-built-in-type/expected.json +1 -0
- package/fixtures/cases/folder-keeps-a-built-in-type/library/tickets/door.md +3 -0
- package/fixtures/cases/folder-keeps-a-built-in-type/library/tickets/host.md +13 -0
- package/fixtures/cases/folder-keeps-a-built-in-type/library/tickets/map.md +24 -0
- package/fixtures/cases/folder-keeps-a-built-in-type/library/tickets/open.md +13 -0
- package/fixtures/cases/folder-keeps-a-built-in-type/schema.md +9 -0
- package/fixtures/cases/folder-keeps-a-record/context.json +1 -0
- package/fixtures/cases/folder-keeps-a-record/expected.json +1 -0
- package/fixtures/cases/folder-keeps-a-record/library/tickets/2026-11-16-d_1.r.md +13 -0
- package/fixtures/cases/folder-keeps-a-record/library/tickets/door.md +3 -0
- package/fixtures/cases/folder-keeps-a-record/schema.md +9 -0
- package/fixtures/cases/folder-names-no-type-of-the-schema/context.json +1 -0
- package/fixtures/cases/folder-names-no-type-of-the-schema/expected.json +5 -0
- package/fixtures/cases/folder-names-no-type-of-the-schema/schema.md +7 -0
- package/fixtures/cases/folder-nearer-entry-types-a-document/context.json +1 -0
- package/fixtures/cases/folder-nearer-entry-types-a-document/expected.json +6 -0
- package/fixtures/cases/folder-nearer-entry-types-a-document/library/tickets/archive/2025/old.md +1 -0
- package/fixtures/cases/folder-nearer-entry-types-a-document/schema.md +15 -0
- package/fixtures/cases/folder-refuses-a-declared-any/context.json +1 -0
- package/fixtures/cases/folder-refuses-a-declared-any/expected.json +6 -0
- package/fixtures/cases/folder-refuses-a-declared-any/library/tickets/door.md +5 -0
- package/fixtures/cases/folder-refuses-a-declared-any/schema.md +9 -0
- package/fixtures/cases/folder-refuses-another-declared-type/context.json +1 -0
- package/fixtures/cases/folder-refuses-another-declared-type/expected.json +6 -0
- package/fixtures/cases/folder-refuses-another-declared-type/library/tickets/door.md +5 -0
- package/fixtures/cases/folder-refuses-another-declared-type/schema.md +12 -0
- package/fixtures/cases/folder-type-is-the-type-a-reference-reaches/context.json +1 -0
- package/fixtures/cases/folder-type-is-the-type-a-reference-reaches/expected.json +1 -0
- package/fixtures/cases/folder-type-is-the-type-a-reference-reaches/library/notes/plan.md +7 -0
- package/fixtures/cases/folder-type-is-the-type-a-reference-reaches/library/tickets/door.md +3 -0
- package/fixtures/cases/folder-type-is-the-type-a-reference-reaches/library/tickets/gate.md +7 -0
- package/fixtures/cases/folder-type-is-the-type-a-reference-reaches/schema.md +13 -0
- package/fixtures/cases/folder-types-a-document-in-a-folder-below-it/context.json +1 -0
- package/fixtures/cases/folder-types-a-document-in-a-folder-below-it/expected.json +6 -0
- package/fixtures/cases/folder-types-a-document-in-a-folder-below-it/library/tickets/2026/gate.md +1 -0
- package/fixtures/cases/folder-types-a-document-in-a-folder-below-it/schema.md +9 -0
- package/fixtures/cases/folder-types-a-document-that-names-no-type/context.json +1 -0
- package/fixtures/cases/folder-types-a-document-that-names-no-type/expected.json +7 -0
- package/fixtures/cases/folder-types-a-document-that-names-no-type/library/tickets/door.md +3 -0
- package/fixtures/cases/folder-types-a-document-that-names-no-type/schema.md +9 -0
- package/fixtures/cases/folder-under-a-reserved-name/context.json +1 -0
- package/fixtures/cases/folder-under-a-reserved-name/expected.json +5 -0
- package/fixtures/cases/folder-under-a-reserved-name/schema.md +7 -0
- package/fixtures/cases/folder-without-a-trailing-slash/context.json +1 -0
- package/fixtures/cases/folder-without-a-trailing-slash/expected.json +5 -0
- package/fixtures/cases/folder-without-a-trailing-slash/schema.md +7 -0
- package/fixtures/cases/frontmatter-construct/context.json +1 -0
- package/fixtures/cases/frontmatter-construct/expected.json +7 -0
- package/fixtures/cases/frontmatter-construct/library/note.md +6 -0
- package/fixtures/cases/integer-field/schema.md +57 -0
- package/fixtures/cases/interrupted-link-definition/schema.md +3 -0
- package/fixtures/cases/json-schema-constructs/schema.md +57 -0
- package/fixtures/cases/labels-in-the-rooms-language/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/lazy-list-item/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/link-into-a-reserved-name/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/list-item-enum/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/list-item-kind/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/list-items/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/list-of-objects-closed/schema.md +57 -0
- package/fixtures/cases/list-of-objects-item/schema.md +57 -0
- package/fixtures/cases/list-of-objects-reference/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/list-reference-path/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/list-reference-type/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/list-size/schema.md +57 -0
- package/fixtures/cases/long-fence-link-definition/schema.md +3 -0
- package/fixtures/cases/long-value-past-six-levels/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/malformed-definition/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/malformed-list/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/member-document/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/member-on-another-type/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/missing-required-field/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/misspelled-key/schema.md +57 -0
- package/fixtures/cases/name-not-a-string/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/nested-defs/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/nested-object-reference/schema.md +34 -0
- package/fixtures/cases/nested-reference/schema.md +34 -0
- package/fixtures/cases/nested-required-field/schema.md +57 -0
- package/fixtures/cases/numeric-range/schema.md +57 -0
- package/fixtures/cases/one-key-two-labels/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/one-key-two-types/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/one-of-variant/schema.md +57 -0
- package/fixtures/cases/other-room-reference/schema.md +34 -0
- package/fixtures/cases/paragraph-link-definition/schema.md +3 -0
- package/fixtures/cases/prototype-field/schema.md +7 -0
- package/fixtures/cases/quoted-link-definition/schema.md +3 -0
- package/fixtures/cases/reference-into-a-reserved-name/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/reference-to-any-file-name/context.json +1 -0
- package/fixtures/cases/reference-to-any-file-name/expected.json +1 -0
- package/fixtures/cases/reference-to-any-file-name/library/people/100%.md +4 -0
- package/fixtures/cases/reference-to-any-file-name/library/people/C#.md +4 -0
- package/fixtures/cases/reference-to-any-file-name/library/people/My notes.md +4 -0
- package/fixtures/cases/reference-to-any-file-name/library/people/[draft].md +4 -0
- package/fixtures/cases/reference-to-any-file-name/library/people/c (d).md +4 -0
- package/fixtures/cases/reference-to-any-file-name/library/people/caf/303/251.md +4 -0
- package/fixtures/cases/reference-to-any-file-name/library/people//320/236/321/202/321/207/321/221/321/202.md +4 -0
- package/fixtures/cases/reference-to-any-file-name/library/tasks/bracket.md +9 -0
- package/fixtures/cases/reference-to-any-file-name/library/tasks/cyrillic.md +9 -0
- package/fixtures/cases/reference-to-any-file-name/library/tasks/decomposed.md +9 -0
- package/fixtures/cases/reference-to-any-file-name/library/tasks/hash.md +9 -0
- package/fixtures/cases/reference-to-any-file-name/library/tasks/parenthesis.md +9 -0
- package/fixtures/cases/reference-to-any-file-name/library/tasks/percent.md +9 -0
- package/fixtures/cases/reference-to-any-file-name/library/tasks/spaced.md +9 -0
- package/fixtures/cases/{referenced-missing-file/schema.yaml → reference-to-any-file-name/schema.md} +2 -0
- package/fixtures/cases/referenced-missing-file/schema.md +12 -0
- package/fixtures/cases/referenced-missing-non-latin-file/context.json +1 -0
- package/fixtures/cases/referenced-missing-non-latin-file/expected.json +6 -0
- package/fixtures/cases/referenced-missing-non-latin-file/library/tasks/a.md +9 -0
- package/fixtures/cases/referenced-missing-non-latin-file/library/tasks/b.md +9 -0
- package/fixtures/cases/referenced-missing-non-latin-file/schema.md +12 -0
- package/fixtures/cases/remote-ref/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/schema-body-ignored/context.json +1 -0
- package/fixtures/cases/schema-body-ignored/expected.json +1 -0
- package/fixtures/cases/schema-body-ignored/schema.md +9 -0
- package/fixtures/cases/schema-type-named-folders/context.json +1 -0
- package/fixtures/cases/schema-type-named-folders/expected.json +5 -0
- package/fixtures/cases/schema-type-named-folders/schema.md +5 -0
- package/fixtures/cases/schema-type-named-type/context.json +1 -0
- package/fixtures/cases/schema-type-named-type/expected.json +5 -0
- package/fixtures/cases/{unknown-type/schema.yaml → schema-type-named-type/schema.md} +3 -1
- package/fixtures/cases/second-member-document/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/sections-keyword-refused/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/shortcut-reference-link/schema.md +7 -0
- package/fixtures/cases/string-length/schema.md +57 -0
- package/fixtures/cases/submission-keys/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/text-field-kind/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/thematic-break-ends-the-values/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/truncated-link-definition/schema.md +3 -0
- package/fixtures/cases/typed-path-names-another-type/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/typed-path-names-its-type/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/typed-path-names-no-type/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/types-folder-content/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/undeclared-field/schema.md +7 -0
- package/fixtures/cases/unevaluated-items-closed/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/unique-in-app-schema/context.json +1 -0
- package/fixtures/cases/unique-in-app-schema/expected.json +5 -0
- package/fixtures/cases/unique-in-app-schema/schema.yaml +7 -0
- package/fixtures/cases/unique-indexed-field/context.json +1 -0
- package/fixtures/cases/unique-indexed-field/expected.json +1 -0
- package/fixtures/cases/unique-indexed-field/library/tickets/first.md +8 -0
- package/fixtures/cases/unique-indexed-field/library/tickets/second.md +8 -0
- package/fixtures/cases/unique-indexed-field/schema.md +9 -0
- package/fixtures/cases/unique-off-indexed-field/context.json +1 -0
- package/fixtures/cases/unique-off-indexed-field/expected.json +5 -0
- package/fixtures/cases/unique-off-indexed-field/schema.md +9 -0
- package/fixtures/cases/unlisted-reference-type/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/unnamed-typed-path-checks-its-fields/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/unnamed-typed-path-names-a-type/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/unnamed-typed-path-reads-its-type/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/unnamed-typed-path-without-a-body/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/unresolved-link/schema.md +7 -0
- package/fixtures/cases/valid-typed-document/{schema.yaml → schema.md} +2 -0
- package/fixtures/cases/wide-item-fence-link/schema.md +3 -0
- package/fixtures/forms.json +24 -0
- package/fixtures/preamble.json +4 -4
- package/fixtures/queries.json +1010 -2
- package/fixtures/references.json +15 -0
- package/package.json +2 -2
- package/dist/crockford.d.ts.map +0 -1
- package/dist/divide.d.ts +0 -3
- package/dist/divide.d.ts.map +0 -1
- package/dist/divide.js +0 -321
- package/dist/house-references.d.ts +0 -4
- package/dist/house-references.d.ts.map +0 -1
- package/dist/house-references.js +0 -7
- package/dist/project.d.ts +0 -22
- package/dist/project.d.ts.map +0 -1
- package/dist/project.js +0 -101
- package/fixtures/cases/declared-binary-links/schema.yaml +0 -1
- package/fixtures/cases/default-unfilled/schema.yaml +0 -55
- package/fixtures/cases/defs-pattern/schema.yaml +0 -55
- package/fixtures/cases/dependent-rule/schema.yaml +0 -55
- package/fixtures/cases/email-format/schema.yaml +0 -55
- package/fixtures/cases/fenced-link-definition/schema.yaml +0 -5
- package/fixtures/cases/frontmatter-schema/expected.json +0 -5
- package/fixtures/cases/integer-field/schema.yaml +0 -55
- package/fixtures/cases/interrupted-link-definition/schema.yaml +0 -1
- package/fixtures/cases/json-schema-constructs/schema.yaml +0 -55
- package/fixtures/cases/list-of-objects-closed/schema.yaml +0 -55
- package/fixtures/cases/list-of-objects-item/schema.yaml +0 -55
- package/fixtures/cases/list-size/schema.yaml +0 -55
- package/fixtures/cases/long-fence-link-definition/schema.yaml +0 -1
- package/fixtures/cases/misspelled-key/schema.yaml +0 -55
- package/fixtures/cases/nested-object-reference/schema.yaml +0 -32
- package/fixtures/cases/nested-reference/schema.yaml +0 -32
- package/fixtures/cases/nested-required-field/schema.yaml +0 -55
- package/fixtures/cases/numeric-range/schema.yaml +0 -55
- package/fixtures/cases/one-of-variant/schema.yaml +0 -55
- package/fixtures/cases/other-room-reference/schema.yaml +0 -32
- package/fixtures/cases/paragraph-link-definition/schema.yaml +0 -1
- package/fixtures/cases/prototype-field/schema.yaml +0 -5
- package/fixtures/cases/quoted-link-definition/schema.yaml +0 -1
- package/fixtures/cases/shortcut-reference-link/schema.yaml +0 -5
- package/fixtures/cases/string-length/schema.yaml +0 -55
- package/fixtures/cases/truncated-link-definition/schema.yaml +0 -1
- package/fixtures/cases/undeclared-field/schema.yaml +0 -5
- package/fixtures/cases/unresolved-link/schema.yaml +0 -5
- package/fixtures/cases/wide-item-fence-link/schema.yaml +0 -1
- package/fixtures/division.json +0 -454
- package/fixtures/projection.json +0 -358
- /package/dist/{crockford.d.ts → house-references/crockford.d.ts} +0 -0
- /package/dist/{crockford.js → house-references/crockford.js} +0 -0
- /package/fixtures/cases/{frontmatter-schema → block-scalar-frontmatter}/context.json +0 -0
- /package/fixtures/cases/{frontmatter-schema/schema.yaml → unknown-type/schema.md} +0 -0
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
$defs:
|
|
2
|
-
address:
|
|
3
|
-
type: object
|
|
4
|
-
properties:
|
|
5
|
-
city: { type: string }
|
|
6
|
-
country: { type: string, pattern: '^[A-Z]{2}$' }
|
|
7
|
-
required: [ city ]
|
|
8
|
-
company:
|
|
9
|
-
properties:
|
|
10
|
-
name: { type: string }
|
|
11
|
-
deal:
|
|
12
|
-
type: object
|
|
13
|
-
properties:
|
|
14
|
-
title: { type: string, minLength: 1, maxLength: 40 }
|
|
15
|
-
company: { type: string, reference: company }
|
|
16
|
-
stage: { enum: [ lead, proposal, won, lost ], default: lead }
|
|
17
|
-
amount: { type: integer, minimum: 0 }
|
|
18
|
-
probability: { type: number, minimum: 0, maximum: 1 }
|
|
19
|
-
open: { type: boolean }
|
|
20
|
-
closes_at: { type: string, format: date-time }
|
|
21
|
-
contact_email: { type: string, format: email }
|
|
22
|
-
note: { type: [ string, 'null' ] }
|
|
23
|
-
shipping: { $ref: '#/$defs/address' }
|
|
24
|
-
tags: { type: array, items: { type: string }, maxItems: 3 }
|
|
25
|
-
lines:
|
|
26
|
-
type: array
|
|
27
|
-
items:
|
|
28
|
-
type: object
|
|
29
|
-
properties:
|
|
30
|
-
product: { type: string }
|
|
31
|
-
quantity: { type: integer, minimum: 1 }
|
|
32
|
-
required: [ product, quantity ]
|
|
33
|
-
blocks:
|
|
34
|
-
type: array
|
|
35
|
-
items:
|
|
36
|
-
oneOf:
|
|
37
|
-
- properties:
|
|
38
|
-
kind: { const: paragraph }
|
|
39
|
-
text: { type: string }
|
|
40
|
-
required: [ kind, text ]
|
|
41
|
-
- properties:
|
|
42
|
-
kind: { const: quiz }
|
|
43
|
-
question: { type: string }
|
|
44
|
-
required: [ kind, question ]
|
|
45
|
-
attributes:
|
|
46
|
-
type: object
|
|
47
|
-
additionalProperties: { type: string }
|
|
48
|
-
description: { type: string, contentMediaType: text/markdown, title: Description }
|
|
49
|
-
required: [ title, company, stage ]
|
|
50
|
-
if:
|
|
51
|
-
properties:
|
|
52
|
-
stage: { const: won }
|
|
53
|
-
required: [ stage ]
|
|
54
|
-
then:
|
|
55
|
-
required: [ amount ]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
note: {}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
note: {}
|
package/fixtures/division.json
DELETED
|
@@ -1,454 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema": "task:\n type: object\n properties:\n name: { type: string }\n status: { enum: [open, done] }\n description: { type: string, contentMediaType: text/markdown, title: Description }\n acceptance: { type: array, items: { type: string, reference: person }, title: Acceptance }\n required: [status]\nperson: {}\n",
|
|
3
|
-
"cases": [
|
|
4
|
-
{
|
|
5
|
-
"name": "a Document whose whole input fits the bound is one Span carrying its projection",
|
|
6
|
-
"file": "tasks/one.md",
|
|
7
|
-
"source": "---\ntype: task\n---\n# Ship the release\n\n- **status**: open\n- **Acceptance**:\n - [Ana](people/ana.md)\n\nPreamble prose.\n\n## Description\n\nBody of the description.\n",
|
|
8
|
-
"documentTargets": [],
|
|
9
|
-
"definition": "task",
|
|
10
|
-
"bound": 4096,
|
|
11
|
-
"expected": {
|
|
12
|
-
"ok": true,
|
|
13
|
-
"spans": [
|
|
14
|
-
{
|
|
15
|
-
"text": "Ship the release\n\nPreamble prose.\n\nBody of the description.\n",
|
|
16
|
-
"source": "Ship the release\n\n- **status**: open\n- **Acceptance**:\n - [Ana](people/ana.md)\n\nPreamble prose.\n\n## Description\n\nBody of the description.\n"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "an input over the bound packs adjacent values, ranges and heading nodes into whole units",
|
|
23
|
-
"file": "tasks/one.md",
|
|
24
|
-
"source": "---\ntype: task\n---\n# Ship the release\n\n- **status**: open\n- **Acceptance**:\n - [Ana](people/ana.md)\n\nPreamble prose.\n\n## Description\n\nBody of the description.\n\n## Notes\n\nNotes prose.\n",
|
|
25
|
-
"documentTargets": [],
|
|
26
|
-
"definition": "task",
|
|
27
|
-
"bound": 45,
|
|
28
|
-
"expected": {
|
|
29
|
-
"ok": true,
|
|
30
|
-
"spans": [
|
|
31
|
-
{
|
|
32
|
-
"text": "Ship the release\n\nPreamble prose.\n\n",
|
|
33
|
-
"source": "Ship the release\n\n- **status**: open\n- **Acceptance**:\n - [Ana](people/ana.md)\n\nPreamble prose.\n\n"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"text": "Body of the description.\n\n",
|
|
37
|
-
"source": "Body of the description.\n\n"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"text": "## Notes\n\nNotes prose.\n",
|
|
41
|
-
"source": "## Notes\n\nNotes prose.\n"
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "a heading node over the bound divides into adjacent blocks carrying its own heading",
|
|
48
|
-
"file": "tasks/one.md",
|
|
49
|
-
"source": "---\ntype: task\n---\n# Task\n\n- **status**: open\n\n## Overview\n\nFirst paragraph of the overview.\n\nSecond paragraph of the overview.\n\n## Notes\n\nShort note.\n",
|
|
50
|
-
"documentTargets": [],
|
|
51
|
-
"definition": "task",
|
|
52
|
-
"bound": 50,
|
|
53
|
-
"expected": {
|
|
54
|
-
"ok": true,
|
|
55
|
-
"spans": [
|
|
56
|
-
{
|
|
57
|
-
"text": "Task\n\n",
|
|
58
|
-
"source": "Task"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"text": "## Overview\n\nFirst paragraph of the overview.\n\n",
|
|
62
|
-
"source": "## Overview\n\nFirst paragraph of the overview.\n\n"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"text": "## Overview\n\nSecond paragraph of the overview.\n\n",
|
|
66
|
-
"source": "Second paragraph of the overview.\n\n"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"text": "## Notes\n\nShort note.\n",
|
|
70
|
-
"source": "## Notes\n\nShort note.\n"
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "a node continuation and the next whole sibling stay in their own Spans",
|
|
77
|
-
"file": "tasks/one.md",
|
|
78
|
-
"source": "---\ntype: task\n---\n# Task\n\n- **status**: open\n\n## Overview\n\nFirst paragraph of the overview.\n\nSecond paragraph of the overview.\n\n## Notes\n\nShort note.\n",
|
|
79
|
-
"documentTargets": [],
|
|
80
|
-
"definition": "task",
|
|
81
|
-
"bound": 75,
|
|
82
|
-
"expected": {
|
|
83
|
-
"ok": true,
|
|
84
|
-
"spans": [
|
|
85
|
-
{
|
|
86
|
-
"text": "Task\n\n",
|
|
87
|
-
"source": "Task"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"text": "## Overview\n\nFirst paragraph of the overview.\n\n",
|
|
91
|
-
"source": "## Overview\n\nFirst paragraph of the overview.\n\n"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"text": "## Overview\n\nSecond paragraph of the overview.\n\n",
|
|
95
|
-
"source": "Second paragraph of the overview.\n\n"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"text": "## Notes\n\nShort note.\n",
|
|
99
|
-
"source": "## Notes\n\nShort note.\n"
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "a continuation Span carries its own node heading and never an ancestor heading",
|
|
106
|
-
"file": "tasks/one.md",
|
|
107
|
-
"source": "---\ntype: task\n---\n# Task\n\n- **status**: open\n\n## Overview\n\nIntro line.\n\n### Detail\n\nDetail paragraph one.\n\nDetail paragraph two.\n",
|
|
108
|
-
"documentTargets": [],
|
|
109
|
-
"definition": "task",
|
|
110
|
-
"bound": 40,
|
|
111
|
-
"expected": {
|
|
112
|
-
"ok": true,
|
|
113
|
-
"spans": [
|
|
114
|
-
{
|
|
115
|
-
"text": "Task\n\n",
|
|
116
|
-
"source": "Task"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"text": "## Overview\n\nIntro line.\n\n",
|
|
120
|
-
"source": "## Overview\n\nIntro line.\n\n"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"text": "### Detail\n\nDetail paragraph one.\n\n",
|
|
124
|
-
"source": "### Detail\n\nDetail paragraph one.\n\n"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"text": "### Detail\n\nDetail paragraph two.\n",
|
|
128
|
-
"source": "Detail paragraph two.\n"
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "a block over the bound divides into sentences that repeat their predecessor",
|
|
135
|
-
"file": "tasks/one.md",
|
|
136
|
-
"source": "---\ntype: task\n---\n# Task\n\n- **status**: open\n\n## Overview\n\nOne. Two. Three. Four.\n",
|
|
137
|
-
"documentTargets": [],
|
|
138
|
-
"definition": "task",
|
|
139
|
-
"bound": 30,
|
|
140
|
-
"expected": {
|
|
141
|
-
"ok": true,
|
|
142
|
-
"spans": [
|
|
143
|
-
{
|
|
144
|
-
"text": "Task\n\n",
|
|
145
|
-
"source": "Task"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"text": "## Overview\n\nOne. Two. Three. ",
|
|
149
|
-
"source": "## Overview\n\nOne. Two. Three. "
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"text": "## Overview\n\nThree. Four.\n",
|
|
153
|
-
"source": "Three. Four.\n"
|
|
154
|
-
}
|
|
155
|
-
]
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"name": "a single sentence over the bound divides at a bound cut inside it",
|
|
160
|
-
"file": "tasks/one.md",
|
|
161
|
-
"source": "---\ntype: task\n---\n# Task\n\n- **status**: open\n\n## Overview\n\naaaa bbbb cccc dddd eeee\n",
|
|
162
|
-
"documentTargets": [],
|
|
163
|
-
"definition": "task",
|
|
164
|
-
"bound": 20,
|
|
165
|
-
"expected": {
|
|
166
|
-
"ok": true,
|
|
167
|
-
"spans": [
|
|
168
|
-
{
|
|
169
|
-
"text": "Task\n\n",
|
|
170
|
-
"source": "Task"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"text": "## Overview\n\naaaa",
|
|
174
|
-
"source": "## Overview\n\naaaa"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"text": "## Overview\n\n bbbb",
|
|
178
|
-
"source": " bbbb"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"text": "## Overview\n\n cccc",
|
|
182
|
-
"source": " cccc"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"text": "## Overview\n\n dddd",
|
|
186
|
-
"source": " dddd"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"text": "## Overview\n\n eeee\n",
|
|
190
|
-
"source": " eeee\n"
|
|
191
|
-
}
|
|
192
|
-
]
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"name": "an untyped input with no definition descends the same ladder",
|
|
197
|
-
"file": "notes/one.md",
|
|
198
|
-
"source": "# Title\n\nIntro paragraph about the whole thing.\n\n## Alpha\n\nAlpha one. Alpha two.\n\n### Deep\n\nDeep prose here.\n\n## Beta\n\nBeta prose.\n",
|
|
199
|
-
"documentTargets": [],
|
|
200
|
-
"definition": null,
|
|
201
|
-
"bound": 60,
|
|
202
|
-
"expected": {
|
|
203
|
-
"ok": true,
|
|
204
|
-
"spans": [
|
|
205
|
-
{
|
|
206
|
-
"text": "# Title\n\nIntro paragraph about the whole thing.\n\n",
|
|
207
|
-
"source": "# Title\n\nIntro paragraph about the whole thing.\n\n"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"text": "## Alpha\n\nAlpha one. Alpha two.\n\n",
|
|
211
|
-
"source": "## Alpha\n\nAlpha one. Alpha two.\n\n"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"text": "### Deep\n\nDeep prose here.\n\n",
|
|
215
|
-
"source": "### Deep\n\nDeep prose here.\n\n"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"text": "## Beta\n\nBeta prose.\n",
|
|
219
|
-
"source": "## Beta\n\nBeta prose.\n"
|
|
220
|
-
}
|
|
221
|
-
]
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"name": "a Document that declares the built-in any type divides its body after the fence",
|
|
226
|
-
"file": "notes/two.md",
|
|
227
|
-
"source": "---\ntype: any\ntitle: Note\n---\n\n## Notes\n\nRead it.\n",
|
|
228
|
-
"documentTargets": [],
|
|
229
|
-
"definition": null,
|
|
230
|
-
"bound": 4096,
|
|
231
|
-
"expected": {
|
|
232
|
-
"ok": true,
|
|
233
|
-
"spans": [
|
|
234
|
-
{
|
|
235
|
-
"text": "\n## Notes\n\nRead it.\n",
|
|
236
|
-
"source": "\n## Notes\n\nRead it.\n"
|
|
237
|
-
}
|
|
238
|
-
]
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "an internal link embeds its label and addresses the destination the author wrote",
|
|
243
|
-
"file": "tasks/one.md",
|
|
244
|
-
"source": "---\ntype: task\n---\n# Task\n\n- **status**: open\n\n## Overview\n\nRead [the plan](../plans/q3.md) before starting.\n\n## Notes\n\nShort note.\n",
|
|
245
|
-
"documentTargets": [
|
|
246
|
-
"plans/q3.md"
|
|
247
|
-
],
|
|
248
|
-
"definition": "task",
|
|
249
|
-
"bound": 50,
|
|
250
|
-
"expected": {
|
|
251
|
-
"ok": true,
|
|
252
|
-
"spans": [
|
|
253
|
-
{
|
|
254
|
-
"text": "Task\n\n",
|
|
255
|
-
"source": "Task"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"text": "## Overview\n\nRead the plan before starting.\n\n",
|
|
259
|
-
"source": "## Overview\n\nRead [the plan](../plans/q3.md) before starting.\n\n"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"text": "## Notes\n\nShort note.\n",
|
|
263
|
-
"source": "## Notes\n\nShort note.\n"
|
|
264
|
-
}
|
|
265
|
-
]
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"name": "a value list that holds no prose stays outside the text and inside the extent",
|
|
270
|
-
"file": "tasks/one.md",
|
|
271
|
-
"source": "---\ntype: task\n---\n# Task\n\n- **status**: open\n- **Acceptance**:\n - [Ana](people/ana.md)\n\nPreamble prose.\n\n## Notes\n\nShort note.\n",
|
|
272
|
-
"documentTargets": [],
|
|
273
|
-
"definition": "task",
|
|
274
|
-
"bound": 4096,
|
|
275
|
-
"expected": {
|
|
276
|
-
"ok": true,
|
|
277
|
-
"spans": [
|
|
278
|
-
{
|
|
279
|
-
"text": "Task\n\nPreamble prose.\n\n## Notes\n\nShort note.\n",
|
|
280
|
-
"source": "Task\n\n- **status**: open\n- **Acceptance**:\n - [Ana](people/ana.md)\n\nPreamble prose.\n\n## Notes\n\nShort note.\n"
|
|
281
|
-
}
|
|
282
|
-
]
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"name": "a Document that declares a type the caller supplies no definition for is refused",
|
|
287
|
-
"file": "tasks/one.md",
|
|
288
|
-
"source": "---\ntype: task\n---\n# Ship the release\n\n- **status**: open\n- **Acceptance**:\n - [Ana](people/ana.md)\n\nPreamble prose.\n\n## Description\n\nBody of the description.\n",
|
|
289
|
-
"documentTargets": [],
|
|
290
|
-
"definition": null,
|
|
291
|
-
"bound": 4096,
|
|
292
|
-
"expected": {
|
|
293
|
-
"ok": false,
|
|
294
|
-
"refusal": {
|
|
295
|
-
"file": "tasks/one.md",
|
|
296
|
-
"rule": "unknown-type"
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"name": "a bound that cannot hold one whole character is refused before any division",
|
|
302
|
-
"file": "notes/one.md",
|
|
303
|
-
"source": "## Notes\n\nShort note.\n",
|
|
304
|
-
"documentTargets": [],
|
|
305
|
-
"definition": null,
|
|
306
|
-
"bound": 1,
|
|
307
|
-
"expected": {
|
|
308
|
-
"ok": false,
|
|
309
|
-
"refusal": {
|
|
310
|
-
"file": "notes/one.md",
|
|
311
|
-
"rule": "division-bound"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"name": "a free-text value written with an escape embeds bare and addresses the escape it was written with",
|
|
317
|
-
"file": "tasks/one.md",
|
|
318
|
-
"source": "---\ntype: task\n---\n# Ship: the release \\#\n\n- **status**: open\n\nBody prose.\n",
|
|
319
|
-
"documentTargets": [],
|
|
320
|
-
"definition": "task",
|
|
321
|
-
"bound": 4096,
|
|
322
|
-
"expected": {
|
|
323
|
-
"ok": true,
|
|
324
|
-
"spans": [
|
|
325
|
-
{
|
|
326
|
-
"text": "Ship: the release #\n\nBody prose.\n",
|
|
327
|
-
"source": "Ship: the release \\#\n\n- **status**: open\n\nBody prose.\n"
|
|
328
|
-
}
|
|
329
|
-
]
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"name": "sentence division reads every terminator and closer and drops a carry the bound cannot hold",
|
|
334
|
-
"file": "notes/three.md",
|
|
335
|
-
"source": "## Ask\n\nReady? Go! He said \"no.\" Then (silence.) Done.\n",
|
|
336
|
-
"documentTargets": [],
|
|
337
|
-
"definition": null,
|
|
338
|
-
"bound": 30,
|
|
339
|
-
"expected": {
|
|
340
|
-
"ok": true,
|
|
341
|
-
"spans": [
|
|
342
|
-
{
|
|
343
|
-
"text": "## Ask\n\nReady? Go! ",
|
|
344
|
-
"source": "## Ask\n\nReady? Go! "
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"text": "## Ask\n\nGo! He said \"no.\" ",
|
|
348
|
-
"source": "Go! He said \"no.\" "
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"text": "## Ask\n\nThen (silence.) Done.\n",
|
|
352
|
-
"source": "Then (silence.) Done.\n"
|
|
353
|
-
}
|
|
354
|
-
]
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"name": "a heading with no body of its own leads the first child node instead of standing alone",
|
|
359
|
-
"file": "notes/four.md",
|
|
360
|
-
"source": "## Part\n\n### Alpha\n\nAlpha prose that is long enough to matter.\n\n### Beta\n\nBeta prose.\n",
|
|
361
|
-
"documentTargets": [],
|
|
362
|
-
"definition": null,
|
|
363
|
-
"bound": 70,
|
|
364
|
-
"expected": {
|
|
365
|
-
"ok": true,
|
|
366
|
-
"spans": [
|
|
367
|
-
{
|
|
368
|
-
"text": "## Part\n\n### Alpha\n\nAlpha prose that is long enough to matter.\n\n",
|
|
369
|
-
"source": "## Part\n\n### Alpha\n\nAlpha prose that is long enough to matter.\n\n"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"text": "### Beta\n\nBeta prose.\n",
|
|
373
|
-
"source": "### Beta\n\nBeta prose.\n"
|
|
374
|
-
}
|
|
375
|
-
]
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"name": "a heading the bound cannot hold beside any text is not repeated",
|
|
380
|
-
"file": "notes/five.md",
|
|
381
|
-
"source": "## An overview of the release\n\nFirst paragraph here.\n\nSecond paragraph here.\n",
|
|
382
|
-
"documentTargets": [],
|
|
383
|
-
"definition": null,
|
|
384
|
-
"bound": 25,
|
|
385
|
-
"expected": {
|
|
386
|
-
"ok": true,
|
|
387
|
-
"spans": [
|
|
388
|
-
{
|
|
389
|
-
"text": "## An overview of the",
|
|
390
|
-
"source": "## An overview of the"
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"text": " release\n\nFirst paragraph",
|
|
394
|
-
"source": " release\n\nFirst paragraph"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"text": " here.\n\n",
|
|
398
|
-
"source": " here.\n\n"
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
"text": "Second paragraph here.\n",
|
|
402
|
-
"source": "Second paragraph here.\n"
|
|
403
|
-
}
|
|
404
|
-
]
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"name": "a loose list is one block of its heading node",
|
|
409
|
-
"file": "notes/list.md",
|
|
410
|
-
"source": "## L\n\nIntro.\n\n- one\n\n- two\n\nAfter.\n",
|
|
411
|
-
"documentTargets": [],
|
|
412
|
-
"definition": null,
|
|
413
|
-
"bound": 22,
|
|
414
|
-
"expected": {
|
|
415
|
-
"ok": true,
|
|
416
|
-
"spans": [
|
|
417
|
-
{
|
|
418
|
-
"text": "## L\n\nIntro.\n\n",
|
|
419
|
-
"source": "## L\n\nIntro.\n\n"
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"text": "## L\n\n- one\n\n- two\n\n",
|
|
423
|
-
"source": "- one\n\n- two\n\n"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"text": "## L\n\nAfter.\n",
|
|
427
|
-
"source": "After.\n"
|
|
428
|
-
}
|
|
429
|
-
]
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"name": "a list right after a paragraph is a block of its own",
|
|
434
|
-
"file": "notes/list.md",
|
|
435
|
-
"source": "## L\n\nIntro.\n- one\n- two\n",
|
|
436
|
-
"documentTargets": [],
|
|
437
|
-
"definition": null,
|
|
438
|
-
"bound": 20,
|
|
439
|
-
"expected": {
|
|
440
|
-
"ok": true,
|
|
441
|
-
"spans": [
|
|
442
|
-
{
|
|
443
|
-
"text": "## L\n\nIntro.\n",
|
|
444
|
-
"source": "## L\n\nIntro.\n"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"text": "## L\n\n- one\n- two\n",
|
|
448
|
-
"source": "- one\n- two\n"
|
|
449
|
-
}
|
|
450
|
-
]
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
]
|
|
454
|
-
}
|