main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
455 bytes
|
Line | |
---|
1 | import { createNamespace, isStringElement } from '@swagger-api/apidom-core';
|
---|
2 | import * as jsonSchemaDraft4Predicates from "../predicates.mjs";
|
---|
3 | import jsonSchemaDraft4Namespace from "../namespace.mjs";
|
---|
4 | const createToolbox = () => {
|
---|
5 | const namespace = createNamespace(jsonSchemaDraft4Namespace);
|
---|
6 | const predicates = {
|
---|
7 | ...jsonSchemaDraft4Predicates,
|
---|
8 | isStringElement
|
---|
9 | };
|
---|
10 | return {
|
---|
11 | predicates,
|
---|
12 | namespace
|
---|
13 | };
|
---|
14 | };
|
---|
15 | export default createToolbox; |
---|
Note:
See
TracBrowser
for help on using the repository browser.