seamapi / blueprint

Build tools for the Seam API using this blueprint.
https://blueprint.seam.vc
MIT License
0 stars 0 forks source link

Create blueprint.ts #2

Closed razor-x closed 1 week ago

razor-x commented 1 week ago

import * as types from '@seamapi/types'
import { createBlueprint } from '@seamapi/blueprint'

const blueprint = createBlueprint(types)

await generateDocs({
  blueprint,
  templatePath: './templates',
  outputPath: './docs',
})

await generateSdk({
  blueprint,
  templatePath: './templates',
  outputPath: './seam/routes',
})