mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 04:46:05 +00:00
reworked html serving, added new permissions for api/auth, updated adapters
This commit is contained in:
@@ -8,6 +8,7 @@ export type AppType = ReturnType<App["toJSON"]>;
|
||||
|
||||
/**
|
||||
* Reduced version of the App class for frontend use
|
||||
* @todo: remove this class
|
||||
*/
|
||||
export class AppReduced {
|
||||
// @todo: change to record
|
||||
@@ -16,7 +17,7 @@ export class AppReduced {
|
||||
private _flows: Flow[] = [];
|
||||
|
||||
constructor(protected appJson: AppType) {
|
||||
console.log("received appjson", appJson);
|
||||
//console.log("received appjson", appJson);
|
||||
|
||||
this._entities = Object.entries(this.appJson.data.entities ?? {}).map(([name, entity]) => {
|
||||
return AppData.constructEntity(name, entity);
|
||||
|
||||
Reference in New Issue
Block a user