main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
497 bytes
|
Line | |
---|
1 | import stampit from 'stampit';
|
---|
2 | import { always } from 'ramda';
|
---|
3 | import FixedFieldsVisitor from "../generics/FixedFieldsVisitor.mjs";
|
---|
4 | import FallbackVisitor from "../FallbackVisitor.mjs";
|
---|
5 | import JSONSchemaElement from "../../../elements/JSONSchema.mjs";
|
---|
6 | const JSONSchemaVisitor = stampit(FixedFieldsVisitor, FallbackVisitor, {
|
---|
7 | props: {
|
---|
8 | specPath: always(['document', 'objects', 'JSONSchema'])
|
---|
9 | },
|
---|
10 | init() {
|
---|
11 | this.element = new JSONSchemaElement();
|
---|
12 | }
|
---|
13 | });
|
---|
14 | export default JSONSchemaVisitor; |
---|
Note:
See
TracBrowser
for help on using the repository browser.