interface Presentable {
description?: string,
formattedName?: string,
order?: number,
}
interface Metadata extends Presentable {
mostRecentPublish: string,
musicalIdeaIllustrated: string,
originalPublish: string,
version: string,
}
mostRecentPublishandversionare managed by the@musical-patterns/cliservice when shipping the code.originalPublishis set by themainrepo when running thenew.shpattern script.musicalIdeaIllustratedis a special subtitle for the pattern when displayed in the pattern list of the@musical-patterns/playroom.descriptionis here used to store the HTML string for the post about the pattern which can be super long and contain images and links and all that jazz.formattedNameallows you to specify exactly what you want to show up as the title of your pattern in the@musical-patterns/playroom. Otherwise, it will title case your pattern's Id.orderallows you to override the default sorting of your pattern in the@musical-patterns/playroom's pattern list. Any pattern with a provided order will come first, then the patterns are sorted byoriginalPublish.