1.0.15 • Published 6 years ago

@wize/runtime-metadata v1.0.15

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

@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

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago