@json-layout/vocabulary 0.14.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/package.json +5 -5
  2. package/src/components/compile-types.js +61 -0
  3. package/src/components/index.js +226 -0
  4. package/src/components/types.ts +378 -0
  5. package/src/index.js +3 -0
  6. package/src/layout-keyword/index.js +9 -2
  7. package/src/layout-keyword/schema.js +67 -62
  8. package/src/layout-keyword/schema.json +35 -50
  9. package/src/layout-keyword/types.ts +111 -42
  10. package/src/normalize.js +95 -54
  11. package/src/normalized-layout/index.js +18 -64
  12. package/src/normalized-layout/schema.js +235 -762
  13. package/src/normalized-layout/schema.json +118 -324
  14. package/src/normalized-layout/types.ts +163 -233
  15. package/src/types.ts +11 -0
  16. package/src/validate.js +42 -0
  17. package/types/components/compile-types.d.ts +13 -0
  18. package/types/components/compile-types.d.ts.map +1 -0
  19. package/types/components/index.d.ts +52 -0
  20. package/types/components/index.d.ts.map +1 -0
  21. package/types/components/types.d.ts +329 -0
  22. package/types/components/types.d.ts.map +1 -0
  23. package/types/index.d.ts +2 -0
  24. package/types/index.d.ts.map +1 -1
  25. package/types/layout-keyword/index.d.ts +6 -1
  26. package/types/layout-keyword/index.d.ts.map +1 -1
  27. package/types/layout-keyword/schema.d.ts +43 -26
  28. package/types/layout-keyword/types.d.ts +111 -18
  29. package/types/layout-keyword/types.d.ts.map +1 -1
  30. package/types/normalize.d.ts +3 -2
  31. package/types/normalize.d.ts.map +1 -1
  32. package/types/normalized-layout/index.d.ts +19 -65
  33. package/types/normalized-layout/index.d.ts.map +1 -1
  34. package/types/normalized-layout/schema.d.ts +171 -526
  35. package/types/normalized-layout/types.d.ts +163 -208
  36. package/types/normalized-layout/types.d.ts.map +1 -1
  37. package/types/types.d.ts +10 -0
  38. package/types/types.d.ts.map +1 -1
  39. package/types/validate.d.ts +8 -0
  40. package/types/validate.d.ts.map +1 -0
  41. package/src/layout-keyword/validate.js +0 -2
  42. package/src/normalized-layout/validate.js +0 -3
  43. package/types/layout-keyword/validate.d.ts +0 -23
  44. package/types/layout-keyword/validate.d.ts.map +0 -1
  45. package/types/normalized-layout/validate.d.ts +0 -23
  46. package/types/normalized-layout/validate.d.ts.map +0 -1
@@ -1,23 +0,0 @@
1
- export function validate(data: any, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }?: {
2
- instancePath?: string | undefined;
3
- parentData: any;
4
- parentDataProperty: any;
5
- rootData?: any;
6
- dynamicAnchors?: {} | undefined;
7
- }): boolean;
8
- export namespace validate {
9
- namespace evaluated {
10
- let dynamicProps: boolean;
11
- let dynamicItems: boolean;
12
- }
13
- }
14
- export default validate22;
15
- declare function validate22(data: any, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }?: {
16
- instancePath?: string | undefined;
17
- parentData: any;
18
- parentDataProperty: any;
19
- rootData?: any;
20
- dynamicAnchors?: {} | undefined;
21
- }): boolean;
22
- declare namespace validate22 { }
23
- //# sourceMappingURL=validate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/layout-keyword/validate.js"],"names":[],"mappings":"AACg+rD;;;;;;YAAkqK;;;;;;;;AAAlqK;;;;;;YAAkqK"}
@@ -1,23 +0,0 @@
1
- export function validate(data: any, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }?: {
2
- instancePath?: string | undefined;
3
- parentData: any;
4
- parentDataProperty: any;
5
- rootData?: any;
6
- dynamicAnchors?: {} | undefined;
7
- }): boolean;
8
- export namespace validate {
9
- namespace evaluated {
10
- let dynamicProps: boolean;
11
- let dynamicItems: boolean;
12
- }
13
- }
14
- export default validate59;
15
- declare function validate59(data: any, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }?: {
16
- instancePath?: string | undefined;
17
- parentData: any;
18
- parentDataProperty: any;
19
- rootData?: any;
20
- dynamicAnchors?: {} | undefined;
21
- }): boolean;
22
- declare namespace validate59 { }
23
- //# sourceMappingURL=validate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/validate.js"],"names":[],"mappings":"AAE2+kM;;;;;;YAAgiD;;;;;;;;AAAhiD;;;;;;YAAgiD"}