tom_specs_core 0.4.0
tom_specs_core: ^0.4.0 copied to clipboard
Core annotations and shared types for TomSpecs document model families.
Changelog #
0.4.0 #
Field.multiple: a reference field that holds several ids, written comma-separated. Without it a reference field holds one id, and the instance tier reports a list there asmultipleReferences.
0.3.1 #
- Documentation only:
CodeSpecPart.backgroundJobnames the interval trigger beside cron, calendar and event.
0.3.0 #
Field.productOf: a value stated as the product of other fields (numbers, or an enum's 1-based position), checked by the instance tier (derivedValueMismatch).Field.rankOf: a value stated as a rank by another field of the same form, highest first, checked over every instance of the form.Field.countOftargets may start with./to count only the entries beneath the section holding the form.
0.2.3 #
Field.code: a form field whose value is code, not prose — a regular expression, a CHECK expression, a formula. The markdown rendition writes it as an inline code span and the import unwraps it, so](in a regex stays literal instead of becoming a link.
0.2.2 #
Field.countOf: a form field stating a count of entries the document holds names them (<SECTIONID>or<SECTIONID>.<formField>=<value>, summed), so the instance tier can hold the stated number to the lists (countMismatch).
0.2.1 #
- Documentation only. The README and
doc/pages link to the CodeSpecs mapping and derivation contract at their new home intom_core_codespecs, so the links resolve for a reader of the published package.
0.2.0 #
The annotation catalogue grew with the model it annotates: 43 files, +2400 lines since 0.1.0.
- New annotations.
@CodeSpecKind/CodeSpecPart(the type-level DocSpecs↔CodeSpecs routing),@FollowUpKind/FollowUpProcess,@NoArtifact/NoArtifactReason— the three routing verdicts that make theROUTE-TOTALstructural invariant checkable — plus@CodeSpecsProjection,@AccessKey,@AllowedTags,@Case/@CaseOf,@ValidationPromptand therefersTotarget onField, which turns a free-text id contract from hint prose into something both validation tiers can enforce. DocSpecsSectiongainscodeSpec, the concrete forward link from a section to the CodeSpecs code it was realised as.- The package is documented:
doc/annotations.md,doc/sections.mdanddoc/index.md, with the README as the annotation catalogue itself. - No behaviour to break — these are annotations — but the catalogue is larger, so a consumer pinned to 0.1.0 sees none of it.
0.1.0 #
Initial development release (pub.dev 0.x channel, BSD-3-Clause).
-
csra8:
CodeSpecPart.reporting(CE-RP) is active, not deferred. Its doc comment now carries the live mapping — the grouped projection built onTomReportDefinition/TomReportResult(tom_core_codespecs) over thetom_core_serverquery and rendering substrate, marked by@CsReport,@CsReportColumn,@CsReportChartand@CsReportParameter— and records why CE-RP is not a composition ofserverApi+dataAccess+form. The enum is unchanged at 28 values; only the readiness split moves, to 26 active / 1 deferred (workflow, deferred permanently). -
csm2r8: reserve the 9 deferred CodeSpecs element candidates (
codespecs_mapping.md§4.3) in theCodeSpecPartenum —identity,schemaMigration,workflow,notification,backgroundJob,auditLog,featureFlag,fileStorage,reporting. Mapping-only: a SOM section may carry@CodeSpecKindwith these now, but each has noCs*annotation, built-ontom_coreclass or generated code until promoted intocodespecs_mapping.md§4.1. Enum now holds 29 values (20 active + 9 deferred).