reworked html serving, added new permissions for api/auth, updated adapters

This commit is contained in:
dswbx
2024-11-23 11:21:09 +01:00
parent 6077f0e64f
commit 2433833ad0
30 changed files with 418 additions and 298 deletions

View File

@@ -7,6 +7,7 @@ export const schema: CliCommand = (program) => {
.description("get schema")
.option("--pretty", "pretty print")
.action((options) => {
console.log(getDefaultSchema(options.pretty));
const schema = getDefaultSchema();
console.log(options.pretty ? JSON.stringify(schema, null, 2) : JSON.stringify(schema));
});
};