Skip to content

Commit

Permalink
Missed exports added to metaschema.js
Browse files Browse the repository at this point in the history
PR-URL: #415
  • Loading branch information
georgolden authored and tshemsedinov committed Jun 24, 2022
1 parent ee64cca commit fb91dc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions lib/kinds.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,5 @@ const getKindMetadata = (kind, meta = {}, root) => {

module.exports = {
getKindMetadata,
KIND,
KIND_STORED,
KIND_MEMORY,
SCOPE,
STORE,
ALLOW,
constants: { KIND, KIND_STORED, KIND_MEMORY, SCOPE, STORE, ALLOW },
};
3 changes: 2 additions & 1 deletion metaschema.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
const schema = require('./lib/schema.js');
const model = require('./lib/model.js');
const loader = require('./lib/loader.js');
const { constants } = require('./lib/kinds.js');

module.exports = { ...schema, ...model, ...loader };
module.exports = { ...schema, ...model, ...loader, ...constants };

0 comments on commit fb91dc8

Please sign in to comment.