mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-21 15:51:49 +03:00
15 lines
317 B
JavaScript
15 lines
317 B
JavaScript
import { LogHelper } from '@/helpers/log-helper'
|
|
|
|
import generateJsonSchemas from './generate-json-schemas'
|
|
|
|
/**
|
|
* Execute the generating JSON schemas script
|
|
*/
|
|
;(async () => {
|
|
try {
|
|
await generateJsonSchemas()
|
|
} catch (error) {
|
|
LogHelper.error(`Failed to generate the json schemas: ${error}`)
|
|
}
|
|
})()
|