Skip to content

Commit

Permalink
dev: added function for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Dec 1, 2024
1 parent 03a0b0d commit 826b584
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions constants/SamplerData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -716,3 +716,12 @@ type SamplerValueMap = {
export type SamplerPreset = {
-readonly [ID in keyof SamplerValueMap]: SamplerValueMap[ID]
}

export const createMarkdownRows = () => {
const items: any = []
Object.entries(Samplers).map(([k, v]) => {
items.push('|' + v.friendlyName + '|' + v.internalID + '|' + v.macro + '|')
})
const out = items.join('\n')
console.log(out)
}

0 comments on commit 826b584

Please sign in to comment.