@@ -21,7 +21,7 @@ import {
2121} from "../../../simple-tree/index.js" ;
2222import { getJsonValidator } from "./jsonSchemaUtilities.js" ;
2323import type {
24- SimpleAllowedTypes ,
24+ SimpleAllowedTypesAttributes ,
2525 SimpleNodeSchema ,
2626 SimpleTreeSchema ,
2727 // eslint-disable-next-line import/no-internal-modules
@@ -50,7 +50,7 @@ describe("simpleSchemaToJsonSchema", () => {
5050 root : {
5151 kind : FieldKind . Required ,
5252 metadata : { } ,
53- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
53+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
5454 [ stringSchema . identifier , { isStaged : false } ] ,
5555 ] ) ,
5656 } ,
@@ -88,7 +88,7 @@ describe("simpleSchemaToJsonSchema", () => {
8888 root : {
8989 kind : FieldKind . Required ,
9090 metadata : { } ,
91- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
91+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
9292 [ "test.handle" , { isStaged : false } ] ,
9393 ] ) ,
9494 } ,
@@ -112,7 +112,7 @@ describe("simpleSchemaToJsonSchema", () => {
112112 const input : SimpleTreeSchema = {
113113 root : {
114114 kind : FieldKind . Required ,
115- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
115+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
116116 [ "test.array" , { isStaged : false } ] ,
117117 ] ) ,
118118 metadata : { } ,
@@ -124,7 +124,7 @@ describe("simpleSchemaToJsonSchema", () => {
124124 kind : NodeKind . Array ,
125125 metadata : { } ,
126126 persistedMetadata : undefined ,
127- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
127+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
128128 [ stringSchema . identifier , { isStaged : false } ] ,
129129 ] ) ,
130130 } ,
@@ -169,7 +169,7 @@ describe("simpleSchemaToJsonSchema", () => {
169169 const input : SimpleTreeSchema = {
170170 root : {
171171 kind : FieldKind . Required ,
172- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
172+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
173173 [ "test.map" , { isStaged : false } ] ,
174174 ] ) ,
175175 metadata : { } ,
@@ -181,7 +181,7 @@ describe("simpleSchemaToJsonSchema", () => {
181181 kind : NodeKind . Map ,
182182 metadata : { } ,
183183 persistedMetadata : undefined ,
184- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
184+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
185185 [ stringSchema . identifier , { isStaged : false } ] ,
186186 ] ) ,
187187 } ,
@@ -238,7 +238,7 @@ describe("simpleSchemaToJsonSchema", () => {
238238 const input : SimpleTreeSchema = {
239239 root : {
240240 kind : FieldKind . Required ,
241- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
241+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
242242 [ "test.record" , { isStaged : false } ] ,
243243 ] ) ,
244244 metadata : { } ,
@@ -250,7 +250,7 @@ describe("simpleSchemaToJsonSchema", () => {
250250 kind : NodeKind . Record ,
251251 metadata : { } ,
252252 persistedMetadata : undefined ,
253- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
253+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
254254 [ stringSchema . identifier , { isStaged : false } ] ,
255255 ] ) ,
256256 } ,
@@ -354,7 +354,7 @@ describe("simpleSchemaToJsonSchema", () => {
354354 root : {
355355 kind : FieldKind . Required ,
356356 metadata : { } ,
357- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
357+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
358358 [ "test.object" , { isStaged : false } ] ,
359359 ] ) ,
360360 } ,
@@ -370,7 +370,7 @@ describe("simpleSchemaToJsonSchema", () => {
370370 "foo" ,
371371 {
372372 kind : FieldKind . Optional ,
373- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
373+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
374374 [ numberSchema . identifier , { isStaged : false } ] ,
375375 ] ) ,
376376 metadata : { description : "A number representing the concept of Foo." } ,
@@ -382,7 +382,7 @@ describe("simpleSchemaToJsonSchema", () => {
382382 "bar" ,
383383 {
384384 kind : FieldKind . Required ,
385- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
385+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
386386 [ stringSchema . identifier , { isStaged : false } ] ,
387387 ] ) ,
388388 metadata : { description : "A string representing the concept of Bar." } ,
@@ -394,7 +394,7 @@ describe("simpleSchemaToJsonSchema", () => {
394394 "id" ,
395395 {
396396 kind : FieldKind . Identifier ,
397- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
397+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
398398 [ stringSchema . identifier , { isStaged : false } ] ,
399399 ] ) ,
400400 metadata : {
@@ -499,7 +499,7 @@ describe("simpleSchemaToJsonSchema", () => {
499499 root : {
500500 kind : FieldKind . Required ,
501501 metadata : { } ,
502- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
502+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
503503 [ "test.object" , { isStaged : false } ] ,
504504 ] ) ,
505505 } ,
@@ -515,7 +515,7 @@ describe("simpleSchemaToJsonSchema", () => {
515515 "id" ,
516516 {
517517 kind : FieldKind . Identifier ,
518- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
518+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
519519 [ stringSchema . identifier , { isStaged : false } ] ,
520520 ] ) ,
521521 storedKey : "id" ,
@@ -559,7 +559,7 @@ describe("simpleSchemaToJsonSchema", () => {
559559 root : {
560560 kind : FieldKind . Required ,
561561 metadata : { } ,
562- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
562+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
563563 [ "test.object" , { isStaged : false } ] ,
564564 ] ) ,
565565 } ,
@@ -577,7 +577,7 @@ describe("simpleSchemaToJsonSchema", () => {
577577 kind : FieldKind . Required ,
578578 metadata : { } ,
579579 persistedMetadata : undefined ,
580- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
580+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
581581 [ numberSchema . identifier , { isStaged : false } ] ,
582582 [ stringSchema . identifier , { isStaged : false } ] ,
583583 ] ) ,
@@ -629,7 +629,7 @@ describe("simpleSchemaToJsonSchema", () => {
629629 root : {
630630 kind : FieldKind . Required ,
631631 metadata : { } ,
632- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
632+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
633633 [ "test.recursive-object" , { isStaged : false } ] ,
634634 ] ) ,
635635 } ,
@@ -647,7 +647,7 @@ describe("simpleSchemaToJsonSchema", () => {
647647 kind : FieldKind . Optional ,
648648 metadata : { } ,
649649 persistedMetadata : undefined ,
650- simpleAllowedTypes : new Map < string , SimpleAllowedTypes > ( [
650+ simpleAllowedTypes : new Map < string , SimpleAllowedTypesAttributes > ( [
651651 [ stringSchema . identifier , { isStaged : false } ] ,
652652 [ "test.recursive-object" , { isStaged : false } ] ,
653653 ] ) ,
0 commit comments