Skip to content

Shared Verb definition

A shared Verb definition declares a Verb that acts on more than one Noun, such as close, once for all of them.

PropertyValue
Pathverbs/[verb].mdx
HoldsVerb
Kindfile
Leadersdb-first, git-first
TeamEngineering Team
Written byChange.merge
Compiled bySoftwareBuilder

Example

verbs/close.mdx in a Startup repository. Closewise, a sample business, declares a Close Noun.

verbs/close.mdx
---
nouns: [Close, Period]
inverse: reopen
input:
  reviewer: Role
---
Closing locks a month: no entry posts to it until it is reopened, with a reason.

Props

The frontmatter keys the file takes. The body is its prose.

PropTypeRequiredDescription
nounslist of NounrequiredThe Nouns that take the Verb.
inversestringThe Verb that undoes it.
inputjsonThe input every Noun’s form shares, keyed by name with its type.
formsjsonIrregular forms only, such as doneBy.

Generates

SoftwareBuilder compiles it into these records, Verbs and routes.

KindWhat
RecordsVerb, Event
VerbsNone.
RoutesNone.