1.0.15 • Published 7 years ago
@wize/runtime-metadata v1.0.15
@wize/runtime-metadata
Description
Provides information about the Models and APIs registered in the app.
Usage
Installation
npm install --save @wize/runtime-metadata
Initialize
import wizeApis from '@wize/runtime-metadata';
.
.
.
/*
app: koa-app returned from 'const app = createServer({});'
dirname: current app directory containing pages folder
*/
new wizeApis(app, dirname);
APIs
- GET /api/app_resources - Lists all resources defined in current app
- GET /api/metadata/pages - Lists all UI pages and back-end modules
- GET /api/metadata/pages/:name - Fetch page detail
License
MIT License
1.0.15
7 years ago
1.0.14
7 years ago
1.0.13
7 years ago
1.0.12
7 years ago
1.0.11
7 years ago
1.0.10
8 years ago
1.0.9
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago