aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/ajv
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/ajv')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/.runkit_example.js23
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/LICENSE22
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/README.md192
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.d.ts17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.js55
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.d.ts17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.js49
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.d.ts16
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.js44
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.d.ts40
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.js155
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.d.ts79
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.js697
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.d.ts79
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.js143
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.d.ts13
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.js123
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.d.ts80
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.js243
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.d.ts4
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.js350
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.d.ts4
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.js218
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.js14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.d.ts20
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.js28
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.js12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.d.ts12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.js153
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.d.ts28
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.js26
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.d.ts40
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.js178
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.js19
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.d.ts4
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.js50
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.d.ts17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.js202
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.d.ts2
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.js35
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.d.ts42
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.js510
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.d.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.js124
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.d.ts47
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.js81
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/core.d.ts172
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/core.js614
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/core.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.d.ts45
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.js66
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/data.json13
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts2
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.js28
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json53
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json57
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json37
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json90
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json39
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts2
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.js30
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json48
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json51
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json37
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json15
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json90
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json55
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-draft-06.json137
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-draft-07.json151
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-secure.json88
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.js118
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.js7
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.d.ts18
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.js184
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.js30
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.js6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.js42
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.js24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.d.ts7
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.js11
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.js90
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.d.ts12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.js35
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.d.ts177
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.js3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.d.ts124
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.js3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.d.ts169
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.js3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js49
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js106
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.js23
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts4
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.js12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts7
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.js95
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts21
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.js85
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js11
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.js66
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.d.ts13
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.js44
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.js52
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.js30
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.d.ts4
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.js26
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.js60
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js75
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.js54
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js38
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.js13
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.d.ts17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.js131
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.js10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.js16
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.d.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.js122
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.js100
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.js9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.js23
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.js17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js30
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js51
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.js9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js16
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.js3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.d.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.js92
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.js6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.js71
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.js24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.js43
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.js20
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.d.ts10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.js29
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.js25
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts4
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.js22
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js15
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts22
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.js146
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts4
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.js66
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.d.ts10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.js69
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.js12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.js48
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.js18
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.js8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.js7
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js40
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js65
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.d.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.js25
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts5
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.d.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.js47
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.d.ts16
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.js33
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.js15
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.js24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.js27
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts11
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.js27
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts3
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.js24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.js26
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.js24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.d.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.js79
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js64
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/2019.ts78
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/2020.ts72
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/ajv.ts67
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/code.ts168
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/index.ts832
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/scope.ts215
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/errors.ts184
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/index.ts324
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/parse.ts411
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/serialize.ts260
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/types.ts16
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/names.ts27
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/ref_error.ts12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/resolve.ts146
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/rules.ts50
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/util.ts213
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/applicability.ts22
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/boolSchema.ts47
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/dataType.ts229
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/defaults.ts32
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/index.ts573
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/keyword.ts171
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/subschema.ts135
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/core.ts881
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/jtd.ts129
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/data.json13
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts28
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json53
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json57
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json37
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json90
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json39
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts30
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json48
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json51
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json37
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json15
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json90
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json55
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-draft-06.json137
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-draft-07.json151
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-secure.json88
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/jtd-schema.ts130
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/equal.ts7
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/parseJson.ts176
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/quote.ts31
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/re2.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/timestamp.ts46
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/ucs2length.ts20
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/validation_error.ts13
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/standalone/index.ts100
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/standalone/instance.ts36
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/types/index.ts233
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/types/json-schema.ts186
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/types/jtd-schema.ts263
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts56
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts118
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/allOf.ts22
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/contains.ts109
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts112
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts11
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/if.ts80
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/index.ts53
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/items.ts59
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/items2020.ts36
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/not.ts38
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts82
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts91
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/properties.ts57
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts50
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts13
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/code.ts168
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/id.ts10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/index.ts16
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/ref.ts129
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/discriminator/index.ts110
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/discriminator/types.ts12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/draft2020.ts23
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/draft7.ts17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts31
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts51
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/index.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/errors.ts18
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/format/format.ts120
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/format/index.ts6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts89
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/elements.ts32
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/enum.ts45
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/error.ts23
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/index.ts37
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/metadata.ts24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/nullable.ts21
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts15
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/properties.ts177
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/ref.ts74
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/type.ts75
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/union.ts12
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/values.ts55
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/metadata.ts17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/next.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/index.ts7
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts47
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts85
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/const.ts28
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts23
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/enum.ts52
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/index.ts49
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitContains.ts16
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitItems.ts26
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitLength.ts30
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts42
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts26
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts34
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/pattern.ts28
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/required.ts98
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts79
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/package.json125
462 files changed, 0 insertions, 21452 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/.runkit_example.js b/sandbox/testAppNevena/Front/node_modules/ajv/.runkit_example.js
deleted file mode 100644
index 0d578d5d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/.runkit_example.js
+++ /dev/null
@@ -1,23 +0,0 @@
-const Ajv = require("ajv")
-const ajv = new Ajv({allErrors: true})
-
-const schema = {
- type: "object",
- properties: {
- foo: {type: "string"},
- bar: {type: "number", maximum: 3},
- },
- required: ["foo", "bar"],
- additionalProperties: false,
-}
-
-const validate = ajv.compile(schema)
-
-test({foo: "abc", bar: 2})
-test({foo: 2, bar: 4})
-
-function test(data) {
- const valid = validate(data)
- if (valid) console.log("Valid!")
- else console.log("Invalid: " + ajv.errorsText(validate.errors))
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/LICENSE b/sandbox/testAppNevena/Front/node_modules/ajv/LICENSE
deleted file mode 100644
index 139162ad..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2015-2021 Evgeny Poberezkin
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/README.md b/sandbox/testAppNevena/Front/node_modules/ajv/README.md
deleted file mode 100644
index 79a461cb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/README.md
+++ /dev/null
@@ -1,192 +0,0 @@
-<img align="right" alt="Ajv logo" width="160" src="https://ajv.js.org/img/ajv.svg">
-
-&nbsp;
-
-# Ajv JSON schema validator
-
-The fastest JSON validator for Node.js and browser.
-
-Supports JSON Schema draft-04/06/07/2019-09/2020-12 ([draft-04 support](https://ajv.js.org/json-schema.html#draft-04) requires ajv-draft-04 package) and JSON Type Definition [RFC8927](https://datatracker.ietf.org/doc/rfc8927/).
-
-[![build](https://github.com/ajv-validator/ajv/workflows/build/badge.svg)](https://github.com/ajv-validator/ajv/actions?query=workflow%3Abuild)
-[![npm](https://img.shields.io/npm/v/ajv.svg)](https://www.npmjs.com/package/ajv)
-[![npm downloads](https://img.shields.io/npm/dm/ajv.svg)](https://www.npmjs.com/package/ajv)
-[![Coverage Status](https://coveralls.io/repos/github/ajv-validator/ajv/badge.svg?branch=master)](https://coveralls.io/github/ajv-validator/ajv?branch=master)
-[![Gitter](https://img.shields.io/gitter/room/ajv-validator/ajv.svg)](https://gitter.im/ajv-validator/ajv)
-[![GitHub Sponsors](https://img.shields.io/badge/$-sponsors-brightgreen)](https://github.com/sponsors/epoberezkin)
-
-## Ajv sponsors
-
-[<img src="https://ajv.js.org/img/mozilla.svg" width="45%" alt="Mozilla">](https://www.mozilla.org)<img src="https://ajv.js.org/img/gap.svg" width="9%">[<img src="https://ajv.js.org/img/reserved.svg" width="45%">](https://opencollective.com/ajv)
-
-[<img src="https://ajv.js.org/img/microsoft.png" width="31%" alt="Microsoft">](https://opensource.microsoft.com)<img src="https://ajv.js.org/img/gap.svg" width="3%">[<img src="https://ajv.js.org/img/reserved.svg" width="31%">](https://opencollective.com/ajv)<img src="https://ajv.js.org/img/gap.svg" width="3%">[<img src="https://ajv.js.org/img/reserved.svg" width="31%">](https://opencollective.com/ajv)
-
-[<img src="https://ajv.js.org/img/retool.svg" width="22.5%" alt="Retool">](https://retool.com/?utm_source=sponsor&utm_campaign=ajv)<img src="https://ajv.js.org/img/gap.svg" width="3%">[<img src="https://ajv.js.org/img/tidelift.svg" width="22.5%" alt="Tidelift">](https://tidelift.com/subscription/pkg/npm-ajv?utm_source=npm-ajv&utm_medium=referral&utm_campaign=enterprise)<img src="https://ajv.js.org/img/gap.svg" width="3%">[<img src="https://ajv.js.org/img/simplex.svg" width="22.5%" alt="SimpleX">](https://github.com/simplex-chat/simplex-chat)<img src="https://ajv.js.org/img/gap.svg" width="3%">[<img src="https://ajv.js.org/img/reserved.svg" width="22.5%">](https://opencollective.com/ajv)
-
-## Contributing
-
-More than 100 people contributed to Ajv, and we would love to have you join the development. We welcome implementing new features that will benefit many users and ideas to improve our documentation.
-
-Please review [Contributing guidelines](./CONTRIBUTING.md) and [Code components](https://ajv.js.org/components.html).
-
-## Documentation
-
-All documentation is available on the [Ajv website](https://ajv.js.org).
-
-Some useful site links:
-- [Getting started](https://ajv.js.org/guide/getting-started.html)
-- [JSON Schema vs JSON Type Definition](https://ajv.js.org/guide/schema-language.html)
-- [API reference](https://ajv.js.org/api.html)
-- [Strict mode](https://ajv.js.org/strict-mode.html)
-- [Standalone validation code](https://ajv.js.org/standalone.html)
-- [Security considerations](https://ajv.js.org/security.html)
-- [Command line interface](https://ajv.js.org/packages/ajv-cli.html)
-- [Frequently Asked Questions](https://ajv.js.org/faq.html)
-
-## <a name="sponsors"></a>Please [sponsor Ajv development](https://github.com/sponsors/epoberezkin)
-
-Since I asked to support Ajv development 40 people and 6 organizations contributed via GitHub and OpenCollective - this support helped receiving the MOSS grant!
-
-Your continuing support is very important - the funds will be used to develop and maintain Ajv once the next major version is released.
-
-Please sponsor Ajv via:
-
-- [GitHub sponsors page](https://github.com/sponsors/epoberezkin) (GitHub will match it)
-- [Ajv Open Collective️](https://opencollective.com/ajv)
-
-Thank you.
-
-#### Open Collective sponsors
-
-<a href="https://opencollective.com/ajv"><img src="https://opencollective.com/ajv/individuals.svg?width=890"></a>
-
-<a href="https://opencollective.com/ajv/organization/0/website"><img src="https://opencollective.com/ajv/organization/0/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/1/website"><img src="https://opencollective.com/ajv/organization/1/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/2/website"><img src="https://opencollective.com/ajv/organization/2/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/3/website"><img src="https://opencollective.com/ajv/organization/3/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/4/website"><img src="https://opencollective.com/ajv/organization/4/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/5/website"><img src="https://opencollective.com/ajv/organization/5/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/6/website"><img src="https://opencollective.com/ajv/organization/6/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/7/website"><img src="https://opencollective.com/ajv/organization/7/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/8/website"><img src="https://opencollective.com/ajv/organization/8/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/9/website"><img src="https://opencollective.com/ajv/organization/9/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/10/website"><img src="https://opencollective.com/ajv/organization/10/avatar.svg"></a>
-<a href="https://opencollective.com/ajv/organization/11/website"><img src="https://opencollective.com/ajv/organization/11/avatar.svg"></a>
-
-## Performance
-
-Ajv generates code to turn JSON Schemas into super-fast validation functions that are efficient for v8 optimization.
-
-Currently Ajv is the fastest and the most standard compliant validator according to these benchmarks:
-
-- [json-schema-benchmark](https://github.com/ebdrup/json-schema-benchmark) - 50% faster than the second place
-- [jsck benchmark](https://github.com/pandastrike/jsck#benchmarks) - 20-190% faster
-- [z-schema benchmark](https://rawgit.com/zaggino/z-schema/master/benchmark/results.html)
-- [themis benchmark](https://cdn.rawgit.com/playlyfe/themis/master/benchmark/results.html)
-
-Performance of different validators by [json-schema-benchmark](https://github.com/ebdrup/json-schema-benchmark):
-
-[![performance](https://chart.googleapis.com/chart?chxt=x,y&cht=bhs&chco=76A4FB&chls=2.0&chbh=62,4,1&chs=600x416&chxl=-1:|ajv|@exodus&#x2F;schemasafe|is-my-json-valid|djv|@cfworker&#x2F;json-schema|jsonschema&chd=t:100,69.2,51.5,13.1,5.1,1.2)](https://github.com/ebdrup/json-schema-benchmark/blob/master/README.md#performance)
-
-## Features
-
-- Ajv implements JSON Schema [draft-06/07/2019-09/2020-12](http://json-schema.org/) standards (draft-04 is supported in v6):
- - all validation keywords (see [JSON Schema validation keywords](https://ajv.js.org/json-schema.html))
- - [OpenAPI](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md) extensions:
- - NEW: keyword [discriminator](https://ajv.js.org/json-schema.html#discriminator).
- - keyword [nullable](https://ajv.js.org/json-schema.html#nullable).
- - full support of remote references (remote schemas have to be added with `addSchema` or compiled to be available)
- - support of recursive references between schemas
- - correct string lengths for strings with unicode pairs
- - JSON Schema [formats](https://ajv.js.org/guide/formats.html) (with [ajv-formats](https://github.com/ajv-validator/ajv-formats) plugin).
- - [validates schemas against meta-schema](https://ajv.js.org/api.html#api-validateschema)
-- NEW: supports [JSON Type Definition](https://datatracker.ietf.org/doc/rfc8927/):
- - all keywords (see [JSON Type Definition schema forms](https://ajv.js.org/json-type-definition.html))
- - meta-schema for JTD schemas
- - "union" keyword and user-defined keywords (can be used inside "metadata" member of the schema)
-- supports [browsers](https://ajv.js.org/guide/environments.html#browsers) and Node.js 10.x - current
-- [asynchronous loading](https://ajv.js.org/guide/managing-schemas.html#asynchronous-schema-loading) of referenced schemas during compilation
-- "All errors" validation mode with [option allErrors](https://ajv.js.org/options.html#allerrors)
-- [error messages with parameters](https://ajv.js.org/api.html#validation-errors) describing error reasons to allow error message generation
-- i18n error messages support with [ajv-i18n](https://github.com/ajv-validator/ajv-i18n) package
-- [removing-additional-properties](https://ajv.js.org/guide/modifying-data.html#removing-additional-properties)
-- [assigning defaults](https://ajv.js.org/guide/modifying-data.html#assigning-defaults) to missing properties and items
-- [coercing data](https://ajv.js.org/guide/modifying-data.html#coercing-data-types) to the types specified in `type` keywords
-- [user-defined keywords](https://ajv.js.org/guide/user-keywords.html)
-- additional extension keywords with [ajv-keywords](https://github.com/ajv-validator/ajv-keywords) package
-- [\$data reference](https://ajv.js.org/guide/combining-schemas.html#data-reference) to use values from the validated data as values for the schema keywords
-- [asynchronous validation](https://ajv.js.org/guide/async-validation.html) of user-defined formats and keywords
-
-## Install
-
-To install version 8:
-
-```
-npm install ajv
-```
-
-## <a name="usage"></a>Getting started
-
-Try it in the Node.js REPL: https://runkit.com/npm/ajv
-
-In JavaScript:
-
-```javascript
-// or ESM/TypeScript import
-import Ajv from "ajv"
-// Node.js require:
-const Ajv = require("ajv")
-
-const ajv = new Ajv() // options can be passed, e.g. {allErrors: true}
-
-const schema = {
- type: "object",
- properties: {
- foo: {type: "integer"},
- bar: {type: "string"}
- },
- required: ["foo"],
- additionalProperties: false,
-}
-
-const data = {
- foo: 1,
- bar: "abc"
-}
-
-const validate = ajv.compile(schema)
-const valid = validate(data)
-if (!valid) console.log(validate.errors)
-```
-
-Learn how to use Ajv and see more examples in the [Guide: getting started](https://ajv.js.org/guide/getting-started.html)
-
-## Changes history
-
-See [https://github.com/ajv-validator/ajv/releases](https://github.com/ajv-validator/ajv/releases)
-
-**Please note**: [Changes in version 8.0.0](https://github.com/ajv-validator/ajv/releases/tag/v8.0.0)
-
-[Version 7.0.0](https://github.com/ajv-validator/ajv/releases/tag/v7.0.0)
-
-[Version 6.0.0](https://github.com/ajv-validator/ajv/releases/tag/v6.0.0).
-
-## Code of conduct
-
-Please review and follow the [Code of conduct](./CODE_OF_CONDUCT.md).
-
-Please report any unacceptable behaviour to ajv.validator@gmail.com - it will be reviewed by the project team.
-
-## Security contact
-
-To report a security vulnerability, please use the
-[Tidelift security contact](https://tidelift.com/security).
-Tidelift will coordinate the fix and disclosure. Please do NOT report security vulnerabilities via GitHub issues.
-
-## Open-source software support
-
-Ajv is a part of [Tidelift subscription](https://tidelift.com/subscription/pkg/npm-ajv?utm_source=npm-ajv&utm_medium=referral&utm_campaign=readme) - it provides a centralised support to open-source software users, in addition to the support provided by software maintainers.
-
-## License
-
-[MIT](./LICENSE)
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.d.ts
deleted file mode 100644
index 5a391dd6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type { AnySchemaObject } from "./types";
-import AjvCore, { Options } from "./core";
-declare class Ajv2019 extends AjvCore {
- constructor(opts?: Options);
- _addVocabularies(): void;
- _addDefaultMetaSchema(): void;
- defaultMeta(): string | AnySchemaObject | undefined;
-}
-export default Ajv2019;
-export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
-export { Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions } from "./core";
-export { SchemaCxt, SchemaObjCxt } from "./compile";
-export { KeywordCxt } from "./compile/validate";
-export { DefinedError } from "./vocabularies/errors";
-export { JSONType } from "./compile/rules";
-export { JSONSchemaType } from "./types/json-schema";
-export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen";
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.js
deleted file mode 100644
index 89d78532..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.js
+++ /dev/null
@@ -1,55 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
-const core_1 = require("./core");
-const draft7_1 = require("./vocabularies/draft7");
-const dynamic_1 = require("./vocabularies/dynamic");
-const next_1 = require("./vocabularies/next");
-const unevaluated_1 = require("./vocabularies/unevaluated");
-const discriminator_1 = require("./vocabularies/discriminator");
-const json_schema_2019_09_1 = require("./refs/json-schema-2019-09");
-const META_SCHEMA_ID = "https://json-schema.org/draft/2019-09/schema";
-class Ajv2019 extends core_1.default {
- constructor(opts = {}) {
- super({
- ...opts,
- dynamicRef: true,
- next: true,
- unevaluated: true,
- });
- }
- _addVocabularies() {
- super._addVocabularies();
- this.addVocabulary(dynamic_1.default);
- draft7_1.default.forEach((v) => this.addVocabulary(v));
- this.addVocabulary(next_1.default);
- this.addVocabulary(unevaluated_1.default);
- if (this.opts.discriminator)
- this.addKeyword(discriminator_1.default);
- }
- _addDefaultMetaSchema() {
- super._addDefaultMetaSchema();
- const { $data, meta } = this.opts;
- if (!meta)
- return;
- json_schema_2019_09_1.default.call(this, $data);
- this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID;
- }
- defaultMeta() {
- return (this.opts.defaultMeta =
- super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
- }
-}
-module.exports = exports = Ajv2019;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = Ajv2019;
-var validate_1 = require("./compile/validate");
-Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function () { return validate_1.KeywordCxt; } });
-var codegen_1 = require("./compile/codegen");
-Object.defineProperty(exports, "_", { enumerable: true, get: function () { return codegen_1._; } });
-Object.defineProperty(exports, "str", { enumerable: true, get: function () { return codegen_1.str; } });
-Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return codegen_1.stringify; } });
-Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return codegen_1.nil; } });
-Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return codegen_1.Name; } });
-Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } });
-//# sourceMappingURL=2019.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.js.map
deleted file mode 100644
index 8e4e87ca..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2019.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"2019.js","sourceRoot":"","sources":["../lib/2019.ts"],"names":[],"mappings":";;;AACA,iCAAuC;AAEvC,kDAAsD;AACtD,oDAAsD;AACtD,8CAAgD;AAChD,4DAA8D;AAC9D,gEAAwD;AACxD,oEAA0D;AAE1D,MAAM,cAAc,GAAG,8CAA8C,CAAA;AAErE,MAAM,OAAQ,SAAQ,cAAO;IAC3B,YAAY,OAAgB,EAAE;QAC5B,KAAK,CAAC;YACJ,GAAG,IAAI;YACP,UAAU,EAAE,IAAI;YAChB,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,IAAI;SAClB,CAAC,CAAA;IACJ,CAAC;IAED,gBAAgB;QACd,KAAK,CAAC,gBAAgB,EAAE,CAAA;QACxB,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAA;QACrC,gBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,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front/node_modules/ajv/dist/2020.d.ts
deleted file mode 100644
index 21bae8f6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type { AnySchemaObject } from "./types";
-import AjvCore, { Options } from "./core";
-declare class Ajv2020 extends AjvCore {
- constructor(opts?: Options);
- _addVocabularies(): void;
- _addDefaultMetaSchema(): void;
- defaultMeta(): string | AnySchemaObject | undefined;
-}
-export default Ajv2020;
-export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
-export { Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions } from "./core";
-export { SchemaCxt, SchemaObjCxt } from "./compile";
-export { KeywordCxt } from "./compile/validate";
-export { DefinedError } from "./vocabularies/errors";
-export { JSONType } from "./compile/rules";
-export { JSONSchemaType } from "./types/json-schema";
-export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen";
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.js
deleted file mode 100644
index bdd1dd69..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.js
+++ /dev/null
@@ -1,49 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
-const core_1 = require("./core");
-const draft2020_1 = require("./vocabularies/draft2020");
-const discriminator_1 = require("./vocabularies/discriminator");
-const json_schema_2020_12_1 = require("./refs/json-schema-2020-12");
-const META_SCHEMA_ID = "https://json-schema.org/draft/2020-12/schema";
-class Ajv2020 extends core_1.default {
- constructor(opts = {}) {
- super({
- ...opts,
- dynamicRef: true,
- next: true,
- unevaluated: true,
- });
- }
- _addVocabularies() {
- super._addVocabularies();
- draft2020_1.default.forEach((v) => this.addVocabulary(v));
- if (this.opts.discriminator)
- this.addKeyword(discriminator_1.default);
- }
- _addDefaultMetaSchema() {
- super._addDefaultMetaSchema();
- const { $data, meta } = this.opts;
- if (!meta)
- return;
- json_schema_2020_12_1.default.call(this, $data);
- this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID;
- }
- defaultMeta() {
- return (this.opts.defaultMeta =
- super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
- }
-}
-module.exports = exports = Ajv2020;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = Ajv2020;
-var validate_1 = require("./compile/validate");
-Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function () { return validate_1.KeywordCxt; } });
-var codegen_1 = require("./compile/codegen");
-Object.defineProperty(exports, "_", { enumerable: true, get: function () { return codegen_1._; } });
-Object.defineProperty(exports, "str", { enumerable: true, get: function () { return codegen_1.str; } });
-Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return codegen_1.stringify; } });
-Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return codegen_1.nil; } });
-Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return codegen_1.Name; } });
-Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } });
-//# sourceMappingURL=2020.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.js.map
deleted file mode 100644
index 92239352..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/2020.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"2020.js","sourceRoot":"","sources":["../lib/2020.ts"],"names":[],"mappings":";;;AACA,iCAAuC;AAEvC,wDAA4D;AAC5D,gEAAwD;AACxD,oEAA0D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AAU,OAAA;AAIlB,6CAA6F;AAArF,4FAAA,CAAC,OAAA;AAAE,8FAAA,GAAG,OAAA;AAAE,oGAAA,SAAS,OAAA;AAAE,8FAAA,GAAG,OAAA;AAAE,+FAAA,IAAI,OAAA;AAAQ,kGAAA,OAAO,OAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.d.ts
deleted file mode 100644
index ce43bbf2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import type { AnySchemaObject } from "./types";
-import AjvCore from "./core";
-declare class Ajv extends AjvCore {
- _addVocabularies(): void;
- _addDefaultMetaSchema(): void;
- defaultMeta(): string | AnySchemaObject | undefined;
-}
-export default Ajv;
-export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, SchemaValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
-export { Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions } from "./core";
-export { SchemaCxt, SchemaObjCxt } from "./compile";
-export { KeywordCxt } from "./compile/validate";
-export { DefinedError } from "./vocabularies/errors";
-export { JSONType } from "./compile/rules";
-export { JSONSchemaType } from "./types/json-schema";
-export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen";
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.js
deleted file mode 100644
index 219bcf0d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.js
+++ /dev/null
@@ -1,44 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
-const core_1 = require("./core");
-const draft7_1 = require("./vocabularies/draft7");
-const discriminator_1 = require("./vocabularies/discriminator");
-const draft7MetaSchema = require("./refs/json-schema-draft-07.json");
-const META_SUPPORT_DATA = ["/properties"];
-const META_SCHEMA_ID = "http://json-schema.org/draft-07/schema";
-class Ajv extends core_1.default {
- _addVocabularies() {
- super._addVocabularies();
- draft7_1.default.forEach((v) => this.addVocabulary(v));
- if (this.opts.discriminator)
- this.addKeyword(discriminator_1.default);
- }
- _addDefaultMetaSchema() {
- super._addDefaultMetaSchema();
- if (!this.opts.meta)
- return;
- const metaSchema = this.opts.$data
- ? this.$dataMetaSchema(draft7MetaSchema, META_SUPPORT_DATA)
- : draft7MetaSchema;
- this.addMetaSchema(metaSchema, META_SCHEMA_ID, false);
- this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID;
- }
- defaultMeta() {
- return (this.opts.defaultMeta =
- super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
- }
-}
-module.exports = exports = Ajv;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = Ajv;
-var validate_1 = require("./compile/validate");
-Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function () { return validate_1.KeywordCxt; } });
-var codegen_1 = require("./compile/codegen");
-Object.defineProperty(exports, "_", { enumerable: true, get: function () { return codegen_1._; } });
-Object.defineProperty(exports, "str", { enumerable: true, get: function () { return codegen_1.str; } });
-Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return codegen_1.stringify; } });
-Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return codegen_1.nil; } });
-Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return codegen_1.Name; } });
-Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } });
-//# sourceMappingURL=ajv.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.js.map
deleted file mode 100644
index 18006d4b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/ajv.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ajv.js","sourceRoot":"","sources":["../lib/ajv.ts"],"names":[],"mappings":";;;AACA,iCAA4B;AAC5B,kDAAsD;AACtD,gEAAwD;AACxD,qEAAoE;AAEpE,MAAM,iBAAiB,GAAG,CAAC,aAAa,CAAC,CAAA;AAEzC,MAAM,cAAc,GAAG,wCAAwC,CAAA;AAE/D,MAAM,GAAI,SAAQ,cAAO;IACvB,gBAAgB;QACd,KAAK,CAAC,gBAAgB,EAAE,CAAA;QACxB,gBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAA;QACxD,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa;YAAE,IAAI,CAAC,UAAU,CAAC,uBAAa,CAAC,CAAA;IAC7D,CAAC;IAED,qBAAqB;QACnB,KAAK,CAAC,qBAAqB,EAAE,CAAA;QAC7B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;YAAE,OAAM;QAC3B,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK;YAChC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;YAC3D,CAAC,CAAC,gBAAgB,CAAA;QACpB,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,cAAc,EAAE,KAAK,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,+BAA+B,CAAC,GAAG,cAAc,CAAA;IAC7D,CAAC;IAED,WAAW;QACT,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW;YAC3B,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAA;IACzF,CAAC;CACF;AAED,MAAM,CAAC,OAAO,GAAG,OAAO,GAAG,GAAG,CAAA;AAC9B,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAC,KAAK,EAAE,IAAI,EAAC,CAAC,CAAA;AAE3D,kBAAe,GAAG,CAAA;AA0BlB,+CAA6C;AAArC,sGAAA,UAAU,OAAA;AAIlB,6CAA6F;AAArF,4FAAA,CAAC,OAAA;AAAE,8FAAA,GAAG,OAAA;AAAE,oGAAA,SAAS,OAAA;AAAE,8FAAA,GAAG,OAAA;AAAE,+FAAA,IAAI,OAAA;AAAQ,kGAAA,OAAO,OAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.d.ts
deleted file mode 100644
index 8023c181..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.d.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-export declare abstract class _CodeOrName {
- abstract readonly str: string;
- abstract readonly names: UsedNames;
- abstract toString(): string;
- abstract emptyStr(): boolean;
-}
-export declare const IDENTIFIER: RegExp;
-export declare class Name extends _CodeOrName {
- readonly str: string;
- constructor(s: string);
- toString(): string;
- emptyStr(): boolean;
- get names(): UsedNames;
-}
-export declare class _Code extends _CodeOrName {
- readonly _items: readonly CodeItem[];
- private _str?;
- private _names?;
- constructor(code: string | readonly CodeItem[]);
- toString(): string;
- emptyStr(): boolean;
- get str(): string;
- get names(): UsedNames;
-}
-export declare type CodeItem = Name | string | number | boolean | null;
-export declare type UsedNames = Record<string, number | undefined>;
-export declare type Code = _Code | Name;
-export declare type SafeExpr = Code | number | boolean | null;
-export declare const nil: _Code;
-declare type CodeArg = SafeExpr | string | undefined;
-export declare function _(strs: TemplateStringsArray, ...args: CodeArg[]): _Code;
-export declare function str(strs: TemplateStringsArray, ...args: (CodeArg | string[])[]): _Code;
-export declare function addCodeArg(code: CodeItem[], arg: CodeArg | string[]): void;
-export declare function strConcat(c1: Code, c2: Code): Code;
-export declare function stringify(x: unknown): Code;
-export declare function safeStringify(x: unknown): string;
-export declare function getProperty(key: Code | string | number): Code;
-export declare function getEsmExportName(key: Code | string | number): Code;
-export declare function regexpCode(rx: RegExp): Code;
-export {};
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.js
deleted file mode 100644
index f8268838..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.js
+++ /dev/null
@@ -1,155 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
-class _CodeOrName {
-}
-exports._CodeOrName = _CodeOrName;
-exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
-class Name extends _CodeOrName {
- constructor(s) {
- super();
- if (!exports.IDENTIFIER.test(s))
- throw new Error("CodeGen: name must be a valid identifier");
- this.str = s;
- }
- toString() {
- return this.str;
- }
- emptyStr() {
- return false;
- }
- get names() {
- return { [this.str]: 1 };
- }
-}
-exports.Name = Name;
-class _Code extends _CodeOrName {
- constructor(code) {
- super();
- this._items = typeof code === "string" ? [code] : code;
- }
- toString() {
- return this.str;
- }
- emptyStr() {
- if (this._items.length > 1)
- return false;
- const item = this._items[0];
- return item === "" || item === '""';
- }
- get str() {
- var _a;
- return ((_a = this._str) !== null && _a !== void 0 ? _a : (this._str = this._items.reduce((s, c) => `${s}${c}`, "")));
- }
- get names() {
- var _a;
- return ((_a = this._names) !== null && _a !== void 0 ? _a : (this._names = this._items.reduce((names, c) => {
- if (c instanceof Name)
- names[c.str] = (names[c.str] || 0) + 1;
- return names;
- }, {})));
- }
-}
-exports._Code = _Code;
-exports.nil = new _Code("");
-function _(strs, ...args) {
- const code = [strs[0]];
- let i = 0;
- while (i < args.length) {
- addCodeArg(code, args[i]);
- code.push(strs[++i]);
- }
- return new _Code(code);
-}
-exports._ = _;
-const plus = new _Code("+");
-function str(strs, ...args) {
- const expr = [safeStringify(strs[0])];
- let i = 0;
- while (i < args.length) {
- expr.push(plus);
- addCodeArg(expr, args[i]);
- expr.push(plus, safeStringify(strs[++i]));
- }
- optimize(expr);
- return new _Code(expr);
-}
-exports.str = str;
-function addCodeArg(code, arg) {
- if (arg instanceof _Code)
- code.push(...arg._items);
- else if (arg instanceof Name)
- code.push(arg);
- else
- code.push(interpolate(arg));
-}
-exports.addCodeArg = addCodeArg;
-function optimize(expr) {
- let i = 1;
- while (i < expr.length - 1) {
- if (expr[i] === plus) {
- const res = mergeExprItems(expr[i - 1], expr[i + 1]);
- if (res !== undefined) {
- expr.splice(i - 1, 3, res);
- continue;
- }
- expr[i++] = "+";
- }
- i++;
- }
-}
-function mergeExprItems(a, b) {
- if (b === '""')
- return a;
- if (a === '""')
- return b;
- if (typeof a == "string") {
- if (b instanceof Name || a[a.length - 1] !== '"')
- return;
- if (typeof b != "string")
- return `${a.slice(0, -1)}${b}"`;
- if (b[0] === '"')
- return a.slice(0, -1) + b.slice(1);
- return;
- }
- if (typeof b == "string" && b[0] === '"' && !(a instanceof Name))
- return `"${a}${b.slice(1)}`;
- return;
-}
-function strConcat(c1, c2) {
- return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str `${c1}${c2}`;
-}
-exports.strConcat = strConcat;
-// TODO do not allow arrays here
-function interpolate(x) {
- return typeof x == "number" || typeof x == "boolean" || x === null
- ? x
- : safeStringify(Array.isArray(x) ? x.join(",") : x);
-}
-function stringify(x) {
- return new _Code(safeStringify(x));
-}
-exports.stringify = stringify;
-function safeStringify(x) {
- return JSON.stringify(x)
- .replace(/\u2028/g, "\\u2028")
- .replace(/\u2029/g, "\\u2029");
-}
-exports.safeStringify = safeStringify;
-function getProperty(key) {
- return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`;
-}
-exports.getProperty = getProperty;
-//Does best effort to format the name properly
-function getEsmExportName(key) {
- if (typeof key == "string" && exports.IDENTIFIER.test(key)) {
- return new _Code(`${key}`);
- }
- throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`);
-}
-exports.getEsmExportName = getEsmExportName;
-function regexpCode(rx) {
- return new _Code(rx.toString());
-}
-exports.regexpCode = regexpCode;
-//# sourceMappingURL=code.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.js.map
deleted file mode 100644
index c5c7a396..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/code.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"code.js","sourceRoot":"","sources":["../../../lib/compile/codegen/code.ts"],"names":[],"mappings":";;;AAAA,MAAsB,WAAW;CAKhC;AALD,kCAKC;AAEY,QAAA,UAAU,GAAG,uBAAuB,CAAA;AAEjD,MAAa,IAAK,SAAQ,WAAW;IAEnC,YAAY,CAAS;QACnB,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,kBAAU,CAAC,IAAI,CAAC,CAAC,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;QACpF,IAAI,CAAC,GAAG,GAAG,CAAC,CAAA;IACd,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,GAAG,CAAA;IACjB,CAAC;IAED,QAAQ;QACN,OAAO,KAAK,CAAA;IACd,CAAC;IAED,IAAI,KAAK;QACP,OAAO,EAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,EAAC,CAAA;IACxB,CAA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,IAAI,kBAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA,IAAI,GAAG,GAAG,CAAA;AAC5F,CAAC;AAFD,kCAEC;AAED,8CAA8C;AAC9C,SAAgB,gBAAgB,CAAC,GAA2B;IAC1D,IAAI,OAAO,GAAG,IAAI,QAAQ,IAAI,kBAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QAClD,OAAO,IAAI,KAAK,CAAC,GAAG,GAAG,EAAE,CAAC,CAAA;KAC3B;IACD,MAAM,IAAI,KAAK,CAAC,iCAAiC,GAAG,iCAAiC,CAAC,CAAA;AACxF,CAAC;AALD,4CAKC;AAED,SAAgB,UAAU,CAAC,EAAU;IACnC,OAAO,IAAI,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAA;AACjC,CAAC;AAFD,gCAEC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.d.ts
deleted file mode 100644
index db9101dd..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.d.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-import type { ScopeValueSets, NameValue, ValueScope, ValueScopeName } from "./scope";
-import { _Code, Code, Name } from "./code";
-import { Scope } from "./scope";
-export { _, str, strConcat, nil, getProperty, stringify, regexpCode, Name, Code } from "./code";
-export { Scope, ScopeStore, ValueScope, ValueScopeName, ScopeValueSets, varKinds } from "./scope";
-export declare type SafeExpr = Code | number | boolean | null;
-export declare type Block = Code | (() => void);
-export declare const operators: {
- GT: _Code;
- GTE: _Code;
- LT: _Code;
- LTE: _Code;
- EQ: _Code;
- NEQ: _Code;
- NOT: _Code;
- OR: _Code;
- AND: _Code;
- ADD: _Code;
-};
-export interface CodeGenOptions {
- es5?: boolean;
- lines?: boolean;
- ownProperties?: boolean;
-}
-export declare class CodeGen {
- readonly _scope: Scope;
- readonly _extScope: ValueScope;
- readonly _values: ScopeValueSets;
- private readonly _nodes;
- private readonly _blockStarts;
- private readonly _constants;
- private readonly opts;
- constructor(extScope: ValueScope, opts?: CodeGenOptions);
- toString(): string;
- name(prefix: string): Name;
- scopeName(prefix: string): ValueScopeName;
- scopeValue(prefixOrName: ValueScopeName | string, value: NameValue): Name;
- getScopeValue(prefix: string, keyOrRef: unknown): ValueScopeName | undefined;
- scopeRefs(scopeName: Name): Code;
- scopeCode(): Code;
- private _def;
- const(nameOrPrefix: Name | string, rhs: SafeExpr, _constant?: boolean): Name;
- let(nameOrPrefix: Name | string, rhs?: SafeExpr, _constant?: boolean): Name;
- var(nameOrPrefix: Name | string, rhs?: SafeExpr, _constant?: boolean): Name;
- assign(lhs: Code, rhs: SafeExpr, sideEffects?: boolean): CodeGen;
- add(lhs: Code, rhs: SafeExpr): CodeGen;
- code(c: Block | SafeExpr): CodeGen;
- object(...keyValues: [Name | string, SafeExpr | string][]): _Code;
- if(condition: Code | boolean, thenBody?: Block, elseBody?: Block): CodeGen;
- elseIf(condition: Code | boolean): CodeGen;
- else(): CodeGen;
- endIf(): CodeGen;
- private _for;
- for(iteration: Code, forBody?: Block): CodeGen;
- forRange(nameOrPrefix: Name | string, from: SafeExpr, to: SafeExpr, forBody: (index: Name) => void, varKind?: Code): CodeGen;
- forOf(nameOrPrefix: Name | string, iterable: Code, forBody: (item: Name) => void, varKind?: Code): CodeGen;
- forIn(nameOrPrefix: Name | string, obj: Code, forBody: (item: Name) => void, varKind?: Code): CodeGen;
- endFor(): CodeGen;
- label(label: Name): CodeGen;
- break(label?: Code): CodeGen;
- return(value: Block | SafeExpr): CodeGen;
- try(tryBody: Block, catchCode?: (e: Name) => void, finallyCode?: Block): CodeGen;
- throw(error: Code): CodeGen;
- block(body?: Block, nodeCount?: number): CodeGen;
- endBlock(nodeCount?: number): CodeGen;
- func(name: Name, args?: Code, async?: boolean, funcBody?: Block): CodeGen;
- endFunc(): CodeGen;
- optimize(n?: number): void;
- private _leafNode;
- private _blockNode;
- private _endBlockNode;
- private _elseNode;
- private get _root();
- private get _currNode();
- private set _currNode(value);
-}
-export declare function not<T extends Code | SafeExpr>(x: T): T;
-export declare function and(...args: Code[]): Code;
-export declare function or(...args: Code[]): Code;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.js
deleted file mode 100644
index a6c805af..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.js
+++ /dev/null
@@ -1,697 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
-const code_1 = require("./code");
-const scope_1 = require("./scope");
-var code_2 = require("./code");
-Object.defineProperty(exports, "_", { enumerable: true, get: function () { return code_2._; } });
-Object.defineProperty(exports, "str", { enumerable: true, get: function () { return code_2.str; } });
-Object.defineProperty(exports, "strConcat", { enumerable: true, get: function () { return code_2.strConcat; } });
-Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return code_2.nil; } });
-Object.defineProperty(exports, "getProperty", { enumerable: true, get: function () { return code_2.getProperty; } });
-Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return code_2.stringify; } });
-Object.defineProperty(exports, "regexpCode", { enumerable: true, get: function () { return code_2.regexpCode; } });
-Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return code_2.Name; } });
-var scope_2 = require("./scope");
-Object.defineProperty(exports, "Scope", { enumerable: true, get: function () { return scope_2.Scope; } });
-Object.defineProperty(exports, "ValueScope", { enumerable: true, get: function () { return scope_2.ValueScope; } });
-Object.defineProperty(exports, "ValueScopeName", { enumerable: true, get: function () { return scope_2.ValueScopeName; } });
-Object.defineProperty(exports, "varKinds", { enumerable: true, get: function () { return scope_2.varKinds; } });
-exports.operators = {
- GT: new code_1._Code(">"),
- GTE: new code_1._Code(">="),
- LT: new code_1._Code("<"),
- LTE: new code_1._Code("<="),
- EQ: new code_1._Code("==="),
- NEQ: new code_1._Code("!=="),
- NOT: new code_1._Code("!"),
- OR: new code_1._Code("||"),
- AND: new code_1._Code("&&"),
- ADD: new code_1._Code("+"),
-};
-class Node {
- optimizeNodes() {
- return this;
- }
- optimizeNames(_names, _constants) {
- return this;
- }
-}
-class Def extends Node {
- constructor(varKind, name, rhs) {
- super();
- this.varKind = varKind;
- this.name = name;
- this.rhs = rhs;
- }
- render({ es5, _n }) {
- const varKind = es5 ? scope_1.varKinds.var : this.varKind;
- const rhs = this.rhs === undefined ? "" : ` = ${this.rhs}`;
- return `${varKind} ${this.name}${rhs};` + _n;
- }
- optimizeNames(names, constants) {
- if (!names[this.name.str])
- return;
- if (this.rhs)
- this.rhs = optimizeExpr(this.rhs, names, constants);
- return this;
- }
- get names() {
- return this.rhs instanceof code_1._CodeOrName ? this.rhs.names : {};
- }
-}
-class Assign extends Node {
- constructor(lhs, rhs, sideEffects) {
- super();
- this.lhs = lhs;
- this.rhs = rhs;
- this.sideEffects = sideEffects;
- }
- render({ _n }) {
- return `${this.lhs} = ${this.rhs};` + _n;
- }
- optimizeNames(names, constants) {
- if (this.lhs instanceof code_1.Name && !names[this.lhs.str] && !this.sideEffects)
- return;
- this.rhs = optimizeExpr(this.rhs, names, constants);
- return this;
- }
- get names() {
- const names = this.lhs instanceof code_1.Name ? {} : { ...this.lhs.names };
- return addExprNames(names, this.rhs);
- }
-}
-class AssignOp extends Assign {
- constructor(lhs, op, rhs, sideEffects) {
- super(lhs, rhs, sideEffects);
- this.op = op;
- }
- render({ _n }) {
- return `${this.lhs} ${this.op}= ${this.rhs};` + _n;
- }
-}
-class Label extends Node {
- constructor(label) {
- super();
- this.label = label;
- this.names = {};
- }
- render({ _n }) {
- return `${this.label}:` + _n;
- }
-}
-class Break extends Node {
- constructor(label) {
- super();
- this.label = label;
- this.names = {};
- }
- render({ _n }) {
- const label = this.label ? ` ${this.label}` : "";
- return `break${label};` + _n;
- }
-}
-class Throw extends Node {
- constructor(error) {
- super();
- this.error = error;
- }
- render({ _n }) {
- return `throw ${this.error};` + _n;
- }
- get names() {
- return this.error.names;
- }
-}
-class AnyCode extends Node {
- constructor(code) {
- super();
- this.code = code;
- }
- render({ _n }) {
- return `${this.code};` + _n;
- }
- optimizeNodes() {
- return `${this.code}` ? this : undefined;
- }
- optimizeNames(names, constants) {
- this.code = optimizeExpr(this.code, names, constants);
- return this;
- }
- get names() {
- return this.code instanceof code_1._CodeOrName ? this.code.names : {};
- }
-}
-class ParentNode extends Node {
- constructor(nodes = []) {
- super();
- this.nodes = nodes;
- }
- render(opts) {
- return this.nodes.reduce((code, n) => code + n.render(opts), "");
- }
- optimizeNodes() {
- const { nodes } = this;
- let i = nodes.length;
- while (i--) {
- const n = nodes[i].optimizeNodes();
- if (Array.isArray(n))
- nodes.splice(i, 1, ...n);
- else if (n)
- nodes[i] = n;
- else
- nodes.splice(i, 1);
- }
- return nodes.length > 0 ? this : undefined;
- }
- optimizeNames(names, constants) {
- const { nodes } = this;
- let i = nodes.length;
- while (i--) {
- // iterating backwards improves 1-pass optimization
- const n = nodes[i];
- if (n.optimizeNames(names, constants))
- continue;
- subtractNames(names, n.names);
- nodes.splice(i, 1);
- }
- return nodes.length > 0 ? this : undefined;
- }
- get names() {
- return this.nodes.reduce((names, n) => addNames(names, n.names), {});
- }
-}
-class BlockNode extends ParentNode {
- render(opts) {
- return "{" + opts._n + super.render(opts) + "}" + opts._n;
- }
-}
-class Root extends ParentNode {
-}
-class Else extends BlockNode {
-}
-Else.kind = "else";
-class If extends BlockNode {
- constructor(condition, nodes) {
- super(nodes);
- this.condition = condition;
- }
- render(opts) {
- let code = `if(${this.condition})` + super.render(opts);
- if (this.else)
- code += "else " + this.else.render(opts);
- return code;
- }
- optimizeNodes() {
- super.optimizeNodes();
- const cond = this.condition;
- if (cond === true)
- return this.nodes; // else is ignored here
- let e = this.else;
- if (e) {
- const ns = e.optimizeNodes();
- e = this.else = Array.isArray(ns) ? new Else(ns) : ns;
- }
- if (e) {
- if (cond === false)
- return e instanceof If ? e : e.nodes;
- if (this.nodes.length)
- return this;
- return new If(not(cond), e instanceof If ? [e] : e.nodes);
- }
- if (cond === false || !this.nodes.length)
- return undefined;
- return this;
- }
- optimizeNames(names, constants) {
- var _a;
- this.else = (_a = this.else) === null || _a === void 0 ? void 0 : _a.optimizeNames(names, constants);
- if (!(super.optimizeNames(names, constants) || this.else))
- return;
- this.condition = optimizeExpr(this.condition, names, constants);
- return this;
- }
- get names() {
- const names = super.names;
- addExprNames(names, this.condition);
- if (this.else)
- addNames(names, this.else.names);
- return names;
- }
-}
-If.kind = "if";
-class For extends BlockNode {
-}
-For.kind = "for";
-class ForLoop extends For {
- constructor(iteration) {
- super();
- this.iteration = iteration;
- }
- render(opts) {
- return `for(${this.iteration})` + super.render(opts);
- }
- optimizeNames(names, constants) {
- if (!super.optimizeNames(names, constants))
- return;
- this.iteration = optimizeExpr(this.iteration, names, constants);
- return this;
- }
- get names() {
- return addNames(super.names, this.iteration.names);
- }
-}
-class ForRange extends For {
- constructor(varKind, name, from, to) {
- super();
- this.varKind = varKind;
- this.name = name;
- this.from = from;
- this.to = to;
- }
- render(opts) {
- const varKind = opts.es5 ? scope_1.varKinds.var : this.varKind;
- const { name, from, to } = this;
- return `for(${varKind} ${name}=${from}; ${name}<${to}; ${name}++)` + super.render(opts);
- }
- get names() {
- const names = addExprNames(super.names, this.from);
- return addExprNames(names, this.to);
- }
-}
-class ForIter extends For {
- constructor(loop, varKind, name, iterable) {
- super();
- this.loop = loop;
- this.varKind = varKind;
- this.name = name;
- this.iterable = iterable;
- }
- render(opts) {
- return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(opts);
- }
- optimizeNames(names, constants) {
- if (!super.optimizeNames(names, constants))
- return;
- this.iterable = optimizeExpr(this.iterable, names, constants);
- return this;
- }
- get names() {
- return addNames(super.names, this.iterable.names);
- }
-}
-class Func extends BlockNode {
- constructor(name, args, async) {
- super();
- this.name = name;
- this.args = args;
- this.async = async;
- }
- render(opts) {
- const _async = this.async ? "async " : "";
- return `${_async}function ${this.name}(${this.args})` + super.render(opts);
- }
-}
-Func.kind = "func";
-class Return extends ParentNode {
- render(opts) {
- return "return " + super.render(opts);
- }
-}
-Return.kind = "return";
-class Try extends BlockNode {
- render(opts) {
- let code = "try" + super.render(opts);
- if (this.catch)
- code += this.catch.render(opts);
- if (this.finally)
- code += this.finally.render(opts);
- return code;
- }
- optimizeNodes() {
- var _a, _b;
- super.optimizeNodes();
- (_a = this.catch) === null || _a === void 0 ? void 0 : _a.optimizeNodes();
- (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNodes();
- return this;
- }
- optimizeNames(names, constants) {
- var _a, _b;
- super.optimizeNames(names, constants);
- (_a = this.catch) === null || _a === void 0 ? void 0 : _a.optimizeNames(names, constants);
- (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNames(names, constants);
- return this;
- }
- get names() {
- const names = super.names;
- if (this.catch)
- addNames(names, this.catch.names);
- if (this.finally)
- addNames(names, this.finally.names);
- return names;
- }
-}
-class Catch extends BlockNode {
- constructor(error) {
- super();
- this.error = error;
- }
- render(opts) {
- return `catch(${this.error})` + super.render(opts);
- }
-}
-Catch.kind = "catch";
-class Finally extends BlockNode {
- render(opts) {
- return "finally" + super.render(opts);
- }
-}
-Finally.kind = "finally";
-class CodeGen {
- constructor(extScope, opts = {}) {
- this._values = {};
- this._blockStarts = [];
- this._constants = {};
- this.opts = { ...opts, _n: opts.lines ? "\n" : "" };
- this._extScope = extScope;
- this._scope = new scope_1.Scope({ parent: extScope });
- this._nodes = [new Root()];
- }
- toString() {
- return this._root.render(this.opts);
- }
- // returns unique name in the internal scope
- name(prefix) {
- return this._scope.name(prefix);
- }
- // reserves unique name in the external scope
- scopeName(prefix) {
- return this._extScope.name(prefix);
- }
- // reserves unique name in the external scope and assigns value to it
- scopeValue(prefixOrName, value) {
- const name = this._extScope.value(prefixOrName, value);
- const vs = this._values[name.prefix] || (this._values[name.prefix] = new Set());
- vs.add(name);
- return name;
- }
- getScopeValue(prefix, keyOrRef) {
- return this._extScope.getValue(prefix, keyOrRef);
- }
- // return code that assigns values in the external scope to the names that are used internally
- // (same names that were returned by gen.scopeName or gen.scopeValue)
- scopeRefs(scopeName) {
- return this._extScope.scopeRefs(scopeName, this._values);
- }
- scopeCode() {
- return this._extScope.scopeCode(this._values);
- }
- _def(varKind, nameOrPrefix, rhs, constant) {
- const name = this._scope.toName(nameOrPrefix);
- if (rhs !== undefined && constant)
- this._constants[name.str] = rhs;
- this._leafNode(new Def(varKind, name, rhs));
- return name;
- }
- // `const` declaration (`var` in es5 mode)
- const(nameOrPrefix, rhs, _constant) {
- return this._def(scope_1.varKinds.const, nameOrPrefix, rhs, _constant);
- }
- // `let` declaration with optional assignment (`var` in es5 mode)
- let(nameOrPrefix, rhs, _constant) {
- return this._def(scope_1.varKinds.let, nameOrPrefix, rhs, _constant);
- }
- // `var` declaration with optional assignment
- var(nameOrPrefix, rhs, _constant) {
- return this._def(scope_1.varKinds.var, nameOrPrefix, rhs, _constant);
- }
- // assignment code
- assign(lhs, rhs, sideEffects) {
- return this._leafNode(new Assign(lhs, rhs, sideEffects));
- }
- // `+=` code
- add(lhs, rhs) {
- return this._leafNode(new AssignOp(lhs, exports.operators.ADD, rhs));
- }
- // appends passed SafeExpr to code or executes Block
- code(c) {
- if (typeof c == "function")
- c();
- else if (c !== code_1.nil)
- this._leafNode(new AnyCode(c));
- return this;
- }
- // returns code for object literal for the passed argument list of key-value pairs
- object(...keyValues) {
- const code = ["{"];
- for (const [key, value] of keyValues) {
- if (code.length > 1)
- code.push(",");
- code.push(key);
- if (key !== value || this.opts.es5) {
- code.push(":");
- (0, code_1.addCodeArg)(code, value);
- }
- }
- code.push("}");
- return new code_1._Code(code);
- }
- // `if` clause (or statement if `thenBody` and, optionally, `elseBody` are passed)
- if(condition, thenBody, elseBody) {
- this._blockNode(new If(condition));
- if (thenBody && elseBody) {
- this.code(thenBody).else().code(elseBody).endIf();
- }
- else if (thenBody) {
- this.code(thenBody).endIf();
- }
- else if (elseBody) {
- throw new Error('CodeGen: "else" body without "then" body');
- }
- return this;
- }
- // `else if` clause - invalid without `if` or after `else` clauses
- elseIf(condition) {
- return this._elseNode(new If(condition));
- }
- // `else` clause - only valid after `if` or `else if` clauses
- else() {
- return this._elseNode(new Else());
- }
- // end `if` statement (needed if gen.if was used only with condition)
- endIf() {
- return this._endBlockNode(If, Else);
- }
- _for(node, forBody) {
- this._blockNode(node);
- if (forBody)
- this.code(forBody).endFor();
- return this;
- }
- // a generic `for` clause (or statement if `forBody` is passed)
- for(iteration, forBody) {
- return this._for(new ForLoop(iteration), forBody);
- }
- // `for` statement for a range of values
- forRange(nameOrPrefix, from, to, forBody, varKind = this.opts.es5 ? scope_1.varKinds.var : scope_1.varKinds.let) {
- const name = this._scope.toName(nameOrPrefix);
- return this._for(new ForRange(varKind, name, from, to), () => forBody(name));
- }
- // `for-of` statement (in es5 mode replace with a normal for loop)
- forOf(nameOrPrefix, iterable, forBody, varKind = scope_1.varKinds.const) {
- const name = this._scope.toName(nameOrPrefix);
- if (this.opts.es5) {
- const arr = iterable instanceof code_1.Name ? iterable : this.var("_arr", iterable);
- return this.forRange("_i", 0, (0, code_1._) `${arr}.length`, (i) => {
- this.var(name, (0, code_1._) `${arr}[${i}]`);
- forBody(name);
- });
- }
- return this._for(new ForIter("of", varKind, name, iterable), () => forBody(name));
- }
- // `for-in` statement.
- // With option `ownProperties` replaced with a `for-of` loop for object keys
- forIn(nameOrPrefix, obj, forBody, varKind = this.opts.es5 ? scope_1.varKinds.var : scope_1.varKinds.const) {
- if (this.opts.ownProperties) {
- return this.forOf(nameOrPrefix, (0, code_1._) `Object.keys(${obj})`, forBody);
- }
- const name = this._scope.toName(nameOrPrefix);
- return this._for(new ForIter("in", varKind, name, obj), () => forBody(name));
- }
- // end `for` loop
- endFor() {
- return this._endBlockNode(For);
- }
- // `label` statement
- label(label) {
- return this._leafNode(new Label(label));
- }
- // `break` statement
- break(label) {
- return this._leafNode(new Break(label));
- }
- // `return` statement
- return(value) {
- const node = new Return();
- this._blockNode(node);
- this.code(value);
- if (node.nodes.length !== 1)
- throw new Error('CodeGen: "return" should have one node');
- return this._endBlockNode(Return);
- }
- // `try` statement
- try(tryBody, catchCode, finallyCode) {
- if (!catchCode && !finallyCode)
- throw new Error('CodeGen: "try" without "catch" and "finally"');
- const node = new Try();
- this._blockNode(node);
- this.code(tryBody);
- if (catchCode) {
- const error = this.name("e");
- this._currNode = node.catch = new Catch(error);
- catchCode(error);
- }
- if (finallyCode) {
- this._currNode = node.finally = new Finally();
- this.code(finallyCode);
- }
- return this._endBlockNode(Catch, Finally);
- }
- // `throw` statement
- throw(error) {
- return this._leafNode(new Throw(error));
- }
- // start self-balancing block
- block(body, nodeCount) {
- this._blockStarts.push(this._nodes.length);
- if (body)
- this.code(body).endBlock(nodeCount);
- return this;
- }
- // end the current self-balancing block
- endBlock(nodeCount) {
- const len = this._blockStarts.pop();
- if (len === undefined)
- throw new Error("CodeGen: not in self-balancing block");
- const toClose = this._nodes.length - len;
- if (toClose < 0 || (nodeCount !== undefined && toClose !== nodeCount)) {
- throw new Error(`CodeGen: wrong number of nodes: ${toClose} vs ${nodeCount} expected`);
- }
- this._nodes.length = len;
- return this;
- }
- // `function` heading (or definition if funcBody is passed)
- func(name, args = code_1.nil, async, funcBody) {
- this._blockNode(new Func(name, args, async));
- if (funcBody)
- this.code(funcBody).endFunc();
- return this;
- }
- // end function definition
- endFunc() {
- return this._endBlockNode(Func);
- }
- optimize(n = 1) {
- while (n-- > 0) {
- this._root.optimizeNodes();
- this._root.optimizeNames(this._root.names, this._constants);
- }
- }
- _leafNode(node) {
- this._currNode.nodes.push(node);
- return this;
- }
- _blockNode(node) {
- this._currNode.nodes.push(node);
- this._nodes.push(node);
- }
- _endBlockNode(N1, N2) {
- const n = this._currNode;
- if (n instanceof N1 || (N2 && n instanceof N2)) {
- this._nodes.pop();
- return this;
- }
- throw new Error(`CodeGen: not in block "${N2 ? `${N1.kind}/${N2.kind}` : N1.kind}"`);
- }
- _elseNode(node) {
- const n = this._currNode;
- if (!(n instanceof If)) {
- throw new Error('CodeGen: "else" without "if"');
- }
- this._currNode = n.else = node;
- return this;
- }
- get _root() {
- return this._nodes[0];
- }
- get _currNode() {
- const ns = this._nodes;
- return ns[ns.length - 1];
- }
- set _currNode(node) {
- const ns = this._nodes;
- ns[ns.length - 1] = node;
- }
-}
-exports.CodeGen = CodeGen;
-function addNames(names, from) {
- for (const n in from)
- names[n] = (names[n] || 0) + (from[n] || 0);
- return names;
-}
-function addExprNames(names, from) {
- return from instanceof code_1._CodeOrName ? addNames(names, from.names) : names;
-}
-function optimizeExpr(expr, names, constants) {
- if (expr instanceof code_1.Name)
- return replaceName(expr);
- if (!canOptimize(expr))
- return expr;
- return new code_1._Code(expr._items.reduce((items, c) => {
- if (c instanceof code_1.Name)
- c = replaceName(c);
- if (c instanceof code_1._Code)
- items.push(...c._items);
- else
- items.push(c);
- return items;
- }, []));
- function replaceName(n) {
- const c = constants[n.str];
- if (c === undefined || names[n.str] !== 1)
- return n;
- delete names[n.str];
- return c;
- }
- function canOptimize(e) {
- return (e instanceof code_1._Code &&
- e._items.some((c) => c instanceof code_1.Name && names[c.str] === 1 && constants[c.str] !== undefined));
- }
-}
-function subtractNames(names, from) {
- for (const n in from)
- names[n] = (names[n] || 0) - (from[n] || 0);
-}
-function not(x) {
- return typeof x == "boolean" || typeof x == "number" || x === null ? !x : (0, code_1._) `!${par(x)}`;
-}
-exports.not = not;
-const andCode = mappend(exports.operators.AND);
-// boolean AND (&&) expression with the passed arguments
-function and(...args) {
- return args.reduce(andCode);
-}
-exports.and = and;
-const orCode = mappend(exports.operators.OR);
-// boolean OR (||) expression with the passed arguments
-function or(...args) {
- return args.reduce(orCode);
-}
-exports.or = or;
-function mappend(op) {
- return (x, y) => (x === code_1.nil ? y : y === code_1.nil ? x : (0, code_1._) `${par(x)} ${op} ${par(y)}`);
-}
-function par(x) {
- return x instanceof code_1.Name ? x : (0, code_1._) `(${x})`;
-}
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.js.map
deleted file mode 100644
index f3826d28..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/compile/codegen/index.ts"],"names":[],"mappings":";;;AACA,iCAA8F;AAC9F,mCAAuC;AAEvC,+BAA6F;AAArF,yFAAA,CAAC,OAAA;AAAE,2FAAA,GAAG,OAAA;AAAE,iGAAA,SAAS,OAAA;AAAE,2FAAA,GAAG,OAAA;AAAE,mGAAA,WAAW,OAAA;AAAE,iGAAA,SAAS,OAAA;AAAE,kGAAA,UAAU,OAAA;AAAE,4FAAA,IAAI,OAAA;AACxE,iCAA+F;AAAvF,8FAAA,KAAK,OAAA;AAAc,mGAAA,UAAU,OAAA;AAAE,uGAAA,cAAc,OAAA;AAAkB,iGAAA,QAAQ,OAAA;AAQlE,QAAA,SAAS,GAAG;IACvB,EAAE,EAAE,IAAI,YAAK,CAAC,GAAG,CAAC;IAClB,GAAG,EAAE,IAAI,YAAK,CAAC,IAAI,CAAC;IACpB,EAAE,EAAE,IAAI,YAAK,CAAC,GAAG,CAAC;IAClB,GAAG,EAAE,IAAI,YAAK,CAAC,IAAI,CAAC;IACpB,EAAE,EAAE,IAAI,YAAK,CAAC,KAAK,CAAC;IACpB,GAAG,EAAE,IAAI,YAAK,CAAC,KAAK,CA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CAAC,CAAC,CAAC,CAAC,IAAA,QAAC,EAAA,IAAI,CAAC,GAAG,CAAA;AAC1C,CAAC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.d.ts
deleted file mode 100644
index 3c351bb6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.d.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-import { Code, Name } from "./code";
-interface NameGroup {
- prefix: string;
- index: number;
-}
-export interface NameValue {
- ref: ValueReference;
- key?: unknown;
- code?: Code;
-}
-export declare type ValueReference = unknown;
-interface ScopeOptions {
- prefixes?: Set<string>;
- parent?: Scope;
-}
-interface ValueScopeOptions extends ScopeOptions {
- scope: ScopeStore;
- es5?: boolean;
- lines?: boolean;
-}
-export declare type ScopeStore = Record<string, ValueReference[] | undefined>;
-declare type ScopeValues = {
- [Prefix in string]?: Map<unknown, ValueScopeName>;
-};
-export declare type ScopeValueSets = {
- [Prefix in string]?: Set<ValueScopeName>;
-};
-export declare enum UsedValueState {
- Started = 0,
- Completed = 1
-}
-export declare type UsedScopeValues = {
- [Prefix in string]?: Map<ValueScopeName, UsedValueState | undefined>;
-};
-export declare const varKinds: {
- const: Name;
- let: Name;
- var: Name;
-};
-export declare class Scope {
- protected readonly _names: {
- [Prefix in string]?: NameGroup;
- };
- protected readonly _prefixes?: Set<string>;
- protected readonly _parent?: Scope;
- constructor({ prefixes, parent }?: ScopeOptions);
- toName(nameOrPrefix: Name | string): Name;
- name(prefix: string): Name;
- protected _newName(prefix: string): string;
- private _nameGroup;
-}
-interface ScopePath {
- property: string;
- itemIndex: number;
-}
-export declare class ValueScopeName extends Name {
- readonly prefix: string;
- value?: NameValue;
- scopePath?: Code;
- constructor(prefix: string, nameStr: string);
- setValue(value: NameValue, { property, itemIndex }: ScopePath): void;
-}
-interface VSOptions extends ValueScopeOptions {
- _n: Code;
-}
-export declare class ValueScope extends Scope {
- protected readonly _values: ScopeValues;
- protected readonly _scope: ScopeStore;
- readonly opts: VSOptions;
- constructor(opts: ValueScopeOptions);
- get(): ScopeStore;
- name(prefix: string): ValueScopeName;
- value(nameOrPrefix: ValueScopeName | string, value: NameValue): ValueScopeName;
- getValue(prefix: string, keyOrRef: unknown): ValueScopeName | undefined;
- scopeRefs(scopeName: Name, values?: ScopeValues | ScopeValueSets): Code;
- scopeCode(values?: ScopeValues | ScopeValueSets, usedValues?: UsedScopeValues, getCode?: (n: ValueScopeName) => Code | undefined): Code;
- private _reduceValues;
-}
-export {};
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.js
deleted file mode 100644
index acc5f762..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.js
+++ /dev/null
@@ -1,143 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
-const code_1 = require("./code");
-class ValueError extends Error {
- constructor(name) {
- super(`CodeGen: "code" for ${name} not defined`);
- this.value = name.value;
- }
-}
-var UsedValueState;
-(function (UsedValueState) {
- UsedValueState[UsedValueState["Started"] = 0] = "Started";
- UsedValueState[UsedValueState["Completed"] = 1] = "Completed";
-})(UsedValueState = exports.UsedValueState || (exports.UsedValueState = {}));
-exports.varKinds = {
- const: new code_1.Name("const"),
- let: new code_1.Name("let"),
- var: new code_1.Name("var"),
-};
-class Scope {
- constructor({ prefixes, parent } = {}) {
- this._names = {};
- this._prefixes = prefixes;
- this._parent = parent;
- }
- toName(nameOrPrefix) {
- return nameOrPrefix instanceof code_1.Name ? nameOrPrefix : this.name(nameOrPrefix);
- }
- name(prefix) {
- return new code_1.Name(this._newName(prefix));
- }
- _newName(prefix) {
- const ng = this._names[prefix] || this._nameGroup(prefix);
- return `${prefix}${ng.index++}`;
- }
- _nameGroup(prefix) {
- var _a, _b;
- if (((_b = (_a = this._parent) === null || _a === void 0 ? void 0 : _a._prefixes) === null || _b === void 0 ? void 0 : _b.has(prefix)) || (this._prefixes && !this._prefixes.has(prefix))) {
- throw new Error(`CodeGen: prefix "${prefix}" is not allowed in this scope`);
- }
- return (this._names[prefix] = { prefix, index: 0 });
- }
-}
-exports.Scope = Scope;
-class ValueScopeName extends code_1.Name {
- constructor(prefix, nameStr) {
- super(nameStr);
- this.prefix = prefix;
- }
- setValue(value, { property, itemIndex }) {
- this.value = value;
- this.scopePath = (0, code_1._) `.${new code_1.Name(property)}[${itemIndex}]`;
- }
-}
-exports.ValueScopeName = ValueScopeName;
-const line = (0, code_1._) `\n`;
-class ValueScope extends Scope {
- constructor(opts) {
- super(opts);
- this._values = {};
- this._scope = opts.scope;
- this.opts = { ...opts, _n: opts.lines ? line : code_1.nil };
- }
- get() {
- return this._scope;
- }
- name(prefix) {
- return new ValueScopeName(prefix, this._newName(prefix));
- }
- value(nameOrPrefix, value) {
- var _a;
- if (value.ref === undefined)
- throw new Error("CodeGen: ref must be passed in value");
- const name = this.toName(nameOrPrefix);
- const { prefix } = name;
- const valueKey = (_a = value.key) !== null && _a !== void 0 ? _a : value.ref;
- let vs = this._values[prefix];
- if (vs) {
- const _name = vs.get(valueKey);
- if (_name)
- return _name;
- }
- else {
- vs = this._values[prefix] = new Map();
- }
- vs.set(valueKey, name);
- const s = this._scope[prefix] || (this._scope[prefix] = []);
- const itemIndex = s.length;
- s[itemIndex] = value.ref;
- name.setValue(value, { property: prefix, itemIndex });
- return name;
- }
- getValue(prefix, keyOrRef) {
- const vs = this._values[prefix];
- if (!vs)
- return;
- return vs.get(keyOrRef);
- }
- scopeRefs(scopeName, values = this._values) {
- return this._reduceValues(values, (name) => {
- if (name.scopePath === undefined)
- throw new Error(`CodeGen: name "${name}" has no value`);
- return (0, code_1._) `${scopeName}${name.scopePath}`;
- });
- }
- scopeCode(values = this._values, usedValues, getCode) {
- return this._reduceValues(values, (name) => {
- if (name.value === undefined)
- throw new Error(`CodeGen: name "${name}" has no value`);
- return name.value.code;
- }, usedValues, getCode);
- }
- _reduceValues(values, valueCode, usedValues = {}, getCode) {
- let code = code_1.nil;
- for (const prefix in values) {
- const vs = values[prefix];
- if (!vs)
- continue;
- const nameSet = (usedValues[prefix] = usedValues[prefix] || new Map());
- vs.forEach((name) => {
- if (nameSet.has(name))
- return;
- nameSet.set(name, UsedValueState.Started);
- let c = valueCode(name);
- if (c) {
- const def = this.opts.es5 ? exports.varKinds.var : exports.varKinds.const;
- code = (0, code_1._) `${code}${def} ${name} = ${c};${this.opts._n}`;
- }
- else if ((c = getCode === null || getCode === void 0 ? void 0 : getCode(name))) {
- code = (0, code_1._) `${code}${c}${this.opts._n}`;
- }
- else {
- throw new ValueError(name);
- }
- nameSet.set(name, UsedValueState.Completed);
- });
- }
- return code;
- }
-}
-exports.ValueScope = ValueScope;
-//# sourceMappingURL=scope.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.js.map
deleted file mode 100644
index 7afde106..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/codegen/scope.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"scope.js","sourceRoot":"","sources":["../../../lib/compile/codegen/scope.ts"],"names":[],"mappings":";;;AAAA,iCAAyC;AAezC,MAAM,UAAW,SAAQ,KAAK;IAE5B,YAAY,IAAoB;QAC9B,KAAK,CAAC,uBAAuB,IAAI,cAAc,CAAC,CAAA;QAChD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;IACzB,CAAC;CACF;AAuBD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,yDAAO,CAAA;IACP,6DAAS,CAAA;AACX,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc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C,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,gBAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,gBAAQ,CAAC,KAAK,CAAA;oBACzD,IAAI,GAAG,IAAA,QAAC,EAAA,GAAG,IAAI,GAAG,GAAG,IAAI,IAAI,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAA;iBACvD;qBAAM,IAAI,CAAC,CAAC,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,IAAI,CAAC,CAAC,EAAE;oBAChC,IAAI,GAAG,IAAA,QAAC,EAAA,GAAG,IAAI,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAA;iBACrC;qBAAM;oBACL,MAAM,IAAI,UAAU,CAAC,IAAI,CAAC,CAAA;iBAC3B;gBACD,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,CAAA;YAC7C,CAAC,CAAC,CAAA;SACH;QACD,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AAjGD,gCAiGC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.d.ts
deleted file mode 100644
index 74eef7e2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type { KeywordErrorCxt, KeywordErrorDefinition } from "../types";
-import { CodeGen, Code, Name } from "./codegen";
-export declare const keywordError: KeywordErrorDefinition;
-export declare const keyword$DataError: KeywordErrorDefinition;
-export interface ErrorPaths {
- instancePath?: Code;
- schemaPath?: string;
- parentSchema?: boolean;
-}
-export declare function reportError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths, overrideAllErrors?: boolean): void;
-export declare function reportExtraError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths): void;
-export declare function resetErrorsCount(gen: CodeGen, errsCount: Name): void;
-export declare function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt): void;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.js
deleted file mode 100644
index e2aca7b9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.js
+++ /dev/null
@@ -1,123 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
-const codegen_1 = require("./codegen");
-const util_1 = require("./util");
-const names_1 = require("./names");
-exports.keywordError = {
- message: ({ keyword }) => (0, codegen_1.str) `must pass "${keyword}" keyword validation`,
-};
-exports.keyword$DataError = {
- message: ({ keyword, schemaType }) => schemaType
- ? (0, codegen_1.str) `"${keyword}" keyword must be ${schemaType} ($data)`
- : (0, codegen_1.str) `"${keyword}" keyword is invalid ($data)`,
-};
-function reportError(cxt, error = exports.keywordError, errorPaths, overrideAllErrors) {
- const { it } = cxt;
- const { gen, compositeRule, allErrors } = it;
- const errObj = errorObjectCode(cxt, error, errorPaths);
- if (overrideAllErrors !== null && overrideAllErrors !== void 0 ? overrideAllErrors : (compositeRule || allErrors)) {
- addError(gen, errObj);
- }
- else {
- returnErrors(it, (0, codegen_1._) `[${errObj}]`);
- }
-}
-exports.reportError = reportError;
-function reportExtraError(cxt, error = exports.keywordError, errorPaths) {
- const { it } = cxt;
- const { gen, compositeRule, allErrors } = it;
- const errObj = errorObjectCode(cxt, error, errorPaths);
- addError(gen, errObj);
- if (!(compositeRule || allErrors)) {
- returnErrors(it, names_1.default.vErrors);
- }
-}
-exports.reportExtraError = reportExtraError;
-function resetErrorsCount(gen, errsCount) {
- gen.assign(names_1.default.errors, errsCount);
- gen.if((0, codegen_1._) `${names_1.default.vErrors} !== null`, () => gen.if(errsCount, () => gen.assign((0, codegen_1._) `${names_1.default.vErrors}.length`, errsCount), () => gen.assign(names_1.default.vErrors, null)));
-}
-exports.resetErrorsCount = resetErrorsCount;
-function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }) {
- /* istanbul ignore if */
- if (errsCount === undefined)
- throw new Error("ajv implementation error");
- const err = gen.name("err");
- gen.forRange("i", errsCount, names_1.default.errors, (i) => {
- gen.const(err, (0, codegen_1._) `${names_1.default.vErrors}[${i}]`);
- gen.if((0, codegen_1._) `${err}.instancePath === undefined`, () => gen.assign((0, codegen_1._) `${err}.instancePath`, (0, codegen_1.strConcat)(names_1.default.instancePath, it.errorPath)));
- gen.assign((0, codegen_1._) `${err}.schemaPath`, (0, codegen_1.str) `${it.errSchemaPath}/${keyword}`);
- if (it.opts.verbose) {
- gen.assign((0, codegen_1._) `${err}.schema`, schemaValue);
- gen.assign((0, codegen_1._) `${err}.data`, data);
- }
- });
-}
-exports.extendErrors = extendErrors;
-function addError(gen, errObj) {
- const err = gen.const("err", errObj);
- gen.if((0, codegen_1._) `${names_1.default.vErrors} === null`, () => gen.assign(names_1.default.vErrors, (0, codegen_1._) `[${err}]`), (0, codegen_1._) `${names_1.default.vErrors}.push(${err})`);
- gen.code((0, codegen_1._) `${names_1.default.errors}++`);
-}
-function returnErrors(it, errs) {
- const { gen, validateName, schemaEnv } = it;
- if (schemaEnv.$async) {
- gen.throw((0, codegen_1._) `new ${it.ValidationError}(${errs})`);
- }
- else {
- gen.assign((0, codegen_1._) `${validateName}.errors`, errs);
- gen.return(false);
- }
-}
-const E = {
- keyword: new codegen_1.Name("keyword"),
- schemaPath: new codegen_1.Name("schemaPath"),
- params: new codegen_1.Name("params"),
- propertyName: new codegen_1.Name("propertyName"),
- message: new codegen_1.Name("message"),
- schema: new codegen_1.Name("schema"),
- parentSchema: new codegen_1.Name("parentSchema"),
-};
-function errorObjectCode(cxt, error, errorPaths) {
- const { createErrors } = cxt.it;
- if (createErrors === false)
- return (0, codegen_1._) `{}`;
- return errorObject(cxt, error, errorPaths);
-}
-function errorObject(cxt, error, errorPaths = {}) {
- const { gen, it } = cxt;
- const keyValues = [
- errorInstancePath(it, errorPaths),
- errorSchemaPath(cxt, errorPaths),
- ];
- extraErrorProps(cxt, error, keyValues);
- return gen.object(...keyValues);
-}
-function errorInstancePath({ errorPath }, { instancePath }) {
- const instPath = instancePath
- ? (0, codegen_1.str) `${errorPath}${(0, util_1.getErrorPath)(instancePath, util_1.Type.Str)}`
- : errorPath;
- return [names_1.default.instancePath, (0, codegen_1.strConcat)(names_1.default.instancePath, instPath)];
-}
-function errorSchemaPath({ keyword, it: { errSchemaPath } }, { schemaPath, parentSchema }) {
- let schPath = parentSchema ? errSchemaPath : (0, codegen_1.str) `${errSchemaPath}/${keyword}`;
- if (schemaPath) {
- schPath = (0, codegen_1.str) `${schPath}${(0, util_1.getErrorPath)(schemaPath, util_1.Type.Str)}`;
- }
- return [E.schemaPath, schPath];
-}
-function extraErrorProps(cxt, { params, message }, keyValues) {
- const { keyword, data, schemaValue, it } = cxt;
- const { opts, propertyName, topSchemaRef, schemaPath } = it;
- keyValues.push([E.keyword, keyword], [E.params, typeof params == "function" ? params(cxt) : params || (0, codegen_1._) `{}`]);
- if (opts.messages) {
- keyValues.push([E.message, typeof message == "function" ? message(cxt) : message]);
- }
- if (opts.verbose) {
- keyValues.push([E.schema, schemaValue], [E.parentSchema, (0, codegen_1._) `${topSchemaRef}${schemaPath}`], [names_1.default.data, data]);
- }
- if (propertyName)
- keyValues.push([E.propertyName, propertyName]);
-}
-//# sourceMappingURL=errors.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.js.map
deleted file mode 100644
index 66208910..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/errors.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"errors.js","sourceRoot":"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,CAAC,IAAI,CACZ,CAAC,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,EACpB,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,MAAM,IAAI,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,IAAI,IAAA,WAAC,EAAA,IAAI,CAAC,CACxE,CAAA;IACD,IAAI,IAAI,CAAC,QAAQ,EAAE;QACjB,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,OAAO,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;KACnF;IACD,IAAI,IAAI,CAAC,OAAO,EAAE;QAChB,SAAS,CAAC,IAAI,CACZ,CAAC,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC,EACvB,CAAC,CAAC,CAAC,YAAY,EAAE,IAAA,WAAC,EAAA,GAAG,YAAY,GAAG,UAAU,EAAE,CAAC,EACjD,CAAC,eAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CACf,CAAA;KACF;IACD,IAAI,YAAY;QAAE,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAA;AAClE,CAAC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.d.ts
deleted file mode 100644
index ca8920ab..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.d.ts
+++ /dev/null
@@ -1,80 +0,0 @@
-import type { AnySchema, AnySchemaObject, AnyValidateFunction, EvaluatedProperties, EvaluatedItems } from "../types";
-import type Ajv from "../core";
-import type { InstanceOptions } from "../core";
-import { CodeGen, Name, Code, ValueScopeName } from "./codegen";
-import { LocalRefs } from "./resolve";
-import { JSONType } from "./rules";
-export declare type SchemaRefs = {
- [Ref in string]?: SchemaEnv | AnySchema;
-};
-export interface SchemaCxt {
- readonly gen: CodeGen;
- readonly allErrors?: boolean;
- readonly data: Name;
- readonly parentData: Name;
- readonly parentDataProperty: Code | number;
- readonly dataNames: Name[];
- readonly dataPathArr: (Code | number)[];
- readonly dataLevel: number;
- dataTypes: JSONType[];
- definedProperties: Set<string>;
- readonly topSchemaRef: Code;
- readonly validateName: Name;
- evaluated?: Name;
- readonly ValidationError?: Name;
- readonly schema: AnySchema;
- readonly schemaEnv: SchemaEnv;
- readonly rootId: string;
- baseId: string;
- readonly schemaPath: Code;
- readonly errSchemaPath: string;
- readonly errorPath: Code;
- readonly propertyName?: Name;
- readonly compositeRule?: boolean;
- props?: EvaluatedProperties | Name;
- items?: EvaluatedItems | Name;
- jtdDiscriminator?: string;
- jtdMetadata?: boolean;
- readonly createErrors?: boolean;
- readonly opts: InstanceOptions;
- readonly self: Ajv;
-}
-export interface SchemaObjCxt extends SchemaCxt {
- readonly schema: AnySchemaObject;
-}
-interface SchemaEnvArgs {
- readonly schema: AnySchema;
- readonly schemaId?: "$id" | "id";
- readonly root?: SchemaEnv;
- readonly baseId?: string;
- readonly schemaPath?: string;
- readonly localRefs?: LocalRefs;
- readonly meta?: boolean;
-}
-export declare class SchemaEnv implements SchemaEnvArgs {
- readonly schema: AnySchema;
- readonly schemaId?: "$id" | "id";
- readonly root: SchemaEnv;
- baseId: string;
- schemaPath?: string;
- localRefs?: LocalRefs;
- readonly meta?: boolean;
- readonly $async?: boolean;
- readonly refs: SchemaRefs;
- readonly dynamicAnchors: {
- [Ref in string]?: true;
- };
- validate?: AnyValidateFunction;
- validateName?: ValueScopeName;
- serialize?: (data: unknown) => string;
- serializeName?: ValueScopeName;
- parse?: (data: string) => unknown;
- parseName?: ValueScopeName;
- constructor(env: SchemaEnvArgs);
-}
-export declare function compileSchema(this: Ajv, sch: SchemaEnv): SchemaEnv;
-export declare function resolveRef(this: Ajv, root: SchemaEnv, baseId: string, ref: string): AnySchema | SchemaEnv | undefined;
-export declare function getCompilingSchema(this: Ajv, schEnv: SchemaEnv): SchemaEnv | void;
-export declare function resolveSchema(this: Ajv, root: SchemaEnv, // root object with properties schema, refs TODO below SchemaEnv is assigned to it
-ref: string): SchemaEnv | undefined;
-export {};
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.js
deleted file mode 100644
index f00211d2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.js
+++ /dev/null
@@ -1,243 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
-const codegen_1 = require("./codegen");
-const validation_error_1 = require("../runtime/validation_error");
-const names_1 = require("./names");
-const resolve_1 = require("./resolve");
-const util_1 = require("./util");
-const validate_1 = require("./validate");
-const URI = require("uri-js");
-class SchemaEnv {
- constructor(env) {
- var _a;
- this.refs = {};
- this.dynamicAnchors = {};
- let schema;
- if (typeof env.schema == "object")
- schema = env.schema;
- this.schema = env.schema;
- this.schemaId = env.schemaId;
- this.root = env.root || this;
- this.baseId = (_a = env.baseId) !== null && _a !== void 0 ? _a : (0, resolve_1.normalizeId)(schema === null || schema === void 0 ? void 0 : schema[env.schemaId || "$id"]);
- this.schemaPath = env.schemaPath;
- this.localRefs = env.localRefs;
- this.meta = env.meta;
- this.$async = schema === null || schema === void 0 ? void 0 : schema.$async;
- this.refs = {};
- }
-}
-exports.SchemaEnv = SchemaEnv;
-// let codeSize = 0
-// let nodeCount = 0
-// Compiles schema in SchemaEnv
-function compileSchema(sch) {
- // TODO refactor - remove compilations
- const _sch = getCompilingSchema.call(this, sch);
- if (_sch)
- return _sch;
- const rootId = (0, resolve_1.getFullPath)(sch.root.baseId); // TODO if getFullPath removed 1 tests fails
- const { es5, lines } = this.opts.code;
- const { ownProperties } = this.opts;
- const gen = new codegen_1.CodeGen(this.scope, { es5, lines, ownProperties });
- let _ValidationError;
- if (sch.$async) {
- _ValidationError = gen.scopeValue("Error", {
- ref: validation_error_1.default,
- code: (0, codegen_1._) `require("ajv/dist/runtime/validation_error").default`,
- });
- }
- const validateName = gen.scopeName("validate");
- sch.validateName = validateName;
- const schemaCxt = {
- gen,
- allErrors: this.opts.allErrors,
- data: names_1.default.data,
- parentData: names_1.default.parentData,
- parentDataProperty: names_1.default.parentDataProperty,
- dataNames: [names_1.default.data],
- dataPathArr: [codegen_1.nil],
- dataLevel: 0,
- dataTypes: [],
- definedProperties: new Set(),
- topSchemaRef: gen.scopeValue("schema", this.opts.code.source === true
- ? { ref: sch.schema, code: (0, codegen_1.stringify)(sch.schema) }
- : { ref: sch.schema }),
- validateName,
- ValidationError: _ValidationError,
- schema: sch.schema,
- schemaEnv: sch,
- rootId,
- baseId: sch.baseId || rootId,
- schemaPath: codegen_1.nil,
- errSchemaPath: sch.schemaPath || (this.opts.jtd ? "" : "#"),
- errorPath: (0, codegen_1._) `""`,
- opts: this.opts,
- self: this,
- };
- let sourceCode;
- try {
- this._compilations.add(sch);
- (0, validate_1.validateFunctionCode)(schemaCxt);
- gen.optimize(this.opts.code.optimize);
- // gen.optimize(1)
- const validateCode = gen.toString();
- sourceCode = `${gen.scopeRefs(names_1.default.scope)}return ${validateCode}`;
- // console.log((codeSize += sourceCode.length), (nodeCount += gen.nodeCount))
- if (this.opts.code.process)
- sourceCode = this.opts.code.process(sourceCode, sch);
- // console.log("\n\n\n *** \n", sourceCode)
- const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);
- const validate = makeValidate(this, this.scope.get());
- this.scope.value(validateName, { ref: validate });
- validate.errors = null;
- validate.schema = sch.schema;
- validate.schemaEnv = sch;
- if (sch.$async)
- validate.$async = true;
- if (this.opts.code.source === true) {
- validate.source = { validateName, validateCode, scopeValues: gen._values };
- }
- if (this.opts.unevaluated) {
- const { props, items } = schemaCxt;
- validate.evaluated = {
- props: props instanceof codegen_1.Name ? undefined : props,
- items: items instanceof codegen_1.Name ? undefined : items,
- dynamicProps: props instanceof codegen_1.Name,
- dynamicItems: items instanceof codegen_1.Name,
- };
- if (validate.source)
- validate.source.evaluated = (0, codegen_1.stringify)(validate.evaluated);
- }
- sch.validate = validate;
- return sch;
- }
- catch (e) {
- delete sch.validate;
- delete sch.validateName;
- if (sourceCode)
- this.logger.error("Error compiling schema, function code:", sourceCode);
- // console.log("\n\n\n *** \n", sourceCode, this.opts)
- throw e;
- }
- finally {
- this._compilations.delete(sch);
- }
-}
-exports.compileSchema = compileSchema;
-function resolveRef(root, baseId, ref) {
- var _a;
- ref = (0, resolve_1.resolveUrl)(baseId, ref);
- const schOrFunc = root.refs[ref];
- if (schOrFunc)
- return schOrFunc;
- let _sch = resolve.call(this, root, ref);
- if (_sch === undefined) {
- const schema = (_a = root.localRefs) === null || _a === void 0 ? void 0 : _a[ref]; // TODO maybe localRefs should hold SchemaEnv
- const { schemaId } = this.opts;
- if (schema)
- _sch = new SchemaEnv({ schema, schemaId, root, baseId });
- }
- if (_sch === undefined)
- return;
- return (root.refs[ref] = inlineOrCompile.call(this, _sch));
-}
-exports.resolveRef = resolveRef;
-function inlineOrCompile(sch) {
- if ((0, resolve_1.inlineRef)(sch.schema, this.opts.inlineRefs))
- return sch.schema;
- return sch.validate ? sch : compileSchema.call(this, sch);
-}
-// Index of schema compilation in the currently compiled list
-function getCompilingSchema(schEnv) {
- for (const sch of this._compilations) {
- if (sameSchemaEnv(sch, schEnv))
- return sch;
- }
-}
-exports.getCompilingSchema = getCompilingSchema;
-function sameSchemaEnv(s1, s2) {
- return s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId;
-}
-// resolve and compile the references ($ref)
-// TODO returns AnySchemaObject (if the schema can be inlined) or validation function
-function resolve(root, // information about the root schema for the current schema
-ref // reference to resolve
-) {
- let sch;
- while (typeof (sch = this.refs[ref]) == "string")
- ref = sch;
- return sch || this.schemas[ref] || resolveSchema.call(this, root, ref);
-}
-// Resolve schema, its root and baseId
-function resolveSchema(root, // root object with properties schema, refs TODO below SchemaEnv is assigned to it
-ref // reference to resolve
-) {
- const p = URI.parse(ref);
- const refPath = (0, resolve_1._getFullPath)(p);
- let baseId = (0, resolve_1.getFullPath)(root.baseId);
- // TODO `Object.keys(root.schema).length > 0` should not be needed - but removing breaks 2 tests
- if (Object.keys(root.schema).length > 0 && refPath === baseId) {
- return getJsonPointer.call(this, p, root);
- }
- const id = (0, resolve_1.normalizeId)(refPath);
- const schOrRef = this.refs[id] || this.schemas[id];
- if (typeof schOrRef == "string") {
- const sch = resolveSchema.call(this, root, schOrRef);
- if (typeof (sch === null || sch === void 0 ? void 0 : sch.schema) !== "object")
- return;
- return getJsonPointer.call(this, p, sch);
- }
- if (typeof (schOrRef === null || schOrRef === void 0 ? void 0 : schOrRef.schema) !== "object")
- return;
- if (!schOrRef.validate)
- compileSchema.call(this, schOrRef);
- if (id === (0, resolve_1.normalizeId)(ref)) {
- const { schema } = schOrRef;
- const { schemaId } = this.opts;
- const schId = schema[schemaId];
- if (schId)
- baseId = (0, resolve_1.resolveUrl)(baseId, schId);
- return new SchemaEnv({ schema, schemaId, root, baseId });
- }
- return getJsonPointer.call(this, p, schOrRef);
-}
-exports.resolveSchema = resolveSchema;
-const PREVENT_SCOPE_CHANGE = new Set([
- "properties",
- "patternProperties",
- "enum",
- "dependencies",
- "definitions",
-]);
-function getJsonPointer(parsedRef, { baseId, schema, root }) {
- var _a;
- if (((_a = parsedRef.fragment) === null || _a === void 0 ? void 0 : _a[0]) !== "/")
- return;
- for (const part of parsedRef.fragment.slice(1).split("/")) {
- if (typeof schema === "boolean")
- return;
- const partSchema = schema[(0, util_1.unescapeFragment)(part)];
- if (partSchema === undefined)
- return;
- schema = partSchema;
- // TODO PREVENT_SCOPE_CHANGE could be defined in keyword def?
- const schId = typeof schema === "object" && schema[this.opts.schemaId];
- if (!PREVENT_SCOPE_CHANGE.has(part) && schId) {
- baseId = (0, resolve_1.resolveUrl)(baseId, schId);
- }
- }
- let env;
- if (typeof schema != "boolean" && schema.$ref && !(0, util_1.schemaHasRulesButRef)(schema, this.RULES)) {
- const $ref = (0, resolve_1.resolveUrl)(baseId, schema.$ref);
- env = resolveSchema.call(this, root, $ref);
- }
- // even though resolution failed we need to return SchemaEnv to throw exception
- // so that compileAsync loads missing schema.
- const { schemaId } = this.opts;
- env = env || new SchemaEnv({ schema, schemaId, root, baseId });
- if (env.schema !== env.root.schema)
- return env;
- return undefined;
-}
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.js.map
deleted file mode 100644
index 1876e51a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/compile/index.ts"],"names":[],"mappings":";;;AAUA,uCAAgF;AAChF,kEAAyD;AACzD,mCAAuB;AACvB,uCAAkG;AAClG,iCAA6D;AAC7D,yCAA+C;AAC/C,8BAA6B;AAyD7B,MAAa,SAAS;IAkBpB,YAAY,GAAkB;;QATrB,SAAI,GAAe,EAAE,CAAA;QACrB,mBAAc,GAA6B,EAAE,CAAA;QASpD,IAAI,MAAmC,CAAA;QACvC,IAAI,OAAO,GAAG,CAAC,MAAM,IAAI,QAAQ;YAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAA;QACtD,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAA;QACxB,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAA;QAC5B,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,IAAI,IAAI,CAAA;QAC5B,IAAI,CAAC,MAAM,GAAG,MAAA,GAAG,CAAC,MAAM,mCAAI,IAAA,qBAAW,EAAC,MAAM,aAAN,MAAM,uBAAN,M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a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.d.ts
deleted file mode 100644
index 618c64ae..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import type Ajv from "../../core";
-import { SchemaObjectMap } from "./types";
-import { SchemaEnv } from "..";
-export default function compileParser(this: Ajv, sch: SchemaEnv, definitions: SchemaObjectMap): SchemaEnv;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.js
deleted file mode 100644
index 96ab74de..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.js
+++ /dev/null
@@ -1,350 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const types_1 = require("./types");
-const __1 = require("..");
-const codegen_1 = require("../codegen");
-const ref_error_1 = require("../ref_error");
-const names_1 = require("../names");
-const code_1 = require("../../vocabularies/code");
-const ref_1 = require("../../vocabularies/jtd/ref");
-const type_1 = require("../../vocabularies/jtd/type");
-const parseJson_1 = require("../../runtime/parseJson");
-const util_1 = require("../util");
-const timestamp_1 = require("../../runtime/timestamp");
-const genParse = {
- elements: parseElements,
- values: parseValues,
- discriminator: parseDiscriminator,
- properties: parseProperties,
- optionalProperties: parseProperties,
- enum: parseEnum,
- type: parseType,
- ref: parseRef,
-};
-function compileParser(sch, definitions) {
- const _sch = __1.getCompilingSchema.call(this, sch);
- if (_sch)
- return _sch;
- const { es5, lines } = this.opts.code;
- const { ownProperties } = this.opts;
- const gen = new codegen_1.CodeGen(this.scope, { es5, lines, ownProperties });
- const parseName = gen.scopeName("parse");
- const cxt = {
- self: this,
- gen,
- schema: sch.schema,
- schemaEnv: sch,
- definitions,
- data: names_1.default.data,
- parseName,
- char: gen.name("c"),
- };
- let sourceCode;
- try {
- this._compilations.add(sch);
- sch.parseName = parseName;
- parserFunction(cxt);
- gen.optimize(this.opts.code.optimize);
- const parseFuncCode = gen.toString();
- sourceCode = `${gen.scopeRefs(names_1.default.scope)}return ${parseFuncCode}`;
- const makeParse = new Function(`${names_1.default.scope}`, sourceCode);
- const parse = makeParse(this.scope.get());
- this.scope.value(parseName, { ref: parse });
- sch.parse = parse;
- }
- catch (e) {
- if (sourceCode)
- this.logger.error("Error compiling parser, function code:", sourceCode);
- delete sch.parse;
- delete sch.parseName;
- throw e;
- }
- finally {
- this._compilations.delete(sch);
- }
- return sch;
-}
-exports.default = compileParser;
-const undef = (0, codegen_1._) `undefined`;
-function parserFunction(cxt) {
- const { gen, parseName, char } = cxt;
- gen.func(parseName, (0, codegen_1._) `${names_1.default.json}, ${names_1.default.jsonPos}, ${names_1.default.jsonPart}`, false, () => {
- gen.let(names_1.default.data);
- gen.let(char);
- gen.assign((0, codegen_1._) `${parseName}.message`, undef);
- gen.assign((0, codegen_1._) `${parseName}.position`, undef);
- gen.assign(names_1.default.jsonPos, (0, codegen_1._) `${names_1.default.jsonPos} || 0`);
- gen.const(names_1.default.jsonLen, (0, codegen_1._) `${names_1.default.json}.length`);
- parseCode(cxt);
- skipWhitespace(cxt);
- gen.if(names_1.default.jsonPart, () => {
- gen.assign((0, codegen_1._) `${parseName}.position`, names_1.default.jsonPos);
- gen.return(names_1.default.data);
- });
- gen.if((0, codegen_1._) `${names_1.default.jsonPos} === ${names_1.default.jsonLen}`, () => gen.return(names_1.default.data));
- jsonSyntaxError(cxt);
- });
-}
-function parseCode(cxt) {
- let form;
- for (const key of types_1.jtdForms) {
- if (key in cxt.schema) {
- form = key;
- break;
- }
- }
- if (form)
- parseNullable(cxt, genParse[form]);
- else
- parseEmpty(cxt);
-}
-const parseBoolean = parseBooleanToken(true, parseBooleanToken(false, jsonSyntaxError));
-function parseNullable(cxt, parseForm) {
- const { gen, schema, data } = cxt;
- if (!schema.nullable)
- return parseForm(cxt);
- tryParseToken(cxt, "null", parseForm, () => gen.assign(data, null));
-}
-function parseElements(cxt) {
- const { gen, schema, data } = cxt;
- parseToken(cxt, "[");
- const ix = gen.let("i", 0);
- gen.assign(data, (0, codegen_1._) `[]`);
- parseItems(cxt, "]", () => {
- const el = gen.let("el");
- parseCode({ ...cxt, schema: schema.elements, data: el });
- gen.assign((0, codegen_1._) `${data}[${ix}++]`, el);
- });
-}
-function parseValues(cxt) {
- const { gen, schema, data } = cxt;
- parseToken(cxt, "{");
- gen.assign(data, (0, codegen_1._) `{}`);
- parseItems(cxt, "}", () => parseKeyValue(cxt, schema.values));
-}
-function parseItems(cxt, endToken, block) {
- tryParseItems(cxt, endToken, block);
- parseToken(cxt, endToken);
-}
-function tryParseItems(cxt, endToken, block) {
- const { gen } = cxt;
- gen.for((0, codegen_1._) `;${names_1.default.jsonPos}<${names_1.default.jsonLen} && ${jsonSlice(1)}!==${endToken};`, () => {
- block();
- tryParseToken(cxt, ",", () => gen.break(), hasItem);
- });
- function hasItem() {
- tryParseToken(cxt, endToken, () => { }, jsonSyntaxError);
- }
-}
-function parseKeyValue(cxt, schema) {
- const { gen } = cxt;
- const key = gen.let("key");
- parseString({ ...cxt, data: key });
- parseToken(cxt, ":");
- parsePropertyValue(cxt, key, schema);
-}
-function parseDiscriminator(cxt) {
- const { gen, data, schema } = cxt;
- const { discriminator, mapping } = schema;
- parseToken(cxt, "{");
- gen.assign(data, (0, codegen_1._) `{}`);
- const startPos = gen.const("pos", names_1.default.jsonPos);
- const value = gen.let("value");
- const tag = gen.let("tag");
- tryParseItems(cxt, "}", () => {
- const key = gen.let("key");
- parseString({ ...cxt, data: key });
- parseToken(cxt, ":");
- gen.if((0, codegen_1._) `${key} === ${discriminator}`, () => {
- parseString({ ...cxt, data: tag });
- gen.assign((0, codegen_1._) `${data}[${key}]`, tag);
- gen.break();
- }, () => parseEmpty({ ...cxt, data: value }) // can be discarded/skipped
- );
- });
- gen.assign(names_1.default.jsonPos, startPos);
- gen.if((0, codegen_1._) `${tag} === undefined`);
- parsingError(cxt, (0, codegen_1.str) `discriminator tag not found`);
- for (const tagValue in mapping) {
- gen.elseIf((0, codegen_1._) `${tag} === ${tagValue}`);
- parseSchemaProperties({ ...cxt, schema: mapping[tagValue] }, discriminator);
- }
- gen.else();
- parsingError(cxt, (0, codegen_1.str) `discriminator value not in schema`);
- gen.endIf();
-}
-function parseProperties(cxt) {
- const { gen, data } = cxt;
- parseToken(cxt, "{");
- gen.assign(data, (0, codegen_1._) `{}`);
- parseSchemaProperties(cxt);
-}
-function parseSchemaProperties(cxt, discriminator) {
- const { gen, schema, data } = cxt;
- const { properties, optionalProperties, additionalProperties } = schema;
- parseItems(cxt, "}", () => {
- const key = gen.let("key");
- parseString({ ...cxt, data: key });
- parseToken(cxt, ":");
- gen.if(false);
- parseDefinedProperty(cxt, key, properties);
- parseDefinedProperty(cxt, key, optionalProperties);
- if (discriminator) {
- gen.elseIf((0, codegen_1._) `${key} === ${discriminator}`);
- const tag = gen.let("tag");
- parseString({ ...cxt, data: tag }); // can be discarded, it is already assigned
- }
- gen.else();
- if (additionalProperties) {
- parseEmpty({ ...cxt, data: (0, codegen_1._) `${data}[${key}]` });
- }
- else {
- parsingError(cxt, (0, codegen_1.str) `property ${key} not allowed`);
- }
- gen.endIf();
- });
- if (properties) {
- const hasProp = (0, code_1.hasPropFunc)(gen);
- const allProps = (0, codegen_1.and)(...Object.keys(properties).map((p) => (0, codegen_1._) `${hasProp}.call(${data}, ${p})`));
- gen.if((0, codegen_1.not)(allProps), () => parsingError(cxt, (0, codegen_1.str) `missing required properties`));
- }
-}
-function parseDefinedProperty(cxt, key, schemas = {}) {
- const { gen } = cxt;
- for (const prop in schemas) {
- gen.elseIf((0, codegen_1._) `${key} === ${prop}`);
- parsePropertyValue(cxt, key, schemas[prop]);
- }
-}
-function parsePropertyValue(cxt, key, schema) {
- parseCode({ ...cxt, schema, data: (0, codegen_1._) `${cxt.data}[${key}]` });
-}
-function parseType(cxt) {
- const { gen, schema, data, self } = cxt;
- switch (schema.type) {
- case "boolean":
- parseBoolean(cxt);
- break;
- case "string":
- parseString(cxt);
- break;
- case "timestamp": {
- parseString(cxt);
- const vts = (0, util_1.useFunc)(gen, timestamp_1.default);
- const { allowDate, parseDate } = self.opts;
- const notValid = allowDate ? (0, codegen_1._) `!${vts}(${data}, true)` : (0, codegen_1._) `!${vts}(${data})`;
- const fail = parseDate
- ? (0, codegen_1.or)(notValid, (0, codegen_1._) `(${data} = new Date(${data}), false)`, (0, codegen_1._) `isNaN(${data}.valueOf())`)
- : notValid;
- gen.if(fail, () => parsingError(cxt, (0, codegen_1.str) `invalid timestamp`));
- break;
- }
- case "float32":
- case "float64":
- parseNumber(cxt);
- break;
- default: {
- const t = schema.type;
- if (!self.opts.int32range && (t === "int32" || t === "uint32")) {
- parseNumber(cxt, 16); // 2 ** 53 - max safe integer
- if (t === "uint32") {
- gen.if((0, codegen_1._) `${data} < 0`, () => parsingError(cxt, (0, codegen_1.str) `integer out of range`));
- }
- }
- else {
- const [min, max, maxDigits] = type_1.intRange[t];
- parseNumber(cxt, maxDigits);
- gen.if((0, codegen_1._) `${data} < ${min} || ${data} > ${max}`, () => parsingError(cxt, (0, codegen_1.str) `integer out of range`));
- }
- }
- }
-}
-function parseString(cxt) {
- parseToken(cxt, '"');
- parseWith(cxt, parseJson_1.parseJsonString);
-}
-function parseEnum(cxt) {
- const { gen, data, schema } = cxt;
- const enumSch = schema.enum;
- parseToken(cxt, '"');
- // TODO loopEnum
- gen.if(false);
- for (const value of enumSch) {
- const valueStr = JSON.stringify(value).slice(1); // remove starting quote
- gen.elseIf((0, codegen_1._) `${jsonSlice(valueStr.length)} === ${valueStr}`);
- gen.assign(data, (0, codegen_1.str) `${value}`);
- gen.add(names_1.default.jsonPos, valueStr.length);
- }
- gen.else();
- jsonSyntaxError(cxt);
- gen.endIf();
-}
-function parseNumber(cxt, maxDigits) {
- const { gen } = cxt;
- skipWhitespace(cxt);
- gen.if((0, codegen_1._) `"-0123456789".indexOf(${jsonSlice(1)}) < 0`, () => jsonSyntaxError(cxt), () => parseWith(cxt, parseJson_1.parseJsonNumber, maxDigits));
-}
-function parseBooleanToken(bool, fail) {
- return (cxt) => {
- const { gen, data } = cxt;
- tryParseToken(cxt, `${bool}`, () => fail(cxt), () => gen.assign(data, bool));
- };
-}
-function parseRef(cxt) {
- const { gen, self, definitions, schema, schemaEnv } = cxt;
- const { ref } = schema;
- const refSchema = definitions[ref];
- if (!refSchema)
- throw new ref_error_1.default("", ref, `No definition ${ref}`);
- if (!(0, ref_1.hasRef)(refSchema))
- return parseCode({ ...cxt, schema: refSchema });
- const { root } = schemaEnv;
- const sch = compileParser.call(self, new __1.SchemaEnv({ schema: refSchema, root }), definitions);
- partialParse(cxt, getParser(gen, sch), true);
-}
-function getParser(gen, sch) {
- return sch.parse
- ? gen.scopeValue("parse", { ref: sch.parse })
- : (0, codegen_1._) `${gen.scopeValue("wrapper", { ref: sch })}.parse`;
-}
-function parseEmpty(cxt) {
- parseWith(cxt, parseJson_1.parseJson);
-}
-function parseWith(cxt, parseFunc, args) {
- partialParse(cxt, (0, util_1.useFunc)(cxt.gen, parseFunc), args);
-}
-function partialParse(cxt, parseFunc, args) {
- const { gen, data } = cxt;
- gen.assign(data, (0, codegen_1._) `${parseFunc}(${names_1.default.json}, ${names_1.default.jsonPos}${args ? (0, codegen_1._) `, ${args}` : codegen_1.nil})`);
- gen.assign(names_1.default.jsonPos, (0, codegen_1._) `${parseFunc}.position`);
- gen.if((0, codegen_1._) `${data} === undefined`, () => parsingError(cxt, (0, codegen_1._) `${parseFunc}.message`));
-}
-function parseToken(cxt, tok) {
- tryParseToken(cxt, tok, jsonSyntaxError);
-}
-function tryParseToken(cxt, tok, fail, success) {
- const { gen } = cxt;
- const n = tok.length;
- skipWhitespace(cxt);
- gen.if((0, codegen_1._) `${jsonSlice(n)} === ${tok}`, () => {
- gen.add(names_1.default.jsonPos, n);
- success === null || success === void 0 ? void 0 : success(cxt);
- }, () => fail(cxt));
-}
-function skipWhitespace({ gen, char: c }) {
- gen.code((0, codegen_1._) `while((${c}=${names_1.default.json}[${names_1.default.jsonPos}],${c}===" "||${c}==="\\n"||${c}==="\\r"||${c}==="\\t"))${names_1.default.jsonPos}++;`);
-}
-function jsonSlice(len) {
- return len === 1
- ? (0, codegen_1._) `${names_1.default.json}[${names_1.default.jsonPos}]`
- : (0, codegen_1._) `${names_1.default.json}.slice(${names_1.default.jsonPos}, ${names_1.default.jsonPos}+${len})`;
-}
-function jsonSyntaxError(cxt) {
- parsingError(cxt, (0, codegen_1._) `"unexpected token " + ${names_1.default.json}[${names_1.default.jsonPos}]`);
-}
-function parsingError({ gen, parseName }, msg) {
- gen.assign((0, codegen_1._) `${parseName}.message`, msg);
- gen.assign((0, codegen_1._) `${parseName}.position`, names_1.default.jsonPos);
- gen.return(undef);
-}
-//# sourceMappingURL=parse.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.js.map
deleted file mode 100644
index 24a59a41..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/parse.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"parse.js","sourceRoot":"","sources":["../../../lib/compile/jtd/parse.ts"],"names":[],"mappings":";;AAEA,mCAA0D;AAC1D,0BAAgD;AAChD,wCAAmF;AACnF,4CAA0C;AAC1C,oCAAwB;AACxB,kDAAmD;AACnD,oDAAiD;AACjD,sDAA6D;AAC7D,uDAAmF;AACnF,kCAA+B;AAC/B,uDAAoD;AAIpD,MAAM,QAAQ,GAA+B;IAC3C,QAAQ,EAAE,aAAa;IACvB,MAAM,EAAE,WAAW;IACnB,aAAa,EAAE,kBAAkB;IACjC,UAAU,EAAE,eAAe;IAC3B,kBAAkB,EAAE,eAAe;IACnC,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,GAAG,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CAAC,OAAO,GAAG;QAC5B,CAAC,CAAC,IAAA,WAAC,EAAA,GAAG,eAAC,CAAC,IAAI,UAAU,eAAC,CAAC,OAAO,KAAK,eAAC,CAAC,OAAO,IAAI,GAAG,GAAG,CAAA;AAC3D,CAAC;AAED,SAAS,eAAe,CAAC,GAAa;IACpC,YAAY,CAAC,GAAG,EAAE,IAAA,WAAC,EAAA,yBAAyB,eAAC,CAAC,IAAI,IAAI,eAAC,CAAC,OAAO,GAAG,CAAC,CAAA;AACrE,CAAC;AAED,SAAS,YAAY,CAAC,EAAC,GAAG,EAAE,SAAS,EAAW,EAAE,GAAS;IACzD,GAAG,CAAC,MAAM,CAAC,IAAA,WAAC,EAAA,GAAG,SAAS,UAAU,EAAE,GAAG,CAAC,CAAA;IACxC,GAAG,CAAC,MAAM,CAAC,IAAA,WAAC,EAAA,GAAG,SAAS,WAAW,EAAE,eAAC,CAAC,OAAO,CAAC,CAAA;IAC/C,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;AACnB,CAAC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.d.ts
deleted file mode 100644
index b0413d71..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import type Ajv from "../../core";
-import { SchemaObjectMap } from "./types";
-import { SchemaEnv } from "..";
-export default function compileSerializer(this: Ajv, sch: SchemaEnv, definitions: SchemaObjectMap): SchemaEnv;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.js
deleted file mode 100644
index a8961785..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.js
+++ /dev/null
@@ -1,218 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const types_1 = require("./types");
-const __1 = require("..");
-const codegen_1 = require("../codegen");
-const ref_error_1 = require("../ref_error");
-const names_1 = require("../names");
-const code_1 = require("../../vocabularies/code");
-const ref_1 = require("../../vocabularies/jtd/ref");
-const util_1 = require("../util");
-const quote_1 = require("../../runtime/quote");
-const genSerialize = {
- elements: serializeElements,
- values: serializeValues,
- discriminator: serializeDiscriminator,
- properties: serializeProperties,
- optionalProperties: serializeProperties,
- enum: serializeString,
- type: serializeType,
- ref: serializeRef,
-};
-function compileSerializer(sch, definitions) {
- const _sch = __1.getCompilingSchema.call(this, sch);
- if (_sch)
- return _sch;
- const { es5, lines } = this.opts.code;
- const { ownProperties } = this.opts;
- const gen = new codegen_1.CodeGen(this.scope, { es5, lines, ownProperties });
- const serializeName = gen.scopeName("serialize");
- const cxt = {
- self: this,
- gen,
- schema: sch.schema,
- schemaEnv: sch,
- definitions,
- data: names_1.default.data,
- };
- let sourceCode;
- try {
- this._compilations.add(sch);
- sch.serializeName = serializeName;
- gen.func(serializeName, names_1.default.data, false, () => {
- gen.let(names_1.default.json, (0, codegen_1.str) ``);
- serializeCode(cxt);
- gen.return(names_1.default.json);
- });
- gen.optimize(this.opts.code.optimize);
- const serializeFuncCode = gen.toString();
- sourceCode = `${gen.scopeRefs(names_1.default.scope)}return ${serializeFuncCode}`;
- const makeSerialize = new Function(`${names_1.default.scope}`, sourceCode);
- const serialize = makeSerialize(this.scope.get());
- this.scope.value(serializeName, { ref: serialize });
- sch.serialize = serialize;
- }
- catch (e) {
- if (sourceCode)
- this.logger.error("Error compiling serializer, function code:", sourceCode);
- delete sch.serialize;
- delete sch.serializeName;
- throw e;
- }
- finally {
- this._compilations.delete(sch);
- }
- return sch;
-}
-exports.default = compileSerializer;
-function serializeCode(cxt) {
- let form;
- for (const key of types_1.jtdForms) {
- if (key in cxt.schema) {
- form = key;
- break;
- }
- }
- serializeNullable(cxt, form ? genSerialize[form] : serializeEmpty);
-}
-function serializeNullable(cxt, serializeForm) {
- const { gen, schema, data } = cxt;
- if (!schema.nullable)
- return serializeForm(cxt);
- gen.if((0, codegen_1._) `${data} === undefined || ${data} === null`, () => gen.add(names_1.default.json, (0, codegen_1._) `"null"`), () => serializeForm(cxt));
-}
-function serializeElements(cxt) {
- const { gen, schema, data } = cxt;
- gen.add(names_1.default.json, (0, codegen_1.str) `[`);
- const first = gen.let("first", true);
- gen.forOf("el", data, (el) => {
- addComma(cxt, first);
- serializeCode({ ...cxt, schema: schema.elements, data: el });
- });
- gen.add(names_1.default.json, (0, codegen_1.str) `]`);
-}
-function serializeValues(cxt) {
- const { gen, schema, data } = cxt;
- gen.add(names_1.default.json, (0, codegen_1.str) `{`);
- const first = gen.let("first", true);
- gen.forIn("key", data, (key) => serializeKeyValue(cxt, key, schema.values, first));
- gen.add(names_1.default.json, (0, codegen_1.str) `}`);
-}
-function serializeKeyValue(cxt, key, schema, first) {
- const { gen, data } = cxt;
- addComma(cxt, first);
- serializeString({ ...cxt, data: key });
- gen.add(names_1.default.json, (0, codegen_1.str) `:`);
- const value = gen.const("value", (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(key)}`);
- serializeCode({ ...cxt, schema, data: value });
-}
-function serializeDiscriminator(cxt) {
- const { gen, schema, data } = cxt;
- const { discriminator } = schema;
- gen.add(names_1.default.json, (0, codegen_1.str) `{${JSON.stringify(discriminator)}:`);
- const tag = gen.const("tag", (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(discriminator)}`);
- serializeString({ ...cxt, data: tag });
- gen.if(false);
- for (const tagValue in schema.mapping) {
- gen.elseIf((0, codegen_1._) `${tag} === ${tagValue}`);
- const sch = schema.mapping[tagValue];
- serializeSchemaProperties({ ...cxt, schema: sch }, discriminator);
- }
- gen.endIf();
- gen.add(names_1.default.json, (0, codegen_1.str) `}`);
-}
-function serializeProperties(cxt) {
- const { gen } = cxt;
- gen.add(names_1.default.json, (0, codegen_1.str) `{`);
- serializeSchemaProperties(cxt);
- gen.add(names_1.default.json, (0, codegen_1.str) `}`);
-}
-function serializeSchemaProperties(cxt, discriminator) {
- const { gen, schema, data } = cxt;
- const { properties, optionalProperties } = schema;
- const props = keys(properties);
- const optProps = keys(optionalProperties);
- const allProps = allProperties(props.concat(optProps));
- let first = !discriminator;
- for (const key of props) {
- serializeProperty(key, properties[key], keyValue(key));
- }
- for (const key of optProps) {
- const value = keyValue(key);
- gen.if((0, codegen_1.and)((0, codegen_1._) `${value} !== undefined`, (0, code_1.isOwnProperty)(gen, data, key)), () => serializeProperty(key, optionalProperties[key], value));
- }
- if (schema.additionalProperties) {
- gen.forIn("key", data, (key) => gen.if(isAdditional(key, allProps), () => serializeKeyValue(cxt, key, {}, gen.let("first", first))));
- }
- function keys(ps) {
- return ps ? Object.keys(ps) : [];
- }
- function allProperties(ps) {
- if (discriminator)
- ps.push(discriminator);
- if (new Set(ps).size !== ps.length) {
- throw new Error("JTD: properties/optionalProperties/disciminator overlap");
- }
- return ps;
- }
- function keyValue(key) {
- return gen.const("value", (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(key)}`);
- }
- function serializeProperty(key, propSchema, value) {
- if (first)
- first = false;
- else
- gen.add(names_1.default.json, (0, codegen_1.str) `,`);
- gen.add(names_1.default.json, (0, codegen_1.str) `${JSON.stringify(key)}:`);
- serializeCode({ ...cxt, schema: propSchema, data: value });
- }
- function isAdditional(key, ps) {
- return ps.length ? (0, codegen_1.and)(...ps.map((p) => (0, codegen_1._) `${key} !== ${p}`)) : true;
- }
-}
-function serializeType(cxt) {
- const { gen, schema, data } = cxt;
- switch (schema.type) {
- case "boolean":
- gen.add(names_1.default.json, (0, codegen_1._) `${data} ? "true" : "false"`);
- break;
- case "string":
- serializeString(cxt);
- break;
- case "timestamp":
- gen.if((0, codegen_1._) `${data} instanceof Date`, () => gen.add(names_1.default.json, (0, codegen_1._) `'"' + ${data}.toISOString() + '"'`), () => serializeString(cxt));
- break;
- default:
- serializeNumber(cxt);
- }
-}
-function serializeString({ gen, data }) {
- gen.add(names_1.default.json, (0, codegen_1._) `${(0, util_1.useFunc)(gen, quote_1.default)}(${data})`);
-}
-function serializeNumber({ gen, data }) {
- gen.add(names_1.default.json, (0, codegen_1._) `"" + ${data}`);
-}
-function serializeRef(cxt) {
- const { gen, self, data, definitions, schema, schemaEnv } = cxt;
- const { ref } = schema;
- const refSchema = definitions[ref];
- if (!refSchema)
- throw new ref_error_1.default("", ref, `No definition ${ref}`);
- if (!(0, ref_1.hasRef)(refSchema))
- return serializeCode({ ...cxt, schema: refSchema });
- const { root } = schemaEnv;
- const sch = compileSerializer.call(self, new __1.SchemaEnv({ schema: refSchema, root }), definitions);
- gen.add(names_1.default.json, (0, codegen_1._) `${getSerialize(gen, sch)}(${data})`);
-}
-function getSerialize(gen, sch) {
- return sch.serialize
- ? gen.scopeValue("serialize", { ref: sch.serialize })
- : (0, codegen_1._) `${gen.scopeValue("wrapper", { ref: sch })}.serialize`;
-}
-function serializeEmpty({ gen, data }) {
- gen.add(names_1.default.json, (0, codegen_1._) `JSON.stringify(${data})`);
-}
-function addComma({ gen }, first) {
- gen.if(first, () => gen.assign(first, false), () => gen.add(names_1.default.json, (0, codegen_1.str) `,`));
-}
-//# sourceMappingURL=serialize.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.js.map
deleted file mode 100644
index daea454c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/serialize.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"serialize.js","sourceRoot":"","sources":["../../../lib/compile/jtd/serialize.ts"],"names":[],"mappings":";;AAEA,mCAA0D;AAC1D,0BAAgD;AAChD,wCAAwE;AACxE,4CAA0C;AAC1C,oCAAwB;AACxB,kDAAqD;AACrD,oDAAiD;AACjD,kCAA+B;AAC/B,+CAAuC;AAEvC,MAAM,YAAY,GAAkD;IAClE,QAAQ,E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IAAI,GAAG,CAAC,CAAA;AAC7C,CAAC;AAED,SAAS,QAAQ,CAAC,EAAC,GAAG,EAAe,EAAE,KAAW;IAChD,GAAG,CAAC,EAAE,CACJ,KAAK,EACL,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,EAC9B,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,eAAC,CAAC,IAAI,EAAE,IAAA,aAAG,EAAA,GAAG,CAAC,CAC9B,CAAA;AACH,CAAC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.d.ts
deleted file mode 100644
index 38c8bea7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { SchemaObject } from "../../types";
-export declare type SchemaObjectMap = {
- [Ref in string]?: SchemaObject;
-};
-export declare const jtdForms: readonly ["elements", "values", "discriminator", "properties", "optionalProperties", "enum", "type", "ref"];
-export declare type JTDForm = typeof jtdForms[number];
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.js
deleted file mode 100644
index b9c60a90..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.js
+++ /dev/null
@@ -1,14 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.jtdForms = void 0;
-exports.jtdForms = [
- "elements",
- "values",
- "discriminator",
- "properties",
- "optionalProperties",
- "enum",
- "type",
- "ref",
-];
-//# sourceMappingURL=types.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.js.map
deleted file mode 100644
index 53439e00..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/jtd/types.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../lib/compile/jtd/types.ts"],"names":[],"mappings":";;;AAIa,QAAA,QAAQ,GAAG;IACtB,UAAU;IACV,QAAQ;IACR,eAAe;IACf,YAAY;IACZ,oBAAoB;IACpB,MAAM;IACN,MAAM;IACN,KAAK;CACG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.d.ts
deleted file mode 100644
index 5740e82c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { Name } from "./codegen";
-declare const names: {
- data: Name;
- valCxt: Name;
- instancePath: Name;
- parentData: Name;
- parentDataProperty: Name;
- rootData: Name;
- dynamicAnchors: Name;
- vErrors: Name;
- errors: Name;
- this: Name;
- self: Name;
- scope: Name;
- json: Name;
- jsonPos: Name;
- jsonLen: Name;
- jsonPart: Name;
-};
-export default names;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.js
deleted file mode 100644
index 015334bd..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.js
+++ /dev/null
@@ -1,28 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("./codegen");
-const names = {
- // validation function arguments
- data: new codegen_1.Name("data"),
- // args passed from referencing schema
- valCxt: new codegen_1.Name("valCxt"),
- instancePath: new codegen_1.Name("instancePath"),
- parentData: new codegen_1.Name("parentData"),
- parentDataProperty: new codegen_1.Name("parentDataProperty"),
- rootData: new codegen_1.Name("rootData"),
- dynamicAnchors: new codegen_1.Name("dynamicAnchors"),
- // function scoped variables
- vErrors: new codegen_1.Name("vErrors"),
- errors: new codegen_1.Name("errors"),
- this: new codegen_1.Name("this"),
- // "globals"
- self: new codegen_1.Name("self"),
- scope: new codegen_1.Name("scope"),
- // JTD serialize/parse name for JSON string and position
- json: new codegen_1.Name("json"),
- jsonPos: new codegen_1.Name("jsonPos"),
- jsonLen: new codegen_1.Name("jsonLen"),
- jsonPart: new codegen_1.Name("jsonPart"),
-};
-exports.default = names;
-//# sourceMappingURL=names.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.js.map
deleted file mode 100644
index 9bbe8e27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/names.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"names.js","sourceRoot":"","sources":["../../lib/compile/names.ts"],"names":[],"mappings":";;AAAA,uCAA8B;AAE9B,MAAM,KAAK,GAAG;IACZ,gCAAgC;IAChC,IAAI,EAAE,IAAI,cAAI,CAAC,MAAM,CAAC;IACtB,sCAAsC;IACtC,MAAM,EAAE,IAAI,cAAI,CAAC,QAAQ,CAAC;IAC1B,YAAY,EAAE,IAAI,cAAI,CAAC,cAAc,CAAC;IACtC,UAAU,EAAE,IAAI,cAAI,CAAC,YAAY,CAAC;IAClC,kBAAkB,EAAE,IAAI,cAAI,CAAC,oBAAoB,CAAC;IAClD,QAAQ,EAAE,IAAI,cAAI,CAAC,UAAU,CAAC;IAC9B,cAAc,EAAE,IAAI,cAAI,CAAC,gBAAgB,CAAC;IAC1C,4BAA4B;IAC5B,OAAO,EAAE,IAAI,cAAI,CAAC,SAAS,CAAC;IAC5B,MAAM,EAAE,IAAI,cAAI,CAAC,QAAQ,CAAC;IAC1B,IAAI,EAAE,IAAI,cAAI,CAAC,MAAM,CAAC;IACtB,YAAY;IACZ,IAAI,EAAE,IAAI,cAAI,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,IAAI,cAAI,CAAC,OAAO,CAAC;IACxB,wDAAwD;IACxD,IAAI,EAAE,IAAI,cAAI,CAAC,MAAM,CAAC;IACtB,OAAO,EAAE,IAAI,cAAI,CAAC,SAAS,CAAC;IAC5B,OAAO,EAAE,IAAI,cAAI,CAAC,SAAS,CAAC;IAC5B,QAAQ,EAAE,IAAI,cAAI,CAAC,UAAU,CAAC;CAC/B,CAAA;AAED,kBAAe,KAAK,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.d.ts
deleted file mode 100644
index 33e06e6e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export default class MissingRefError extends Error {
- readonly missingRef: string;
- readonly missingSchema: string;
- constructor(baseId: string, ref: string, msg?: string);
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.js
deleted file mode 100644
index e71faa08..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const resolve_1 = require("./resolve");
-class MissingRefError extends Error {
- constructor(baseId, ref, msg) {
- super(msg || `can't resolve reference ${ref} from id ${baseId}`);
- this.missingRef = (0, resolve_1.resolveUrl)(baseId, ref);
- this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(this.missingRef));
- }
-}
-exports.default = MissingRefError;
-//# sourceMappingURL=ref_error.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.js.map
deleted file mode 100644
index 9d53a253..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/ref_error.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ref_error.js","sourceRoot":"","sources":["../../lib/compile/ref_error.ts"],"names":[],"mappings":";;AAAA,uCAA8D;AAE9D,MAAqB,eAAgB,SAAQ,KAAK;IAIhD,YAAY,MAAc,EAAE,GAAW,EAAE,GAAY;QACnD,KAAK,CAAC,GAAG,IAAI,2BAA2B,GAAG,YAAY,MAAM,EAAE,CAAC,CAAA;QAChE,IAAI,CAAC,UAAU,GAAG,IAAA,oBAAU,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;QACzC,IAAI,CAAC,aAAa,GAAG,IAAA,qBAAW,EAAC,IAAA,qBAAW,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAA;IAChE,CAAC;CACF;AATD,kCASC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.d.ts
deleted file mode 100644
index 38c29170..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { AnySchema, AnySchemaObject } from "../types";
-import type Ajv from "../ajv";
-import * as URI from "uri-js";
-export declare type LocalRefs = {
- [Ref in string]?: AnySchemaObject;
-};
-export declare function inlineRef(schema: AnySchema, limit?: boolean | number): boolean;
-export declare function getFullPath(id?: string, normalize?: boolean): string;
-export declare function _getFullPath(p: URI.URIComponents): string;
-export declare function normalizeId(id: string | undefined): string;
-export declare function resolveUrl(baseId: string, id: string): string;
-export declare function getSchemaRefs(this: Ajv, schema: AnySchema, baseId: string): LocalRefs;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.js
deleted file mode 100644
index f5b8a881..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.js
+++ /dev/null
@@ -1,153 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
-const util_1 = require("./util");
-const equal = require("fast-deep-equal");
-const traverse = require("json-schema-traverse");
-const URI = require("uri-js");
-// TODO refactor to use keyword definitions
-const SIMPLE_INLINED = new Set([
- "type",
- "format",
- "pattern",
- "maxLength",
- "minLength",
- "maxProperties",
- "minProperties",
- "maxItems",
- "minItems",
- "maximum",
- "minimum",
- "uniqueItems",
- "multipleOf",
- "required",
- "enum",
- "const",
-]);
-function inlineRef(schema, limit = true) {
- if (typeof schema == "boolean")
- return true;
- if (limit === true)
- return !hasRef(schema);
- if (!limit)
- return false;
- return countKeys(schema) <= limit;
-}
-exports.inlineRef = inlineRef;
-const REF_KEYWORDS = new Set([
- "$ref",
- "$recursiveRef",
- "$recursiveAnchor",
- "$dynamicRef",
- "$dynamicAnchor",
-]);
-function hasRef(schema) {
- for (const key in schema) {
- if (REF_KEYWORDS.has(key))
- return true;
- const sch = schema[key];
- if (Array.isArray(sch) && sch.some(hasRef))
- return true;
- if (typeof sch == "object" && hasRef(sch))
- return true;
- }
- return false;
-}
-function countKeys(schema) {
- let count = 0;
- for (const key in schema) {
- if (key === "$ref")
- return Infinity;
- count++;
- if (SIMPLE_INLINED.has(key))
- continue;
- if (typeof schema[key] == "object") {
- (0, util_1.eachItem)(schema[key], (sch) => (count += countKeys(sch)));
- }
- if (count === Infinity)
- return Infinity;
- }
- return count;
-}
-function getFullPath(id = "", normalize) {
- if (normalize !== false)
- id = normalizeId(id);
- const p = URI.parse(id);
- return _getFullPath(p);
-}
-exports.getFullPath = getFullPath;
-function _getFullPath(p) {
- return URI.serialize(p).split("#")[0] + "#";
-}
-exports._getFullPath = _getFullPath;
-const TRAILING_SLASH_HASH = /#\/?$/;
-function normalizeId(id) {
- return id ? id.replace(TRAILING_SLASH_HASH, "") : "";
-}
-exports.normalizeId = normalizeId;
-function resolveUrl(baseId, id) {
- id = normalizeId(id);
- return URI.resolve(baseId, id);
-}
-exports.resolveUrl = resolveUrl;
-const ANCHOR = /^[a-z_][-a-z0-9._]*$/i;
-function getSchemaRefs(schema, baseId) {
- if (typeof schema == "boolean")
- return {};
- const { schemaId } = this.opts;
- const schId = normalizeId(schema[schemaId] || baseId);
- const baseIds = { "": schId };
- const pathPrefix = getFullPath(schId, false);
- const localRefs = {};
- const schemaRefs = new Set();
- traverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => {
- if (parentJsonPtr === undefined)
- return;
- const fullPath = pathPrefix + jsonPtr;
- let baseId = baseIds[parentJsonPtr];
- if (typeof sch[schemaId] == "string")
- baseId = addRef.call(this, sch[schemaId]);
- addAnchor.call(this, sch.$anchor);
- addAnchor.call(this, sch.$dynamicAnchor);
- baseIds[jsonPtr] = baseId;
- function addRef(ref) {
- ref = normalizeId(baseId ? URI.resolve(baseId, ref) : ref);
- if (schemaRefs.has(ref))
- throw ambiguos(ref);
- schemaRefs.add(ref);
- let schOrRef = this.refs[ref];
- if (typeof schOrRef == "string")
- schOrRef = this.refs[schOrRef];
- if (typeof schOrRef == "object") {
- checkAmbiguosRef(sch, schOrRef.schema, ref);
- }
- else if (ref !== normalizeId(fullPath)) {
- if (ref[0] === "#") {
- checkAmbiguosRef(sch, localRefs[ref], ref);
- localRefs[ref] = sch;
- }
- else {
- this.refs[ref] = fullPath;
- }
- }
- return ref;
- }
- function addAnchor(anchor) {
- if (typeof anchor == "string") {
- if (!ANCHOR.test(anchor))
- throw new Error(`invalid anchor "${anchor}"`);
- addRef.call(this, `#${anchor}`);
- }
- }
- });
- return localRefs;
- function checkAmbiguosRef(sch1, sch2, ref) {
- if (sch2 !== undefined && !equal(sch1, sch2))
- throw ambiguos(ref);
- }
- function ambiguos(ref) {
- return new Error(`reference "${ref}" resolves to more than one schema`);
- }
-}
-exports.getSchemaRefs = getSchemaRefs;
-//# sourceMappingURL=resolve.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.js.map
deleted file mode 100644
index bfaee43d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/resolve.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"resolve.js","sourceRoot":"","sources":["../../lib/compile/resolve.ts"],"names":[],"mappings":";;;AAEA,iCAA+B;AAC/B,yCAAwC;AACxC,iDAAgD;AAChD,8BAA6B;AAK7B,2CAA2C;AAC3C,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC;IAC7B,MAAM;IACN,QAAQ;IACR,SAAS;IACT,WAAW;IACX,WAAW;IACX,eAAe;IACf,eAAe;IACf,UAAU;IACV,UAAU;IACV,SAAS;IACT,SAAS;IACT,aAAa;IACb,YAAY;IACZ,UAAU;IACV,MAAM;IACN,OAAO;CACR,CAAC,CAAA;AAEF,SAAgB,SAAS,CAAC,MAAiB,EAAE,QAA0B,IAAI;IACzE,IAAI,OAAO,MAAM,IAAI,SAAS;QAAE,OAAO,IAAI,CAAA;IAC3C,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IAC1C,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAA;IACxB,OAAO,SAAS,CAAC,MAAM,CAAC,IAAI,KAAK,CAAA;AACnC,CAAC;AALD,8BAKC;AAED,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC;IAC3B,MAAM;IACN,eAAe;IACf,kBAAkB;IAClB,aAAa;IACb,gBAAgB;CACjB,CAAC,CAAA;AAEF,SAAS,MAAM,CAAC,MAAuB;IACrC,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC;YAAE,OAAO,IAAI,CAAA;QACtC,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;QACvB,IAAI,KA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D,OAAO,GAAG,CAAA;QACZ,CAAC;QAED,SAAS,SAAS,CAAY,MAAe;YAC3C,IAAI,OAAO,MAAM,IAAI,QAAQ,EAAE;gBAC7B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;oBAAE,MAAM,IAAI,KAAK,CAAC,mBAAmB,MAAM,GAAG,CAAC,CAAA;gBACvE,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,MAAM,EAAE,CAAC,CAAA;aAChC;QACH,CAAC;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,SAAS,CAAA;IAEhB,SAAS,gBAAgB,CAAC,IAAe,EAAE,IAA2B,EAAE,GAAW;QACjF,IAAI,IAAI,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC;YAAE,MAAM,QAAQ,CAAC,GAAG,CAAC,CAAA;IACnE,CAAC;IAED,SAAS,QAAQ,CAAC,GAAW;QAC3B,OAAO,IAAI,KAAK,CAAC,cAAc,GAAG,oCAAoC,CAAC,CAAA;IACzE,CAAC;AACH,CAAC;AAtDD,sCAsDC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.d.ts
deleted file mode 100644
index 7def4b5a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.d.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import type { AddedKeywordDefinition } from "../types";
-declare const _jsonTypes: readonly ["string", "number", "integer", "boolean", "null", "object", "array"];
-export declare type JSONType = typeof _jsonTypes[number];
-export declare function isJSONType(x: unknown): x is JSONType;
-declare type ValidationTypes = {
- [K in JSONType]: boolean | RuleGroup | undefined;
-};
-export interface ValidationRules {
- rules: RuleGroup[];
- post: RuleGroup;
- all: {
- [Key in string]?: boolean | Rule;
- };
- keywords: {
- [Key in string]?: boolean;
- };
- types: ValidationTypes;
-}
-export interface RuleGroup {
- type?: JSONType;
- rules: Rule[];
-}
-export interface Rule {
- keyword: string;
- definition: AddedKeywordDefinition;
-}
-export declare function getRules(): ValidationRules;
-export {};
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.js
deleted file mode 100644
index 82a591ff..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.getRules = exports.isJSONType = void 0;
-const _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"];
-const jsonTypes = new Set(_jsonTypes);
-function isJSONType(x) {
- return typeof x == "string" && jsonTypes.has(x);
-}
-exports.isJSONType = isJSONType;
-function getRules() {
- const groups = {
- number: { type: "number", rules: [] },
- string: { type: "string", rules: [] },
- array: { type: "array", rules: [] },
- object: { type: "object", rules: [] },
- };
- return {
- types: { ...groups, integer: true, boolean: true, null: true },
- rules: [{ rules: [] }, groups.number, groups.string, groups.array, groups.object],
- post: { rules: [] },
- all: {},
- keywords: {},
- };
-}
-exports.getRules = getRules;
-//# sourceMappingURL=rules.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.js.map
deleted file mode 100644
index 084c70f8..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../lib/compile/rules.ts"],"names":[],"mappings":";;;AAEA,MAAM,UAAU,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAU,CAAA;AAIjG,MAAM,SAAS,GAAgB,IAAI,GAAG,CAAC,UAAU,CAAC,CAAA;AAElD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,OAAO,CAAC,IAAI,QAAQ,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;AACjD,CAAC;AAFD,gCAEC;AAyBD,SAAgB,QAAQ;IACtB,MAAM,MAAM,GAAgE;QAC1E,MAAM,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAC;QACnC,MAAM,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAC;QACnC,KAAK,EAAE,EAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAC;QACjC,MAAM,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAC;KACpC,CAAA;IACD,OAAO;QACL,KAAK,EAAE,EAAC,GAAG,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC;QAC5D,KAAK,EAAE,CAAC,EAAC,KAAK,EAAE,EAAE,EAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;QAC/E,IAAI,EAAE,EAAC,KAAK,EAAE,EAAE,EAAC;QACjB,GAAG,EAAE,EAAE;QACP,QAAQ,EAAE,EAAE;KACb,CAAA;AACH,CAAC;AAdD,4BAcC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.d.ts
deleted file mode 100644
index 17042cf0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.d.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-import type { AnySchema, EvaluatedProperties, EvaluatedItems } from "../types";
-import type { SchemaCxt, SchemaObjCxt } from ".";
-import { Code, Name, CodeGen } from "./codegen";
-import type { Rule, ValidationRules } from "./rules";
-export declare function toHash<T extends string = string>(arr: T[]): {
- [K in T]?: true;
-};
-export declare function alwaysValidSchema(it: SchemaCxt, schema: AnySchema): boolean | void;
-export declare function checkUnknownRules(it: SchemaCxt, schema?: AnySchema): void;
-export declare function schemaHasRules(schema: AnySchema, rules: {
- [Key in string]?: boolean | Rule;
-}): boolean;
-export declare function schemaHasRulesButRef(schema: AnySchema, RULES: ValidationRules): boolean;
-export declare function schemaRefOrVal({ topSchemaRef, schemaPath }: SchemaObjCxt, schema: unknown, keyword: string, $data?: string | false): Code | number | boolean;
-export declare function unescapeFragment(str: string): string;
-export declare function escapeFragment(str: string | number): string;
-export declare function escapeJsonPointer(str: string | number): string;
-export declare function unescapeJsonPointer(str: string): string;
-export declare function eachItem<T>(xs: T | T[], f: (x: T) => void): void;
-declare type SomeEvaluated = EvaluatedProperties | EvaluatedItems;
-declare type MergeEvaluatedFunc<T extends SomeEvaluated> = (gen: CodeGen, from: Name | T, to: Name | Exclude<T, true> | undefined, toName?: typeof Name) => Name | T;
-interface MergeEvaluated {
- props: MergeEvaluatedFunc<EvaluatedProperties>;
- items: MergeEvaluatedFunc<EvaluatedItems>;
-}
-export declare const mergeEvaluated: MergeEvaluated;
-export declare function evaluatedPropsToName(gen: CodeGen, ps?: EvaluatedProperties): Name;
-export declare function setEvaluated(gen: CodeGen, props: Name, ps: {
- [K in string]?: true;
-}): void;
-export declare function useFunc(gen: CodeGen, f: {
- code: string;
-}): Name;
-export declare enum Type {
- Num = 0,
- Str = 1
-}
-export declare function getErrorPath(dataProp: Name | string | number, dataPropType?: Type, jsPropertySyntax?: boolean): Code | string;
-export declare function checkStrictMode(it: SchemaCxt, msg: string, mode?: boolean | "log"): void;
-export {};
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.js
deleted file mode 100644
index 091ad4c0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.js
+++ /dev/null
@@ -1,178 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
-const codegen_1 = require("./codegen");
-const code_1 = require("./codegen/code");
-// TODO refactor to use Set
-function toHash(arr) {
- const hash = {};
- for (const item of arr)
- hash[item] = true;
- return hash;
-}
-exports.toHash = toHash;
-function alwaysValidSchema(it, schema) {
- if (typeof schema == "boolean")
- return schema;
- if (Object.keys(schema).length === 0)
- return true;
- checkUnknownRules(it, schema);
- return !schemaHasRules(schema, it.self.RULES.all);
-}
-exports.alwaysValidSchema = alwaysValidSchema;
-function checkUnknownRules(it, schema = it.schema) {
- const { opts, self } = it;
- if (!opts.strictSchema)
- return;
- if (typeof schema === "boolean")
- return;
- const rules = self.RULES.keywords;
- for (const key in schema) {
- if (!rules[key])
- checkStrictMode(it, `unknown keyword: "${key}"`);
- }
-}
-exports.checkUnknownRules = checkUnknownRules;
-function schemaHasRules(schema, rules) {
- if (typeof schema == "boolean")
- return !schema;
- for (const key in schema)
- if (rules[key])
- return true;
- return false;
-}
-exports.schemaHasRules = schemaHasRules;
-function schemaHasRulesButRef(schema, RULES) {
- if (typeof schema == "boolean")
- return !schema;
- for (const key in schema)
- if (key !== "$ref" && RULES.all[key])
- return true;
- return false;
-}
-exports.schemaHasRulesButRef = schemaHasRulesButRef;
-function schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $data) {
- if (!$data) {
- if (typeof schema == "number" || typeof schema == "boolean")
- return schema;
- if (typeof schema == "string")
- return (0, codegen_1._) `${schema}`;
- }
- return (0, codegen_1._) `${topSchemaRef}${schemaPath}${(0, codegen_1.getProperty)(keyword)}`;
-}
-exports.schemaRefOrVal = schemaRefOrVal;
-function unescapeFragment(str) {
- return unescapeJsonPointer(decodeURIComponent(str));
-}
-exports.unescapeFragment = unescapeFragment;
-function escapeFragment(str) {
- return encodeURIComponent(escapeJsonPointer(str));
-}
-exports.escapeFragment = escapeFragment;
-function escapeJsonPointer(str) {
- if (typeof str == "number")
- return `${str}`;
- return str.replace(/~/g, "~0").replace(/\//g, "~1");
-}
-exports.escapeJsonPointer = escapeJsonPointer;
-function unescapeJsonPointer(str) {
- return str.replace(/~1/g, "/").replace(/~0/g, "~");
-}
-exports.unescapeJsonPointer = unescapeJsonPointer;
-function eachItem(xs, f) {
- if (Array.isArray(xs)) {
- for (const x of xs)
- f(x);
- }
- else {
- f(xs);
- }
-}
-exports.eachItem = eachItem;
-function makeMergeEvaluated({ mergeNames, mergeToName, mergeValues, resultToName, }) {
- return (gen, from, to, toName) => {
- const res = to === undefined
- ? from
- : to instanceof codegen_1.Name
- ? (from instanceof codegen_1.Name ? mergeNames(gen, from, to) : mergeToName(gen, from, to), to)
- : from instanceof codegen_1.Name
- ? (mergeToName(gen, to, from), from)
- : mergeValues(from, to);
- return toName === codegen_1.Name && !(res instanceof codegen_1.Name) ? resultToName(gen, res) : res;
- };
-}
-exports.mergeEvaluated = {
- props: makeMergeEvaluated({
- mergeNames: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true && ${from} !== undefined`, () => {
- gen.if((0, codegen_1._) `${from} === true`, () => gen.assign(to, true), () => gen.assign(to, (0, codegen_1._) `${to} || {}`).code((0, codegen_1._) `Object.assign(${to}, ${from})`));
- }),
- mergeToName: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true`, () => {
- if (from === true) {
- gen.assign(to, true);
- }
- else {
- gen.assign(to, (0, codegen_1._) `${to} || {}`);
- setEvaluated(gen, to, from);
- }
- }),
- mergeValues: (from, to) => (from === true ? true : { ...from, ...to }),
- resultToName: evaluatedPropsToName,
- }),
- items: makeMergeEvaluated({
- mergeNames: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true && ${from} !== undefined`, () => gen.assign(to, (0, codegen_1._) `${from} === true ? true : ${to} > ${from} ? ${to} : ${from}`)),
- mergeToName: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true`, () => gen.assign(to, from === true ? true : (0, codegen_1._) `${to} > ${from} ? ${to} : ${from}`)),
- mergeValues: (from, to) => (from === true ? true : Math.max(from, to)),
- resultToName: (gen, items) => gen.var("items", items),
- }),
-};
-function evaluatedPropsToName(gen, ps) {
- if (ps === true)
- return gen.var("props", true);
- const props = gen.var("props", (0, codegen_1._) `{}`);
- if (ps !== undefined)
- setEvaluated(gen, props, ps);
- return props;
-}
-exports.evaluatedPropsToName = evaluatedPropsToName;
-function setEvaluated(gen, props, ps) {
- Object.keys(ps).forEach((p) => gen.assign((0, codegen_1._) `${props}${(0, codegen_1.getProperty)(p)}`, true));
-}
-exports.setEvaluated = setEvaluated;
-const snippets = {};
-function useFunc(gen, f) {
- return gen.scopeValue("func", {
- ref: f,
- code: snippets[f.code] || (snippets[f.code] = new code_1._Code(f.code)),
- });
-}
-exports.useFunc = useFunc;
-var Type;
-(function (Type) {
- Type[Type["Num"] = 0] = "Num";
- Type[Type["Str"] = 1] = "Str";
-})(Type = exports.Type || (exports.Type = {}));
-function getErrorPath(dataProp, dataPropType, jsPropertySyntax) {
- // let path
- if (dataProp instanceof codegen_1.Name) {
- const isNumber = dataPropType === Type.Num;
- return jsPropertySyntax
- ? isNumber
- ? (0, codegen_1._) `"[" + ${dataProp} + "]"`
- : (0, codegen_1._) `"['" + ${dataProp} + "']"`
- : isNumber
- ? (0, codegen_1._) `"/" + ${dataProp}`
- : (0, codegen_1._) `"/" + ${dataProp}.replace(/~/g, "~0").replace(/\\//g, "~1")`; // TODO maybe use global escapePointer
- }
- return jsPropertySyntax ? (0, codegen_1.getProperty)(dataProp).toString() : "/" + escapeJsonPointer(dataProp);
-}
-exports.getErrorPath = getErrorPath;
-function checkStrictMode(it, msg, mode = it.opts.strictSchema) {
- if (!mode)
- return;
- msg = `strict mode: ${msg}`;
- if (mode === true)
- throw new Error(msg);
- it.self.logger.warn(msg);
-}
-exports.checkStrictMode = checkStrictMode;
-//# sourceMappingURL=util.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.js.map
deleted file mode 100644
index a2128fc3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/util.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"util.js","sourceRoot":"","sources":["../../lib/compile/util.ts"],"names":[],"mappings":";;;AAEA,uCAA6D;AAC7D,yCAAoC;AAGpC,2BAA2B;AAC3B,SAAgB,MAAM,CAA4B,GAAQ;IACxD,MAAM,IAAI,GAAsB,EAAE,CAAA;IAClC,KAAK,MAAM,IAAI,IAAI,GAAG;QAAE,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IACzC,OAAO,IAAI,CAAA;AACb,CAAC;AAJD,wBAIC;AAED,SAAgB,iBAAiB,CAAC,EAAa,EAAE,MAAiB;IAChE,IAAI,OAAO,MAAM,IAAI,SAAS;QAAE,OAAO,MAAM,CAAA;IAC7C,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAA;IACjD,iBAAiB,CAAC,EAAE,EAAE,MAAM,CAAC,CAAA;IAC7B,OAAO,CAAC,cAAc,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;AACnD,CAAC;AALD,8CAKC;AAED,SAAgB,iBAAiB,CAAC,EAAa,EAAE,SAAoB,EAAE,CAAC,MAAM;IAC5E,MAAM,EAAC,IAAI,EAAE,IAAI,EAAC,GAAG,EAAE,CAAA;IACvB,IAAI,CAAC,IAAI,CAAC,YAAY;QAAE,OAAM;I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ATD,0CASC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.d.ts
deleted file mode 100644
index 165d375d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { AnySchemaObject } from "../../types";
-import type { SchemaObjCxt } from "..";
-import type { JSONType, RuleGroup, Rule } from "../rules";
-export declare function schemaHasRulesForType({ schema, self }: SchemaObjCxt, type: JSONType): boolean | undefined;
-export declare function shouldUseGroup(schema: AnySchemaObject, group: RuleGroup): boolean;
-export declare function shouldUseRule(schema: AnySchemaObject, rule: Rule): boolean | undefined;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.js
deleted file mode 100644
index 6187dbbe..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
-function schemaHasRulesForType({ schema, self }, type) {
- const group = self.RULES.types[type];
- return group && group !== true && shouldUseGroup(schema, group);
-}
-exports.schemaHasRulesForType = schemaHasRulesForType;
-function shouldUseGroup(schema, group) {
- return group.rules.some((rule) => shouldUseRule(schema, rule));
-}
-exports.shouldUseGroup = shouldUseGroup;
-function shouldUseRule(schema, rule) {
- var _a;
- return (schema[rule.keyword] !== undefined ||
- ((_a = rule.definition.implements) === null || _a === void 0 ? void 0 : _a.some((kwd) => schema[kwd] !== undefined)));
-}
-exports.shouldUseRule = shouldUseRule;
-//# sourceMappingURL=applicability.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.js.map
deleted file mode 100644
index 450cfe75..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/applicability.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"applicability.js","sourceRoot":"","sources":["../../../lib/compile/validate/applicability.ts"],"names":[],"mappings":";;;AAIA,SAAgB,qBAAqB,CACnC,EAAC,MAAM,EAAE,IAAI,EAAe,EAC5B,IAAc;IAEd,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;IACpC,OAAO,KAAK,IAAI,KAAK,KAAK,IAAI,IAAI,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;AACjE,CAAC;AAND,sDAMC;AAED,SAAgB,cAAc,CAAC,MAAuB,EAAE,KAAgB;IACtE,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,wCAEC;AAED,SAAgB,aAAa,CAAC,MAAuB,EAAE,IAAU;;IAC/D,OAAO,CACL,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,SAAS;SAClC,MAAA,IAAI,CAAC,UAAU,CAAC,UAAU,0CAAE,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC,CAAA,CACrE,CAAA;AACH,CAAC;AALD,sCAKC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.d.ts
deleted file mode 100644
index 0ce79520..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import type { SchemaCxt } from "..";
-import { Name } from "../codegen";
-export declare function topBoolOrEmptySchema(it: SchemaCxt): void;
-export declare function boolOrEmptySchema(it: SchemaCxt, valid: Name): void;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.js
deleted file mode 100644
index 8eeb7b5e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.js
+++ /dev/null
@@ -1,50 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
-const errors_1 = require("../errors");
-const codegen_1 = require("../codegen");
-const names_1 = require("../names");
-const boolError = {
- message: "boolean schema is false",
-};
-function topBoolOrEmptySchema(it) {
- const { gen, schema, validateName } = it;
- if (schema === false) {
- falseSchemaError(it, false);
- }
- else if (typeof schema == "object" && schema.$async === true) {
- gen.return(names_1.default.data);
- }
- else {
- gen.assign((0, codegen_1._) `${validateName}.errors`, null);
- gen.return(true);
- }
-}
-exports.topBoolOrEmptySchema = topBoolOrEmptySchema;
-function boolOrEmptySchema(it, valid) {
- const { gen, schema } = it;
- if (schema === false) {
- gen.var(valid, false); // TODO var
- falseSchemaError(it);
- }
- else {
- gen.var(valid, true); // TODO var
- }
-}
-exports.boolOrEmptySchema = boolOrEmptySchema;
-function falseSchemaError(it, overrideAllErrors) {
- const { gen, data } = it;
- // TODO maybe some other interface should be used for non-keyword validation errors...
- const cxt = {
- gen,
- keyword: "false schema",
- data,
- schema: false,
- schemaCode: false,
- schemaValue: false,
- params: {},
- it,
- };
- (0, errors_1.reportError)(cxt, boolError, undefined, overrideAllErrors);
-}
-//# sourceMappingURL=boolSchema.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.js.map
deleted file mode 100644
index 4aa6c99a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/boolSchema.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"boolSchema.js","sourceRoot":"","sources":["../../../lib/compile/validate/boolSchema.ts"],"names":[],"mappings":";;;AAEA,sCAAqC;AACrC,wCAAkC;AAClC,oCAAwB;AAExB,MAAM,SAAS,GAA2B;IACxC,OAAO,EAAE,yBAAyB;CACnC,CAAA;AAED,SAAgB,oBAAoB,CAAC,EAAa;IAChD,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAC,GAAG,EAAE,CAAA;IACtC,IAAI,MAAM,KAAK,KAAK,EAAE;QACpB,gBAAgB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAA;KAC5B;SAAM,IAAI,OAAO,MAAM,IAAI,QAAQ,IAAI,MAAM,CAAC,MAAM,KAAK,IAAI,EAAE;QAC9D,GAAG,CAAC,MAAM,CAAC,eAAC,CAAC,IAAI,CAAC,CAAA;KACnB;SAAM;QACL,GAAG,CAAC,MAAM,CAAC,IAAA,WAAC,EAAA,GAAG,YAAY,SAAS,EAAE,IAAI,CAAC,CAAA;QAC3C,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;KACjB;AACH,CAAC;AAVD,oDAUC;AAED,SAAgB,iBAAiB,CAAC,EAAa,EAAE,KAAW;IAC1D,MAAM,EAAC,GAAG,EAAE,MAAM,EAAC,GAAG,EAAE,CAAA;IACxB,IAAI,MAAM,KAAK,KAAK,EAAE;QACpB,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA,CAAC,WAAW;QACjC,gBAAgB,CAAC,EAAE,CAAC,CAAA;KACrB;SAAM;QACL,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA,CAAC,WAAW;KACjC;AACH,CAAC;AARD,8CAQC;AAED,SAAS,gBAAgB,CAAC,EAAa,EAAE,iBAA2B;IAClE,MAAM,EAAC,GAAG,EAAE,IAAI,EAAC,GAAG,EAAE,CAAA;IACtB,sFAAsF;IACtF,MAAM,GAAG,GAAoB;QAC3B,GAAG;QACH,OAAO,EAAE,cAAc;QACvB,IAAI;QACJ,MAAM,EAAE,KAAK;QACb,UAAU,EAAE,KAAK;QACjB,WAAW,EAAE,KAAK;QAClB,MAAM,EAAE,EAAE;QACV,EAAE;KACH,CAAA;IACD,IAAA,oBAAW,EAAC,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAA;AAC3D,CAAC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.d.ts
deleted file mode 100644
index 65c1268e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type { ErrorObject, AnySchemaObject } from "../../types";
-import type { SchemaObjCxt } from "..";
-import { JSONType } from "../rules";
-import { Code, Name } from "../codegen";
-export declare enum DataType {
- Correct = 0,
- Wrong = 1
-}
-export declare function getSchemaTypes(schema: AnySchemaObject): JSONType[];
-export declare function getJSONTypes(ts: unknown | unknown[]): JSONType[];
-export declare function coerceAndCheckDataType(it: SchemaObjCxt, types: JSONType[]): boolean;
-export declare function checkDataType(dataType: JSONType, data: Name, strictNums?: boolean | "log", correct?: DataType): Code;
-export declare function checkDataTypes(dataTypes: JSONType[], data: Name, strictNums?: boolean | "log", correct?: DataType): Code;
-export declare type TypeError = ErrorObject<"type", {
- type: string;
-}>;
-export declare function reportTypeError(it: SchemaObjCxt): void;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.js
deleted file mode 100644
index 1732d466..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.js
+++ /dev/null
@@ -1,202 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
-const rules_1 = require("../rules");
-const applicability_1 = require("./applicability");
-const errors_1 = require("../errors");
-const codegen_1 = require("../codegen");
-const util_1 = require("../util");
-var DataType;
-(function (DataType) {
- DataType[DataType["Correct"] = 0] = "Correct";
- DataType[DataType["Wrong"] = 1] = "Wrong";
-})(DataType = exports.DataType || (exports.DataType = {}));
-function getSchemaTypes(schema) {
- const types = getJSONTypes(schema.type);
- const hasNull = types.includes("null");
- if (hasNull) {
- if (schema.nullable === false)
- throw new Error("type: null contradicts nullable: false");
- }
- else {
- if (!types.length && schema.nullable !== undefined) {
- throw new Error('"nullable" cannot be used without "type"');
- }
- if (schema.nullable === true)
- types.push("null");
- }
- return types;
-}
-exports.getSchemaTypes = getSchemaTypes;
-function getJSONTypes(ts) {
- const types = Array.isArray(ts) ? ts : ts ? [ts] : [];
- if (types.every(rules_1.isJSONType))
- return types;
- throw new Error("type must be JSONType or JSONType[]: " + types.join(","));
-}
-exports.getJSONTypes = getJSONTypes;
-function coerceAndCheckDataType(it, types) {
- const { gen, data, opts } = it;
- const coerceTo = coerceToTypes(types, opts.coerceTypes);
- const checkTypes = types.length > 0 &&
- !(coerceTo.length === 0 && types.length === 1 && (0, applicability_1.schemaHasRulesForType)(it, types[0]));
- if (checkTypes) {
- const wrongType = checkDataTypes(types, data, opts.strictNumbers, DataType.Wrong);
- gen.if(wrongType, () => {
- if (coerceTo.length)
- coerceData(it, types, coerceTo);
- else
- reportTypeError(it);
- });
- }
- return checkTypes;
-}
-exports.coerceAndCheckDataType = coerceAndCheckDataType;
-const COERCIBLE = new Set(["string", "number", "integer", "boolean", "null"]);
-function coerceToTypes(types, coerceTypes) {
- return coerceTypes
- ? types.filter((t) => COERCIBLE.has(t) || (coerceTypes === "array" && t === "array"))
- : [];
-}
-function coerceData(it, types, coerceTo) {
- const { gen, data, opts } = it;
- const dataType = gen.let("dataType", (0, codegen_1._) `typeof ${data}`);
- const coerced = gen.let("coerced", (0, codegen_1._) `undefined`);
- if (opts.coerceTypes === "array") {
- gen.if((0, codegen_1._) `${dataType} == 'object' && Array.isArray(${data}) && ${data}.length == 1`, () => gen
- .assign(data, (0, codegen_1._) `${data}[0]`)
- .assign(dataType, (0, codegen_1._) `typeof ${data}`)
- .if(checkDataTypes(types, data, opts.strictNumbers), () => gen.assign(coerced, data)));
- }
- gen.if((0, codegen_1._) `${coerced} !== undefined`);
- for (const t of coerceTo) {
- if (COERCIBLE.has(t) || (t === "array" && opts.coerceTypes === "array")) {
- coerceSpecificType(t);
- }
- }
- gen.else();
- reportTypeError(it);
- gen.endIf();
- gen.if((0, codegen_1._) `${coerced} !== undefined`, () => {
- gen.assign(data, coerced);
- assignParentData(it, coerced);
- });
- function coerceSpecificType(t) {
- switch (t) {
- case "string":
- gen
- .elseIf((0, codegen_1._) `${dataType} == "number" || ${dataType} == "boolean"`)
- .assign(coerced, (0, codegen_1._) `"" + ${data}`)
- .elseIf((0, codegen_1._) `${data} === null`)
- .assign(coerced, (0, codegen_1._) `""`);
- return;
- case "number":
- gen
- .elseIf((0, codegen_1._) `${dataType} == "boolean" || ${data} === null
- || (${dataType} == "string" && ${data} && ${data} == +${data})`)
- .assign(coerced, (0, codegen_1._) `+${data}`);
- return;
- case "integer":
- gen
- .elseIf((0, codegen_1._) `${dataType} === "boolean" || ${data} === null
- || (${dataType} === "string" && ${data} && ${data} == +${data} && !(${data} % 1))`)
- .assign(coerced, (0, codegen_1._) `+${data}`);
- return;
- case "boolean":
- gen
- .elseIf((0, codegen_1._) `${data} === "false" || ${data} === 0 || ${data} === null`)
- .assign(coerced, false)
- .elseIf((0, codegen_1._) `${data} === "true" || ${data} === 1`)
- .assign(coerced, true);
- return;
- case "null":
- gen.elseIf((0, codegen_1._) `${data} === "" || ${data} === 0 || ${data} === false`);
- gen.assign(coerced, null);
- return;
- case "array":
- gen
- .elseIf((0, codegen_1._) `${dataType} === "string" || ${dataType} === "number"
- || ${dataType} === "boolean" || ${data} === null`)
- .assign(coerced, (0, codegen_1._) `[${data}]`);
- }
- }
-}
-function assignParentData({ gen, parentData, parentDataProperty }, expr) {
- // TODO use gen.property
- gen.if((0, codegen_1._) `${parentData} !== undefined`, () => gen.assign((0, codegen_1._) `${parentData}[${parentDataProperty}]`, expr));
-}
-function checkDataType(dataType, data, strictNums, correct = DataType.Correct) {
- const EQ = correct === DataType.Correct ? codegen_1.operators.EQ : codegen_1.operators.NEQ;
- let cond;
- switch (dataType) {
- case "null":
- return (0, codegen_1._) `${data} ${EQ} null`;
- case "array":
- cond = (0, codegen_1._) `Array.isArray(${data})`;
- break;
- case "object":
- cond = (0, codegen_1._) `${data} && typeof ${data} == "object" && !Array.isArray(${data})`;
- break;
- case "integer":
- cond = numCond((0, codegen_1._) `!(${data} % 1) && !isNaN(${data})`);
- break;
- case "number":
- cond = numCond();
- break;
- default:
- return (0, codegen_1._) `typeof ${data} ${EQ} ${dataType}`;
- }
- return correct === DataType.Correct ? cond : (0, codegen_1.not)(cond);
- function numCond(_cond = codegen_1.nil) {
- return (0, codegen_1.and)((0, codegen_1._) `typeof ${data} == "number"`, _cond, strictNums ? (0, codegen_1._) `isFinite(${data})` : codegen_1.nil);
- }
-}
-exports.checkDataType = checkDataType;
-function checkDataTypes(dataTypes, data, strictNums, correct) {
- if (dataTypes.length === 1) {
- return checkDataType(dataTypes[0], data, strictNums, correct);
- }
- let cond;
- const types = (0, util_1.toHash)(dataTypes);
- if (types.array && types.object) {
- const notObj = (0, codegen_1._) `typeof ${data} != "object"`;
- cond = types.null ? notObj : (0, codegen_1._) `!${data} || ${notObj}`;
- delete types.null;
- delete types.array;
- delete types.object;
- }
- else {
- cond = codegen_1.nil;
- }
- if (types.number)
- delete types.integer;
- for (const t in types)
- cond = (0, codegen_1.and)(cond, checkDataType(t, data, strictNums, correct));
- return cond;
-}
-exports.checkDataTypes = checkDataTypes;
-const typeError = {
- message: ({ schema }) => `must be ${schema}`,
- params: ({ schema, schemaValue }) => typeof schema == "string" ? (0, codegen_1._) `{type: ${schema}}` : (0, codegen_1._) `{type: ${schemaValue}}`,
-};
-function reportTypeError(it) {
- const cxt = getTypeErrorContext(it);
- (0, errors_1.reportError)(cxt, typeError);
-}
-exports.reportTypeError = reportTypeError;
-function getTypeErrorContext(it) {
- const { gen, data, schema } = it;
- const schemaCode = (0, util_1.schemaRefOrVal)(it, schema, "type");
- return {
- gen,
- keyword: "type",
- data,
- schema: schema.type,
- schemaCode,
- schemaValue: schemaCode,
- parentSchema: schema,
- params: {},
- it,
- };
-}
-//# sourceMappingURL=dataType.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.js.map
deleted file mode 100644
index f19c40bc..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/dataType.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"dataType.js","sourceRoot":"","sources":["../../../lib/compile/validate/dataType.ts"],"names":[],"mappings":";;;AAOA,oCAA6C;AAC7C,mDAAqD;AACrD,sCAAqC;AACrC,wCAAkE;AAClE,kCAA8C;AAE9C,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,6CAAO,CAAA;IACP,yCAAK,CAAA;AACP,CAAC,EAHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAGnB;AAED,SAAgB,cAAc,CAAC,MAAuB;IACpD,MAAM,KAAK,GAAG,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IACvC,MAAM,OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;IACtC,IAAI,OAAO,EAAE;QACX,IAAI,MAAM,CAAC,QAAQ,KAAK,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,wC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I,GAAG,IAAA,aAAG,EAAC,IAAI,EAAE,aAAa,CAAC,CAAa,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAA;IAChG,OAAO,IAAI,CAAA;AACb,CAAC;AAvBD,wCAuBC;AAID,MAAM,SAAS,GAA2B;IACxC,OAAO,EAAE,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,WAAW,MAAM,EAAE;IAC1C,MAAM,EAAE,CAAC,EAAC,MAAM,EAAE,WAAW,EAAC,EAAE,EAAE,CAChC,OAAO,MAAM,IAAI,QAAQ,CAAC,CAAC,CAAC,IAAA,WAAC,EAAA,UAAU,MAAM,GAAG,CAAC,CAAC,CAAC,IAAA,WAAC,EAAA,UAAU,WAAW,GAAG;CAC/E,CAAA;AAED,SAAgB,eAAe,CAAC,EAAgB;IAC9C,MAAM,GAAG,GAAG,mBAAmB,CAAC,EAAE,CAAC,CAAA;IACnC,IAAA,oBAAW,EAAC,GAAG,EAAE,SAAS,CAAC,CAAA;AAC7B,CAAC;AAHD,0CAGC;AAED,SAAS,mBAAmB,CAAC,EAAgB;IAC3C,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAC,GAAG,EAAE,CAAA;IAC9B,MAAM,UAAU,GAAG,IAAA,qBAAc,EAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IACrD,OAAO;QACL,GAAG;QACH,OAAO,EAAE,MAAM;QACf,IAAI;QACJ,MAAM,EAAE,MAAM,CAAC,IAAI;QACnB,UAAU;QACV,WAAW,EAAE,UAAU;QACvB,YAAY,EAAE,MAAM;QACpB,MAAM,EAAE,EAAE;QACV,EAAE;KACH,CAAA;AACH,CAAC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.d.ts
deleted file mode 100644
index 02ba453b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { SchemaObjCxt } from "..";
-export declare function assignDefaults(it: SchemaObjCxt, ty?: string): void;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.js
deleted file mode 100644
index cd9c42d9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.js
+++ /dev/null
@@ -1,35 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.assignDefaults = void 0;
-const codegen_1 = require("../codegen");
-const util_1 = require("../util");
-function assignDefaults(it, ty) {
- const { properties, items } = it.schema;
- if (ty === "object" && properties) {
- for (const key in properties) {
- assignDefault(it, key, properties[key].default);
- }
- }
- else if (ty === "array" && Array.isArray(items)) {
- items.forEach((sch, i) => assignDefault(it, i, sch.default));
- }
-}
-exports.assignDefaults = assignDefaults;
-function assignDefault(it, prop, defaultValue) {
- const { gen, compositeRule, data, opts } = it;
- if (defaultValue === undefined)
- return;
- const childData = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(prop)}`;
- if (compositeRule) {
- (0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);
- return;
- }
- let condition = (0, codegen_1._) `${childData} === undefined`;
- if (opts.useDefaults === "empty") {
- condition = (0, codegen_1._) `${condition} || ${childData} === null || ${childData} === ""`;
- }
- // `${childData} === undefined` +
- // (opts.useDefaults === "empty" ? ` || ${childData} === null || ${childData} === ""` : "")
- gen.if(condition, (0, codegen_1._) `${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
-}
-//# sourceMappingURL=defaults.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.js.map
deleted file mode 100644
index c435d057..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/defaults.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../lib/compile/validate/defaults.ts"],"names":[],"mappings":";;;AACA,wCAAoD;AACpD,kCAAuC;AAEvC,SAAgB,cAAc,CAAC,EAAgB,EAAE,EAAW;IAC1D,MAAM,EAAC,UAAU,EAAE,KAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAA;IACrC,IAAI,EAAE,KAAK,QAAQ,IAAI,UAAU,EAAE;QACjC,KAAK,MAAM,GAAG,IAAI,UAAU,EAAE;YAC5B,aAAa,CAAC,EAAE,EAAE,GAAG,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAA;SAChD;KACF;SAAM,IAAI,EAAE,KAAK,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,CAAS,EAAE,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAA;KACrE;AACH,CAAC;AATD,wCASC;AAED,SAAS,aAAa,CAAC,EAAgB,EAAE,IAAqB,EAAE,YAAqB;IACnF,MAAM,EAAC,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAC,GAAG,EAAE,CAAA;IAC3C,IAAI,YAAY,KAAK,SAAS;QAAE,OAAM;IACtC,MAAM,SAAS,GAAG,IAAA,WAAC,EAAA,GAAG,IAAI,GAAG,IAAA,qBAAW,EAAC,IAAI,CAAC,EAAE,CAAA;IAChD,IAAI,aAAa,EAAE;QACjB,IAAA,sBAAe,EAAC,EAAE,EAAE,2BAA2B,SAAS,EAAE,CAAC,CAAA;QAC3D,OAAM;KACP;IAED,IAAI,SAAS,GAAG,IAAA,WAAC,EAAA,GAAG,SAAS,gBAAgB,CAAA;IAC7C,IAAI,IAAI,CAAC,WAAW,KAAK,OAAO,EAAE;QAChC,SAAS,GAAG,IAAA,WAAC,EAAA,GAAG,SAAS,OAAO,SAAS,gBAAgB,SAAS,SAAS,CAAA;KAC5E;IACD,iCAAiC;IACjC,2FAA2F;IAC3F,GAAG,CAAC,EAAE,CAAC,SAAS,EAAE,IAAA,WAAC,EAAA,GAAG,SAAS,MAAM,IAAA,mBAAS,EAAC,YAAY,CAAC,EAAE,CAAC,CAAA;AACjE,CAAC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.d.ts
deleted file mode 100644
index 6c533ed7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.d.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-import type { AddedKeywordDefinition, AnySchemaObject, KeywordErrorCxt, KeywordCxtParams } from "../../types";
-import type { SchemaCxt, SchemaObjCxt } from "..";
-import { SubschemaArgs } from "./subschema";
-import { Code, Name, CodeGen } from "../codegen";
-import type { JSONType } from "../rules";
-import { ErrorPaths } from "../errors";
-export declare function validateFunctionCode(it: SchemaCxt): void;
-export declare class KeywordCxt implements KeywordErrorCxt {
- readonly gen: CodeGen;
- readonly allErrors?: boolean;
- readonly keyword: string;
- readonly data: Name;
- readonly $data?: string | false;
- schema: any;
- readonly schemaValue: Code | number | boolean;
- readonly schemaCode: Code | number | boolean;
- readonly schemaType: JSONType[];
- readonly parentSchema: AnySchemaObject;
- readonly errsCount?: Name;
- params: KeywordCxtParams;
- readonly it: SchemaObjCxt;
- readonly def: AddedKeywordDefinition;
- constructor(it: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string);
- result(condition: Code, successAction?: () => void, failAction?: () => void): void;
- failResult(condition: Code, successAction?: () => void, failAction?: () => void): void;
- pass(condition: Code, failAction?: () => void): void;
- fail(condition?: Code): void;
- fail$data(condition: Code): void;
- error(append?: boolean, errorParams?: KeywordCxtParams, errorPaths?: ErrorPaths): void;
- private _error;
- $dataError(): void;
- reset(): void;
- ok(cond: Code | boolean): void;
- setParams(obj: KeywordCxtParams, assign?: true): void;
- block$data(valid: Name, codeBlock: () => void, $dataValid?: Code): void;
- check$data(valid?: Name, $dataValid?: Code): void;
- invalid$data(): Code;
- subschema(appl: SubschemaArgs, valid: Name): SchemaCxt;
- mergeEvaluated(schemaCxt: SchemaCxt, toName?: typeof Name): void;
- mergeValidEvaluated(schemaCxt: SchemaCxt, valid: Name): boolean | void;
-}
-export declare function getData($data: string, { dataLevel, dataNames, dataPathArr }: SchemaCxt): Code | number;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.js
deleted file mode 100644
index 708c6922..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.js
+++ /dev/null
@@ -1,510 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
-const boolSchema_1 = require("./boolSchema");
-const dataType_1 = require("./dataType");
-const applicability_1 = require("./applicability");
-const dataType_2 = require("./dataType");
-const defaults_1 = require("./defaults");
-const keyword_1 = require("./keyword");
-const subschema_1 = require("./subschema");
-const codegen_1 = require("../codegen");
-const names_1 = require("../names");
-const resolve_1 = require("../resolve");
-const util_1 = require("../util");
-const errors_1 = require("../errors");
-// schema compilation - generates validation function, subschemaCode (below) is used for subschemas
-function validateFunctionCode(it) {
- if (isSchemaObj(it)) {
- checkKeywords(it);
- if (schemaCxtHasRules(it)) {
- topSchemaObjCode(it);
- return;
- }
- }
- validateFunction(it, () => (0, boolSchema_1.topBoolOrEmptySchema)(it));
-}
-exports.validateFunctionCode = validateFunctionCode;
-function validateFunction({ gen, validateName, schema, schemaEnv, opts }, body) {
- if (opts.code.es5) {
- gen.func(validateName, (0, codegen_1._) `${names_1.default.data}, ${names_1.default.valCxt}`, schemaEnv.$async, () => {
- gen.code((0, codegen_1._) `"use strict"; ${funcSourceUrl(schema, opts)}`);
- destructureValCxtES5(gen, opts);
- gen.code(body);
- });
- }
- else {
- gen.func(validateName, (0, codegen_1._) `${names_1.default.data}, ${destructureValCxt(opts)}`, schemaEnv.$async, () => gen.code(funcSourceUrl(schema, opts)).code(body));
- }
-}
-function destructureValCxt(opts) {
- return (0, codegen_1._) `{${names_1.default.instancePath}="", ${names_1.default.parentData}, ${names_1.default.parentDataProperty}, ${names_1.default.rootData}=${names_1.default.data}${opts.dynamicRef ? (0, codegen_1._) `, ${names_1.default.dynamicAnchors}={}` : codegen_1.nil}}={}`;
-}
-function destructureValCxtES5(gen, opts) {
- gen.if(names_1.default.valCxt, () => {
- gen.var(names_1.default.instancePath, (0, codegen_1._) `${names_1.default.valCxt}.${names_1.default.instancePath}`);
- gen.var(names_1.default.parentData, (0, codegen_1._) `${names_1.default.valCxt}.${names_1.default.parentData}`);
- gen.var(names_1.default.parentDataProperty, (0, codegen_1._) `${names_1.default.valCxt}.${names_1.default.parentDataProperty}`);
- gen.var(names_1.default.rootData, (0, codegen_1._) `${names_1.default.valCxt}.${names_1.default.rootData}`);
- if (opts.dynamicRef)
- gen.var(names_1.default.dynamicAnchors, (0, codegen_1._) `${names_1.default.valCxt}.${names_1.default.dynamicAnchors}`);
- }, () => {
- gen.var(names_1.default.instancePath, (0, codegen_1._) `""`);
- gen.var(names_1.default.parentData, (0, codegen_1._) `undefined`);
- gen.var(names_1.default.parentDataProperty, (0, codegen_1._) `undefined`);
- gen.var(names_1.default.rootData, names_1.default.data);
- if (opts.dynamicRef)
- gen.var(names_1.default.dynamicAnchors, (0, codegen_1._) `{}`);
- });
-}
-function topSchemaObjCode(it) {
- const { schema, opts, gen } = it;
- validateFunction(it, () => {
- if (opts.$comment && schema.$comment)
- commentKeyword(it);
- checkNoDefault(it);
- gen.let(names_1.default.vErrors, null);
- gen.let(names_1.default.errors, 0);
- if (opts.unevaluated)
- resetEvaluated(it);
- typeAndKeywords(it);
- returnResults(it);
- });
- return;
-}
-function resetEvaluated(it) {
- // TODO maybe some hook to execute it in the end to check whether props/items are Name, as in assignEvaluated
- const { gen, validateName } = it;
- it.evaluated = gen.const("evaluated", (0, codegen_1._) `${validateName}.evaluated`);
- gen.if((0, codegen_1._) `${it.evaluated}.dynamicProps`, () => gen.assign((0, codegen_1._) `${it.evaluated}.props`, (0, codegen_1._) `undefined`));
- gen.if((0, codegen_1._) `${it.evaluated}.dynamicItems`, () => gen.assign((0, codegen_1._) `${it.evaluated}.items`, (0, codegen_1._) `undefined`));
-}
-function funcSourceUrl(schema, opts) {
- const schId = typeof schema == "object" && schema[opts.schemaId];
- return schId && (opts.code.source || opts.code.process) ? (0, codegen_1._) `/*# sourceURL=${schId} */` : codegen_1.nil;
-}
-// schema compilation - this function is used recursively to generate code for sub-schemas
-function subschemaCode(it, valid) {
- if (isSchemaObj(it)) {
- checkKeywords(it);
- if (schemaCxtHasRules(it)) {
- subSchemaObjCode(it, valid);
- return;
- }
- }
- (0, boolSchema_1.boolOrEmptySchema)(it, valid);
-}
-function schemaCxtHasRules({ schema, self }) {
- if (typeof schema == "boolean")
- return !schema;
- for (const key in schema)
- if (self.RULES.all[key])
- return true;
- return false;
-}
-function isSchemaObj(it) {
- return typeof it.schema != "boolean";
-}
-function subSchemaObjCode(it, valid) {
- const { schema, gen, opts } = it;
- if (opts.$comment && schema.$comment)
- commentKeyword(it);
- updateContext(it);
- checkAsyncSchema(it);
- const errsCount = gen.const("_errs", names_1.default.errors);
- typeAndKeywords(it, errsCount);
- // TODO var
- gen.var(valid, (0, codegen_1._) `${errsCount} === ${names_1.default.errors}`);
-}
-function checkKeywords(it) {
- (0, util_1.checkUnknownRules)(it);
- checkRefsAndKeywords(it);
-}
-function typeAndKeywords(it, errsCount) {
- if (it.opts.jtd)
- return schemaKeywords(it, [], false, errsCount);
- const types = (0, dataType_1.getSchemaTypes)(it.schema);
- const checkedTypes = (0, dataType_1.coerceAndCheckDataType)(it, types);
- schemaKeywords(it, types, !checkedTypes, errsCount);
-}
-function checkRefsAndKeywords(it) {
- const { schema, errSchemaPath, opts, self } = it;
- if (schema.$ref && opts.ignoreKeywordsWithRef && (0, util_1.schemaHasRulesButRef)(schema, self.RULES)) {
- self.logger.warn(`$ref: keywords ignored in schema at path "${errSchemaPath}"`);
- }
-}
-function checkNoDefault(it) {
- const { schema, opts } = it;
- if (schema.default !== undefined && opts.useDefaults && opts.strictSchema) {
- (0, util_1.checkStrictMode)(it, "default is ignored in the schema root");
- }
-}
-function updateContext(it) {
- const schId = it.schema[it.opts.schemaId];
- if (schId)
- it.baseId = (0, resolve_1.resolveUrl)(it.baseId, schId);
-}
-function checkAsyncSchema(it) {
- if (it.schema.$async && !it.schemaEnv.$async)
- throw new Error("async schema in sync schema");
-}
-function commentKeyword({ gen, schemaEnv, schema, errSchemaPath, opts }) {
- const msg = schema.$comment;
- if (opts.$comment === true) {
- gen.code((0, codegen_1._) `${names_1.default.self}.logger.log(${msg})`);
- }
- else if (typeof opts.$comment == "function") {
- const schemaPath = (0, codegen_1.str) `${errSchemaPath}/$comment`;
- const rootName = gen.scopeValue("root", { ref: schemaEnv.root });
- gen.code((0, codegen_1._) `${names_1.default.self}.opts.$comment(${msg}, ${schemaPath}, ${rootName}.schema)`);
- }
-}
-function returnResults(it) {
- const { gen, schemaEnv, validateName, ValidationError, opts } = it;
- if (schemaEnv.$async) {
- // TODO assign unevaluated
- gen.if((0, codegen_1._) `${names_1.default.errors} === 0`, () => gen.return(names_1.default.data), () => gen.throw((0, codegen_1._) `new ${ValidationError}(${names_1.default.vErrors})`));
- }
- else {
- gen.assign((0, codegen_1._) `${validateName}.errors`, names_1.default.vErrors);
- if (opts.unevaluated)
- assignEvaluated(it);
- gen.return((0, codegen_1._) `${names_1.default.errors} === 0`);
- }
-}
-function assignEvaluated({ gen, evaluated, props, items }) {
- if (props instanceof codegen_1.Name)
- gen.assign((0, codegen_1._) `${evaluated}.props`, props);
- if (items instanceof codegen_1.Name)
- gen.assign((0, codegen_1._) `${evaluated}.items`, items);
-}
-function schemaKeywords(it, types, typeErrors, errsCount) {
- const { gen, schema, data, allErrors, opts, self } = it;
- const { RULES } = self;
- if (schema.$ref && (opts.ignoreKeywordsWithRef || !(0, util_1.schemaHasRulesButRef)(schema, RULES))) {
- gen.block(() => keywordCode(it, "$ref", RULES.all.$ref.definition)); // TODO typecast
- return;
- }
- if (!opts.jtd)
- checkStrictTypes(it, types);
- gen.block(() => {
- for (const group of RULES.rules)
- groupKeywords(group);
- groupKeywords(RULES.post);
- });
- function groupKeywords(group) {
- if (!(0, applicability_1.shouldUseGroup)(schema, group))
- return;
- if (group.type) {
- gen.if((0, dataType_2.checkDataType)(group.type, data, opts.strictNumbers));
- iterateKeywords(it, group);
- if (types.length === 1 && types[0] === group.type && typeErrors) {
- gen.else();
- (0, dataType_2.reportTypeError)(it);
- }
- gen.endIf();
- }
- else {
- iterateKeywords(it, group);
- }
- // TODO make it "ok" call?
- if (!allErrors)
- gen.if((0, codegen_1._) `${names_1.default.errors} === ${errsCount || 0}`);
- }
-}
-function iterateKeywords(it, group) {
- const { gen, schema, opts: { useDefaults }, } = it;
- if (useDefaults)
- (0, defaults_1.assignDefaults)(it, group.type);
- gen.block(() => {
- for (const rule of group.rules) {
- if ((0, applicability_1.shouldUseRule)(schema, rule)) {
- keywordCode(it, rule.keyword, rule.definition, group.type);
- }
- }
- });
-}
-function checkStrictTypes(it, types) {
- if (it.schemaEnv.meta || !it.opts.strictTypes)
- return;
- checkContextTypes(it, types);
- if (!it.opts.allowUnionTypes)
- checkMultipleTypes(it, types);
- checkKeywordTypes(it, it.dataTypes);
-}
-function checkContextTypes(it, types) {
- if (!types.length)
- return;
- if (!it.dataTypes.length) {
- it.dataTypes = types;
- return;
- }
- types.forEach((t) => {
- if (!includesType(it.dataTypes, t)) {
- strictTypesError(it, `type "${t}" not allowed by context "${it.dataTypes.join(",")}"`);
- }
- });
- it.dataTypes = it.dataTypes.filter((t) => includesType(types, t));
-}
-function checkMultipleTypes(it, ts) {
- if (ts.length > 1 && !(ts.length === 2 && ts.includes("null"))) {
- strictTypesError(it, "use allowUnionTypes to allow union type keyword");
- }
-}
-function checkKeywordTypes(it, ts) {
- const rules = it.self.RULES.all;
- for (const keyword in rules) {
- const rule = rules[keyword];
- if (typeof rule == "object" && (0, applicability_1.shouldUseRule)(it.schema, rule)) {
- const { type } = rule.definition;
- if (type.length && !type.some((t) => hasApplicableType(ts, t))) {
- strictTypesError(it, `missing type "${type.join(",")}" for keyword "${keyword}"`);
- }
- }
- }
-}
-function hasApplicableType(schTs, kwdT) {
- return schTs.includes(kwdT) || (kwdT === "number" && schTs.includes("integer"));
-}
-function includesType(ts, t) {
- return ts.includes(t) || (t === "integer" && ts.includes("number"));
-}
-function strictTypesError(it, msg) {
- const schemaPath = it.schemaEnv.baseId + it.errSchemaPath;
- msg += ` at "${schemaPath}" (strictTypes)`;
- (0, util_1.checkStrictMode)(it, msg, it.opts.strictTypes);
-}
-class KeywordCxt {
- constructor(it, def, keyword) {
- (0, keyword_1.validateKeywordUsage)(it, def, keyword);
- this.gen = it.gen;
- this.allErrors = it.allErrors;
- this.keyword = keyword;
- this.data = it.data;
- this.schema = it.schema[keyword];
- this.$data = def.$data && it.opts.$data && this.schema && this.schema.$data;
- this.schemaValue = (0, util_1.schemaRefOrVal)(it, this.schema, keyword, this.$data);
- this.schemaType = def.schemaType;
- this.parentSchema = it.schema;
- this.params = {};
- this.it = it;
- this.def = def;
- if (this.$data) {
- this.schemaCode = it.gen.const("vSchema", getData(this.$data, it));
- }
- else {
- this.schemaCode = this.schemaValue;
- if (!(0, keyword_1.validSchemaType)(this.schema, def.schemaType, def.allowUndefined)) {
- throw new Error(`${keyword} value must be ${JSON.stringify(def.schemaType)}`);
- }
- }
- if ("code" in def ? def.trackErrors : def.errors !== false) {
- this.errsCount = it.gen.const("_errs", names_1.default.errors);
- }
- }
- result(condition, successAction, failAction) {
- this.failResult((0, codegen_1.not)(condition), successAction, failAction);
- }
- failResult(condition, successAction, failAction) {
- this.gen.if(condition);
- if (failAction)
- failAction();
- else
- this.error();
- if (successAction) {
- this.gen.else();
- successAction();
- if (this.allErrors)
- this.gen.endIf();
- }
- else {
- if (this.allErrors)
- this.gen.endIf();
- else
- this.gen.else();
- }
- }
- pass(condition, failAction) {
- this.failResult((0, codegen_1.not)(condition), undefined, failAction);
- }
- fail(condition) {
- if (condition === undefined) {
- this.error();
- if (!this.allErrors)
- this.gen.if(false); // this branch will be removed by gen.optimize
- return;
- }
- this.gen.if(condition);
- this.error();
- if (this.allErrors)
- this.gen.endIf();
- else
- this.gen.else();
- }
- fail$data(condition) {
- if (!this.$data)
- return this.fail(condition);
- const { schemaCode } = this;
- this.fail((0, codegen_1._) `${schemaCode} !== undefined && (${(0, codegen_1.or)(this.invalid$data(), condition)})`);
- }
- error(append, errorParams, errorPaths) {
- if (errorParams) {
- this.setParams(errorParams);
- this._error(append, errorPaths);
- this.setParams({});
- return;
- }
- this._error(append, errorPaths);
- }
- _error(append, errorPaths) {
- ;
- (append ? errors_1.reportExtraError : errors_1.reportError)(this, this.def.error, errorPaths);
- }
- $dataError() {
- (0, errors_1.reportError)(this, this.def.$dataError || errors_1.keyword$DataError);
- }
- reset() {
- if (this.errsCount === undefined)
- throw new Error('add "trackErrors" to keyword definition');
- (0, errors_1.resetErrorsCount)(this.gen, this.errsCount);
- }
- ok(cond) {
- if (!this.allErrors)
- this.gen.if(cond);
- }
- setParams(obj, assign) {
- if (assign)
- Object.assign(this.params, obj);
- else
- this.params = obj;
- }
- block$data(valid, codeBlock, $dataValid = codegen_1.nil) {
- this.gen.block(() => {
- this.check$data(valid, $dataValid);
- codeBlock();
- });
- }
- check$data(valid = codegen_1.nil, $dataValid = codegen_1.nil) {
- if (!this.$data)
- return;
- const { gen, schemaCode, schemaType, def } = this;
- gen.if((0, codegen_1.or)((0, codegen_1._) `${schemaCode} === undefined`, $dataValid));
- if (valid !== codegen_1.nil)
- gen.assign(valid, true);
- if (schemaType.length || def.validateSchema) {
- gen.elseIf(this.invalid$data());
- this.$dataError();
- if (valid !== codegen_1.nil)
- gen.assign(valid, false);
- }
- gen.else();
- }
- invalid$data() {
- const { gen, schemaCode, schemaType, def, it } = this;
- return (0, codegen_1.or)(wrong$DataType(), invalid$DataSchema());
- function wrong$DataType() {
- if (schemaType.length) {
- /* istanbul ignore if */
- if (!(schemaCode instanceof codegen_1.Name))
- throw new Error("ajv implementation error");
- const st = Array.isArray(schemaType) ? schemaType : [schemaType];
- return (0, codegen_1._) `${(0, dataType_2.checkDataTypes)(st, schemaCode, it.opts.strictNumbers, dataType_2.DataType.Wrong)}`;
- }
- return codegen_1.nil;
- }
- function invalid$DataSchema() {
- if (def.validateSchema) {
- const validateSchemaRef = gen.scopeValue("validate$data", { ref: def.validateSchema }); // TODO value.code for standalone
- return (0, codegen_1._) `!${validateSchemaRef}(${schemaCode})`;
- }
- return codegen_1.nil;
- }
- }
- subschema(appl, valid) {
- const subschema = (0, subschema_1.getSubschema)(this.it, appl);
- (0, subschema_1.extendSubschemaData)(subschema, this.it, appl);
- (0, subschema_1.extendSubschemaMode)(subschema, appl);
- const nextContext = { ...this.it, ...subschema, items: undefined, props: undefined };
- subschemaCode(nextContext, valid);
- return nextContext;
- }
- mergeEvaluated(schemaCxt, toName) {
- const { it, gen } = this;
- if (!it.opts.unevaluated)
- return;
- if (it.props !== true && schemaCxt.props !== undefined) {
- it.props = util_1.mergeEvaluated.props(gen, schemaCxt.props, it.props, toName);
- }
- if (it.items !== true && schemaCxt.items !== undefined) {
- it.items = util_1.mergeEvaluated.items(gen, schemaCxt.items, it.items, toName);
- }
- }
- mergeValidEvaluated(schemaCxt, valid) {
- const { it, gen } = this;
- if (it.opts.unevaluated && (it.props !== true || it.items !== true)) {
- gen.if(valid, () => this.mergeEvaluated(schemaCxt, codegen_1.Name));
- return true;
- }
- }
-}
-exports.KeywordCxt = KeywordCxt;
-function keywordCode(it, keyword, def, ruleType) {
- const cxt = new KeywordCxt(it, def, keyword);
- if ("code" in def) {
- def.code(cxt, ruleType);
- }
- else if (cxt.$data && def.validate) {
- (0, keyword_1.funcKeywordCode)(cxt, def);
- }
- else if ("macro" in def) {
- (0, keyword_1.macroKeywordCode)(cxt, def);
- }
- else if (def.compile || def.validate) {
- (0, keyword_1.funcKeywordCode)(cxt, def);
- }
-}
-const JSON_POINTER = /^\/(?:[^~]|~0|~1)*$/;
-const RELATIVE_JSON_POINTER = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
-function getData($data, { dataLevel, dataNames, dataPathArr }) {
- let jsonPointer;
- let data;
- if ($data === "")
- return names_1.default.rootData;
- if ($data[0] === "/") {
- if (!JSON_POINTER.test($data))
- throw new Error(`Invalid JSON-pointer: ${$data}`);
- jsonPointer = $data;
- data = names_1.default.rootData;
- }
- else {
- const matches = RELATIVE_JSON_POINTER.exec($data);
- if (!matches)
- throw new Error(`Invalid JSON-pointer: ${$data}`);
- const up = +matches[1];
- jsonPointer = matches[2];
- if (jsonPointer === "#") {
- if (up >= dataLevel)
- throw new Error(errorMsg("property/index", up));
- return dataPathArr[dataLevel - up];
- }
- if (up > dataLevel)
- throw new Error(errorMsg("data", up));
- data = dataNames[dataLevel - up];
- if (!jsonPointer)
- return data;
- }
- let expr = data;
- const segments = jsonPointer.split("/");
- for (const segment of segments) {
- if (segment) {
- data = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)((0, util_1.unescapeJsonPointer)(segment))}`;
- expr = (0, codegen_1._) `${expr} && ${data}`;
- }
- }
- return expr;
- function errorMsg(pointerType, up) {
- return `Cannot access ${pointerType} ${up} levels up, current level is ${dataLevel}`;
- }
-}
-exports.getData = getData;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.js.map
deleted file mode 100644
index 3c734400..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/compile/validate/index.ts"],"names":[],"mappings":";;;AASA,6CAAoE;AACpE,yCAAiE;AACjE,mDAA6D;AAC7D,yCAAmF;AACnF,yCAAyC;AACzC,uCAAkG;AAClG,2CAAiG;AACjG,wCAAwF;AACxF,oCAAwB;AACxB,wCAAqC;AACrC,kCAOgB;AAEhB,sCAMkB;AAElB,mGAAmG;AACnG,SAAgB,oBAAoB,CAAC,EAAa;IAChD,IAAI,WAAW,CAAC,EAAE,CAAC,EAAE;QACnB,aAAa,CAAC,EAAE,CAAC,CAAA;QACjB,IAAI,iBAAiB,CAAC,EAAE,CAAC,EAAE;YACzB,gBAAgB,CAAC,EAAE,CAAC,CAAA;YACpB,OAAM;SACP;KACF;IACD,gBAAgB,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,IAAA,iCAAoB,EAAC,EAAE,CAAC,CAAC,CAAA;AACtD,CAAC;AATD,oDASC;AAED,SAAS,gBAAgB,CACvB,EAAC,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAY,EACvD,IAAW;IAEX,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;QACjB,GAAG,CAAC,IAAI,CAAC,YAAY,EAAE,IAAA,WAAC,EAAA,GAAG,eAAC,CAAC,IAAI,KAAK,eAAC,CAAC,MAAM,EAAE,EAAE,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE;YACvE,GAAG,CAAC,IAAI,CAAC,IAAA,WAAC,EAAA,iBAAiB,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;YACzD,oBAAoB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;YAC/B,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAChB,CAAC,CAAC,CAAA;KACH;SAAM;QACL,GAAG,CAAC,IAAI,CAAC,YAAY,EAAE,IAAA,W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B,IAAI,WAAW,KAAK,GAAG,EAAE;YACvB,IAAI,EAAE,IAAI,SAAS;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC,CAAA;YACpE,OAAO,WAAW,CAAC,SAAS,GAAG,EAAE,CAAC,CAAA;SACnC;QACD,IAAI,EAAE,GAAG,SAAS;YAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAA;QACzD,IAAI,GAAG,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,CAAA;QAChC,IAAI,CAAC,WAAW;YAAE,OAAO,IAAI,CAAA;KAC9B;IAED,IAAI,IAAI,GAAG,IAAI,CAAA;IACf,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IACvC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;QAC9B,IAAI,OAAO,EAAE;YACX,IAAI,GAAG,IAAA,WAAC,EAAA,GAAG,IAAI,GAAG,IAAA,qBAAW,EAAC,IAAA,0BAAmB,EAAC,OAAO,CAAC,CAAC,EAAE,CAAA;YAC7D,IAAI,GAAG,IAAA,WAAC,EAAA,GAAG,IAAI,OAAO,IAAI,EAAE,CAAA;SAC7B;KACF;IACD,OAAO,IAAI,CAAA;IAEX,SAAS,QAAQ,CAAC,WAAmB,EAAE,EAAU;QAC/C,OAAO,iBAAiB,WAAW,IAAI,EAAE,gCAAgC,SAAS,EAAE,CAAA;IACtF,CAAC;AACH,CAAC;AAtCD,0BAsCC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.d.ts
deleted file mode 100644
index d15cee87..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type { KeywordCxt } from ".";
-import type { AddedKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition } from "../../types";
-import type { SchemaObjCxt } from "..";
-import type { JSONType } from "../rules";
-export declare function macroKeywordCode(cxt: KeywordCxt, def: MacroKeywordDefinition): void;
-export declare function funcKeywordCode(cxt: KeywordCxt, def: FuncKeywordDefinition): void;
-export declare function validSchemaType(schema: unknown, schemaType: JSONType[], allowUndefined?: boolean): boolean;
-export declare function validateKeywordUsage({ schema, opts, self, errSchemaPath }: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string): void;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.js
deleted file mode 100644
index 1109d3a4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.js
+++ /dev/null
@@ -1,124 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
-const codegen_1 = require("../codegen");
-const names_1 = require("../names");
-const code_1 = require("../../vocabularies/code");
-const errors_1 = require("../errors");
-function macroKeywordCode(cxt, def) {
- const { gen, keyword, schema, parentSchema, it } = cxt;
- const macroSchema = def.macro.call(it.self, schema, parentSchema, it);
- const schemaRef = useKeyword(gen, keyword, macroSchema);
- if (it.opts.validateSchema !== false)
- it.self.validateSchema(macroSchema, true);
- const valid = gen.name("valid");
- cxt.subschema({
- schema: macroSchema,
- schemaPath: codegen_1.nil,
- errSchemaPath: `${it.errSchemaPath}/${keyword}`,
- topSchemaRef: schemaRef,
- compositeRule: true,
- }, valid);
- cxt.pass(valid, () => cxt.error(true));
-}
-exports.macroKeywordCode = macroKeywordCode;
-function funcKeywordCode(cxt, def) {
- var _a;
- const { gen, keyword, schema, parentSchema, $data, it } = cxt;
- checkAsyncKeyword(it, def);
- const validate = !$data && def.compile ? def.compile.call(it.self, schema, parentSchema, it) : def.validate;
- const validateRef = useKeyword(gen, keyword, validate);
- const valid = gen.let("valid");
- cxt.block$data(valid, validateKeyword);
- cxt.ok((_a = def.valid) !== null && _a !== void 0 ? _a : valid);
- function validateKeyword() {
- if (def.errors === false) {
- assignValid();
- if (def.modifying)
- modifyData(cxt);
- reportErrs(() => cxt.error());
- }
- else {
- const ruleErrs = def.async ? validateAsync() : validateSync();
- if (def.modifying)
- modifyData(cxt);
- reportErrs(() => addErrs(cxt, ruleErrs));
- }
- }
- function validateAsync() {
- const ruleErrs = gen.let("ruleErrs", null);
- gen.try(() => assignValid((0, codegen_1._) `await `), (e) => gen.assign(valid, false).if((0, codegen_1._) `${e} instanceof ${it.ValidationError}`, () => gen.assign(ruleErrs, (0, codegen_1._) `${e}.errors`), () => gen.throw(e)));
- return ruleErrs;
- }
- function validateSync() {
- const validateErrs = (0, codegen_1._) `${validateRef}.errors`;
- gen.assign(validateErrs, null);
- assignValid(codegen_1.nil);
- return validateErrs;
- }
- function assignValid(_await = def.async ? (0, codegen_1._) `await ` : codegen_1.nil) {
- const passCxt = it.opts.passContext ? names_1.default.this : names_1.default.self;
- const passSchema = !(("compile" in def && !$data) || def.schema === false);
- gen.assign(valid, (0, codegen_1._) `${_await}${(0, code_1.callValidateCode)(cxt, validateRef, passCxt, passSchema)}`, def.modifying);
- }
- function reportErrs(errors) {
- var _a;
- gen.if((0, codegen_1.not)((_a = def.valid) !== null && _a !== void 0 ? _a : valid), errors);
- }
-}
-exports.funcKeywordCode = funcKeywordCode;
-function modifyData(cxt) {
- const { gen, data, it } = cxt;
- gen.if(it.parentData, () => gen.assign(data, (0, codegen_1._) `${it.parentData}[${it.parentDataProperty}]`));
-}
-function addErrs(cxt, errs) {
- const { gen } = cxt;
- gen.if((0, codegen_1._) `Array.isArray(${errs})`, () => {
- gen
- .assign(names_1.default.vErrors, (0, codegen_1._) `${names_1.default.vErrors} === null ? ${errs} : ${names_1.default.vErrors}.concat(${errs})`)
- .assign(names_1.default.errors, (0, codegen_1._) `${names_1.default.vErrors}.length`);
- (0, errors_1.extendErrors)(cxt);
- }, () => cxt.error());
-}
-function checkAsyncKeyword({ schemaEnv }, def) {
- if (def.async && !schemaEnv.$async)
- throw new Error("async keyword in sync schema");
-}
-function useKeyword(gen, keyword, result) {
- if (result === undefined)
- throw new Error(`keyword "${keyword}" failed to compile`);
- return gen.scopeValue("keyword", typeof result == "function" ? { ref: result } : { ref: result, code: (0, codegen_1.stringify)(result) });
-}
-function validSchemaType(schema, schemaType, allowUndefined = false) {
- // TODO add tests
- return (!schemaType.length ||
- schemaType.some((st) => st === "array"
- ? Array.isArray(schema)
- : st === "object"
- ? schema && typeof schema == "object" && !Array.isArray(schema)
- : typeof schema == st || (allowUndefined && typeof schema == "undefined")));
-}
-exports.validSchemaType = validSchemaType;
-function validateKeywordUsage({ schema, opts, self, errSchemaPath }, def, keyword) {
- /* istanbul ignore if */
- if (Array.isArray(def.keyword) ? !def.keyword.includes(keyword) : def.keyword !== keyword) {
- throw new Error("ajv implementation error");
- }
- const deps = def.dependencies;
- if (deps === null || deps === void 0 ? void 0 : deps.some((kwd) => !Object.prototype.hasOwnProperty.call(schema, kwd))) {
- throw new Error(`parent schema must have dependencies of ${keyword}: ${deps.join(",")}`);
- }
- if (def.validateSchema) {
- const valid = def.validateSchema(schema[keyword]);
- if (!valid) {
- const msg = `keyword "${keyword}" value is invalid at path "${errSchemaPath}": ` +
- self.errorsText(def.validateSchema.errors);
- if (opts.validateSchema === "log")
- self.logger.error(msg);
- else
- throw new Error(msg);
- }
- }
-}
-exports.validateKeywordUsage = validateKeywordUsage;
-//# sourceMappingURL=keyword.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.js.map
deleted file mode 100644
index 10d716d7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/keyword.js.map
+++ /dev/null
@@ -1 +0,0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AC5C;IAED,MAAM,IAAI,GAAG,GAAG,CAAC,YAAY,CAAA;IAC7B,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,EAAE;QAC3E,MAAM,IAAI,KAAK,CAAC,2CAA2C,OAAO,KAAK,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;KACzF;IAED,IAAI,GAAG,CAAC,cAAc,EAAE;QACtB,MAAM,KAAK,GAAG,GAAG,CAAC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;QACjD,IAAI,CAAC,KAAK,EAAE;YACV,MAAM,GAAG,GACP,YAAY,OAAO,+BAA+B,aAAa,KAAK;gBACpE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA;YAC5C,IAAI,IAAI,CAAC,cAAc,KAAK,KAAK;gBAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;;gBACpD,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAA;SAC1B;KACF;AACH,CAAC;AAzBD,oDAyBC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.d.ts
deleted file mode 100644
index 8544271a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.d.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-import type { AnySchema } from "../../types";
-import type { SchemaObjCxt } from "..";
-import { Code, Name } from "../codegen";
-import { Type } from "../util";
-import type { JSONType } from "../rules";
-export interface SubschemaContext {
- schema: AnySchema;
- schemaPath: Code;
- errSchemaPath: string;
- topSchemaRef?: Code;
- errorPath?: Code;
- dataLevel?: number;
- dataTypes?: JSONType[];
- data?: Name;
- parentData?: Name;
- parentDataProperty?: Code | number;
- dataNames?: Name[];
- dataPathArr?: (Code | number)[];
- propertyName?: Name;
- jtdDiscriminator?: string;
- jtdMetadata?: boolean;
- compositeRule?: true;
- createErrors?: boolean;
- allErrors?: boolean;
-}
-export declare type SubschemaArgs = Partial<{
- keyword: string;
- schemaProp: string | number;
- schema: AnySchema;
- schemaPath: Code;
- errSchemaPath: string;
- topSchemaRef: Code;
- data: Name | Code;
- dataProp: Code | string | number;
- dataTypes: JSONType[];
- definedProperties: Set<string>;
- propertyName: Name;
- dataPropType: Type;
- jtdDiscriminator: string;
- jtdMetadata: boolean;
- compositeRule: true;
- createErrors: boolean;
- allErrors: boolean;
-}>;
-export declare function getSubschema(it: SchemaObjCxt, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }: SubschemaArgs): SubschemaContext;
-export declare function extendSubschemaData(subschema: SubschemaContext, it: SchemaObjCxt, { dataProp, dataPropType: dpType, data, dataTypes, propertyName }: SubschemaArgs): void;
-export declare function extendSubschemaMode(subschema: SubschemaContext, { jtdDiscriminator, jtdMetadata, compositeRule, createErrors, allErrors }: SubschemaArgs): void;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.js
deleted file mode 100644
index 9de28286..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.js
+++ /dev/null
@@ -1,81 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
-const codegen_1 = require("../codegen");
-const util_1 = require("../util");
-function getSubschema(it, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }) {
- if (keyword !== undefined && schema !== undefined) {
- throw new Error('both "keyword" and "schema" passed, only one allowed');
- }
- if (keyword !== undefined) {
- const sch = it.schema[keyword];
- return schemaProp === undefined
- ? {
- schema: sch,
- schemaPath: (0, codegen_1._) `${it.schemaPath}${(0, codegen_1.getProperty)(keyword)}`,
- errSchemaPath: `${it.errSchemaPath}/${keyword}`,
- }
- : {
- schema: sch[schemaProp],
- schemaPath: (0, codegen_1._) `${it.schemaPath}${(0, codegen_1.getProperty)(keyword)}${(0, codegen_1.getProperty)(schemaProp)}`,
- errSchemaPath: `${it.errSchemaPath}/${keyword}/${(0, util_1.escapeFragment)(schemaProp)}`,
- };
- }
- if (schema !== undefined) {
- if (schemaPath === undefined || errSchemaPath === undefined || topSchemaRef === undefined) {
- throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');
- }
- return {
- schema,
- schemaPath,
- topSchemaRef,
- errSchemaPath,
- };
- }
- throw new Error('either "keyword" or "schema" must be passed');
-}
-exports.getSubschema = getSubschema;
-function extendSubschemaData(subschema, it, { dataProp, dataPropType: dpType, data, dataTypes, propertyName }) {
- if (data !== undefined && dataProp !== undefined) {
- throw new Error('both "data" and "dataProp" passed, only one allowed');
- }
- const { gen } = it;
- if (dataProp !== undefined) {
- const { errorPath, dataPathArr, opts } = it;
- const nextData = gen.let("data", (0, codegen_1._) `${it.data}${(0, codegen_1.getProperty)(dataProp)}`, true);
- dataContextProps(nextData);
- subschema.errorPath = (0, codegen_1.str) `${errorPath}${(0, util_1.getErrorPath)(dataProp, dpType, opts.jsPropertySyntax)}`;
- subschema.parentDataProperty = (0, codegen_1._) `${dataProp}`;
- subschema.dataPathArr = [...dataPathArr, subschema.parentDataProperty];
- }
- if (data !== undefined) {
- const nextData = data instanceof codegen_1.Name ? data : gen.let("data", data, true); // replaceable if used once?
- dataContextProps(nextData);
- if (propertyName !== undefined)
- subschema.propertyName = propertyName;
- // TODO something is possibly wrong here with not changing parentDataProperty and not appending dataPathArr
- }
- if (dataTypes)
- subschema.dataTypes = dataTypes;
- function dataContextProps(_nextData) {
- subschema.data = _nextData;
- subschema.dataLevel = it.dataLevel + 1;
- subschema.dataTypes = [];
- it.definedProperties = new Set();
- subschema.parentData = it.data;
- subschema.dataNames = [...it.dataNames, _nextData];
- }
-}
-exports.extendSubschemaData = extendSubschemaData;
-function extendSubschemaMode(subschema, { jtdDiscriminator, jtdMetadata, compositeRule, createErrors, allErrors }) {
- if (compositeRule !== undefined)
- subschema.compositeRule = compositeRule;
- if (createErrors !== undefined)
- subschema.createErrors = createErrors;
- if (allErrors !== undefined)
- subschema.allErrors = allErrors;
- subschema.jtdDiscriminator = jtdDiscriminator; // not inherited
- subschema.jtdMetadata = jtdMetadata; // not inherited
-}
-exports.extendSubschemaMode = extendSubschemaMode;
-//# sourceMappingURL=subschema.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.js.map
deleted file mode 100644
index a1b84d37..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/compile/validate/subschema.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"subschema.js","sourceRoot":"","sources":["../../../lib/compile/validate/subschema.ts"],"names":[],"mappings":";;;AAEA,wCAA0D;AAC1D,kCAA0D;AA6C1D,SAAgB,YAAY,CAC1B,EAAgB,EAChB,EAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAgB;IAErF,IAAI,OAAO,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAA;KACxE;IAED,IAAI,OAAO,KAAK,SAAS,EAAE;QACzB,MAAM,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;QAC9B,OAAO,UAAU,KAAK,SAAS;YAC7B,CAAC,CAAC;gBACE,MAAM,EAAE,GAAG;gBACX,UAAU,EAAE,IAAA,WAAC,EAAA,GAAG,EAAE,CAA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,SAAS,CAAC,CAAA;IACpD,CAAC;AACH,CAAC;AArCD,kDAqCC;AAED,SAAgB,mBAAmB,CACjC,SAA2B,EAC3B,EAAC,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAgB;IAEtF,IAAI,aAAa,KAAK,SAAS;QAAE,SAAS,CAAC,aAAa,GAAG,aAAa,CAAA;IACxE,IAAI,YAAY,KAAK,SAAS;QAAE,SAAS,CAAC,YAAY,GAAG,YAAY,CAAA;IACrE,IAAI,SAAS,KAAK,SAAS;QAAE,SAAS,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5D,SAAS,CAAC,gBAAgB,GAAG,gBAAgB,CAAA,CAAC,gBAAgB;IAC9D,SAAS,CAAC,WAAW,GAAG,WAAW,CAAA,CAAC,gBAAgB;AACtD,CAAC;AATD,kDASC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/core.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/core.d.ts
deleted file mode 100644
index c2c46540..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/core.d.ts
+++ /dev/null
@@ -1,172 +0,0 @@
-export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, AnyValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
-export { SchemaCxt, SchemaObjCxt } from "./compile";
-export interface Plugin<Opts> {
- (ajv: Ajv, options?: Opts): Ajv;
- [prop: string]: any;
-}
-export { KeywordCxt } from "./compile/validate";
-export { DefinedError } from "./vocabularies/errors";
-export { JSONType } from "./compile/rules";
-export { JSONSchemaType } from "./types/json-schema";
-export { JTDSchemaType, SomeJTDSchemaType, JTDDataType } from "./types/jtd-schema";
-export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen";
-import type { Schema, AnySchema, AnySchemaObject, SchemaObject, AsyncSchema, Vocabulary, KeywordDefinition, AddedKeywordDefinition, AnyValidateFunction, ValidateFunction, AsyncValidateFunction, ErrorObject, Format, AddedFormat, RegExpEngine } from "./types";
-import type { JSONSchemaType } from "./types/json-schema";
-import type { JTDSchemaType, SomeJTDSchemaType, JTDDataType } from "./types/jtd-schema";
-import ValidationError from "./runtime/validation_error";
-import MissingRefError from "./compile/ref_error";
-import { ValidationRules } from "./compile/rules";
-import { SchemaEnv } from "./compile";
-import { Code, ValueScope } from "./compile/codegen";
-export declare type Options = CurrentOptions & DeprecatedOptions;
-export interface CurrentOptions {
- strict?: boolean | "log";
- strictSchema?: boolean | "log";
- strictNumbers?: boolean | "log";
- strictTypes?: boolean | "log";
- strictTuples?: boolean | "log";
- strictRequired?: boolean | "log";
- allowMatchingProperties?: boolean;
- allowUnionTypes?: boolean;
- validateFormats?: boolean;
- $data?: boolean;
- allErrors?: boolean;
- verbose?: boolean;
- discriminator?: boolean;
- unicodeRegExp?: boolean;
- timestamp?: "string" | "date";
- parseDate?: boolean;
- allowDate?: boolean;
- $comment?: true | ((comment: string, schemaPath?: string, rootSchema?: AnySchemaObject) => unknown);
- formats?: {
- [Name in string]?: Format;
- };
- keywords?: Vocabulary;
- schemas?: AnySchema[] | {
- [Key in string]?: AnySchema;
- };
- logger?: Logger | false;
- loadSchema?: (uri: string) => Promise<AnySchemaObject>;
- removeAdditional?: boolean | "all" | "failing";
- useDefaults?: boolean | "empty";
- coerceTypes?: boolean | "array";
- next?: boolean;
- unevaluated?: boolean;
- dynamicRef?: boolean;
- schemaId?: "id" | "$id";
- jtd?: boolean;
- meta?: SchemaObject | boolean;
- defaultMeta?: string | AnySchemaObject;
- validateSchema?: boolean | "log";
- addUsedSchema?: boolean;
- inlineRefs?: boolean | number;
- passContext?: boolean;
- loopRequired?: number;
- loopEnum?: number;
- ownProperties?: boolean;
- multipleOfPrecision?: number;
- int32range?: boolean;
- messages?: boolean;
- code?: CodeOptions;
-}
-export interface CodeOptions {
- es5?: boolean;
- esm?: boolean;
- lines?: boolean;
- optimize?: boolean | number;
- formats?: Code;
- source?: boolean;
- process?: (code: string, schema?: SchemaEnv) => string;
- regExp?: RegExpEngine;
-}
-interface InstanceCodeOptions extends CodeOptions {
- regExp: RegExpEngine;
- optimize: number;
-}
-interface DeprecatedOptions {
- /** @deprecated */
- ignoreKeywordsWithRef?: boolean;
- /** @deprecated */
- jsPropertySyntax?: boolean;
- /** @deprecated */
- unicode?: boolean;
-}
-declare type RequiredInstanceOptions = {
- [K in "strictSchema" | "strictNumbers" | "strictTypes" | "strictTuples" | "strictRequired" | "inlineRefs" | "loopRequired" | "loopEnum" | "meta" | "messages" | "schemaId" | "addUsedSchema" | "validateSchema" | "validateFormats" | "int32range" | "unicodeRegExp"]: NonNullable<Options[K]>;
-} & {
- code: InstanceCodeOptions;
-};
-export declare type InstanceOptions = Options & RequiredInstanceOptions;
-export interface Logger {
- log(...args: unknown[]): unknown;
- warn(...args: unknown[]): unknown;
- error(...args: unknown[]): unknown;
-}
-export default class Ajv {
- opts: InstanceOptions;
- errors?: ErrorObject[] | null;
- logger: Logger;
- readonly scope: ValueScope;
- readonly schemas: {
- [Key in string]?: SchemaEnv;
- };
- readonly refs: {
- [Ref in string]?: SchemaEnv | string;
- };
- readonly formats: {
- [Name in string]?: AddedFormat;
- };
- readonly RULES: ValidationRules;
- readonly _compilations: Set<SchemaEnv>;
- private readonly _loading;
- private readonly _cache;
- private readonly _metaOpts;
- static ValidationError: typeof ValidationError;
- static MissingRefError: typeof MissingRefError;
- constructor(opts?: Options);
- _addVocabularies(): void;
- _addDefaultMetaSchema(): void;
- defaultMeta(): string | AnySchemaObject | undefined;
- validate(schema: Schema | string, data: unknown): boolean;
- validate(schemaKeyRef: AnySchema | string, data: unknown): boolean | Promise<unknown>;
- validate<T>(schema: Schema | JSONSchemaType<T> | string, data: unknown): data is T;
- validate<T>(schema: JTDSchemaType<T>, data: unknown): data is T;
- validate<N extends never, T extends SomeJTDSchemaType>(schema: T, data: unknown): data is JTDDataType<T>;
- validate<T>(schema: AsyncSchema, data: unknown | T): Promise<T>;
- validate<T>(schemaKeyRef: AnySchema | string, data: unknown): data is T | Promise<T>;
- compile<T = unknown>(schema: Schema | JSONSchemaType<T>, _meta?: boolean): ValidateFunction<T>;
- compile<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): ValidateFunction<T>;
- compile<N extends never, T extends SomeJTDSchemaType>(schema: T, _meta?: boolean): ValidateFunction<JTDDataType<T>>;
- compile<T = unknown>(schema: AsyncSchema, _meta?: boolean): AsyncValidateFunction<T>;
- compile<T = unknown>(schema: AnySchema, _meta?: boolean): AnyValidateFunction<T>;
- compileAsync<T = unknown>(schema: SchemaObject | JSONSchemaType<T>, _meta?: boolean): Promise<ValidateFunction<T>>;
- compileAsync<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): Promise<ValidateFunction<T>>;
- compileAsync<T = unknown>(schema: AsyncSchema, meta?: boolean): Promise<AsyncValidateFunction<T>>;
- compileAsync<T = unknown>(schema: AnySchemaObject, meta?: boolean): Promise<AnyValidateFunction<T>>;
- addSchema(schema: AnySchema | AnySchema[], // If array is passed, `key` will be ignored
- key?: string, // Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.
- _meta?: boolean, // true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.
- _validateSchema?: boolean | "log"): Ajv;
- addMetaSchema(schema: AnySchemaObject, key?: string, // schema key
- _validateSchema?: boolean | "log"): Ajv;
- validateSchema(schema: AnySchema, throwOrLogError?: boolean): boolean | Promise<unknown>;
- getSchema<T = unknown>(keyRef: string): AnyValidateFunction<T> | undefined;
- removeSchema(schemaKeyRef?: AnySchema | string | RegExp): Ajv;
- addVocabulary(definitions: Vocabulary): Ajv;
- addKeyword(kwdOrDef: string | KeywordDefinition, def?: KeywordDefinition): Ajv;
- getKeyword(keyword: string): AddedKeywordDefinition | boolean;
- removeKeyword(keyword: string): Ajv;
- addFormat(name: string, format: Format): Ajv;
- errorsText(errors?: ErrorObject[] | null | undefined, // optional array of validation errors
- { separator, dataVar }?: ErrorsTextOptions): string;
- $dataMetaSchema(metaSchema: AnySchemaObject, keywordsJsonPointers: string[]): AnySchemaObject;
- private _removeAllSchemas;
- _addSchema(schema: AnySchema, meta?: boolean, baseId?: string, validateSchema?: boolean | "log", addSchema?: boolean): SchemaEnv;
- private _checkUnique;
- private _compileSchemaEnv;
- private _compileMetaSchema;
-}
-export interface ErrorsTextOptions {
- separator?: string;
- dataVar?: string;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/core.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/core.js
deleted file mode 100644
index dbc417b2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/core.js
+++ /dev/null
@@ -1,614 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
-var validate_1 = require("./compile/validate");
-Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function () { return validate_1.KeywordCxt; } });
-var codegen_1 = require("./compile/codegen");
-Object.defineProperty(exports, "_", { enumerable: true, get: function () { return codegen_1._; } });
-Object.defineProperty(exports, "str", { enumerable: true, get: function () { return codegen_1.str; } });
-Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return codegen_1.stringify; } });
-Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return codegen_1.nil; } });
-Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return codegen_1.Name; } });
-Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } });
-const validation_error_1 = require("./runtime/validation_error");
-const ref_error_1 = require("./compile/ref_error");
-const rules_1 = require("./compile/rules");
-const compile_1 = require("./compile");
-const codegen_2 = require("./compile/codegen");
-const resolve_1 = require("./compile/resolve");
-const dataType_1 = require("./compile/validate/dataType");
-const util_1 = require("./compile/util");
-const $dataRefSchema = require("./refs/data.json");
-const defaultRegExp = (str, flags) => new RegExp(str, flags);
-defaultRegExp.code = "new RegExp";
-const META_IGNORE_OPTIONS = ["removeAdditional", "useDefaults", "coerceTypes"];
-const EXT_SCOPE_NAMES = new Set([
- "validate",
- "serialize",
- "parse",
- "wrapper",
- "root",
- "schema",
- "keyword",
- "pattern",
- "formats",
- "validate$data",
- "func",
- "obj",
- "Error",
-]);
-const removedOptions = {
- errorDataPath: "",
- format: "`validateFormats: false` can be used instead.",
- nullable: '"nullable" keyword is supported by default.',
- jsonPointers: "Deprecated jsPropertySyntax can be used instead.",
- extendRefs: "Deprecated ignoreKeywordsWithRef can be used instead.",
- missingRefs: "Pass empty schema with $id that should be ignored to ajv.addSchema.",
- processCode: "Use option `code: {process: (code, schemaEnv: object) => string}`",
- sourceCode: "Use option `code: {source: true}`",
- strictDefaults: "It is default now, see option `strict`.",
- strictKeywords: "It is default now, see option `strict`.",
- uniqueItems: '"uniqueItems" keyword is always validated.',
- unknownFormats: "Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",
- cache: "Map is used as cache, schema object as key.",
- serialize: "Map is used as cache, schema object as key.",
- ajvErrors: "It is default now.",
-};
-const deprecatedOptions = {
- ignoreKeywordsWithRef: "",
- jsPropertySyntax: "",
- unicode: '"minLength"/"maxLength" account for unicode characters by default.',
-};
-const MAX_EXPRESSION = 200;
-// eslint-disable-next-line complexity
-function requiredOptions(o) {
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
- const s = o.strict;
- const _optz = (_a = o.code) === null || _a === void 0 ? void 0 : _a.optimize;
- const optimize = _optz === true || _optz === undefined ? 1 : _optz || 0;
- const regExp = (_c = (_b = o.code) === null || _b === void 0 ? void 0 : _b.regExp) !== null && _c !== void 0 ? _c : defaultRegExp;
- return {
- strictSchema: (_e = (_d = o.strictSchema) !== null && _d !== void 0 ? _d : s) !== null && _e !== void 0 ? _e : true,
- strictNumbers: (_g = (_f = o.strictNumbers) !== null && _f !== void 0 ? _f : s) !== null && _g !== void 0 ? _g : true,
- strictTypes: (_j = (_h = o.strictTypes) !== null && _h !== void 0 ? _h : s) !== null && _j !== void 0 ? _j : "log",
- strictTuples: (_l = (_k = o.strictTuples) !== null && _k !== void 0 ? _k : s) !== null && _l !== void 0 ? _l : "log",
- strictRequired: (_o = (_m = o.strictRequired) !== null && _m !== void 0 ? _m : s) !== null && _o !== void 0 ? _o : false,
- code: o.code ? { ...o.code, optimize, regExp } : { optimize, regExp },
- loopRequired: (_p = o.loopRequired) !== null && _p !== void 0 ? _p : MAX_EXPRESSION,
- loopEnum: (_q = o.loopEnum) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
- meta: (_r = o.meta) !== null && _r !== void 0 ? _r : true,
- messages: (_s = o.messages) !== null && _s !== void 0 ? _s : true,
- inlineRefs: (_t = o.inlineRefs) !== null && _t !== void 0 ? _t : true,
- schemaId: (_u = o.schemaId) !== null && _u !== void 0 ? _u : "$id",
- addUsedSchema: (_v = o.addUsedSchema) !== null && _v !== void 0 ? _v : true,
- validateSchema: (_w = o.validateSchema) !== null && _w !== void 0 ? _w : true,
- validateFormats: (_x = o.validateFormats) !== null && _x !== void 0 ? _x : true,
- unicodeRegExp: (_y = o.unicodeRegExp) !== null && _y !== void 0 ? _y : true,
- int32range: (_z = o.int32range) !== null && _z !== void 0 ? _z : true,
- };
-}
-class Ajv {
- constructor(opts = {}) {
- this.schemas = {};
- this.refs = {};
- this.formats = {};
- this._compilations = new Set();
- this._loading = {};
- this._cache = new Map();
- opts = this.opts = { ...opts, ...requiredOptions(opts) };
- const { es5, lines } = this.opts.code;
- this.scope = new codegen_2.ValueScope({ scope: {}, prefixes: EXT_SCOPE_NAMES, es5, lines });
- this.logger = getLogger(opts.logger);
- const formatOpt = opts.validateFormats;
- opts.validateFormats = false;
- this.RULES = (0, rules_1.getRules)();
- checkOptions.call(this, removedOptions, opts, "NOT SUPPORTED");
- checkOptions.call(this, deprecatedOptions, opts, "DEPRECATED", "warn");
- this._metaOpts = getMetaSchemaOptions.call(this);
- if (opts.formats)
- addInitialFormats.call(this);
- this._addVocabularies();
- this._addDefaultMetaSchema();
- if (opts.keywords)
- addInitialKeywords.call(this, opts.keywords);
- if (typeof opts.meta == "object")
- this.addMetaSchema(opts.meta);
- addInitialSchemas.call(this);
- opts.validateFormats = formatOpt;
- }
- _addVocabularies() {
- this.addKeyword("$async");
- }
- _addDefaultMetaSchema() {
- const { $data, meta, schemaId } = this.opts;
- let _dataRefSchema = $dataRefSchema;
- if (schemaId === "id") {
- _dataRefSchema = { ...$dataRefSchema };
- _dataRefSchema.id = _dataRefSchema.$id;
- delete _dataRefSchema.$id;
- }
- if (meta && $data)
- this.addMetaSchema(_dataRefSchema, _dataRefSchema[schemaId], false);
- }
- defaultMeta() {
- const { meta, schemaId } = this.opts;
- return (this.opts.defaultMeta = typeof meta == "object" ? meta[schemaId] || meta : undefined);
- }
- validate(schemaKeyRef, // key, ref or schema object
- data // to be validated
- ) {
- let v;
- if (typeof schemaKeyRef == "string") {
- v = this.getSchema(schemaKeyRef);
- if (!v)
- throw new Error(`no schema with key or ref "${schemaKeyRef}"`);
- }
- else {
- v = this.compile(schemaKeyRef);
- }
- const valid = v(data);
- if (!("$async" in v))
- this.errors = v.errors;
- return valid;
- }
- compile(schema, _meta) {
- const sch = this._addSchema(schema, _meta);
- return (sch.validate || this._compileSchemaEnv(sch));
- }
- compileAsync(schema, meta) {
- if (typeof this.opts.loadSchema != "function") {
- throw new Error("options.loadSchema should be a function");
- }
- const { loadSchema } = this.opts;
- return runCompileAsync.call(this, schema, meta);
- async function runCompileAsync(_schema, _meta) {
- await loadMetaSchema.call(this, _schema.$schema);
- const sch = this._addSchema(_schema, _meta);
- return sch.validate || _compileAsync.call(this, sch);
- }
- async function loadMetaSchema($ref) {
- if ($ref && !this.getSchema($ref)) {
- await runCompileAsync.call(this, { $ref }, true);
- }
- }
- async function _compileAsync(sch) {
- try {
- return this._compileSchemaEnv(sch);
- }
- catch (e) {
- if (!(e instanceof ref_error_1.default))
- throw e;
- checkLoaded.call(this, e);
- await loadMissingSchema.call(this, e.missingSchema);
- return _compileAsync.call(this, sch);
- }
- }
- function checkLoaded({ missingSchema: ref, missingRef }) {
- if (this.refs[ref]) {
- throw new Error(`AnySchema ${ref} is loaded but ${missingRef} cannot be resolved`);
- }
- }
- async function loadMissingSchema(ref) {
- const _schema = await _loadSchema.call(this, ref);
- if (!this.refs[ref])
- await loadMetaSchema.call(this, _schema.$schema);
- if (!this.refs[ref])
- this.addSchema(_schema, ref, meta);
- }
- async function _loadSchema(ref) {
- const p = this._loading[ref];
- if (p)
- return p;
- try {
- return await (this._loading[ref] = loadSchema(ref));
- }
- finally {
- delete this._loading[ref];
- }
- }
- }
- // Adds schema to the instance
- addSchema(schema, // If array is passed, `key` will be ignored
- key, // Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.
- _meta, // true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.
- _validateSchema = this.opts.validateSchema // false to skip schema validation. Used internally, option validateSchema should be used instead.
- ) {
- if (Array.isArray(schema)) {
- for (const sch of schema)
- this.addSchema(sch, undefined, _meta, _validateSchema);
- return this;
- }
- let id;
- if (typeof schema === "object") {
- const { schemaId } = this.opts;
- id = schema[schemaId];
- if (id !== undefined && typeof id != "string") {
- throw new Error(`schema ${schemaId} must be string`);
- }
- }
- key = (0, resolve_1.normalizeId)(key || id);
- this._checkUnique(key);
- this.schemas[key] = this._addSchema(schema, _meta, key, _validateSchema, true);
- return this;
- }
- // Add schema that will be used to validate other schemas
- // options in META_IGNORE_OPTIONS are alway set to false
- addMetaSchema(schema, key, // schema key
- _validateSchema = this.opts.validateSchema // false to skip schema validation, can be used to override validateSchema option for meta-schema
- ) {
- this.addSchema(schema, key, true, _validateSchema);
- return this;
- }
- // Validate schema against its meta-schema
- validateSchema(schema, throwOrLogError) {
- if (typeof schema == "boolean")
- return true;
- let $schema;
- $schema = schema.$schema;
- if ($schema !== undefined && typeof $schema != "string") {
- throw new Error("$schema must be a string");
- }
- $schema = $schema || this.opts.defaultMeta || this.defaultMeta();
- if (!$schema) {
- this.logger.warn("meta-schema not available");
- this.errors = null;
- return true;
- }
- const valid = this.validate($schema, schema);
- if (!valid && throwOrLogError) {
- const message = "schema is invalid: " + this.errorsText();
- if (this.opts.validateSchema === "log")
- this.logger.error(message);
- else
- throw new Error(message);
- }
- return valid;
- }
- // Get compiled schema by `key` or `ref`.
- // (`key` that was passed to `addSchema` or full schema reference - `schema.$id` or resolved id)
- getSchema(keyRef) {
- let sch;
- while (typeof (sch = getSchEnv.call(this, keyRef)) == "string")
- keyRef = sch;
- if (sch === undefined) {
- const { schemaId } = this.opts;
- const root = new compile_1.SchemaEnv({ schema: {}, schemaId });
- sch = compile_1.resolveSchema.call(this, root, keyRef);
- if (!sch)
- return;
- this.refs[keyRef] = sch;
- }
- return (sch.validate || this._compileSchemaEnv(sch));
- }
- // Remove cached schema(s).
- // If no parameter is passed all schemas but meta-schemas are removed.
- // If RegExp is passed all schemas with key/id matching pattern but meta-schemas are removed.
- // Even if schema is referenced by other schemas it still can be removed as other schemas have local references.
- removeSchema(schemaKeyRef) {
- if (schemaKeyRef instanceof RegExp) {
- this._removeAllSchemas(this.schemas, schemaKeyRef);
- this._removeAllSchemas(this.refs, schemaKeyRef);
- return this;
- }
- switch (typeof schemaKeyRef) {
- case "undefined":
- this._removeAllSchemas(this.schemas);
- this._removeAllSchemas(this.refs);
- this._cache.clear();
- return this;
- case "string": {
- const sch = getSchEnv.call(this, schemaKeyRef);
- if (typeof sch == "object")
- this._cache.delete(sch.schema);
- delete this.schemas[schemaKeyRef];
- delete this.refs[schemaKeyRef];
- return this;
- }
- case "object": {
- const cacheKey = schemaKeyRef;
- this._cache.delete(cacheKey);
- let id = schemaKeyRef[this.opts.schemaId];
- if (id) {
- id = (0, resolve_1.normalizeId)(id);
- delete this.schemas[id];
- delete this.refs[id];
- }
- return this;
- }
- default:
- throw new Error("ajv.removeSchema: invalid parameter");
- }
- }
- // add "vocabulary" - a collection of keywords
- addVocabulary(definitions) {
- for (const def of definitions)
- this.addKeyword(def);
- return this;
- }
- addKeyword(kwdOrDef, def // deprecated
- ) {
- let keyword;
- if (typeof kwdOrDef == "string") {
- keyword = kwdOrDef;
- if (typeof def == "object") {
- this.logger.warn("these parameters are deprecated, see docs for addKeyword");
- def.keyword = keyword;
- }
- }
- else if (typeof kwdOrDef == "object" && def === undefined) {
- def = kwdOrDef;
- keyword = def.keyword;
- if (Array.isArray(keyword) && !keyword.length) {
- throw new Error("addKeywords: keyword must be string or non-empty array");
- }
- }
- else {
- throw new Error("invalid addKeywords parameters");
- }
- checkKeyword.call(this, keyword, def);
- if (!def) {
- (0, util_1.eachItem)(keyword, (kwd) => addRule.call(this, kwd));
- return this;
- }
- keywordMetaschema.call(this, def);
- const definition = {
- ...def,
- type: (0, dataType_1.getJSONTypes)(def.type),
- schemaType: (0, dataType_1.getJSONTypes)(def.schemaType),
- };
- (0, util_1.eachItem)(keyword, definition.type.length === 0
- ? (k) => addRule.call(this, k, definition)
- : (k) => definition.type.forEach((t) => addRule.call(this, k, definition, t)));
- return this;
- }
- getKeyword(keyword) {
- const rule = this.RULES.all[keyword];
- return typeof rule == "object" ? rule.definition : !!rule;
- }
- // Remove keyword
- removeKeyword(keyword) {
- // TODO return type should be Ajv
- const { RULES } = this;
- delete RULES.keywords[keyword];
- delete RULES.all[keyword];
- for (const group of RULES.rules) {
- const i = group.rules.findIndex((rule) => rule.keyword === keyword);
- if (i >= 0)
- group.rules.splice(i, 1);
- }
- return this;
- }
- // Add format
- addFormat(name, format) {
- if (typeof format == "string")
- format = new RegExp(format);
- this.formats[name] = format;
- return this;
- }
- errorsText(errors = this.errors, // optional array of validation errors
- { separator = ", ", dataVar = "data" } = {} // optional options with properties `separator` and `dataVar`
- ) {
- if (!errors || errors.length === 0)
- return "No errors";
- return errors
- .map((e) => `${dataVar}${e.instancePath} ${e.message}`)
- .reduce((text, msg) => text + separator + msg);
- }
- $dataMetaSchema(metaSchema, keywordsJsonPointers) {
- const rules = this.RULES.all;
- metaSchema = JSON.parse(JSON.stringify(metaSchema));
- for (const jsonPointer of keywordsJsonPointers) {
- const segments = jsonPointer.split("/").slice(1); // first segment is an empty string
- let keywords = metaSchema;
- for (const seg of segments)
- keywords = keywords[seg];
- for (const key in rules) {
- const rule = rules[key];
- if (typeof rule != "object")
- continue;
- const { $data } = rule.definition;
- const schema = keywords[key];
- if ($data && schema)
- keywords[key] = schemaOrData(schema);
- }
- }
- return metaSchema;
- }
- _removeAllSchemas(schemas, regex) {
- for (const keyRef in schemas) {
- const sch = schemas[keyRef];
- if (!regex || regex.test(keyRef)) {
- if (typeof sch == "string") {
- delete schemas[keyRef];
- }
- else if (sch && !sch.meta) {
- this._cache.delete(sch.schema);
- delete schemas[keyRef];
- }
- }
- }
- }
- _addSchema(schema, meta, baseId, validateSchema = this.opts.validateSchema, addSchema = this.opts.addUsedSchema) {
- let id;
- const { schemaId } = this.opts;
- if (typeof schema == "object") {
- id = schema[schemaId];
- }
- else {
- if (this.opts.jtd)
- throw new Error("schema must be object");
- else if (typeof schema != "boolean")
- throw new Error("schema must be object or boolean");
- }
- let sch = this._cache.get(schema);
- if (sch !== undefined)
- return sch;
- baseId = (0, resolve_1.normalizeId)(id || baseId);
- const localRefs = resolve_1.getSchemaRefs.call(this, schema, baseId);
- sch = new compile_1.SchemaEnv({ schema, schemaId, meta, baseId, localRefs });
- this._cache.set(sch.schema, sch);
- if (addSchema && !baseId.startsWith("#")) {
- // TODO atm it is allowed to overwrite schemas without id (instead of not adding them)
- if (baseId)
- this._checkUnique(baseId);
- this.refs[baseId] = sch;
- }
- if (validateSchema)
- this.validateSchema(schema, true);
- return sch;
- }
- _checkUnique(id) {
- if (this.schemas[id] || this.refs[id]) {
- throw new Error(`schema with key or id "${id}" already exists`);
- }
- }
- _compileSchemaEnv(sch) {
- if (sch.meta)
- this._compileMetaSchema(sch);
- else
- compile_1.compileSchema.call(this, sch);
- /* istanbul ignore if */
- if (!sch.validate)
- throw new Error("ajv implementation error");
- return sch.validate;
- }
- _compileMetaSchema(sch) {
- const currentOpts = this.opts;
- this.opts = this._metaOpts;
- try {
- compile_1.compileSchema.call(this, sch);
- }
- finally {
- this.opts = currentOpts;
- }
- }
-}
-exports.default = Ajv;
-Ajv.ValidationError = validation_error_1.default;
-Ajv.MissingRefError = ref_error_1.default;
-function checkOptions(checkOpts, options, msg, log = "error") {
- for (const key in checkOpts) {
- const opt = key;
- if (opt in options)
- this.logger[log](`${msg}: option ${key}. ${checkOpts[opt]}`);
- }
-}
-function getSchEnv(keyRef) {
- keyRef = (0, resolve_1.normalizeId)(keyRef); // TODO tests fail without this line
- return this.schemas[keyRef] || this.refs[keyRef];
-}
-function addInitialSchemas() {
- const optsSchemas = this.opts.schemas;
- if (!optsSchemas)
- return;
- if (Array.isArray(optsSchemas))
- this.addSchema(optsSchemas);
- else
- for (const key in optsSchemas)
- this.addSchema(optsSchemas[key], key);
-}
-function addInitialFormats() {
- for (const name in this.opts.formats) {
- const format = this.opts.formats[name];
- if (format)
- this.addFormat(name, format);
- }
-}
-function addInitialKeywords(defs) {
- if (Array.isArray(defs)) {
- this.addVocabulary(defs);
- return;
- }
- this.logger.warn("keywords option as map is deprecated, pass array");
- for (const keyword in defs) {
- const def = defs[keyword];
- if (!def.keyword)
- def.keyword = keyword;
- this.addKeyword(def);
- }
-}
-function getMetaSchemaOptions() {
- const metaOpts = { ...this.opts };
- for (const opt of META_IGNORE_OPTIONS)
- delete metaOpts[opt];
- return metaOpts;
-}
-const noLogs = { log() { }, warn() { }, error() { } };
-function getLogger(logger) {
- if (logger === false)
- return noLogs;
- if (logger === undefined)
- return console;
- if (logger.log && logger.warn && logger.error)
- return logger;
- throw new Error("logger must implement log, warn and error methods");
-}
-const KEYWORD_NAME = /^[a-z_$][a-z0-9_$:-]*$/i;
-function checkKeyword(keyword, def) {
- const { RULES } = this;
- (0, util_1.eachItem)(keyword, (kwd) => {
- if (RULES.keywords[kwd])
- throw new Error(`Keyword ${kwd} is already defined`);
- if (!KEYWORD_NAME.test(kwd))
- throw new Error(`Keyword ${kwd} has invalid name`);
- });
- if (!def)
- return;
- if (def.$data && !("code" in def || "validate" in def)) {
- throw new Error('$data keyword must have "code" or "validate" function');
- }
-}
-function addRule(keyword, definition, dataType) {
- var _a;
- const post = definition === null || definition === void 0 ? void 0 : definition.post;
- if (dataType && post)
- throw new Error('keyword with "post" flag cannot have "type"');
- const { RULES } = this;
- let ruleGroup = post ? RULES.post : RULES.rules.find(({ type: t }) => t === dataType);
- if (!ruleGroup) {
- ruleGroup = { type: dataType, rules: [] };
- RULES.rules.push(ruleGroup);
- }
- RULES.keywords[keyword] = true;
- if (!definition)
- return;
- const rule = {
- keyword,
- definition: {
- ...definition,
- type: (0, dataType_1.getJSONTypes)(definition.type),
- schemaType: (0, dataType_1.getJSONTypes)(definition.schemaType),
- },
- };
- if (definition.before)
- addBeforeRule.call(this, ruleGroup, rule, definition.before);
- else
- ruleGroup.rules.push(rule);
- RULES.all[keyword] = rule;
- (_a = definition.implements) === null || _a === void 0 ? void 0 : _a.forEach((kwd) => this.addKeyword(kwd));
-}
-function addBeforeRule(ruleGroup, rule, before) {
- const i = ruleGroup.rules.findIndex((_rule) => _rule.keyword === before);
- if (i >= 0) {
- ruleGroup.rules.splice(i, 0, rule);
- }
- else {
- ruleGroup.rules.push(rule);
- this.logger.warn(`rule ${before} is not defined`);
- }
-}
-function keywordMetaschema(def) {
- let { metaSchema } = def;
- if (metaSchema === undefined)
- return;
- if (def.$data && this.opts.$data)
- metaSchema = schemaOrData(metaSchema);
- def.validateSchema = this.compile(metaSchema, true);
-}
-const $dataRef = {
- $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
-};
-function schemaOrData(schema) {
- return { anyOf: [schema, $dataRef] };
-}
-//# sourceMappingURL=core.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/core.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/core.js.map
deleted file mode 100644
index fa960b18..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/core.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"core.js","sourceRoot":"","sources":["../lib/core.ts"],"names":[],"mappings":";;;AA4BA,+CAA6C;AAArC,sGAAA,UAAU,OAAA;AAKlB,6CAA6F;AAArF,4FAAA,CAAC,OAAA;AAAE,8FAAA,GAAG,OAAA;AAAE,oGAAA,SAAS,OAAA;AAAE,8FAAA,GAAG,OAAA;AAAE,+FAAA,IAAI,OAAA;AAAQ,kGAAA,OAAO,OAAA;AAqBnD,iEAAwD;AACxD,mDAAiD;AACjD,2CAAoF;AACpF,uCAAiE;AACjE,+CAAkD;AAClD,+CAA4D;AAC5D,0DAAwD;AACxD,yCAAuC;AAEvC,mDAAkD;AAElD,MAAM,aAAa,GAAiB,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;AAC1E,aAAa,CAAC,IAAI,GAAG,YAAY,CAAA;AAEjC,MAAM,mBAAmB,GAAsB,CAAC,kBAAkB,EAAE,aAAa,EAAE,aAAa,CAAC,CAAA;AACjG,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC;IAC9B,UAAU;IACV,WAAW;IACX,OAAO;IACP,SAAS;IACT,MAAM;IACN,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,eAAe;IACf,MAAM;IACN,KAAK;IACL,OAAO;CACR,CAAC,CAAA;AAwGF,MAAM,cAAc,GAAgC;IAClD,aAAa,EAAE,EAAE;IACjB,MAAM,EAAE,+CAA+C;IACvD,QAAQ,EAAE,6CAA6C;IACvD,YAAY,EAAE,kDAAkD;IAChE,UAA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tB,IAAI,UAAU,KAAK,SAAS;QAAE,OAAM;IACpC,IAAI,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK;QAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,CAAA;IACvE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,CAAA;AACrD,CAAC;AAED,MAAM,QAAQ,GAAG;IACf,IAAI,EAAE,gFAAgF;CACvF,CAAA;AAED,SAAS,YAAY,CAAC,MAAiB;IACrC,OAAO,EAAC,KAAK,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAC,CAAA;AACpC,CAAC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.d.ts
deleted file mode 100644
index 0caf84b6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.d.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import type { AnySchemaObject, SchemaObject, JTDParser } from "./types";
-import type { JTDSchemaType, SomeJTDSchemaType, JTDDataType } from "./types/jtd-schema";
-import AjvCore, { CurrentOptions } from "./core";
-declare type JTDOptions = CurrentOptions & {
- strict?: never;
- allowMatchingProperties?: never;
- allowUnionTypes?: never;
- validateFormats?: never;
- $data?: never;
- verbose?: boolean;
- $comment?: never;
- formats?: never;
- loadSchema?: never;
- useDefaults?: never;
- coerceTypes?: never;
- next?: never;
- unevaluated?: never;
- dynamicRef?: never;
- meta?: boolean;
- defaultMeta?: never;
- inlineRefs?: boolean;
- loopRequired?: never;
- multipleOfPrecision?: never;
-};
-declare class Ajv extends AjvCore {
- constructor(opts?: JTDOptions);
- _addVocabularies(): void;
- _addDefaultMetaSchema(): void;
- defaultMeta(): string | AnySchemaObject | undefined;
- compileSerializer<T = unknown>(schema: SchemaObject): (data: T) => string;
- compileSerializer<T = unknown>(schema: JTDSchemaType<T>): (data: T) => string;
- compileParser<T = unknown>(schema: SchemaObject): JTDParser<T>;
- compileParser<T = unknown>(schema: JTDSchemaType<T>): JTDParser<T>;
- private _compileSerializer;
- private _compileParser;
-}
-export default Ajv;
-export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, ErrorObject, ErrorNoParams, JTDParser, } from "./types";
-export { Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions } from "./core";
-export { SchemaCxt, SchemaObjCxt } from "./compile";
-export { KeywordCxt } from "./compile/validate";
-export { JTDErrorObject } from "./vocabularies/jtd";
-export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen";
-export { JTDSchemaType, SomeJTDSchemaType, JTDDataType };
-export { JTDOptions };
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.js
deleted file mode 100644
index dfb34ddd..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.js
+++ /dev/null
@@ -1,66 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
-const core_1 = require("./core");
-const jtd_1 = require("./vocabularies/jtd");
-const jtd_schema_1 = require("./refs/jtd-schema");
-const serialize_1 = require("./compile/jtd/serialize");
-const parse_1 = require("./compile/jtd/parse");
-const META_SCHEMA_ID = "JTD-meta-schema";
-class Ajv extends core_1.default {
- constructor(opts = {}) {
- super({
- ...opts,
- jtd: true,
- });
- }
- _addVocabularies() {
- super._addVocabularies();
- this.addVocabulary(jtd_1.default);
- }
- _addDefaultMetaSchema() {
- super._addDefaultMetaSchema();
- if (!this.opts.meta)
- return;
- this.addMetaSchema(jtd_schema_1.default, META_SCHEMA_ID, false);
- }
- defaultMeta() {
- return (this.opts.defaultMeta =
- super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
- }
- compileSerializer(schema) {
- const sch = this._addSchema(schema);
- return sch.serialize || this._compileSerializer(sch);
- }
- compileParser(schema) {
- const sch = this._addSchema(schema);
- return (sch.parse || this._compileParser(sch));
- }
- _compileSerializer(sch) {
- serialize_1.default.call(this, sch, sch.schema.definitions || {});
- /* istanbul ignore if */
- if (!sch.serialize)
- throw new Error("ajv implementation error");
- return sch.serialize;
- }
- _compileParser(sch) {
- parse_1.default.call(this, sch, sch.schema.definitions || {});
- /* istanbul ignore if */
- if (!sch.parse)
- throw new Error("ajv implementation error");
- return sch.parse;
- }
-}
-module.exports = exports = Ajv;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = Ajv;
-var validate_1 = require("./compile/validate");
-Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function () { return validate_1.KeywordCxt; } });
-var codegen_1 = require("./compile/codegen");
-Object.defineProperty(exports, "_", { enumerable: true, get: function () { return codegen_1._; } });
-Object.defineProperty(exports, "str", { enumerable: true, get: function () { return codegen_1.str; } });
-Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return codegen_1.stringify; } });
-Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return codegen_1.nil; } });
-Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return codegen_1.Name; } });
-Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } });
-//# sourceMappingURL=jtd.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.js.map
deleted file mode 100644
index 6f253789..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/jtd.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"jtd.js","sourceRoot":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AAc;QAC1C,mBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAG,GAAG,CAAC,MAA0B,CAAC,WAAW,IAAI,EAAE,CAAC,CAAA;QACpF,wBAAwB;QACxB,IAAI,CAAC,GAAG,CAAC,SAAS;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC/D,OAAO,GAAG,CAAC,SAAS,CAAA;IACtB,CAAC;IAEO,cAAc,CAAC,GAAc;QACnC,eAAa,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAG,GAAG,CAAC,MAA0B,CAAC,WAAW,IAAI,EAAE,CAAC,CAAA;QAChF,wBAAwB;QACxB,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC3D,OAAO,GAAG,CAAC,KAAK,CAAA;IAClB,CAAC;CACF;AAED,MAAM,CAAC,OAAO,GAAG,OAAO,GAAG,GAAG,CAAA;AAC9B,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAC,KAAK,EAAE,IAAI,EAAC,CAAC,CAAA;AAE3D,kBAAe,GAAG,CAAA;AA0BlB,+CAA6C;AAArC,sGAAA,UAAU,OAAA;AAElB,6CAA6F;AAArF,4FAAA,CAAC,OAAA;AAAE,8FAAA,GAAG,OAAA;AAAE,oGAAA,SAAS,OAAA;AAAE,8FAAA,GAAG,OAAA;AAAE,+FAAA,IAAI,OAAA;AAAQ,kGAAA,OAAO,OAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/data.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/data.json
deleted file mode 100644
index 9ffc9f5c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/data.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
- "description": "Meta-schema for $data reference (JSON AnySchema extension proposal)",
- "type": "object",
- "required": ["$data"],
- "properties": {
- "$data": {
- "type": "string",
- "anyOf": [{"format": "relative-json-pointer"}, {"format": "json-pointer"}]
- }
- },
- "additionalProperties": false
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts
deleted file mode 100644
index cf008331..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type Ajv from "../../core";
-export default function addMetaSchema2019(this: Ajv, $data?: boolean): Ajv;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.js
deleted file mode 100644
index e8649628..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.js
+++ /dev/null
@@ -1,28 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const metaSchema = require("./schema.json");
-const applicator = require("./meta/applicator.json");
-const content = require("./meta/content.json");
-const core = require("./meta/core.json");
-const format = require("./meta/format.json");
-const metadata = require("./meta/meta-data.json");
-const validation = require("./meta/validation.json");
-const META_SUPPORT_DATA = ["/properties"];
-function addMetaSchema2019($data) {
- ;
- [
- metaSchema,
- applicator,
- content,
- core,
- with$data(this, format),
- metadata,
- with$data(this, validation),
- ].forEach((sch) => this.addMetaSchema(sch, undefined, false));
- return this;
- function with$data(ajv, sch) {
- return $data ? ajv.$dataMetaSchema(sch, META_SUPPORT_DATA) : sch;
- }
-}
-exports.default = addMetaSchema2019;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map
deleted file mode 100644
index 9b8a36d6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/refs/json-schema-2019-09/index.ts"],"names":[],"mappings":";;AAEA,4CAA2C;AAC3C,qDAAoD;AACpD,+CAA8C;AAC9C,yCAAwC;AACxC,6CAA4C;AAC5C,kDAAiD;AACjD,qDAAoD;AAEpD,MAAM,iBAAiB,GAAG,CAAC,aAAa,CAAC,CAAA;AAEzC,SAAwB,iBAAiB,CAAY,KAAe;IAClE,CAAC;IAAA;QACC,UAAU;QACV,UAAU;QACV,OAAO;QACP,IAAI;QACJ,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC;QACvB,QAAQ;QACR,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC;KAC5B,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAA;IAC7D,OAAO,IAAI,CAAA;IAEX,SAAS,SAAS,CAAC,GAAQ,EAAE,GAAoB;QAC/C,OAAO,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;IAClE,CAAC;AACH,CAAC;AAfD,oCAeC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json
deleted file mode 100644
index c5e91cf2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/applicator",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/applicator": true
- },
- "$recursiveAnchor": true,
-
- "title": "Applicator vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "additionalItems": {"$recursiveRef": "#"},
- "unevaluatedItems": {"$recursiveRef": "#"},
- "items": {
- "anyOf": [{"$recursiveRef": "#"}, {"$ref": "#/$defs/schemaArray"}]
- },
- "contains": {"$recursiveRef": "#"},
- "additionalProperties": {"$recursiveRef": "#"},
- "unevaluatedProperties": {"$recursiveRef": "#"},
- "properties": {
- "type": "object",
- "additionalProperties": {"$recursiveRef": "#"},
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": {"$recursiveRef": "#"},
- "propertyNames": {"format": "regex"},
- "default": {}
- },
- "dependentSchemas": {
- "type": "object",
- "additionalProperties": {
- "$recursiveRef": "#"
- }
- },
- "propertyNames": {"$recursiveRef": "#"},
- "if": {"$recursiveRef": "#"},
- "then": {"$recursiveRef": "#"},
- "else": {"$recursiveRef": "#"},
- "allOf": {"$ref": "#/$defs/schemaArray"},
- "anyOf": {"$ref": "#/$defs/schemaArray"},
- "oneOf": {"$ref": "#/$defs/schemaArray"},
- "not": {"$recursiveRef": "#"}
- },
- "$defs": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$recursiveRef": "#"}
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json
deleted file mode 100644
index b8f63734..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/content",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/content": true
- },
- "$recursiveAnchor": true,
-
- "title": "Content vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "contentMediaType": {"type": "string"},
- "contentEncoding": {"type": "string"},
- "contentSchema": {"$recursiveRef": "#"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json
deleted file mode 100644
index f71adbff..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/core",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/core": true
- },
- "$recursiveAnchor": true,
-
- "title": "Core vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "$id": {
- "type": "string",
- "format": "uri-reference",
- "$comment": "Non-empty fragments not allowed.",
- "pattern": "^[^#]*#?$"
- },
- "$schema": {
- "type": "string",
- "format": "uri"
- },
- "$anchor": {
- "type": "string",
- "pattern": "^[A-Za-z][-A-Za-z0-9.:_]*$"
- },
- "$ref": {
- "type": "string",
- "format": "uri-reference"
- },
- "$recursiveRef": {
- "type": "string",
- "format": "uri-reference"
- },
- "$recursiveAnchor": {
- "type": "boolean",
- "default": false
- },
- "$vocabulary": {
- "type": "object",
- "propertyNames": {
- "type": "string",
- "format": "uri"
- },
- "additionalProperties": {
- "type": "boolean"
- }
- },
- "$comment": {
- "type": "string"
- },
- "$defs": {
- "type": "object",
- "additionalProperties": {"$recursiveRef": "#"},
- "default": {}
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json
deleted file mode 100644
index 03ccfce2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/format",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/format": true
- },
- "$recursiveAnchor": true,
-
- "title": "Format vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "format": {"type": "string"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json
deleted file mode 100644
index 0e194326..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/meta-data",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/meta-data": true
- },
- "$recursiveAnchor": true,
-
- "title": "Meta-data vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": true,
- "deprecated": {
- "type": "boolean",
- "default": false
- },
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "writeOnly": {
- "type": "boolean",
- "default": false
- },
- "examples": {
- "type": "array",
- "items": true
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json
deleted file mode 100644
index 7027a127..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/validation",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/validation": true
- },
- "$recursiveAnchor": true,
-
- "title": "Validation vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "multipleOf": {
- "type": "number",
- "exclusiveMinimum": 0
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "number"
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "number"
- },
- "maxLength": {"$ref": "#/$defs/nonNegativeInteger"},
- "minLength": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "maxItems": {"$ref": "#/$defs/nonNegativeInteger"},
- "minItems": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "maxContains": {"$ref": "#/$defs/nonNegativeInteger"},
- "minContains": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 1
- },
- "maxProperties": {"$ref": "#/$defs/nonNegativeInteger"},
- "minProperties": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "required": {"$ref": "#/$defs/stringArray"},
- "dependentRequired": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/$defs/stringArray"
- }
- },
- "const": true,
- "enum": {
- "type": "array",
- "items": true
- },
- "type": {
- "anyOf": [
- {"$ref": "#/$defs/simpleTypes"},
- {
- "type": "array",
- "items": {"$ref": "#/$defs/simpleTypes"},
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- }
- },
- "$defs": {
- "nonNegativeInteger": {
- "type": "integer",
- "minimum": 0
- },
- "nonNegativeIntegerDefault0": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 0
- },
- "simpleTypes": {
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
- },
- "stringArray": {
- "type": "array",
- "items": {"type": "string"},
- "uniqueItems": true,
- "default": []
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json
deleted file mode 100644
index 54eb7157..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/schema",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/core": true,
- "https://json-schema.org/draft/2019-09/vocab/applicator": true,
- "https://json-schema.org/draft/2019-09/vocab/validation": true,
- "https://json-schema.org/draft/2019-09/vocab/meta-data": true,
- "https://json-schema.org/draft/2019-09/vocab/format": false,
- "https://json-schema.org/draft/2019-09/vocab/content": true
- },
- "$recursiveAnchor": true,
-
- "title": "Core and Validation specifications meta-schema",
- "allOf": [
- {"$ref": "meta/core"},
- {"$ref": "meta/applicator"},
- {"$ref": "meta/validation"},
- {"$ref": "meta/meta-data"},
- {"$ref": "meta/format"},
- {"$ref": "meta/content"}
- ],
- "type": ["object", "boolean"],
- "properties": {
- "definitions": {
- "$comment": "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",
- "type": "object",
- "additionalProperties": {"$recursiveRef": "#"},
- "default": {}
- },
- "dependencies": {
- "$comment": "\"dependencies\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \"dependentSchemas\" and \"dependentRequired\"",
- "type": "object",
- "additionalProperties": {
- "anyOf": [{"$recursiveRef": "#"}, {"$ref": "meta/validation#/$defs/stringArray"}]
- }
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts
deleted file mode 100644
index c232ab05..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type Ajv from "../../core";
-export default function addMetaSchema2020(this: Ajv, $data?: boolean): Ajv;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.js
deleted file mode 100644
index d9256756..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const metaSchema = require("./schema.json");
-const applicator = require("./meta/applicator.json");
-const unevaluated = require("./meta/unevaluated.json");
-const content = require("./meta/content.json");
-const core = require("./meta/core.json");
-const format = require("./meta/format-annotation.json");
-const metadata = require("./meta/meta-data.json");
-const validation = require("./meta/validation.json");
-const META_SUPPORT_DATA = ["/properties"];
-function addMetaSchema2020($data) {
- ;
- [
- metaSchema,
- applicator,
- unevaluated,
- content,
- core,
- with$data(this, format),
- metadata,
- with$data(this, validation),
- ].forEach((sch) => this.addMetaSchema(sch, undefined, false));
- return this;
- function with$data(ajv, sch) {
- return $data ? ajv.$dataMetaSchema(sch, META_SUPPORT_DATA) : sch;
- }
-}
-exports.default = addMetaSchema2020;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map
deleted file mode 100644
index eb90027d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/refs/json-schema-2020-12/index.ts"],"names":[],"mappings":";;AAEA,4CAA2C;AAC3C,qDAAoD;AACpD,uDAAsD;AACtD,+CAA8C;AAC9C,yCAAwC;AACxC,wDAAuD;AACvD,kDAAiD;AACjD,qDAAoD;AAEpD,MAAM,iBAAiB,GAAG,CAAC,aAAa,CAAC,CAAA;AAEzC,SAAwB,iBAAiB,CAAY,KAAe;IAClE,CAAC;IAAA;QACC,UAAU;QACV,UAAU;QACV,WAAW;QACX,OAAO;QACP,IAAI;QACJ,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC;QACvB,QAAQ;QACR,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC;KAC5B,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAA;IAC7D,OAAO,IAAI,CAAA;IAEX,SAAS,SAAS,CAAC,GAAQ,EAAE,GAAoB;QAC/C,OAAO,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;IAClE,CAAC;AACH,CAAC;AAhBD,oCAgBC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
deleted file mode 100644
index 674c913d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/applicator",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/applicator": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Applicator vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "prefixItems": {"$ref": "#/$defs/schemaArray"},
- "items": {"$dynamicRef": "#meta"},
- "contains": {"$dynamicRef": "#meta"},
- "additionalProperties": {"$dynamicRef": "#meta"},
- "properties": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "propertyNames": {"format": "regex"},
- "default": {}
- },
- "dependentSchemas": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "default": {}
- },
- "propertyNames": {"$dynamicRef": "#meta"},
- "if": {"$dynamicRef": "#meta"},
- "then": {"$dynamicRef": "#meta"},
- "else": {"$dynamicRef": "#meta"},
- "allOf": {"$ref": "#/$defs/schemaArray"},
- "anyOf": {"$ref": "#/$defs/schemaArray"},
- "oneOf": {"$ref": "#/$defs/schemaArray"},
- "not": {"$dynamicRef": "#meta"}
- },
- "$defs": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$dynamicRef": "#meta"}
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
deleted file mode 100644
index 2ae23ddb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/content",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/content": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Content vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "contentEncoding": {"type": "string"},
- "contentMediaType": {"type": "string"},
- "contentSchema": {"$dynamicRef": "#meta"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
deleted file mode 100644
index 4c8e5cb6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/core",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/core": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Core vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "$id": {
- "$ref": "#/$defs/uriReferenceString",
- "$comment": "Non-empty fragments not allowed.",
- "pattern": "^[^#]*#?$"
- },
- "$schema": {"$ref": "#/$defs/uriString"},
- "$ref": {"$ref": "#/$defs/uriReferenceString"},
- "$anchor": {"$ref": "#/$defs/anchorString"},
- "$dynamicRef": {"$ref": "#/$defs/uriReferenceString"},
- "$dynamicAnchor": {"$ref": "#/$defs/anchorString"},
- "$vocabulary": {
- "type": "object",
- "propertyNames": {"$ref": "#/$defs/uriString"},
- "additionalProperties": {
- "type": "boolean"
- }
- },
- "$comment": {
- "type": "string"
- },
- "$defs": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"}
- }
- },
- "$defs": {
- "anchorString": {
- "type": "string",
- "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"
- },
- "uriString": {
- "type": "string",
- "format": "uri"
- },
- "uriReferenceString": {
- "type": "string",
- "format": "uri-reference"
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
deleted file mode 100644
index 83c26e35..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/format-annotation": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Format vocabulary meta-schema for annotation results",
- "type": ["object", "boolean"],
- "properties": {
- "format": {"type": "string"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
deleted file mode 100644
index 11946fb5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/meta-data",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/meta-data": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Meta-data vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": true,
- "deprecated": {
- "type": "boolean",
- "default": false
- },
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "writeOnly": {
- "type": "boolean",
- "default": false
- },
- "examples": {
- "type": "array",
- "items": true
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
deleted file mode 100644
index 5e4b203b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/unevaluated",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/unevaluated": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Unevaluated applicator vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "unevaluatedItems": {"$dynamicRef": "#meta"},
- "unevaluatedProperties": {"$dynamicRef": "#meta"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
deleted file mode 100644
index e0ae13d9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/validation",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/validation": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Validation vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "type": {
- "anyOf": [
- {"$ref": "#/$defs/simpleTypes"},
- {
- "type": "array",
- "items": {"$ref": "#/$defs/simpleTypes"},
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- },
- "const": true,
- "enum": {
- "type": "array",
- "items": true
- },
- "multipleOf": {
- "type": "number",
- "exclusiveMinimum": 0
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "number"
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "number"
- },
- "maxLength": {"$ref": "#/$defs/nonNegativeInteger"},
- "minLength": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "maxItems": {"$ref": "#/$defs/nonNegativeInteger"},
- "minItems": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "maxContains": {"$ref": "#/$defs/nonNegativeInteger"},
- "minContains": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 1
- },
- "maxProperties": {"$ref": "#/$defs/nonNegativeInteger"},
- "minProperties": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "required": {"$ref": "#/$defs/stringArray"},
- "dependentRequired": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/$defs/stringArray"
- }
- }
- },
- "$defs": {
- "nonNegativeInteger": {
- "type": "integer",
- "minimum": 0
- },
- "nonNegativeIntegerDefault0": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 0
- },
- "simpleTypes": {
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
- },
- "stringArray": {
- "type": "array",
- "items": {"type": "string"},
- "uniqueItems": true,
- "default": []
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
deleted file mode 100644
index 1c68270f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/schema",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/core": true,
- "https://json-schema.org/draft/2020-12/vocab/applicator": true,
- "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
- "https://json-schema.org/draft/2020-12/vocab/validation": true,
- "https://json-schema.org/draft/2020-12/vocab/meta-data": true,
- "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
- "https://json-schema.org/draft/2020-12/vocab/content": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Core and Validation specifications meta-schema",
- "allOf": [
- {"$ref": "meta/core"},
- {"$ref": "meta/applicator"},
- {"$ref": "meta/unevaluated"},
- {"$ref": "meta/validation"},
- {"$ref": "meta/meta-data"},
- {"$ref": "meta/format-annotation"},
- {"$ref": "meta/content"}
- ],
- "type": ["object", "boolean"],
- "$comment": "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",
- "properties": {
- "definitions": {
- "$comment": "\"definitions\" has been replaced by \"$defs\".",
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "deprecated": true,
- "default": {}
- },
- "dependencies": {
- "$comment": "\"dependencies\" has been split and replaced by \"dependentSchemas\" and \"dependentRequired\" in order to serve their differing semantics.",
- "type": "object",
- "additionalProperties": {
- "anyOf": [{"$dynamicRef": "#meta"}, {"$ref": "meta/validation#/$defs/stringArray"}]
- },
- "deprecated": true,
- "default": {}
- },
- "$recursiveAnchor": {
- "$comment": "\"$recursiveAnchor\" has been replaced by \"$dynamicAnchor\".",
- "$ref": "meta/core#/$defs/anchorString",
- "deprecated": true
- },
- "$recursiveRef": {
- "$comment": "\"$recursiveRef\" has been replaced by \"$dynamicRef\".",
- "$ref": "meta/core#/$defs/uriReferenceString",
- "deprecated": true
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-draft-06.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-draft-06.json
deleted file mode 100644
index 5410064b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-draft-06.json
+++ /dev/null
@@ -1,137 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-06/schema#",
- "$id": "http://json-schema.org/draft-06/schema#",
- "title": "Core schema meta-schema",
- "definitions": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$ref": "#"}
- },
- "nonNegativeInteger": {
- "type": "integer",
- "minimum": 0
- },
- "nonNegativeIntegerDefault0": {
- "allOf": [{"$ref": "#/definitions/nonNegativeInteger"}, {"default": 0}]
- },
- "simpleTypes": {
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
- },
- "stringArray": {
- "type": "array",
- "items": {"type": "string"},
- "uniqueItems": true,
- "default": []
- }
- },
- "type": ["object", "boolean"],
- "properties": {
- "$id": {
- "type": "string",
- "format": "uri-reference"
- },
- "$schema": {
- "type": "string",
- "format": "uri"
- },
- "$ref": {
- "type": "string",
- "format": "uri-reference"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": {},
- "examples": {
- "type": "array",
- "items": {}
- },
- "multipleOf": {
- "type": "number",
- "exclusiveMinimum": 0
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "number"
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "number"
- },
- "maxLength": {"$ref": "#/definitions/nonNegativeInteger"},
- "minLength": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "additionalItems": {"$ref": "#"},
- "items": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}],
- "default": {}
- },
- "maxItems": {"$ref": "#/definitions/nonNegativeInteger"},
- "minItems": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "contains": {"$ref": "#"},
- "maxProperties": {"$ref": "#/definitions/nonNegativeInteger"},
- "minProperties": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "required": {"$ref": "#/definitions/stringArray"},
- "additionalProperties": {"$ref": "#"},
- "definitions": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "properties": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "dependencies": {
- "type": "object",
- "additionalProperties": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/stringArray"}]
- }
- },
- "propertyNames": {"$ref": "#"},
- "const": {},
- "enum": {
- "type": "array",
- "minItems": 1,
- "uniqueItems": true
- },
- "type": {
- "anyOf": [
- {"$ref": "#/definitions/simpleTypes"},
- {
- "type": "array",
- "items": {"$ref": "#/definitions/simpleTypes"},
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- },
- "format": {"type": "string"},
- "allOf": {"$ref": "#/definitions/schemaArray"},
- "anyOf": {"$ref": "#/definitions/schemaArray"},
- "oneOf": {"$ref": "#/definitions/schemaArray"},
- "not": {"$ref": "#"}
- },
- "default": {}
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-draft-07.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-draft-07.json
deleted file mode 100644
index 6a748510..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-draft-07.json
+++ /dev/null
@@ -1,151 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "$id": "http://json-schema.org/draft-07/schema#",
- "title": "Core schema meta-schema",
- "definitions": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$ref": "#"}
- },
- "nonNegativeInteger": {
- "type": "integer",
- "minimum": 0
- },
- "nonNegativeIntegerDefault0": {
- "allOf": [{"$ref": "#/definitions/nonNegativeInteger"}, {"default": 0}]
- },
- "simpleTypes": {
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
- },
- "stringArray": {
- "type": "array",
- "items": {"type": "string"},
- "uniqueItems": true,
- "default": []
- }
- },
- "type": ["object", "boolean"],
- "properties": {
- "$id": {
- "type": "string",
- "format": "uri-reference"
- },
- "$schema": {
- "type": "string",
- "format": "uri"
- },
- "$ref": {
- "type": "string",
- "format": "uri-reference"
- },
- "$comment": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": true,
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "examples": {
- "type": "array",
- "items": true
- },
- "multipleOf": {
- "type": "number",
- "exclusiveMinimum": 0
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "number"
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "number"
- },
- "maxLength": {"$ref": "#/definitions/nonNegativeInteger"},
- "minLength": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "additionalItems": {"$ref": "#"},
- "items": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}],
- "default": true
- },
- "maxItems": {"$ref": "#/definitions/nonNegativeInteger"},
- "minItems": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "contains": {"$ref": "#"},
- "maxProperties": {"$ref": "#/definitions/nonNegativeInteger"},
- "minProperties": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "required": {"$ref": "#/definitions/stringArray"},
- "additionalProperties": {"$ref": "#"},
- "definitions": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "properties": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "propertyNames": {"format": "regex"},
- "default": {}
- },
- "dependencies": {
- "type": "object",
- "additionalProperties": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/stringArray"}]
- }
- },
- "propertyNames": {"$ref": "#"},
- "const": true,
- "enum": {
- "type": "array",
- "items": true,
- "minItems": 1,
- "uniqueItems": true
- },
- "type": {
- "anyOf": [
- {"$ref": "#/definitions/simpleTypes"},
- {
- "type": "array",
- "items": {"$ref": "#/definitions/simpleTypes"},
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- },
- "format": {"type": "string"},
- "contentMediaType": {"type": "string"},
- "contentEncoding": {"type": "string"},
- "if": {"$ref": "#"},
- "then": {"$ref": "#"},
- "else": {"$ref": "#"},
- "allOf": {"$ref": "#/definitions/schemaArray"},
- "anyOf": {"$ref": "#/definitions/schemaArray"},
- "oneOf": {"$ref": "#/definitions/schemaArray"},
- "not": {"$ref": "#"}
- },
- "default": true
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-secure.json b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-secure.json
deleted file mode 100644
index 3968abd5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/json-schema-secure.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/json-schema-secure.json#",
- "title": "Meta-schema for the security assessment of JSON Schemas",
- "description": "If a JSON AnySchema fails validation against this meta-schema, it may be unsafe to validate untrusted data",
- "definitions": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$ref": "#"}
- }
- },
- "dependencies": {
- "patternProperties": {
- "description": "prevent slow validation of large property names",
- "required": ["propertyNames"],
- "properties": {
- "propertyNames": {
- "required": ["maxLength"]
- }
- }
- },
- "uniqueItems": {
- "description": "prevent slow validation of large non-scalar arrays",
- "if": {
- "properties": {
- "uniqueItems": {"const": true},
- "items": {
- "properties": {
- "type": {
- "anyOf": [
- {
- "enum": ["object", "array"]
- },
- {
- "type": "array",
- "contains": {"enum": ["object", "array"]}
- }
- ]
- }
- }
- }
- }
- },
- "then": {
- "required": ["maxItems"]
- }
- },
- "pattern": {
- "description": "prevent slow pattern matching of large strings",
- "required": ["maxLength"]
- },
- "format": {
- "description": "prevent slow format validation of large strings",
- "required": ["maxLength"]
- }
- },
- "properties": {
- "additionalItems": {"$ref": "#"},
- "additionalProperties": {"$ref": "#"},
- "dependencies": {
- "additionalProperties": {
- "anyOf": [{"type": "array"}, {"$ref": "#"}]
- }
- },
- "items": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}]
- },
- "definitions": {
- "additionalProperties": {"$ref": "#"}
- },
- "patternProperties": {
- "additionalProperties": {"$ref": "#"}
- },
- "properties": {
- "additionalProperties": {"$ref": "#"}
- },
- "if": {"$ref": "#"},
- "then": {"$ref": "#"},
- "else": {"$ref": "#"},
- "allOf": {"$ref": "#/definitions/schemaArray"},
- "anyOf": {"$ref": "#/definitions/schemaArray"},
- "oneOf": {"$ref": "#/definitions/schemaArray"},
- "not": {"$ref": "#"},
- "contains": {"$ref": "#"},
- "propertyNames": {"$ref": "#"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.d.ts
deleted file mode 100644
index 932797a3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { SchemaObject } from "../types";
-declare const jtdMetaSchema: SchemaObject;
-export default jtdMetaSchema;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.js
deleted file mode 100644
index 1ee940af..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.js
+++ /dev/null
@@ -1,118 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const shared = (root) => {
- const sch = {
- nullable: { type: "boolean" },
- metadata: {
- optionalProperties: {
- union: { elements: { ref: "schema" } },
- },
- additionalProperties: true,
- },
- };
- if (root)
- sch.definitions = { values: { ref: "schema" } };
- return sch;
-};
-const emptyForm = (root) => ({
- optionalProperties: shared(root),
-});
-const refForm = (root) => ({
- properties: {
- ref: { type: "string" },
- },
- optionalProperties: shared(root),
-});
-const typeForm = (root) => ({
- properties: {
- type: {
- enum: [
- "boolean",
- "timestamp",
- "string",
- "float32",
- "float64",
- "int8",
- "uint8",
- "int16",
- "uint16",
- "int32",
- "uint32",
- ],
- },
- },
- optionalProperties: shared(root),
-});
-const enumForm = (root) => ({
- properties: {
- enum: { elements: { type: "string" } },
- },
- optionalProperties: shared(root),
-});
-const elementsForm = (root) => ({
- properties: {
- elements: { ref: "schema" },
- },
- optionalProperties: shared(root),
-});
-const propertiesForm = (root) => ({
- properties: {
- properties: { values: { ref: "schema" } },
- },
- optionalProperties: {
- optionalProperties: { values: { ref: "schema" } },
- additionalProperties: { type: "boolean" },
- ...shared(root),
- },
-});
-const optionalPropertiesForm = (root) => ({
- properties: {
- optionalProperties: { values: { ref: "schema" } },
- },
- optionalProperties: {
- additionalProperties: { type: "boolean" },
- ...shared(root),
- },
-});
-const discriminatorForm = (root) => ({
- properties: {
- discriminator: { type: "string" },
- mapping: {
- values: {
- metadata: {
- union: [propertiesForm(false), optionalPropertiesForm(false)],
- },
- },
- },
- },
- optionalProperties: shared(root),
-});
-const valuesForm = (root) => ({
- properties: {
- values: { ref: "schema" },
- },
- optionalProperties: shared(root),
-});
-const schema = (root) => ({
- metadata: {
- union: [
- emptyForm,
- refForm,
- typeForm,
- enumForm,
- elementsForm,
- propertiesForm,
- optionalPropertiesForm,
- discriminatorForm,
- valuesForm,
- ].map((s) => s(root)),
- },
-});
-const jtdMetaSchema = {
- definitions: {
- schema: schema(false),
- },
- ...schema(true),
-};
-exports.default = jtdMetaSchema;
-//# sourceMappingURL=jtd-schema.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.js.map
deleted file mode 100644
index d46755b2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/refs/jtd-schema.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"jtd-schema.js","sourceRoot":"","sources":["../../lib/refs/jtd-schema.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAe,CAAC,IAAI,EAAE,EAAE;IAClC,MAAM,GAAG,GAAiB;QACxB,QAAQ,EAAE,EAAC,IAAI,EAAE,SAAS,EAAC;QAC3B,QAAQ,EAAE;YACR,kBAAkB,EAAE;gBAClB,KAAK,EAAE,EAAC,QAAQ,EAAE,EAAC,GAAG,EAAE,QAAQ,EAAC,EAAC;aACnC;YACD,oBAAoB,EAAE,IAAI;SAC3B;KACF,CAAA;IACD,IAAI,IAAI;QAAE,GAAG,CAAC,WAAW,GAAG,EAAC,MAAM,EAAE,EAAC,GAAG,EAAE,QAAQ,EAAC,EAAC,CAAA;IACrD,OAAO,GA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AAsB;YACtB,iBAAiB;YACjB,UAAU;SACX,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;KACtB;CACF,CAAC,CAAA;AAEF,MAAM,aAAa,GAAiB;IAClC,WAAW,EAAE;QACX,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC;KACtB;IACD,GAAG,MAAM,CAAC,IAAI,CAAC;CAChB,CAAA;AAED,kBAAe,aAAa,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.d.ts
deleted file mode 100644
index 56149ea2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import * as equal from "fast-deep-equal";
-declare type Equal = typeof equal & {
- code: string;
-};
-declare const _default: Equal;
-export default _default;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.js
deleted file mode 100644
index 774bba05..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.js
+++ /dev/null
@@ -1,7 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-// https://github.com/ajv-validator/ajv/issues/889
-const equal = require("fast-deep-equal");
-equal.code = 'require("ajv/dist/runtime/equal").default';
-exports.default = equal;
-//# sourceMappingURL=equal.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.js.map
deleted file mode 100644
index 0e17901c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/equal.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"equal.js","sourceRoot":"","sources":["../../lib/runtime/equal.ts"],"names":[],"mappings":";;AAAA,kDAAkD;AAClD,yCAAwC;AAGtC,KAAe,CAAC,IAAI,GAAG,2CAA2C,CAAA;AAEpE,kBAAe,KAAc,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.d.ts
deleted file mode 100644
index 85f1d567..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.d.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-export declare function parseJson(s: string, pos: number): unknown;
-export declare namespace parseJson {
- var message: string | undefined;
- var position: number;
- var code: string;
-}
-export declare function parseJsonNumber(s: string, pos: number, maxDigits?: number): number | undefined;
-export declare namespace parseJsonNumber {
- var message: string | undefined;
- var position: number;
- var code: string;
-}
-export declare function parseJsonString(s: string, pos: number): string | undefined;
-export declare namespace parseJsonString {
- var message: string | undefined;
- var position: number;
- var code: string;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.js
deleted file mode 100644
index 7ebbc1bf..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.js
+++ /dev/null
@@ -1,184 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.parseJsonString = exports.parseJsonNumber = exports.parseJson = void 0;
-const rxParseJson = /position\s(\d+)$/;
-function parseJson(s, pos) {
- let endPos;
- parseJson.message = undefined;
- let matches;
- if (pos)
- s = s.slice(pos);
- try {
- parseJson.position = pos + s.length;
- return JSON.parse(s);
- }
- catch (e) {
- matches = rxParseJson.exec(e.message);
- if (!matches) {
- parseJson.message = "unexpected end";
- return undefined;
- }
- endPos = +matches[1];
- const c = s[endPos];
- s = s.slice(0, endPos);
- parseJson.position = pos + endPos;
- try {
- return JSON.parse(s);
- }
- catch (e1) {
- parseJson.message = `unexpected token ${c}`;
- return undefined;
- }
- }
-}
-exports.parseJson = parseJson;
-parseJson.message = undefined;
-parseJson.position = 0;
-parseJson.code = 'require("ajv/dist/runtime/parseJson").parseJson';
-function parseJsonNumber(s, pos, maxDigits) {
- let numStr = "";
- let c;
- parseJsonNumber.message = undefined;
- if (s[pos] === "-") {
- numStr += "-";
- pos++;
- }
- if (s[pos] === "0") {
- numStr += "0";
- pos++;
- }
- else {
- if (!parseDigits(maxDigits)) {
- errorMessage();
- return undefined;
- }
- }
- if (maxDigits) {
- parseJsonNumber.position = pos;
- return +numStr;
- }
- if (s[pos] === ".") {
- numStr += ".";
- pos++;
- if (!parseDigits()) {
- errorMessage();
- return undefined;
- }
- }
- if (((c = s[pos]), c === "e" || c === "E")) {
- numStr += "e";
- pos++;
- if (((c = s[pos]), c === "+" || c === "-")) {
- numStr += c;
- pos++;
- }
- if (!parseDigits()) {
- errorMessage();
- return undefined;
- }
- }
- parseJsonNumber.position = pos;
- return +numStr;
- function parseDigits(maxLen) {
- let digit = false;
- while (((c = s[pos]), c >= "0" && c <= "9" && (maxLen === undefined || maxLen-- > 0))) {
- digit = true;
- numStr += c;
- pos++;
- }
- return digit;
- }
- function errorMessage() {
- parseJsonNumber.position = pos;
- parseJsonNumber.message = pos < s.length ? `unexpected token ${s[pos]}` : "unexpected end";
- }
-}
-exports.parseJsonNumber = parseJsonNumber;
-parseJsonNumber.message = undefined;
-parseJsonNumber.position = 0;
-parseJsonNumber.code = 'require("ajv/dist/runtime/parseJson").parseJsonNumber';
-const escapedChars = {
- b: "\b",
- f: "\f",
- n: "\n",
- r: "\r",
- t: "\t",
- '"': '"',
- "/": "/",
- "\\": "\\",
-};
-const CODE_A = "a".charCodeAt(0);
-const CODE_0 = "0".charCodeAt(0);
-function parseJsonString(s, pos) {
- let str = "";
- let c;
- parseJsonString.message = undefined;
- // eslint-disable-next-line no-constant-condition, @typescript-eslint/no-unnecessary-condition
- while (true) {
- c = s[pos++];
- if (c === '"')
- break;
- if (c === "\\") {
- c = s[pos];
- if (c in escapedChars) {
- str += escapedChars[c];
- pos++;
- }
- else if (c === "u") {
- pos++;
- let count = 4;
- let code = 0;
- while (count--) {
- code <<= 4;
- c = s[pos];
- if (c === undefined) {
- errorMessage("unexpected end");
- return undefined;
- }
- c = c.toLowerCase();
- if (c >= "a" && c <= "f") {
- code += c.charCodeAt(0) - CODE_A + 10;
- }
- else if (c >= "0" && c <= "9") {
- code += c.charCodeAt(0) - CODE_0;
- }
- else {
- errorMessage(`unexpected token ${c}`);
- return undefined;
- }
- pos++;
- }
- str += String.fromCharCode(code);
- }
- else {
- errorMessage(`unexpected token ${c}`);
- return undefined;
- }
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
- }
- else if (c === undefined) {
- errorMessage("unexpected end");
- return undefined;
- }
- else {
- if (c.charCodeAt(0) >= 0x20) {
- str += c;
- }
- else {
- errorMessage(`unexpected token ${c}`);
- return undefined;
- }
- }
- }
- parseJsonString.position = pos;
- return str;
- function errorMessage(msg) {
- parseJsonString.position = pos;
- parseJsonString.message = msg;
- }
-}
-exports.parseJsonString = parseJsonString;
-parseJsonString.message = undefined;
-parseJsonString.position = 0;
-parseJsonString.code = 'require("ajv/dist/runtime/parseJson").parseJsonString';
-//# sourceMappingURL=parseJson.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.js.map
deleted file mode 100644
index 7f239fb7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/parseJson.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"parseJson.js","sourceRoot":"","sources":["../../lib/runtime/parseJson.ts"],"names":[],"mappings":";;;AAAA,MAAM,WAAW,GAAG,kBAAkB,CAAA;AAEtC,SAAgB,SAAS,CAAC,CAAS,EAAE,GAAW;IAC9C,IAAI,MAA0B,CAAA;IAC9B,SAAS,CAAC,OAAO,GAAG,SAAS,CAA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;aAAM,IAAI,CAAC,KAAK,SAAS,EAAE;YAC1B,YAAY,CAAC,gBAAgB,CAAC,CAAA;YAC9B,OAAO,SAAS,CAAA;SACjB;aAAM;YACL,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE;gBAC3B,GAAG,IAAI,CAAC,CAAA;aACT;iBAAM;gBACL,YAAY,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAA;gBACrC,OAAO,SAAS,CAAA;aACjB;SACF;KACF;IACD,eAAe,CAAC,QAAQ,GAAG,GAAG,CAAA;IAC9B,OAAO,GAAG,CAAA;IAEV,SAAS,YAAY,CAAC,GAAW;QAC/B,eAAe,CAAC,QAAQ,GAAG,GAAG,CAAA;QAC9B,eAAe,CAAC,OAAO,GAAG,GAAG,CAAA;IAC/B,CAAC;AACH,CAAC;AA5DD,0CA4DC;AAED,eAAe,CAAC,OAAO,GAAG,SAA+B,CAAA;AACzD,eAAe,CAAC,QAAQ,GAAG,CAAW,CAAA;AACtC,eAAe,CAAC,IAAI,GAAG,uDAAuD,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.d.ts
deleted file mode 100644
index 0579dd3c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-declare function quote(s: string): string;
-declare namespace quote {
- var code: string;
-}
-export default quote;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.js
deleted file mode 100644
index ebf78f70..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const rxEscapable =
-// eslint-disable-next-line no-control-regex, no-misleading-character-class
-/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
-const escaped = {
- "\b": "\\b",
- "\t": "\\t",
- "\n": "\\n",
- "\f": "\\f",
- "\r": "\\r",
- '"': '\\"',
- "\\": "\\\\",
-};
-function quote(s) {
- rxEscapable.lastIndex = 0;
- return ('"' +
- (rxEscapable.test(s)
- ? s.replace(rxEscapable, (a) => {
- const c = escaped[a];
- return typeof c === "string"
- ? c
- : "\\u" + ("0000" + a.charCodeAt(0).toString(16)).slice(-4);
- })
- : s) +
- '"');
-}
-exports.default = quote;
-quote.code = 'require("ajv/dist/runtime/quote").default';
-//# sourceMappingURL=quote.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.js.map
deleted file mode 100644
index 4d226252..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/quote.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"quote.js","sourceRoot":"","sources":["../../lib/runtime/quote.ts"],"names":[],"mappings":";;AAAA,MAAM,WAAW;AACf,2EAA2E;AAC3E,iIAAiI,CAAA;AAEnI,MAAM,OAAO,GAA6B;IACxC,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACb,CAAA;AAED,SAAwB,KAAK,CAAC,CAAS;IACrC,WAAW,CAAC,SAAS,GAAG,CAAC,CAAA;IACzB,OAAO,CACL,GAAG;QACH,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;YAClB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE;gBAC3B,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;gBACpB,OAAO,OAAO,CAAC,KAAK,QAAQ;oBAC1B,CAAC,CAAC,CAAC;oBACH,CAAC,CAAC,KAAK,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;YAC/D,CAAC,CAAC;YACJ,CAAC,CAAC,CAAC,CAAC;QACN,GAAG,CACJ,CAAA;AACH,CAAC;AAdD,wBAcC;AAED,KAAK,CAAC,IAAI,GAAG,2CAA2C,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.d.ts
deleted file mode 100644
index b49306ff..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import * as re2 from "re2";
-declare type Re2 = typeof re2 & {
- code: string;
-};
-declare const _default: Re2;
-export default _default;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.js
deleted file mode 100644
index 4b1ee253..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.js
+++ /dev/null
@@ -1,6 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const re2 = require("re2");
-re2.code = 'require("ajv/dist/runtime/re2").default';
-exports.default = re2;
-//# sourceMappingURL=re2.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.js.map
deleted file mode 100644
index bb938a2c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/re2.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"re2.js","sourceRoot":"","sources":["../../lib/runtime/re2.ts"],"names":[],"mappings":";;AAAA,2BAA0B;AAGxB,GAAW,CAAC,IAAI,GAAG,yCAAyC,CAAA;AAE9D,kBAAe,GAAU,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.d.ts
deleted file mode 100644
index cd483268..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-declare function validTimestamp(str: string, allowDate: boolean): boolean;
-declare namespace validTimestamp {
- var code: string;
-}
-export default validTimestamp;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.js
deleted file mode 100644
index 5e0f0656..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.js
+++ /dev/null
@@ -1,42 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const DT_SEPARATOR = /t|\s/i;
-const DATE = /^(\d\d\d\d)-(\d\d)-(\d\d)$/;
-const TIME = /^(\d\d):(\d\d):(\d\d)(?:\.\d+)?(?:z|([+-]\d\d)(?::?(\d\d))?)$/i;
-const DAYS = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
-function validTimestamp(str, allowDate) {
- // http://tools.ietf.org/html/rfc3339#section-5.6
- const dt = str.split(DT_SEPARATOR);
- return ((dt.length === 2 && validDate(dt[0]) && validTime(dt[1])) ||
- (allowDate && dt.length === 1 && validDate(dt[0])));
-}
-exports.default = validTimestamp;
-function validDate(str) {
- const matches = DATE.exec(str);
- if (!matches)
- return false;
- const y = +matches[1];
- const m = +matches[2];
- const d = +matches[3];
- return (m >= 1 &&
- m <= 12 &&
- d >= 1 &&
- (d <= DAYS[m] ||
- // leap year: https://tools.ietf.org/html/rfc3339#appendix-C
- (m === 2 && d === 29 && (y % 100 === 0 ? y % 400 === 0 : y % 4 === 0))));
-}
-function validTime(str) {
- const matches = TIME.exec(str);
- if (!matches)
- return false;
- const hr = +matches[1];
- const min = +matches[2];
- const sec = +matches[3];
- const tzH = +(matches[4] || 0);
- const tzM = +(matches[5] || 0);
- return ((hr <= 23 && min <= 59 && sec <= 59) ||
- // leap second
- (hr - tzH === 23 && min - tzM === 59 && sec === 60));
-}
-validTimestamp.code = 'require("ajv/dist/runtime/timestamp").default';
-//# sourceMappingURL=timestamp.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.js.map
deleted file mode 100644
index 6b0eee03..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/timestamp.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../lib/runtime/timestamp.ts"],"names":[],"mappings":";;AAAA,MAAM,YAAY,GAAG,OAAO,CAAA;AAC5B,MAAM,IAAI,GAAG,4BAA4B,CAAA;AACzC,MAAM,IAAI,GAAG,gEAAgE,CAAA;AAC7E,MAAM,IAAI,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAA;AAEhE,SAAwB,cAAc,CAAC,GAAW,EAAE,SAAkB;IACpE,iDAAiD;IACjD,MAAM,EAAE,GAAa,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,CAAA;IAC5C,OAAO,CACL,CAAC,EAAE,CAAC,MAAM,KAAK,CAAC,IAAI,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAA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A;IAC/B,MAAM,GAAG,GAAW,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAA;IACtC,MAAM,GAAG,GAAW,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAA;IACtC,OAAO,CACL,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,CAAC;QACpC,cAAc;QACd,CAAC,EAAE,GAAG,GAAG,KAAK,EAAE,IAAI,GAAG,GAAG,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,CAAC,CACpD,CAAA;AACH,CAAC;AAED,cAAc,CAAC,IAAI,GAAG,+CAA+C,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.d.ts
deleted file mode 100644
index ecbee69c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-declare function ucs2length(str: string): number;
-declare namespace ucs2length {
- var code: string;
-}
-export default ucs2length;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.js
deleted file mode 100644
index 92ea0c08..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-// https://mathiasbynens.be/notes/javascript-encoding
-// https://github.com/bestiejs/punycode.js - punycode.ucs2.decode
-function ucs2length(str) {
- const len = str.length;
- let length = 0;
- let pos = 0;
- let value;
- while (pos < len) {
- length++;
- value = str.charCodeAt(pos++);
- if (value >= 0xd800 && value <= 0xdbff && pos < len) {
- // high surrogate, and there is a next character
- value = str.charCodeAt(pos);
- if ((value & 0xfc00) === 0xdc00)
- pos++; // low surrogate
- }
- }
- return length;
-}
-exports.default = ucs2length;
-ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
-//# sourceMappingURL=ucs2length.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.js.map
deleted file mode 100644
index 7c7f7886..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/ucs2length.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ucs2length.js","sourceRoot":"","sources":["../../lib/runtime/ucs2length.ts"],"names":[],"mappings":";;AAAA,qDAAqD;AACrD,iEAAiE;AACjE,SAAwB,UAAU,CAAC,GAAW;IAC5C,MAAM,GAAG,GAAG,GAAG,CAAC,MAAM,CAAA;IACtB,IAAI,MAAM,GAAG,CAAC,CAAA;IACd,IAAI,GAAG,GAAG,CAAC,CAAA;IACX,IAAI,KAAa,CAAA;IACjB,OAAO,GAAG,GAAG,GAAG,EAAE;QAChB,MAAM,EAAE,CAAA;QACR,KAAK,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,CAAA;QAC7B,IAAI,KAAK,IAAI,MAAM,IAAI,KAAK,IAAI,MAAM,IAAI,GAAG,GAAG,GAAG,EAAE;YACnD,gDAAgD;YAChD,KAAK,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;YAC3B,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,MAAM;gBAAE,GAAG,EAAE,CAAA,CAAC,gBAAgB;SACxD;KACF;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AAfD,6BAeC;AAED,UAAU,CAAC,IAAI,GAAG,gDAAgD,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.d.ts
deleted file mode 100644
index b0ee9698..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import type { ErrorObject } from "../types";
-export default class ValidationError extends Error {
- readonly errors: Partial<ErrorObject>[];
- readonly ajv: true;
- readonly validation: true;
- constructor(errors: Partial<ErrorObject>[]);
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.js
deleted file mode 100644
index 353502c0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-class ValidationError extends Error {
- constructor(errors) {
- super("validation failed");
- this.errors = errors;
- this.ajv = this.validation = true;
- }
-}
-exports.default = ValidationError;
-//# sourceMappingURL=validation_error.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.js.map
deleted file mode 100644
index 70206fbc..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/runtime/validation_error.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"validation_error.js","sourceRoot":"","sources":["../../lib/runtime/validation_error.ts"],"names":[],"mappings":";;AAEA,MAAqB,eAAgB,SAAQ,KAAK;IAKhD,YAAY,MAA8B;QACxC,KAAK,CAAC,mBAAmB,CAAC,CAAA;QAC1B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,UAAU,GAAG,IAAI,CAAA;IACnC,CAAC;CACF;AAVD,kCAUC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.d.ts
deleted file mode 100644
index a9141c3d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type AjvCore from "../core";
-import type { AnyValidateFunction } from "../types";
-declare function standaloneCode(ajv: AjvCore, refsOrFunc?: {
- [K in string]?: string;
-} | AnyValidateFunction): string;
-export default standaloneCode;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.js
deleted file mode 100644
index b44bb5db..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.js
+++ /dev/null
@@ -1,90 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const scope_1 = require("../compile/codegen/scope");
-const code_1 = require("../compile/codegen/code");
-function standaloneCode(ajv, refsOrFunc) {
- if (!ajv.opts.code.source) {
- throw new Error("moduleCode: ajv instance must have code.source option");
- }
- const { _n } = ajv.scope.opts;
- return typeof refsOrFunc == "function"
- ? funcExportCode(refsOrFunc.source)
- : refsOrFunc !== undefined
- ? multiExportsCode(refsOrFunc, getValidate)
- : multiExportsCode(ajv.schemas, (sch) => sch.meta ? undefined : ajv.compile(sch.schema));
- function getValidate(id) {
- const v = ajv.getSchema(id);
- if (!v)
- throw new Error(`moduleCode: no schema with id ${id}`);
- return v;
- }
- function funcExportCode(source) {
- const usedValues = {};
- const n = source === null || source === void 0 ? void 0 : source.validateName;
- const vCode = validateCode(usedValues, source);
- if (ajv.opts.code.esm) {
- // Always do named export as `validate` rather than the variable `n` which is `validateXX` for known export value
- return `"use strict";${_n}export const validate = ${n};${_n}export default ${n};${_n}${vCode}`;
- }
- return `"use strict";${_n}module.exports = ${n};${_n}module.exports.default = ${n};${_n}${vCode}`;
- }
- function multiExportsCode(schemas, getValidateFunc) {
- var _a;
- const usedValues = {};
- let code = (0, code_1._) `"use strict";`;
- for (const name in schemas) {
- const v = getValidateFunc(schemas[name]);
- if (v) {
- const vCode = validateCode(usedValues, v.source);
- const exportSyntax = ajv.opts.code.esm
- ? (0, code_1._) `export const ${(0, code_1.getEsmExportName)(name)}`
- : (0, code_1._) `exports${(0, code_1.getProperty)(name)}`;
- code = (0, code_1._) `${code}${_n}${exportSyntax} = ${(_a = v.source) === null || _a === void 0 ? void 0 : _a.validateName};${_n}${vCode}`;
- }
- }
- return `${code}`;
- }
- function validateCode(usedValues, s) {
- if (!s)
- throw new Error('moduleCode: function does not have "source" property');
- if (usedState(s.validateName) === scope_1.UsedValueState.Completed)
- return code_1.nil;
- setUsedState(s.validateName, scope_1.UsedValueState.Started);
- const scopeCode = ajv.scope.scopeCode(s.scopeValues, usedValues, refValidateCode);
- const code = new code_1._Code(`${scopeCode}${_n}${s.validateCode}`);
- return s.evaluated ? (0, code_1._) `${code}${s.validateName}.evaluated = ${s.evaluated};${_n}` : code;
- function refValidateCode(n) {
- var _a;
- const vRef = (_a = n.value) === null || _a === void 0 ? void 0 : _a.ref;
- if (n.prefix === "validate" && typeof vRef == "function") {
- const v = vRef;
- return validateCode(usedValues, v.source);
- }
- else if ((n.prefix === "root" || n.prefix === "wrapper") && typeof vRef == "object") {
- const { validate, validateName } = vRef;
- if (!validateName)
- throw new Error("ajv internal error");
- const def = ajv.opts.code.es5 ? scope_1.varKinds.var : scope_1.varKinds.const;
- const wrapper = (0, code_1._) `${def} ${n} = {validate: ${validateName}};`;
- if (usedState(validateName) === scope_1.UsedValueState.Started)
- return wrapper;
- const vCode = validateCode(usedValues, validate === null || validate === void 0 ? void 0 : validate.source);
- return (0, code_1._) `${wrapper}${_n}${vCode}`;
- }
- return undefined;
- }
- function usedState(name) {
- var _a;
- return (_a = usedValues[name.prefix]) === null || _a === void 0 ? void 0 : _a.get(name);
- }
- function setUsedState(name, state) {
- const { prefix } = name;
- const names = (usedValues[prefix] = usedValues[prefix] || new Map());
- names.set(name, state);
- }
- }
-}
-module.exports = exports = standaloneCode;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.default = standaloneCode;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.js.map
deleted file mode 100644
index 11864d36..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/standalone/index.ts"],"names":[],"mappings":";;AAGA,oDAAkG;AAClG,kDAA0F;AAE1F,SAAS,cAAc,CACrB,GAAY,EACZ,UAA2D;IAE3D,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;QACzB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAA;KACzE;IACD,MAAM,EAAC,EAAE,EAAC,GAAG,GAAG,CAAC,KAAK,CAAC,IAAI,CAAA;IAC3B,OAAO,OAAO,UAAU,IAAI,UAAU;QACpC,CAAC,CAAC,cAAc,CAAC,UAAU,CAAC,MAAM,CAAC;QACnC,CAAC,CAAC,UAAU,KAAK,SAAS;YAC1B,CAAC,CAAC,gBAAgB,CAAS,UAAU,EAAE,WAAW,CAAC;YACnD,CAAC,CAAC,gBAAgB,CAAY,GAAG,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAC/C,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAC/C,CAAA;IAEL,SAAS,WAAW,CAAC,EAAU;QAC7B,MAAM,CAAC,GAAG,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC3B,IAAI,CAAC,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,iCAAiC,EAAE,EAAE,CAAC,CAAA;QAC9D,OAAO,CAAC,CAAA;IACV,CAAC;IAED,SAAS,cAAc,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C,CAAC,CAAA;AAE3D,kBAAe,cAAc,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.d.ts
deleted file mode 100644
index 156ac322..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import Ajv, { AnySchema, AnyValidateFunction, ErrorObject } from "../core";
-export default class AjvPack {
- readonly ajv: Ajv;
- errors?: ErrorObject[] | null;
- constructor(ajv: Ajv);
- validate(schemaKeyRef: AnySchema | string, data: unknown): boolean | Promise<unknown>;
- compile<T = unknown>(schema: AnySchema, meta?: boolean): AnyValidateFunction<T>;
- getSchema<T = unknown>(keyRef: string): AnyValidateFunction<T> | undefined;
- private getStandalone;
- addSchema(...args: Parameters<typeof Ajv.prototype.addSchema>): AjvPack;
- addKeyword(...args: Parameters<typeof Ajv.prototype.addKeyword>): AjvPack;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.js
deleted file mode 100644
index 35e5c992..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.js
+++ /dev/null
@@ -1,35 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const core_1 = require("../core");
-const _1 = require(".");
-const requireFromString = require("require-from-string");
-class AjvPack {
- constructor(ajv) {
- this.ajv = ajv;
- }
- validate(schemaKeyRef, data) {
- return core_1.default.prototype.validate.call(this, schemaKeyRef, data);
- }
- compile(schema, meta) {
- return this.getStandalone(this.ajv.compile(schema, meta));
- }
- getSchema(keyRef) {
- const v = this.ajv.getSchema(keyRef);
- if (!v)
- return undefined;
- return this.getStandalone(v);
- }
- getStandalone(v) {
- return requireFromString((0, _1.default)(this.ajv, v));
- }
- addSchema(...args) {
- this.ajv.addSchema.call(this.ajv, ...args);
- return this;
- }
- addKeyword(...args) {
- this.ajv.addKeyword.call(this.ajv, ...args);
- return this;
- }
-}
-exports.default = AjvPack;
-//# sourceMappingURL=instance.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.js.map
deleted file mode 100644
index 6ac33b11..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/standalone/instance.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../lib/standalone/instance.ts"],"names":[],"mappings":";;AAAA,kCAAwE;AACxE,wBAA8B;AAC9B,yDAAwD;AAExD,MAAqB,OAAO;IAE1B,YAAqB,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;IAAG,CAAC;IAEjC,QAAQ,CAAC,YAAgC,EAAE,IAAa;QACtD,OAAO,cAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,CAAA;IAC9D,CAAC;IAED,OAAO,CAAc,MAAiB,EAAE,IAAc;QACpD,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAI,MAAM,EAAE,IAAI,CAAC,CAAC,CAAA;IAC9D,CAAC;IAED,SAAS,CAAc,MAAc;QACnC,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAI,MAAM,CAAC,CAAA;QACvC,IAAI,CAAC,CAAC;YAAE,OAAO,SAAS,CAAA;QACxB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;IAC9B,CAAC;IAEO,aAAa,CAAc,CAAyB;QAC1D,OAAO,iBAAiB,CAAC,IAAA,UAAc,EAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAA2B,CAAA;IACjF,CAAC;IAED,SAAS,CAAC,GAAG,IAAgD;QAC3D,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAA;QAC1C,OAAO,IAAI,CAAA;IACb,CAAC;IAED,UAAU,CAAC,GAAG,IAAiD;QAC7D,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAA;QAC3C,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AA/BD,0BA+BC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.d.ts
deleted file mode 100644
index a6994402..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.d.ts
+++ /dev/null
@@ -1,177 +0,0 @@
-import type { CodeGen, Code, Name, ScopeValueSets, ValueScopeName } from "../compile/codegen";
-import type { SchemaEnv, SchemaCxt, SchemaObjCxt } from "../compile";
-import type { JSONType } from "../compile/rules";
-import type { KeywordCxt } from "../compile/validate";
-import type Ajv from "../core";
-interface _SchemaObject {
- id?: string;
- $id?: string;
- $schema?: string;
- [x: string]: any;
-}
-export interface SchemaObject extends _SchemaObject {
- id?: string;
- $id?: string;
- $schema?: string;
- $async?: false;
- [x: string]: any;
-}
-export interface AsyncSchema extends _SchemaObject {
- $async: true;
-}
-export declare type AnySchemaObject = SchemaObject | AsyncSchema;
-export declare type Schema = SchemaObject | boolean;
-export declare type AnySchema = Schema | AsyncSchema;
-export declare type SchemaMap = {
- [Key in string]?: AnySchema;
-};
-export interface SourceCode {
- validateName: ValueScopeName;
- validateCode: string;
- scopeValues: ScopeValueSets;
- evaluated?: Code;
-}
-export interface DataValidationCxt<T extends string | number = string | number> {
- instancePath: string;
- parentData: {
- [K in T]: any;
- };
- parentDataProperty: T;
- rootData: Record<string, any> | any[];
- dynamicAnchors: {
- [Ref in string]?: ValidateFunction;
- };
-}
-export interface ValidateFunction<T = unknown> {
- (this: Ajv | any, data: any, dataCxt?: DataValidationCxt): data is T;
- errors?: null | ErrorObject[];
- evaluated?: Evaluated;
- schema: AnySchema;
- schemaEnv: SchemaEnv;
- source?: SourceCode;
-}
-export interface JTDParser<T = unknown> {
- (json: string): T | undefined;
- message?: string;
- position?: number;
-}
-export declare type EvaluatedProperties = {
- [K in string]?: true;
-} | true;
-export declare type EvaluatedItems = number | true;
-export interface Evaluated {
- props?: EvaluatedProperties;
- items?: EvaluatedItems;
- dynamicProps: boolean;
- dynamicItems: boolean;
-}
-export interface AsyncValidateFunction<T = unknown> extends ValidateFunction<T> {
- (...args: Parameters<ValidateFunction<T>>): Promise<T>;
- $async: true;
-}
-export declare type AnyValidateFunction<T = any> = ValidateFunction<T> | AsyncValidateFunction<T>;
-export interface ErrorObject<K extends string = string, P = Record<string, any>, S = unknown> {
- keyword: K;
- instancePath: string;
- schemaPath: string;
- params: P;
- propertyName?: string;
- message?: string;
- schema?: S;
- parentSchema?: AnySchemaObject;
- data?: unknown;
-}
-export declare type ErrorNoParams<K extends string, S = unknown> = ErrorObject<K, Record<string, never>, S>;
-interface _KeywordDef {
- keyword: string | string[];
- type?: JSONType | JSONType[];
- schemaType?: JSONType | JSONType[];
- allowUndefined?: boolean;
- $data?: boolean;
- implements?: string[];
- before?: string;
- post?: boolean;
- metaSchema?: AnySchemaObject;
- validateSchema?: AnyValidateFunction;
- dependencies?: string[];
- error?: KeywordErrorDefinition;
- $dataError?: KeywordErrorDefinition;
-}
-export interface CodeKeywordDefinition extends _KeywordDef {
- code: (cxt: KeywordCxt, ruleType?: string) => void;
- trackErrors?: boolean;
-}
-export declare type MacroKeywordFunc = (schema: any, parentSchema: AnySchemaObject, it: SchemaCxt) => AnySchema;
-export declare type CompileKeywordFunc = (schema: any, parentSchema: AnySchemaObject, it: SchemaObjCxt) => DataValidateFunction;
-export interface DataValidateFunction {
- (...args: Parameters<ValidateFunction>): boolean | Promise<any>;
- errors?: Partial<ErrorObject>[];
-}
-export interface SchemaValidateFunction {
- (schema: any, data: any, parentSchema?: AnySchemaObject, dataCxt?: DataValidationCxt): boolean | Promise<any>;
- errors?: Partial<ErrorObject>[];
-}
-export interface FuncKeywordDefinition extends _KeywordDef {
- validate?: SchemaValidateFunction | DataValidateFunction;
- compile?: CompileKeywordFunc;
- schema?: boolean;
- modifying?: boolean;
- async?: boolean;
- valid?: boolean;
- errors?: boolean | "full";
-}
-export interface MacroKeywordDefinition extends FuncKeywordDefinition {
- macro: MacroKeywordFunc;
-}
-export declare type KeywordDefinition = CodeKeywordDefinition | FuncKeywordDefinition | MacroKeywordDefinition;
-export declare type AddedKeywordDefinition = KeywordDefinition & {
- type: JSONType[];
- schemaType: JSONType[];
-};
-export interface KeywordErrorDefinition {
- message: string | Code | ((cxt: KeywordErrorCxt) => string | Code);
- params?: Code | ((cxt: KeywordErrorCxt) => Code);
-}
-export declare type Vocabulary = (KeywordDefinition | string)[];
-export interface KeywordErrorCxt {
- gen: CodeGen;
- keyword: string;
- data: Name;
- $data?: string | false;
- schema: any;
- parentSchema?: AnySchemaObject;
- schemaCode: Code | number | boolean;
- schemaValue: Code | number | boolean;
- schemaType?: JSONType[];
- errsCount?: Name;
- params: KeywordCxtParams;
- it: SchemaCxt;
-}
-export declare type KeywordCxtParams = {
- [P in string]?: Code | string | number;
-};
-export declare type FormatValidator<T extends string | number> = (data: T) => boolean;
-export declare type FormatCompare<T extends string | number> = (data1: T, data2: T) => number | undefined;
-export declare type AsyncFormatValidator<T extends string | number> = (data: T) => Promise<boolean>;
-export interface FormatDefinition<T extends string | number> {
- type?: T extends string ? "string" | undefined : "number";
- validate: FormatValidator<T> | (T extends string ? string | RegExp : never);
- async?: false | undefined;
- compare?: FormatCompare<T>;
-}
-export interface AsyncFormatDefinition<T extends string | number> {
- type?: T extends string ? "string" | undefined : "number";
- validate: AsyncFormatValidator<T>;
- async: true;
- compare?: FormatCompare<T>;
-}
-export declare type AddedFormat = true | RegExp | FormatValidator<string> | FormatDefinition<string> | FormatDefinition<number> | AsyncFormatDefinition<string> | AsyncFormatDefinition<number>;
-export declare type Format = AddedFormat | string;
-export interface RegExpEngine {
- (pattern: string, u: string): RegExpLike;
- code: string;
-}
-export interface RegExpLike {
- test: (s: string) => boolean;
-}
-export {};
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.js
deleted file mode 100644
index aa219d8f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.js.map
deleted file mode 100644
index 1f80f85e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/types/index.ts"],"names":[],"mappings":""} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.d.ts
deleted file mode 100644
index 78ec842f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.d.ts
+++ /dev/null
@@ -1,124 +0,0 @@
-declare type StrictNullChecksWrapper<Name extends string, Type> = undefined extends null ? `strictNullChecks must be true in tsconfig to use ${Name}` : Type;
-declare type UnionToIntersection<U> = (U extends any ? (_: U) => void : never) extends (_: infer I) => void ? I : never;
-export declare type SomeJSONSchema = UncheckedJSONSchemaType<Known, true>;
-declare type UncheckedPartialSchema<T> = Partial<UncheckedJSONSchemaType<T, true>>;
-export declare type PartialSchema<T> = StrictNullChecksWrapper<"PartialSchema", UncheckedPartialSchema<T>>;
-declare type JSONType<T extends string, IsPartial extends boolean> = IsPartial extends true ? T | undefined : T;
-interface NumberKeywords {
- minimum?: number;
- maximum?: number;
- exclusiveMinimum?: number;
- exclusiveMaximum?: number;
- multipleOf?: number;
- format?: string;
-}
-interface StringKeywords {
- minLength?: number;
- maxLength?: number;
- pattern?: string;
- format?: string;
-}
-declare type UncheckedJSONSchemaType<T, IsPartial extends boolean> = (// these two unions allow arbitrary unions of types
-{
- anyOf: readonly UncheckedJSONSchemaType<T, IsPartial>[];
-} | {
- oneOf: readonly UncheckedJSONSchemaType<T, IsPartial>[];
-} | ({
- type: readonly (T extends number ? JSONType<"number" | "integer", IsPartial> : T extends string ? JSONType<"string", IsPartial> : T extends boolean ? JSONType<"boolean", IsPartial> : never)[];
-} & UnionToIntersection<T extends number ? NumberKeywords : T extends string ? StringKeywords : T extends boolean ? {} : never>) | ((T extends number ? {
- type: JSONType<"number" | "integer", IsPartial>;
-} & NumberKeywords : T extends string ? {
- type: JSONType<"string", IsPartial>;
-} & StringKeywords : T extends boolean ? {
- type: JSONType<"boolean", IsPartial>;
-} : T extends readonly [any, ...any[]] ? {
- type: JSONType<"array", IsPartial>;
- items: {
- readonly [K in keyof T]-?: UncheckedJSONSchemaType<T[K], false> & Nullable<T[K]>;
- } & {
- length: T["length"];
- };
- minItems: T["length"];
-} & ({
- maxItems: T["length"];
-} | {
- additionalItems: false;
-}) : T extends readonly any[] ? {
- type: JSONType<"array", IsPartial>;
- items: UncheckedJSONSchemaType<T[0], false>;
- contains?: UncheckedPartialSchema<T[0]>;
- minItems?: number;
- maxItems?: number;
- minContains?: number;
- maxContains?: number;
- uniqueItems?: true;
- additionalItems?: never;
-} : T extends Record<string, any> ? {
- type: JSONType<"object", IsPartial>;
- additionalProperties?: boolean | UncheckedJSONSchemaType<T[string], false>;
- unevaluatedProperties?: boolean | UncheckedJSONSchemaType<T[string], false>;
- properties?: IsPartial extends true ? Partial<UncheckedPropertiesSchema<T>> : UncheckedPropertiesSchema<T>;
- patternProperties?: Record<string, UncheckedJSONSchemaType<T[string], false>>;
- propertyNames?: Omit<UncheckedJSONSchemaType<string, false>, "type"> & {
- type?: "string";
- };
- dependencies?: {
- [K in keyof T]?: Readonly<(keyof T)[]> | UncheckedPartialSchema<T>;
- };
- dependentRequired?: {
- [K in keyof T]?: Readonly<(keyof T)[]>;
- };
- dependentSchemas?: {
- [K in keyof T]?: UncheckedPartialSchema<T>;
- };
- minProperties?: number;
- maxProperties?: number;
-} & (IsPartial extends true ? {
- required: Readonly<(keyof T)[]>;
-} : [UncheckedRequiredMembers<T>] extends [never] ? {
- required?: Readonly<UncheckedRequiredMembers<T>[]>;
-} : {
- required: Readonly<UncheckedRequiredMembers<T>[]>;
-}) : T extends null ? {
- type: JSONType<"null", IsPartial>;
- nullable: true;
-} : never) & {
- allOf?: Readonly<UncheckedPartialSchema<T>[]>;
- anyOf?: Readonly<UncheckedPartialSchema<T>[]>;
- oneOf?: Readonly<UncheckedPartialSchema<T>[]>;
- if?: UncheckedPartialSchema<T>;
- then?: UncheckedPartialSchema<T>;
- else?: UncheckedPartialSchema<T>;
- not?: UncheckedPartialSchema<T>;
-})) & {
- [keyword: string]: any;
- $id?: string;
- $ref?: string;
- $defs?: Record<string, UncheckedJSONSchemaType<Known, true>>;
- definitions?: Record<string, UncheckedJSONSchemaType<Known, true>>;
-};
-export declare type JSONSchemaType<T> = StrictNullChecksWrapper<"JSONSchemaType", UncheckedJSONSchemaType<T, false>>;
-declare type Known = {
- [key: string]: Known;
-} | [Known, ...Known[]] | Known[] | number | string | boolean | null;
-declare type UncheckedPropertiesSchema<T> = {
- [K in keyof T]-?: (UncheckedJSONSchemaType<T[K], false> & Nullable<T[K]>) | {
- $ref: string;
- };
-};
-export declare type PropertiesSchema<T> = StrictNullChecksWrapper<"PropertiesSchema", UncheckedPropertiesSchema<T>>;
-declare type UncheckedRequiredMembers<T> = {
- [K in keyof T]-?: undefined extends T[K] ? never : K;
-}[keyof T];
-export declare type RequiredMembers<T> = StrictNullChecksWrapper<"RequiredMembers", UncheckedRequiredMembers<T>>;
-declare type Nullable<T> = undefined extends T ? {
- nullable: true;
- const?: null;
- enum?: Readonly<(T | null)[]>;
- default?: T | null;
-} : {
- const?: T;
- enum?: Readonly<T[]>;
- default?: T;
-};
-export {};
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.js
deleted file mode 100644
index 2d8f98dc..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=json-schema.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.js.map
deleted file mode 100644
index ae6b4d0f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/json-schema.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"json-schema.js","sourceRoot":"","sources":["../../lib/types/json-schema.ts"],"names":[],"mappings":""} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.d.ts
deleted file mode 100644
index 3004e5e5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.d.ts
+++ /dev/null
@@ -1,169 +0,0 @@
-/** numeric strings */
-declare type NumberType = "float32" | "float64" | "int8" | "uint8" | "int16" | "uint16" | "int32" | "uint32";
-/** string strings */
-declare type StringType = "string" | "timestamp";
-/** Generic JTD Schema without inference of the represented type */
-export declare type SomeJTDSchemaType = (// ref
-{
- ref: string;
-} | {
- type: NumberType | StringType | "boolean";
-} | {
- enum: string[];
-} | {
- elements: SomeJTDSchemaType;
-} | {
- values: SomeJTDSchemaType;
-} | {
- properties: Record<string, SomeJTDSchemaType>;
- optionalProperties?: Record<string, SomeJTDSchemaType>;
- additionalProperties?: boolean;
-} | {
- properties?: Record<string, SomeJTDSchemaType>;
- optionalProperties: Record<string, SomeJTDSchemaType>;
- additionalProperties?: boolean;
-} | {
- discriminator: string;
- mapping: Record<string, SomeJTDSchemaType>;
-} | {}) & {
- nullable?: boolean;
- metadata?: Record<string, unknown>;
- definitions?: Record<string, SomeJTDSchemaType>;
-};
-/** required keys of an object, not undefined */
-declare type RequiredKeys<T> = {
- [K in keyof T]-?: undefined extends T[K] ? never : K;
-}[keyof T];
-/** optional or undifined-able keys of an object */
-declare type OptionalKeys<T> = {
- [K in keyof T]-?: undefined extends T[K] ? K : never;
-}[keyof T];
-/** type is true if T is a union type */
-declare type IsUnion_<T, U extends T = T> = false extends (T extends unknown ? ([U] extends [T] ? false : true) : never) ? false : true;
-declare type IsUnion<T> = IsUnion_<T>;
-/** type is true if T is identically E */
-declare type TypeEquality<T, E> = [T] extends [E] ? ([E] extends [T] ? true : false) : false;
-/** type is true if T or null is identically E or null*/
-declare type NullTypeEquality<T, E> = TypeEquality<T | null, E | null>;
-/** gets only the string literals of a type or null if a type isn't a string literal */
-declare type EnumString<T> = [T] extends [never] ? null : T extends string ? string extends T ? null : T : null;
-/** true if type is a union of string literals */
-declare type IsEnum<T> = null extends EnumString<Exclude<T, null>> ? false : true;
-/** true only if all types are array types (not tuples) */
-declare type IsElements<T> = false extends IsUnion<T> ? [T] extends [readonly unknown[]] ? undefined extends T[0.5] ? false : true : false : false;
-/** true if the the type is a values type */
-declare type IsValues<T> = false extends IsUnion<Exclude<T, null>> ? TypeEquality<keyof Exclude<T, null>, string> : false;
-/** true if type is a proeprties type and Union is false, or type is a discriminator type and Union is true */
-declare type IsRecord<T, Union extends boolean> = Union extends IsUnion<Exclude<T, null>> ? null extends EnumString<keyof Exclude<T, null>> ? false : true : false;
-/** actual schema */
-export declare type JTDSchemaType<T, D extends Record<string, unknown> = Record<string, never>> = (// refs - where null wasn't specified, must match exactly
-(null extends EnumString<keyof D> ? never : ({
- [K in keyof D]: [T] extends [D[K]] ? {
- ref: K;
- } : never;
-}[keyof D] & {
- nullable?: false;
-}) | (null extends T ? {
- [K in keyof D]: [Exclude<T, null>] extends [Exclude<D[K], null>] ? {
- ref: K;
- } : never;
-}[keyof D] & {
- nullable: true;
-} : never)) | (unknown extends T ? {
- nullable?: boolean;
-} : never) | ((true extends NullTypeEquality<T, number> ? {
- type: NumberType;
-} : true extends NullTypeEquality<T, boolean> ? {
- type: "boolean";
-} : true extends NullTypeEquality<T, string> ? {
- type: StringType;
-} : true extends NullTypeEquality<T, Date> ? {
- type: "timestamp";
-} : true extends IsEnum<T> ? {
- enum: EnumString<Exclude<T, null>>[];
-} : true extends IsElements<Exclude<T, null>> ? T extends readonly (infer E)[] ? {
- elements: JTDSchemaType<E, D>;
-} : never : true extends IsValues<T> ? T extends Record<string, infer V> ? {
- values: JTDSchemaType<V, D>;
-} : never : true extends IsRecord<T, false> ? ([RequiredKeys<Exclude<T, null>>] extends [never] ? {
- properties?: Record<string, never>;
-} : {
- properties: {
- [K in RequiredKeys<T>]: JTDSchemaType<T[K], D>;
- };
-}) & ([OptionalKeys<Exclude<T, null>>] extends [never] ? {
- optionalProperties?: Record<string, never>;
-} : {
- optionalProperties: {
- [K in OptionalKeys<T>]: JTDSchemaType<Exclude<T[K], undefined>, D>;
- };
-}) & {
- additionalProperties?: boolean;
-} : true extends IsRecord<T, true> ? {
- [K in keyof Exclude<T, null>]-?: Exclude<T, null>[K] extends string ? {
- discriminator: K;
- mapping: {
- [M in Exclude<T, null>[K]]: JTDSchemaType<Omit<T extends {
- [C in K]: M;
- } ? T : never, K>, D>;
- };
- } : never;
-}[keyof Exclude<T, null>] : never) & (null extends T ? {
- nullable: true;
-} : {
- nullable?: false;
-}))) & {
- metadata?: Record<string, unknown>;
- definitions?: {
- [K in keyof D]: JTDSchemaType<D[K], D>;
- };
-};
-declare type JTDDataDef<S, D extends Record<string, unknown>> = // ref
-(S extends {
- ref: string;
-} ? D extends {
- [K in S["ref"]]: infer V;
-} ? JTDDataDef<V, D> : never : S extends {
- type: NumberType;
-} ? number : S extends {
- type: "boolean";
-} ? boolean : S extends {
- type: "string";
-} ? string : S extends {
- type: "timestamp";
-} ? string | Date : S extends {
- enum: readonly (infer E)[];
-} ? string extends E ? never : [E] extends [string] ? E : never : S extends {
- elements: infer E;
-} ? JTDDataDef<E, D>[] : S extends {
- properties: Record<string, unknown>;
- optionalProperties?: Record<string, unknown>;
- additionalProperties?: boolean;
-} ? {
- -readonly [K in keyof S["properties"]]-?: JTDDataDef<S["properties"][K], D>;
-} & {
- -readonly [K in keyof S["optionalProperties"]]+?: JTDDataDef<S["optionalProperties"][K], D>;
-} & ([S["additionalProperties"]] extends [true] ? Record<string, unknown> : unknown) : S extends {
- properties?: Record<string, unknown>;
- optionalProperties: Record<string, unknown>;
- additionalProperties?: boolean;
-} ? {
- -readonly [K in keyof S["properties"]]-?: JTDDataDef<S["properties"][K], D>;
-} & {
- -readonly [K in keyof S["optionalProperties"]]+?: JTDDataDef<S["optionalProperties"][K], D>;
-} & ([S["additionalProperties"]] extends [true] ? Record<string, unknown> : unknown) : S extends {
- values: infer V;
-} ? Record<string, JTDDataDef<V, D>> : S extends {
- discriminator: infer M;
- mapping: Record<string, unknown>;
-} ? [M] extends [string] ? {
- [K in keyof S["mapping"]]: JTDDataDef<S["mapping"][K], D> & {
- [KM in M]: K;
- };
-}[keyof S["mapping"]] : never : unknown) | (S extends {
- nullable: true;
-} ? null : never);
-export declare type JTDDataType<S> = S extends {
- definitions: Record<string, unknown>;
-} ? JTDDataDef<S, S["definitions"]> : JTDDataDef<S, Record<string, never>>;
-export {};
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.js
deleted file mode 100644
index 11338aa8..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=jtd-schema.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.js.map
deleted file mode 100644
index add89bd7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/types/jtd-schema.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"jtd-schema.js","sourceRoot":"","sources":["../../lib/types/jtd-schema.ts"],"names":[],"mappings":""} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts
deleted file mode 100644
index 89a73f8d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
-import type { KeywordCxt } from "../../compile/validate";
-export declare type AdditionalItemsError = ErrorObject<"additionalItems", {
- limit: number;
-}, AnySchema>;
-declare const def: CodeKeywordDefinition;
-export declare function validateAdditionalItems(cxt: KeywordCxt, items: AnySchema[]): void;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
deleted file mode 100644
index 608d51eb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
+++ /dev/null
@@ -1,49 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.validateAdditionalItems = void 0;
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const error = {
- message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`,
- params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`,
-};
-const def = {
- keyword: "additionalItems",
- type: "array",
- schemaType: ["boolean", "object"],
- before: "uniqueItems",
- error,
- code(cxt) {
- const { parentSchema, it } = cxt;
- const { items } = parentSchema;
- if (!Array.isArray(items)) {
- (0, util_1.checkStrictMode)(it, '"additionalItems" is ignored when "items" is not an array of schemas');
- return;
- }
- validateAdditionalItems(cxt, items);
- },
-};
-function validateAdditionalItems(cxt, items) {
- const { gen, schema, data, keyword, it } = cxt;
- it.items = true;
- const len = gen.const("len", (0, codegen_1._) `${data}.length`);
- if (schema === false) {
- cxt.setParams({ len: items.length });
- cxt.pass((0, codegen_1._) `${len} <= ${items.length}`);
- }
- else if (typeof schema == "object" && !(0, util_1.alwaysValidSchema)(it, schema)) {
- const valid = gen.var("valid", (0, codegen_1._) `${len} <= ${items.length}`); // TODO var
- gen.if((0, codegen_1.not)(valid), () => validateItems(valid));
- cxt.ok(valid);
- }
- function validateItems(valid) {
- gen.forRange("i", items.length, len, (i) => {
- cxt.subschema({ keyword, dataProp: i, dataPropType: util_1.Type.Num }, valid);
- if (!it.allErrors)
- gen.if((0, codegen_1.not)(valid), () => gen.break());
- });
- }
-}
-exports.validateAdditionalItems = validateAdditionalItems;
-exports.default = def;
-//# sourceMappingURL=additionalItems.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map
deleted file mode 100644
index b3d1479c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"additionalItems.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/additionalItems.ts"],"names":[],"mappings":";;;AAOA,mDAAuD;AACvD,6CAA2E;AAI3E,MAAM,KAAK,GAA2B;IACpC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KAAK,CAAC,MAAM,EAAE,CAAC,CAAA;KACvC;SAAM,IAAI,OAAO,MAAM,IAAI,QAAQ,IAAI,CAAC,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC,EAAE;QACtE,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,IAAA,WAAC,EAAA,GAAG,GAAG,OAAO,KAAK,CAAC,MAAM,EAAE,CAAC,CAAA,CAAC,WAAW;QACxE,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAA;QAC9C,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;KACd;IAED,SAAS,aAAa,CAAC,KAAW;QAChC,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE;YACzC,GAAG,CAAC,SAAS,CAAC,EAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,YAAY,EAAE,WAAI,CAAC,GAAG,EAAC,EAAE,KAAK,CAAC,CAAA;YACpE,IAAI,CAAC,EAAE,CAAC,SAAS;gBAAE,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAA;QAC1D,CAAC,CAAC,CAAA;IACJ,CAAC;AACH,CAAC;AAnBD,0DAmBC;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts
deleted file mode 100644
index f24ba3f5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition, AddedKeywordDefinition, ErrorObject, AnySchema } from "../../types";
-export declare type AdditionalPropertiesError = ErrorObject<"additionalProperties", {
- additionalProperty: string;
-}, AnySchema>;
-declare const def: CodeKeywordDefinition & AddedKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
deleted file mode 100644
index 1d3374bb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
+++ /dev/null
@@ -1,106 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const code_1 = require("../code");
-const codegen_1 = require("../../compile/codegen");
-const names_1 = require("../../compile/names");
-const util_1 = require("../../compile/util");
-const error = {
- message: "must NOT have additional properties",
- params: ({ params }) => (0, codegen_1._) `{additionalProperty: ${params.additionalProperty}}`,
-};
-const def = {
- keyword: "additionalProperties",
- type: ["object"],
- schemaType: ["boolean", "object"],
- allowUndefined: true,
- trackErrors: true,
- error,
- code(cxt) {
- const { gen, schema, parentSchema, data, errsCount, it } = cxt;
- /* istanbul ignore if */
- if (!errsCount)
- throw new Error("ajv implementation error");
- const { allErrors, opts } = it;
- it.props = true;
- if (opts.removeAdditional !== "all" && (0, util_1.alwaysValidSchema)(it, schema))
- return;
- const props = (0, code_1.allSchemaProperties)(parentSchema.properties);
- const patProps = (0, code_1.allSchemaProperties)(parentSchema.patternProperties);
- checkAdditionalProperties();
- cxt.ok((0, codegen_1._) `${errsCount} === ${names_1.default.errors}`);
- function checkAdditionalProperties() {
- gen.forIn("key", data, (key) => {
- if (!props.length && !patProps.length)
- additionalPropertyCode(key);
- else
- gen.if(isAdditional(key), () => additionalPropertyCode(key));
- });
- }
- function isAdditional(key) {
- let definedProp;
- if (props.length > 8) {
- // TODO maybe an option instead of hard-coded 8?
- const propsSchema = (0, util_1.schemaRefOrVal)(it, parentSchema.properties, "properties");
- definedProp = (0, code_1.isOwnProperty)(gen, propsSchema, key);
- }
- else if (props.length) {
- definedProp = (0, codegen_1.or)(...props.map((p) => (0, codegen_1._) `${key} === ${p}`));
- }
- else {
- definedProp = codegen_1.nil;
- }
- if (patProps.length) {
- definedProp = (0, codegen_1.or)(definedProp, ...patProps.map((p) => (0, codegen_1._) `${(0, code_1.usePattern)(cxt, p)}.test(${key})`));
- }
- return (0, codegen_1.not)(definedProp);
- }
- function deleteAdditional(key) {
- gen.code((0, codegen_1._) `delete ${data}[${key}]`);
- }
- function additionalPropertyCode(key) {
- if (opts.removeAdditional === "all" || (opts.removeAdditional && schema === false)) {
- deleteAdditional(key);
- return;
- }
- if (schema === false) {
- cxt.setParams({ additionalProperty: key });
- cxt.error();
- if (!allErrors)
- gen.break();
- return;
- }
- if (typeof schema == "object" && !(0, util_1.alwaysValidSchema)(it, schema)) {
- const valid = gen.name("valid");
- if (opts.removeAdditional === "failing") {
- applyAdditionalSchema(key, valid, false);
- gen.if((0, codegen_1.not)(valid), () => {
- cxt.reset();
- deleteAdditional(key);
- });
- }
- else {
- applyAdditionalSchema(key, valid);
- if (!allErrors)
- gen.if((0, codegen_1.not)(valid), () => gen.break());
- }
- }
- }
- function applyAdditionalSchema(key, valid, errors) {
- const subschema = {
- keyword: "additionalProperties",
- dataProp: key,
- dataPropType: util_1.Type.Str,
- };
- if (errors === false) {
- Object.assign(subschema, {
- compositeRule: true,
- createErrors: false,
- allErrors: false,
- });
- }
- cxt.subschema(subschema, valid);
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=additionalProperties.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map
deleted file mode 100644
index d2f249f6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"additionalProperties.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/additionalProperties.ts"],"names":[],"mappings":";;AAOA,kCAAsE;AACtE,mDAAiE;AACjE,+CAAmC;AAEnC,6CAA0E;AAQ1E,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,qCAAqC;IAC9C,MAAM,EAAE,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,wBAAwB,MAAM,CAAC,kBAAkB,GAAG;CAC5E,CAAA;AAED,MAAM,GAAG,GAAmD;IAC1D,OAAO,EAAE,sBAAsB;IAC/B,IAAI,EAAE,CAAC,QAAQ,CAAC;IAChB,UAAU,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACjC,cAAc,EAAE,IAAI;IACpB,WAAW,EAAE,IAAI;IACjB,KAAK;IACL,IAAI,CAAC,GAAG;QACN,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QAC5D,wBAAwB;QACxB,IAAI,CAAC,SAAS;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC3D,MAAM,EAAC,SAAS,EAAE,IAAI,EAAC,GAAG,EAAE,CAAA;QAC5B,EAAE,CAAC,KAAK,GAAG,IAAI,CAAA;QACf,IAAI,IAAI,CAAC,gBAAgB,KAAK,KAAK,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC;YAAE,OAAM;QAC5E,MAAM,KAAK,GAAG,IAAA,0BAAmB,EAAC,YAAY,CAAC,UAAU,CAAC,CAAA;QAC1D,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,YAAY,CAAC,iBAAiB,CAAC,CAAA;QACpE,yBAAyB,EAAE,CAAA;QAC3B,GAAG,CAAC,EAAE,CAAC,IAAA,WAAC,EAAA,GAAG,SAAS,QAAQ,eA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G,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAA;iBACtD;aACF;QACH,CAAC;QAED,SAAS,qBAAqB,CAAC,GAAS,EAAE,KAAW,EAAE,MAAc;YACnE,MAAM,SAAS,GAAkB;gBAC/B,OAAO,EAAE,sBAAsB;gBAC/B,QAAQ,EAAE,GAAG;gBACb,YAAY,EAAE,WAAI,CAAC,GAAG;aACvB,CAAA;YACD,IAAI,MAAM,KAAK,KAAK,EAAE;gBACpB,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE;oBACvB,aAAa,EAAE,IAAI;oBACnB,YAAY,EAAE,KAAK;oBACnB,SAAS,EAAE,KAAK;iBACjB,CAAC,CAAA;aACH;YACD,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,CAAA;QACjC,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.js
deleted file mode 100644
index 1b1ae737..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const util_1 = require("../../compile/util");
-const def = {
- keyword: "allOf",
- schemaType: "array",
- code(cxt) {
- const { gen, schema, it } = cxt;
- /* istanbul ignore if */
- if (!Array.isArray(schema))
- throw new Error("ajv implementation error");
- const valid = gen.name("valid");
- schema.forEach((sch, i) => {
- if ((0, util_1.alwaysValidSchema)(it, sch))
- return;
- const schCxt = cxt.subschema({ keyword: "allOf", schemaProp: i }, valid);
- cxt.ok(valid);
- cxt.mergeEvaluated(schCxt);
- });
- },
-};
-exports.default = def;
-//# sourceMappingURL=allOf.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map
deleted file mode 100644
index d119d0ea..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"allOf.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/allOf.ts"],"names":[],"mappings":";;AAEA,6CAAoD;AAEpD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,OAAO;IACnB,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QAC7B,wBAAwB;QACxB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QACvE,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC/B,MAAM,CAAC,OAAO,CAAC,CAAC,GAAc,EAAE,CAAS,EAAE,EAAE;YAC3C,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,GAAG,CAAC;gBAAE,OAAM;YACtC,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC,EAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,EAAC,EAAE,KAAK,CAAC,CAAA;YACtE,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;YACb,GAAG,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA;QAC5B,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts
deleted file mode 100644
index db3fc0e2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import type { CodeKeywordDefinition, ErrorNoParams, AnySchema } from "../../types";
-export declare type AnyOfError = ErrorNoParams<"anyOf", AnySchema[]>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
deleted file mode 100644
index 66cfce2c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const code_1 = require("../code");
-const def = {
- keyword: "anyOf",
- schemaType: "array",
- trackErrors: true,
- code: code_1.validateUnion,
- error: { message: "must match a schema in anyOf" },
-};
-exports.default = def;
-//# sourceMappingURL=anyOf.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map
deleted file mode 100644
index 537ffcbe..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"anyOf.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/anyOf.ts"],"names":[],"mappings":";;AACA,kCAAqC;AAIrC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,IAAI;IACjB,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE,EAAC,OAAO,EAAE,8BAA8B,EAAC;CACjD,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts
deleted file mode 100644
index 7e4e96a0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
-export declare type ContainsError = ErrorObject<"contains", {
- minContains: number;
- maxContains?: number;
-}, AnySchema>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.js
deleted file mode 100644
index 6c5473f5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.js
+++ /dev/null
@@ -1,95 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const error = {
- message: ({ params: { min, max } }) => max === undefined
- ? (0, codegen_1.str) `must contain at least ${min} valid item(s)`
- : (0, codegen_1.str) `must contain at least ${min} and no more than ${max} valid item(s)`,
- params: ({ params: { min, max } }) => max === undefined ? (0, codegen_1._) `{minContains: ${min}}` : (0, codegen_1._) `{minContains: ${min}, maxContains: ${max}}`,
-};
-const def = {
- keyword: "contains",
- type: "array",
- schemaType: ["object", "boolean"],
- before: "uniqueItems",
- trackErrors: true,
- error,
- code(cxt) {
- const { gen, schema, parentSchema, data, it } = cxt;
- let min;
- let max;
- const { minContains, maxContains } = parentSchema;
- if (it.opts.next) {
- min = minContains === undefined ? 1 : minContains;
- max = maxContains;
- }
- else {
- min = 1;
- }
- const len = gen.const("len", (0, codegen_1._) `${data}.length`);
- cxt.setParams({ min, max });
- if (max === undefined && min === 0) {
- (0, util_1.checkStrictMode)(it, `"minContains" == 0 without "maxContains": "contains" keyword ignored`);
- return;
- }
- if (max !== undefined && min > max) {
- (0, util_1.checkStrictMode)(it, `"minContains" > "maxContains" is always invalid`);
- cxt.fail();
- return;
- }
- if ((0, util_1.alwaysValidSchema)(it, schema)) {
- let cond = (0, codegen_1._) `${len} >= ${min}`;
- if (max !== undefined)
- cond = (0, codegen_1._) `${cond} && ${len} <= ${max}`;
- cxt.pass(cond);
- return;
- }
- it.items = true;
- const valid = gen.name("valid");
- if (max === undefined && min === 1) {
- validateItems(valid, () => gen.if(valid, () => gen.break()));
- }
- else if (min === 0) {
- gen.let(valid, true);
- if (max !== undefined)
- gen.if((0, codegen_1._) `${data}.length > 0`, validateItemsWithCount);
- }
- else {
- gen.let(valid, false);
- validateItemsWithCount();
- }
- cxt.result(valid, () => cxt.reset());
- function validateItemsWithCount() {
- const schValid = gen.name("_valid");
- const count = gen.let("count", 0);
- validateItems(schValid, () => gen.if(schValid, () => checkLimits(count)));
- }
- function validateItems(_valid, block) {
- gen.forRange("i", 0, len, (i) => {
- cxt.subschema({
- keyword: "contains",
- dataProp: i,
- dataPropType: util_1.Type.Num,
- compositeRule: true,
- }, _valid);
- block();
- });
- }
- function checkLimits(count) {
- gen.code((0, codegen_1._) `${count}++`);
- if (max === undefined) {
- gen.if((0, codegen_1._) `${count} >= ${min}`, () => gen.assign(valid, true).break());
- }
- else {
- gen.if((0, codegen_1._) `${count} > ${max}`, () => gen.assign(valid, false).break());
- if (min === 1)
- gen.assign(valid, true);
- else
- gen.if((0, codegen_1._) `${count} >= ${min}`, () => gen.assign(valid, true));
- }
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=contains.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.js.map
deleted file mode 100644
index 6a0bd39c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/contains.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"contains.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/contains.ts"],"names":[],"mappings":";;AAOA,mDAAkD;AAClD,6CAA2E;AAQ3E,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,GAAG,EAAE,GAAG,EAAC,EAAC,EAAE,EAAE,CAChC,GAAG,KAAK,SAAS;QACf,CAAC,CAAC,IAAA,aAAG,EAAA,yBAAyB,GAAG,gBAAgB;QACjD,CAAC,CAAC,IAAA,aAAG,EAAA,yBAAyB,GAAG,qBAAqB,GAAG,gBAAgB;IAC7E,MAAM,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,GAAG,EAAE,GAAG,EAAC,EAAC,EAAE,EAAE,CAC/B,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,IAAA,WAAC,EAAA,iBAAiB,GAAG,GAAG,CAAC,CAAC,CAAC,IAAA,WAAC,EAAA,iBAAiB,GAAG,kBAAkB,GAAG,GAAG;CAC/F,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,UAAU;IACnB,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACjC,MAAM,EAAE,aAAa;IACrB,WAAW,EAAE,IAAI;IACjB,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACjD,IAAI,GAAW,CAAA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,MAAM,CACP,CAAA;gBACD,KAAK,EAAE,CAAA;YACT,CAAC,CAAC,CAAA;QACJ,CAAC;QAED,SAAS,WAAW,CAAC,KAAW;YAC9B,GAAG,CAAC,IAAI,CAAC,IAAA,WAAC,EAAA,GAAG,KAAK,IAAI,CAAC,CAAA;YACvB,IAAI,GAAG,KAAK,SAAS,EAAE;gBACrB,GAAG,CAAC,EAAE,CAAC,IAAA,WAAC,EAAA,GAAG,KAAK,OAAO,GAAG,EAAE,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,KAAK,EAAE,CAAC,CAAA;aACrE;iBAAM;gBACL,GAAG,CAAC,EAAE,CAAC,IAAA,WAAC,EAAA,GAAG,KAAK,MAAM,GAAG,EAAE,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC,CAAA;gBACpE,IAAI,GAAG,KAAK,CAAC;oBAAE,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;;oBACjC,GAAG,CAAC,EAAE,CAAC,IAAA,WAAC,EAAA,GAAG,KAAK,OAAO,GAAG,EAAE,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAA;aAClE;QACH,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts
deleted file mode 100644
index b28cfe42..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition, SchemaMap, AnySchema } from "../../types";
-import type { KeywordCxt } from "../../compile/validate";
-export declare type PropertyDependencies = {
- [K in string]?: string[];
-};
-export interface DependenciesErrorParams {
- property: string;
- missingProperty: string;
- depsCount: number;
- deps: string;
-}
-export declare type DependenciesError = ErrorObject<"dependencies", DependenciesErrorParams, {
- [K in string]?: string[] | AnySchema;
-}>;
-export declare const error: KeywordErrorDefinition;
-declare const def: CodeKeywordDefinition;
-export declare function validatePropertyDeps(cxt: KeywordCxt, propertyDeps?: {
- [K in string]?: string[];
-}): void;
-export declare function validateSchemaDeps(cxt: KeywordCxt, schemaDeps?: SchemaMap): void;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
deleted file mode 100644
index e81f86d1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
+++ /dev/null
@@ -1,85 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const code_1 = require("../code");
-exports.error = {
- message: ({ params: { property, depsCount, deps } }) => {
- const property_ies = depsCount === 1 ? "property" : "properties";
- return (0, codegen_1.str) `must have ${property_ies} ${deps} when property ${property} is present`;
- },
- params: ({ params: { property, depsCount, deps, missingProperty } }) => (0, codegen_1._) `{property: ${property},
- missingProperty: ${missingProperty},
- depsCount: ${depsCount},
- deps: ${deps}}`, // TODO change to reference
-};
-const def = {
- keyword: "dependencies",
- type: "object",
- schemaType: "object",
- error: exports.error,
- code(cxt) {
- const [propDeps, schDeps] = splitDependencies(cxt);
- validatePropertyDeps(cxt, propDeps);
- validateSchemaDeps(cxt, schDeps);
- },
-};
-function splitDependencies({ schema }) {
- const propertyDeps = {};
- const schemaDeps = {};
- for (const key in schema) {
- if (key === "__proto__")
- continue;
- const deps = Array.isArray(schema[key]) ? propertyDeps : schemaDeps;
- deps[key] = schema[key];
- }
- return [propertyDeps, schemaDeps];
-}
-function validatePropertyDeps(cxt, propertyDeps = cxt.schema) {
- const { gen, data, it } = cxt;
- if (Object.keys(propertyDeps).length === 0)
- return;
- const missing = gen.let("missing");
- for (const prop in propertyDeps) {
- const deps = propertyDeps[prop];
- if (deps.length === 0)
- continue;
- const hasProperty = (0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties);
- cxt.setParams({
- property: prop,
- depsCount: deps.length,
- deps: deps.join(", "),
- });
- if (it.allErrors) {
- gen.if(hasProperty, () => {
- for (const depProp of deps) {
- (0, code_1.checkReportMissingProp)(cxt, depProp);
- }
- });
- }
- else {
- gen.if((0, codegen_1._) `${hasProperty} && (${(0, code_1.checkMissingProp)(cxt, deps, missing)})`);
- (0, code_1.reportMissingProp)(cxt, missing);
- gen.else();
- }
- }
-}
-exports.validatePropertyDeps = validatePropertyDeps;
-function validateSchemaDeps(cxt, schemaDeps = cxt.schema) {
- const { gen, data, keyword, it } = cxt;
- const valid = gen.name("valid");
- for (const prop in schemaDeps) {
- if ((0, util_1.alwaysValidSchema)(it, schemaDeps[prop]))
- continue;
- gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties), () => {
- const schCxt = cxt.subschema({ keyword, schemaProp: prop }, valid);
- cxt.mergeValidEvaluated(schCxt, valid);
- }, () => gen.var(valid, true) // TODO var
- );
- cxt.ok(valid);
- }
-}
-exports.validateSchemaDeps = validateSchemaDeps;
-exports.default = def;
-//# sourceMappingURL=dependencies.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map
deleted file mode 100644
index dafffd16..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":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AAE,CAAC,IAAA,WAAC,EAAA,GAAG,WAAW,QAAQ,IAAA,uBAAgB,EAAC,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,CAAA;YACtE,IAAA,wBAAiB,EAAC,GAAG,EAAE,OAAO,CAAC,CAAA;YAC/B,GAAG,CAAC,IAAI,EAAE,CAAA;SACX;KACF;AACH,CAAC;AA5BD,oDA4BC;AAED,SAAgB,kBAAkB,CAAC,GAAe,EAAE,aAAwB,GAAG,CAAC,MAAM;IACpF,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;IACpC,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IAC/B,KAAK,MAAM,IAAI,IAAI,UAAU,EAAE;QAC7B,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,UAAU,CAAC,IAAI,CAAc,CAAC;YAAE,SAAQ;QAClE,GAAG,CAAC,EAAE,CACJ,IAAA,qBAAc,EAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,EACtD,GAAG,EAAE;YACH,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC,EAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;YAChE,GAAG,CAAC,mBAAmB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;QACxC,CAAC,EACD,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,WAAW;SACvC,CAAA;QACD,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;KACd;AACH,CAAC;AAfD,gDAeC;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
deleted file mode 100644
index 66ef2e84..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const dependencies_1 = require("./dependencies");
-const def = {
- keyword: "dependentSchemas",
- type: "object",
- schemaType: "object",
- code: (cxt) => (0, dependencies_1.validateSchemaDeps)(cxt),
-};
-exports.default = def;
-//# sourceMappingURL=dependentSchemas.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map
deleted file mode 100644
index 17712e6f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"dependentSchemas.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/dependentSchemas.ts"],"names":[],"mappings":";;AACA,iDAAiD;AAEjD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,kBAAkB;IAC3B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,iCAAkB,EAAC,GAAG,CAAC;CACvC,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.d.ts
deleted file mode 100644
index 3c3e78dd..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
-export declare type IfKeywordError = ErrorObject<"if", {
- failingKeyword: string;
-}, AnySchema>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.js
deleted file mode 100644
index 2c42a3e9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.js
+++ /dev/null
@@ -1,66 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const error = {
- message: ({ params }) => (0, codegen_1.str) `must match "${params.ifClause}" schema`,
- params: ({ params }) => (0, codegen_1._) `{failingKeyword: ${params.ifClause}}`,
-};
-const def = {
- keyword: "if",
- schemaType: ["object", "boolean"],
- trackErrors: true,
- error,
- code(cxt) {
- const { gen, parentSchema, it } = cxt;
- if (parentSchema.then === undefined && parentSchema.else === undefined) {
- (0, util_1.checkStrictMode)(it, '"if" without "then" and "else" is ignored');
- }
- const hasThen = hasSchema(it, "then");
- const hasElse = hasSchema(it, "else");
- if (!hasThen && !hasElse)
- return;
- const valid = gen.let("valid", true);
- const schValid = gen.name("_valid");
- validateIf();
- cxt.reset();
- if (hasThen && hasElse) {
- const ifClause = gen.let("ifClause");
- cxt.setParams({ ifClause });
- gen.if(schValid, validateClause("then", ifClause), validateClause("else", ifClause));
- }
- else if (hasThen) {
- gen.if(schValid, validateClause("then"));
- }
- else {
- gen.if((0, codegen_1.not)(schValid), validateClause("else"));
- }
- cxt.pass(valid, () => cxt.error(true));
- function validateIf() {
- const schCxt = cxt.subschema({
- keyword: "if",
- compositeRule: true,
- createErrors: false,
- allErrors: false,
- }, schValid);
- cxt.mergeEvaluated(schCxt);
- }
- function validateClause(keyword, ifClause) {
- return () => {
- const schCxt = cxt.subschema({ keyword }, schValid);
- gen.assign(valid, schValid);
- cxt.mergeValidEvaluated(schCxt, valid);
- if (ifClause)
- gen.assign(ifClause, (0, codegen_1._) `${keyword}`);
- else
- cxt.setParams({ ifClause: keyword });
- };
- }
- },
-};
-function hasSchema(it, keyword) {
- const schema = it.schema[keyword];
- return schema !== undefined && !(0, util_1.alwaysValidSchema)(it, schema);
-}
-exports.default = def;
-//# sourceMappingURL=if.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.js.map
deleted file mode 100644
index 34b3a553..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/if.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"if.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/if.ts"],"names":[],"mappings":";;AAQA,mDAAuD;AACvD,6CAAqE;AAIrE,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,IAAA,aAAG,EAAA,eAAe,MAAM,CAAC,QAAQ,UAAU;IAClE,MAAM,EAAE,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,oBAAoB,MAAM,CAAC,QAAQ,GAAG;CAC9D,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACjC,WAAW,EAAE,IAAI;IACjB,KAAK;IACL,IAAI,CAAC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AC,IAAI,CAAC,CAAC,CAAA;QAEtC,SAAS,UAAU;YACjB,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAC1B;gBACE,OAAO,EAAE,IAAI;gBACb,aAAa,EAAE,IAAI;gBACnB,YAAY,EAAE,KAAK;gBACnB,SAAS,EAAE,KAAK;aACjB,EACD,QAAQ,CACT,CAAA;YACD,GAAG,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA;QAC5B,CAAC;QAED,SAAS,cAAc,CAAC,OAAe,EAAE,QAAe;YACtD,OAAO,GAAG,EAAE;gBACV,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC,EAAC,OAAO,EAAC,EAAE,QAAQ,CAAC,CAAA;gBACjD,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;gBAC3B,GAAG,CAAC,mBAAmB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;gBACtC,IAAI,QAAQ;oBAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAA,WAAC,EAAA,GAAG,OAAO,EAAE,CAAC,CAAA;;oBAC5C,GAAG,CAAC,SAAS,CAAC,EAAC,QAAQ,EAAE,OAAO,EAAC,CAAC,CAAA;YACzC,CAAC,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAA;AAED,SAAS,SAAS,CAAC,EAAgB,EAAE,OAAe;IAClD,MAAM,MAAM,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IACjC,OAAO,MAAM,KAAK,SAAS,IAAI,CAAC,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC,CAAA;AAC/D,CAAC;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.d.ts
deleted file mode 100644
index f45239bd..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type { ErrorNoParams, Vocabulary } from "../../types";
-import { AdditionalItemsError } from "./additionalItems";
-import { ItemsError } from "./items2020";
-import { ContainsError } from "./contains";
-import { DependenciesError } from "./dependencies";
-import { PropertyNamesError } from "./propertyNames";
-import { AdditionalPropertiesError } from "./additionalProperties";
-import { NotKeywordError } from "./not";
-import { AnyOfError } from "./anyOf";
-import { OneOfError } from "./oneOf";
-import { IfKeywordError } from "./if";
-export default function getApplicator(draft2020?: boolean): Vocabulary;
-export declare type ApplicatorKeywordError = ErrorNoParams<"false schema"> | AdditionalItemsError | ItemsError | ContainsError | AdditionalPropertiesError | DependenciesError | IfKeywordError | AnyOfError | OneOfError | NotKeywordError | PropertyNamesError;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.js
deleted file mode 100644
index cf592f27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.js
+++ /dev/null
@@ -1,44 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const additionalItems_1 = require("./additionalItems");
-const prefixItems_1 = require("./prefixItems");
-const items_1 = require("./items");
-const items2020_1 = require("./items2020");
-const contains_1 = require("./contains");
-const dependencies_1 = require("./dependencies");
-const propertyNames_1 = require("./propertyNames");
-const additionalProperties_1 = require("./additionalProperties");
-const properties_1 = require("./properties");
-const patternProperties_1 = require("./patternProperties");
-const not_1 = require("./not");
-const anyOf_1 = require("./anyOf");
-const oneOf_1 = require("./oneOf");
-const allOf_1 = require("./allOf");
-const if_1 = require("./if");
-const thenElse_1 = require("./thenElse");
-function getApplicator(draft2020 = false) {
- const applicator = [
- // any
- not_1.default,
- anyOf_1.default,
- oneOf_1.default,
- allOf_1.default,
- if_1.default,
- thenElse_1.default,
- // object
- propertyNames_1.default,
- additionalProperties_1.default,
- dependencies_1.default,
- properties_1.default,
- patternProperties_1.default,
- ];
- // array
- if (draft2020)
- applicator.push(prefixItems_1.default, items2020_1.default);
- else
- applicator.push(additionalItems_1.default, items_1.default);
- applicator.push(contains_1.default);
- return applicator;
-}
-exports.default = getApplicator;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.js.map
deleted file mode 100644
index ebcb8534..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/index.ts"],"names":[],"mappings":";;AACA,uDAAuE;AACvE,+CAAuC;AACvC,mCAA2B;AAC3B,2CAAiD;AACjD,yCAAkD;AAClD,iDAA8D;AAC9D,mDAAiE;AACjE,iEAAsF;AACtF,6CAAqC;AACrC,2DAAmD;AACnD,+BAAiD;AACjD,mCAAyC;AACzC,mCAAyC;AACzC,mCAA2B;AAC3B,6BAA8C;AAC9C,yCAAiC;AAEjC,SAAwB,aAAa,CAAC,SAAS,GAAG,KAAK;IACrD,MAAM,UAAU,GAAG;QACjB,MAAM;QACN,aAAU;QACV,eAAK;QACL,eAAK;QACL,eAAK;QACL,YAAS;QACT,kBAAQ;QACR,SAAS;QACT,uBAAa;QACb,8BAAoB;QACpB,sBAAY;QACZ,oBAAU;QACV,2BAAiB;KAClB,CAAA;IACD,QAAQ;IACR,IAAI,SAAS;QAAE,UAAU,CAAC,IAAI,CAAC,qBAAW,EAAE,mBAAS,CAAC,CAAA;;QACjD,UAAU,CAAC,IAAI,CAAC,yBAAe,EAAE,eAAK,CAAC,CAAA;IAC5C,UAAU,CAAC,IAAI,CAAC,kBAAQ,CAAC,CAAA;IACzB,OAAO,UAAU,CAAA;AACnB,CAAC;AArBD,gCAqBC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.d.ts
deleted file mode 100644
index 8e608ca9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { CodeKeywordDefinition, AnySchema } from "../../types";
-import type { KeywordCxt } from "../../compile/validate";
-declare const def: CodeKeywordDefinition;
-export declare function validateTuple(cxt: KeywordCxt, extraItems: string, schArr?: AnySchema[]): void;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.js
deleted file mode 100644
index 26f527bc..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.js
+++ /dev/null
@@ -1,52 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.validateTuple = void 0;
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const code_1 = require("../code");
-const def = {
- keyword: "items",
- type: "array",
- schemaType: ["object", "array", "boolean"],
- before: "uniqueItems",
- code(cxt) {
- const { schema, it } = cxt;
- if (Array.isArray(schema))
- return validateTuple(cxt, "additionalItems", schema);
- it.items = true;
- if ((0, util_1.alwaysValidSchema)(it, schema))
- return;
- cxt.ok((0, code_1.validateArray)(cxt));
- },
-};
-function validateTuple(cxt, extraItems, schArr = cxt.schema) {
- const { gen, parentSchema, data, keyword, it } = cxt;
- checkStrictTuple(parentSchema);
- if (it.opts.unevaluated && schArr.length && it.items !== true) {
- it.items = util_1.mergeEvaluated.items(gen, schArr.length, it.items);
- }
- const valid = gen.name("valid");
- const len = gen.const("len", (0, codegen_1._) `${data}.length`);
- schArr.forEach((sch, i) => {
- if ((0, util_1.alwaysValidSchema)(it, sch))
- return;
- gen.if((0, codegen_1._) `${len} > ${i}`, () => cxt.subschema({
- keyword,
- schemaProp: i,
- dataProp: i,
- }, valid));
- cxt.ok(valid);
- });
- function checkStrictTuple(sch) {
- const { opts, errSchemaPath } = it;
- const l = schArr.length;
- const fullTuple = l === sch.minItems && (l === sch.maxItems || sch[extraItems] === false);
- if (opts.strictTuples && !fullTuple) {
- const msg = `"${keyword}" is ${l}-tuple, but minItems or maxItems/${extraItems} are not specified or different at path "${errSchemaPath}"`;
- (0, util_1.checkStrictMode)(it, msg, opts.strictTuples);
- }
- }
-}
-exports.validateTuple = validateTuple;
-exports.default = def;
-//# sourceMappingURL=items.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.js.map
deleted file mode 100644
index 3c4ce614..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"items.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/items.ts"],"names":[],"mappings":";;;AAEA,mDAAuC;AACvC,6CAAqF;AACrF,kCAAqC;AAErC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;IAC1C,MAAM,EAAE,aAAa;IACrB,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACxB,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;YAAE,OAAO,aAAa,CAAC,GAAG,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAA;QAC/E,EAAE,CAAC,KAAK,GAAG,IAAI,CAAA;QACf,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC;YAAE,OAAM;QACzC,GAAG,CAAC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AM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAA;QACvB,MAAM,SAAS,GAAG,CAAC,KAAK,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,KAAK,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,UAAU,CAAC,KAAK,KAAK,CAAC,CAAA;QACzF,IAAI,IAAI,CAAC,YAAY,IAAI,CAAC,SAAS,EAAE;YACnC,MAAM,GAAG,GAAG,IAAI,OAAO,QAAQ,CAAC,oCAAoC,UAAU,4CAA4C,aAAa,GAAG,CAAA;YAC1I,IAAA,sBAAe,EAAC,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;SAC5C;IACH,CAAC;AACH,CAAC;AApCD,sCAoCC;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts
deleted file mode 100644
index 4168c7f9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
-export declare type ItemsError = ErrorObject<"items", {
- limit: number;
-}, AnySchema>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.js
deleted file mode 100644
index f2387d7d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const code_1 = require("../code");
-const additionalItems_1 = require("./additionalItems");
-const error = {
- message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`,
- params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`,
-};
-const def = {
- keyword: "items",
- type: "array",
- schemaType: ["object", "boolean"],
- before: "uniqueItems",
- error,
- code(cxt) {
- const { schema, parentSchema, it } = cxt;
- const { prefixItems } = parentSchema;
- it.items = true;
- if ((0, util_1.alwaysValidSchema)(it, schema))
- return;
- if (prefixItems)
- (0, additionalItems_1.validateAdditionalItems)(cxt, prefixItems);
- else
- cxt.ok((0, code_1.validateArray)(cxt));
- },
-};
-exports.default = def;
-//# sourceMappingURL=items2020.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map
deleted file mode 100644
index 5034acda..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"items2020.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/items2020.ts"],"names":[],"mappings":";;AAOA,mDAA4C;AAC5C,6CAAoD;AACpD,kCAAqC;AACrC,uDAAyD;AAIzD,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,GAAG,EAAC,EAAC,EAAE,EAAE,CAAC,IAAA,aAAG,EAAA,2BAA2B,GAAG,QAAQ;IACvE,MAAM,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,GAAG,EAAC,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,WAAW,GAAG,GAAG;CAChD,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACjC,MAAM,EAAE,aAAa;IACrB,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,MAAM,EAAE,YAAY,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACtC,MAAM,EAAC,WAAW,EAAC,GAAG,YAAY,CAAA;QAClC,EAAE,CAAC,KAAK,GAAG,IAAI,CAAA;QACf,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC;YAAE,OAAM;QACzC,IAAI,WAAW;YAAE,IAAA,yCAAuB,EAAC,GAAG,EAAE,WAAW,CAAC,CAAA;;YACrD,GAAG,CAAC,EAAE,CAAC,IAAA,oBAAa,EAAC,GAAG,CAAC,CAAC,CAAA;IACjC,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.d.ts
deleted file mode 100644
index b8c37cab..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import type { CodeKeywordDefinition, ErrorNoParams, AnySchema } from "../../types";
-export declare type NotKeywordError = ErrorNoParams<"not", AnySchema>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.js
deleted file mode 100644
index 89f6fdda..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const util_1 = require("../../compile/util");
-const def = {
- keyword: "not",
- schemaType: ["object", "boolean"],
- trackErrors: true,
- code(cxt) {
- const { gen, schema, it } = cxt;
- if ((0, util_1.alwaysValidSchema)(it, schema)) {
- cxt.fail();
- return;
- }
- const valid = gen.name("valid");
- cxt.subschema({
- keyword: "not",
- compositeRule: true,
- createErrors: false,
- allErrors: false,
- }, valid);
- cxt.failResult(valid, () => cxt.reset(), () => cxt.error());
- },
- error: { message: "must NOT be valid" },
-};
-exports.default = def;
-//# sourceMappingURL=not.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.js.map
deleted file mode 100644
index 5e2a1ca1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/not.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"not.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/not.ts"],"names":[],"mappings":";;AAEA,6CAAoD;AAIpD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACjC,WAAW,EAAE,IAAI;IACjB,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QAC7B,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC,EAAE;YACjC,GAAG,CAAC,IAAI,EAAE,CAAA;YACV,OAAM;SACP;QAED,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC/B,GAAG,CAAC,SAAS,CACX;YACE,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,KAAK;SACjB,EACD,KAAK,CACN,CAAA;QAED,GAAG,CAAC,UAAU,CACZ,KAAK,EACL,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,EACjB,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAClB,CAAA;IACH,CAAC;IACD,KAAK,EAAE,EAAC,OAAO,EAAE,mBAAmB,EAAC;CACtC,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts
deleted file mode 100644
index 01df87ab..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
-export declare type OneOfError = ErrorObject<"oneOf", {
- passingSchemas: [number, number] | null;
-}, AnySchema[]>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
deleted file mode 100644
index 441db2ac..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const error = {
- message: "must match exactly one schema in oneOf",
- params: ({ params }) => (0, codegen_1._) `{passingSchemas: ${params.passing}}`,
-};
-const def = {
- keyword: "oneOf",
- schemaType: "array",
- trackErrors: true,
- error,
- code(cxt) {
- const { gen, schema, parentSchema, it } = cxt;
- /* istanbul ignore if */
- if (!Array.isArray(schema))
- throw new Error("ajv implementation error");
- if (it.opts.discriminator && parentSchema.discriminator)
- return;
- const schArr = schema;
- const valid = gen.let("valid", false);
- const passing = gen.let("passing", null);
- const schValid = gen.name("_valid");
- cxt.setParams({ passing });
- // TODO possibly fail straight away (with warning or exception) if there are two empty always valid schemas
- gen.block(validateOneOf);
- cxt.result(valid, () => cxt.reset(), () => cxt.error(true));
- function validateOneOf() {
- schArr.forEach((sch, i) => {
- let schCxt;
- if ((0, util_1.alwaysValidSchema)(it, sch)) {
- gen.var(schValid, true);
- }
- else {
- schCxt = cxt.subschema({
- keyword: "oneOf",
- schemaProp: i,
- compositeRule: true,
- }, schValid);
- }
- if (i > 0) {
- gen
- .if((0, codegen_1._) `${schValid} && ${valid}`)
- .assign(valid, false)
- .assign(passing, (0, codegen_1._) `[${passing}, ${i}]`)
- .else();
- }
- gen.if(schValid, () => {
- gen.assign(valid, true);
- gen.assign(passing, i);
- if (schCxt)
- cxt.mergeEvaluated(schCxt, codegen_1.Name);
- });
- });
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=oneOf.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map
deleted file mode 100644
index 6cc54de6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"oneOf.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/oneOf.ts"],"names":[],"mappings":";;AAOA,mDAA6C;AAC7C,6CAAoD;AASpD,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,wCAAwC;IACjD,MAAM,EAAE,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,oBAAoB,MAAM,CAAC,OAAO,GAAG;CAC7D,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,IAAI;IACjB,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QAC3C,wBAAwB;QACxB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC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AAA,IAAI,OAAO,KAAK,CAAC,GAAG,CAAC;yBACtC,IAAI,EAAE,CAAA;iBACV;gBAED,GAAG,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;oBACpB,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;oBACvB,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAA;oBACtB,IAAI,MAAM;wBAAE,GAAG,CAAC,cAAc,CAAC,MAAM,EAAE,cAAI,CAAC,CAAA;gBAC9C,CAAC,CAAC,CAAA;YACJ,CAAC,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
deleted file mode 100644
index 48501c6e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
+++ /dev/null
@@ -1,75 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const code_1 = require("../code");
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const util_2 = require("../../compile/util");
-const def = {
- keyword: "patternProperties",
- type: "object",
- schemaType: "object",
- code(cxt) {
- const { gen, schema, data, parentSchema, it } = cxt;
- const { opts } = it;
- const patterns = (0, code_1.allSchemaProperties)(schema);
- const alwaysValidPatterns = patterns.filter((p) => (0, util_1.alwaysValidSchema)(it, schema[p]));
- if (patterns.length === 0 ||
- (alwaysValidPatterns.length === patterns.length &&
- (!it.opts.unevaluated || it.props === true))) {
- return;
- }
- const checkProperties = opts.strictSchema && !opts.allowMatchingProperties && parentSchema.properties;
- const valid = gen.name("valid");
- if (it.props !== true && !(it.props instanceof codegen_1.Name)) {
- it.props = (0, util_2.evaluatedPropsToName)(gen, it.props);
- }
- const { props } = it;
- validatePatternProperties();
- function validatePatternProperties() {
- for (const pat of patterns) {
- if (checkProperties)
- checkMatchingProperties(pat);
- if (it.allErrors) {
- validateProperties(pat);
- }
- else {
- gen.var(valid, true); // TODO var
- validateProperties(pat);
- gen.if(valid);
- }
- }
- }
- function checkMatchingProperties(pat) {
- for (const prop in checkProperties) {
- if (new RegExp(pat).test(prop)) {
- (0, util_1.checkStrictMode)(it, `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`);
- }
- }
- }
- function validateProperties(pat) {
- gen.forIn("key", data, (key) => {
- gen.if((0, codegen_1._) `${(0, code_1.usePattern)(cxt, pat)}.test(${key})`, () => {
- const alwaysValid = alwaysValidPatterns.includes(pat);
- if (!alwaysValid) {
- cxt.subschema({
- keyword: "patternProperties",
- schemaProp: pat,
- dataProp: key,
- dataPropType: util_2.Type.Str,
- }, valid);
- }
- if (it.opts.unevaluated && props !== true) {
- gen.assign((0, codegen_1._) `${props}[${key}]`, true);
- }
- else if (!alwaysValid && !it.allErrors) {
- // can short-circuit if `unevaluatedProperties` is not supported (opts.next === false)
- // or if all properties were evaluated (props === true)
- gen.if((0, codegen_1.not)(valid), () => gen.break());
- }
- });
- });
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=patternProperties.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map
deleted file mode 100644
index 2a60b74a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"patternProperties.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/patternProperties.ts"],"names":[],"mappings":";;AAEA,kCAAuD;AACvD,mDAAkD;AAClD,6CAAqE;AACrE,6CAA6D;AAG7D,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACjD,MAAM,EAAC,IAAI,EAAC,GAAG,EAAE,CAAA;QACjB,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,MAAM,CAAC,CAAA;QAC5C,MAAM,mBAAmB,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAChD,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAc,CAAC,CAC9C,CAAA;QAED,IACE,QAAQ,CAAC,MAAM,KAAK,CAAC;YACrB,CAAC,mBAAmB,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM;gBAC7C,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,EAC9C;YACA,OAAM;SACP;QAED,MAAM,eAAe,GACnB,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,uBAAuB,IAAI,YAAY,CAAC,UAAU,CAAA;QAC/E,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC/B,IAAI,EAAE,CAAC,KAAK,KAAK,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,YAAY,cAAI,CAAC,EAAE;YACpD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4BAC5B,UAAU,EAAE,GAAG;4BACf,QAAQ,EAAE,GAAG;4BACb,YAAY,EAAE,WAAI,CAAC,GAAG;yBACvB,EACD,KAAK,CACN,CAAA;qBACF;oBAED,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,IAAI,KAAK,KAAK,IAAI,EAAE;wBACzC,GAAG,CAAC,MAAM,CAAC,IAAA,WAAC,EAAA,GAAG,KAAK,IAAI,GAAG,GAAG,EAAE,IAAI,CAAC,CAAA;qBACtC;yBAAM,IAAI,CAAC,WAAW,IAAI,CAAC,EAAE,CAAC,SAAS,EAAE;wBACxC,sFAAsF;wBACtF,uDAAuD;wBACvD,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAA;qBACtC;gBACH,CAAC,CAAC,CAAA;YACJ,CAAC,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
deleted file mode 100644
index 727bc23c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const items_1 = require("./items");
-const def = {
- keyword: "prefixItems",
- type: "array",
- schemaType: ["array"],
- before: "uniqueItems",
- code: (cxt) => (0, items_1.validateTuple)(cxt, "items"),
-};
-exports.default = def;
-//# sourceMappingURL=prefixItems.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map
deleted file mode 100644
index deef718e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"prefixItems.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/prefixItems.ts"],"names":[],"mappings":";;AACA,mCAAqC;AAErC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,aAAa;IACtB,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,CAAC,OAAO,CAAC;IACrB,MAAM,EAAE,aAAa;IACrB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,qBAAa,EAAC,GAAG,EAAE,OAAO,CAAC;CAC3C,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.js
deleted file mode 100644
index 7347358e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.js
+++ /dev/null
@@ -1,54 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const validate_1 = require("../../compile/validate");
-const code_1 = require("../code");
-const util_1 = require("../../compile/util");
-const additionalProperties_1 = require("./additionalProperties");
-const def = {
- keyword: "properties",
- type: "object",
- schemaType: "object",
- code(cxt) {
- const { gen, schema, parentSchema, data, it } = cxt;
- if (it.opts.removeAdditional === "all" && parentSchema.additionalProperties === undefined) {
- additionalProperties_1.default.code(new validate_1.KeywordCxt(it, additionalProperties_1.default, "additionalProperties"));
- }
- const allProps = (0, code_1.allSchemaProperties)(schema);
- for (const prop of allProps) {
- it.definedProperties.add(prop);
- }
- if (it.opts.unevaluated && allProps.length && it.props !== true) {
- it.props = util_1.mergeEvaluated.props(gen, (0, util_1.toHash)(allProps), it.props);
- }
- const properties = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));
- if (properties.length === 0)
- return;
- const valid = gen.name("valid");
- for (const prop of properties) {
- if (hasDefault(prop)) {
- applyPropertySchema(prop);
- }
- else {
- gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties));
- applyPropertySchema(prop);
- if (!it.allErrors)
- gen.else().var(valid, true);
- gen.endIf();
- }
- cxt.it.definedProperties.add(prop);
- cxt.ok(valid);
- }
- function hasDefault(prop) {
- return it.opts.useDefaults && !it.compositeRule && schema[prop].default !== undefined;
- }
- function applyPropertySchema(prop) {
- cxt.subschema({
- keyword: "properties",
- schemaProp: prop,
- dataProp: prop,
- }, valid);
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=properties.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.js.map
deleted file mode 100644
index 27f8148c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/properties.js.map
+++ /dev/null
@@ -1 +0,0 @@
-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GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAE/B,KAAK,MAAM,IAAI,IAAI,UAAU,EAAE;YAC7B,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE;gBACpB,mBAAmB,CAAC,IAAI,CAAC,CAAA;aAC1B;iBAAM;gBACL,GAAG,CAAC,EAAE,CAAC,IAAA,qBAAc,EAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAA;gBAC9D,mBAAmB,CAAC,IAAI,CAAC,CAAA;gBACzB,IAAI,CAAC,EAAE,CAAC,SAAS;oBAAE,GAAG,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;gBAC9C,GAAG,CAAC,KAAK,EAAE,CAAA;aACZ;YACD,GAAG,CAAC,EAAE,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAClC,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;SACd;QAED,SAAS,UAAU,CAAC,IAAY;YAC9B,OAAO,EAAE,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,EAAE,CAAC,aAAa,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,KAAK,SAAS,CAAA;QACvF,CAAC;QAED,SAAS,mBAAmB,CAAC,IAAY;YACvC,GAAG,CAAC,SAAS,CACX;gBACE,OAAO,EAAE,YAAY;gBACrB,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,IAAI;aACf,EACD,KAAK,CACN,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts
deleted file mode 100644
index 90f7ad5b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
-export declare type PropertyNamesError = ErrorObject<"propertyNames", {
- propertyName: string;
-}, AnySchema>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
deleted file mode 100644
index f3871152..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
+++ /dev/null
@@ -1,38 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const error = {
- message: "property name must be valid",
- params: ({ params }) => (0, codegen_1._) `{propertyName: ${params.propertyName}}`,
-};
-const def = {
- keyword: "propertyNames",
- type: "object",
- schemaType: ["object", "boolean"],
- error,
- code(cxt) {
- const { gen, schema, data, it } = cxt;
- if ((0, util_1.alwaysValidSchema)(it, schema))
- return;
- const valid = gen.name("valid");
- gen.forIn("key", data, (key) => {
- cxt.setParams({ propertyName: key });
- cxt.subschema({
- keyword: "propertyNames",
- data: key,
- dataTypes: ["string"],
- propertyName: key,
- compositeRule: true,
- }, valid);
- gen.if((0, codegen_1.not)(valid), () => {
- cxt.error(true);
- if (!it.allErrors)
- gen.break();
- });
- });
- cxt.ok(valid);
- },
-};
-exports.default = def;
-//# sourceMappingURL=propertyNames.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map
deleted file mode 100644
index 835b2bb1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map
+++ /dev/null
@@ -1 +0,0 @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CAAA;QACJ,CAAC,CAAC,CAAA;QAEF,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;IACf,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
deleted file mode 100644
index 1ae63902..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
+++ /dev/null
@@ -1,13 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const util_1 = require("../../compile/util");
-const def = {
- keyword: ["then", "else"],
- schemaType: ["object", "boolean"],
- code({ keyword, parentSchema, it }) {
- if (parentSchema.if === undefined)
- (0, util_1.checkStrictMode)(it, `"${keyword}" without "if" is ignored`);
- },
-};
-exports.default = def;
-//# sourceMappingURL=thenElse.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map
deleted file mode 100644
index 2629f4fc..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"thenElse.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/thenElse.ts"],"names":[],"mappings":";;AAEA,6CAAkD;AAElD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACjC,IAAI,CAAC,EAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAa;QAC1C,IAAI,YAAY,CAAC,EAAE,KAAK,SAAS;YAAE,IAAA,sBAAe,EAAC,EAAE,EAAE,IAAI,OAAO,2BAA2B,CAAC,CAAA;IAChG,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.d.ts
deleted file mode 100644
index f914baca..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type { SchemaMap } from "../types";
-import type { SchemaCxt } from "../compile";
-import type { KeywordCxt } from "../compile/validate";
-import { CodeGen, Code, Name } from "../compile/codegen";
-export declare function checkReportMissingProp(cxt: KeywordCxt, prop: string): void;
-export declare function checkMissingProp({ gen, data, it: { opts } }: KeywordCxt, properties: string[], missing: Name): Code;
-export declare function reportMissingProp(cxt: KeywordCxt, missing: Name): void;
-export declare function hasPropFunc(gen: CodeGen): Name;
-export declare function isOwnProperty(gen: CodeGen, data: Name, property: Name | string): Code;
-export declare function propertyInData(gen: CodeGen, data: Name, property: Name | string, ownProperties?: boolean): Code;
-export declare function noPropertyInData(gen: CodeGen, data: Name, property: Name | string, ownProperties?: boolean): Code;
-export declare function allSchemaProperties(schemaMap?: SchemaMap): string[];
-export declare function schemaProperties(it: SchemaCxt, schemaMap: SchemaMap): string[];
-export declare function callValidateCode({ schemaCode, data, it: { gen, topSchemaRef, schemaPath, errorPath }, it }: KeywordCxt, func: Code, context: Code, passSchema?: boolean): Code;
-export declare function usePattern({ gen, it: { opts } }: KeywordCxt, pattern: string): Name;
-export declare function validateArray(cxt: KeywordCxt): Name;
-export declare function validateUnion(cxt: KeywordCxt): void;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.js
deleted file mode 100644
index 8cb89932..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.js
+++ /dev/null
@@ -1,131 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
-const codegen_1 = require("../compile/codegen");
-const util_1 = require("../compile/util");
-const names_1 = require("../compile/names");
-const util_2 = require("../compile/util");
-function checkReportMissingProp(cxt, prop) {
- const { gen, data, it } = cxt;
- gen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => {
- cxt.setParams({ missingProperty: (0, codegen_1._) `${prop}` }, true);
- cxt.error();
- });
-}
-exports.checkReportMissingProp = checkReportMissingProp;
-function checkMissingProp({ gen, data, it: { opts } }, properties, missing) {
- return (0, codegen_1.or)(...properties.map((prop) => (0, codegen_1.and)(noPropertyInData(gen, data, prop, opts.ownProperties), (0, codegen_1._) `${missing} = ${prop}`)));
-}
-exports.checkMissingProp = checkMissingProp;
-function reportMissingProp(cxt, missing) {
- cxt.setParams({ missingProperty: missing }, true);
- cxt.error();
-}
-exports.reportMissingProp = reportMissingProp;
-function hasPropFunc(gen) {
- return gen.scopeValue("func", {
- // eslint-disable-next-line @typescript-eslint/unbound-method
- ref: Object.prototype.hasOwnProperty,
- code: (0, codegen_1._) `Object.prototype.hasOwnProperty`,
- });
-}
-exports.hasPropFunc = hasPropFunc;
-function isOwnProperty(gen, data, property) {
- return (0, codegen_1._) `${hasPropFunc(gen)}.call(${data}, ${property})`;
-}
-exports.isOwnProperty = isOwnProperty;
-function propertyInData(gen, data, property, ownProperties) {
- const cond = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(property)} !== undefined`;
- return ownProperties ? (0, codegen_1._) `${cond} && ${isOwnProperty(gen, data, property)}` : cond;
-}
-exports.propertyInData = propertyInData;
-function noPropertyInData(gen, data, property, ownProperties) {
- const cond = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(property)} === undefined`;
- return ownProperties ? (0, codegen_1.or)(cond, (0, codegen_1.not)(isOwnProperty(gen, data, property))) : cond;
-}
-exports.noPropertyInData = noPropertyInData;
-function allSchemaProperties(schemaMap) {
- return schemaMap ? Object.keys(schemaMap).filter((p) => p !== "__proto__") : [];
-}
-exports.allSchemaProperties = allSchemaProperties;
-function schemaProperties(it, schemaMap) {
- return allSchemaProperties(schemaMap).filter((p) => !(0, util_1.alwaysValidSchema)(it, schemaMap[p]));
-}
-exports.schemaProperties = schemaProperties;
-function callValidateCode({ schemaCode, data, it: { gen, topSchemaRef, schemaPath, errorPath }, it }, func, context, passSchema) {
- const dataAndSchema = passSchema ? (0, codegen_1._) `${schemaCode}, ${data}, ${topSchemaRef}${schemaPath}` : data;
- const valCxt = [
- [names_1.default.instancePath, (0, codegen_1.strConcat)(names_1.default.instancePath, errorPath)],
- [names_1.default.parentData, it.parentData],
- [names_1.default.parentDataProperty, it.parentDataProperty],
- [names_1.default.rootData, names_1.default.rootData],
- ];
- if (it.opts.dynamicRef)
- valCxt.push([names_1.default.dynamicAnchors, names_1.default.dynamicAnchors]);
- const args = (0, codegen_1._) `${dataAndSchema}, ${gen.object(...valCxt)}`;
- return context !== codegen_1.nil ? (0, codegen_1._) `${func}.call(${context}, ${args})` : (0, codegen_1._) `${func}(${args})`;
-}
-exports.callValidateCode = callValidateCode;
-const newRegExp = (0, codegen_1._) `new RegExp`;
-function usePattern({ gen, it: { opts } }, pattern) {
- const u = opts.unicodeRegExp ? "u" : "";
- const { regExp } = opts.code;
- const rx = regExp(pattern, u);
- return gen.scopeValue("pattern", {
- key: rx.toString(),
- ref: rx,
- code: (0, codegen_1._) `${regExp.code === "new RegExp" ? newRegExp : (0, util_2.useFunc)(gen, regExp)}(${pattern}, ${u})`,
- });
-}
-exports.usePattern = usePattern;
-function validateArray(cxt) {
- const { gen, data, keyword, it } = cxt;
- const valid = gen.name("valid");
- if (it.allErrors) {
- const validArr = gen.let("valid", true);
- validateItems(() => gen.assign(validArr, false));
- return validArr;
- }
- gen.var(valid, true);
- validateItems(() => gen.break());
- return valid;
- function validateItems(notValid) {
- const len = gen.const("len", (0, codegen_1._) `${data}.length`);
- gen.forRange("i", 0, len, (i) => {
- cxt.subschema({
- keyword,
- dataProp: i,
- dataPropType: util_1.Type.Num,
- }, valid);
- gen.if((0, codegen_1.not)(valid), notValid);
- });
- }
-}
-exports.validateArray = validateArray;
-function validateUnion(cxt) {
- const { gen, schema, keyword, it } = cxt;
- /* istanbul ignore if */
- if (!Array.isArray(schema))
- throw new Error("ajv implementation error");
- const alwaysValid = schema.some((sch) => (0, util_1.alwaysValidSchema)(it, sch));
- if (alwaysValid && !it.opts.unevaluated)
- return;
- const valid = gen.let("valid", false);
- const schValid = gen.name("_valid");
- gen.block(() => schema.forEach((_sch, i) => {
- const schCxt = cxt.subschema({
- keyword,
- schemaProp: i,
- compositeRule: true,
- }, schValid);
- gen.assign(valid, (0, codegen_1._) `${valid} || ${schValid}`);
- const merged = cxt.mergeValidEvaluated(schCxt, schValid);
- // can short-circuit if `unevaluatedProperties/Items` not supported (opts.unevaluated !== true)
- // or if all properties and items were evaluated (it.props === true && it.items === true)
- if (!merged)
- gen.if((0, codegen_1.not)(valid));
- }));
- cxt.result(valid, () => cxt.reset(), () => cxt.error(true));
-}
-exports.validateUnion = validateUnion;
-//# sourceMappingURL=code.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.js.map
deleted file mode 100644
index 62d7ee12..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/code.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"code.js","sourceRoot":"","sources":["../../lib/vocabularies/code.ts"],"names":[],"mappings":";;;AAGA,gDAAoG;AACpG,0CAAuD;AACvD,4CAAgC;AAChC,0CAAuC;AACvC,SAAgB,sBAAsB,CAAC,GAAe,EAAE,IAAY;IAClE,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;IAC3B,GAAG,CAAC,EAAE,CAAC,gBAAgB,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE;QACpE,GAAG,CAAC,SAAS,CAAC,EAAC,eAAe,EAAE,IAAA,WAAC,EAAA,GAAG,IAAI,EAAE,EAAC,EAAE,IAAI,CAAC,CAAA;QAClD,GAAG,CAAC,KAAK,EAAE,CAAA;IACb,CAAC,CAAC,CAAA;AACJ,CAAC;AAND,wDAMC;AAED,SAAgB,gBAAgB,CAC9B,EAAC,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,EAAC,IAAI,EAAC,EAAa,EACnC,UAAoB,EACpB,OAAa;IAEb,OAAO,IAAA,YAAE,EACP,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACzB,IAAA,aAAG,EAAC,gBAAgB,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,IAAA,WAAC,EAAA,GAAG,OAAO,MAAM,IAAI,EAAE,CAAC,CACpF,CACF,CAAA;AACH,CAAC;AAVD,4CAUC;AAED,SAAgB,iBAAiB,CAAC,GAAe,EAAE,OAAa;IAC9D,GAAG,CAAC,SAAS,CAAC,EAAC,eAAe,EAAE,OAAO,EAAC,EAAE,IAAI,CAAC,CAAA;IAC/C,G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EAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;IAC/E,IAAI,WAAW,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW;QAAE,OAAM;IAE/C,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;IACrC,MAAM,QAAQ,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAEnC,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,CACb,MAAM,CAAC,OAAO,CAAC,CAAC,IAAe,EAAE,CAAS,EAAE,EAAE;QAC5C,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAC1B;YACE,OAAO;YACP,UAAU,EAAE,CAAC;YACb,aAAa,EAAE,IAAI;SACpB,EACD,QAAQ,CACT,CAAA;QACD,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,IAAA,WAAC,EAAA,GAAG,KAAK,OAAO,QAAQ,EAAE,CAAC,CAAA;QAC7C,MAAM,MAAM,GAAG,GAAG,CAAC,mBAAmB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;QACxD,+FAA+F;QAC/F,yFAAyF;QACzF,IAAI,CAAC,MAAM;YAAE,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,CAAC,CAAA;IACjC,CAAC,CAAC,CACH,CAAA;IAED,GAAG,CAAC,MAAM,CACR,KAAK,EACL,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,EACjB,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CACtB,CAAA;AACH,CAAC;AAjCD,sCAiCC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.js
deleted file mode 100644
index 313598aa..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.js
+++ /dev/null
@@ -1,10 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const def = {
- keyword: "id",
- code() {
- throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID');
- },
-};
-exports.default = def;
-//# sourceMappingURL=id.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.js.map
deleted file mode 100644
index 4eb27eb3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/id.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"id.js","sourceRoot":"","sources":["../../../lib/vocabularies/core/id.ts"],"names":[],"mappings":";;AAEA,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,IAAI;IACb,IAAI;QACF,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAA;IACzE,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.d.ts
deleted file mode 100644
index f2e34ee3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { Vocabulary } from "../../types";
-declare const core: Vocabulary;
-export default core;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.js
deleted file mode 100644
index 87656d74..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const id_1 = require("./id");
-const ref_1 = require("./ref");
-const core = [
- "$schema",
- "$id",
- "$defs",
- "$vocabulary",
- { keyword: "$comment" },
- "definitions",
- id_1.default,
- ref_1.default,
-];
-exports.default = core;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.js.map
deleted file mode 100644
index 5bf65f94..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/core/index.ts"],"names":[],"mappings":";;AACA,6BAA4B;AAC5B,+BAA8B;AAE9B,MAAM,IAAI,GAAe;IACvB,SAAS;IACT,KAAK;IACL,OAAO;IACP,aAAa;IACb,EAAC,OAAO,EAAE,UAAU,EAAC;IACrB,aAAa;IACb,YAAS;IACT,aAAU;CACX,CAAA;AAED,kBAAe,IAAI,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.d.ts
deleted file mode 100644
index 6a0967d1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-import type { KeywordCxt } from "../../compile/validate";
-import { Code } from "../../compile/codegen";
-import { SchemaEnv } from "../../compile";
-declare const def: CodeKeywordDefinition;
-export declare function getValidate(cxt: KeywordCxt, sch: SchemaEnv): Code;
-export declare function callRef(cxt: KeywordCxt, v: Code, sch?: SchemaEnv, $async?: boolean): void;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.js
deleted file mode 100644
index a5d36bad..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.js
+++ /dev/null
@@ -1,122 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.callRef = exports.getValidate = void 0;
-const ref_error_1 = require("../../compile/ref_error");
-const code_1 = require("../code");
-const codegen_1 = require("../../compile/codegen");
-const names_1 = require("../../compile/names");
-const compile_1 = require("../../compile");
-const util_1 = require("../../compile/util");
-const def = {
- keyword: "$ref",
- schemaType: "string",
- code(cxt) {
- const { gen, schema: $ref, it } = cxt;
- const { baseId, schemaEnv: env, validateName, opts, self } = it;
- const { root } = env;
- if (($ref === "#" || $ref === "#/") && baseId === root.baseId)
- return callRootRef();
- const schOrEnv = compile_1.resolveRef.call(self, root, baseId, $ref);
- if (schOrEnv === undefined)
- throw new ref_error_1.default(baseId, $ref);
- if (schOrEnv instanceof compile_1.SchemaEnv)
- return callValidate(schOrEnv);
- return inlineRefSchema(schOrEnv);
- function callRootRef() {
- if (env === root)
- return callRef(cxt, validateName, env, env.$async);
- const rootName = gen.scopeValue("root", { ref: root });
- return callRef(cxt, (0, codegen_1._) `${rootName}.validate`, root, root.$async);
- }
- function callValidate(sch) {
- const v = getValidate(cxt, sch);
- callRef(cxt, v, sch, sch.$async);
- }
- function inlineRefSchema(sch) {
- const schName = gen.scopeValue("schema", opts.code.source === true ? { ref: sch, code: (0, codegen_1.stringify)(sch) } : { ref: sch });
- const valid = gen.name("valid");
- const schCxt = cxt.subschema({
- schema: sch,
- dataTypes: [],
- schemaPath: codegen_1.nil,
- topSchemaRef: schName,
- errSchemaPath: $ref,
- }, valid);
- cxt.mergeEvaluated(schCxt);
- cxt.ok(valid);
- }
- },
-};
-function getValidate(cxt, sch) {
- const { gen } = cxt;
- return sch.validate
- ? gen.scopeValue("validate", { ref: sch.validate })
- : (0, codegen_1._) `${gen.scopeValue("wrapper", { ref: sch })}.validate`;
-}
-exports.getValidate = getValidate;
-function callRef(cxt, v, sch, $async) {
- const { gen, it } = cxt;
- const { allErrors, schemaEnv: env, opts } = it;
- const passCxt = opts.passContext ? names_1.default.this : codegen_1.nil;
- if ($async)
- callAsyncRef();
- else
- callSyncRef();
- function callAsyncRef() {
- if (!env.$async)
- throw new Error("async schema referenced by sync schema");
- const valid = gen.let("valid");
- gen.try(() => {
- gen.code((0, codegen_1._) `await ${(0, code_1.callValidateCode)(cxt, v, passCxt)}`);
- addEvaluatedFrom(v); // TODO will not work with async, it has to be returned with the result
- if (!allErrors)
- gen.assign(valid, true);
- }, (e) => {
- gen.if((0, codegen_1._) `!(${e} instanceof ${it.ValidationError})`, () => gen.throw(e));
- addErrorsFrom(e);
- if (!allErrors)
- gen.assign(valid, false);
- });
- cxt.ok(valid);
- }
- function callSyncRef() {
- cxt.result((0, code_1.callValidateCode)(cxt, v, passCxt), () => addEvaluatedFrom(v), () => addErrorsFrom(v));
- }
- function addErrorsFrom(source) {
- const errs = (0, codegen_1._) `${source}.errors`;
- gen.assign(names_1.default.vErrors, (0, codegen_1._) `${names_1.default.vErrors} === null ? ${errs} : ${names_1.default.vErrors}.concat(${errs})`); // TODO tagged
- gen.assign(names_1.default.errors, (0, codegen_1._) `${names_1.default.vErrors}.length`);
- }
- function addEvaluatedFrom(source) {
- var _a;
- if (!it.opts.unevaluated)
- return;
- const schEvaluated = (_a = sch === null || sch === void 0 ? void 0 : sch.validate) === null || _a === void 0 ? void 0 : _a.evaluated;
- // TODO refactor
- if (it.props !== true) {
- if (schEvaluated && !schEvaluated.dynamicProps) {
- if (schEvaluated.props !== undefined) {
- it.props = util_1.mergeEvaluated.props(gen, schEvaluated.props, it.props);
- }
- }
- else {
- const props = gen.var("props", (0, codegen_1._) `${source}.evaluated.props`);
- it.props = util_1.mergeEvaluated.props(gen, props, it.props, codegen_1.Name);
- }
- }
- if (it.items !== true) {
- if (schEvaluated && !schEvaluated.dynamicItems) {
- if (schEvaluated.items !== undefined) {
- it.items = util_1.mergeEvaluated.items(gen, schEvaluated.items, it.items);
- }
- }
- else {
- const items = gen.var("items", (0, codegen_1._) `${source}.evaluated.items`);
- it.items = util_1.mergeEvaluated.items(gen, items, it.items, codegen_1.Name);
- }
- }
- }
-}
-exports.callRef = callRef;
-exports.default = def;
-//# sourceMappingURL=ref.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.js.map
deleted file mode 100644
index a5e8d086..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/core/ref.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ref.js","sourceRoot":"","sources":["../../../lib/vocabularies/core/ref.ts"],"names":[],"mappings":";;;AAEA,uDAAqD;AACrD,kCAAwC;AACxC,mDAAmE;AACnE,+CAAmC;AACnC,2CAAmD;AACnD,6CAAiD;AAEjD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACnC,MAAM,EAAC,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,EAAC,GAAG,EAAE,CAAA;QAC7D,MAAM,EAAC,IAAI,EAAC,GAAG,GAAG,CAAA;QAClB,IAAI,CAAC,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,IAAI,CAAC,IAAI,MAAM,KAAK,IAAI,CAAC,MAAM;YAAE,OAAO,W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GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,IAAA,WAAC,EAAA,GAAG,MAAM,kBAAkB,CAAC,CAAA;gBAC5D,EAAE,CAAC,KAAK,GAAG,qBAAc,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,EAAE,cAAI,CAAC,CAAA;aAC5D;SACF;IACH,CAAC;AACH,CAAC;AAhED,0BAgEC;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts
deleted file mode 100644
index 656b2da5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-import { DiscrError, DiscrErrorObj } from "../discriminator/types";
-export declare type DiscriminatorError = DiscrErrorObj<DiscrError.Tag> | DiscrErrorObj<DiscrError.Mapping>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.js
deleted file mode 100644
index a45d917b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.js
+++ /dev/null
@@ -1,100 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const types_1 = require("../discriminator/types");
-const compile_1 = require("../../compile");
-const util_1 = require("../../compile/util");
-const error = {
- message: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag
- ? `tag "${tagName}" must be string`
- : `value of tag "${tagName}" must be in oneOf`,
- params: ({ params: { discrError, tag, tagName } }) => (0, codegen_1._) `{error: ${discrError}, tag: ${tagName}, tagValue: ${tag}}`,
-};
-const def = {
- keyword: "discriminator",
- type: "object",
- schemaType: "object",
- error,
- code(cxt) {
- const { gen, data, schema, parentSchema, it } = cxt;
- const { oneOf } = parentSchema;
- if (!it.opts.discriminator) {
- throw new Error("discriminator: requires discriminator option");
- }
- const tagName = schema.propertyName;
- if (typeof tagName != "string")
- throw new Error("discriminator: requires propertyName");
- if (schema.mapping)
- throw new Error("discriminator: mapping is not supported");
- if (!oneOf)
- throw new Error("discriminator: requires oneOf keyword");
- const valid = gen.let("valid", false);
- const tag = gen.const("tag", (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(tagName)}`);
- gen.if((0, codegen_1._) `typeof ${tag} == "string"`, () => validateMapping(), () => cxt.error(false, { discrError: types_1.DiscrError.Tag, tag, tagName }));
- cxt.ok(valid);
- function validateMapping() {
- const mapping = getMapping();
- gen.if(false);
- for (const tagValue in mapping) {
- gen.elseIf((0, codegen_1._) `${tag} === ${tagValue}`);
- gen.assign(valid, applyTagSchema(mapping[tagValue]));
- }
- gen.else();
- cxt.error(false, { discrError: types_1.DiscrError.Mapping, tag, tagName });
- gen.endIf();
- }
- function applyTagSchema(schemaProp) {
- const _valid = gen.name("valid");
- const schCxt = cxt.subschema({ keyword: "oneOf", schemaProp }, _valid);
- cxt.mergeEvaluated(schCxt, codegen_1.Name);
- return _valid;
- }
- function getMapping() {
- var _a;
- const oneOfMapping = {};
- const topRequired = hasRequired(parentSchema);
- let tagRequired = true;
- for (let i = 0; i < oneOf.length; i++) {
- let sch = oneOf[i];
- if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it.self.RULES)) {
- sch = compile_1.resolveRef.call(it.self, it.schemaEnv, it.baseId, sch === null || sch === void 0 ? void 0 : sch.$ref);
- if (sch instanceof compile_1.SchemaEnv)
- sch = sch.schema;
- }
- const propSch = (_a = sch === null || sch === void 0 ? void 0 : sch.properties) === null || _a === void 0 ? void 0 : _a[tagName];
- if (typeof propSch != "object") {
- throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${tagName}"`);
- }
- tagRequired = tagRequired && (topRequired || hasRequired(sch));
- addMappings(propSch, i);
- }
- if (!tagRequired)
- throw new Error(`discriminator: "${tagName}" must be required`);
- return oneOfMapping;
- function hasRequired({ required }) {
- return Array.isArray(required) && required.includes(tagName);
- }
- function addMappings(sch, i) {
- if (sch.const) {
- addMapping(sch.const, i);
- }
- else if (sch.enum) {
- for (const tagValue of sch.enum) {
- addMapping(tagValue, i);
- }
- }
- else {
- throw new Error(`discriminator: "properties/${tagName}" must have "const" or "enum"`);
- }
- }
- function addMapping(tagValue, i) {
- if (typeof tagValue != "string" || tagValue in oneOfMapping) {
- throw new Error(`discriminator: "${tagName}" values must be unique strings`);
- }
- oneOfMapping[tagValue] = i;
- }
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.js.map
deleted file mode 100644
index dddd342b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/discriminator/index.ts"],"names":[],"mappings":";;AAEA,mDAA0D;AAC1D,kDAAgE;AAChE,2CAAmD;AACnD,6CAAuD;AAIvD,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,UAAU,EAAE,OAAO,EAAC,EAAC,EAAE,EAAE,CAC3C,UAAU,KAAK,kBAAU,CAAC,GAAG;QAC3B,CAAC,CAAC,QAAQ,OAAO,kBAAkB;QACnC,CAAC,CAAC,iBAAiB,OAAO,oBAAoB;IAClD,MAAM,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,UAAU,EAAE,GAAG,EAAE,OAAO,EAAC,EAAC,EAAE,EAA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GAAG,CAAC,IAAI,EAAE;wBAC/B,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;qBACxB;iBACF;qBAAM;oBACL,MAAM,IAAI,KAAK,CAAC,8BAA8B,OAAO,+BAA+B,CAAC,CAAA;iBACtF;YACH,CAAC;YAED,SAAS,UAAU,CAAC,QAAiB,EAAE,CAAS;gBAC9C,IAAI,OAAO,QAAQ,IAAI,QAAQ,IAAI,QAAQ,IAAI,YAAY,EAAE;oBAC3D,MAAM,IAAI,KAAK,CAAC,mBAAmB,OAAO,iCAAiC,CAAC,CAAA;iBAC7E;gBACD,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;YAC5B,CAAC;QACH,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts
deleted file mode 100644
index 6cf5ea51..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import type { ErrorObject } from "../../types";
-export declare enum DiscrError {
- Tag = "tag",
- Mapping = "mapping"
-}
-export declare type DiscrErrorObj<E extends DiscrError> = ErrorObject<"discriminator", {
- error: E;
- tag: string;
- tagValue: unknown;
-}, string>;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.js
deleted file mode 100644
index d538f0ce..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.js
+++ /dev/null
@@ -1,9 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.DiscrError = void 0;
-var DiscrError;
-(function (DiscrError) {
- DiscrError["Tag"] = "tag";
- DiscrError["Mapping"] = "mapping";
-})(DiscrError = exports.DiscrError || (exports.DiscrError = {}));
-//# sourceMappingURL=types.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.js.map
deleted file mode 100644
index 4908a4e9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/discriminator/types.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../lib/vocabularies/discriminator/types.ts"],"names":[],"mappings":";;;AAEA,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,iCAAmB,CAAA;AACrB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.d.ts
deleted file mode 100644
index d65752c6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { Vocabulary } from "../types";
-declare const draft2020Vocabularies: Vocabulary[];
-export default draft2020Vocabularies;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.js
deleted file mode 100644
index 23d244ae..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const core_1 = require("./core");
-const validation_1 = require("./validation");
-const applicator_1 = require("./applicator");
-const dynamic_1 = require("./dynamic");
-const next_1 = require("./next");
-const unevaluated_1 = require("./unevaluated");
-const format_1 = require("./format");
-const metadata_1 = require("./metadata");
-const draft2020Vocabularies = [
- dynamic_1.default,
- core_1.default,
- validation_1.default,
- (0, applicator_1.default)(true),
- format_1.default,
- metadata_1.metadataVocabulary,
- metadata_1.contentVocabulary,
- next_1.default,
- unevaluated_1.default,
-];
-exports.default = draft2020Vocabularies;
-//# sourceMappingURL=draft2020.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.js.map
deleted file mode 100644
index ae1a4d83..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft2020.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"draft2020.js","sourceRoot":"","sources":["../../lib/vocabularies/draft2020.ts"],"names":[],"mappings":";;AACA,iCAAmC;AACnC,6CAA+C;AAC/C,6CAAkD;AAClD,uCAAyC;AACzC,iCAAmC;AACnC,+CAAiD;AACjD,qCAAuC;AACvC,yCAAgE;AAEhE,MAAM,qBAAqB,GAAiB;IAC1C,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,IAAA,oBAAuB,EAAC,IAAI,CAAC;IAC7B,gBAAgB;IAChB,6BAAkB;IAClB,4BAAiB;IACjB,cAAc;IACd,qBAAqB;CACtB,CAAA;AAED,kBAAe,qBAAqB,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.d.ts
deleted file mode 100644
index 469fb844..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { Vocabulary } from "../types";
-declare const draft7Vocabularies: Vocabulary[];
-export default draft7Vocabularies;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.js
deleted file mode 100644
index 1e993de0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const core_1 = require("./core");
-const validation_1 = require("./validation");
-const applicator_1 = require("./applicator");
-const format_1 = require("./format");
-const metadata_1 = require("./metadata");
-const draft7Vocabularies = [
- core_1.default,
- validation_1.default,
- (0, applicator_1.default)(),
- format_1.default,
- metadata_1.metadataVocabulary,
- metadata_1.contentVocabulary,
-];
-exports.default = draft7Vocabularies;
-//# sourceMappingURL=draft7.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.js.map
deleted file mode 100644
index bc7389c6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/draft7.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"draft7.js","sourceRoot":"","sources":["../../lib/vocabularies/draft7.ts"],"names":[],"mappings":";;AACA,iCAAmC;AACnC,6CAA+C;AAC/C,6CAAkD;AAClD,qCAAuC;AACvC,yCAAgE;AAEhE,MAAM,kBAAkB,GAAiB;IACvC,cAAc;IACd,oBAAoB;IACpB,IAAA,oBAAuB,GAAE;IACzB,gBAAgB;IAChB,6BAAkB;IAClB,4BAAiB;CAClB,CAAA;AAED,kBAAe,kBAAkB,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts
deleted file mode 100644
index 56212139..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-import type { KeywordCxt } from "../../compile/validate";
-declare const def: CodeKeywordDefinition;
-export declare function dynamicAnchor(cxt: KeywordCxt, anchor: string): void;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
deleted file mode 100644
index 972dc35c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.dynamicAnchor = void 0;
-const codegen_1 = require("../../compile/codegen");
-const names_1 = require("../../compile/names");
-const compile_1 = require("../../compile");
-const ref_1 = require("../core/ref");
-const def = {
- keyword: "$dynamicAnchor",
- schemaType: "string",
- code: (cxt) => dynamicAnchor(cxt, cxt.schema),
-};
-function dynamicAnchor(cxt, anchor) {
- const { gen, it } = cxt;
- it.schemaEnv.root.dynamicAnchors[anchor] = true;
- const v = (0, codegen_1._) `${names_1.default.dynamicAnchors}${(0, codegen_1.getProperty)(anchor)}`;
- const validate = it.errSchemaPath === "#" ? it.validateName : _getValidate(cxt);
- gen.if((0, codegen_1._) `!${v}`, () => gen.assign(v, validate));
-}
-exports.dynamicAnchor = dynamicAnchor;
-function _getValidate(cxt) {
- const { schemaEnv, schema, self } = cxt.it;
- const { root, baseId, localRefs, meta } = schemaEnv.root;
- const { schemaId } = self.opts;
- const sch = new compile_1.SchemaEnv({ schema, schemaId, root, baseId, localRefs, meta });
- compile_1.compileSchema.call(self, sch);
- return (0, ref_1.getValidate)(cxt, sch);
-}
-exports.default = def;
-//# sourceMappingURL=dynamicAnchor.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map
deleted file mode 100644
index e70afe30..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"dynamicAnchor.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/dynamicAnchor.ts"],"names":[],"mappings":";;;AAEA,mDAA0D;AAC1D,+CAAmC;AACnC,2CAAsD;AACtD,qCAAuC;AAEvC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,gBAAgB;IACzB,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC;CAC9C,CAAA;AAED,SAAgB,aAAa,CAAC,GAAe,EAAE,MAAc;IAC3D,MAAM,EAAC,GAAG,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;IACrB,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;IAC/C,MAAM,CAAC,GAAG,IAAA,WAAC,EAAA,GAAG,eAAC,CAAC,cAAc,GAAG,IAAA,qBAAW,EAAC,MAAM,CAAC,EAAE,CAAA;IACtD,MAAM,QAAQ,GAAG,EAAE,CAAC,aAAa,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IAC/E,GAAG,CAAC,EAAE,CAAC,IAAA,WAAC,EAAA,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAA;AACjD,CAAC;AAND,sCAMC;AAED,SAAS,YAAY,CAAC,GAAe;IACnC,MAAM,EAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAC,GAAG,GAAG,CAAC,EAAE,CAAA;IACxC,MAAM,EAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAC,GAAG,SAAS,CAAC,IAAI,CAAA;IACtD,MAAM,EAAC,QAAQ,EAAC,GAAG,IAAI,CAAC,IAAI,CAAA;IAC5B,MAAM,GAAG,GAAG,IAAI,mBAAS,CAAC,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAC,CAAC,CAAA;IAC5E,uBAAa,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IAC7B,OAAO,IAAA,iBAAW,EAAC,GAAG,EAAE,GAAG,CAAC,CAAA;AAC9B,CAAC;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts
deleted file mode 100644
index fa2f2b81..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-import type { KeywordCxt } from "../../compile/validate";
-declare const def: CodeKeywordDefinition;
-export declare function dynamicRef(cxt: KeywordCxt, ref: string): void;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
deleted file mode 100644
index 9f010a0d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
+++ /dev/null
@@ -1,51 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.dynamicRef = void 0;
-const codegen_1 = require("../../compile/codegen");
-const names_1 = require("../../compile/names");
-const ref_1 = require("../core/ref");
-const def = {
- keyword: "$dynamicRef",
- schemaType: "string",
- code: (cxt) => dynamicRef(cxt, cxt.schema),
-};
-function dynamicRef(cxt, ref) {
- const { gen, keyword, it } = cxt;
- if (ref[0] !== "#")
- throw new Error(`"${keyword}" only supports hash fragment reference`);
- const anchor = ref.slice(1);
- if (it.allErrors) {
- _dynamicRef();
- }
- else {
- const valid = gen.let("valid", false);
- _dynamicRef(valid);
- cxt.ok(valid);
- }
- function _dynamicRef(valid) {
- // TODO the assumption here is that `recursiveRef: #` always points to the root
- // of the schema object, which is not correct, because there may be $id that
- // makes # point to it, and the target schema may not contain dynamic/recursiveAnchor.
- // Because of that 2 tests in recursiveRef.json fail.
- // This is a similar problem to #815 (`$id` doesn't alter resolution scope for `{ "$ref": "#" }`).
- // (This problem is not tested in JSON-Schema-Test-Suite)
- if (it.schemaEnv.root.dynamicAnchors[anchor]) {
- const v = gen.let("_v", (0, codegen_1._) `${names_1.default.dynamicAnchors}${(0, codegen_1.getProperty)(anchor)}`);
- gen.if(v, _callRef(v, valid), _callRef(it.validateName, valid));
- }
- else {
- _callRef(it.validateName, valid)();
- }
- }
- function _callRef(validate, valid) {
- return valid
- ? () => gen.block(() => {
- (0, ref_1.callRef)(cxt, validate);
- gen.let(valid, true);
- })
- : () => (0, ref_1.callRef)(cxt, validate);
- }
-}
-exports.dynamicRef = dynamicRef;
-exports.default = def;
-//# sourceMappingURL=dynamicRef.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map
deleted file mode 100644
index 921c893f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"dynamicRef.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/dynamicRef.ts"],"names":[],"mappings":";;;AAEA,mDAAgE;AAChE,+CAAmC;AACnC,qCAAmC;AAEnC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,aAAa;IACtB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AE,CAAA;SACnC;IACH,CAAC;IAED,SAAS,QAAQ,CAAC,QAAc,EAAE,KAAY;QAC5C,OAAO,KAAK;YACV,CAAC,CAAC,GAAG,EAAE,CACH,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE;gBACb,IAAA,aAAO,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBACtB,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;YACtB,CAAC,CAAC;YACN,CAAC,CAAC,GAAG,EAAE,CAAC,IAAA,aAAO,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;IAClC,CAAC;AACH,CAAC;AApCD,gCAoCC;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts
deleted file mode 100644
index 0c751d93..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { Vocabulary } from "../../types";
-declare const dynamic: Vocabulary;
-export default dynamic;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.js
deleted file mode 100644
index f2388a75..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.js
+++ /dev/null
@@ -1,9 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const dynamicAnchor_1 = require("./dynamicAnchor");
-const dynamicRef_1 = require("./dynamicRef");
-const recursiveAnchor_1 = require("./recursiveAnchor");
-const recursiveRef_1 = require("./recursiveRef");
-const dynamic = [dynamicAnchor_1.default, dynamicRef_1.default, recursiveAnchor_1.default, recursiveRef_1.default];
-exports.default = dynamic;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.js.map
deleted file mode 100644
index f96ba76d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/index.ts"],"names":[],"mappings":";;AACA,mDAA2C;AAC3C,6CAAqC;AACrC,uDAA+C;AAC/C,iDAAyC;AAEzC,MAAM,OAAO,GAAe,CAAC,uBAAa,EAAE,oBAAU,EAAE,yBAAe,EAAE,sBAAY,CAAC,CAAA;AAEtF,kBAAe,OAAO,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
deleted file mode 100644
index 9fd83235..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const dynamicAnchor_1 = require("./dynamicAnchor");
-const util_1 = require("../../compile/util");
-const def = {
- keyword: "$recursiveAnchor",
- schemaType: "boolean",
- code(cxt) {
- if (cxt.schema)
- (0, dynamicAnchor_1.dynamicAnchor)(cxt, "");
- else
- (0, util_1.checkStrictMode)(cxt.it, "$recursiveAnchor: false is ignored");
- },
-};
-exports.default = def;
-//# sourceMappingURL=recursiveAnchor.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map
deleted file mode 100644
index 5d5e381b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"recursiveAnchor.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/recursiveAnchor.ts"],"names":[],"mappings":";;AACA,mDAA6C;AAC7C,6CAAkD;AAElD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,kBAAkB;IAC3B,UAAU,EAAE,SAAS;IACrB,IAAI,CAAC,GAAG;QACN,IAAI,GAAG,CAAC,MAAM;YAAE,IAAA,6BAAa,EAAC,GAAG,EAAE,EAAE,CAAC,CAAA;;YACjC,IAAA,sBAAe,EAAC,GAAG,CAAC,EAAE,EAAE,oCAAoC,CAAC,CAAA;IACpE,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
deleted file mode 100644
index 8cd5c696..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
+++ /dev/null
@@ -1,10 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const dynamicRef_1 = require("./dynamicRef");
-const def = {
- keyword: "$recursiveRef",
- schemaType: "string",
- code: (cxt) => (0, dynamicRef_1.dynamicRef)(cxt, cxt.schema),
-};
-exports.default = def;
-//# sourceMappingURL=recursiveRef.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map
deleted file mode 100644
index f8138044..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"recursiveRef.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/recursiveRef.ts"],"names":[],"mappings":";;AACA,6CAAuC;AAEvC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAU,EAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC;CAC3C,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.d.ts
deleted file mode 100644
index 221aae0e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { TypeError } from "../compile/validate/dataType";
-import type { ApplicatorKeywordError } from "./applicator";
-import type { ValidationKeywordError } from "./validation";
-import type { FormatError } from "./format/format";
-import type { UnevaluatedPropertiesError } from "./unevaluated/unevaluatedProperties";
-import type { UnevaluatedItemsError } from "./unevaluated/unevaluatedItems";
-import type { DependentRequiredError } from "./validation/dependentRequired";
-import type { DiscriminatorError } from "./discriminator";
-export declare type DefinedError = TypeError | ApplicatorKeywordError | ValidationKeywordError | FormatError | UnevaluatedPropertiesError | UnevaluatedItemsError | DependentRequiredError | DiscriminatorError;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.js
deleted file mode 100644
index d4d3fba0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=errors.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.js.map
deleted file mode 100644
index 56bad736..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/errors.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../lib/vocabularies/errors.ts"],"names":[],"mappings":""} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.d.ts
deleted file mode 100644
index 855d0a2a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-export declare type FormatError = ErrorObject<"format", {
- format: string;
-}, string | {
- $data: string;
-}>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.js
deleted file mode 100644
index aa667c1e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.js
+++ /dev/null
@@ -1,92 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const error = {
- message: ({ schemaCode }) => (0, codegen_1.str) `must match format "${schemaCode}"`,
- params: ({ schemaCode }) => (0, codegen_1._) `{format: ${schemaCode}}`,
-};
-const def = {
- keyword: "format",
- type: ["number", "string"],
- schemaType: "string",
- $data: true,
- error,
- code(cxt, ruleType) {
- const { gen, data, $data, schema, schemaCode, it } = cxt;
- const { opts, errSchemaPath, schemaEnv, self } = it;
- if (!opts.validateFormats)
- return;
- if ($data)
- validate$DataFormat();
- else
- validateFormat();
- function validate$DataFormat() {
- const fmts = gen.scopeValue("formats", {
- ref: self.formats,
- code: opts.code.formats,
- });
- const fDef = gen.const("fDef", (0, codegen_1._) `${fmts}[${schemaCode}]`);
- const fType = gen.let("fType");
- const format = gen.let("format");
- // TODO simplify
- gen.if((0, codegen_1._) `typeof ${fDef} == "object" && !(${fDef} instanceof RegExp)`, () => gen.assign(fType, (0, codegen_1._) `${fDef}.type || "string"`).assign(format, (0, codegen_1._) `${fDef}.validate`), () => gen.assign(fType, (0, codegen_1._) `"string"`).assign(format, fDef));
- cxt.fail$data((0, codegen_1.or)(unknownFmt(), invalidFmt()));
- function unknownFmt() {
- if (opts.strictSchema === false)
- return codegen_1.nil;
- return (0, codegen_1._) `${schemaCode} && !${format}`;
- }
- function invalidFmt() {
- const callFormat = schemaEnv.$async
- ? (0, codegen_1._) `(${fDef}.async ? await ${format}(${data}) : ${format}(${data}))`
- : (0, codegen_1._) `${format}(${data})`;
- const validData = (0, codegen_1._) `(typeof ${format} == "function" ? ${callFormat} : ${format}.test(${data}))`;
- return (0, codegen_1._) `${format} && ${format} !== true && ${fType} === ${ruleType} && !${validData}`;
- }
- }
- function validateFormat() {
- const formatDef = self.formats[schema];
- if (!formatDef) {
- unknownFormat();
- return;
- }
- if (formatDef === true)
- return;
- const [fmtType, format, fmtRef] = getFormat(formatDef);
- if (fmtType === ruleType)
- cxt.pass(validCondition());
- function unknownFormat() {
- if (opts.strictSchema === false) {
- self.logger.warn(unknownMsg());
- return;
- }
- throw new Error(unknownMsg());
- function unknownMsg() {
- return `unknown format "${schema}" ignored in schema at path "${errSchemaPath}"`;
- }
- }
- function getFormat(fmtDef) {
- const code = fmtDef instanceof RegExp
- ? (0, codegen_1.regexpCode)(fmtDef)
- : opts.code.formats
- ? (0, codegen_1._) `${opts.code.formats}${(0, codegen_1.getProperty)(schema)}`
- : undefined;
- const fmt = gen.scopeValue("formats", { key: schema, ref: fmtDef, code });
- if (typeof fmtDef == "object" && !(fmtDef instanceof RegExp)) {
- return [fmtDef.type || "string", fmtDef.validate, (0, codegen_1._) `${fmt}.validate`];
- }
- return ["string", fmtDef, fmt];
- }
- function validCondition() {
- if (typeof formatDef == "object" && !(formatDef instanceof RegExp) && formatDef.async) {
- if (!schemaEnv.$async)
- throw new Error("async format in sync schema");
- return (0, codegen_1._) `await ${fmtRef}(${data})`;
- }
- return typeof format == "function" ? (0, codegen_1._) `${fmtRef}(${data})` : (0, codegen_1._) `${fmtRef}.test(${data})`;
- }
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=format.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.js.map
deleted file mode 100644
index 897d9ded..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/format.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"format.js","sourceRoot":"","sources":["../../../lib/vocabularies/format/format.ts"],"names":[],"mappings":";;AASA,mDAAoF;AAapF,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,UAA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AM,EAAE,GAAG,CAAC,CAAA;YAChC,CAAC;YAED,SAAS,cAAc;gBACrB,IAAI,OAAO,SAAS,IAAI,QAAQ,IAAI,CAAC,CAAC,SAAS,YAAY,MAAM,CAAC,IAAI,SAAS,CAAC,KAAK,EAAE;oBACrF,IAAI,CAAC,SAAS,CAAC,MAAM;wBAAE,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAA;oBACrE,OAAO,IAAA,WAAC,EAAA,SAAS,MAAM,IAAI,IAAI,GAAG,CAAA;iBACnC;gBACD,OAAO,OAAO,MAAM,IAAI,UAAU,CAAC,CAAC,CAAC,IAAA,WAAC,EAAA,GAAG,MAAM,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,IAAA,WAAC,EAAA,GAAG,MAAM,SAAS,IAAI,GAAG,CAAA;YACzF,CAAC;QACH,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.d.ts
deleted file mode 100644
index c8019c9d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { Vocabulary } from "../../types";
-declare const format: Vocabulary;
-export default format;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.js
deleted file mode 100644
index d19023d2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.js
+++ /dev/null
@@ -1,6 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const format_1 = require("./format");
-const format = [format_1.default];
-exports.default = format;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.js.map
deleted file mode 100644
index 6315bfe1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/format/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/format/index.ts"],"names":[],"mappings":";;AACA,qCAAoC;AAEpC,MAAM,MAAM,GAAe,CAAC,gBAAa,CAAC,CAAA;AAE1C,kBAAe,MAAM,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts
deleted file mode 100644
index fa27fb77..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-import { _JTDTypeError } from "./error";
-import { DiscrError, DiscrErrorObj } from "../discriminator/types";
-export declare type JTDDiscriminatorError = _JTDTypeError<"discriminator", "object", string> | DiscrErrorObj<DiscrError.Tag> | DiscrErrorObj<DiscrError.Mapping>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.js
deleted file mode 100644
index e7074d27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.js
+++ /dev/null
@@ -1,71 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const metadata_1 = require("./metadata");
-const nullable_1 = require("./nullable");
-const error_1 = require("./error");
-const types_1 = require("../discriminator/types");
-const error = {
- message: (cxt) => {
- const { schema, params } = cxt;
- return params.discrError
- ? params.discrError === types_1.DiscrError.Tag
- ? `tag "${schema}" must be string`
- : `value of tag "${schema}" must be in mapping`
- : (0, error_1.typeErrorMessage)(cxt, "object");
- },
- params: (cxt) => {
- const { schema, params } = cxt;
- return params.discrError
- ? (0, codegen_1._) `{error: ${params.discrError}, tag: ${schema}, tagValue: ${params.tag}}`
- : (0, error_1.typeErrorParams)(cxt, "object");
- },
-};
-const def = {
- keyword: "discriminator",
- schemaType: "string",
- implements: ["mapping"],
- error,
- code(cxt) {
- (0, metadata_1.checkMetadata)(cxt);
- const { gen, data, schema, parentSchema } = cxt;
- const [valid, cond] = (0, nullable_1.checkNullableObject)(cxt, data);
- gen.if(cond);
- validateDiscriminator();
- gen.elseIf((0, codegen_1.not)(valid));
- cxt.error();
- gen.endIf();
- cxt.ok(valid);
- function validateDiscriminator() {
- const tag = gen.const("tag", (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(schema)}`);
- gen.if((0, codegen_1._) `${tag} === undefined`);
- cxt.error(false, { discrError: types_1.DiscrError.Tag, tag });
- gen.elseIf((0, codegen_1._) `typeof ${tag} == "string"`);
- validateMapping(tag);
- gen.else();
- cxt.error(false, { discrError: types_1.DiscrError.Tag, tag }, { instancePath: schema });
- gen.endIf();
- }
- function validateMapping(tag) {
- gen.if(false);
- for (const tagValue in parentSchema.mapping) {
- gen.elseIf((0, codegen_1._) `${tag} === ${tagValue}`);
- gen.assign(valid, applyTagSchema(tagValue));
- }
- gen.else();
- cxt.error(false, { discrError: types_1.DiscrError.Mapping, tag }, { instancePath: schema, schemaPath: "mapping", parentSchema: true });
- gen.endIf();
- }
- function applyTagSchema(schemaProp) {
- const _valid = gen.name("valid");
- cxt.subschema({
- keyword: "mapping",
- schemaProp,
- jtdDiscriminator: schema,
- }, _valid);
- return _valid;
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=discriminator.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map
deleted file mode 100644
index 53cb717b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"discriminator.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/discriminator.ts"],"names":[],"mappings":";;AAEA,mDAA+D;AAC/D,yCAAwC;AACxC,yCAA8C;AAC9C,mCAAwE;AACxE,kDAAgE;AAOhE,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;QACf,MAAM,EAAC,MAAM,EAAE,MAAM,EAAC,GAAG,GAAG,CAAA;QAC5B,OAAO,MAAM,CAAC,UAAU;YACtB,CAAC,CAAC,MAAM,CAAC,UAAU,KAAK,kBAAU,CAAC,GAAG;gBACpC,CAAC,CAAC,QAAQ,MAAM,kBAAkB;gBAClC,CAAC,CAAC,iBAAiB,MAAM,sBAAsB;YACjD,CAAC,CAAC,IAAA,wBAAgB,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;IACrC,CAAC;IACD,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE;QACd,MAAM,EAAC,MAAM,EAAE,MAAM,EAAC,GAAG,GAAG,CAAA;QAC5B,OAAO,MAAM,CAAC,UAAU;YACtB,CAAC,CAAC,IAAA,WAAC,EAAA,WAAW,MAAM,CAAC,UAAU,UAAU,MAAM,eAAe,MAAM,CAAC,GAAG,GAAG;YAC3E,CAAC,CAAC,IAAA,uBAAe,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;IACpC,CAAC;CACF,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,IAAA,wBAAa,EAAC,GAAG,CAAC,CAAA;QAClB,MAAM,EAAC,GAAG,EAAE,IAAI,EA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,OAAO,EAAE;gBAC3C,GAAG,CAAC,MAAM,CAAC,IAAA,WAAC,EAAA,GAAG,GAAG,QAAQ,QAAQ,EAAE,CAAC,CAAA;gBACrC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAA;aAC5C;YACD,GAAG,CAAC,IAAI,EAAE,CAAA;YACV,GAAG,CAAC,KAAK,CACP,KAAK,EACL,EAAC,UAAU,EAAE,kBAAU,CAAC,OAAO,EAAE,GAAG,EAAC,EACrC,EAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAC,CAClE,CAAA;YACD,GAAG,CAAC,KAAK,EAAE,CAAA;QACb,CAAC;QAED,SAAS,cAAc,CAAC,UAAkB;YACxC,MAAM,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YAChC,GAAG,CAAC,SAAS,CACX;gBACE,OAAO,EAAE,SAAS;gBAClB,UAAU;gBACV,gBAAgB,EAAE,MAAM;aACzB,EACD,MAAM,CACP,CAAA;YACD,OAAO,MAAM,CAAA;QACf,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts
deleted file mode 100644
index 0a158711..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { CodeKeywordDefinition, SchemaObject } from "../../types";
-import { _JTDTypeError } from "./error";
-export declare type JTDElementsError = _JTDTypeError<"elements", "array", SchemaObject>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.js
deleted file mode 100644
index 9b8fb548..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const util_1 = require("../../compile/util");
-const code_1 = require("../code");
-const codegen_1 = require("../../compile/codegen");
-const metadata_1 = require("./metadata");
-const nullable_1 = require("./nullable");
-const error_1 = require("./error");
-const def = {
- keyword: "elements",
- schemaType: "object",
- error: (0, error_1.typeError)("array"),
- code(cxt) {
- (0, metadata_1.checkMetadata)(cxt);
- const { gen, data, schema, it } = cxt;
- if ((0, util_1.alwaysValidSchema)(it, schema))
- return;
- const [valid] = (0, nullable_1.checkNullable)(cxt);
- gen.if((0, codegen_1.not)(valid), () => gen.if((0, codegen_1._) `Array.isArray(${data})`, () => gen.assign(valid, (0, code_1.validateArray)(cxt)), () => cxt.error()));
- cxt.ok(valid);
- },
-};
-exports.default = def;
-//# sourceMappingURL=elements.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.js.map
deleted file mode 100644
index 38fe3a12..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/elements.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"elements.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/elements.ts"],"names":[],"mappings":";;AAEA,6CAAoD;AACpD,kCAAqC;AACrC,mDAA4C;AAC5C,yCAAwC;AACxC,yCAAwC;AACxC,mCAAgD;AAIhD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAA,iBAAS,EAAC,OAAO,CAAC;IACzB,IAAI,CAAC,GAAe;QAClB,IAAA,wBAAa,EAAC,GAAG,CAAC,CAAA;QAClB,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACnC,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC;YAAE,OAAM;QACzC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAA,wBAAa,EAAC,GAAG,CAAC,CAAA;QAClC,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CACtB,GAAG,CAAC,EAAE,CACJ,IAAA,WAAC,EAAA,iBAAiB,IAAI,GAAG,EACzB,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,IAAA,oBAAa,EAAC,GAAG,CAAC,CAAC,EAC3C,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAClB,CACF,CAAA;QACD,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;IACf,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts
deleted file mode 100644
index 8df949c0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-export declare type JTDEnumError = ErrorObject<"enum", {
- allowedValues: string[];
-}, string[]>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.js
deleted file mode 100644
index 78b01ee3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.js
+++ /dev/null
@@ -1,43 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const metadata_1 = require("./metadata");
-const nullable_1 = require("./nullable");
-const error = {
- message: "must be equal to one of the allowed values",
- params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`,
-};
-const def = {
- keyword: "enum",
- schemaType: "array",
- error,
- code(cxt) {
- (0, metadata_1.checkMetadata)(cxt);
- const { gen, data, schema, schemaValue, parentSchema, it } = cxt;
- if (schema.length === 0)
- throw new Error("enum must have non-empty array");
- if (schema.length !== new Set(schema).size)
- throw new Error("enum items must be unique");
- let valid;
- const isString = (0, codegen_1._) `typeof ${data} == "string"`;
- if (schema.length >= it.opts.loopEnum) {
- let cond;
- [valid, cond] = (0, nullable_1.checkNullable)(cxt, isString);
- gen.if(cond, loopEnum);
- }
- else {
- /* istanbul ignore if */
- if (!Array.isArray(schema))
- throw new Error("ajv implementation error");
- valid = (0, codegen_1.and)(isString, (0, codegen_1.or)(...schema.map((value) => (0, codegen_1._) `${data} === ${value}`)));
- if (parentSchema.nullable)
- valid = (0, codegen_1.or)((0, codegen_1._) `${data} === null`, valid);
- }
- cxt.pass(valid);
- function loopEnum() {
- gen.forOf("v", schemaValue, (v) => gen.if((0, codegen_1._) `${valid} = ${data} === ${v}`, () => gen.break()));
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=enum.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.js.map
deleted file mode 100644
index 663cc7c5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/enum.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/enum.ts"],"names":[],"mappings":";;AAEA,mDAAsD;AACtD,yCAAwC;AACxC,yCAAwC;AAIxC,MAAM,KAAK,GAA2B;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,EAAA,GAAG,IAAI,QAAQ,KAAK,EAAE,CAAC,CAAC,CAAC,CAAA;YACpF,IAAI,YAAY,CAAC,QAAQ;gBAAE,KAAK,GAAG,IAAA,YAAE,EAAC,IAAA,WAAC,EAAA,GAAG,IAAI,WAAW,EAAE,KAAK,CAAC,CAAA;SAClE;QACD,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAEf,SAAS,QAAQ;YACf,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,WAAmB,EAAE,CAAC,CAAC,EAAE,EAAE,CACxC,GAAG,CAAC,EAAE,CAAC,IAAA,WAAC,EAAA,GAAG,KAAK,MAAM,IAAI,QAAQ,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAC1D,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.d.ts
deleted file mode 100644
index 0a1e68f9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { KeywordErrorDefinition, KeywordErrorCxt, ErrorObject } from "../../types";
-import { Code } from "../../compile/codegen";
-export declare type _JTDTypeError<K extends string, T extends string, S> = ErrorObject<K, {
- type: T;
- nullable: boolean;
-}, S>;
-export declare function typeError(t: string): KeywordErrorDefinition;
-export declare function typeErrorMessage({ parentSchema }: KeywordErrorCxt, t: string): string;
-export declare function typeErrorParams({ parentSchema }: KeywordErrorCxt, t: string): Code;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.js
deleted file mode 100644
index 1a3920a7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.js
+++ /dev/null
@@ -1,20 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.typeErrorParams = exports.typeErrorMessage = exports.typeError = void 0;
-const codegen_1 = require("../../compile/codegen");
-function typeError(t) {
- return {
- message: (cxt) => typeErrorMessage(cxt, t),
- params: (cxt) => typeErrorParams(cxt, t),
- };
-}
-exports.typeError = typeError;
-function typeErrorMessage({ parentSchema }, t) {
- return (parentSchema === null || parentSchema === void 0 ? void 0 : parentSchema.nullable) ? `must be ${t} or null` : `must be ${t}`;
-}
-exports.typeErrorMessage = typeErrorMessage;
-function typeErrorParams({ parentSchema }, t) {
- return (0, codegen_1._) `{type: ${t}, nullable: ${!!(parentSchema === null || parentSchema === void 0 ? void 0 : parentSchema.nullable)}}`;
-}
-exports.typeErrorParams = typeErrorParams;
-//# sourceMappingURL=error.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.js.map
deleted file mode 100644
index db559678..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/error.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/error.ts"],"names":[],"mappings":";;;AACA,mDAA6C;AAQ7C,SAAgB,SAAS,CAAC,CAAS;IACjC,OAAO;QACL,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC,CAAC;QAC1C,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,CAAC;KACzC,CAAA;AACH,CAAC;AALD,8BAKC;AAED,SAAgB,gBAAgB,CAAC,EAAC,YAAY,EAAkB,EAAE,CAAS;IACzE,OAAO,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,QAAQ,EAAC,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,CAAA;AACzE,CAAC;AAFD,4CAEC;AAED,SAAgB,eAAe,CAAC,EAAC,YAAY,EAAkB,EAAE,CAAS;IACxE,OAAO,IAAA,WAAC,EAAA,UAAU,CAAC,eAAe,CAAC,CAAC,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,QAAQ,CAAA,GAAG,CAAA;AAC/D,CAAC;AAFD,0CAEC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.d.ts
deleted file mode 100644
index f9b7fb9d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import type { Vocabulary } from "../../types";
-import { JTDTypeError } from "./type";
-import { JTDEnumError } from "./enum";
-import { JTDElementsError } from "./elements";
-import { JTDPropertiesError } from "./properties";
-import { JTDDiscriminatorError } from "./discriminator";
-import { JTDValuesError } from "./values";
-declare const jtdVocabulary: Vocabulary;
-export default jtdVocabulary;
-export declare type JTDErrorObject = JTDTypeError | JTDEnumError | JTDElementsError | JTDPropertiesError | JTDDiscriminatorError | JTDValuesError;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.js
deleted file mode 100644
index 18f40ab7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const ref_1 = require("./ref");
-const type_1 = require("./type");
-const enum_1 = require("./enum");
-const elements_1 = require("./elements");
-const properties_1 = require("./properties");
-const optionalProperties_1 = require("./optionalProperties");
-const discriminator_1 = require("./discriminator");
-const values_1 = require("./values");
-const union_1 = require("./union");
-const metadata_1 = require("./metadata");
-const jtdVocabulary = [
- "definitions",
- ref_1.default,
- type_1.default,
- enum_1.default,
- elements_1.default,
- properties_1.default,
- optionalProperties_1.default,
- discriminator_1.default,
- values_1.default,
- union_1.default,
- metadata_1.default,
- { keyword: "additionalProperties", schemaType: "boolean" },
- { keyword: "nullable", schemaType: "boolean" },
-];
-exports.default = jtdVocabulary;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.js.map
deleted file mode 100644
index 713a1875..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/index.ts"],"names":[],"mappings":";;AACA,+BAA8B;AAC9B,iCAAgD;AAChD,iCAAgD;AAChD,yCAAqD;AACrD,6CAA2D;AAC3D,6DAAqD;AACrD,mDAAoE;AACpE,qCAA+C;AAC/C,mCAA2B;AAC3B,yCAAiC;AAEjC,MAAM,aAAa,GAAe;IAChC,aAAa;IACb,aAAU;IACV,cAAW;IACX,cAAW;IACX,kBAAQ;IACR,oBAAU;IACV,4BAAkB;IAClB,uBAAa;IACb,gBAAM;IACN,eAAK;IACL,kBAAQ;IACR,EAAC,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,SAAS,EAAC;IACxD,EAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAC;CAC7C,CAAA;AAED,kBAAe,aAAa,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts
deleted file mode 100644
index 86e15a8e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import { KeywordCxt } from "../../ajv";
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export declare function checkMetadata({ it, keyword }: KeywordCxt, metadata?: boolean): void;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.js
deleted file mode 100644
index eeb3c91c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.js
+++ /dev/null
@@ -1,25 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.checkMetadata = void 0;
-const util_1 = require("../../compile/util");
-const def = {
- keyword: "metadata",
- schemaType: "object",
- code(cxt) {
- checkMetadata(cxt);
- const { gen, schema, it } = cxt;
- if ((0, util_1.alwaysValidSchema)(it, schema))
- return;
- const valid = gen.name("valid");
- cxt.subschema({ keyword: "metadata", jtdMetadata: true }, valid);
- cxt.ok(valid);
- },
-};
-function checkMetadata({ it, keyword }, metadata) {
- if (it.jtdMetadata !== metadata) {
- throw new Error(`JTD: "${keyword}" cannot be used in this schema location`);
- }
-}
-exports.checkMetadata = checkMetadata;
-exports.default = def;
-//# sourceMappingURL=metadata.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map
deleted file mode 100644
index c22e73ad..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/metadata.ts"],"names":[],"mappings":";;;AAEA,6CAAoD;AAEpD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,QAAQ;IACpB,IAAI,CAAC,GAAe;QAClB,aAAa,CAAC,GAAG,CAAC,CAAA;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QAC7B,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC;YAAE,OAAM;QACzC,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC/B,GAAG,CAAC,SAAS,CAAC,EAAC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;QAC9D,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;IACf,CAAC;CACF,CAAA;AAED,SAAgB,aAAa,CAAC,EAAC,EAAE,EAAE,OAAO,EAAa,EAAE,QAAkB;IACzE,IAAI,EAAE,CAAC,WAAW,KAAK,QAAQ,EAAE;QAC/B,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,0CAA0C,CAAC,CAAA;KAC5E;AACH,CAAC;AAJD,sCAIC;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts
deleted file mode 100644
index 254f7602..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import type { KeywordCxt } from "../../compile/validate";
-import { Code, Name } from "../../compile/codegen";
-export declare function checkNullable({ gen, data, parentSchema }: KeywordCxt, cond?: Code): [Name, Code];
-export declare function checkNullableObject(cxt: KeywordCxt, cond: Code): [Name, Code];
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.js
deleted file mode 100644
index 8c92d2cd..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.checkNullableObject = exports.checkNullable = void 0;
-const codegen_1 = require("../../compile/codegen");
-function checkNullable({ gen, data, parentSchema }, cond = codegen_1.nil) {
- const valid = gen.name("valid");
- if (parentSchema.nullable) {
- gen.let(valid, (0, codegen_1._) `${data} === null`);
- cond = (0, codegen_1.not)(valid);
- }
- else {
- gen.let(valid, false);
- }
- return [valid, cond];
-}
-exports.checkNullable = checkNullable;
-function checkNullableObject(cxt, cond) {
- const [valid, cond_] = checkNullable(cxt, cond);
- return [valid, (0, codegen_1._) `${cond_} && typeof ${cxt.data} == "object" && !Array.isArray(${cxt.data})`];
-}
-exports.checkNullableObject = checkNullableObject;
-//# sourceMappingURL=nullable.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map
deleted file mode 100644
index 5bfaf327..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"nullable.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/nullable.ts"],"names":[],"mappings":";;;AACA,mDAA6D;AAE7D,SAAgB,aAAa,CAC3B,EAAC,GAAG,EAAE,IAAI,EAAE,YAAY,EAAa,EACrC,OAAa,aAAG;IAEhB,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IAC/B,IAAI,YAAY,CAAC,QAAQ,EAAE;QACzB,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,IAAA,WAAC,EAAA,GAAG,IAAI,WAAW,CAAC,CAAA;QACnC,IAAI,GAAG,IAAA,aAAG,EAAC,KAAK,CAAC,CAAA;KAClB;SAAM;QACL,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;KACtB;IACD,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAZD,sCAYC;AAED,SAAgB,mBAAmB,CAAC,GAAe,EAAE,IAAU;IAC7D,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC/C,OAAO,CAAC,KAAK,EAAE,IAAA,WAAC,EAAA,GAAG,KAAK,cAAc,GAAG,CAAC,IAAI,kCAAkC,GAAG,CAAC,IAAI,GAAG,CAAC,CAAA;AAC9F,CAAC;AAHD,kDAGC"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js
deleted file mode 100644
index fe272758..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const properties_1 = require("./properties");
-const def = {
- keyword: "optionalProperties",
- schemaType: "object",
- error: properties_1.error,
- code(cxt) {
- if (cxt.parentSchema.properties)
- return;
- (0, properties_1.validateProperties)(cxt);
- },
-};
-exports.default = def;
-//# sourceMappingURL=optionalProperties.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map
deleted file mode 100644
index 21e5f0d4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"optionalProperties.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/optionalProperties.ts"],"names":[],"mappings":";;AAEA,6CAAsD;AAEtD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,oBAAoB;IAC7B,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAL,kBAAK;IACL,IAAI,CAAC,GAAe;QAClB,IAAI,GAAG,CAAC,YAAY,CAAC,UAAU;YAAE,OAAM;QACvC,IAAA,+BAAkB,EAAC,GAAG,CAAC,CAAA;IACzB,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts
deleted file mode 100644
index a1a2219f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition, SchemaObject } from "../../types";
-import type { KeywordCxt } from "../../compile/validate";
-import { _JTDTypeError } from "./error";
-declare enum PropError {
- Additional = "additional",
- Missing = "missing"
-}
-declare type PropKeyword = "properties" | "optionalProperties";
-declare type PropSchema = {
- [P in string]?: SchemaObject;
-};
-export declare type JTDPropertiesError = _JTDTypeError<PropKeyword, "object", PropSchema> | ErrorObject<PropKeyword, {
- error: PropError.Additional;
- additionalProperty: string;
-}, PropSchema> | ErrorObject<PropKeyword, {
- error: PropError.Missing;
- missingProperty: string;
-}, PropSchema>;
-export declare const error: KeywordErrorDefinition;
-declare const def: CodeKeywordDefinition;
-export declare function validateProperties(cxt: KeywordCxt): void;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.js
deleted file mode 100644
index eccb066e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.js
+++ /dev/null
@@ -1,146 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.validateProperties = exports.error = void 0;
-const code_1 = require("../code");
-const util_1 = require("../../compile/util");
-const codegen_1 = require("../../compile/codegen");
-const metadata_1 = require("./metadata");
-const nullable_1 = require("./nullable");
-const error_1 = require("./error");
-var PropError;
-(function (PropError) {
- PropError["Additional"] = "additional";
- PropError["Missing"] = "missing";
-})(PropError || (PropError = {}));
-exports.error = {
- message: (cxt) => {
- const { params } = cxt;
- return params.propError
- ? params.propError === PropError.Additional
- ? "must NOT have additional properties"
- : `must have property '${params.missingProperty}'`
- : (0, error_1.typeErrorMessage)(cxt, "object");
- },
- params: (cxt) => {
- const { params } = cxt;
- return params.propError
- ? params.propError === PropError.Additional
- ? (0, codegen_1._) `{error: ${params.propError}, additionalProperty: ${params.additionalProperty}}`
- : (0, codegen_1._) `{error: ${params.propError}, missingProperty: ${params.missingProperty}}`
- : (0, error_1.typeErrorParams)(cxt, "object");
- },
-};
-const def = {
- keyword: "properties",
- schemaType: "object",
- error: exports.error,
- code: validateProperties,
-};
-// const error: KeywordErrorDefinition = {
-// message: "should NOT have additional properties",
-// params: ({params}) => _`{additionalProperty: ${params.additionalProperty}}`,
-// }
-function validateProperties(cxt) {
- (0, metadata_1.checkMetadata)(cxt);
- const { gen, data, parentSchema, it } = cxt;
- const { additionalProperties, nullable } = parentSchema;
- if (it.jtdDiscriminator && nullable)
- throw new Error("JTD: nullable inside discriminator mapping");
- if (commonProperties()) {
- throw new Error("JTD: properties and optionalProperties have common members");
- }
- const [allProps, properties] = schemaProperties("properties");
- const [allOptProps, optProperties] = schemaProperties("optionalProperties");
- if (properties.length === 0 && optProperties.length === 0 && additionalProperties) {
- return;
- }
- const [valid, cond] = it.jtdDiscriminator === undefined
- ? (0, nullable_1.checkNullableObject)(cxt, data)
- : [gen.let("valid", false), true];
- gen.if(cond, () => gen.assign(valid, true).block(() => {
- validateProps(properties, "properties", true);
- validateProps(optProperties, "optionalProperties");
- if (!additionalProperties)
- validateAdditional();
- }));
- cxt.pass(valid);
- function commonProperties() {
- const props = parentSchema.properties;
- const optProps = parentSchema.optionalProperties;
- if (!(props && optProps))
- return false;
- for (const p in props) {
- if (Object.prototype.hasOwnProperty.call(optProps, p))
- return true;
- }
- return false;
- }
- function schemaProperties(keyword) {
- const schema = parentSchema[keyword];
- const allPs = schema ? (0, code_1.allSchemaProperties)(schema) : [];
- if (it.jtdDiscriminator && allPs.some((p) => p === it.jtdDiscriminator)) {
- throw new Error(`JTD: discriminator tag used in ${keyword}`);
- }
- const ps = allPs.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));
- return [allPs, ps];
- }
- function validateProps(props, keyword, required) {
- const _valid = gen.var("valid");
- for (const prop of props) {
- gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties), () => applyPropertySchema(prop, keyword, _valid), () => missingProperty(prop));
- cxt.ok(_valid);
- }
- function missingProperty(prop) {
- if (required) {
- gen.assign(_valid, false);
- cxt.error(false, { propError: PropError.Missing, missingProperty: prop }, { schemaPath: prop });
- }
- else {
- gen.assign(_valid, true);
- }
- }
- }
- function applyPropertySchema(prop, keyword, _valid) {
- cxt.subschema({
- keyword,
- schemaProp: prop,
- dataProp: prop,
- }, _valid);
- }
- function validateAdditional() {
- gen.forIn("key", data, (key) => {
- const _allProps = it.jtdDiscriminator === undefined ? allProps : [it.jtdDiscriminator].concat(allProps);
- const addProp = isAdditional(key, _allProps, "properties");
- const addOptProp = isAdditional(key, allOptProps, "optionalProperties");
- const extra = addProp === true ? addOptProp : addOptProp === true ? addProp : (0, codegen_1.and)(addProp, addOptProp);
- gen.if(extra, () => {
- if (it.opts.removeAdditional) {
- gen.code((0, codegen_1._) `delete ${data}[${key}]`);
- }
- else {
- cxt.error(false, { propError: PropError.Additional, additionalProperty: key }, { instancePath: key, parentSchema: true });
- if (!it.opts.allErrors)
- gen.break();
- }
- });
- });
- }
- function isAdditional(key, props, keyword) {
- let additional;
- if (props.length > 8) {
- // TODO maybe an option instead of hard-coded 8?
- const propsSchema = (0, util_1.schemaRefOrVal)(it, parentSchema[keyword], keyword);
- additional = (0, codegen_1.not)((0, code_1.isOwnProperty)(gen, propsSchema, key));
- }
- else if (props.length) {
- additional = (0, codegen_1.and)(...props.map((p) => (0, codegen_1._) `${key} !== ${p}`));
- }
- else {
- additional = true;
- }
- return additional;
- }
-}
-exports.validateProperties = validateProperties;
-exports.default = def;
-//# sourceMappingURL=properties.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.js.map
deleted file mode 100644
index 8a28a9e6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/properties.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/properties.ts"],"names":[],"mappings":";;;AAOA,kCAA0E;AAC1E,6CAAoE;AACpE,mDAA6D;AAC7D,yCAAwC;AACxC,yCAA8C;AAC9C,mCAAwE;AAExE,IAAK,SAGJ;AAHD,WAAK,SAAS;IACZ,sCAAyB,CAAA;IACzB,gCAAmB,CAAA;AACrB,CAAC,EAHI,SAAS,KAAT,SAAS,QAGb;AAWY,QAAA,KAAK,GAA2B;IAC3C,OAAO,EAAE,CAAC,GA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AAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts
deleted file mode 100644
index ccdf84c0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import type { CodeKeywordDefinition, AnySchemaObject } from "../../types";
-declare const def: CodeKeywordDefinition;
-export declare function hasRef(schema: AnySchemaObject): boolean;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.js
deleted file mode 100644
index 3cfda2ef..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.js
+++ /dev/null
@@ -1,66 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.hasRef = void 0;
-const compile_1 = require("../../compile");
-const codegen_1 = require("../../compile/codegen");
-const ref_error_1 = require("../../compile/ref_error");
-const names_1 = require("../../compile/names");
-const ref_1 = require("../core/ref");
-const metadata_1 = require("./metadata");
-const def = {
- keyword: "ref",
- schemaType: "string",
- code(cxt) {
- (0, metadata_1.checkMetadata)(cxt);
- const { gen, data, schema: ref, parentSchema, it } = cxt;
- const { schemaEnv: { root }, } = it;
- const valid = gen.name("valid");
- if (parentSchema.nullable) {
- gen.var(valid, (0, codegen_1._) `${data} === null`);
- gen.if((0, codegen_1.not)(valid), validateJtdRef);
- }
- else {
- gen.var(valid, false);
- validateJtdRef();
- }
- cxt.ok(valid);
- function validateJtdRef() {
- var _a;
- const refSchema = (_a = root.schema.definitions) === null || _a === void 0 ? void 0 : _a[ref];
- if (!refSchema)
- throw new ref_error_1.default("", ref, `No definition ${ref}`);
- if (hasRef(refSchema) || !it.opts.inlineRefs)
- callValidate(refSchema);
- else
- inlineRefSchema(refSchema);
- }
- function callValidate(schema) {
- const sch = compile_1.compileSchema.call(it.self, new compile_1.SchemaEnv({ schema, root, schemaPath: `/definitions/${ref}` }));
- const v = (0, ref_1.getValidate)(cxt, sch);
- const errsCount = gen.const("_errs", names_1.default.errors);
- (0, ref_1.callRef)(cxt, v, sch, sch.$async);
- gen.assign(valid, (0, codegen_1._) `${errsCount} === ${names_1.default.errors}`);
- }
- function inlineRefSchema(schema) {
- const schName = gen.scopeValue("schema", it.opts.code.source === true ? { ref: schema, code: (0, codegen_1.stringify)(schema) } : { ref: schema });
- cxt.subschema({
- schema,
- dataTypes: [],
- schemaPath: codegen_1.nil,
- topSchemaRef: schName,
- errSchemaPath: `/definitions/${ref}`,
- }, valid);
- }
- },
-};
-function hasRef(schema) {
- for (const key in schema) {
- let sch;
- if (key === "ref" || (typeof (sch = schema[key]) == "object" && hasRef(sch)))
- return true;
- }
- return false;
-}
-exports.hasRef = hasRef;
-exports.default = def;
-//# sourceMappingURL=ref.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.js.map
deleted file mode 100644
index 857ca194..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/ref.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ref.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/ref.ts"],"names":[],"mappings":";;;AAEA,2CAAsD;AACtD,mDAA4D;AAC5D,uDAAqD;AACrD,+CAAmC;AACnC,qCAAgD;AAChD,yCAAwC;AAExC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,QAAQ;IACpB,IAAI,CAAC,GAAe;QAClB,IAAA,wBAAa,EAAC,GAAG,CAAC,CAAA;QAClB,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,Y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ppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.d.ts
deleted file mode 100644
index 321f9aad..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-import { _JTDTypeError } from "./error";
-export declare type JTDTypeError = _JTDTypeError<"type", JTDType, JTDType>;
-export declare type IntType = "int8" | "uint8" | "int16" | "uint16" | "int32" | "uint32";
-export declare const intRange: {
- [T in IntType]: [number, number, number];
-};
-export declare type JTDType = "boolean" | "string" | "timestamp" | "float32" | "float64" | IntType;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.js
deleted file mode 100644
index 17a0b510..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.js
+++ /dev/null
@@ -1,69 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.intRange = void 0;
-const codegen_1 = require("../../compile/codegen");
-const timestamp_1 = require("../../runtime/timestamp");
-const util_1 = require("../../compile/util");
-const metadata_1 = require("./metadata");
-const error_1 = require("./error");
-exports.intRange = {
- int8: [-128, 127, 3],
- uint8: [0, 255, 3],
- int16: [-32768, 32767, 5],
- uint16: [0, 65535, 5],
- int32: [-2147483648, 2147483647, 10],
- uint32: [0, 4294967295, 10],
-};
-const error = {
- message: (cxt) => (0, error_1.typeErrorMessage)(cxt, cxt.schema),
- params: (cxt) => (0, error_1.typeErrorParams)(cxt, cxt.schema),
-};
-function timestampCode(cxt) {
- const { gen, data, it } = cxt;
- const { timestamp, allowDate } = it.opts;
- if (timestamp === "date")
- return (0, codegen_1._) `${data} instanceof Date `;
- const vts = (0, util_1.useFunc)(gen, timestamp_1.default);
- const allowDateArg = allowDate ? (0, codegen_1._) `, true` : codegen_1.nil;
- const validString = (0, codegen_1._) `typeof ${data} == "string" && ${vts}(${data}${allowDateArg})`;
- return timestamp === "string" ? validString : (0, codegen_1.or)((0, codegen_1._) `${data} instanceof Date`, validString);
-}
-const def = {
- keyword: "type",
- schemaType: "string",
- error,
- code(cxt) {
- (0, metadata_1.checkMetadata)(cxt);
- const { data, schema, parentSchema, it } = cxt;
- let cond;
- switch (schema) {
- case "boolean":
- case "string":
- cond = (0, codegen_1._) `typeof ${data} == ${schema}`;
- break;
- case "timestamp": {
- cond = timestampCode(cxt);
- break;
- }
- case "float32":
- case "float64":
- cond = (0, codegen_1._) `typeof ${data} == "number"`;
- break;
- default: {
- const sch = schema;
- cond = (0, codegen_1._) `typeof ${data} == "number" && isFinite(${data}) && !(${data} % 1)`;
- if (!it.opts.int32range && (sch === "int32" || sch === "uint32")) {
- if (sch === "uint32")
- cond = (0, codegen_1._) `${cond} && ${data} >= 0`;
- }
- else {
- const [min, max] = exports.intRange[sch];
- cond = (0, codegen_1._) `${cond} && ${data} >= ${min} && ${data} <= ${max}`;
- }
- }
- }
- cxt.pass(parentSchema.nullable ? (0, codegen_1.or)((0, codegen_1._) `${data} === null`, cond) : cond);
- },
-};
-exports.default = def;
-//# sourceMappingURL=type.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.js.map
deleted file mode 100644
index 9d339390..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/type.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/type.ts"],"names":[],"mappings":";;;AAEA,mDAAsD;AACtD,uDAAoD;AACpD,6CAA0C;AAC1C,yCAAwC;AACxC,mCAAwE;AAM3D,QAAA,QAAQ,GAA+C;IAClE,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,CA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,OAAO,GAAG,EAAE,CAAA;iBAC5D;aACF;SACF;QACD,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAA,YAAE,EAAC,IAAA,WAAC,EAAA,GAAG,IAAI,WAAW,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IACxE,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.js
deleted file mode 100644
index 01a94399..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const code_1 = require("../code");
-const def = {
- keyword: "union",
- schemaType: "array",
- trackErrors: true,
- code: code_1.validateUnion,
- error: { message: "must match a schema in union" },
-};
-exports.default = def;
-//# sourceMappingURL=union.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.js.map
deleted file mode 100644
index 4d6eb411..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/union.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"union.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/union.ts"],"names":[],"mappings":";;AACA,kCAAqC;AAErC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,IAAI;IACjB,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE,EAAC,OAAO,EAAE,8BAA8B,EAAC;CACjD,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.d.ts
deleted file mode 100644
index 1ff367df..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { CodeKeywordDefinition, SchemaObject } from "../../types";
-import { _JTDTypeError } from "./error";
-export declare type JTDValuesError = _JTDTypeError<"values", "object", SchemaObject>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.js
deleted file mode 100644
index e464c0be..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.js
+++ /dev/null
@@ -1,48 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const util_1 = require("../../compile/util");
-const codegen_1 = require("../../compile/codegen");
-const metadata_1 = require("./metadata");
-const nullable_1 = require("./nullable");
-const error_1 = require("./error");
-const def = {
- keyword: "values",
- schemaType: "object",
- error: (0, error_1.typeError)("object"),
- code(cxt) {
- (0, metadata_1.checkMetadata)(cxt);
- const { gen, data, schema, it } = cxt;
- if ((0, util_1.alwaysValidSchema)(it, schema))
- return;
- const [valid, cond] = (0, nullable_1.checkNullableObject)(cxt, data);
- gen.if(cond);
- gen.assign(valid, validateMap());
- gen.elseIf((0, codegen_1.not)(valid));
- cxt.error();
- gen.endIf();
- cxt.ok(valid);
- function validateMap() {
- const _valid = gen.name("valid");
- if (it.allErrors) {
- const validMap = gen.let("valid", true);
- validateValues(() => gen.assign(validMap, false));
- return validMap;
- }
- gen.var(_valid, true);
- validateValues(() => gen.break());
- return _valid;
- function validateValues(notValid) {
- gen.forIn("key", data, (key) => {
- cxt.subschema({
- keyword: "values",
- dataProp: key,
- dataPropType: util_1.Type.Str,
- }, _valid);
- gen.if((0, codegen_1.not)(_valid), notValid);
- });
- }
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=values.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.js.map
deleted file mode 100644
index 8905b41c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/jtd/values.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"values.js","sourceRoot":"","sources":["../../../lib/vocabularies/jtd/values.ts"],"names":[],"mappings":";;AAEA,6CAA0D;AAC1D,mDAA+C;AAC/C,yCAAwC;AACxC,yCAA8C;AAC9C,mCAAgD;AAIhD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,QAAQ;IACjB,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAA,iBAAS,EAAC,QAAQ,CAAC;IAC1B,IAAI,CAAC,GAAe;QAClB,IAAA,wBAAa,EAAC,GAAG,CAAC,CAAA;QAClB,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACnC,IAAI,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC;YAAE,OAAM;QACzC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,IAAA,8BAAmB,EAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QACpD,GAAG,CAAC,EAAE,CAAC,IAAI,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front/node_modules/ajv/dist/vocabularies/metadata.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.d.ts
deleted file mode 100644
index df9cc07c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { Vocabulary } from "../types";
-export declare const metadataVocabulary: Vocabulary;
-export declare const contentVocabulary: Vocabulary;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.js
deleted file mode 100644
index f07bf28b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.js
+++ /dev/null
@@ -1,18 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.contentVocabulary = exports.metadataVocabulary = void 0;
-exports.metadataVocabulary = [
- "title",
- "description",
- "default",
- "deprecated",
- "readOnly",
- "writeOnly",
- "examples",
-];
-exports.contentVocabulary = [
- "contentMediaType",
- "contentEncoding",
- "contentSchema",
-];
-//# sourceMappingURL=metadata.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.js.map
deleted file mode 100644
index 0d61f083..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/metadata.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../lib/vocabularies/metadata.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAe;IAC5C,OAAO;IACP,aAAa;IACb,SAAS;IACT,YAAY;IACZ,UAAU;IACV,WAAW;IACX,UAAU;CACX,CAAA;AAEY,QAAA,iBAAiB,GAAe;IAC3C,kBAAkB;IAClB,iBAAiB;IACjB,eAAe;CAChB,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.d.ts
deleted file mode 100644
index 7fd5c644..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { Vocabulary } from "../types";
-declare const next: Vocabulary;
-export default next;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.js
deleted file mode 100644
index c861b324..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.js
+++ /dev/null
@@ -1,8 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const dependentRequired_1 = require("./validation/dependentRequired");
-const dependentSchemas_1 = require("./applicator/dependentSchemas");
-const limitContains_1 = require("./validation/limitContains");
-const next = [dependentRequired_1.default, dependentSchemas_1.default, limitContains_1.default];
-exports.default = next;
-//# sourceMappingURL=next.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.js.map
deleted file mode 100644
index 474a6d4e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/next.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"next.js","sourceRoot":"","sources":["../../lib/vocabularies/next.ts"],"names":[],"mappings":";;AACA,sEAA8D;AAC9D,oEAA4D;AAC5D,8DAAsD;AAEtD,MAAM,IAAI,GAAe,CAAC,2BAAiB,EAAE,0BAAgB,EAAE,uBAAa,CAAC,CAAA;AAE7E,kBAAe,IAAI,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts
deleted file mode 100644
index ec67e63e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { Vocabulary } from "../../types";
-declare const unevaluated: Vocabulary;
-export default unevaluated;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.js
deleted file mode 100644
index 30e31674..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.js
+++ /dev/null
@@ -1,7 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const unevaluatedProperties_1 = require("./unevaluatedProperties");
-const unevaluatedItems_1 = require("./unevaluatedItems");
-const unevaluated = [unevaluatedProperties_1.default, unevaluatedItems_1.default];
-exports.default = unevaluated;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map
deleted file mode 100644
index a4872ea4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/unevaluated/index.ts"],"names":[],"mappings":";;AACA,mEAA2D;AAC3D,yDAAiD;AAEjD,MAAM,WAAW,GAAe,CAAC,+BAAqB,EAAE,0BAAgB,CAAC,CAAA;AAEzE,kBAAe,WAAW,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts
deleted file mode 100644
index f108b6e4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
-export declare type UnevaluatedItemsError = ErrorObject<"unevaluatedItems", {
- limit: number;
-}, AnySchema>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
deleted file mode 100644
index 0a0cd3aa..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
+++ /dev/null
@@ -1,40 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const error = {
- message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`,
- params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`,
-};
-const def = {
- keyword: "unevaluatedItems",
- type: "array",
- schemaType: ["boolean", "object"],
- error,
- code(cxt) {
- const { gen, schema, data, it } = cxt;
- const items = it.items || 0;
- if (items === true)
- return;
- const len = gen.const("len", (0, codegen_1._) `${data}.length`);
- if (schema === false) {
- cxt.setParams({ len: items });
- cxt.fail((0, codegen_1._) `${len} > ${items}`);
- }
- else if (typeof schema == "object" && !(0, util_1.alwaysValidSchema)(it, schema)) {
- const valid = gen.var("valid", (0, codegen_1._) `${len} <= ${items}`);
- gen.if((0, codegen_1.not)(valid), () => validateItems(valid, items));
- cxt.ok(valid);
- }
- it.items = true;
- function validateItems(valid, from) {
- gen.forRange("i", from, len, (i) => {
- cxt.subschema({ keyword: "unevaluatedItems", dataProp: i, dataPropType: util_1.Type.Num }, valid);
- if (!it.allErrors)
- gen.if((0, codegen_1.not)(valid), () => gen.break());
- });
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=unevaluatedItems.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map
deleted file mode 100644
index a8268f03..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"unevaluatedItems.js","sourceRoot":"","sources":["../../../lib/vocabularies/unevaluated/unevaluatedItems.ts"],"names":[],"mappings":";;AAOA,mDAAuD;AACvD,6CAA0D;AAI1D,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,GAAG,EAAC,EAAC,EAAE,EAAE,CAAC,IAAA,aAAG,EAAA,2BAA2B,GAAG,QAAQ;IACvE,MAAM,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,GAAG,EAAC,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,WAAW,GAAG,GAAG;CAChD,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,kBAAkB;IAC3B,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACjC,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACnC,MAAM,KAAK,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC,CAAA;QAC3B,IAAI,KAAK,KAAK,IAAI;YAAE,OAAM;QAC1B,MAAM,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,IAAA,WAAC,EAAA,GAAG,IAAI,SAAS,CAAC,CAAA;QAC/C,IAAI,MAAM,KAAK,KAAK,EAAE;YACpB,GAAG,CAAC,SAAS,CAAC,EAAC,GAAG,EAAE,KAAK,EAAC,CAAC,CAAA;YAC3B,GAAG,CAAC,IAAI,CAAC,IAAA,WAAC,EAAA,GAAG,GAAG,MAAM,KAAK,EAAE,CAAC,CAAA;SAC/B;aAAM,IAAI,OAAO,MAAM,IAAI,QAAQ,IAAI,CAAC,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC,EAAE;YACtE,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,IAAA,WAAC,EAAA,GAAG,GAAG,OAAO,KAAK,EAAE,CAAC,CAAA;YACrD,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAA;YACrD,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;SACd;QACD,EAAE,CAAC,KAAK,GAAG,IAAI,CAAA;QAEf,SAAS,aAAa,CAAC,KAAW,EAAE,IAAmB;YACrD,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE;gBACjC,GAAG,CAAC,SAAS,CAAC,EAAC,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,CAAC,EAAE,YAAY,EAAE,WAAI,CAAC,GAAG,EAAC,EAAE,KAAK,CAAC,CAAA;gBACxF,IAAI,CAAC,EAAE,CAAC,SAAS;oBAAE,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAA;YAC1D,CAAC,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts
deleted file mode 100644
index 0a041ff7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
-export declare type UnevaluatedPropertiesError = ErrorObject<"unevaluatedProperties", {
- unevaluatedProperty: string;
-}, AnySchema>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
deleted file mode 100644
index ad298499..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
+++ /dev/null
@@ -1,65 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const names_1 = require("../../compile/names");
-const error = {
- message: "must NOT have unevaluated properties",
- params: ({ params }) => (0, codegen_1._) `{unevaluatedProperty: ${params.unevaluatedProperty}}`,
-};
-const def = {
- keyword: "unevaluatedProperties",
- type: "object",
- schemaType: ["boolean", "object"],
- trackErrors: true,
- error,
- code(cxt) {
- const { gen, schema, data, errsCount, it } = cxt;
- /* istanbul ignore if */
- if (!errsCount)
- throw new Error("ajv implementation error");
- const { allErrors, props } = it;
- if (props instanceof codegen_1.Name) {
- gen.if((0, codegen_1._) `${props} !== true`, () => gen.forIn("key", data, (key) => gen.if(unevaluatedDynamic(props, key), () => unevaluatedPropCode(key))));
- }
- else if (props !== true) {
- gen.forIn("key", data, (key) => props === undefined
- ? unevaluatedPropCode(key)
- : gen.if(unevaluatedStatic(props, key), () => unevaluatedPropCode(key)));
- }
- it.props = true;
- cxt.ok((0, codegen_1._) `${errsCount} === ${names_1.default.errors}`);
- function unevaluatedPropCode(key) {
- if (schema === false) {
- cxt.setParams({ unevaluatedProperty: key });
- cxt.error();
- if (!allErrors)
- gen.break();
- return;
- }
- if (!(0, util_1.alwaysValidSchema)(it, schema)) {
- const valid = gen.name("valid");
- cxt.subschema({
- keyword: "unevaluatedProperties",
- dataProp: key,
- dataPropType: util_1.Type.Str,
- }, valid);
- if (!allErrors)
- gen.if((0, codegen_1.not)(valid), () => gen.break());
- }
- }
- function unevaluatedDynamic(evaluatedProps, key) {
- return (0, codegen_1._) `!${evaluatedProps} || !${evaluatedProps}[${key}]`;
- }
- function unevaluatedStatic(evaluatedProps, key) {
- const ps = [];
- for (const p in evaluatedProps) {
- if (evaluatedProps[p] === true)
- ps.push((0, codegen_1._) `${key} !== ${p}`);
- }
- return (0, codegen_1.and)(...ps);
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=unevaluatedProperties.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map
deleted file mode 100644
index f415251e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"unevaluatedProperties.js","sourceRoot":"","sources":["../../../lib/vocabularies/unevaluated/unevaluatedProperties.ts"],"names":[],"mappings":";;AAMA,mDAA6D;AAC7D,6CAA0D;AAC1D,+CAAmC;AAQnC,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,sCAAsC;IAC/C,MAAM,EAAE,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,yBAAyB,MAAM,CAAC,mBAAmB,GAAG;CAC9E,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,uBAAuB;IAChC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACjC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,EAAC,mBAAmB,EAAE,GAAG,EAAC,CAAC,CAAA;gBACzC,GAAG,CAAC,KAAK,EAAE,CAAA;gBACX,IAAI,CAAC,SAAS;oBAAE,GAAG,CAAC,KAAK,EAAE,CAAA;gBAC3B,OAAM;aACP;YAED,IAAI,CAAC,IAAA,wBAAiB,EAAC,EAAE,EAAE,MAAM,CAAC,EAAE;gBAClC,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;gBAC/B,GAAG,CAAC,SAAS,CACX;oBACE,OAAO,EAAE,uBAAuB;oBAChC,QAAQ,EAAE,GAAG;oBACb,YAAY,EAAE,WAAI,CAAC,GAAG;iBACvB,EACD,KAAK,CACN,CAAA;gBACD,IAAI,CAAC,SAAS;oBAAE,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAA;aACtD;QACH,CAAC;QAED,SAAS,kBAAkB,CAAC,cAAoB,EAAE,GAAS;YACzD,OAAO,IAAA,WAAC,EAAA,IAAI,cAAc,QAAQ,cAAc,IAAI,GAAG,GAAG,CAAA;QAC5D,CAAC;QAED,SAAS,iBAAiB,CAAC,cAAsC,EAAE,GAAS;YAC1E,MAAM,EAAE,GAAW,EAAE,CAAA;YACrB,KAAK,MAAM,CAAC,IAAI,cAAc,EAAE;gBAC9B,IAAI,cAAc,CAAC,CAAC,CAAC,KAAK,IAAI;oBAAE,EAAE,CAAC,IAAI,CAAC,IAAA,WAAC,EAAA,GAAG,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAA;aAC5D;YACD,OAAO,IAAA,aAAG,EAAC,GAAG,EAAE,CAAC,CAAA;QACnB,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.d.ts
deleted file mode 100644
index 85e11ce5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-export declare type ConstError = ErrorObject<"const", {
- allowedValue: any;
-}>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.js
deleted file mode 100644
index 9564496a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.js
+++ /dev/null
@@ -1,25 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const equal_1 = require("../../runtime/equal");
-const error = {
- message: "must be equal to constant",
- params: ({ schemaCode }) => (0, codegen_1._) `{allowedValue: ${schemaCode}}`,
-};
-const def = {
- keyword: "const",
- $data: true,
- error,
- code(cxt) {
- const { gen, data, $data, schemaCode, schema } = cxt;
- if ($data || (schema && typeof schema == "object")) {
- cxt.fail$data((0, codegen_1._) `!${(0, util_1.useFunc)(gen, equal_1.default)}(${data}, ${schemaCode})`);
- }
- else {
- cxt.fail((0, codegen_1._) `${schema} !== ${data}`);
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=const.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.js.map
deleted file mode 100644
index 0cf6cd14..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/const.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"const.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/const.ts"],"names":[],"mappings":";;AAEA,mDAAuC;AACvC,6CAA0C;AAC1C,+CAAuC;AAIvC,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,2BAA2B;IACpC,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,kBAAkB,UAAU,GAAG;CAC3D,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAC,GAAG,GAAG,CAAA;QAClD,IAAI,KAAK,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,IAAI,QAAQ,CAAC,EAAE;YAClD,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,IAAI,IAAA,cAAO,EAAC,GAAG,EAAE,eAAK,CAAC,IAAI,IAAI,KAAK,UAAU,GAAG,CAAC,CAAA;SAClE;aAAM;YACL,GAAG,CAAC,IAAI,CAAC,IAAA,WAAC,EAAA,GAAG,MAAM,QAAQ,IAAI,EAAE,CAAC,CAAA;SACnC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts
deleted file mode 100644
index 2e25408e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-import { DependenciesErrorParams, PropertyDependencies } from "../applicator/dependencies";
-export declare type DependentRequiredError = ErrorObject<"dependentRequired", DependenciesErrorParams, PropertyDependencies>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
deleted file mode 100644
index 09e59639..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const dependencies_1 = require("../applicator/dependencies");
-const def = {
- keyword: "dependentRequired",
- type: "object",
- schemaType: "object",
- error: dependencies_1.error,
- code: (cxt) => (0, dependencies_1.validatePropertyDeps)(cxt),
-};
-exports.default = def;
-//# sourceMappingURL=dependentRequired.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map
deleted file mode 100644
index c7e88f88..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"dependentRequired.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/dependentRequired.ts"],"names":[],"mappings":";;AACA,6DAKmC;AAQnC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAL,oBAAK;IACL,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,mCAAoB,EAAC,GAAG,CAAC;CACzC,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.d.ts
deleted file mode 100644
index dce653b5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-export declare type EnumError = ErrorObject<"enum", {
- allowedValues: any[];
-}, any[] | {
- $data: string;
-}>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.js
deleted file mode 100644
index 325c8c18..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.js
+++ /dev/null
@@ -1,47 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const equal_1 = require("../../runtime/equal");
-const error = {
- message: "must be equal to one of the allowed values",
- params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`,
-};
-const def = {
- keyword: "enum",
- schemaType: "array",
- $data: true,
- error,
- code(cxt) {
- const { gen, data, $data, schema, schemaCode, it } = cxt;
- if (!$data && schema.length === 0)
- throw new Error("enum must have non-empty array");
- const useLoop = schema.length >= it.opts.loopEnum;
- const eql = (0, util_1.useFunc)(gen, equal_1.default);
- let valid;
- if (useLoop || $data) {
- valid = gen.let("valid");
- cxt.block$data(valid, loopEnum);
- }
- else {
- /* istanbul ignore if */
- if (!Array.isArray(schema))
- throw new Error("ajv implementation error");
- const vSchema = gen.const("vSchema", schemaCode);
- valid = (0, codegen_1.or)(...schema.map((_x, i) => equalCode(vSchema, i)));
- }
- cxt.pass(valid);
- function loopEnum() {
- gen.assign(valid, false);
- gen.forOf("v", schemaCode, (v) => gen.if((0, codegen_1._) `${eql}(${data}, ${v})`, () => gen.assign(valid, true).break()));
- }
- function equalCode(vSchema, i) {
- const sch = schema[i];
- return typeof sch === "object" && sch !== null
- ? (0, codegen_1._) `${eql}(${data}, ${vSchema}[${i}])`
- : (0, codegen_1._) `${data} === ${sch}`;
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=enum.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.js.map
deleted file mode 100644
index 3946c0a5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/enum.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/enum.ts"],"names":[],"mappings":";;AAEA,mDAAuD;AACvD,6CAA0C;AAC1C,+CAAuC;AAIvC,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,4CAA4C;IACrD,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,mBAAmB,UAAU,GAAG;CAC5D,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,OAAO;IACnB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACtD,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAA;QACpF,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAA;QACjD,MAAM,GAAG,GAAG,IAAA,cAAO,EAAC,GAAG,EAAE,eAAK,CAAC,CAAA;QAC/B,IAAI,KAAW,CAAA;QACf,IAAI,OAAO,IAAI,KAAK,EAAE;YACpB,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;YACxB,GAAG,CAAC,UAAU,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;SAChC;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/index.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.d.ts
deleted file mode 100644
index 08cd2239..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import type { ErrorObject, Vocabulary } from "../../types";
-import { LimitNumberError } from "./limitNumber";
-import { MultipleOfError } from "./multipleOf";
-import { PatternError } from "./pattern";
-import { RequiredError } from "./required";
-import { UniqueItemsError } from "./uniqueItems";
-import { ConstError } from "./const";
-import { EnumError } from "./enum";
-declare const validation: Vocabulary;
-export default validation;
-declare type LimitError = ErrorObject<"maxItems" | "minItems" | "minProperties" | "maxProperties" | "minLength" | "maxLength", {
- limit: number;
-}, number | {
- $data: string;
-}>;
-export declare type ValidationKeywordError = LimitError | LimitNumberError | MultipleOfError | PatternError | RequiredError | UniqueItemsError | ConstError | EnumError;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.js
deleted file mode 100644
index 7b56b4e4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.js
+++ /dev/null
@@ -1,33 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const limitNumber_1 = require("./limitNumber");
-const multipleOf_1 = require("./multipleOf");
-const limitLength_1 = require("./limitLength");
-const pattern_1 = require("./pattern");
-const limitProperties_1 = require("./limitProperties");
-const required_1 = require("./required");
-const limitItems_1 = require("./limitItems");
-const uniqueItems_1 = require("./uniqueItems");
-const const_1 = require("./const");
-const enum_1 = require("./enum");
-const validation = [
- // number
- limitNumber_1.default,
- multipleOf_1.default,
- // string
- limitLength_1.default,
- pattern_1.default,
- // object
- limitProperties_1.default,
- required_1.default,
- // array
- limitItems_1.default,
- uniqueItems_1.default,
- // any
- { keyword: "type", schemaType: ["string", "array"] },
- { keyword: "nullable", schemaType: "boolean" },
- const_1.default,
- enum_1.default,
-];
-exports.default = validation;
-//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.js.map
deleted file mode 100644
index 69436fb3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/index.ts"],"names":[],"mappings":";;AACA,+CAA2D;AAC3D,6CAAwD;AACxD,+CAAuC;AACvC,uCAA+C;AAC/C,uDAA+C;AAC/C,yCAAkD;AAClD,6CAAqC;AACrC,+CAA2D;AAC3D,mCAAgD;AAChD,iCAA6C;AAE7C,MAAM,UAAU,GAAe;IAC7B,SAAS;IACT,qBAAW;IACX,oBAAU;IACV,SAAS;IACT,qBAAW;IACX,iBAAO;IACP,SAAS;IACT,yBAAe;IACf,kBAAQ;IACR,QAAQ;IACR,oBAAU;IACV,qBAAW;IACX,MAAM;IACN,EAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,EAAC;IAClD,EAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAC;IAC5C,eAAY;IACZ,cAAW;CACZ,CAAA;AAED,kBAAe,UAAU,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.js
deleted file mode 100644
index c884dae4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const util_1 = require("../../compile/util");
-const def = {
- keyword: ["maxContains", "minContains"],
- type: "array",
- schemaType: "number",
- code({ keyword, parentSchema, it }) {
- if (parentSchema.contains === undefined) {
- (0, util_1.checkStrictMode)(it, `"${keyword}" without "contains" is ignored`);
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=limitContains.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map
deleted file mode 100644
index 788010aa..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"limitContains.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/limitContains.ts"],"names":[],"mappings":";;AAEA,6CAAkD;AAElD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC;IACvC,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,QAAQ;IACpB,IAAI,CAAC,EAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAa;QAC1C,IAAI,YAAY,CAAC,QAAQ,KAAK,SAAS,EAAE;YACvC,IAAA,sBAAe,EAAC,EAAE,EAAE,IAAI,OAAO,iCAAiC,CAAC,CAAA;SAClE;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.js
deleted file mode 100644
index e1386f88..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const error = {
- message({ keyword, schemaCode }) {
- const comp = keyword === "maxItems" ? "more" : "fewer";
- return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} items`;
- },
- params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,
-};
-const def = {
- keyword: ["maxItems", "minItems"],
- type: "array",
- schemaType: "number",
- $data: true,
- error,
- code(cxt) {
- const { keyword, data, schemaCode } = cxt;
- const op = keyword === "maxItems" ? codegen_1.operators.GT : codegen_1.operators.LT;
- cxt.fail$data((0, codegen_1._) `${data}.length ${op} ${schemaCode}`);
- },
-};
-exports.default = def;
-//# sourceMappingURL=limitItems.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map
deleted file mode 100644
index 690c7345..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"limitItems.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/limitItems.ts"],"names":[],"mappings":";;AAEA,mDAAuD;AAEvD,MAAM,KAAK,GAA2B;IACpC,OAAO,CAAC,EAAC,OAAO,EAAE,UAAU,EAAC;QAC3B,MAAM,IAAI,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;QACtD,OAAO,IAAA,aAAG,EAAA,iBAAiB,IAAI,SAAS,UAAU,QAAQ,CAAA;IAC5D,CAAC;IACD,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,WAAW,UAAU,GAAG;CACpD,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;IACjC,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAC,GAAG,GAAG,CAAA;QACvC,MAAM,EAAE,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAA;QAC/D,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,GAAG,IAAI,WAAW,EAAE,IAAI,UAAU,EAAE,CAAC,CAAA;IACtD,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.js
deleted file mode 100644
index 6ae5f92e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.js
+++ /dev/null
@@ -1,27 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const ucs2length_1 = require("../../runtime/ucs2length");
-const error = {
- message({ keyword, schemaCode }) {
- const comp = keyword === "maxLength" ? "more" : "fewer";
- return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} characters`;
- },
- params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,
-};
-const def = {
- keyword: ["maxLength", "minLength"],
- type: "string",
- schemaType: "number",
- $data: true,
- error,
- code(cxt) {
- const { keyword, data, schemaCode, it } = cxt;
- const op = keyword === "maxLength" ? codegen_1.operators.GT : codegen_1.operators.LT;
- const len = it.opts.unicode === false ? (0, codegen_1._) `${data}.length` : (0, codegen_1._) `${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;
- cxt.fail$data((0, codegen_1._) `${len} ${op} ${schemaCode}`);
- },
-};
-exports.default = def;
-//# sourceMappingURL=limitLength.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map
deleted file mode 100644
index f09c35e5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"limitLength.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/limitLength.ts"],"names":[],"mappings":";;AAEA,mDAAuD;AACvD,6CAA0C;AAC1C,yDAAiD;AAEjD,MAAM,KAAK,GAA2B;IACpC,OAAO,CAAC,EAAC,OAAO,EAAE,UAAU,EAAC;QAC3B,MAAM,IAAI,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;QACvD,OAAO,IAAA,aAAG,EAAA,iBAAiB,IAAI,SAAS,UAAU,aAAa,CAAA;IACjE,CAAC;IACD,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,WAAW,UAAU,GAAG;CACpD,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;IACnC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QAC3C,MAAM,EAAE,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAA;QAChE,MAAM,GAAG,GACP,EAAE,CAAC,IAAI,CAAC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,IAAA,WAAC,EAAA,GAAG,IAAI,SAAS,CAAC,CAAC,CAAC,IAAA,WAAC,EAAA,GAAG,IAAA,cAAO,EAAC,GAAG,CAAC,GAAG,EAAE,oBAAU,CAAC,IAAI,IAAI,GAAG,CAAA;QAC7F,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,GAAG,GAAG,IAAI,EAAE,IAAI,UAAU,EAAE,CAAC,CAAA;IAC9C,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts
deleted file mode 100644
index 2d389085..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-declare type Kwd = "maximum" | "minimum" | "exclusiveMaximum" | "exclusiveMinimum";
-declare type Comparison = "<=" | ">=" | "<" | ">";
-export declare type LimitNumberError = ErrorObject<Kwd, {
- limit: number;
- comparison: Comparison;
-}, number | {
- $data: string;
-}>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
deleted file mode 100644
index a97c0eb9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
+++ /dev/null
@@ -1,27 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const ops = codegen_1.operators;
-const KWDs = {
- maximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
- minimum: { okStr: ">=", ok: ops.GTE, fail: ops.LT },
- exclusiveMaximum: { okStr: "<", ok: ops.LT, fail: ops.GTE },
- exclusiveMinimum: { okStr: ">", ok: ops.GT, fail: ops.LTE },
-};
-const error = {
- message: ({ keyword, schemaCode }) => (0, codegen_1.str) `must be ${KWDs[keyword].okStr} ${schemaCode}`,
- params: ({ keyword, schemaCode }) => (0, codegen_1._) `{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`,
-};
-const def = {
- keyword: Object.keys(KWDs),
- type: "number",
- schemaType: "number",
- $data: true,
- error,
- code(cxt) {
- const { keyword, data, schemaCode } = cxt;
- cxt.fail$data((0, codegen_1._) `${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);
- },
-};
-exports.default = def;
-//# sourceMappingURL=limitNumber.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map
deleted file mode 100644
index 18a36533..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"limitNumber.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/limitNumber.ts"],"names":[],"mappings":";;AAEA,mDAA6D;AAE7D,MAAM,GAAG,GAAG,mBAAS,CAAA;AAMrB,MAAM,IAAI,GAA4D;IACpE,OAAO,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,EAAC;IACjD,OAAO,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,EAAC;IACjD,gBAAgB,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,GAAG,EAAC;IACzD,gBAAgB,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,GAAG,EAAC;CAC1D,CAAA;AAQD,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,OAAO,EAAE,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,aAAG,EAAA,WAAW,IAAI,CAAC,OAAc,CAAC,CAAC,KAAK,IAAI,UAAU,EAAE;IAC5F,MAAM,EAAE,CAAC,EAAC,OAAO,EAAE,UAAU,EAAC,EAAE,EAAE,CAChC,IAAA,WAAC,EAAA,gBAAgB,IAAI,CAAC,OAAc,CAAC,CAAC,KAAK,YAAY,UAAU,GAAG;CACvE,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;IAC1B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAC,GAAG,GAAG,CAAA;QACvC,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,GAAG,IAAI,IAAI,IAAI,CAAC,OAAc,CAAC,CAAC,IAAI,IAAI,UAAU,aAAa,IAAI,GAAG,CAAC,CAAA;IACxF,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts
deleted file mode 100644
index cde2aa27..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { CodeKeywordDefinition } from "../../types";
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
deleted file mode 100644
index b4c0ecd7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const error = {
- message({ keyword, schemaCode }) {
- const comp = keyword === "maxProperties" ? "more" : "fewer";
- return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} items`;
- },
- params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,
-};
-const def = {
- keyword: ["maxProperties", "minProperties"],
- type: "object",
- schemaType: "number",
- $data: true,
- error,
- code(cxt) {
- const { keyword, data, schemaCode } = cxt;
- const op = keyword === "maxProperties" ? codegen_1.operators.GT : codegen_1.operators.LT;
- cxt.fail$data((0, codegen_1._) `Object.keys(${data}).length ${op} ${schemaCode}`);
- },
-};
-exports.default = def;
-//# sourceMappingURL=limitProperties.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map
deleted file mode 100644
index bbbf2cd0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"limitProperties.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/limitProperties.ts"],"names":[],"mappings":";;AAEA,mDAAuD;AAEvD,MAAM,KAAK,GAA2B;IACpC,OAAO,CAAC,EAAC,OAAO,EAAE,UAAU,EAAC;QAC3B,MAAM,IAAI,GAAG,OAAO,KAAK,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;QAC3D,OAAO,IAAA,aAAG,EAAA,iBAAiB,IAAI,SAAS,UAAU,QAAQ,CAAA;IAC5D,CAAC;IACD,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,WAAW,UAAU,GAAG;CACpD,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;IAC3C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAC,GAAG,GAAG,CAAA;QACvC,MAAM,EAAE,GAAG,OAAO,KAAK,eAAe,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAS,CAAC,EAAE,CAAA;QACpE,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,eAAe,IAAI,YAAY,EAAE,IAAI,UAAU,EAAE,CAAC,CAAA;IACnE,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts
deleted file mode 100644
index afa29d35..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-export declare type MultipleOfError = ErrorObject<"multipleOf", {
- multipleOf: number;
-}, number | {
- $data: string;
-}>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
deleted file mode 100644
index 43cf67b7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const codegen_1 = require("../../compile/codegen");
-const error = {
- message: ({ schemaCode }) => (0, codegen_1.str) `must be multiple of ${schemaCode}`,
- params: ({ schemaCode }) => (0, codegen_1._) `{multipleOf: ${schemaCode}}`,
-};
-const def = {
- keyword: "multipleOf",
- type: "number",
- schemaType: "number",
- $data: true,
- error,
- code(cxt) {
- const { gen, data, schemaCode, it } = cxt;
- // const bdt = bad$DataType(schemaCode, <string>def.schemaType, $data)
- const prec = it.opts.multipleOfPrecision;
- const res = gen.let("res");
- const invalid = prec
- ? (0, codegen_1._) `Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}`
- : (0, codegen_1._) `${res} !== parseInt(${res})`;
- cxt.fail$data((0, codegen_1._) `(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);
- },
-};
-exports.default = def;
-//# sourceMappingURL=multipleOf.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map
deleted file mode 100644
index 9ef825b7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"multipleOf.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/multipleOf.ts"],"names":[],"mappings":";;AAEA,mDAA4C;AAQ5C,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,aAAG,EAAA,uBAAuB,UAAU,EAAE;IACjE,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,gBAAgB,UAAU,GAAG;CACzD,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,YAAY;IACrB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACvC,sEAAsE;QACtE,MAAM,IAAI,GAAG,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAA;QACxC,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAC1B,MAAM,OAAO,GAAG,IAAI;YAClB,CAAC,CAAC,IAAA,WAAC,EAAA,uBAAuB,GAAG,OAAO,GAAG,UAAU,IAAI,EAAE;YACvD,CAAC,CAAC,IAAA,WAAC,EAAA,GAAG,GAAG,iBAAiB,GAAG,GAAG,CAAA;QAClC,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,IAAI,UAAU,cAAc,GAAG,MAAM,IAAI,IAAI,UAAU,KAAK,OAAO,IAAI,CAAC,CAAA;IACzF,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts
deleted file mode 100644
index bf232ffc..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-export declare type PatternError = ErrorObject<"pattern", {
- pattern: string;
-}, string | {
- $data: string;
-}>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.js
deleted file mode 100644
index f8ccdf29..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const code_1 = require("../code");
-const codegen_1 = require("../../compile/codegen");
-const error = {
- message: ({ schemaCode }) => (0, codegen_1.str) `must match pattern "${schemaCode}"`,
- params: ({ schemaCode }) => (0, codegen_1._) `{pattern: ${schemaCode}}`,
-};
-const def = {
- keyword: "pattern",
- type: "string",
- schemaType: "string",
- $data: true,
- error,
- code(cxt) {
- const { data, $data, schema, schemaCode, it } = cxt;
- // TODO regexp should be wrapped in try/catchs
- const u = it.opts.unicodeRegExp ? "u" : "";
- const regExp = $data ? (0, codegen_1._) `(new RegExp(${schemaCode}, ${u}))` : (0, code_1.usePattern)(cxt, schema);
- cxt.fail$data((0, codegen_1._) `!${regExp}.test(${data})`);
- },
-};
-exports.default = def;
-//# sourceMappingURL=pattern.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.js.map
deleted file mode 100644
index 82fa5d74..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/pattern.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"pattern.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/pattern.ts"],"names":[],"mappings":";;AAEA,kCAAkC;AAClC,mDAA4C;AAI5C,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,aAAG,EAAA,uBAAuB,UAAU,GAAG;IAClE,MAAM,EAAE,CAAC,EAAC,UAAU,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,aAAa,UAAU,GAAG;CACtD,CAAA;AAED,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,IAAI;IACX,KAAK;IACL,IAAI,CAAC,GAAe;QAClB,MAAM,EAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;QACjD,8CAA8C;QAC9C,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAA;QAC1C,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,IAAA,WAAC,EAAA,eAAe,UAAU,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAA,iBAAU,EAAC,GAAG,EAAE,MAAM,CAAC,CAAA;QACrF,GAAG,CAAC,SAAS,CAAC,IAAA,WAAC,EAAA,IAAI,MAAM,SAAS,IAAI,GAAG,CAAC,CAAA;IAC5C,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.d.ts
deleted file mode 100644
index fe94d04a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-export declare type RequiredError = ErrorObject<"required", {
- missingProperty: string;
-}, string[] | {
- $data: string;
-}>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.js
deleted file mode 100644
index 1d8e2926..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.js
+++ /dev/null
@@ -1,79 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const code_1 = require("../code");
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const error = {
- message: ({ params: { missingProperty } }) => (0, codegen_1.str) `must have required property '${missingProperty}'`,
- params: ({ params: { missingProperty } }) => (0, codegen_1._) `{missingProperty: ${missingProperty}}`,
-};
-const def = {
- keyword: "required",
- type: "object",
- schemaType: "array",
- $data: true,
- error,
- code(cxt) {
- const { gen, schema, schemaCode, data, $data, it } = cxt;
- const { opts } = it;
- if (!$data && schema.length === 0)
- return;
- const useLoop = schema.length >= opts.loopRequired;
- if (it.allErrors)
- allErrorsMode();
- else
- exitOnErrorMode();
- if (opts.strictRequired) {
- const props = cxt.parentSchema.properties;
- const { definedProperties } = cxt.it;
- for (const requiredKey of schema) {
- if ((props === null || props === void 0 ? void 0 : props[requiredKey]) === undefined && !definedProperties.has(requiredKey)) {
- const schemaPath = it.schemaEnv.baseId + it.errSchemaPath;
- const msg = `required property "${requiredKey}" is not defined at "${schemaPath}" (strictRequired)`;
- (0, util_1.checkStrictMode)(it, msg, it.opts.strictRequired);
- }
- }
- }
- function allErrorsMode() {
- if (useLoop || $data) {
- cxt.block$data(codegen_1.nil, loopAllRequired);
- }
- else {
- for (const prop of schema) {
- (0, code_1.checkReportMissingProp)(cxt, prop);
- }
- }
- }
- function exitOnErrorMode() {
- const missing = gen.let("missing");
- if (useLoop || $data) {
- const valid = gen.let("valid", true);
- cxt.block$data(valid, () => loopUntilMissing(missing, valid));
- cxt.ok(valid);
- }
- else {
- gen.if((0, code_1.checkMissingProp)(cxt, schema, missing));
- (0, code_1.reportMissingProp)(cxt, missing);
- gen.else();
- }
- }
- function loopAllRequired() {
- gen.forOf("prop", schemaCode, (prop) => {
- cxt.setParams({ missingProperty: prop });
- gen.if((0, code_1.noPropertyInData)(gen, data, prop, opts.ownProperties), () => cxt.error());
- });
- }
- function loopUntilMissing(missing, valid) {
- cxt.setParams({ missingProperty: missing });
- gen.forOf(missing, schemaCode, () => {
- gen.assign(valid, (0, code_1.propertyInData)(gen, data, missing, opts.ownProperties));
- gen.if((0, codegen_1.not)(valid), () => {
- cxt.error();
- gen.break();
- });
- }, codegen_1.nil);
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=required.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.js.map
deleted file mode 100644
index 0fcbee58..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/required.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"required.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/required.ts"],"names":[],"mappings":";;A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C,CAAA;gBACtC,GAAG,CAAC,EAAE,CAAC,IAAA,uBAAgB,EAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAA;YAClF,CAAC,CAAC,CAAA;QACJ,CAAC;QAED,SAAS,gBAAgB,CAAC,OAAa,EAAE,KAAW;YAClD,GAAG,CAAC,SAAS,CAAC,EAAC,eAAe,EAAE,OAAO,EAAC,CAAC,CAAA;YACzC,GAAG,CAAC,KAAK,CACP,OAAO,EACP,UAAkB,EAClB,GAAG,EAAE;gBACH,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,IAAA,qBAAc,EAAC,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAA;gBACzE,GAAG,CAAC,EAAE,CAAC,IAAA,aAAG,EAAC,KAAK,CAAC,EAAE,GAAG,EAAE;oBACtB,GAAG,CAAC,KAAK,EAAE,CAAA;oBACX,GAAG,CAAC,KAAK,EAAE,CAAA;gBACb,CAAC,CAAC,CAAA;YACJ,CAAC,EACD,aAAG,CACJ,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts
deleted file mode 100644
index c4f4b4ca..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { CodeKeywordDefinition, ErrorObject } from "../../types";
-export declare type UniqueItemsError = ErrorObject<"uniqueItems", {
- i: number;
- j: number;
-}, boolean | {
- $data: string;
-}>;
-declare const def: CodeKeywordDefinition;
-export default def;
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
deleted file mode 100644
index cdbecea1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
+++ /dev/null
@@ -1,64 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-const dataType_1 = require("../../compile/validate/dataType");
-const codegen_1 = require("../../compile/codegen");
-const util_1 = require("../../compile/util");
-const equal_1 = require("../../runtime/equal");
-const error = {
- message: ({ params: { i, j } }) => (0, codegen_1.str) `must NOT have duplicate items (items ## ${j} and ${i} are identical)`,
- params: ({ params: { i, j } }) => (0, codegen_1._) `{i: ${i}, j: ${j}}`,
-};
-const def = {
- keyword: "uniqueItems",
- type: "array",
- schemaType: "boolean",
- $data: true,
- error,
- code(cxt) {
- const { gen, data, $data, schema, parentSchema, schemaCode, it } = cxt;
- if (!$data && !schema)
- return;
- const valid = gen.let("valid");
- const itemTypes = parentSchema.items ? (0, dataType_1.getSchemaTypes)(parentSchema.items) : [];
- cxt.block$data(valid, validateUniqueItems, (0, codegen_1._) `${schemaCode} === false`);
- cxt.ok(valid);
- function validateUniqueItems() {
- const i = gen.let("i", (0, codegen_1._) `${data}.length`);
- const j = gen.let("j");
- cxt.setParams({ i, j });
- gen.assign(valid, true);
- gen.if((0, codegen_1._) `${i} > 1`, () => (canOptimize() ? loopN : loopN2)(i, j));
- }
- function canOptimize() {
- return itemTypes.length > 0 && !itemTypes.some((t) => t === "object" || t === "array");
- }
- function loopN(i, j) {
- const item = gen.name("item");
- const wrongType = (0, dataType_1.checkDataTypes)(itemTypes, item, it.opts.strictNumbers, dataType_1.DataType.Wrong);
- const indices = gen.const("indices", (0, codegen_1._) `{}`);
- gen.for((0, codegen_1._) `;${i}--;`, () => {
- gen.let(item, (0, codegen_1._) `${data}[${i}]`);
- gen.if(wrongType, (0, codegen_1._) `continue`);
- if (itemTypes.length > 1)
- gen.if((0, codegen_1._) `typeof ${item} == "string"`, (0, codegen_1._) `${item} += "_"`);
- gen
- .if((0, codegen_1._) `typeof ${indices}[${item}] == "number"`, () => {
- gen.assign(j, (0, codegen_1._) `${indices}[${item}]`);
- cxt.error();
- gen.assign(valid, false).break();
- })
- .code((0, codegen_1._) `${indices}[${item}] = ${i}`);
- });
- }
- function loopN2(i, j) {
- const eql = (0, util_1.useFunc)(gen, equal_1.default);
- const outer = gen.name("outer");
- gen.label(outer).for((0, codegen_1._) `;${i}--;`, () => gen.for((0, codegen_1._) `${j} = ${i}; ${j}--;`, () => gen.if((0, codegen_1._) `${eql}(${data}[${i}], ${data}[${j}])`, () => {
- cxt.error();
- gen.assign(valid, false).break(outer);
- })));
- }
- },
-};
-exports.default = def;
-//# sourceMappingURL=uniqueItems.js.map \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map b/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map
deleted file mode 100644
index 46eb7a2a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"uniqueItems.js","sourceRoot":"","sources":["../../../lib/vocabularies/validation/uniqueItems.ts"],"names":[],"mappings":";;AAEA,8DAAwF;AACxF,mDAAkD;AAClD,6CAA0C;AAC1C,+CAAuC;AAQvC,MAAM,KAAK,GAA2B;IACpC,OAAO,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,CAAC,EAAE,CAAC,EAAC,EAAC,EAAE,EAAE,CAC5B,IAAA,aAAG,EAAA,2CAA2C,CAAC,QAAQ,CAAC,iBAAiB;IAC3E,MAAM,EAAE,CAAC,EAAC,MAAM,EAAE,EAAC,CAAC,EAAE,CAAC,EAAC,EAAC,EAAE,EAAE,CAAC,IAAA,WAAC,EAAA,OAAO,CAAC,QAAQ,CAAC,GAAG;CACpD,CAA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AAC,KAAK,EAAE,KAAK,CAAC,CAAC,KAAK,EAAE,CAAA;gBAClC,CAAC,CAAC;qBACD,IAAI,CAAC,IAAA,WAAC,EAAA,GAAG,OAAO,IAAI,IAAI,OAAO,CAAC,EAAE,CAAC,CAAA;YACxC,CAAC,CAAC,CAAA;QACJ,CAAC;QAED,SAAS,MAAM,CAAC,CAAO,EAAE,CAAO;YAC9B,MAAM,GAAG,GAAG,IAAA,cAAO,EAAC,GAAG,EAAE,eAAK,CAAC,CAAA;YAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YAC/B,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,IAAA,WAAC,EAAA,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,CACrC,GAAG,CAAC,GAAG,CAAC,IAAA,WAAC,EAAA,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,CACpC,GAAG,CAAC,EAAE,CAAC,IAAA,WAAC,EAAA,GAAG,GAAG,IAAI,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE;gBACnD,GAAG,CAAC,KAAK,EAAE,CAAA;gBACX,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;YACvC,CAAC,CAAC,CACH,CACF,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/2019.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/2019.ts
deleted file mode 100644
index 0311c4d0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/2019.ts
+++ /dev/null
@@ -1,78 +0,0 @@
-import type {AnySchemaObject} from "./types"
-import AjvCore, {Options} from "./core"
-
-import draft7Vocabularies from "./vocabularies/draft7"
-import dynamicVocabulary from "./vocabularies/dynamic"
-import nextVocabulary from "./vocabularies/next"
-import unevaluatedVocabulary from "./vocabularies/unevaluated"
-import discriminator from "./vocabularies/discriminator"
-import addMetaSchema2019 from "./refs/json-schema-2019-09"
-
-const META_SCHEMA_ID = "https://json-schema.org/draft/2019-09/schema"
-
-class Ajv2019 extends AjvCore {
- constructor(opts: Options = {}) {
- super({
- ...opts,
- dynamicRef: true,
- next: true,
- unevaluated: true,
- })
- }
-
- _addVocabularies(): void {
- super._addVocabularies()
- this.addVocabulary(dynamicVocabulary)
- draft7Vocabularies.forEach((v) => this.addVocabulary(v))
- this.addVocabulary(nextVocabulary)
- this.addVocabulary(unevaluatedVocabulary)
- if (this.opts.discriminator) this.addKeyword(discriminator)
- }
-
- _addDefaultMetaSchema(): void {
- super._addDefaultMetaSchema()
- const {$data, meta} = this.opts
- if (!meta) return
- addMetaSchema2019.call(this, $data)
- this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID
- }
-
- defaultMeta(): string | AnySchemaObject | undefined {
- return (this.opts.defaultMeta =
- super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined))
- }
-}
-
-module.exports = exports = Ajv2019
-Object.defineProperty(exports, "__esModule", {value: true})
-
-export default Ajv2019
-
-export {
- Format,
- FormatDefinition,
- AsyncFormatDefinition,
- KeywordDefinition,
- KeywordErrorDefinition,
- CodeKeywordDefinition,
- MacroKeywordDefinition,
- FuncKeywordDefinition,
- Vocabulary,
- Schema,
- SchemaObject,
- AnySchemaObject,
- AsyncSchema,
- AnySchema,
- ValidateFunction,
- AsyncValidateFunction,
- ErrorObject,
- ErrorNoParams,
-} from "./types"
-
-export {Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions} from "./core"
-export {SchemaCxt, SchemaObjCxt} from "./compile"
-export {KeywordCxt} from "./compile/validate"
-export {DefinedError} from "./vocabularies/errors"
-export {JSONType} from "./compile/rules"
-export {JSONSchemaType} from "./types/json-schema"
-export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen"
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/2020.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/2020.ts
deleted file mode 100644
index beff5c7b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/2020.ts
+++ /dev/null
@@ -1,72 +0,0 @@
-import type {AnySchemaObject} from "./types"
-import AjvCore, {Options} from "./core"
-
-import draft2020Vocabularies from "./vocabularies/draft2020"
-import discriminator from "./vocabularies/discriminator"
-import addMetaSchema2020 from "./refs/json-schema-2020-12"
-
-const META_SCHEMA_ID = "https://json-schema.org/draft/2020-12/schema"
-
-class Ajv2020 extends AjvCore {
- constructor(opts: Options = {}) {
- super({
- ...opts,
- dynamicRef: true,
- next: true,
- unevaluated: true,
- })
- }
-
- _addVocabularies(): void {
- super._addVocabularies()
- draft2020Vocabularies.forEach((v) => this.addVocabulary(v))
- if (this.opts.discriminator) this.addKeyword(discriminator)
- }
-
- _addDefaultMetaSchema(): void {
- super._addDefaultMetaSchema()
- const {$data, meta} = this.opts
- if (!meta) return
- addMetaSchema2020.call(this, $data)
- this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID
- }
-
- defaultMeta(): string | AnySchemaObject | undefined {
- return (this.opts.defaultMeta =
- super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined))
- }
-}
-
-module.exports = exports = Ajv2020
-Object.defineProperty(exports, "__esModule", {value: true})
-
-export default Ajv2020
-
-export {
- Format,
- FormatDefinition,
- AsyncFormatDefinition,
- KeywordDefinition,
- KeywordErrorDefinition,
- CodeKeywordDefinition,
- MacroKeywordDefinition,
- FuncKeywordDefinition,
- Vocabulary,
- Schema,
- SchemaObject,
- AnySchemaObject,
- AsyncSchema,
- AnySchema,
- ValidateFunction,
- AsyncValidateFunction,
- ErrorObject,
- ErrorNoParams,
-} from "./types"
-
-export {Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions} from "./core"
-export {SchemaCxt, SchemaObjCxt} from "./compile"
-export {KeywordCxt} from "./compile/validate"
-export {DefinedError} from "./vocabularies/errors"
-export {JSONType} from "./compile/rules"
-export {JSONSchemaType} from "./types/json-schema"
-export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen"
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/ajv.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/ajv.ts
deleted file mode 100644
index bbfa5a4e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/ajv.ts
+++ /dev/null
@@ -1,67 +0,0 @@
-import type {AnySchemaObject} from "./types"
-import AjvCore from "./core"
-import draft7Vocabularies from "./vocabularies/draft7"
-import discriminator from "./vocabularies/discriminator"
-import * as draft7MetaSchema from "./refs/json-schema-draft-07.json"
-
-const META_SUPPORT_DATA = ["/properties"]
-
-const META_SCHEMA_ID = "http://json-schema.org/draft-07/schema"
-
-class Ajv extends AjvCore {
- _addVocabularies(): void {
- super._addVocabularies()
- draft7Vocabularies.forEach((v) => this.addVocabulary(v))
- if (this.opts.discriminator) this.addKeyword(discriminator)
- }
-
- _addDefaultMetaSchema(): void {
- super._addDefaultMetaSchema()
- if (!this.opts.meta) return
- const metaSchema = this.opts.$data
- ? this.$dataMetaSchema(draft7MetaSchema, META_SUPPORT_DATA)
- : draft7MetaSchema
- this.addMetaSchema(metaSchema, META_SCHEMA_ID, false)
- this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID
- }
-
- defaultMeta(): string | AnySchemaObject | undefined {
- return (this.opts.defaultMeta =
- super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined))
- }
-}
-
-module.exports = exports = Ajv
-Object.defineProperty(exports, "__esModule", {value: true})
-
-export default Ajv
-
-export {
- Format,
- FormatDefinition,
- AsyncFormatDefinition,
- KeywordDefinition,
- KeywordErrorDefinition,
- CodeKeywordDefinition,
- MacroKeywordDefinition,
- FuncKeywordDefinition,
- Vocabulary,
- Schema,
- SchemaObject,
- AnySchemaObject,
- AsyncSchema,
- AnySchema,
- ValidateFunction,
- AsyncValidateFunction,
- SchemaValidateFunction,
- ErrorObject,
- ErrorNoParams,
-} from "./types"
-
-export {Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions} from "./core"
-export {SchemaCxt, SchemaObjCxt} from "./compile"
-export {KeywordCxt} from "./compile/validate"
-export {DefinedError} from "./vocabularies/errors"
-export {JSONType} from "./compile/rules"
-export {JSONSchemaType} from "./types/json-schema"
-export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen"
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/code.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/code.ts
deleted file mode 100644
index b1770197..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/code.ts
+++ /dev/null
@@ -1,168 +0,0 @@
-export abstract class _CodeOrName {
- abstract readonly str: string
- abstract readonly names: UsedNames
- abstract toString(): string
- abstract emptyStr(): boolean
-}
-
-export const IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i
-
-export class Name extends _CodeOrName {
- readonly str: string
- constructor(s: string) {
- super()
- if (!IDENTIFIER.test(s)) throw new Error("CodeGen: name must be a valid identifier")
- this.str = s
- }
-
- toString(): string {
- return this.str
- }
-
- emptyStr(): boolean {
- return false
- }
-
- get names(): UsedNames {
- return {[this.str]: 1}
- }
-}
-
-export class _Code extends _CodeOrName {
- readonly _items: readonly CodeItem[]
- private _str?: string
- private _names?: UsedNames
-
- constructor(code: string | readonly CodeItem[]) {
- super()
- this._items = typeof code === "string" ? [code] : code
- }
-
- toString(): string {
- return this.str
- }
-
- emptyStr(): boolean {
- if (this._items.length > 1) return false
- const item = this._items[0]
- return item === "" || item === '""'
- }
-
- get str(): string {
- return (this._str ??= this._items.reduce((s: string, c: CodeItem) => `${s}${c}`, ""))
- }
-
- get names(): UsedNames {
- return (this._names ??= this._items.reduce((names: UsedNames, c) => {
- if (c instanceof Name) names[c.str] = (names[c.str] || 0) + 1
- return names
- }, {}))
- }
-}
-
-export type CodeItem = Name | string | number | boolean | null
-
-export type UsedNames = Record<string, number | undefined>
-
-export type Code = _Code | Name
-
-export type SafeExpr = Code | number | boolean | null
-
-export const nil = new _Code("")
-
-type CodeArg = SafeExpr | string | undefined
-
-export function _(strs: TemplateStringsArray, ...args: CodeArg[]): _Code {
- const code: CodeItem[] = [strs[0]]
- let i = 0
- while (i < args.length) {
- addCodeArg(code, args[i])
- code.push(strs[++i])
- }
- return new _Code(code)
-}
-
-const plus = new _Code("+")
-
-export function str(strs: TemplateStringsArray, ...args: (CodeArg | string[])[]): _Code {
- const expr: CodeItem[] = [safeStringify(strs[0])]
- let i = 0
- while (i < args.length) {
- expr.push(plus)
- addCodeArg(expr, args[i])
- expr.push(plus, safeStringify(strs[++i]))
- }
- optimize(expr)
- return new _Code(expr)
-}
-
-export function addCodeArg(code: CodeItem[], arg: CodeArg | string[]): void {
- if (arg instanceof _Code) code.push(...arg._items)
- else if (arg instanceof Name) code.push(arg)
- else code.push(interpolate(arg))
-}
-
-function optimize(expr: CodeItem[]): void {
- let i = 1
- while (i < expr.length - 1) {
- if (expr[i] === plus) {
- const res = mergeExprItems(expr[i - 1], expr[i + 1])
- if (res !== undefined) {
- expr.splice(i - 1, 3, res)
- continue
- }
- expr[i++] = "+"
- }
- i++
- }
-}
-
-function mergeExprItems(a: CodeItem, b: CodeItem): CodeItem | undefined {
- if (b === '""') return a
- if (a === '""') return b
- if (typeof a == "string") {
- if (b instanceof Name || a[a.length - 1] !== '"') return
- if (typeof b != "string") return `${a.slice(0, -1)}${b}"`
- if (b[0] === '"') return a.slice(0, -1) + b.slice(1)
- return
- }
- if (typeof b == "string" && b[0] === '"' && !(a instanceof Name)) return `"${a}${b.slice(1)}`
- return
-}
-
-export function strConcat(c1: Code, c2: Code): Code {
- return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str`${c1}${c2}`
-}
-
-// TODO do not allow arrays here
-function interpolate(x?: string | string[] | number | boolean | null): SafeExpr | string {
- return typeof x == "number" || typeof x == "boolean" || x === null
- ? x
- : safeStringify(Array.isArray(x) ? x.join(",") : x)
-}
-
-export function stringify(x: unknown): Code {
- return new _Code(safeStringify(x))
-}
-
-export function safeStringify(x: unknown): string {
- return JSON.stringify(x)
- .replace(/\u2028/g, "\\u2028")
- .replace(/\u2029/g, "\\u2029")
-}
-
-export function getProperty(key: Code | string | number): Code {
- return typeof key == "string" && IDENTIFIER.test(key) ? new _Code(`.${key}`) : _`[${key}]`
-}
-
-//Does best effort to format the name properly
-export function getEsmExportName(key: Code | string | number): Code {
- if (typeof key == "string" && IDENTIFIER.test(key)) {
- return new _Code(`${key}`)
- }
- throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`)
-}
-
-export function regexpCode(rx: RegExp): Code {
- return new _Code(rx.toString())
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/index.ts
deleted file mode 100644
index 9d29055d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/index.ts
+++ /dev/null
@@ -1,832 +0,0 @@
-import type {ScopeValueSets, NameValue, ValueScope, ValueScopeName} from "./scope"
-import {_, nil, _Code, Code, Name, UsedNames, CodeItem, addCodeArg, _CodeOrName} from "./code"
-import {Scope, varKinds} from "./scope"
-
-export {_, str, strConcat, nil, getProperty, stringify, regexpCode, Name, Code} from "./code"
-export {Scope, ScopeStore, ValueScope, ValueScopeName, ScopeValueSets, varKinds} from "./scope"
-
-// type for expressions that can be safely inserted in code without quotes
-export type SafeExpr = Code | number | boolean | null
-
-// type that is either Code of function that adds code to CodeGen instance using its methods
-export type Block = Code | (() => void)
-
-export const operators = {
- GT: new _Code(">"),
- GTE: new _Code(">="),
- LT: new _Code("<"),
- LTE: new _Code("<="),
- EQ: new _Code("==="),
- NEQ: new _Code("!=="),
- NOT: new _Code("!"),
- OR: new _Code("||"),
- AND: new _Code("&&"),
- ADD: new _Code("+"),
-}
-
-abstract class Node {
- abstract readonly names: UsedNames
-
- optimizeNodes(): this | ChildNode | ChildNode[] | undefined {
- return this
- }
-
- optimizeNames(_names: UsedNames, _constants: Constants): this | undefined {
- return this
- }
-
- // get count(): number {
- // return 1
- // }
-}
-
-class Def extends Node {
- constructor(private readonly varKind: Name, private readonly name: Name, private rhs?: SafeExpr) {
- super()
- }
-
- render({es5, _n}: CGOptions): string {
- const varKind = es5 ? varKinds.var : this.varKind
- const rhs = this.rhs === undefined ? "" : ` = ${this.rhs}`
- return `${varKind} ${this.name}${rhs};` + _n
- }
-
- optimizeNames(names: UsedNames, constants: Constants): this | undefined {
- if (!names[this.name.str]) return
- if (this.rhs) this.rhs = optimizeExpr(this.rhs, names, constants)
- return this
- }
-
- get names(): UsedNames {
- return this.rhs instanceof _CodeOrName ? this.rhs.names : {}
- }
-}
-
-class Assign extends Node {
- constructor(readonly lhs: Code, public rhs: SafeExpr, private readonly sideEffects?: boolean) {
- super()
- }
-
- render({_n}: CGOptions): string {
- return `${this.lhs} = ${this.rhs};` + _n
- }
-
- optimizeNames(names: UsedNames, constants: Constants): this | undefined {
- if (this.lhs instanceof Name && !names[this.lhs.str] && !this.sideEffects) return
- this.rhs = optimizeExpr(this.rhs, names, constants)
- return this
- }
-
- get names(): UsedNames {
- const names = this.lhs instanceof Name ? {} : {...this.lhs.names}
- return addExprNames(names, this.rhs)
- }
-}
-
-class AssignOp extends Assign {
- constructor(lhs: Code, private readonly op: Code, rhs: SafeExpr, sideEffects?: boolean) {
- super(lhs, rhs, sideEffects)
- }
-
- render({_n}: CGOptions): string {
- return `${this.lhs} ${this.op}= ${this.rhs};` + _n
- }
-}
-
-class Label extends Node {
- readonly names: UsedNames = {}
- constructor(readonly label: Name) {
- super()
- }
-
- render({_n}: CGOptions): string {
- return `${this.label}:` + _n
- }
-}
-
-class Break extends Node {
- readonly names: UsedNames = {}
- constructor(readonly label?: Code) {
- super()
- }
-
- render({_n}: CGOptions): string {
- const label = this.label ? ` ${this.label}` : ""
- return `break${label};` + _n
- }
-}
-
-class Throw extends Node {
- constructor(readonly error: Code) {
- super()
- }
-
- render({_n}: CGOptions): string {
- return `throw ${this.error};` + _n
- }
-
- get names(): UsedNames {
- return this.error.names
- }
-}
-
-class AnyCode extends Node {
- constructor(private code: SafeExpr) {
- super()
- }
-
- render({_n}: CGOptions): string {
- return `${this.code};` + _n
- }
-
- optimizeNodes(): this | undefined {
- return `${this.code}` ? this : undefined
- }
-
- optimizeNames(names: UsedNames, constants: Constants): this {
- this.code = optimizeExpr(this.code, names, constants)
- return this
- }
-
- get names(): UsedNames {
- return this.code instanceof _CodeOrName ? this.code.names : {}
- }
-}
-
-abstract class ParentNode extends Node {
- constructor(readonly nodes: ChildNode[] = []) {
- super()
- }
-
- render(opts: CGOptions): string {
- return this.nodes.reduce((code, n) => code + n.render(opts), "")
- }
-
- optimizeNodes(): this | ChildNode | ChildNode[] | undefined {
- const {nodes} = this
- let i = nodes.length
- while (i--) {
- const n = nodes[i].optimizeNodes()
- if (Array.isArray(n)) nodes.splice(i, 1, ...n)
- else if (n) nodes[i] = n
- else nodes.splice(i, 1)
- }
- return nodes.length > 0 ? this : undefined
- }
-
- optimizeNames(names: UsedNames, constants: Constants): this | undefined {
- const {nodes} = this
- let i = nodes.length
- while (i--) {
- // iterating backwards improves 1-pass optimization
- const n = nodes[i]
- if (n.optimizeNames(names, constants)) continue
- subtractNames(names, n.names)
- nodes.splice(i, 1)
- }
- return nodes.length > 0 ? this : undefined
- }
-
- get names(): UsedNames {
- return this.nodes.reduce((names: UsedNames, n) => addNames(names, n.names), {})
- }
-
- // get count(): number {
- // return this.nodes.reduce((c, n) => c + n.count, 1)
- // }
-}
-
-abstract class BlockNode extends ParentNode {
- render(opts: CGOptions): string {
- return "{" + opts._n + super.render(opts) + "}" + opts._n
- }
-}
-
-class Root extends ParentNode {}
-
-class Else extends BlockNode {
- static readonly kind = "else"
-}
-
-class If extends BlockNode {
- static readonly kind = "if"
- else?: If | Else
- constructor(private condition: Code | boolean, nodes?: ChildNode[]) {
- super(nodes)
- }
-
- render(opts: CGOptions): string {
- let code = `if(${this.condition})` + super.render(opts)
- if (this.else) code += "else " + this.else.render(opts)
- return code
- }
-
- optimizeNodes(): If | ChildNode[] | undefined {
- super.optimizeNodes()
- const cond = this.condition
- if (cond === true) return this.nodes // else is ignored here
- let e = this.else
- if (e) {
- const ns = e.optimizeNodes()
- e = this.else = Array.isArray(ns) ? new Else(ns) : (ns as Else | undefined)
- }
- if (e) {
- if (cond === false) return e instanceof If ? e : e.nodes
- if (this.nodes.length) return this
- return new If(not(cond), e instanceof If ? [e] : e.nodes)
- }
- if (cond === false || !this.nodes.length) return undefined
- return this
- }
-
- optimizeNames(names: UsedNames, constants: Constants): this | undefined {
- this.else = this.else?.optimizeNames(names, constants)
- if (!(super.optimizeNames(names, constants) || this.else)) return
- this.condition = optimizeExpr(this.condition, names, constants)
- return this
- }
-
- get names(): UsedNames {
- const names = super.names
- addExprNames(names, this.condition)
- if (this.else) addNames(names, this.else.names)
- return names
- }
-
- // get count(): number {
- // return super.count + (this.else?.count || 0)
- // }
-}
-
-abstract class For extends BlockNode {
- static readonly kind = "for"
-}
-
-class ForLoop extends For {
- constructor(private iteration: Code) {
- super()
- }
-
- render(opts: CGOptions): string {
- return `for(${this.iteration})` + super.render(opts)
- }
-
- optimizeNames(names: UsedNames, constants: Constants): this | undefined {
- if (!super.optimizeNames(names, constants)) return
- this.iteration = optimizeExpr(this.iteration, names, constants)
- return this
- }
-
- get names(): UsedNames {
- return addNames(super.names, this.iteration.names)
- }
-}
-
-class ForRange extends For {
- constructor(
- private readonly varKind: Name,
- private readonly name: Name,
- private readonly from: SafeExpr,
- private readonly to: SafeExpr
- ) {
- super()
- }
-
- render(opts: CGOptions): string {
- const varKind = opts.es5 ? varKinds.var : this.varKind
- const {name, from, to} = this
- return `for(${varKind} ${name}=${from}; ${name}<${to}; ${name}++)` + super.render(opts)
- }
-
- get names(): UsedNames {
- const names = addExprNames(super.names, this.from)
- return addExprNames(names, this.to)
- }
-}
-
-class ForIter extends For {
- constructor(
- private readonly loop: "of" | "in",
- private readonly varKind: Name,
- private readonly name: Name,
- private iterable: Code
- ) {
- super()
- }
-
- render(opts: CGOptions): string {
- return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(opts)
- }
-
- optimizeNames(names: UsedNames, constants: Constants): this | undefined {
- if (!super.optimizeNames(names, constants)) return
- this.iterable = optimizeExpr(this.iterable, names, constants)
- return this
- }
-
- get names(): UsedNames {
- return addNames(super.names, this.iterable.names)
- }
-}
-
-class Func extends BlockNode {
- static readonly kind = "func"
- constructor(public name: Name, public args: Code, public async?: boolean) {
- super()
- }
-
- render(opts: CGOptions): string {
- const _async = this.async ? "async " : ""
- return `${_async}function ${this.name}(${this.args})` + super.render(opts)
- }
-}
-
-class Return extends ParentNode {
- static readonly kind = "return"
-
- render(opts: CGOptions): string {
- return "return " + super.render(opts)
- }
-}
-
-class Try extends BlockNode {
- catch?: Catch
- finally?: Finally
-
- render(opts: CGOptions): string {
- let code = "try" + super.render(opts)
- if (this.catch) code += this.catch.render(opts)
- if (this.finally) code += this.finally.render(opts)
- return code
- }
-
- optimizeNodes(): this {
- super.optimizeNodes()
- this.catch?.optimizeNodes() as Catch | undefined
- this.finally?.optimizeNodes() as Finally | undefined
- return this
- }
-
- optimizeNames(names: UsedNames, constants: Constants): this {
- super.optimizeNames(names, constants)
- this.catch?.optimizeNames(names, constants)
- this.finally?.optimizeNames(names, constants)
- return this
- }
-
- get names(): UsedNames {
- const names = super.names
- if (this.catch) addNames(names, this.catch.names)
- if (this.finally) addNames(names, this.finally.names)
- return names
- }
-
- // get count(): number {
- // return super.count + (this.catch?.count || 0) + (this.finally?.count || 0)
- // }
-}
-
-class Catch extends BlockNode {
- static readonly kind = "catch"
- constructor(readonly error: Name) {
- super()
- }
-
- render(opts: CGOptions): string {
- return `catch(${this.error})` + super.render(opts)
- }
-}
-
-class Finally extends BlockNode {
- static readonly kind = "finally"
- render(opts: CGOptions): string {
- return "finally" + super.render(opts)
- }
-}
-
-type StartBlockNode = If | For | Func | Return | Try
-
-type LeafNode = Def | Assign | Label | Break | Throw | AnyCode
-
-type ChildNode = StartBlockNode | LeafNode
-
-type EndBlockNodeType =
- | typeof If
- | typeof Else
- | typeof For
- | typeof Func
- | typeof Return
- | typeof Catch
- | typeof Finally
-
-type Constants = Record<string, SafeExpr | undefined>
-
-export interface CodeGenOptions {
- es5?: boolean
- lines?: boolean
- ownProperties?: boolean
-}
-
-interface CGOptions extends CodeGenOptions {
- _n: "\n" | ""
-}
-
-export class CodeGen {
- readonly _scope: Scope
- readonly _extScope: ValueScope
- readonly _values: ScopeValueSets = {}
- private readonly _nodes: ParentNode[]
- private readonly _blockStarts: number[] = []
- private readonly _constants: Constants = {}
- private readonly opts: CGOptions
-
- constructor(extScope: ValueScope, opts: CodeGenOptions = {}) {
- this.opts = {...opts, _n: opts.lines ? "\n" : ""}
- this._extScope = extScope
- this._scope = new Scope({parent: extScope})
- this._nodes = [new Root()]
- }
-
- toString(): string {
- return this._root.render(this.opts)
- }
-
- // returns unique name in the internal scope
- name(prefix: string): Name {
- return this._scope.name(prefix)
- }
-
- // reserves unique name in the external scope
- scopeName(prefix: string): ValueScopeName {
- return this._extScope.name(prefix)
- }
-
- // reserves unique name in the external scope and assigns value to it
- scopeValue(prefixOrName: ValueScopeName | string, value: NameValue): Name {
- const name = this._extScope.value(prefixOrName, value)
- const vs = this._values[name.prefix] || (this._values[name.prefix] = new Set())
- vs.add(name)
- return name
- }
-
- getScopeValue(prefix: string, keyOrRef: unknown): ValueScopeName | undefined {
- return this._extScope.getValue(prefix, keyOrRef)
- }
-
- // return code that assigns values in the external scope to the names that are used internally
- // (same names that were returned by gen.scopeName or gen.scopeValue)
- scopeRefs(scopeName: Name): Code {
- return this._extScope.scopeRefs(scopeName, this._values)
- }
-
- scopeCode(): Code {
- return this._extScope.scopeCode(this._values)
- }
-
- private _def(
- varKind: Name,
- nameOrPrefix: Name | string,
- rhs?: SafeExpr,
- constant?: boolean
- ): Name {
- const name = this._scope.toName(nameOrPrefix)
- if (rhs !== undefined && constant) this._constants[name.str] = rhs
- this._leafNode(new Def(varKind, name, rhs))
- return name
- }
-
- // `const` declaration (`var` in es5 mode)
- const(nameOrPrefix: Name | string, rhs: SafeExpr, _constant?: boolean): Name {
- return this._def(varKinds.const, nameOrPrefix, rhs, _constant)
- }
-
- // `let` declaration with optional assignment (`var` in es5 mode)
- let(nameOrPrefix: Name | string, rhs?: SafeExpr, _constant?: boolean): Name {
- return this._def(varKinds.let, nameOrPrefix, rhs, _constant)
- }
-
- // `var` declaration with optional assignment
- var(nameOrPrefix: Name | string, rhs?: SafeExpr, _constant?: boolean): Name {
- return this._def(varKinds.var, nameOrPrefix, rhs, _constant)
- }
-
- // assignment code
- assign(lhs: Code, rhs: SafeExpr, sideEffects?: boolean): CodeGen {
- return this._leafNode(new Assign(lhs, rhs, sideEffects))
- }
-
- // `+=` code
- add(lhs: Code, rhs: SafeExpr): CodeGen {
- return this._leafNode(new AssignOp(lhs, operators.ADD, rhs))
- }
-
- // appends passed SafeExpr to code or executes Block
- code(c: Block | SafeExpr): CodeGen {
- if (typeof c == "function") c()
- else if (c !== nil) this._leafNode(new AnyCode(c))
- return this
- }
-
- // returns code for object literal for the passed argument list of key-value pairs
- object(...keyValues: [Name | string, SafeExpr | string][]): _Code {
- const code: CodeItem[] = ["{"]
- for (const [key, value] of keyValues) {
- if (code.length > 1) code.push(",")
- code.push(key)
- if (key !== value || this.opts.es5) {
- code.push(":")
- addCodeArg(code, value)
- }
- }
- code.push("}")
- return new _Code(code)
- }
-
- // `if` clause (or statement if `thenBody` and, optionally, `elseBody` are passed)
- if(condition: Code | boolean, thenBody?: Block, elseBody?: Block): CodeGen {
- this._blockNode(new If(condition))
-
- if (thenBody && elseBody) {
- this.code(thenBody).else().code(elseBody).endIf()
- } else if (thenBody) {
- this.code(thenBody).endIf()
- } else if (elseBody) {
- throw new Error('CodeGen: "else" body without "then" body')
- }
- return this
- }
-
- // `else if` clause - invalid without `if` or after `else` clauses
- elseIf(condition: Code | boolean): CodeGen {
- return this._elseNode(new If(condition))
- }
-
- // `else` clause - only valid after `if` or `else if` clauses
- else(): CodeGen {
- return this._elseNode(new Else())
- }
-
- // end `if` statement (needed if gen.if was used only with condition)
- endIf(): CodeGen {
- return this._endBlockNode(If, Else)
- }
-
- private _for(node: For, forBody?: Block): CodeGen {
- this._blockNode(node)
- if (forBody) this.code(forBody).endFor()
- return this
- }
-
- // a generic `for` clause (or statement if `forBody` is passed)
- for(iteration: Code, forBody?: Block): CodeGen {
- return this._for(new ForLoop(iteration), forBody)
- }
-
- // `for` statement for a range of values
- forRange(
- nameOrPrefix: Name | string,
- from: SafeExpr,
- to: SafeExpr,
- forBody: (index: Name) => void,
- varKind: Code = this.opts.es5 ? varKinds.var : varKinds.let
- ): CodeGen {
- const name = this._scope.toName(nameOrPrefix)
- return this._for(new ForRange(varKind, name, from, to), () => forBody(name))
- }
-
- // `for-of` statement (in es5 mode replace with a normal for loop)
- forOf(
- nameOrPrefix: Name | string,
- iterable: Code,
- forBody: (item: Name) => void,
- varKind: Code = varKinds.const
- ): CodeGen {
- const name = this._scope.toName(nameOrPrefix)
- if (this.opts.es5) {
- const arr = iterable instanceof Name ? iterable : this.var("_arr", iterable)
- return this.forRange("_i", 0, _`${arr}.length`, (i) => {
- this.var(name, _`${arr}[${i}]`)
- forBody(name)
- })
- }
- return this._for(new ForIter("of", varKind, name, iterable), () => forBody(name))
- }
-
- // `for-in` statement.
- // With option `ownProperties` replaced with a `for-of` loop for object keys
- forIn(
- nameOrPrefix: Name | string,
- obj: Code,
- forBody: (item: Name) => void,
- varKind: Code = this.opts.es5 ? varKinds.var : varKinds.const
- ): CodeGen {
- if (this.opts.ownProperties) {
- return this.forOf(nameOrPrefix, _`Object.keys(${obj})`, forBody)
- }
- const name = this._scope.toName(nameOrPrefix)
- return this._for(new ForIter("in", varKind, name, obj), () => forBody(name))
- }
-
- // end `for` loop
- endFor(): CodeGen {
- return this._endBlockNode(For)
- }
-
- // `label` statement
- label(label: Name): CodeGen {
- return this._leafNode(new Label(label))
- }
-
- // `break` statement
- break(label?: Code): CodeGen {
- return this._leafNode(new Break(label))
- }
-
- // `return` statement
- return(value: Block | SafeExpr): CodeGen {
- const node = new Return()
- this._blockNode(node)
- this.code(value)
- if (node.nodes.length !== 1) throw new Error('CodeGen: "return" should have one node')
- return this._endBlockNode(Return)
- }
-
- // `try` statement
- try(tryBody: Block, catchCode?: (e: Name) => void, finallyCode?: Block): CodeGen {
- if (!catchCode && !finallyCode) throw new Error('CodeGen: "try" without "catch" and "finally"')
- const node = new Try()
- this._blockNode(node)
- this.code(tryBody)
- if (catchCode) {
- const error = this.name("e")
- this._currNode = node.catch = new Catch(error)
- catchCode(error)
- }
- if (finallyCode) {
- this._currNode = node.finally = new Finally()
- this.code(finallyCode)
- }
- return this._endBlockNode(Catch, Finally)
- }
-
- // `throw` statement
- throw(error: Code): CodeGen {
- return this._leafNode(new Throw(error))
- }
-
- // start self-balancing block
- block(body?: Block, nodeCount?: number): CodeGen {
- this._blockStarts.push(this._nodes.length)
- if (body) this.code(body).endBlock(nodeCount)
- return this
- }
-
- // end the current self-balancing block
- endBlock(nodeCount?: number): CodeGen {
- const len = this._blockStarts.pop()
- if (len === undefined) throw new Error("CodeGen: not in self-balancing block")
- const toClose = this._nodes.length - len
- if (toClose < 0 || (nodeCount !== undefined && toClose !== nodeCount)) {
- throw new Error(`CodeGen: wrong number of nodes: ${toClose} vs ${nodeCount} expected`)
- }
- this._nodes.length = len
- return this
- }
-
- // `function` heading (or definition if funcBody is passed)
- func(name: Name, args: Code = nil, async?: boolean, funcBody?: Block): CodeGen {
- this._blockNode(new Func(name, args, async))
- if (funcBody) this.code(funcBody).endFunc()
- return this
- }
-
- // end function definition
- endFunc(): CodeGen {
- return this._endBlockNode(Func)
- }
-
- optimize(n = 1): void {
- while (n-- > 0) {
- this._root.optimizeNodes()
- this._root.optimizeNames(this._root.names, this._constants)
- }
- }
-
- private _leafNode(node: LeafNode): CodeGen {
- this._currNode.nodes.push(node)
- return this
- }
-
- private _blockNode(node: StartBlockNode): void {
- this._currNode.nodes.push(node)
- this._nodes.push(node)
- }
-
- private _endBlockNode(N1: EndBlockNodeType, N2?: EndBlockNodeType): CodeGen {
- const n = this._currNode
- if (n instanceof N1 || (N2 && n instanceof N2)) {
- this._nodes.pop()
- return this
- }
- throw new Error(`CodeGen: not in block "${N2 ? `${N1.kind}/${N2.kind}` : N1.kind}"`)
- }
-
- private _elseNode(node: If | Else): CodeGen {
- const n = this._currNode
- if (!(n instanceof If)) {
- throw new Error('CodeGen: "else" without "if"')
- }
- this._currNode = n.else = node
- return this
- }
-
- private get _root(): Root {
- return this._nodes[0] as Root
- }
-
- private get _currNode(): ParentNode {
- const ns = this._nodes
- return ns[ns.length - 1]
- }
-
- private set _currNode(node: ParentNode) {
- const ns = this._nodes
- ns[ns.length - 1] = node
- }
-
- // get nodeCount(): number {
- // return this._root.count
- // }
-}
-
-function addNames(names: UsedNames, from: UsedNames): UsedNames {
- for (const n in from) names[n] = (names[n] || 0) + (from[n] || 0)
- return names
-}
-
-function addExprNames(names: UsedNames, from: SafeExpr): UsedNames {
- return from instanceof _CodeOrName ? addNames(names, from.names) : names
-}
-
-function optimizeExpr<T extends SafeExpr | Code>(expr: T, names: UsedNames, constants: Constants): T
-function optimizeExpr(expr: SafeExpr, names: UsedNames, constants: Constants): SafeExpr {
- if (expr instanceof Name) return replaceName(expr)
- if (!canOptimize(expr)) return expr
- return new _Code(
- expr._items.reduce((items: CodeItem[], c: SafeExpr | string) => {
- if (c instanceof Name) c = replaceName(c)
- if (c instanceof _Code) items.push(...c._items)
- else items.push(c)
- return items
- }, [])
- )
-
- function replaceName(n: Name): SafeExpr {
- const c = constants[n.str]
- if (c === undefined || names[n.str] !== 1) return n
- delete names[n.str]
- return c
- }
-
- function canOptimize(e: SafeExpr): e is _Code {
- return (
- e instanceof _Code &&
- e._items.some(
- (c) => c instanceof Name && names[c.str] === 1 && constants[c.str] !== undefined
- )
- )
- }
-}
-
-function subtractNames(names: UsedNames, from: UsedNames): void {
- for (const n in from) names[n] = (names[n] || 0) - (from[n] || 0)
-}
-
-export function not<T extends Code | SafeExpr>(x: T): T
-export function not(x: Code | SafeExpr): Code | SafeExpr {
- return typeof x == "boolean" || typeof x == "number" || x === null ? !x : _`!${par(x)}`
-}
-
-const andCode = mappend(operators.AND)
-
-// boolean AND (&&) expression with the passed arguments
-export function and(...args: Code[]): Code {
- return args.reduce(andCode)
-}
-
-const orCode = mappend(operators.OR)
-
-// boolean OR (||) expression with the passed arguments
-export function or(...args: Code[]): Code {
- return args.reduce(orCode)
-}
-
-type MAppend = (x: Code, y: Code) => Code
-
-function mappend(op: Code): MAppend {
- return (x, y) => (x === nil ? y : y === nil ? x : _`${par(x)} ${op} ${par(y)}`)
-}
-
-function par(x: Code): Code {
- return x instanceof Name ? x : _`(${x})`
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/scope.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/scope.ts
deleted file mode 100644
index 51199229..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/codegen/scope.ts
+++ /dev/null
@@ -1,215 +0,0 @@
-import {_, nil, Code, Name} from "./code"
-
-interface NameGroup {
- prefix: string
- index: number
-}
-
-export interface NameValue {
- ref: ValueReference // this is the reference to any value that can be referred to from generated code via `globals` var in the closure
- key?: unknown // any key to identify a global to avoid duplicates, if not passed ref is used
- code?: Code // this is the code creating the value needed for standalone code wit_out closure - can be a primitive value, function or import (`require`)
-}
-
-export type ValueReference = unknown // possibly make CodeGen parameterized type on this type
-
-class ValueError extends Error {
- readonly value?: NameValue
- constructor(name: ValueScopeName) {
- super(`CodeGen: "code" for ${name} not defined`)
- this.value = name.value
- }
-}
-
-interface ScopeOptions {
- prefixes?: Set<string>
- parent?: Scope
-}
-
-interface ValueScopeOptions extends ScopeOptions {
- scope: ScopeStore
- es5?: boolean
- lines?: boolean
-}
-
-export type ScopeStore = Record<string, ValueReference[] | undefined>
-
-type ScopeValues = {
- [Prefix in string]?: Map<unknown, ValueScopeName>
-}
-
-export type ScopeValueSets = {
- [Prefix in string]?: Set<ValueScopeName>
-}
-
-export enum UsedValueState {
- Started,
- Completed,
-}
-
-export type UsedScopeValues = {
- [Prefix in string]?: Map<ValueScopeName, UsedValueState | undefined>
-}
-
-export const varKinds = {
- const: new Name("const"),
- let: new Name("let"),
- var: new Name("var"),
-}
-
-export class Scope {
- protected readonly _names: {[Prefix in string]?: NameGroup} = {}
- protected readonly _prefixes?: Set<string>
- protected readonly _parent?: Scope
-
- constructor({prefixes, parent}: ScopeOptions = {}) {
- this._prefixes = prefixes
- this._parent = parent
- }
-
- toName(nameOrPrefix: Name | string): Name {
- return nameOrPrefix instanceof Name ? nameOrPrefix : this.name(nameOrPrefix)
- }
-
- name(prefix: string): Name {
- return new Name(this._newName(prefix))
- }
-
- protected _newName(prefix: string): string {
- const ng = this._names[prefix] || this._nameGroup(prefix)
- return `${prefix}${ng.index++}`
- }
-
- private _nameGroup(prefix: string): NameGroup {
- if (this._parent?._prefixes?.has(prefix) || (this._prefixes && !this._prefixes.has(prefix))) {
- throw new Error(`CodeGen: prefix "${prefix}" is not allowed in this scope`)
- }
- return (this._names[prefix] = {prefix, index: 0})
- }
-}
-
-interface ScopePath {
- property: string
- itemIndex: number
-}
-
-export class ValueScopeName extends Name {
- readonly prefix: string
- value?: NameValue
- scopePath?: Code
-
- constructor(prefix: string, nameStr: string) {
- super(nameStr)
- this.prefix = prefix
- }
-
- setValue(value: NameValue, {property, itemIndex}: ScopePath): void {
- this.value = value
- this.scopePath = _`.${new Name(property)}[${itemIndex}]`
- }
-}
-
-interface VSOptions extends ValueScopeOptions {
- _n: Code
-}
-
-const line = _`\n`
-
-export class ValueScope extends Scope {
- protected readonly _values: ScopeValues = {}
- protected readonly _scope: ScopeStore
- readonly opts: VSOptions
-
- constructor(opts: ValueScopeOptions) {
- super(opts)
- this._scope = opts.scope
- this.opts = {...opts, _n: opts.lines ? line : nil}
- }
-
- get(): ScopeStore {
- return this._scope
- }
-
- name(prefix: string): ValueScopeName {
- return new ValueScopeName(prefix, this._newName(prefix))
- }
-
- value(nameOrPrefix: ValueScopeName | string, value: NameValue): ValueScopeName {
- if (value.ref === undefined) throw new Error("CodeGen: ref must be passed in value")
- const name = this.toName(nameOrPrefix) as ValueScopeName
- const {prefix} = name
- const valueKey = value.key ?? value.ref
- let vs = this._values[prefix]
- if (vs) {
- const _name = vs.get(valueKey)
- if (_name) return _name
- } else {
- vs = this._values[prefix] = new Map()
- }
- vs.set(valueKey, name)
-
- const s = this._scope[prefix] || (this._scope[prefix] = [])
- const itemIndex = s.length
- s[itemIndex] = value.ref
- name.setValue(value, {property: prefix, itemIndex})
- return name
- }
-
- getValue(prefix: string, keyOrRef: unknown): ValueScopeName | undefined {
- const vs = this._values[prefix]
- if (!vs) return
- return vs.get(keyOrRef)
- }
-
- scopeRefs(scopeName: Name, values: ScopeValues | ScopeValueSets = this._values): Code {
- return this._reduceValues(values, (name: ValueScopeName) => {
- if (name.scopePath === undefined) throw new Error(`CodeGen: name "${name}" has no value`)
- return _`${scopeName}${name.scopePath}`
- })
- }
-
- scopeCode(
- values: ScopeValues | ScopeValueSets = this._values,
- usedValues?: UsedScopeValues,
- getCode?: (n: ValueScopeName) => Code | undefined
- ): Code {
- return this._reduceValues(
- values,
- (name: ValueScopeName) => {
- if (name.value === undefined) throw new Error(`CodeGen: name "${name}" has no value`)
- return name.value.code
- },
- usedValues,
- getCode
- )
- }
-
- private _reduceValues(
- values: ScopeValues | ScopeValueSets,
- valueCode: (n: ValueScopeName) => Code | undefined,
- usedValues: UsedScopeValues = {},
- getCode?: (n: ValueScopeName) => Code | undefined
- ): Code {
- let code: Code = nil
- for (const prefix in values) {
- const vs = values[prefix]
- if (!vs) continue
- const nameSet = (usedValues[prefix] = usedValues[prefix] || new Map())
- vs.forEach((name: ValueScopeName) => {
- if (nameSet.has(name)) return
- nameSet.set(name, UsedValueState.Started)
- let c = valueCode(name)
- if (c) {
- const def = this.opts.es5 ? varKinds.var : varKinds.const
- code = _`${code}${def} ${name} = ${c};${this.opts._n}`
- } else if ((c = getCode?.(name))) {
- code = _`${code}${c}${this.opts._n}`
- } else {
- throw new ValueError(name)
- }
- nameSet.set(name, UsedValueState.Completed)
- })
- }
- return code
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/errors.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/errors.ts
deleted file mode 100644
index 18424a0f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/errors.ts
+++ /dev/null
@@ -1,184 +0,0 @@
-import type {KeywordErrorCxt, KeywordErrorDefinition} from "../types"
-import type {SchemaCxt} from "./index"
-import {CodeGen, _, str, strConcat, Code, Name} from "./codegen"
-import {SafeExpr} from "./codegen/code"
-import {getErrorPath, Type} from "./util"
-import N from "./names"
-
-export const keywordError: KeywordErrorDefinition = {
- message: ({keyword}) => str`must pass "${keyword}" keyword validation`,
-}
-
-export const keyword$DataError: KeywordErrorDefinition = {
- message: ({keyword, schemaType}) =>
- schemaType
- ? str`"${keyword}" keyword must be ${schemaType} ($data)`
- : str`"${keyword}" keyword is invalid ($data)`,
-}
-
-export interface ErrorPaths {
- instancePath?: Code
- schemaPath?: string
- parentSchema?: boolean
-}
-
-export function reportError(
- cxt: KeywordErrorCxt,
- error: KeywordErrorDefinition = keywordError,
- errorPaths?: ErrorPaths,
- overrideAllErrors?: boolean
-): void {
- const {it} = cxt
- const {gen, compositeRule, allErrors} = it
- const errObj = errorObjectCode(cxt, error, errorPaths)
- if (overrideAllErrors ?? (compositeRule || allErrors)) {
- addError(gen, errObj)
- } else {
- returnErrors(it, _`[${errObj}]`)
- }
-}
-
-export function reportExtraError(
- cxt: KeywordErrorCxt,
- error: KeywordErrorDefinition = keywordError,
- errorPaths?: ErrorPaths
-): void {
- const {it} = cxt
- const {gen, compositeRule, allErrors} = it
- const errObj = errorObjectCode(cxt, error, errorPaths)
- addError(gen, errObj)
- if (!(compositeRule || allErrors)) {
- returnErrors(it, N.vErrors)
- }
-}
-
-export function resetErrorsCount(gen: CodeGen, errsCount: Name): void {
- gen.assign(N.errors, errsCount)
- gen.if(_`${N.vErrors} !== null`, () =>
- gen.if(
- errsCount,
- () => gen.assign(_`${N.vErrors}.length`, errsCount),
- () => gen.assign(N.vErrors, null)
- )
- )
-}
-
-export function extendErrors({
- gen,
- keyword,
- schemaValue,
- data,
- errsCount,
- it,
-}: KeywordErrorCxt): void {
- /* istanbul ignore if */
- if (errsCount === undefined) throw new Error("ajv implementation error")
- const err = gen.name("err")
- gen.forRange("i", errsCount, N.errors, (i) => {
- gen.const(err, _`${N.vErrors}[${i}]`)
- gen.if(_`${err}.instancePath === undefined`, () =>
- gen.assign(_`${err}.instancePath`, strConcat(N.instancePath, it.errorPath))
- )
- gen.assign(_`${err}.schemaPath`, str`${it.errSchemaPath}/${keyword}`)
- if (it.opts.verbose) {
- gen.assign(_`${err}.schema`, schemaValue)
- gen.assign(_`${err}.data`, data)
- }
- })
-}
-
-function addError(gen: CodeGen, errObj: Code): void {
- const err = gen.const("err", errObj)
- gen.if(
- _`${N.vErrors} === null`,
- () => gen.assign(N.vErrors, _`[${err}]`),
- _`${N.vErrors}.push(${err})`
- )
- gen.code(_`${N.errors}++`)
-}
-
-function returnErrors(it: SchemaCxt, errs: Code): void {
- const {gen, validateName, schemaEnv} = it
- if (schemaEnv.$async) {
- gen.throw(_`new ${it.ValidationError as Name}(${errs})`)
- } else {
- gen.assign(_`${validateName}.errors`, errs)
- gen.return(false)
- }
-}
-
-const E = {
- keyword: new Name("keyword"),
- schemaPath: new Name("schemaPath"), // also used in JTD errors
- params: new Name("params"),
- propertyName: new Name("propertyName"),
- message: new Name("message"),
- schema: new Name("schema"),
- parentSchema: new Name("parentSchema"),
-}
-
-function errorObjectCode(
- cxt: KeywordErrorCxt,
- error: KeywordErrorDefinition,
- errorPaths?: ErrorPaths
-): Code {
- const {createErrors} = cxt.it
- if (createErrors === false) return _`{}`
- return errorObject(cxt, error, errorPaths)
-}
-
-function errorObject(
- cxt: KeywordErrorCxt,
- error: KeywordErrorDefinition,
- errorPaths: ErrorPaths = {}
-): Code {
- const {gen, it} = cxt
- const keyValues: [Name, SafeExpr | string][] = [
- errorInstancePath(it, errorPaths),
- errorSchemaPath(cxt, errorPaths),
- ]
- extraErrorProps(cxt, error, keyValues)
- return gen.object(...keyValues)
-}
-
-function errorInstancePath({errorPath}: SchemaCxt, {instancePath}: ErrorPaths): [Name, Code] {
- const instPath = instancePath
- ? str`${errorPath}${getErrorPath(instancePath, Type.Str)}`
- : errorPath
- return [N.instancePath, strConcat(N.instancePath, instPath)]
-}
-
-function errorSchemaPath(
- {keyword, it: {errSchemaPath}}: KeywordErrorCxt,
- {schemaPath, parentSchema}: ErrorPaths
-): [Name, string | Code] {
- let schPath = parentSchema ? errSchemaPath : str`${errSchemaPath}/${keyword}`
- if (schemaPath) {
- schPath = str`${schPath}${getErrorPath(schemaPath, Type.Str)}`
- }
- return [E.schemaPath, schPath]
-}
-
-function extraErrorProps(
- cxt: KeywordErrorCxt,
- {params, message}: KeywordErrorDefinition,
- keyValues: [Name, SafeExpr | string][]
-): void {
- const {keyword, data, schemaValue, it} = cxt
- const {opts, propertyName, topSchemaRef, schemaPath} = it
- keyValues.push(
- [E.keyword, keyword],
- [E.params, typeof params == "function" ? params(cxt) : params || _`{}`]
- )
- if (opts.messages) {
- keyValues.push([E.message, typeof message == "function" ? message(cxt) : message])
- }
- if (opts.verbose) {
- keyValues.push(
- [E.schema, schemaValue],
- [E.parentSchema, _`${topSchemaRef}${schemaPath}`],
- [N.data, data]
- )
- }
- if (propertyName) keyValues.push([E.propertyName, propertyName])
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/index.ts
deleted file mode 100644
index ebdbe3c7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/index.ts
+++ /dev/null
@@ -1,324 +0,0 @@
-import type {
- AnySchema,
- AnySchemaObject,
- AnyValidateFunction,
- AsyncValidateFunction,
- EvaluatedProperties,
- EvaluatedItems,
-} from "../types"
-import type Ajv from "../core"
-import type {InstanceOptions} from "../core"
-import {CodeGen, _, nil, stringify, Name, Code, ValueScopeName} from "./codegen"
-import ValidationError from "../runtime/validation_error"
-import N from "./names"
-import {LocalRefs, getFullPath, _getFullPath, inlineRef, normalizeId, resolveUrl} from "./resolve"
-import {schemaHasRulesButRef, unescapeFragment} from "./util"
-import {validateFunctionCode} from "./validate"
-import * as URI from "uri-js"
-import {JSONType} from "./rules"
-
-export type SchemaRefs = {
- [Ref in string]?: SchemaEnv | AnySchema
-}
-
-export interface SchemaCxt {
- readonly gen: CodeGen
- readonly allErrors?: boolean // validation mode - whether to collect all errors or break on error
- readonly data: Name // Name with reference to the current part of data instance
- readonly parentData: Name // should be used in keywords modifying data
- readonly parentDataProperty: Code | number // should be used in keywords modifying data
- readonly dataNames: Name[]
- readonly dataPathArr: (Code | number)[]
- readonly dataLevel: number // the level of the currently validated data,
- // it can be used to access both the property names and the data on all levels from the top.
- dataTypes: JSONType[] // data types applied to the current part of data instance
- definedProperties: Set<string> // set of properties to keep track of for required checks
- readonly topSchemaRef: Code
- readonly validateName: Name
- evaluated?: Name
- readonly ValidationError?: Name
- readonly schema: AnySchema // current schema object - equal to parentSchema passed via KeywordCxt
- readonly schemaEnv: SchemaEnv
- readonly rootId: string
- baseId: string // the current schema base URI that should be used as the base for resolving URIs in references (\$ref)
- readonly schemaPath: Code // the run-time expression that evaluates to the property name of the current schema
- readonly errSchemaPath: string // this is actual string, should not be changed to Code
- readonly errorPath: Code
- readonly propertyName?: Name
- readonly compositeRule?: boolean // true indicates that the current schema is inside the compound keyword,
- // where failing some rule doesn't mean validation failure (`anyOf`, `oneOf`, `not`, `if`).
- // This flag is used to determine whether you can return validation result immediately after any error in case the option `allErrors` is not `true.
- // You only need to use it if you have many steps in your keywords and potentially can define multiple errors.
- props?: EvaluatedProperties | Name // properties evaluated by this schema - used by parent schema or assigned to validation function
- items?: EvaluatedItems | Name // last item evaluated by this schema - used by parent schema or assigned to validation function
- jtdDiscriminator?: string
- jtdMetadata?: boolean
- readonly createErrors?: boolean
- readonly opts: InstanceOptions // Ajv instance option.
- readonly self: Ajv // current Ajv instance
-}
-
-export interface SchemaObjCxt extends SchemaCxt {
- readonly schema: AnySchemaObject
-}
-interface SchemaEnvArgs {
- readonly schema: AnySchema
- readonly schemaId?: "$id" | "id"
- readonly root?: SchemaEnv
- readonly baseId?: string
- readonly schemaPath?: string
- readonly localRefs?: LocalRefs
- readonly meta?: boolean
-}
-
-export class SchemaEnv implements SchemaEnvArgs {
- readonly schema: AnySchema
- readonly schemaId?: "$id" | "id"
- readonly root: SchemaEnv
- baseId: string // TODO possibly, it should be readonly
- schemaPath?: string
- localRefs?: LocalRefs
- readonly meta?: boolean
- readonly $async?: boolean // true if the current schema is asynchronous.
- readonly refs: SchemaRefs = {}
- readonly dynamicAnchors: {[Ref in string]?: true} = {}
- validate?: AnyValidateFunction
- validateName?: ValueScopeName
- serialize?: (data: unknown) => string
- serializeName?: ValueScopeName
- parse?: (data: string) => unknown
- parseName?: ValueScopeName
-
- constructor(env: SchemaEnvArgs) {
- let schema: AnySchemaObject | undefined
- if (typeof env.schema == "object") schema = env.schema
- this.schema = env.schema
- this.schemaId = env.schemaId
- this.root = env.root || this
- this.baseId = env.baseId ?? normalizeId(schema?.[env.schemaId || "$id"])
- this.schemaPath = env.schemaPath
- this.localRefs = env.localRefs
- this.meta = env.meta
- this.$async = schema?.$async
- this.refs = {}
- }
-}
-
-// let codeSize = 0
-// let nodeCount = 0
-
-// Compiles schema in SchemaEnv
-export function compileSchema(this: Ajv, sch: SchemaEnv): SchemaEnv {
- // TODO refactor - remove compilations
- const _sch = getCompilingSchema.call(this, sch)
- if (_sch) return _sch
- const rootId = getFullPath(sch.root.baseId) // TODO if getFullPath removed 1 tests fails
- const {es5, lines} = this.opts.code
- const {ownProperties} = this.opts
- const gen = new CodeGen(this.scope, {es5, lines, ownProperties})
- let _ValidationError
- if (sch.$async) {
- _ValidationError = gen.scopeValue("Error", {
- ref: ValidationError,
- code: _`require("ajv/dist/runtime/validation_error").default`,
- })
- }
-
- const validateName = gen.scopeName("validate")
- sch.validateName = validateName
-
- const schemaCxt: SchemaCxt = {
- gen,
- allErrors: this.opts.allErrors,
- data: N.data,
- parentData: N.parentData,
- parentDataProperty: N.parentDataProperty,
- dataNames: [N.data],
- dataPathArr: [nil], // TODO can its length be used as dataLevel if nil is removed?
- dataLevel: 0,
- dataTypes: [],
- definedProperties: new Set<string>(),
- topSchemaRef: gen.scopeValue(
- "schema",
- this.opts.code.source === true
- ? {ref: sch.schema, code: stringify(sch.schema)}
- : {ref: sch.schema}
- ),
- validateName,
- ValidationError: _ValidationError,
- schema: sch.schema,
- schemaEnv: sch,
- rootId,
- baseId: sch.baseId || rootId,
- schemaPath: nil,
- errSchemaPath: sch.schemaPath || (this.opts.jtd ? "" : "#"),
- errorPath: _`""`,
- opts: this.opts,
- self: this,
- }
-
- let sourceCode: string | undefined
- try {
- this._compilations.add(sch)
- validateFunctionCode(schemaCxt)
- gen.optimize(this.opts.code.optimize)
- // gen.optimize(1)
- const validateCode = gen.toString()
- sourceCode = `${gen.scopeRefs(N.scope)}return ${validateCode}`
- // console.log((codeSize += sourceCode.length), (nodeCount += gen.nodeCount))
- if (this.opts.code.process) sourceCode = this.opts.code.process(sourceCode, sch)
- // console.log("\n\n\n *** \n", sourceCode)
- const makeValidate = new Function(`${N.self}`, `${N.scope}`, sourceCode)
- const validate: AnyValidateFunction = makeValidate(this, this.scope.get())
- this.scope.value(validateName, {ref: validate})
-
- validate.errors = null
- validate.schema = sch.schema
- validate.schemaEnv = sch
- if (sch.$async) (validate as AsyncValidateFunction).$async = true
- if (this.opts.code.source === true) {
- validate.source = {validateName, validateCode, scopeValues: gen._values}
- }
- if (this.opts.unevaluated) {
- const {props, items} = schemaCxt
- validate.evaluated = {
- props: props instanceof Name ? undefined : props,
- items: items instanceof Name ? undefined : items,
- dynamicProps: props instanceof Name,
- dynamicItems: items instanceof Name,
- }
- if (validate.source) validate.source.evaluated = stringify(validate.evaluated)
- }
- sch.validate = validate
- return sch
- } catch (e) {
- delete sch.validate
- delete sch.validateName
- if (sourceCode) this.logger.error("Error compiling schema, function code:", sourceCode)
- // console.log("\n\n\n *** \n", sourceCode, this.opts)
- throw e
- } finally {
- this._compilations.delete(sch)
- }
-}
-
-export function resolveRef(
- this: Ajv,
- root: SchemaEnv,
- baseId: string,
- ref: string
-): AnySchema | SchemaEnv | undefined {
- ref = resolveUrl(baseId, ref)
- const schOrFunc = root.refs[ref]
- if (schOrFunc) return schOrFunc
-
- let _sch = resolve.call(this, root, ref)
- if (_sch === undefined) {
- const schema = root.localRefs?.[ref] // TODO maybe localRefs should hold SchemaEnv
- const {schemaId} = this.opts
- if (schema) _sch = new SchemaEnv({schema, schemaId, root, baseId})
- }
-
- if (_sch === undefined) return
- return (root.refs[ref] = inlineOrCompile.call(this, _sch))
-}
-
-function inlineOrCompile(this: Ajv, sch: SchemaEnv): AnySchema | SchemaEnv {
- if (inlineRef(sch.schema, this.opts.inlineRefs)) return sch.schema
- return sch.validate ? sch : compileSchema.call(this, sch)
-}
-
-// Index of schema compilation in the currently compiled list
-export function getCompilingSchema(this: Ajv, schEnv: SchemaEnv): SchemaEnv | void {
- for (const sch of this._compilations) {
- if (sameSchemaEnv(sch, schEnv)) return sch
- }
-}
-
-function sameSchemaEnv(s1: SchemaEnv, s2: SchemaEnv): boolean {
- return s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId
-}
-
-// resolve and compile the references ($ref)
-// TODO returns AnySchemaObject (if the schema can be inlined) or validation function
-function resolve(
- this: Ajv,
- root: SchemaEnv, // information about the root schema for the current schema
- ref: string // reference to resolve
-): SchemaEnv | undefined {
- let sch
- while (typeof (sch = this.refs[ref]) == "string") ref = sch
- return sch || this.schemas[ref] || resolveSchema.call(this, root, ref)
-}
-
-// Resolve schema, its root and baseId
-export function resolveSchema(
- this: Ajv,
- root: SchemaEnv, // root object with properties schema, refs TODO below SchemaEnv is assigned to it
- ref: string // reference to resolve
-): SchemaEnv | undefined {
- const p = URI.parse(ref)
- const refPath = _getFullPath(p)
- let baseId = getFullPath(root.baseId)
- // TODO `Object.keys(root.schema).length > 0` should not be needed - but removing breaks 2 tests
- if (Object.keys(root.schema).length > 0 && refPath === baseId) {
- return getJsonPointer.call(this, p, root)
- }
-
- const id = normalizeId(refPath)
- const schOrRef = this.refs[id] || this.schemas[id]
- if (typeof schOrRef == "string") {
- const sch = resolveSchema.call(this, root, schOrRef)
- if (typeof sch?.schema !== "object") return
- return getJsonPointer.call(this, p, sch)
- }
-
- if (typeof schOrRef?.schema !== "object") return
- if (!schOrRef.validate) compileSchema.call(this, schOrRef)
- if (id === normalizeId(ref)) {
- const {schema} = schOrRef
- const {schemaId} = this.opts
- const schId = schema[schemaId]
- if (schId) baseId = resolveUrl(baseId, schId)
- return new SchemaEnv({schema, schemaId, root, baseId})
- }
- return getJsonPointer.call(this, p, schOrRef)
-}
-
-const PREVENT_SCOPE_CHANGE = new Set([
- "properties",
- "patternProperties",
- "enum",
- "dependencies",
- "definitions",
-])
-
-function getJsonPointer(
- this: Ajv,
- parsedRef: URI.URIComponents,
- {baseId, schema, root}: SchemaEnv
-): SchemaEnv | undefined {
- if (parsedRef.fragment?.[0] !== "/") return
- for (const part of parsedRef.fragment.slice(1).split("/")) {
- if (typeof schema === "boolean") return
- const partSchema = schema[unescapeFragment(part)]
- if (partSchema === undefined) return
- schema = partSchema
- // TODO PREVENT_SCOPE_CHANGE could be defined in keyword def?
- const schId = typeof schema === "object" && schema[this.opts.schemaId]
- if (!PREVENT_SCOPE_CHANGE.has(part) && schId) {
- baseId = resolveUrl(baseId, schId)
- }
- }
- let env: SchemaEnv | undefined
- if (typeof schema != "boolean" && schema.$ref && !schemaHasRulesButRef(schema, this.RULES)) {
- const $ref = resolveUrl(baseId, schema.$ref)
- env = resolveSchema.call(this, root, $ref)
- }
- // even though resolution failed we need to return SchemaEnv to throw exception
- // so that compileAsync loads missing schema.
- const {schemaId} = this.opts
- env = env || new SchemaEnv({schema, schemaId, root, baseId})
- if (env.schema !== env.root.schema) return env
- return undefined
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/parse.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/parse.ts
deleted file mode 100644
index cd2611e7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/parse.ts
+++ /dev/null
@@ -1,411 +0,0 @@
-import type Ajv from "../../core"
-import type {SchemaObject} from "../../types"
-import {jtdForms, JTDForm, SchemaObjectMap} from "./types"
-import {SchemaEnv, getCompilingSchema} from ".."
-import {_, str, and, or, nil, not, CodeGen, Code, Name, SafeExpr} from "../codegen"
-import MissingRefError from "../ref_error"
-import N from "../names"
-import {hasPropFunc} from "../../vocabularies/code"
-import {hasRef} from "../../vocabularies/jtd/ref"
-import {intRange, IntType} from "../../vocabularies/jtd/type"
-import {parseJson, parseJsonNumber, parseJsonString} from "../../runtime/parseJson"
-import {useFunc} from "../util"
-import validTimestamp from "../../runtime/timestamp"
-
-type GenParse = (cxt: ParseCxt) => void
-
-const genParse: {[F in JTDForm]: GenParse} = {
- elements: parseElements,
- values: parseValues,
- discriminator: parseDiscriminator,
- properties: parseProperties,
- optionalProperties: parseProperties,
- enum: parseEnum,
- type: parseType,
- ref: parseRef,
-}
-
-interface ParseCxt {
- readonly gen: CodeGen
- readonly self: Ajv // current Ajv instance
- readonly schemaEnv: SchemaEnv
- readonly definitions: SchemaObjectMap
- schema: SchemaObject
- data: Code
- parseName: Name
- char: Name
-}
-
-export default function compileParser(
- this: Ajv,
- sch: SchemaEnv,
- definitions: SchemaObjectMap
-): SchemaEnv {
- const _sch = getCompilingSchema.call(this, sch)
- if (_sch) return _sch
- const {es5, lines} = this.opts.code
- const {ownProperties} = this.opts
- const gen = new CodeGen(this.scope, {es5, lines, ownProperties})
- const parseName = gen.scopeName("parse")
- const cxt: ParseCxt = {
- self: this,
- gen,
- schema: sch.schema as SchemaObject,
- schemaEnv: sch,
- definitions,
- data: N.data,
- parseName,
- char: gen.name("c"),
- }
-
- let sourceCode: string | undefined
- try {
- this._compilations.add(sch)
- sch.parseName = parseName
- parserFunction(cxt)
- gen.optimize(this.opts.code.optimize)
- const parseFuncCode = gen.toString()
- sourceCode = `${gen.scopeRefs(N.scope)}return ${parseFuncCode}`
- const makeParse = new Function(`${N.scope}`, sourceCode)
- const parse: (json: string) => unknown = makeParse(this.scope.get())
- this.scope.value(parseName, {ref: parse})
- sch.parse = parse
- } catch (e) {
- if (sourceCode) this.logger.error("Error compiling parser, function code:", sourceCode)
- delete sch.parse
- delete sch.parseName
- throw e
- } finally {
- this._compilations.delete(sch)
- }
- return sch
-}
-
-const undef = _`undefined`
-
-function parserFunction(cxt: ParseCxt): void {
- const {gen, parseName, char} = cxt
- gen.func(parseName, _`${N.json}, ${N.jsonPos}, ${N.jsonPart}`, false, () => {
- gen.let(N.data)
- gen.let(char)
- gen.assign(_`${parseName}.message`, undef)
- gen.assign(_`${parseName}.position`, undef)
- gen.assign(N.jsonPos, _`${N.jsonPos} || 0`)
- gen.const(N.jsonLen, _`${N.json}.length`)
- parseCode(cxt)
- skipWhitespace(cxt)
- gen.if(N.jsonPart, () => {
- gen.assign(_`${parseName}.position`, N.jsonPos)
- gen.return(N.data)
- })
- gen.if(_`${N.jsonPos} === ${N.jsonLen}`, () => gen.return(N.data))
- jsonSyntaxError(cxt)
- })
-}
-
-function parseCode(cxt: ParseCxt): void {
- let form: JTDForm | undefined
- for (const key of jtdForms) {
- if (key in cxt.schema) {
- form = key
- break
- }
- }
- if (form) parseNullable(cxt, genParse[form])
- else parseEmpty(cxt)
-}
-
-const parseBoolean = parseBooleanToken(true, parseBooleanToken(false, jsonSyntaxError))
-
-function parseNullable(cxt: ParseCxt, parseForm: GenParse): void {
- const {gen, schema, data} = cxt
- if (!schema.nullable) return parseForm(cxt)
- tryParseToken(cxt, "null", parseForm, () => gen.assign(data, null))
-}
-
-function parseElements(cxt: ParseCxt): void {
- const {gen, schema, data} = cxt
- parseToken(cxt, "[")
- const ix = gen.let("i", 0)
- gen.assign(data, _`[]`)
- parseItems(cxt, "]", () => {
- const el = gen.let("el")
- parseCode({...cxt, schema: schema.elements, data: el})
- gen.assign(_`${data}[${ix}++]`, el)
- })
-}
-
-function parseValues(cxt: ParseCxt): void {
- const {gen, schema, data} = cxt
- parseToken(cxt, "{")
- gen.assign(data, _`{}`)
- parseItems(cxt, "}", () => parseKeyValue(cxt, schema.values))
-}
-
-function parseItems(cxt: ParseCxt, endToken: string, block: () => void): void {
- tryParseItems(cxt, endToken, block)
- parseToken(cxt, endToken)
-}
-
-function tryParseItems(cxt: ParseCxt, endToken: string, block: () => void): void {
- const {gen} = cxt
- gen.for(_`;${N.jsonPos}<${N.jsonLen} && ${jsonSlice(1)}!==${endToken};`, () => {
- block()
- tryParseToken(cxt, ",", () => gen.break(), hasItem)
- })
-
- function hasItem(): void {
- tryParseToken(cxt, endToken, () => {}, jsonSyntaxError)
- }
-}
-
-function parseKeyValue(cxt: ParseCxt, schema: SchemaObject): void {
- const {gen} = cxt
- const key = gen.let("key")
- parseString({...cxt, data: key})
- parseToken(cxt, ":")
- parsePropertyValue(cxt, key, schema)
-}
-
-function parseDiscriminator(cxt: ParseCxt): void {
- const {gen, data, schema} = cxt
- const {discriminator, mapping} = schema
- parseToken(cxt, "{")
- gen.assign(data, _`{}`)
- const startPos = gen.const("pos", N.jsonPos)
- const value = gen.let("value")
- const tag = gen.let("tag")
- tryParseItems(cxt, "}", () => {
- const key = gen.let("key")
- parseString({...cxt, data: key})
- parseToken(cxt, ":")
- gen.if(
- _`${key} === ${discriminator}`,
- () => {
- parseString({...cxt, data: tag})
- gen.assign(_`${data}[${key}]`, tag)
- gen.break()
- },
- () => parseEmpty({...cxt, data: value}) // can be discarded/skipped
- )
- })
- gen.assign(N.jsonPos, startPos)
- gen.if(_`${tag} === undefined`)
- parsingError(cxt, str`discriminator tag not found`)
- for (const tagValue in mapping) {
- gen.elseIf(_`${tag} === ${tagValue}`)
- parseSchemaProperties({...cxt, schema: mapping[tagValue]}, discriminator)
- }
- gen.else()
- parsingError(cxt, str`discriminator value not in schema`)
- gen.endIf()
-}
-
-function parseProperties(cxt: ParseCxt): void {
- const {gen, data} = cxt
- parseToken(cxt, "{")
- gen.assign(data, _`{}`)
- parseSchemaProperties(cxt)
-}
-
-function parseSchemaProperties(cxt: ParseCxt, discriminator?: string): void {
- const {gen, schema, data} = cxt
- const {properties, optionalProperties, additionalProperties} = schema
- parseItems(cxt, "}", () => {
- const key = gen.let("key")
- parseString({...cxt, data: key})
- parseToken(cxt, ":")
- gen.if(false)
- parseDefinedProperty(cxt, key, properties)
- parseDefinedProperty(cxt, key, optionalProperties)
- if (discriminator) {
- gen.elseIf(_`${key} === ${discriminator}`)
- const tag = gen.let("tag")
- parseString({...cxt, data: tag}) // can be discarded, it is already assigned
- }
- gen.else()
- if (additionalProperties) {
- parseEmpty({...cxt, data: _`${data}[${key}]`})
- } else {
- parsingError(cxt, str`property ${key} not allowed`)
- }
- gen.endIf()
- })
- if (properties) {
- const hasProp = hasPropFunc(gen)
- const allProps: Code = and(
- ...Object.keys(properties).map((p): Code => _`${hasProp}.call(${data}, ${p})`)
- )
- gen.if(not(allProps), () => parsingError(cxt, str`missing required properties`))
- }
-}
-
-function parseDefinedProperty(cxt: ParseCxt, key: Name, schemas: SchemaObjectMap = {}): void {
- const {gen} = cxt
- for (const prop in schemas) {
- gen.elseIf(_`${key} === ${prop}`)
- parsePropertyValue(cxt, key, schemas[prop] as SchemaObject)
- }
-}
-
-function parsePropertyValue(cxt: ParseCxt, key: Name, schema: SchemaObject): void {
- parseCode({...cxt, schema, data: _`${cxt.data}[${key}]`})
-}
-
-function parseType(cxt: ParseCxt): void {
- const {gen, schema, data, self} = cxt
- switch (schema.type) {
- case "boolean":
- parseBoolean(cxt)
- break
- case "string":
- parseString(cxt)
- break
- case "timestamp": {
- parseString(cxt)
- const vts = useFunc(gen, validTimestamp)
- const {allowDate, parseDate} = self.opts
- const notValid = allowDate ? _`!${vts}(${data}, true)` : _`!${vts}(${data})`
- const fail: Code = parseDate
- ? or(notValid, _`(${data} = new Date(${data}), false)`, _`isNaN(${data}.valueOf())`)
- : notValid
- gen.if(fail, () => parsingError(cxt, str`invalid timestamp`))
- break
- }
- case "float32":
- case "float64":
- parseNumber(cxt)
- break
- default: {
- const t = schema.type as IntType
- if (!self.opts.int32range && (t === "int32" || t === "uint32")) {
- parseNumber(cxt, 16) // 2 ** 53 - max safe integer
- if (t === "uint32") {
- gen.if(_`${data} < 0`, () => parsingError(cxt, str`integer out of range`))
- }
- } else {
- const [min, max, maxDigits] = intRange[t]
- parseNumber(cxt, maxDigits)
- gen.if(_`${data} < ${min} || ${data} > ${max}`, () =>
- parsingError(cxt, str`integer out of range`)
- )
- }
- }
- }
-}
-
-function parseString(cxt: ParseCxt): void {
- parseToken(cxt, '"')
- parseWith(cxt, parseJsonString)
-}
-
-function parseEnum(cxt: ParseCxt): void {
- const {gen, data, schema} = cxt
- const enumSch = schema.enum
- parseToken(cxt, '"')
- // TODO loopEnum
- gen.if(false)
- for (const value of enumSch) {
- const valueStr = JSON.stringify(value).slice(1) // remove starting quote
- gen.elseIf(_`${jsonSlice(valueStr.length)} === ${valueStr}`)
- gen.assign(data, str`${value}`)
- gen.add(N.jsonPos, valueStr.length)
- }
- gen.else()
- jsonSyntaxError(cxt)
- gen.endIf()
-}
-
-function parseNumber(cxt: ParseCxt, maxDigits?: number): void {
- const {gen} = cxt
- skipWhitespace(cxt)
- gen.if(
- _`"-0123456789".indexOf(${jsonSlice(1)}) < 0`,
- () => jsonSyntaxError(cxt),
- () => parseWith(cxt, parseJsonNumber, maxDigits)
- )
-}
-
-function parseBooleanToken(bool: boolean, fail: GenParse): GenParse {
- return (cxt) => {
- const {gen, data} = cxt
- tryParseToken(
- cxt,
- `${bool}`,
- () => fail(cxt),
- () => gen.assign(data, bool)
- )
- }
-}
-
-function parseRef(cxt: ParseCxt): void {
- const {gen, self, definitions, schema, schemaEnv} = cxt
- const {ref} = schema
- const refSchema = definitions[ref]
- if (!refSchema) throw new MissingRefError("", ref, `No definition ${ref}`)
- if (!hasRef(refSchema)) return parseCode({...cxt, schema: refSchema})
- const {root} = schemaEnv
- const sch = compileParser.call(self, new SchemaEnv({schema: refSchema, root}), definitions)
- partialParse(cxt, getParser(gen, sch), true)
-}
-
-function getParser(gen: CodeGen, sch: SchemaEnv): Code {
- return sch.parse
- ? gen.scopeValue("parse", {ref: sch.parse})
- : _`${gen.scopeValue("wrapper", {ref: sch})}.parse`
-}
-
-function parseEmpty(cxt: ParseCxt): void {
- parseWith(cxt, parseJson)
-}
-
-function parseWith(cxt: ParseCxt, parseFunc: {code: string}, args?: SafeExpr): void {
- partialParse(cxt, useFunc(cxt.gen, parseFunc), args)
-}
-
-function partialParse(cxt: ParseCxt, parseFunc: Name, args?: SafeExpr): void {
- const {gen, data} = cxt
- gen.assign(data, _`${parseFunc}(${N.json}, ${N.jsonPos}${args ? _`, ${args}` : nil})`)
- gen.assign(N.jsonPos, _`${parseFunc}.position`)
- gen.if(_`${data} === undefined`, () => parsingError(cxt, _`${parseFunc}.message`))
-}
-
-function parseToken(cxt: ParseCxt, tok: string): void {
- tryParseToken(cxt, tok, jsonSyntaxError)
-}
-
-function tryParseToken(cxt: ParseCxt, tok: string, fail: GenParse, success?: GenParse): void {
- const {gen} = cxt
- const n = tok.length
- skipWhitespace(cxt)
- gen.if(
- _`${jsonSlice(n)} === ${tok}`,
- () => {
- gen.add(N.jsonPos, n)
- success?.(cxt)
- },
- () => fail(cxt)
- )
-}
-
-function skipWhitespace({gen, char: c}: ParseCxt): void {
- gen.code(
- _`while((${c}=${N.json}[${N.jsonPos}],${c}===" "||${c}==="\\n"||${c}==="\\r"||${c}==="\\t"))${N.jsonPos}++;`
- )
-}
-
-function jsonSlice(len: number | Name): Code {
- return len === 1
- ? _`${N.json}[${N.jsonPos}]`
- : _`${N.json}.slice(${N.jsonPos}, ${N.jsonPos}+${len})`
-}
-
-function jsonSyntaxError(cxt: ParseCxt): void {
- parsingError(cxt, _`"unexpected token " + ${N.json}[${N.jsonPos}]`)
-}
-
-function parsingError({gen, parseName}: ParseCxt, msg: Code): void {
- gen.assign(_`${parseName}.message`, msg)
- gen.assign(_`${parseName}.position`, N.jsonPos)
- gen.return(undef)
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/serialize.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/serialize.ts
deleted file mode 100644
index a8b36bd8..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/serialize.ts
+++ /dev/null
@@ -1,260 +0,0 @@
-import type Ajv from "../../core"
-import type {SchemaObject} from "../../types"
-import {jtdForms, JTDForm, SchemaObjectMap} from "./types"
-import {SchemaEnv, getCompilingSchema} from ".."
-import {_, str, and, getProperty, CodeGen, Code, Name} from "../codegen"
-import MissingRefError from "../ref_error"
-import N from "../names"
-import {isOwnProperty} from "../../vocabularies/code"
-import {hasRef} from "../../vocabularies/jtd/ref"
-import {useFunc} from "../util"
-import quote from "../../runtime/quote"
-
-const genSerialize: {[F in JTDForm]: (cxt: SerializeCxt) => void} = {
- elements: serializeElements,
- values: serializeValues,
- discriminator: serializeDiscriminator,
- properties: serializeProperties,
- optionalProperties: serializeProperties,
- enum: serializeString,
- type: serializeType,
- ref: serializeRef,
-}
-
-interface SerializeCxt {
- readonly gen: CodeGen
- readonly self: Ajv // current Ajv instance
- readonly schemaEnv: SchemaEnv
- readonly definitions: SchemaObjectMap
- schema: SchemaObject
- data: Code
-}
-
-export default function compileSerializer(
- this: Ajv,
- sch: SchemaEnv,
- definitions: SchemaObjectMap
-): SchemaEnv {
- const _sch = getCompilingSchema.call(this, sch)
- if (_sch) return _sch
- const {es5, lines} = this.opts.code
- const {ownProperties} = this.opts
- const gen = new CodeGen(this.scope, {es5, lines, ownProperties})
- const serializeName = gen.scopeName("serialize")
- const cxt: SerializeCxt = {
- self: this,
- gen,
- schema: sch.schema as SchemaObject,
- schemaEnv: sch,
- definitions,
- data: N.data,
- }
-
- let sourceCode: string | undefined
- try {
- this._compilations.add(sch)
- sch.serializeName = serializeName
- gen.func(serializeName, N.data, false, () => {
- gen.let(N.json, str``)
- serializeCode(cxt)
- gen.return(N.json)
- })
- gen.optimize(this.opts.code.optimize)
- const serializeFuncCode = gen.toString()
- sourceCode = `${gen.scopeRefs(N.scope)}return ${serializeFuncCode}`
- const makeSerialize = new Function(`${N.scope}`, sourceCode)
- const serialize: (data: unknown) => string = makeSerialize(this.scope.get())
- this.scope.value(serializeName, {ref: serialize})
- sch.serialize = serialize
- } catch (e) {
- if (sourceCode) this.logger.error("Error compiling serializer, function code:", sourceCode)
- delete sch.serialize
- delete sch.serializeName
- throw e
- } finally {
- this._compilations.delete(sch)
- }
- return sch
-}
-
-function serializeCode(cxt: SerializeCxt): void {
- let form: JTDForm | undefined
- for (const key of jtdForms) {
- if (key in cxt.schema) {
- form = key
- break
- }
- }
- serializeNullable(cxt, form ? genSerialize[form] : serializeEmpty)
-}
-
-function serializeNullable(cxt: SerializeCxt, serializeForm: (_cxt: SerializeCxt) => void): void {
- const {gen, schema, data} = cxt
- if (!schema.nullable) return serializeForm(cxt)
- gen.if(
- _`${data} === undefined || ${data} === null`,
- () => gen.add(N.json, _`"null"`),
- () => serializeForm(cxt)
- )
-}
-
-function serializeElements(cxt: SerializeCxt): void {
- const {gen, schema, data} = cxt
- gen.add(N.json, str`[`)
- const first = gen.let("first", true)
- gen.forOf("el", data, (el) => {
- addComma(cxt, first)
- serializeCode({...cxt, schema: schema.elements, data: el})
- })
- gen.add(N.json, str`]`)
-}
-
-function serializeValues(cxt: SerializeCxt): void {
- const {gen, schema, data} = cxt
- gen.add(N.json, str`{`)
- const first = gen.let("first", true)
- gen.forIn("key", data, (key) => serializeKeyValue(cxt, key, schema.values, first))
- gen.add(N.json, str`}`)
-}
-
-function serializeKeyValue(cxt: SerializeCxt, key: Name, schema: SchemaObject, first: Name): void {
- const {gen, data} = cxt
- addComma(cxt, first)
- serializeString({...cxt, data: key})
- gen.add(N.json, str`:`)
- const value = gen.const("value", _`${data}${getProperty(key)}`)
- serializeCode({...cxt, schema, data: value})
-}
-
-function serializeDiscriminator(cxt: SerializeCxt): void {
- const {gen, schema, data} = cxt
- const {discriminator} = schema
- gen.add(N.json, str`{${JSON.stringify(discriminator)}:`)
- const tag = gen.const("tag", _`${data}${getProperty(discriminator)}`)
- serializeString({...cxt, data: tag})
- gen.if(false)
- for (const tagValue in schema.mapping) {
- gen.elseIf(_`${tag} === ${tagValue}`)
- const sch = schema.mapping[tagValue]
- serializeSchemaProperties({...cxt, schema: sch}, discriminator)
- }
- gen.endIf()
- gen.add(N.json, str`}`)
-}
-
-function serializeProperties(cxt: SerializeCxt): void {
- const {gen} = cxt
- gen.add(N.json, str`{`)
- serializeSchemaProperties(cxt)
- gen.add(N.json, str`}`)
-}
-
-function serializeSchemaProperties(cxt: SerializeCxt, discriminator?: string): void {
- const {gen, schema, data} = cxt
- const {properties, optionalProperties} = schema
- const props = keys(properties)
- const optProps = keys(optionalProperties)
- const allProps = allProperties(props.concat(optProps))
- let first = !discriminator
- for (const key of props) {
- serializeProperty(key, properties[key], keyValue(key))
- }
- for (const key of optProps) {
- const value = keyValue(key)
- gen.if(and(_`${value} !== undefined`, isOwnProperty(gen, data, key)), () =>
- serializeProperty(key, optionalProperties[key], value)
- )
- }
- if (schema.additionalProperties) {
- gen.forIn("key", data, (key) =>
- gen.if(isAdditional(key, allProps), () =>
- serializeKeyValue(cxt, key, {}, gen.let("first", first))
- )
- )
- }
-
- function keys(ps?: SchemaObjectMap): string[] {
- return ps ? Object.keys(ps) : []
- }
-
- function allProperties(ps: string[]): string[] {
- if (discriminator) ps.push(discriminator)
- if (new Set(ps).size !== ps.length) {
- throw new Error("JTD: properties/optionalProperties/disciminator overlap")
- }
- return ps
- }
-
- function keyValue(key: string): Name {
- return gen.const("value", _`${data}${getProperty(key)}`)
- }
-
- function serializeProperty(key: string, propSchema: SchemaObject, value: Name): void {
- if (first) first = false
- else gen.add(N.json, str`,`)
- gen.add(N.json, str`${JSON.stringify(key)}:`)
- serializeCode({...cxt, schema: propSchema, data: value})
- }
-
- function isAdditional(key: Name, ps: string[]): Code | true {
- return ps.length ? and(...ps.map((p) => _`${key} !== ${p}`)) : true
- }
-}
-
-function serializeType(cxt: SerializeCxt): void {
- const {gen, schema, data} = cxt
- switch (schema.type) {
- case "boolean":
- gen.add(N.json, _`${data} ? "true" : "false"`)
- break
- case "string":
- serializeString(cxt)
- break
- case "timestamp":
- gen.if(
- _`${data} instanceof Date`,
- () => gen.add(N.json, _`'"' + ${data}.toISOString() + '"'`),
- () => serializeString(cxt)
- )
- break
- default:
- serializeNumber(cxt)
- }
-}
-
-function serializeString({gen, data}: SerializeCxt): void {
- gen.add(N.json, _`${useFunc(gen, quote)}(${data})`)
-}
-
-function serializeNumber({gen, data}: SerializeCxt): void {
- gen.add(N.json, _`"" + ${data}`)
-}
-
-function serializeRef(cxt: SerializeCxt): void {
- const {gen, self, data, definitions, schema, schemaEnv} = cxt
- const {ref} = schema
- const refSchema = definitions[ref]
- if (!refSchema) throw new MissingRefError("", ref, `No definition ${ref}`)
- if (!hasRef(refSchema)) return serializeCode({...cxt, schema: refSchema})
- const {root} = schemaEnv
- const sch = compileSerializer.call(self, new SchemaEnv({schema: refSchema, root}), definitions)
- gen.add(N.json, _`${getSerialize(gen, sch)}(${data})`)
-}
-
-function getSerialize(gen: CodeGen, sch: SchemaEnv): Code {
- return sch.serialize
- ? gen.scopeValue("serialize", {ref: sch.serialize})
- : _`${gen.scopeValue("wrapper", {ref: sch})}.serialize`
-}
-
-function serializeEmpty({gen, data}: SerializeCxt): void {
- gen.add(N.json, _`JSON.stringify(${data})`)
-}
-
-function addComma({gen}: SerializeCxt, first: Name): void {
- gen.if(
- first,
- () => gen.assign(first, false),
- () => gen.add(N.json, str`,`)
- )
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/types.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/types.ts
deleted file mode 100644
index 7f361957..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/jtd/types.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import type {SchemaObject} from "../../types"
-
-export type SchemaObjectMap = {[Ref in string]?: SchemaObject}
-
-export const jtdForms = [
- "elements",
- "values",
- "discriminator",
- "properties",
- "optionalProperties",
- "enum",
- "type",
- "ref",
-] as const
-
-export type JTDForm = typeof jtdForms[number]
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/names.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/names.ts
deleted file mode 100644
index b4b242e1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/names.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import {Name} from "./codegen"
-
-const names = {
- // validation function arguments
- data: new Name("data"), // data passed to validation function
- // args passed from referencing schema
- valCxt: new Name("valCxt"), // validation/data context - should not be used directly, it is destructured to the names below
- instancePath: new Name("instancePath"),
- parentData: new Name("parentData"),
- parentDataProperty: new Name("parentDataProperty"),
- rootData: new Name("rootData"), // root data - same as the data passed to the first/top validation function
- dynamicAnchors: new Name("dynamicAnchors"), // used to support recursiveRef and dynamicRef
- // function scoped variables
- vErrors: new Name("vErrors"), // null or array of validation errors
- errors: new Name("errors"), // counter of validation errors
- this: new Name("this"),
- // "globals"
- self: new Name("self"),
- scope: new Name("scope"),
- // JTD serialize/parse name for JSON string and position
- json: new Name("json"),
- jsonPos: new Name("jsonPos"),
- jsonLen: new Name("jsonLen"),
- jsonPart: new Name("jsonPart"),
-}
-
-export default names
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/ref_error.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/ref_error.ts
deleted file mode 100644
index 22b70b99..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/ref_error.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import {resolveUrl, normalizeId, getFullPath} from "./resolve"
-
-export default class MissingRefError extends Error {
- readonly missingRef: string
- readonly missingSchema: string
-
- constructor(baseId: string, ref: string, msg?: string) {
- super(msg || `can't resolve reference ${ref} from id ${baseId}`)
- this.missingRef = resolveUrl(baseId, ref)
- this.missingSchema = normalizeId(getFullPath(this.missingRef))
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/resolve.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/resolve.ts
deleted file mode 100644
index 9031e039..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/resolve.ts
+++ /dev/null
@@ -1,146 +0,0 @@
-import type {AnySchema, AnySchemaObject} from "../types"
-import type Ajv from "../ajv"
-import {eachItem} from "./util"
-import * as equal from "fast-deep-equal"
-import * as traverse from "json-schema-traverse"
-import * as URI from "uri-js"
-
-// the hash of local references inside the schema (created by getSchemaRefs), used for inline resolution
-export type LocalRefs = {[Ref in string]?: AnySchemaObject}
-
-// TODO refactor to use keyword definitions
-const SIMPLE_INLINED = new Set([
- "type",
- "format",
- "pattern",
- "maxLength",
- "minLength",
- "maxProperties",
- "minProperties",
- "maxItems",
- "minItems",
- "maximum",
- "minimum",
- "uniqueItems",
- "multipleOf",
- "required",
- "enum",
- "const",
-])
-
-export function inlineRef(schema: AnySchema, limit: boolean | number = true): boolean {
- if (typeof schema == "boolean") return true
- if (limit === true) return !hasRef(schema)
- if (!limit) return false
- return countKeys(schema) <= limit
-}
-
-const REF_KEYWORDS = new Set([
- "$ref",
- "$recursiveRef",
- "$recursiveAnchor",
- "$dynamicRef",
- "$dynamicAnchor",
-])
-
-function hasRef(schema: AnySchemaObject): boolean {
- for (const key in schema) {
- if (REF_KEYWORDS.has(key)) return true
- const sch = schema[key]
- if (Array.isArray(sch) && sch.some(hasRef)) return true
- if (typeof sch == "object" && hasRef(sch)) return true
- }
- return false
-}
-
-function countKeys(schema: AnySchemaObject): number {
- let count = 0
- for (const key in schema) {
- if (key === "$ref") return Infinity
- count++
- if (SIMPLE_INLINED.has(key)) continue
- if (typeof schema[key] == "object") {
- eachItem(schema[key], (sch) => (count += countKeys(sch)))
- }
- if (count === Infinity) return Infinity
- }
- return count
-}
-
-export function getFullPath(id = "", normalize?: boolean): string {
- if (normalize !== false) id = normalizeId(id)
- const p = URI.parse(id)
- return _getFullPath(p)
-}
-
-export function _getFullPath(p: URI.URIComponents): string {
- return URI.serialize(p).split("#")[0] + "#"
-}
-
-const TRAILING_SLASH_HASH = /#\/?$/
-export function normalizeId(id: string | undefined): string {
- return id ? id.replace(TRAILING_SLASH_HASH, "") : ""
-}
-
-export function resolveUrl(baseId: string, id: string): string {
- id = normalizeId(id)
- return URI.resolve(baseId, id)
-}
-
-const ANCHOR = /^[a-z_][-a-z0-9._]*$/i
-
-export function getSchemaRefs(this: Ajv, schema: AnySchema, baseId: string): LocalRefs {
- if (typeof schema == "boolean") return {}
- const {schemaId} = this.opts
- const schId = normalizeId(schema[schemaId] || baseId)
- const baseIds: {[JsonPtr in string]?: string} = {"": schId}
- const pathPrefix = getFullPath(schId, false)
- const localRefs: LocalRefs = {}
- const schemaRefs: Set<string> = new Set()
-
- traverse(schema, {allKeys: true}, (sch, jsonPtr, _, parentJsonPtr) => {
- if (parentJsonPtr === undefined) return
- const fullPath = pathPrefix + jsonPtr
- let baseId = baseIds[parentJsonPtr]
- if (typeof sch[schemaId] == "string") baseId = addRef.call(this, sch[schemaId])
- addAnchor.call(this, sch.$anchor)
- addAnchor.call(this, sch.$dynamicAnchor)
- baseIds[jsonPtr] = baseId
-
- function addRef(this: Ajv, ref: string): string {
- ref = normalizeId(baseId ? URI.resolve(baseId, ref) : ref)
- if (schemaRefs.has(ref)) throw ambiguos(ref)
- schemaRefs.add(ref)
- let schOrRef = this.refs[ref]
- if (typeof schOrRef == "string") schOrRef = this.refs[schOrRef]
- if (typeof schOrRef == "object") {
- checkAmbiguosRef(sch, schOrRef.schema, ref)
- } else if (ref !== normalizeId(fullPath)) {
- if (ref[0] === "#") {
- checkAmbiguosRef(sch, localRefs[ref], ref)
- localRefs[ref] = sch
- } else {
- this.refs[ref] = fullPath
- }
- }
- return ref
- }
-
- function addAnchor(this: Ajv, anchor: unknown): void {
- if (typeof anchor == "string") {
- if (!ANCHOR.test(anchor)) throw new Error(`invalid anchor "${anchor}"`)
- addRef.call(this, `#${anchor}`)
- }
- }
- })
-
- return localRefs
-
- function checkAmbiguosRef(sch1: AnySchema, sch2: AnySchema | undefined, ref: string): void {
- if (sch2 !== undefined && !equal(sch1, sch2)) throw ambiguos(ref)
- }
-
- function ambiguos(ref: string): Error {
- return new Error(`reference "${ref}" resolves to more than one schema`)
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/rules.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/rules.ts
deleted file mode 100644
index ea65074f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/rules.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import type {AddedKeywordDefinition} from "../types"
-
-const _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"] as const
-
-export type JSONType = typeof _jsonTypes[number]
-
-const jsonTypes: Set<string> = new Set(_jsonTypes)
-
-export function isJSONType(x: unknown): x is JSONType {
- return typeof x == "string" && jsonTypes.has(x)
-}
-
-type ValidationTypes = {
- [K in JSONType]: boolean | RuleGroup | undefined
-}
-
-export interface ValidationRules {
- rules: RuleGroup[]
- post: RuleGroup
- all: {[Key in string]?: boolean | Rule} // rules that have to be validated
- keywords: {[Key in string]?: boolean} // all known keywords (superset of "all")
- types: ValidationTypes
-}
-
-export interface RuleGroup {
- type?: JSONType
- rules: Rule[]
-}
-
-// This interface wraps KeywordDefinition because definition can have multiple keywords
-export interface Rule {
- keyword: string
- definition: AddedKeywordDefinition
-}
-
-export function getRules(): ValidationRules {
- const groups: Record<"number" | "string" | "array" | "object", RuleGroup> = {
- number: {type: "number", rules: []},
- string: {type: "string", rules: []},
- array: {type: "array", rules: []},
- object: {type: "object", rules: []},
- }
- return {
- types: {...groups, integer: true, boolean: true, null: true},
- rules: [{rules: []}, groups.number, groups.string, groups.array, groups.object],
- post: {rules: []},
- all: {},
- keywords: {},
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/util.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/util.ts
deleted file mode 100644
index cefae51c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/util.ts
+++ /dev/null
@@ -1,213 +0,0 @@
-import type {AnySchema, EvaluatedProperties, EvaluatedItems} from "../types"
-import type {SchemaCxt, SchemaObjCxt} from "."
-import {_, getProperty, Code, Name, CodeGen} from "./codegen"
-import {_Code} from "./codegen/code"
-import type {Rule, ValidationRules} from "./rules"
-
-// TODO refactor to use Set
-export function toHash<T extends string = string>(arr: T[]): {[K in T]?: true} {
- const hash: {[K in T]?: true} = {}
- for (const item of arr) hash[item] = true
- return hash
-}
-
-export function alwaysValidSchema(it: SchemaCxt, schema: AnySchema): boolean | void {
- if (typeof schema == "boolean") return schema
- if (Object.keys(schema).length === 0) return true
- checkUnknownRules(it, schema)
- return !schemaHasRules(schema, it.self.RULES.all)
-}
-
-export function checkUnknownRules(it: SchemaCxt, schema: AnySchema = it.schema): void {
- const {opts, self} = it
- if (!opts.strictSchema) return
- if (typeof schema === "boolean") return
- const rules = self.RULES.keywords
- for (const key in schema) {
- if (!rules[key]) checkStrictMode(it, `unknown keyword: "${key}"`)
- }
-}
-
-export function schemaHasRules(
- schema: AnySchema,
- rules: {[Key in string]?: boolean | Rule}
-): boolean {
- if (typeof schema == "boolean") return !schema
- for (const key in schema) if (rules[key]) return true
- return false
-}
-
-export function schemaHasRulesButRef(schema: AnySchema, RULES: ValidationRules): boolean {
- if (typeof schema == "boolean") return !schema
- for (const key in schema) if (key !== "$ref" && RULES.all[key]) return true
- return false
-}
-
-export function schemaRefOrVal(
- {topSchemaRef, schemaPath}: SchemaObjCxt,
- schema: unknown,
- keyword: string,
- $data?: string | false
-): Code | number | boolean {
- if (!$data) {
- if (typeof schema == "number" || typeof schema == "boolean") return schema
- if (typeof schema == "string") return _`${schema}`
- }
- return _`${topSchemaRef}${schemaPath}${getProperty(keyword)}`
-}
-
-export function unescapeFragment(str: string): string {
- return unescapeJsonPointer(decodeURIComponent(str))
-}
-
-export function escapeFragment(str: string | number): string {
- return encodeURIComponent(escapeJsonPointer(str))
-}
-
-export function escapeJsonPointer(str: string | number): string {
- if (typeof str == "number") return `${str}`
- return str.replace(/~/g, "~0").replace(/\//g, "~1")
-}
-
-export function unescapeJsonPointer(str: string): string {
- return str.replace(/~1/g, "/").replace(/~0/g, "~")
-}
-
-export function eachItem<T>(xs: T | T[], f: (x: T) => void): void {
- if (Array.isArray(xs)) {
- for (const x of xs) f(x)
- } else {
- f(xs)
- }
-}
-
-type SomeEvaluated = EvaluatedProperties | EvaluatedItems
-
-type MergeEvaluatedFunc<T extends SomeEvaluated> = (
- gen: CodeGen,
- from: Name | T,
- to: Name | Exclude<T, true> | undefined,
- toName?: typeof Name
-) => Name | T
-
-interface MakeMergeFuncArgs<T extends SomeEvaluated> {
- mergeNames: (gen: CodeGen, from: Name, to: Name) => void
- mergeToName: (gen: CodeGen, from: T, to: Name) => void
- mergeValues: (from: T, to: Exclude<T, true>) => T
- resultToName: (gen: CodeGen, res?: T) => Name
-}
-
-function makeMergeEvaluated<T extends SomeEvaluated>({
- mergeNames,
- mergeToName,
- mergeValues,
- resultToName,
-}: MakeMergeFuncArgs<T>): MergeEvaluatedFunc<T> {
- return (gen, from, to, toName) => {
- const res =
- to === undefined
- ? from
- : to instanceof Name
- ? (from instanceof Name ? mergeNames(gen, from, to) : mergeToName(gen, from, to), to)
- : from instanceof Name
- ? (mergeToName(gen, to, from), from)
- : mergeValues(from, to)
- return toName === Name && !(res instanceof Name) ? resultToName(gen, res) : res
- }
-}
-
-interface MergeEvaluated {
- props: MergeEvaluatedFunc<EvaluatedProperties>
- items: MergeEvaluatedFunc<EvaluatedItems>
-}
-
-export const mergeEvaluated: MergeEvaluated = {
- props: makeMergeEvaluated({
- mergeNames: (gen, from, to) =>
- gen.if(_`${to} !== true && ${from} !== undefined`, () => {
- gen.if(
- _`${from} === true`,
- () => gen.assign(to, true),
- () => gen.assign(to, _`${to} || {}`).code(_`Object.assign(${to}, ${from})`)
- )
- }),
- mergeToName: (gen, from, to) =>
- gen.if(_`${to} !== true`, () => {
- if (from === true) {
- gen.assign(to, true)
- } else {
- gen.assign(to, _`${to} || {}`)
- setEvaluated(gen, to, from)
- }
- }),
- mergeValues: (from, to) => (from === true ? true : {...from, ...to}),
- resultToName: evaluatedPropsToName,
- }),
- items: makeMergeEvaluated({
- mergeNames: (gen, from, to) =>
- gen.if(_`${to} !== true && ${from} !== undefined`, () =>
- gen.assign(to, _`${from} === true ? true : ${to} > ${from} ? ${to} : ${from}`)
- ),
- mergeToName: (gen, from, to) =>
- gen.if(_`${to} !== true`, () =>
- gen.assign(to, from === true ? true : _`${to} > ${from} ? ${to} : ${from}`)
- ),
- mergeValues: (from, to) => (from === true ? true : Math.max(from, to)),
- resultToName: (gen, items) => gen.var("items", items),
- }),
-}
-
-export function evaluatedPropsToName(gen: CodeGen, ps?: EvaluatedProperties): Name {
- if (ps === true) return gen.var("props", true)
- const props = gen.var("props", _`{}`)
- if (ps !== undefined) setEvaluated(gen, props, ps)
- return props
-}
-
-export function setEvaluated(gen: CodeGen, props: Name, ps: {[K in string]?: true}): void {
- Object.keys(ps).forEach((p) => gen.assign(_`${props}${getProperty(p)}`, true))
-}
-
-const snippets: {[S in string]?: _Code} = {}
-
-export function useFunc(gen: CodeGen, f: {code: string}): Name {
- return gen.scopeValue("func", {
- ref: f,
- code: snippets[f.code] || (snippets[f.code] = new _Code(f.code)),
- })
-}
-
-export enum Type {
- Num,
- Str,
-}
-
-export function getErrorPath(
- dataProp: Name | string | number,
- dataPropType?: Type,
- jsPropertySyntax?: boolean
-): Code | string {
- // let path
- if (dataProp instanceof Name) {
- const isNumber = dataPropType === Type.Num
- return jsPropertySyntax
- ? isNumber
- ? _`"[" + ${dataProp} + "]"`
- : _`"['" + ${dataProp} + "']"`
- : isNumber
- ? _`"/" + ${dataProp}`
- : _`"/" + ${dataProp}.replace(/~/g, "~0").replace(/\\//g, "~1")` // TODO maybe use global escapePointer
- }
- return jsPropertySyntax ? getProperty(dataProp).toString() : "/" + escapeJsonPointer(dataProp)
-}
-
-export function checkStrictMode(
- it: SchemaCxt,
- msg: string,
- mode: boolean | "log" = it.opts.strictSchema
-): void {
- if (!mode) return
- msg = `strict mode: ${msg}`
- if (mode === true) throw new Error(msg)
- it.self.logger.warn(msg)
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/applicability.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/applicability.ts
deleted file mode 100644
index 478b704a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/applicability.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import type {AnySchemaObject} from "../../types"
-import type {SchemaObjCxt} from ".."
-import type {JSONType, RuleGroup, Rule} from "../rules"
-
-export function schemaHasRulesForType(
- {schema, self}: SchemaObjCxt,
- type: JSONType
-): boolean | undefined {
- const group = self.RULES.types[type]
- return group && group !== true && shouldUseGroup(schema, group)
-}
-
-export function shouldUseGroup(schema: AnySchemaObject, group: RuleGroup): boolean {
- return group.rules.some((rule) => shouldUseRule(schema, rule))
-}
-
-export function shouldUseRule(schema: AnySchemaObject, rule: Rule): boolean | undefined {
- return (
- schema[rule.keyword] !== undefined ||
- rule.definition.implements?.some((kwd) => schema[kwd] !== undefined)
- )
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/boolSchema.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/boolSchema.ts
deleted file mode 100644
index 15635501..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/boolSchema.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-import type {KeywordErrorDefinition, KeywordErrorCxt} from "../../types"
-import type {SchemaCxt} from ".."
-import {reportError} from "../errors"
-import {_, Name} from "../codegen"
-import N from "../names"
-
-const boolError: KeywordErrorDefinition = {
- message: "boolean schema is false",
-}
-
-export function topBoolOrEmptySchema(it: SchemaCxt): void {
- const {gen, schema, validateName} = it
- if (schema === false) {
- falseSchemaError(it, false)
- } else if (typeof schema == "object" && schema.$async === true) {
- gen.return(N.data)
- } else {
- gen.assign(_`${validateName}.errors`, null)
- gen.return(true)
- }
-}
-
-export function boolOrEmptySchema(it: SchemaCxt, valid: Name): void {
- const {gen, schema} = it
- if (schema === false) {
- gen.var(valid, false) // TODO var
- falseSchemaError(it)
- } else {
- gen.var(valid, true) // TODO var
- }
-}
-
-function falseSchemaError(it: SchemaCxt, overrideAllErrors?: boolean): void {
- const {gen, data} = it
- // TODO maybe some other interface should be used for non-keyword validation errors...
- const cxt: KeywordErrorCxt = {
- gen,
- keyword: "false schema",
- data,
- schema: false,
- schemaCode: false,
- schemaValue: false,
- params: {},
- it,
- }
- reportError(cxt, boolError, undefined, overrideAllErrors)
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/dataType.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/dataType.ts
deleted file mode 100644
index b315c2ce..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/dataType.ts
+++ /dev/null
@@ -1,229 +0,0 @@
-import type {
- KeywordErrorDefinition,
- KeywordErrorCxt,
- ErrorObject,
- AnySchemaObject,
-} from "../../types"
-import type {SchemaObjCxt} from ".."
-import {isJSONType, JSONType} from "../rules"
-import {schemaHasRulesForType} from "./applicability"
-import {reportError} from "../errors"
-import {_, nil, and, not, operators, Code, Name} from "../codegen"
-import {toHash, schemaRefOrVal} from "../util"
-
-export enum DataType {
- Correct,
- Wrong,
-}
-
-export function getSchemaTypes(schema: AnySchemaObject): JSONType[] {
- const types = getJSONTypes(schema.type)
- const hasNull = types.includes("null")
- if (hasNull) {
- if (schema.nullable === false) throw new Error("type: null contradicts nullable: false")
- } else {
- if (!types.length && schema.nullable !== undefined) {
- throw new Error('"nullable" cannot be used without "type"')
- }
- if (schema.nullable === true) types.push("null")
- }
- return types
-}
-
-export function getJSONTypes(ts: unknown | unknown[]): JSONType[] {
- const types: unknown[] = Array.isArray(ts) ? ts : ts ? [ts] : []
- if (types.every(isJSONType)) return types
- throw new Error("type must be JSONType or JSONType[]: " + types.join(","))
-}
-
-export function coerceAndCheckDataType(it: SchemaObjCxt, types: JSONType[]): boolean {
- const {gen, data, opts} = it
- const coerceTo = coerceToTypes(types, opts.coerceTypes)
- const checkTypes =
- types.length > 0 &&
- !(coerceTo.length === 0 && types.length === 1 && schemaHasRulesForType(it, types[0]))
- if (checkTypes) {
- const wrongType = checkDataTypes(types, data, opts.strictNumbers, DataType.Wrong)
- gen.if(wrongType, () => {
- if (coerceTo.length) coerceData(it, types, coerceTo)
- else reportTypeError(it)
- })
- }
- return checkTypes
-}
-
-const COERCIBLE: Set<JSONType> = new Set(["string", "number", "integer", "boolean", "null"])
-function coerceToTypes(types: JSONType[], coerceTypes?: boolean | "array"): JSONType[] {
- return coerceTypes
- ? types.filter((t) => COERCIBLE.has(t) || (coerceTypes === "array" && t === "array"))
- : []
-}
-
-function coerceData(it: SchemaObjCxt, types: JSONType[], coerceTo: JSONType[]): void {
- const {gen, data, opts} = it
- const dataType = gen.let("dataType", _`typeof ${data}`)
- const coerced = gen.let("coerced", _`undefined`)
- if (opts.coerceTypes === "array") {
- gen.if(_`${dataType} == 'object' && Array.isArray(${data}) && ${data}.length == 1`, () =>
- gen
- .assign(data, _`${data}[0]`)
- .assign(dataType, _`typeof ${data}`)
- .if(checkDataTypes(types, data, opts.strictNumbers), () => gen.assign(coerced, data))
- )
- }
- gen.if(_`${coerced} !== undefined`)
- for (const t of coerceTo) {
- if (COERCIBLE.has(t) || (t === "array" && opts.coerceTypes === "array")) {
- coerceSpecificType(t)
- }
- }
- gen.else()
- reportTypeError(it)
- gen.endIf()
-
- gen.if(_`${coerced} !== undefined`, () => {
- gen.assign(data, coerced)
- assignParentData(it, coerced)
- })
-
- function coerceSpecificType(t: string): void {
- switch (t) {
- case "string":
- gen
- .elseIf(_`${dataType} == "number" || ${dataType} == "boolean"`)
- .assign(coerced, _`"" + ${data}`)
- .elseIf(_`${data} === null`)
- .assign(coerced, _`""`)
- return
- case "number":
- gen
- .elseIf(
- _`${dataType} == "boolean" || ${data} === null
- || (${dataType} == "string" && ${data} && ${data} == +${data})`
- )
- .assign(coerced, _`+${data}`)
- return
- case "integer":
- gen
- .elseIf(
- _`${dataType} === "boolean" || ${data} === null
- || (${dataType} === "string" && ${data} && ${data} == +${data} && !(${data} % 1))`
- )
- .assign(coerced, _`+${data}`)
- return
- case "boolean":
- gen
- .elseIf(_`${data} === "false" || ${data} === 0 || ${data} === null`)
- .assign(coerced, false)
- .elseIf(_`${data} === "true" || ${data} === 1`)
- .assign(coerced, true)
- return
- case "null":
- gen.elseIf(_`${data} === "" || ${data} === 0 || ${data} === false`)
- gen.assign(coerced, null)
- return
-
- case "array":
- gen
- .elseIf(
- _`${dataType} === "string" || ${dataType} === "number"
- || ${dataType} === "boolean" || ${data} === null`
- )
- .assign(coerced, _`[${data}]`)
- }
- }
-}
-
-function assignParentData({gen, parentData, parentDataProperty}: SchemaObjCxt, expr: Name): void {
- // TODO use gen.property
- gen.if(_`${parentData} !== undefined`, () =>
- gen.assign(_`${parentData}[${parentDataProperty}]`, expr)
- )
-}
-
-export function checkDataType(
- dataType: JSONType,
- data: Name,
- strictNums?: boolean | "log",
- correct = DataType.Correct
-): Code {
- const EQ = correct === DataType.Correct ? operators.EQ : operators.NEQ
- let cond: Code
- switch (dataType) {
- case "null":
- return _`${data} ${EQ} null`
- case "array":
- cond = _`Array.isArray(${data})`
- break
- case "object":
- cond = _`${data} && typeof ${data} == "object" && !Array.isArray(${data})`
- break
- case "integer":
- cond = numCond(_`!(${data} % 1) && !isNaN(${data})`)
- break
- case "number":
- cond = numCond()
- break
- default:
- return _`typeof ${data} ${EQ} ${dataType}`
- }
- return correct === DataType.Correct ? cond : not(cond)
-
- function numCond(_cond: Code = nil): Code {
- return and(_`typeof ${data} == "number"`, _cond, strictNums ? _`isFinite(${data})` : nil)
- }
-}
-
-export function checkDataTypes(
- dataTypes: JSONType[],
- data: Name,
- strictNums?: boolean | "log",
- correct?: DataType
-): Code {
- if (dataTypes.length === 1) {
- return checkDataType(dataTypes[0], data, strictNums, correct)
- }
- let cond: Code
- const types = toHash(dataTypes)
- if (types.array && types.object) {
- const notObj = _`typeof ${data} != "object"`
- cond = types.null ? notObj : _`!${data} || ${notObj}`
- delete types.null
- delete types.array
- delete types.object
- } else {
- cond = nil
- }
- if (types.number) delete types.integer
- for (const t in types) cond = and(cond, checkDataType(t as JSONType, data, strictNums, correct))
- return cond
-}
-
-export type TypeError = ErrorObject<"type", {type: string}>
-
-const typeError: KeywordErrorDefinition = {
- message: ({schema}) => `must be ${schema}`,
- params: ({schema, schemaValue}) =>
- typeof schema == "string" ? _`{type: ${schema}}` : _`{type: ${schemaValue}}`,
-}
-
-export function reportTypeError(it: SchemaObjCxt): void {
- const cxt = getTypeErrorContext(it)
- reportError(cxt, typeError)
-}
-
-function getTypeErrorContext(it: SchemaObjCxt): KeywordErrorCxt {
- const {gen, data, schema} = it
- const schemaCode = schemaRefOrVal(it, schema, "type")
- return {
- gen,
- keyword: "type",
- data,
- schema: schema.type,
- schemaCode,
- schemaValue: schemaCode,
- parentSchema: schema,
- params: {},
- it,
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/defaults.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/defaults.ts
deleted file mode 100644
index 2ad3d4df..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/defaults.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import type {SchemaObjCxt} from ".."
-import {_, getProperty, stringify} from "../codegen"
-import {checkStrictMode} from "../util"
-
-export function assignDefaults(it: SchemaObjCxt, ty?: string): void {
- const {properties, items} = it.schema
- if (ty === "object" && properties) {
- for (const key in properties) {
- assignDefault(it, key, properties[key].default)
- }
- } else if (ty === "array" && Array.isArray(items)) {
- items.forEach((sch, i: number) => assignDefault(it, i, sch.default))
- }
-}
-
-function assignDefault(it: SchemaObjCxt, prop: string | number, defaultValue: unknown): void {
- const {gen, compositeRule, data, opts} = it
- if (defaultValue === undefined) return
- const childData = _`${data}${getProperty(prop)}`
- if (compositeRule) {
- checkStrictMode(it, `default is ignored for: ${childData}`)
- return
- }
-
- let condition = _`${childData} === undefined`
- if (opts.useDefaults === "empty") {
- condition = _`${condition} || ${childData} === null || ${childData} === ""`
- }
- // `${childData} === undefined` +
- // (opts.useDefaults === "empty" ? ` || ${childData} === null || ${childData} === ""` : "")
- gen.if(condition, _`${childData} = ${stringify(defaultValue)}`)
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/index.ts
deleted file mode 100644
index 0f40584e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/index.ts
+++ /dev/null
@@ -1,573 +0,0 @@
-import type {
- AddedKeywordDefinition,
- AnySchema,
- AnySchemaObject,
- KeywordErrorCxt,
- KeywordCxtParams,
-} from "../../types"
-import type {SchemaCxt, SchemaObjCxt} from ".."
-import type {InstanceOptions} from "../../core"
-import {boolOrEmptySchema, topBoolOrEmptySchema} from "./boolSchema"
-import {coerceAndCheckDataType, getSchemaTypes} from "./dataType"
-import {shouldUseGroup, shouldUseRule} from "./applicability"
-import {checkDataType, checkDataTypes, reportTypeError, DataType} from "./dataType"
-import {assignDefaults} from "./defaults"
-import {funcKeywordCode, macroKeywordCode, validateKeywordUsage, validSchemaType} from "./keyword"
-import {getSubschema, extendSubschemaData, SubschemaArgs, extendSubschemaMode} from "./subschema"
-import {_, nil, str, or, not, getProperty, Block, Code, Name, CodeGen} from "../codegen"
-import N from "../names"
-import {resolveUrl} from "../resolve"
-import {
- schemaRefOrVal,
- schemaHasRulesButRef,
- checkUnknownRules,
- checkStrictMode,
- unescapeJsonPointer,
- mergeEvaluated,
-} from "../util"
-import type {JSONType, Rule, RuleGroup} from "../rules"
-import {
- ErrorPaths,
- reportError,
- reportExtraError,
- resetErrorsCount,
- keyword$DataError,
-} from "../errors"
-
-// schema compilation - generates validation function, subschemaCode (below) is used for subschemas
-export function validateFunctionCode(it: SchemaCxt): void {
- if (isSchemaObj(it)) {
- checkKeywords(it)
- if (schemaCxtHasRules(it)) {
- topSchemaObjCode(it)
- return
- }
- }
- validateFunction(it, () => topBoolOrEmptySchema(it))
-}
-
-function validateFunction(
- {gen, validateName, schema, schemaEnv, opts}: SchemaCxt,
- body: Block
-): void {
- if (opts.code.es5) {
- gen.func(validateName, _`${N.data}, ${N.valCxt}`, schemaEnv.$async, () => {
- gen.code(_`"use strict"; ${funcSourceUrl(schema, opts)}`)
- destructureValCxtES5(gen, opts)
- gen.code(body)
- })
- } else {
- gen.func(validateName, _`${N.data}, ${destructureValCxt(opts)}`, schemaEnv.$async, () =>
- gen.code(funcSourceUrl(schema, opts)).code(body)
- )
- }
-}
-
-function destructureValCxt(opts: InstanceOptions): Code {
- return _`{${N.instancePath}="", ${N.parentData}, ${N.parentDataProperty}, ${N.rootData}=${
- N.data
- }${opts.dynamicRef ? _`, ${N.dynamicAnchors}={}` : nil}}={}`
-}
-
-function destructureValCxtES5(gen: CodeGen, opts: InstanceOptions): void {
- gen.if(
- N.valCxt,
- () => {
- gen.var(N.instancePath, _`${N.valCxt}.${N.instancePath}`)
- gen.var(N.parentData, _`${N.valCxt}.${N.parentData}`)
- gen.var(N.parentDataProperty, _`${N.valCxt}.${N.parentDataProperty}`)
- gen.var(N.rootData, _`${N.valCxt}.${N.rootData}`)
- if (opts.dynamicRef) gen.var(N.dynamicAnchors, _`${N.valCxt}.${N.dynamicAnchors}`)
- },
- () => {
- gen.var(N.instancePath, _`""`)
- gen.var(N.parentData, _`undefined`)
- gen.var(N.parentDataProperty, _`undefined`)
- gen.var(N.rootData, N.data)
- if (opts.dynamicRef) gen.var(N.dynamicAnchors, _`{}`)
- }
- )
-}
-
-function topSchemaObjCode(it: SchemaObjCxt): void {
- const {schema, opts, gen} = it
- validateFunction(it, () => {
- if (opts.$comment && schema.$comment) commentKeyword(it)
- checkNoDefault(it)
- gen.let(N.vErrors, null)
- gen.let(N.errors, 0)
- if (opts.unevaluated) resetEvaluated(it)
- typeAndKeywords(it)
- returnResults(it)
- })
- return
-}
-
-function resetEvaluated(it: SchemaObjCxt): void {
- // TODO maybe some hook to execute it in the end to check whether props/items are Name, as in assignEvaluated
- const {gen, validateName} = it
- it.evaluated = gen.const("evaluated", _`${validateName}.evaluated`)
- gen.if(_`${it.evaluated}.dynamicProps`, () => gen.assign(_`${it.evaluated}.props`, _`undefined`))
- gen.if(_`${it.evaluated}.dynamicItems`, () => gen.assign(_`${it.evaluated}.items`, _`undefined`))
-}
-
-function funcSourceUrl(schema: AnySchema, opts: InstanceOptions): Code {
- const schId = typeof schema == "object" && schema[opts.schemaId]
- return schId && (opts.code.source || opts.code.process) ? _`/*# sourceURL=${schId} */` : nil
-}
-
-// schema compilation - this function is used recursively to generate code for sub-schemas
-function subschemaCode(it: SchemaCxt, valid: Name): void {
- if (isSchemaObj(it)) {
- checkKeywords(it)
- if (schemaCxtHasRules(it)) {
- subSchemaObjCode(it, valid)
- return
- }
- }
- boolOrEmptySchema(it, valid)
-}
-
-function schemaCxtHasRules({schema, self}: SchemaCxt): boolean {
- if (typeof schema == "boolean") return !schema
- for (const key in schema) if (self.RULES.all[key]) return true
- return false
-}
-
-function isSchemaObj(it: SchemaCxt): it is SchemaObjCxt {
- return typeof it.schema != "boolean"
-}
-
-function subSchemaObjCode(it: SchemaObjCxt, valid: Name): void {
- const {schema, gen, opts} = it
- if (opts.$comment && schema.$comment) commentKeyword(it)
- updateContext(it)
- checkAsyncSchema(it)
- const errsCount = gen.const("_errs", N.errors)
- typeAndKeywords(it, errsCount)
- // TODO var
- gen.var(valid, _`${errsCount} === ${N.errors}`)
-}
-
-function checkKeywords(it: SchemaObjCxt): void {
- checkUnknownRules(it)
- checkRefsAndKeywords(it)
-}
-
-function typeAndKeywords(it: SchemaObjCxt, errsCount?: Name): void {
- if (it.opts.jtd) return schemaKeywords(it, [], false, errsCount)
- const types = getSchemaTypes(it.schema)
- const checkedTypes = coerceAndCheckDataType(it, types)
- schemaKeywords(it, types, !checkedTypes, errsCount)
-}
-
-function checkRefsAndKeywords(it: SchemaObjCxt): void {
- const {schema, errSchemaPath, opts, self} = it
- if (schema.$ref && opts.ignoreKeywordsWithRef && schemaHasRulesButRef(schema, self.RULES)) {
- self.logger.warn(`$ref: keywords ignored in schema at path "${errSchemaPath}"`)
- }
-}
-
-function checkNoDefault(it: SchemaObjCxt): void {
- const {schema, opts} = it
- if (schema.default !== undefined && opts.useDefaults && opts.strictSchema) {
- checkStrictMode(it, "default is ignored in the schema root")
- }
-}
-
-function updateContext(it: SchemaObjCxt): void {
- const schId = it.schema[it.opts.schemaId]
- if (schId) it.baseId = resolveUrl(it.baseId, schId)
-}
-
-function checkAsyncSchema(it: SchemaObjCxt): void {
- if (it.schema.$async && !it.schemaEnv.$async) throw new Error("async schema in sync schema")
-}
-
-function commentKeyword({gen, schemaEnv, schema, errSchemaPath, opts}: SchemaObjCxt): void {
- const msg = schema.$comment
- if (opts.$comment === true) {
- gen.code(_`${N.self}.logger.log(${msg})`)
- } else if (typeof opts.$comment == "function") {
- const schemaPath = str`${errSchemaPath}/$comment`
- const rootName = gen.scopeValue("root", {ref: schemaEnv.root})
- gen.code(_`${N.self}.opts.$comment(${msg}, ${schemaPath}, ${rootName}.schema)`)
- }
-}
-
-function returnResults(it: SchemaCxt): void {
- const {gen, schemaEnv, validateName, ValidationError, opts} = it
- if (schemaEnv.$async) {
- // TODO assign unevaluated
- gen.if(
- _`${N.errors} === 0`,
- () => gen.return(N.data),
- () => gen.throw(_`new ${ValidationError as Name}(${N.vErrors})`)
- )
- } else {
- gen.assign(_`${validateName}.errors`, N.vErrors)
- if (opts.unevaluated) assignEvaluated(it)
- gen.return(_`${N.errors} === 0`)
- }
-}
-
-function assignEvaluated({gen, evaluated, props, items}: SchemaCxt): void {
- if (props instanceof Name) gen.assign(_`${evaluated}.props`, props)
- if (items instanceof Name) gen.assign(_`${evaluated}.items`, items)
-}
-
-function schemaKeywords(
- it: SchemaObjCxt,
- types: JSONType[],
- typeErrors: boolean,
- errsCount?: Name
-): void {
- const {gen, schema, data, allErrors, opts, self} = it
- const {RULES} = self
- if (schema.$ref && (opts.ignoreKeywordsWithRef || !schemaHasRulesButRef(schema, RULES))) {
- gen.block(() => keywordCode(it, "$ref", (RULES.all.$ref as Rule).definition)) // TODO typecast
- return
- }
- if (!opts.jtd) checkStrictTypes(it, types)
- gen.block(() => {
- for (const group of RULES.rules) groupKeywords(group)
- groupKeywords(RULES.post)
- })
-
- function groupKeywords(group: RuleGroup): void {
- if (!shouldUseGroup(schema, group)) return
- if (group.type) {
- gen.if(checkDataType(group.type, data, opts.strictNumbers))
- iterateKeywords(it, group)
- if (types.length === 1 && types[0] === group.type && typeErrors) {
- gen.else()
- reportTypeError(it)
- }
- gen.endIf()
- } else {
- iterateKeywords(it, group)
- }
- // TODO make it "ok" call?
- if (!allErrors) gen.if(_`${N.errors} === ${errsCount || 0}`)
- }
-}
-
-function iterateKeywords(it: SchemaObjCxt, group: RuleGroup): void {
- const {
- gen,
- schema,
- opts: {useDefaults},
- } = it
- if (useDefaults) assignDefaults(it, group.type)
- gen.block(() => {
- for (const rule of group.rules) {
- if (shouldUseRule(schema, rule)) {
- keywordCode(it, rule.keyword, rule.definition, group.type)
- }
- }
- })
-}
-
-function checkStrictTypes(it: SchemaObjCxt, types: JSONType[]): void {
- if (it.schemaEnv.meta || !it.opts.strictTypes) return
- checkContextTypes(it, types)
- if (!it.opts.allowUnionTypes) checkMultipleTypes(it, types)
- checkKeywordTypes(it, it.dataTypes)
-}
-
-function checkContextTypes(it: SchemaObjCxt, types: JSONType[]): void {
- if (!types.length) return
- if (!it.dataTypes.length) {
- it.dataTypes = types
- return
- }
- types.forEach((t) => {
- if (!includesType(it.dataTypes, t)) {
- strictTypesError(it, `type "${t}" not allowed by context "${it.dataTypes.join(",")}"`)
- }
- })
- it.dataTypes = it.dataTypes.filter((t) => includesType(types, t))
-}
-
-function checkMultipleTypes(it: SchemaObjCxt, ts: JSONType[]): void {
- if (ts.length > 1 && !(ts.length === 2 && ts.includes("null"))) {
- strictTypesError(it, "use allowUnionTypes to allow union type keyword")
- }
-}
-
-function checkKeywordTypes(it: SchemaObjCxt, ts: JSONType[]): void {
- const rules = it.self.RULES.all
- for (const keyword in rules) {
- const rule = rules[keyword]
- if (typeof rule == "object" && shouldUseRule(it.schema, rule)) {
- const {type} = rule.definition
- if (type.length && !type.some((t) => hasApplicableType(ts, t))) {
- strictTypesError(it, `missing type "${type.join(",")}" for keyword "${keyword}"`)
- }
- }
- }
-}
-
-function hasApplicableType(schTs: JSONType[], kwdT: JSONType): boolean {
- return schTs.includes(kwdT) || (kwdT === "number" && schTs.includes("integer"))
-}
-
-function includesType(ts: JSONType[], t: JSONType): boolean {
- return ts.includes(t) || (t === "integer" && ts.includes("number"))
-}
-
-function strictTypesError(it: SchemaObjCxt, msg: string): void {
- const schemaPath = it.schemaEnv.baseId + it.errSchemaPath
- msg += ` at "${schemaPath}" (strictTypes)`
- checkStrictMode(it, msg, it.opts.strictTypes)
-}
-
-export class KeywordCxt implements KeywordErrorCxt {
- readonly gen: CodeGen
- readonly allErrors?: boolean
- readonly keyword: string
- readonly data: Name // Name referencing the current level of the data instance
- readonly $data?: string | false
- schema: any // keyword value in the schema
- readonly schemaValue: Code | number | boolean // Code reference to keyword schema value or primitive value
- readonly schemaCode: Code | number | boolean // Code reference to resolved schema value (different if schema is $data)
- readonly schemaType: JSONType[] // allowed type(s) of keyword value in the schema
- readonly parentSchema: AnySchemaObject
- readonly errsCount?: Name // Name reference to the number of validation errors collected before this keyword,
- // requires option trackErrors in keyword definition
- params: KeywordCxtParams // object to pass parameters to error messages from keyword code
- readonly it: SchemaObjCxt // schema compilation context (schema is guaranteed to be an object, not boolean)
- readonly def: AddedKeywordDefinition
-
- constructor(it: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string) {
- validateKeywordUsage(it, def, keyword)
- this.gen = it.gen
- this.allErrors = it.allErrors
- this.keyword = keyword
- this.data = it.data
- this.schema = it.schema[keyword]
- this.$data = def.$data && it.opts.$data && this.schema && this.schema.$data
- this.schemaValue = schemaRefOrVal(it, this.schema, keyword, this.$data)
- this.schemaType = def.schemaType
- this.parentSchema = it.schema
- this.params = {}
- this.it = it
- this.def = def
-
- if (this.$data) {
- this.schemaCode = it.gen.const("vSchema", getData(this.$data, it))
- } else {
- this.schemaCode = this.schemaValue
- if (!validSchemaType(this.schema, def.schemaType, def.allowUndefined)) {
- throw new Error(`${keyword} value must be ${JSON.stringify(def.schemaType)}`)
- }
- }
-
- if ("code" in def ? def.trackErrors : def.errors !== false) {
- this.errsCount = it.gen.const("_errs", N.errors)
- }
- }
-
- result(condition: Code, successAction?: () => void, failAction?: () => void): void {
- this.failResult(not(condition), successAction, failAction)
- }
-
- failResult(condition: Code, successAction?: () => void, failAction?: () => void): void {
- this.gen.if(condition)
- if (failAction) failAction()
- else this.error()
- if (successAction) {
- this.gen.else()
- successAction()
- if (this.allErrors) this.gen.endIf()
- } else {
- if (this.allErrors) this.gen.endIf()
- else this.gen.else()
- }
- }
-
- pass(condition: Code, failAction?: () => void): void {
- this.failResult(not(condition), undefined, failAction)
- }
-
- fail(condition?: Code): void {
- if (condition === undefined) {
- this.error()
- if (!this.allErrors) this.gen.if(false) // this branch will be removed by gen.optimize
- return
- }
- this.gen.if(condition)
- this.error()
- if (this.allErrors) this.gen.endIf()
- else this.gen.else()
- }
-
- fail$data(condition: Code): void {
- if (!this.$data) return this.fail(condition)
- const {schemaCode} = this
- this.fail(_`${schemaCode} !== undefined && (${or(this.invalid$data(), condition)})`)
- }
-
- error(append?: boolean, errorParams?: KeywordCxtParams, errorPaths?: ErrorPaths): void {
- if (errorParams) {
- this.setParams(errorParams)
- this._error(append, errorPaths)
- this.setParams({})
- return
- }
- this._error(append, errorPaths)
- }
-
- private _error(append?: boolean, errorPaths?: ErrorPaths): void {
- ;(append ? reportExtraError : reportError)(this, this.def.error, errorPaths)
- }
-
- $dataError(): void {
- reportError(this, this.def.$dataError || keyword$DataError)
- }
-
- reset(): void {
- if (this.errsCount === undefined) throw new Error('add "trackErrors" to keyword definition')
- resetErrorsCount(this.gen, this.errsCount)
- }
-
- ok(cond: Code | boolean): void {
- if (!this.allErrors) this.gen.if(cond)
- }
-
- setParams(obj: KeywordCxtParams, assign?: true): void {
- if (assign) Object.assign(this.params, obj)
- else this.params = obj
- }
-
- block$data(valid: Name, codeBlock: () => void, $dataValid: Code = nil): void {
- this.gen.block(() => {
- this.check$data(valid, $dataValid)
- codeBlock()
- })
- }
-
- check$data(valid: Name = nil, $dataValid: Code = nil): void {
- if (!this.$data) return
- const {gen, schemaCode, schemaType, def} = this
- gen.if(or(_`${schemaCode} === undefined`, $dataValid))
- if (valid !== nil) gen.assign(valid, true)
- if (schemaType.length || def.validateSchema) {
- gen.elseIf(this.invalid$data())
- this.$dataError()
- if (valid !== nil) gen.assign(valid, false)
- }
- gen.else()
- }
-
- invalid$data(): Code {
- const {gen, schemaCode, schemaType, def, it} = this
- return or(wrong$DataType(), invalid$DataSchema())
-
- function wrong$DataType(): Code {
- if (schemaType.length) {
- /* istanbul ignore if */
- if (!(schemaCode instanceof Name)) throw new Error("ajv implementation error")
- const st = Array.isArray(schemaType) ? schemaType : [schemaType]
- return _`${checkDataTypes(st, schemaCode, it.opts.strictNumbers, DataType.Wrong)}`
- }
- return nil
- }
-
- function invalid$DataSchema(): Code {
- if (def.validateSchema) {
- const validateSchemaRef = gen.scopeValue("validate$data", {ref: def.validateSchema}) // TODO value.code for standalone
- return _`!${validateSchemaRef}(${schemaCode})`
- }
- return nil
- }
- }
-
- subschema(appl: SubschemaArgs, valid: Name): SchemaCxt {
- const subschema = getSubschema(this.it, appl)
- extendSubschemaData(subschema, this.it, appl)
- extendSubschemaMode(subschema, appl)
- const nextContext = {...this.it, ...subschema, items: undefined, props: undefined}
- subschemaCode(nextContext, valid)
- return nextContext
- }
-
- mergeEvaluated(schemaCxt: SchemaCxt, toName?: typeof Name): void {
- const {it, gen} = this
- if (!it.opts.unevaluated) return
- if (it.props !== true && schemaCxt.props !== undefined) {
- it.props = mergeEvaluated.props(gen, schemaCxt.props, it.props, toName)
- }
- if (it.items !== true && schemaCxt.items !== undefined) {
- it.items = mergeEvaluated.items(gen, schemaCxt.items, it.items, toName)
- }
- }
-
- mergeValidEvaluated(schemaCxt: SchemaCxt, valid: Name): boolean | void {
- const {it, gen} = this
- if (it.opts.unevaluated && (it.props !== true || it.items !== true)) {
- gen.if(valid, () => this.mergeEvaluated(schemaCxt, Name))
- return true
- }
- }
-}
-
-function keywordCode(
- it: SchemaObjCxt,
- keyword: string,
- def: AddedKeywordDefinition,
- ruleType?: JSONType
-): void {
- const cxt = new KeywordCxt(it, def, keyword)
- if ("code" in def) {
- def.code(cxt, ruleType)
- } else if (cxt.$data && def.validate) {
- funcKeywordCode(cxt, def)
- } else if ("macro" in def) {
- macroKeywordCode(cxt, def)
- } else if (def.compile || def.validate) {
- funcKeywordCode(cxt, def)
- }
-}
-
-const JSON_POINTER = /^\/(?:[^~]|~0|~1)*$/
-const RELATIVE_JSON_POINTER = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/
-export function getData(
- $data: string,
- {dataLevel, dataNames, dataPathArr}: SchemaCxt
-): Code | number {
- let jsonPointer
- let data: Code
- if ($data === "") return N.rootData
- if ($data[0] === "/") {
- if (!JSON_POINTER.test($data)) throw new Error(`Invalid JSON-pointer: ${$data}`)
- jsonPointer = $data
- data = N.rootData
- } else {
- const matches = RELATIVE_JSON_POINTER.exec($data)
- if (!matches) throw new Error(`Invalid JSON-pointer: ${$data}`)
- const up: number = +matches[1]
- jsonPointer = matches[2]
- if (jsonPointer === "#") {
- if (up >= dataLevel) throw new Error(errorMsg("property/index", up))
- return dataPathArr[dataLevel - up]
- }
- if (up > dataLevel) throw new Error(errorMsg("data", up))
- data = dataNames[dataLevel - up]
- if (!jsonPointer) return data
- }
-
- let expr = data
- const segments = jsonPointer.split("/")
- for (const segment of segments) {
- if (segment) {
- data = _`${data}${getProperty(unescapeJsonPointer(segment))}`
- expr = _`${expr} && ${data}`
- }
- }
- return expr
-
- function errorMsg(pointerType: string, up: number): string {
- return `Cannot access ${pointerType} ${up} levels up, current level is ${dataLevel}`
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/keyword.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/keyword.ts
deleted file mode 100644
index f854aa71..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/keyword.ts
+++ /dev/null
@@ -1,171 +0,0 @@
-import type {KeywordCxt} from "."
-import type {
- AnySchema,
- SchemaValidateFunction,
- AnyValidateFunction,
- AddedKeywordDefinition,
- MacroKeywordDefinition,
- FuncKeywordDefinition,
-} from "../../types"
-import type {SchemaObjCxt} from ".."
-import {_, nil, not, stringify, Code, Name, CodeGen} from "../codegen"
-import N from "../names"
-import type {JSONType} from "../rules"
-import {callValidateCode} from "../../vocabularies/code"
-import {extendErrors} from "../errors"
-
-type KeywordCompilationResult = AnySchema | SchemaValidateFunction | AnyValidateFunction
-
-export function macroKeywordCode(cxt: KeywordCxt, def: MacroKeywordDefinition): void {
- const {gen, keyword, schema, parentSchema, it} = cxt
- const macroSchema = def.macro.call(it.self, schema, parentSchema, it)
- const schemaRef = useKeyword(gen, keyword, macroSchema)
- if (it.opts.validateSchema !== false) it.self.validateSchema(macroSchema, true)
-
- const valid = gen.name("valid")
- cxt.subschema(
- {
- schema: macroSchema,
- schemaPath: nil,
- errSchemaPath: `${it.errSchemaPath}/${keyword}`,
- topSchemaRef: schemaRef,
- compositeRule: true,
- },
- valid
- )
- cxt.pass(valid, () => cxt.error(true))
-}
-
-export function funcKeywordCode(cxt: KeywordCxt, def: FuncKeywordDefinition): void {
- const {gen, keyword, schema, parentSchema, $data, it} = cxt
- checkAsyncKeyword(it, def)
- const validate =
- !$data && def.compile ? def.compile.call(it.self, schema, parentSchema, it) : def.validate
- const validateRef = useKeyword(gen, keyword, validate)
- const valid = gen.let("valid")
- cxt.block$data(valid, validateKeyword)
- cxt.ok(def.valid ?? valid)
-
- function validateKeyword(): void {
- if (def.errors === false) {
- assignValid()
- if (def.modifying) modifyData(cxt)
- reportErrs(() => cxt.error())
- } else {
- const ruleErrs = def.async ? validateAsync() : validateSync()
- if (def.modifying) modifyData(cxt)
- reportErrs(() => addErrs(cxt, ruleErrs))
- }
- }
-
- function validateAsync(): Name {
- const ruleErrs = gen.let("ruleErrs", null)
- gen.try(
- () => assignValid(_`await `),
- (e) =>
- gen.assign(valid, false).if(
- _`${e} instanceof ${it.ValidationError as Name}`,
- () => gen.assign(ruleErrs, _`${e}.errors`),
- () => gen.throw(e)
- )
- )
- return ruleErrs
- }
-
- function validateSync(): Code {
- const validateErrs = _`${validateRef}.errors`
- gen.assign(validateErrs, null)
- assignValid(nil)
- return validateErrs
- }
-
- function assignValid(_await: Code = def.async ? _`await ` : nil): void {
- const passCxt = it.opts.passContext ? N.this : N.self
- const passSchema = !(("compile" in def && !$data) || def.schema === false)
- gen.assign(
- valid,
- _`${_await}${callValidateCode(cxt, validateRef, passCxt, passSchema)}`,
- def.modifying
- )
- }
-
- function reportErrs(errors: () => void): void {
- gen.if(not(def.valid ?? valid), errors)
- }
-}
-
-function modifyData(cxt: KeywordCxt): void {
- const {gen, data, it} = cxt
- gen.if(it.parentData, () => gen.assign(data, _`${it.parentData}[${it.parentDataProperty}]`))
-}
-
-function addErrs(cxt: KeywordCxt, errs: Code): void {
- const {gen} = cxt
- gen.if(
- _`Array.isArray(${errs})`,
- () => {
- gen
- .assign(N.vErrors, _`${N.vErrors} === null ? ${errs} : ${N.vErrors}.concat(${errs})`)
- .assign(N.errors, _`${N.vErrors}.length`)
- extendErrors(cxt)
- },
- () => cxt.error()
- )
-}
-
-function checkAsyncKeyword({schemaEnv}: SchemaObjCxt, def: FuncKeywordDefinition): void {
- if (def.async && !schemaEnv.$async) throw new Error("async keyword in sync schema")
-}
-
-function useKeyword(gen: CodeGen, keyword: string, result?: KeywordCompilationResult): Name {
- if (result === undefined) throw new Error(`keyword "${keyword}" failed to compile`)
- return gen.scopeValue(
- "keyword",
- typeof result == "function" ? {ref: result} : {ref: result, code: stringify(result)}
- )
-}
-
-export function validSchemaType(
- schema: unknown,
- schemaType: JSONType[],
- allowUndefined = false
-): boolean {
- // TODO add tests
- return (
- !schemaType.length ||
- schemaType.some((st) =>
- st === "array"
- ? Array.isArray(schema)
- : st === "object"
- ? schema && typeof schema == "object" && !Array.isArray(schema)
- : typeof schema == st || (allowUndefined && typeof schema == "undefined")
- )
- )
-}
-
-export function validateKeywordUsage(
- {schema, opts, self, errSchemaPath}: SchemaObjCxt,
- def: AddedKeywordDefinition,
- keyword: string
-): void {
- /* istanbul ignore if */
- if (Array.isArray(def.keyword) ? !def.keyword.includes(keyword) : def.keyword !== keyword) {
- throw new Error("ajv implementation error")
- }
-
- const deps = def.dependencies
- if (deps?.some((kwd) => !Object.prototype.hasOwnProperty.call(schema, kwd))) {
- throw new Error(`parent schema must have dependencies of ${keyword}: ${deps.join(",")}`)
- }
-
- if (def.validateSchema) {
- const valid = def.validateSchema(schema[keyword])
- if (!valid) {
- const msg =
- `keyword "${keyword}" value is invalid at path "${errSchemaPath}": ` +
- self.errorsText(def.validateSchema.errors)
- if (opts.validateSchema === "log") self.logger.error(msg)
- else throw new Error(msg)
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/subschema.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/subschema.ts
deleted file mode 100644
index 9072ed77..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/compile/validate/subschema.ts
+++ /dev/null
@@ -1,135 +0,0 @@
-import type {AnySchema} from "../../types"
-import type {SchemaObjCxt} from ".."
-import {_, str, getProperty, Code, Name} from "../codegen"
-import {escapeFragment, getErrorPath, Type} from "../util"
-import type {JSONType} from "../rules"
-
-export interface SubschemaContext {
- // TODO use Optional? align with SchemCxt property types
- schema: AnySchema
- schemaPath: Code
- errSchemaPath: string
- topSchemaRef?: Code
- errorPath?: Code
- dataLevel?: number
- dataTypes?: JSONType[]
- data?: Name
- parentData?: Name
- parentDataProperty?: Code | number
- dataNames?: Name[]
- dataPathArr?: (Code | number)[]
- propertyName?: Name
- jtdDiscriminator?: string
- jtdMetadata?: boolean
- compositeRule?: true
- createErrors?: boolean
- allErrors?: boolean
-}
-
-export type SubschemaArgs = Partial<{
- keyword: string
- schemaProp: string | number
- schema: AnySchema
- schemaPath: Code
- errSchemaPath: string
- topSchemaRef: Code
- data: Name | Code
- dataProp: Code | string | number
- dataTypes: JSONType[]
- definedProperties: Set<string>
- propertyName: Name
- dataPropType: Type
- jtdDiscriminator: string
- jtdMetadata: boolean
- compositeRule: true
- createErrors: boolean
- allErrors: boolean
-}>
-
-export function getSubschema(
- it: SchemaObjCxt,
- {keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef}: SubschemaArgs
-): SubschemaContext {
- if (keyword !== undefined && schema !== undefined) {
- throw new Error('both "keyword" and "schema" passed, only one allowed')
- }
-
- if (keyword !== undefined) {
- const sch = it.schema[keyword]
- return schemaProp === undefined
- ? {
- schema: sch,
- schemaPath: _`${it.schemaPath}${getProperty(keyword)}`,
- errSchemaPath: `${it.errSchemaPath}/${keyword}`,
- }
- : {
- schema: sch[schemaProp],
- schemaPath: _`${it.schemaPath}${getProperty(keyword)}${getProperty(schemaProp)}`,
- errSchemaPath: `${it.errSchemaPath}/${keyword}/${escapeFragment(schemaProp)}`,
- }
- }
-
- if (schema !== undefined) {
- if (schemaPath === undefined || errSchemaPath === undefined || topSchemaRef === undefined) {
- throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"')
- }
- return {
- schema,
- schemaPath,
- topSchemaRef,
- errSchemaPath,
- }
- }
-
- throw new Error('either "keyword" or "schema" must be passed')
-}
-
-export function extendSubschemaData(
- subschema: SubschemaContext,
- it: SchemaObjCxt,
- {dataProp, dataPropType: dpType, data, dataTypes, propertyName}: SubschemaArgs
-): void {
- if (data !== undefined && dataProp !== undefined) {
- throw new Error('both "data" and "dataProp" passed, only one allowed')
- }
-
- const {gen} = it
-
- if (dataProp !== undefined) {
- const {errorPath, dataPathArr, opts} = it
- const nextData = gen.let("data", _`${it.data}${getProperty(dataProp)}`, true)
- dataContextProps(nextData)
- subschema.errorPath = str`${errorPath}${getErrorPath(dataProp, dpType, opts.jsPropertySyntax)}`
- subschema.parentDataProperty = _`${dataProp}`
- subschema.dataPathArr = [...dataPathArr, subschema.parentDataProperty]
- }
-
- if (data !== undefined) {
- const nextData = data instanceof Name ? data : gen.let("data", data, true) // replaceable if used once?
- dataContextProps(nextData)
- if (propertyName !== undefined) subschema.propertyName = propertyName
- // TODO something is possibly wrong here with not changing parentDataProperty and not appending dataPathArr
- }
-
- if (dataTypes) subschema.dataTypes = dataTypes
-
- function dataContextProps(_nextData: Name): void {
- subschema.data = _nextData
- subschema.dataLevel = it.dataLevel + 1
- subschema.dataTypes = []
- it.definedProperties = new Set<string>()
- subschema.parentData = it.data
- subschema.dataNames = [...it.dataNames, _nextData]
- }
-}
-
-export function extendSubschemaMode(
- subschema: SubschemaContext,
- {jtdDiscriminator, jtdMetadata, compositeRule, createErrors, allErrors}: SubschemaArgs
-): void {
- if (compositeRule !== undefined) subschema.compositeRule = compositeRule
- if (createErrors !== undefined) subschema.createErrors = createErrors
- if (allErrors !== undefined) subschema.allErrors = allErrors
- subschema.jtdDiscriminator = jtdDiscriminator // not inherited
- subschema.jtdMetadata = jtdMetadata // not inherited
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/core.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/core.ts
deleted file mode 100644
index 9e0bb326..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/core.ts
+++ /dev/null
@@ -1,881 +0,0 @@
-export {
- Format,
- FormatDefinition,
- AsyncFormatDefinition,
- KeywordDefinition,
- KeywordErrorDefinition,
- CodeKeywordDefinition,
- MacroKeywordDefinition,
- FuncKeywordDefinition,
- Vocabulary,
- Schema,
- SchemaObject,
- AnySchemaObject,
- AsyncSchema,
- AnySchema,
- ValidateFunction,
- AsyncValidateFunction,
- AnyValidateFunction,
- ErrorObject,
- ErrorNoParams,
-} from "./types"
-
-export {SchemaCxt, SchemaObjCxt} from "./compile"
-export interface Plugin<Opts> {
- (ajv: Ajv, options?: Opts): Ajv
- [prop: string]: any
-}
-
-export {KeywordCxt} from "./compile/validate"
-export {DefinedError} from "./vocabularies/errors"
-export {JSONType} from "./compile/rules"
-export {JSONSchemaType} from "./types/json-schema"
-export {JTDSchemaType, SomeJTDSchemaType, JTDDataType} from "./types/jtd-schema"
-export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen"
-
-import type {
- Schema,
- AnySchema,
- AnySchemaObject,
- SchemaObject,
- AsyncSchema,
- Vocabulary,
- KeywordDefinition,
- AddedKeywordDefinition,
- AnyValidateFunction,
- ValidateFunction,
- AsyncValidateFunction,
- ErrorObject,
- Format,
- AddedFormat,
- RegExpEngine,
-} from "./types"
-import type {JSONSchemaType} from "./types/json-schema"
-import type {JTDSchemaType, SomeJTDSchemaType, JTDDataType} from "./types/jtd-schema"
-import ValidationError from "./runtime/validation_error"
-import MissingRefError from "./compile/ref_error"
-import {getRules, ValidationRules, Rule, RuleGroup, JSONType} from "./compile/rules"
-import {SchemaEnv, compileSchema, resolveSchema} from "./compile"
-import {Code, ValueScope} from "./compile/codegen"
-import {normalizeId, getSchemaRefs} from "./compile/resolve"
-import {getJSONTypes} from "./compile/validate/dataType"
-import {eachItem} from "./compile/util"
-
-import * as $dataRefSchema from "./refs/data.json"
-
-const defaultRegExp: RegExpEngine = (str, flags) => new RegExp(str, flags)
-defaultRegExp.code = "new RegExp"
-
-const META_IGNORE_OPTIONS: (keyof Options)[] = ["removeAdditional", "useDefaults", "coerceTypes"]
-const EXT_SCOPE_NAMES = new Set([
- "validate",
- "serialize",
- "parse",
- "wrapper",
- "root",
- "schema",
- "keyword",
- "pattern",
- "formats",
- "validate$data",
- "func",
- "obj",
- "Error",
-])
-
-export type Options = CurrentOptions & DeprecatedOptions
-
-export interface CurrentOptions {
- // strict mode options (NEW)
- strict?: boolean | "log"
- strictSchema?: boolean | "log"
- strictNumbers?: boolean | "log"
- strictTypes?: boolean | "log"
- strictTuples?: boolean | "log"
- strictRequired?: boolean | "log"
- allowMatchingProperties?: boolean // disables a strict mode restriction
- allowUnionTypes?: boolean
- validateFormats?: boolean
- // validation and reporting options:
- $data?: boolean
- allErrors?: boolean
- verbose?: boolean
- discriminator?: boolean
- unicodeRegExp?: boolean
- timestamp?: "string" | "date" // JTD only
- parseDate?: boolean // JTD only
- allowDate?: boolean // JTD only
- $comment?:
- | true
- | ((comment: string, schemaPath?: string, rootSchema?: AnySchemaObject) => unknown)
- formats?: {[Name in string]?: Format}
- keywords?: Vocabulary
- schemas?: AnySchema[] | {[Key in string]?: AnySchema}
- logger?: Logger | false
- loadSchema?: (uri: string) => Promise<AnySchemaObject>
- // options to modify validated data:
- removeAdditional?: boolean | "all" | "failing"
- useDefaults?: boolean | "empty"
- coerceTypes?: boolean | "array"
- // advanced options:
- next?: boolean // NEW
- unevaluated?: boolean // NEW
- dynamicRef?: boolean // NEW
- schemaId?: "id" | "$id"
- jtd?: boolean // NEW
- meta?: SchemaObject | boolean
- defaultMeta?: string | AnySchemaObject
- validateSchema?: boolean | "log"
- addUsedSchema?: boolean
- inlineRefs?: boolean | number
- passContext?: boolean
- loopRequired?: number
- loopEnum?: number // NEW
- ownProperties?: boolean
- multipleOfPrecision?: number
- int32range?: boolean // JTD only
- messages?: boolean
- code?: CodeOptions // NEW
-}
-
-export interface CodeOptions {
- es5?: boolean
- esm?: boolean
- lines?: boolean
- optimize?: boolean | number
- formats?: Code // code to require (or construct) map of available formats - for standalone code
- source?: boolean
- process?: (code: string, schema?: SchemaEnv) => string
- regExp?: RegExpEngine
-}
-
-interface InstanceCodeOptions extends CodeOptions {
- regExp: RegExpEngine
- optimize: number
-}
-
-interface DeprecatedOptions {
- /** @deprecated */
- ignoreKeywordsWithRef?: boolean
- /** @deprecated */
- jsPropertySyntax?: boolean // added instead of jsonPointers
- /** @deprecated */
- unicode?: boolean
-}
-
-interface RemovedOptions {
- format?: boolean
- errorDataPath?: "object" | "property"
- nullable?: boolean // "nullable" keyword is supported by default
- jsonPointers?: boolean
- extendRefs?: true | "ignore" | "fail"
- missingRefs?: true | "ignore" | "fail"
- processCode?: (code: string, schema?: SchemaEnv) => string
- sourceCode?: boolean
- strictDefaults?: boolean
- strictKeywords?: boolean
- uniqueItems?: boolean
- unknownFormats?: true | string[] | "ignore"
- cache?: any
- serialize?: (schema: AnySchema) => unknown
- ajvErrors?: boolean
-}
-
-type OptionsInfo<T extends RemovedOptions | DeprecatedOptions> = {
- [K in keyof T]-?: string | undefined
-}
-
-const removedOptions: OptionsInfo<RemovedOptions> = {
- errorDataPath: "",
- format: "`validateFormats: false` can be used instead.",
- nullable: '"nullable" keyword is supported by default.',
- jsonPointers: "Deprecated jsPropertySyntax can be used instead.",
- extendRefs: "Deprecated ignoreKeywordsWithRef can be used instead.",
- missingRefs: "Pass empty schema with $id that should be ignored to ajv.addSchema.",
- processCode: "Use option `code: {process: (code, schemaEnv: object) => string}`",
- sourceCode: "Use option `code: {source: true}`",
- strictDefaults: "It is default now, see option `strict`.",
- strictKeywords: "It is default now, see option `strict`.",
- uniqueItems: '"uniqueItems" keyword is always validated.',
- unknownFormats: "Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",
- cache: "Map is used as cache, schema object as key.",
- serialize: "Map is used as cache, schema object as key.",
- ajvErrors: "It is default now.",
-}
-
-const deprecatedOptions: OptionsInfo<DeprecatedOptions> = {
- ignoreKeywordsWithRef: "",
- jsPropertySyntax: "",
- unicode: '"minLength"/"maxLength" account for unicode characters by default.',
-}
-
-type RequiredInstanceOptions = {
- [K in
- | "strictSchema"
- | "strictNumbers"
- | "strictTypes"
- | "strictTuples"
- | "strictRequired"
- | "inlineRefs"
- | "loopRequired"
- | "loopEnum"
- | "meta"
- | "messages"
- | "schemaId"
- | "addUsedSchema"
- | "validateSchema"
- | "validateFormats"
- | "int32range"
- | "unicodeRegExp"]: NonNullable<Options[K]>
-} & {code: InstanceCodeOptions}
-
-export type InstanceOptions = Options & RequiredInstanceOptions
-
-const MAX_EXPRESSION = 200
-
-// eslint-disable-next-line complexity
-function requiredOptions(o: Options): RequiredInstanceOptions {
- const s = o.strict
- const _optz = o.code?.optimize
- const optimize = _optz === true || _optz === undefined ? 1 : _optz || 0
- const regExp = o.code?.regExp ?? defaultRegExp
- return {
- strictSchema: o.strictSchema ?? s ?? true,
- strictNumbers: o.strictNumbers ?? s ?? true,
- strictTypes: o.strictTypes ?? s ?? "log",
- strictTuples: o.strictTuples ?? s ?? "log",
- strictRequired: o.strictRequired ?? s ?? false,
- code: o.code ? {...o.code, optimize, regExp} : {optimize, regExp},
- loopRequired: o.loopRequired ?? MAX_EXPRESSION,
- loopEnum: o.loopEnum ?? MAX_EXPRESSION,
- meta: o.meta ?? true,
- messages: o.messages ?? true,
- inlineRefs: o.inlineRefs ?? true,
- schemaId: o.schemaId ?? "$id",
- addUsedSchema: o.addUsedSchema ?? true,
- validateSchema: o.validateSchema ?? true,
- validateFormats: o.validateFormats ?? true,
- unicodeRegExp: o.unicodeRegExp ?? true,
- int32range: o.int32range ?? true,
- }
-}
-
-export interface Logger {
- log(...args: unknown[]): unknown
- warn(...args: unknown[]): unknown
- error(...args: unknown[]): unknown
-}
-
-export default class Ajv {
- opts: InstanceOptions
- errors?: ErrorObject[] | null // errors from the last validation
- logger: Logger
- // shared external scope values for compiled functions
- readonly scope: ValueScope
- readonly schemas: {[Key in string]?: SchemaEnv} = {}
- readonly refs: {[Ref in string]?: SchemaEnv | string} = {}
- readonly formats: {[Name in string]?: AddedFormat} = {}
- readonly RULES: ValidationRules
- readonly _compilations: Set<SchemaEnv> = new Set()
- private readonly _loading: {[Ref in string]?: Promise<AnySchemaObject>} = {}
- private readonly _cache: Map<AnySchema, SchemaEnv> = new Map()
- private readonly _metaOpts: InstanceOptions
-
- static ValidationError = ValidationError
- static MissingRefError = MissingRefError
-
- constructor(opts: Options = {}) {
- opts = this.opts = {...opts, ...requiredOptions(opts)}
- const {es5, lines} = this.opts.code
-
- this.scope = new ValueScope({scope: {}, prefixes: EXT_SCOPE_NAMES, es5, lines})
- this.logger = getLogger(opts.logger)
- const formatOpt = opts.validateFormats
- opts.validateFormats = false
-
- this.RULES = getRules()
- checkOptions.call(this, removedOptions, opts, "NOT SUPPORTED")
- checkOptions.call(this, deprecatedOptions, opts, "DEPRECATED", "warn")
- this._metaOpts = getMetaSchemaOptions.call(this)
-
- if (opts.formats) addInitialFormats.call(this)
- this._addVocabularies()
- this._addDefaultMetaSchema()
- if (opts.keywords) addInitialKeywords.call(this, opts.keywords)
- if (typeof opts.meta == "object") this.addMetaSchema(opts.meta)
- addInitialSchemas.call(this)
- opts.validateFormats = formatOpt
- }
-
- _addVocabularies(): void {
- this.addKeyword("$async")
- }
-
- _addDefaultMetaSchema(): void {
- const {$data, meta, schemaId} = this.opts
- let _dataRefSchema: SchemaObject = $dataRefSchema
- if (schemaId === "id") {
- _dataRefSchema = {...$dataRefSchema}
- _dataRefSchema.id = _dataRefSchema.$id
- delete _dataRefSchema.$id
- }
- if (meta && $data) this.addMetaSchema(_dataRefSchema, _dataRefSchema[schemaId], false)
- }
-
- defaultMeta(): string | AnySchemaObject | undefined {
- const {meta, schemaId} = this.opts
- return (this.opts.defaultMeta = typeof meta == "object" ? meta[schemaId] || meta : undefined)
- }
-
- // Validate data using schema
- // AnySchema will be compiled and cached using schema itself as a key for Map
- validate(schema: Schema | string, data: unknown): boolean
- validate(schemaKeyRef: AnySchema | string, data: unknown): boolean | Promise<unknown>
- validate<T>(schema: Schema | JSONSchemaType<T> | string, data: unknown): data is T
- // Separated for type inference to work
- // eslint-disable-next-line @typescript-eslint/unified-signatures
- validate<T>(schema: JTDSchemaType<T>, data: unknown): data is T
- // This overload is only intended for typescript inference, the first
- // argument prevents manual type annotation from matching this overload
- validate<N extends never, T extends SomeJTDSchemaType>(
- schema: T,
- data: unknown
- ): data is JTDDataType<T>
- validate<T>(schema: AsyncSchema, data: unknown | T): Promise<T>
- validate<T>(schemaKeyRef: AnySchema | string, data: unknown): data is T | Promise<T>
- validate<T>(
- schemaKeyRef: AnySchema | string, // key, ref or schema object
- data: unknown | T // to be validated
- ): boolean | Promise<T> {
- let v: AnyValidateFunction | undefined
- if (typeof schemaKeyRef == "string") {
- v = this.getSchema<T>(schemaKeyRef)
- if (!v) throw new Error(`no schema with key or ref "${schemaKeyRef}"`)
- } else {
- v = this.compile<T>(schemaKeyRef)
- }
-
- const valid = v(data)
- if (!("$async" in v)) this.errors = v.errors
- return valid
- }
-
- // Create validation function for passed schema
- // _meta: true if schema is a meta-schema. Used internally to compile meta schemas of user-defined keywords.
- compile<T = unknown>(schema: Schema | JSONSchemaType<T>, _meta?: boolean): ValidateFunction<T>
- // Separated for type inference to work
- // eslint-disable-next-line @typescript-eslint/unified-signatures
- compile<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): ValidateFunction<T>
- // This overload is only intended for typescript inference, the first
- // argument prevents manual type annotation from matching this overload
- compile<N extends never, T extends SomeJTDSchemaType>(
- schema: T,
- _meta?: boolean
- ): ValidateFunction<JTDDataType<T>>
- compile<T = unknown>(schema: AsyncSchema, _meta?: boolean): AsyncValidateFunction<T>
- compile<T = unknown>(schema: AnySchema, _meta?: boolean): AnyValidateFunction<T>
- compile<T = unknown>(schema: AnySchema, _meta?: boolean): AnyValidateFunction<T> {
- const sch = this._addSchema(schema, _meta)
- return (sch.validate || this._compileSchemaEnv(sch)) as AnyValidateFunction<T>
- }
-
- // Creates validating function for passed schema with asynchronous loading of missing schemas.
- // `loadSchema` option should be a function that accepts schema uri and returns promise that resolves with the schema.
- // TODO allow passing schema URI
- // meta - optional true to compile meta-schema
- compileAsync<T = unknown>(
- schema: SchemaObject | JSONSchemaType<T>,
- _meta?: boolean
- ): Promise<ValidateFunction<T>>
- // Separated for type inference to work
- // eslint-disable-next-line @typescript-eslint/unified-signatures
- compileAsync<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): Promise<ValidateFunction<T>>
- compileAsync<T = unknown>(schema: AsyncSchema, meta?: boolean): Promise<AsyncValidateFunction<T>>
- // eslint-disable-next-line @typescript-eslint/unified-signatures
- compileAsync<T = unknown>(
- schema: AnySchemaObject,
- meta?: boolean
- ): Promise<AnyValidateFunction<T>>
- compileAsync<T = unknown>(
- schema: AnySchemaObject,
- meta?: boolean
- ): Promise<AnyValidateFunction<T>> {
- if (typeof this.opts.loadSchema != "function") {
- throw new Error("options.loadSchema should be a function")
- }
- const {loadSchema} = this.opts
- return runCompileAsync.call(this, schema, meta)
-
- async function runCompileAsync(
- this: Ajv,
- _schema: AnySchemaObject,
- _meta?: boolean
- ): Promise<AnyValidateFunction> {
- await loadMetaSchema.call(this, _schema.$schema)
- const sch = this._addSchema(_schema, _meta)
- return sch.validate || _compileAsync.call(this, sch)
- }
-
- async function loadMetaSchema(this: Ajv, $ref?: string): Promise<void> {
- if ($ref && !this.getSchema($ref)) {
- await runCompileAsync.call(this, {$ref}, true)
- }
- }
-
- async function _compileAsync(this: Ajv, sch: SchemaEnv): Promise<AnyValidateFunction> {
- try {
- return this._compileSchemaEnv(sch)
- } catch (e) {
- if (!(e instanceof MissingRefError)) throw e
- checkLoaded.call(this, e)
- await loadMissingSchema.call(this, e.missingSchema)
- return _compileAsync.call(this, sch)
- }
- }
-
- function checkLoaded(this: Ajv, {missingSchema: ref, missingRef}: MissingRefError): void {
- if (this.refs[ref]) {
- throw new Error(`AnySchema ${ref} is loaded but ${missingRef} cannot be resolved`)
- }
- }
-
- async function loadMissingSchema(this: Ajv, ref: string): Promise<void> {
- const _schema = await _loadSchema.call(this, ref)
- if (!this.refs[ref]) await loadMetaSchema.call(this, _schema.$schema)
- if (!this.refs[ref]) this.addSchema(_schema, ref, meta)
- }
-
- async function _loadSchema(this: Ajv, ref: string): Promise<AnySchemaObject> {
- const p = this._loading[ref]
- if (p) return p
- try {
- return await (this._loading[ref] = loadSchema(ref))
- } finally {
- delete this._loading[ref]
- }
- }
- }
-
- // Adds schema to the instance
- addSchema(
- schema: AnySchema | AnySchema[], // If array is passed, `key` will be ignored
- key?: string, // Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.
- _meta?: boolean, // true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.
- _validateSchema = this.opts.validateSchema // false to skip schema validation. Used internally, option validateSchema should be used instead.
- ): Ajv {
- if (Array.isArray(schema)) {
- for (const sch of schema) this.addSchema(sch, undefined, _meta, _validateSchema)
- return this
- }
- let id: string | undefined
- if (typeof schema === "object") {
- const {schemaId} = this.opts
- id = schema[schemaId]
- if (id !== undefined && typeof id != "string") {
- throw new Error(`schema ${schemaId} must be string`)
- }
- }
- key = normalizeId(key || id)
- this._checkUnique(key)
- this.schemas[key] = this._addSchema(schema, _meta, key, _validateSchema, true)
- return this
- }
-
- // Add schema that will be used to validate other schemas
- // options in META_IGNORE_OPTIONS are alway set to false
- addMetaSchema(
- schema: AnySchemaObject,
- key?: string, // schema key
- _validateSchema = this.opts.validateSchema // false to skip schema validation, can be used to override validateSchema option for meta-schema
- ): Ajv {
- this.addSchema(schema, key, true, _validateSchema)
- return this
- }
-
- // Validate schema against its meta-schema
- validateSchema(schema: AnySchema, throwOrLogError?: boolean): boolean | Promise<unknown> {
- if (typeof schema == "boolean") return true
- let $schema: string | AnySchemaObject | undefined
- $schema = schema.$schema
- if ($schema !== undefined && typeof $schema != "string") {
- throw new Error("$schema must be a string")
- }
- $schema = $schema || this.opts.defaultMeta || this.defaultMeta()
- if (!$schema) {
- this.logger.warn("meta-schema not available")
- this.errors = null
- return true
- }
- const valid = this.validate($schema, schema)
- if (!valid && throwOrLogError) {
- const message = "schema is invalid: " + this.errorsText()
- if (this.opts.validateSchema === "log") this.logger.error(message)
- else throw new Error(message)
- }
- return valid
- }
-
- // Get compiled schema by `key` or `ref`.
- // (`key` that was passed to `addSchema` or full schema reference - `schema.$id` or resolved id)
- getSchema<T = unknown>(keyRef: string): AnyValidateFunction<T> | undefined {
- let sch
- while (typeof (sch = getSchEnv.call(this, keyRef)) == "string") keyRef = sch
- if (sch === undefined) {
- const {schemaId} = this.opts
- const root = new SchemaEnv({schema: {}, schemaId})
- sch = resolveSchema.call(this, root, keyRef)
- if (!sch) return
- this.refs[keyRef] = sch
- }
- return (sch.validate || this._compileSchemaEnv(sch)) as AnyValidateFunction<T> | undefined
- }
-
- // Remove cached schema(s).
- // If no parameter is passed all schemas but meta-schemas are removed.
- // If RegExp is passed all schemas with key/id matching pattern but meta-schemas are removed.
- // Even if schema is referenced by other schemas it still can be removed as other schemas have local references.
- removeSchema(schemaKeyRef?: AnySchema | string | RegExp): Ajv {
- if (schemaKeyRef instanceof RegExp) {
- this._removeAllSchemas(this.schemas, schemaKeyRef)
- this._removeAllSchemas(this.refs, schemaKeyRef)
- return this
- }
- switch (typeof schemaKeyRef) {
- case "undefined":
- this._removeAllSchemas(this.schemas)
- this._removeAllSchemas(this.refs)
- this._cache.clear()
- return this
- case "string": {
- const sch = getSchEnv.call(this, schemaKeyRef)
- if (typeof sch == "object") this._cache.delete(sch.schema)
- delete this.schemas[schemaKeyRef]
- delete this.refs[schemaKeyRef]
- return this
- }
- case "object": {
- const cacheKey = schemaKeyRef
- this._cache.delete(cacheKey)
- let id = schemaKeyRef[this.opts.schemaId]
- if (id) {
- id = normalizeId(id)
- delete this.schemas[id]
- delete this.refs[id]
- }
- return this
- }
- default:
- throw new Error("ajv.removeSchema: invalid parameter")
- }
- }
-
- // add "vocabulary" - a collection of keywords
- addVocabulary(definitions: Vocabulary): Ajv {
- for (const def of definitions) this.addKeyword(def)
- return this
- }
-
- addKeyword(
- kwdOrDef: string | KeywordDefinition,
- def?: KeywordDefinition // deprecated
- ): Ajv {
- let keyword: string | string[]
- if (typeof kwdOrDef == "string") {
- keyword = kwdOrDef
- if (typeof def == "object") {
- this.logger.warn("these parameters are deprecated, see docs for addKeyword")
- def.keyword = keyword
- }
- } else if (typeof kwdOrDef == "object" && def === undefined) {
- def = kwdOrDef
- keyword = def.keyword
- if (Array.isArray(keyword) && !keyword.length) {
- throw new Error("addKeywords: keyword must be string or non-empty array")
- }
- } else {
- throw new Error("invalid addKeywords parameters")
- }
-
- checkKeyword.call(this, keyword, def)
- if (!def) {
- eachItem(keyword, (kwd) => addRule.call(this, kwd))
- return this
- }
- keywordMetaschema.call(this, def)
- const definition: AddedKeywordDefinition = {
- ...def,
- type: getJSONTypes(def.type),
- schemaType: getJSONTypes(def.schemaType),
- }
- eachItem(
- keyword,
- definition.type.length === 0
- ? (k) => addRule.call(this, k, definition)
- : (k) => definition.type.forEach((t) => addRule.call(this, k, definition, t))
- )
- return this
- }
-
- getKeyword(keyword: string): AddedKeywordDefinition | boolean {
- const rule = this.RULES.all[keyword]
- return typeof rule == "object" ? rule.definition : !!rule
- }
-
- // Remove keyword
- removeKeyword(keyword: string): Ajv {
- // TODO return type should be Ajv
- const {RULES} = this
- delete RULES.keywords[keyword]
- delete RULES.all[keyword]
- for (const group of RULES.rules) {
- const i = group.rules.findIndex((rule) => rule.keyword === keyword)
- if (i >= 0) group.rules.splice(i, 1)
- }
- return this
- }
-
- // Add format
- addFormat(name: string, format: Format): Ajv {
- if (typeof format == "string") format = new RegExp(format)
- this.formats[name] = format
- return this
- }
-
- errorsText(
- errors: ErrorObject[] | null | undefined = this.errors, // optional array of validation errors
- {separator = ", ", dataVar = "data"}: ErrorsTextOptions = {} // optional options with properties `separator` and `dataVar`
- ): string {
- if (!errors || errors.length === 0) return "No errors"
- return errors
- .map((e) => `${dataVar}${e.instancePath} ${e.message}`)
- .reduce((text, msg) => text + separator + msg)
- }
-
- $dataMetaSchema(metaSchema: AnySchemaObject, keywordsJsonPointers: string[]): AnySchemaObject {
- const rules = this.RULES.all
- metaSchema = JSON.parse(JSON.stringify(metaSchema))
- for (const jsonPointer of keywordsJsonPointers) {
- const segments = jsonPointer.split("/").slice(1) // first segment is an empty string
- let keywords = metaSchema
- for (const seg of segments) keywords = keywords[seg] as AnySchemaObject
-
- for (const key in rules) {
- const rule = rules[key]
- if (typeof rule != "object") continue
- const {$data} = rule.definition
- const schema = keywords[key] as AnySchemaObject | undefined
- if ($data && schema) keywords[key] = schemaOrData(schema)
- }
- }
-
- return metaSchema
- }
-
- private _removeAllSchemas(schemas: {[Ref in string]?: SchemaEnv | string}, regex?: RegExp): void {
- for (const keyRef in schemas) {
- const sch = schemas[keyRef]
- if (!regex || regex.test(keyRef)) {
- if (typeof sch == "string") {
- delete schemas[keyRef]
- } else if (sch && !sch.meta) {
- this._cache.delete(sch.schema)
- delete schemas[keyRef]
- }
- }
- }
- }
-
- _addSchema(
- schema: AnySchema,
- meta?: boolean,
- baseId?: string,
- validateSchema = this.opts.validateSchema,
- addSchema = this.opts.addUsedSchema
- ): SchemaEnv {
- let id: string | undefined
- const {schemaId} = this.opts
- if (typeof schema == "object") {
- id = schema[schemaId]
- } else {
- if (this.opts.jtd) throw new Error("schema must be object")
- else if (typeof schema != "boolean") throw new Error("schema must be object or boolean")
- }
- let sch = this._cache.get(schema)
- if (sch !== undefined) return sch
-
- baseId = normalizeId(id || baseId)
- const localRefs = getSchemaRefs.call(this, schema, baseId)
- sch = new SchemaEnv({schema, schemaId, meta, baseId, localRefs})
- this._cache.set(sch.schema, sch)
- if (addSchema && !baseId.startsWith("#")) {
- // TODO atm it is allowed to overwrite schemas without id (instead of not adding them)
- if (baseId) this._checkUnique(baseId)
- this.refs[baseId] = sch
- }
- if (validateSchema) this.validateSchema(schema, true)
- return sch
- }
-
- private _checkUnique(id: string): void {
- if (this.schemas[id] || this.refs[id]) {
- throw new Error(`schema with key or id "${id}" already exists`)
- }
- }
-
- private _compileSchemaEnv(sch: SchemaEnv): AnyValidateFunction {
- if (sch.meta) this._compileMetaSchema(sch)
- else compileSchema.call(this, sch)
-
- /* istanbul ignore if */
- if (!sch.validate) throw new Error("ajv implementation error")
- return sch.validate
- }
-
- private _compileMetaSchema(sch: SchemaEnv): void {
- const currentOpts = this.opts
- this.opts = this._metaOpts
- try {
- compileSchema.call(this, sch)
- } finally {
- this.opts = currentOpts
- }
- }
-}
-
-export interface ErrorsTextOptions {
- separator?: string
- dataVar?: string
-}
-
-function checkOptions(
- this: Ajv,
- checkOpts: OptionsInfo<RemovedOptions | DeprecatedOptions>,
- options: Options & RemovedOptions,
- msg: string,
- log: "warn" | "error" = "error"
-): void {
- for (const key in checkOpts) {
- const opt = key as keyof typeof checkOpts
- if (opt in options) this.logger[log](`${msg}: option ${key}. ${checkOpts[opt]}`)
- }
-}
-
-function getSchEnv(this: Ajv, keyRef: string): SchemaEnv | string | undefined {
- keyRef = normalizeId(keyRef) // TODO tests fail without this line
- return this.schemas[keyRef] || this.refs[keyRef]
-}
-
-function addInitialSchemas(this: Ajv): void {
- const optsSchemas = this.opts.schemas
- if (!optsSchemas) return
- if (Array.isArray(optsSchemas)) this.addSchema(optsSchemas)
- else for (const key in optsSchemas) this.addSchema(optsSchemas[key] as AnySchema, key)
-}
-
-function addInitialFormats(this: Ajv): void {
- for (const name in this.opts.formats) {
- const format = this.opts.formats[name]
- if (format) this.addFormat(name, format)
- }
-}
-
-function addInitialKeywords(
- this: Ajv,
- defs: Vocabulary | {[K in string]?: KeywordDefinition}
-): void {
- if (Array.isArray(defs)) {
- this.addVocabulary(defs)
- return
- }
- this.logger.warn("keywords option as map is deprecated, pass array")
- for (const keyword in defs) {
- const def = defs[keyword] as KeywordDefinition
- if (!def.keyword) def.keyword = keyword
- this.addKeyword(def)
- }
-}
-
-function getMetaSchemaOptions(this: Ajv): InstanceOptions {
- const metaOpts = {...this.opts}
- for (const opt of META_IGNORE_OPTIONS) delete metaOpts[opt]
- return metaOpts
-}
-
-const noLogs = {log() {}, warn() {}, error() {}}
-
-function getLogger(logger?: Partial<Logger> | false): Logger {
- if (logger === false) return noLogs
- if (logger === undefined) return console
- if (logger.log && logger.warn && logger.error) return logger as Logger
- throw new Error("logger must implement log, warn and error methods")
-}
-
-const KEYWORD_NAME = /^[a-z_$][a-z0-9_$:-]*$/i
-
-function checkKeyword(this: Ajv, keyword: string | string[], def?: KeywordDefinition): void {
- const {RULES} = this
- eachItem(keyword, (kwd) => {
- if (RULES.keywords[kwd]) throw new Error(`Keyword ${kwd} is already defined`)
- if (!KEYWORD_NAME.test(kwd)) throw new Error(`Keyword ${kwd} has invalid name`)
- })
- if (!def) return
- if (def.$data && !("code" in def || "validate" in def)) {
- throw new Error('$data keyword must have "code" or "validate" function')
- }
-}
-
-function addRule(
- this: Ajv,
- keyword: string,
- definition?: AddedKeywordDefinition,
- dataType?: JSONType
-): void {
- const post = definition?.post
- if (dataType && post) throw new Error('keyword with "post" flag cannot have "type"')
- const {RULES} = this
- let ruleGroup = post ? RULES.post : RULES.rules.find(({type: t}) => t === dataType)
- if (!ruleGroup) {
- ruleGroup = {type: dataType, rules: []}
- RULES.rules.push(ruleGroup)
- }
- RULES.keywords[keyword] = true
- if (!definition) return
-
- const rule: Rule = {
- keyword,
- definition: {
- ...definition,
- type: getJSONTypes(definition.type),
- schemaType: getJSONTypes(definition.schemaType),
- },
- }
- if (definition.before) addBeforeRule.call(this, ruleGroup, rule, definition.before)
- else ruleGroup.rules.push(rule)
- RULES.all[keyword] = rule
- definition.implements?.forEach((kwd) => this.addKeyword(kwd))
-}
-
-function addBeforeRule(this: Ajv, ruleGroup: RuleGroup, rule: Rule, before: string): void {
- const i = ruleGroup.rules.findIndex((_rule) => _rule.keyword === before)
- if (i >= 0) {
- ruleGroup.rules.splice(i, 0, rule)
- } else {
- ruleGroup.rules.push(rule)
- this.logger.warn(`rule ${before} is not defined`)
- }
-}
-
-function keywordMetaschema(this: Ajv, def: KeywordDefinition): void {
- let {metaSchema} = def
- if (metaSchema === undefined) return
- if (def.$data && this.opts.$data) metaSchema = schemaOrData(metaSchema)
- def.validateSchema = this.compile(metaSchema, true)
-}
-
-const $dataRef = {
- $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
-}
-
-function schemaOrData(schema: AnySchema): AnySchemaObject {
- return {anyOf: [schema, $dataRef]}
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/jtd.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/jtd.ts
deleted file mode 100644
index b53749ba..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/jtd.ts
+++ /dev/null
@@ -1,129 +0,0 @@
-import type {AnySchemaObject, SchemaObject, JTDParser} from "./types"
-import type {JTDSchemaType, SomeJTDSchemaType, JTDDataType} from "./types/jtd-schema"
-import AjvCore, {CurrentOptions} from "./core"
-import jtdVocabulary from "./vocabularies/jtd"
-import jtdMetaSchema from "./refs/jtd-schema"
-import compileSerializer from "./compile/jtd/serialize"
-import compileParser from "./compile/jtd/parse"
-import {SchemaEnv} from "./compile"
-
-const META_SCHEMA_ID = "JTD-meta-schema"
-
-type JTDOptions = CurrentOptions & {
- // strict mode options not supported with JTD:
- strict?: never
- allowMatchingProperties?: never
- allowUnionTypes?: never
- validateFormats?: never
- // validation and reporting options not supported with JTD:
- $data?: never
- verbose?: boolean
- $comment?: never
- formats?: never
- loadSchema?: never
- // options to modify validated data:
- useDefaults?: never
- coerceTypes?: never
- // advanced options:
- next?: never
- unevaluated?: never
- dynamicRef?: never
- meta?: boolean
- defaultMeta?: never
- inlineRefs?: boolean
- loopRequired?: never
- multipleOfPrecision?: never
-}
-
-class Ajv extends AjvCore {
- constructor(opts: JTDOptions = {}) {
- super({
- ...opts,
- jtd: true,
- })
- }
-
- _addVocabularies(): void {
- super._addVocabularies()
- this.addVocabulary(jtdVocabulary)
- }
-
- _addDefaultMetaSchema(): void {
- super._addDefaultMetaSchema()
- if (!this.opts.meta) return
- this.addMetaSchema(jtdMetaSchema, META_SCHEMA_ID, false)
- }
-
- defaultMeta(): string | AnySchemaObject | undefined {
- return (this.opts.defaultMeta =
- super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined))
- }
-
- compileSerializer<T = unknown>(schema: SchemaObject): (data: T) => string
- // Separated for type inference to work
- // eslint-disable-next-line @typescript-eslint/unified-signatures
- compileSerializer<T = unknown>(schema: JTDSchemaType<T>): (data: T) => string
- compileSerializer<T = unknown>(schema: SchemaObject): (data: T) => string {
- const sch = this._addSchema(schema)
- return sch.serialize || this._compileSerializer(sch)
- }
-
- compileParser<T = unknown>(schema: SchemaObject): JTDParser<T>
- // Separated for type inference to work
- // eslint-disable-next-line @typescript-eslint/unified-signatures
- compileParser<T = unknown>(schema: JTDSchemaType<T>): JTDParser<T>
- compileParser<T = unknown>(schema: SchemaObject): JTDParser<T> {
- const sch = this._addSchema(schema)
- return (sch.parse || this._compileParser(sch)) as JTDParser<T>
- }
-
- private _compileSerializer<T>(sch: SchemaEnv): (data: T) => string {
- compileSerializer.call(this, sch, (sch.schema as AnySchemaObject).definitions || {})
- /* istanbul ignore if */
- if (!sch.serialize) throw new Error("ajv implementation error")
- return sch.serialize
- }
-
- private _compileParser(sch: SchemaEnv): JTDParser {
- compileParser.call(this, sch, (sch.schema as AnySchemaObject).definitions || {})
- /* istanbul ignore if */
- if (!sch.parse) throw new Error("ajv implementation error")
- return sch.parse
- }
-}
-
-module.exports = exports = Ajv
-Object.defineProperty(exports, "__esModule", {value: true})
-
-export default Ajv
-
-export {
- Format,
- FormatDefinition,
- AsyncFormatDefinition,
- KeywordDefinition,
- KeywordErrorDefinition,
- CodeKeywordDefinition,
- MacroKeywordDefinition,
- FuncKeywordDefinition,
- Vocabulary,
- Schema,
- SchemaObject,
- AnySchemaObject,
- AsyncSchema,
- AnySchema,
- ValidateFunction,
- AsyncValidateFunction,
- ErrorObject,
- ErrorNoParams,
- JTDParser,
-} from "./types"
-
-export {Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions} from "./core"
-export {SchemaCxt, SchemaObjCxt} from "./compile"
-export {KeywordCxt} from "./compile/validate"
-export {JTDErrorObject} from "./vocabularies/jtd"
-export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen"
-
-export {JTDSchemaType, SomeJTDSchemaType, JTDDataType}
-export {JTDOptions}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/data.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/data.json
deleted file mode 100644
index 9ffc9f5c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/data.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
- "description": "Meta-schema for $data reference (JSON AnySchema extension proposal)",
- "type": "object",
- "required": ["$data"],
- "properties": {
- "$data": {
- "type": "string",
- "anyOf": [{"format": "relative-json-pointer"}, {"format": "json-pointer"}]
- }
- },
- "additionalProperties": false
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts
deleted file mode 100644
index b6ea7195..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import type Ajv from "../../core"
-import type {AnySchemaObject} from "../../types"
-import * as metaSchema from "./schema.json"
-import * as applicator from "./meta/applicator.json"
-import * as content from "./meta/content.json"
-import * as core from "./meta/core.json"
-import * as format from "./meta/format.json"
-import * as metadata from "./meta/meta-data.json"
-import * as validation from "./meta/validation.json"
-
-const META_SUPPORT_DATA = ["/properties"]
-
-export default function addMetaSchema2019(this: Ajv, $data?: boolean): Ajv {
- ;[
- metaSchema,
- applicator,
- content,
- core,
- with$data(this, format),
- metadata,
- with$data(this, validation),
- ].forEach((sch) => this.addMetaSchema(sch, undefined, false))
- return this
-
- function with$data(ajv: Ajv, sch: AnySchemaObject): AnySchemaObject {
- return $data ? ajv.$dataMetaSchema(sch, META_SUPPORT_DATA) : sch
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json
deleted file mode 100644
index c5e91cf2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/applicator",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/applicator": true
- },
- "$recursiveAnchor": true,
-
- "title": "Applicator vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "additionalItems": {"$recursiveRef": "#"},
- "unevaluatedItems": {"$recursiveRef": "#"},
- "items": {
- "anyOf": [{"$recursiveRef": "#"}, {"$ref": "#/$defs/schemaArray"}]
- },
- "contains": {"$recursiveRef": "#"},
- "additionalProperties": {"$recursiveRef": "#"},
- "unevaluatedProperties": {"$recursiveRef": "#"},
- "properties": {
- "type": "object",
- "additionalProperties": {"$recursiveRef": "#"},
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": {"$recursiveRef": "#"},
- "propertyNames": {"format": "regex"},
- "default": {}
- },
- "dependentSchemas": {
- "type": "object",
- "additionalProperties": {
- "$recursiveRef": "#"
- }
- },
- "propertyNames": {"$recursiveRef": "#"},
- "if": {"$recursiveRef": "#"},
- "then": {"$recursiveRef": "#"},
- "else": {"$recursiveRef": "#"},
- "allOf": {"$ref": "#/$defs/schemaArray"},
- "anyOf": {"$ref": "#/$defs/schemaArray"},
- "oneOf": {"$ref": "#/$defs/schemaArray"},
- "not": {"$recursiveRef": "#"}
- },
- "$defs": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$recursiveRef": "#"}
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json
deleted file mode 100644
index b8f63734..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/content",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/content": true
- },
- "$recursiveAnchor": true,
-
- "title": "Content vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "contentMediaType": {"type": "string"},
- "contentEncoding": {"type": "string"},
- "contentSchema": {"$recursiveRef": "#"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json
deleted file mode 100644
index f71adbff..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/core",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/core": true
- },
- "$recursiveAnchor": true,
-
- "title": "Core vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "$id": {
- "type": "string",
- "format": "uri-reference",
- "$comment": "Non-empty fragments not allowed.",
- "pattern": "^[^#]*#?$"
- },
- "$schema": {
- "type": "string",
- "format": "uri"
- },
- "$anchor": {
- "type": "string",
- "pattern": "^[A-Za-z][-A-Za-z0-9.:_]*$"
- },
- "$ref": {
- "type": "string",
- "format": "uri-reference"
- },
- "$recursiveRef": {
- "type": "string",
- "format": "uri-reference"
- },
- "$recursiveAnchor": {
- "type": "boolean",
- "default": false
- },
- "$vocabulary": {
- "type": "object",
- "propertyNames": {
- "type": "string",
- "format": "uri"
- },
- "additionalProperties": {
- "type": "boolean"
- }
- },
- "$comment": {
- "type": "string"
- },
- "$defs": {
- "type": "object",
- "additionalProperties": {"$recursiveRef": "#"},
- "default": {}
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json
deleted file mode 100644
index 03ccfce2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/format",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/format": true
- },
- "$recursiveAnchor": true,
-
- "title": "Format vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "format": {"type": "string"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json
deleted file mode 100644
index 0e194326..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/meta-data",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/meta-data": true
- },
- "$recursiveAnchor": true,
-
- "title": "Meta-data vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": true,
- "deprecated": {
- "type": "boolean",
- "default": false
- },
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "writeOnly": {
- "type": "boolean",
- "default": false
- },
- "examples": {
- "type": "array",
- "items": true
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json
deleted file mode 100644
index 7027a127..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/meta/validation",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/validation": true
- },
- "$recursiveAnchor": true,
-
- "title": "Validation vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "multipleOf": {
- "type": "number",
- "exclusiveMinimum": 0
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "number"
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "number"
- },
- "maxLength": {"$ref": "#/$defs/nonNegativeInteger"},
- "minLength": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "maxItems": {"$ref": "#/$defs/nonNegativeInteger"},
- "minItems": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "maxContains": {"$ref": "#/$defs/nonNegativeInteger"},
- "minContains": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 1
- },
- "maxProperties": {"$ref": "#/$defs/nonNegativeInteger"},
- "minProperties": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "required": {"$ref": "#/$defs/stringArray"},
- "dependentRequired": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/$defs/stringArray"
- }
- },
- "const": true,
- "enum": {
- "type": "array",
- "items": true
- },
- "type": {
- "anyOf": [
- {"$ref": "#/$defs/simpleTypes"},
- {
- "type": "array",
- "items": {"$ref": "#/$defs/simpleTypes"},
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- }
- },
- "$defs": {
- "nonNegativeInteger": {
- "type": "integer",
- "minimum": 0
- },
- "nonNegativeIntegerDefault0": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 0
- },
- "simpleTypes": {
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
- },
- "stringArray": {
- "type": "array",
- "items": {"type": "string"},
- "uniqueItems": true,
- "default": []
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json
deleted file mode 100644
index 54eb7157..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2019-09/schema",
- "$id": "https://json-schema.org/draft/2019-09/schema",
- "$vocabulary": {
- "https://json-schema.org/draft/2019-09/vocab/core": true,
- "https://json-schema.org/draft/2019-09/vocab/applicator": true,
- "https://json-schema.org/draft/2019-09/vocab/validation": true,
- "https://json-schema.org/draft/2019-09/vocab/meta-data": true,
- "https://json-schema.org/draft/2019-09/vocab/format": false,
- "https://json-schema.org/draft/2019-09/vocab/content": true
- },
- "$recursiveAnchor": true,
-
- "title": "Core and Validation specifications meta-schema",
- "allOf": [
- {"$ref": "meta/core"},
- {"$ref": "meta/applicator"},
- {"$ref": "meta/validation"},
- {"$ref": "meta/meta-data"},
- {"$ref": "meta/format"},
- {"$ref": "meta/content"}
- ],
- "type": ["object", "boolean"],
- "properties": {
- "definitions": {
- "$comment": "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",
- "type": "object",
- "additionalProperties": {"$recursiveRef": "#"},
- "default": {}
- },
- "dependencies": {
- "$comment": "\"dependencies\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \"dependentSchemas\" and \"dependentRequired\"",
- "type": "object",
- "additionalProperties": {
- "anyOf": [{"$recursiveRef": "#"}, {"$ref": "meta/validation#/$defs/stringArray"}]
- }
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts
deleted file mode 100644
index 8e850d08..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import type Ajv from "../../core"
-import type {AnySchemaObject} from "../../types"
-import * as metaSchema from "./schema.json"
-import * as applicator from "./meta/applicator.json"
-import * as unevaluated from "./meta/unevaluated.json"
-import * as content from "./meta/content.json"
-import * as core from "./meta/core.json"
-import * as format from "./meta/format-annotation.json"
-import * as metadata from "./meta/meta-data.json"
-import * as validation from "./meta/validation.json"
-
-const META_SUPPORT_DATA = ["/properties"]
-
-export default function addMetaSchema2020(this: Ajv, $data?: boolean): Ajv {
- ;[
- metaSchema,
- applicator,
- unevaluated,
- content,
- core,
- with$data(this, format),
- metadata,
- with$data(this, validation),
- ].forEach((sch) => this.addMetaSchema(sch, undefined, false))
- return this
-
- function with$data(ajv: Ajv, sch: AnySchemaObject): AnySchemaObject {
- return $data ? ajv.$dataMetaSchema(sch, META_SUPPORT_DATA) : sch
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json
deleted file mode 100644
index 674c913d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/applicator",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/applicator": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Applicator vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "prefixItems": {"$ref": "#/$defs/schemaArray"},
- "items": {"$dynamicRef": "#meta"},
- "contains": {"$dynamicRef": "#meta"},
- "additionalProperties": {"$dynamicRef": "#meta"},
- "properties": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "propertyNames": {"format": "regex"},
- "default": {}
- },
- "dependentSchemas": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "default": {}
- },
- "propertyNames": {"$dynamicRef": "#meta"},
- "if": {"$dynamicRef": "#meta"},
- "then": {"$dynamicRef": "#meta"},
- "else": {"$dynamicRef": "#meta"},
- "allOf": {"$ref": "#/$defs/schemaArray"},
- "anyOf": {"$ref": "#/$defs/schemaArray"},
- "oneOf": {"$ref": "#/$defs/schemaArray"},
- "not": {"$dynamicRef": "#meta"}
- },
- "$defs": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$dynamicRef": "#meta"}
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json
deleted file mode 100644
index 2ae23ddb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/content",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/content": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Content vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "contentEncoding": {"type": "string"},
- "contentMediaType": {"type": "string"},
- "contentSchema": {"$dynamicRef": "#meta"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json
deleted file mode 100644
index 4c8e5cb6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/core",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/core": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Core vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "$id": {
- "$ref": "#/$defs/uriReferenceString",
- "$comment": "Non-empty fragments not allowed.",
- "pattern": "^[^#]*#?$"
- },
- "$schema": {"$ref": "#/$defs/uriString"},
- "$ref": {"$ref": "#/$defs/uriReferenceString"},
- "$anchor": {"$ref": "#/$defs/anchorString"},
- "$dynamicRef": {"$ref": "#/$defs/uriReferenceString"},
- "$dynamicAnchor": {"$ref": "#/$defs/anchorString"},
- "$vocabulary": {
- "type": "object",
- "propertyNames": {"$ref": "#/$defs/uriString"},
- "additionalProperties": {
- "type": "boolean"
- }
- },
- "$comment": {
- "type": "string"
- },
- "$defs": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"}
- }
- },
- "$defs": {
- "anchorString": {
- "type": "string",
- "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"
- },
- "uriString": {
- "type": "string",
- "format": "uri"
- },
- "uriReferenceString": {
- "type": "string",
- "format": "uri-reference"
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json
deleted file mode 100644
index 83c26e35..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/format-annotation": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Format vocabulary meta-schema for annotation results",
- "type": ["object", "boolean"],
- "properties": {
- "format": {"type": "string"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json
deleted file mode 100644
index 11946fb5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/meta-data",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/meta-data": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Meta-data vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": true,
- "deprecated": {
- "type": "boolean",
- "default": false
- },
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "writeOnly": {
- "type": "boolean",
- "default": false
- },
- "examples": {
- "type": "array",
- "items": true
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json
deleted file mode 100644
index 5e4b203b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/unevaluated",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/unevaluated": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Unevaluated applicator vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "unevaluatedItems": {"$dynamicRef": "#meta"},
- "unevaluatedProperties": {"$dynamicRef": "#meta"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json
deleted file mode 100644
index e0ae13d9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/validation",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/validation": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Validation vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "type": {
- "anyOf": [
- {"$ref": "#/$defs/simpleTypes"},
- {
- "type": "array",
- "items": {"$ref": "#/$defs/simpleTypes"},
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- },
- "const": true,
- "enum": {
- "type": "array",
- "items": true
- },
- "multipleOf": {
- "type": "number",
- "exclusiveMinimum": 0
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "number"
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "number"
- },
- "maxLength": {"$ref": "#/$defs/nonNegativeInteger"},
- "minLength": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "maxItems": {"$ref": "#/$defs/nonNegativeInteger"},
- "minItems": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "maxContains": {"$ref": "#/$defs/nonNegativeInteger"},
- "minContains": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 1
- },
- "maxProperties": {"$ref": "#/$defs/nonNegativeInteger"},
- "minProperties": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "required": {"$ref": "#/$defs/stringArray"},
- "dependentRequired": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/$defs/stringArray"
- }
- }
- },
- "$defs": {
- "nonNegativeInteger": {
- "type": "integer",
- "minimum": 0
- },
- "nonNegativeIntegerDefault0": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 0
- },
- "simpleTypes": {
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
- },
- "stringArray": {
- "type": "array",
- "items": {"type": "string"},
- "uniqueItems": true,
- "default": []
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json
deleted file mode 100644
index 1c68270f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/schema",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/core": true,
- "https://json-schema.org/draft/2020-12/vocab/applicator": true,
- "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
- "https://json-schema.org/draft/2020-12/vocab/validation": true,
- "https://json-schema.org/draft/2020-12/vocab/meta-data": true,
- "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
- "https://json-schema.org/draft/2020-12/vocab/content": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Core and Validation specifications meta-schema",
- "allOf": [
- {"$ref": "meta/core"},
- {"$ref": "meta/applicator"},
- {"$ref": "meta/unevaluated"},
- {"$ref": "meta/validation"},
- {"$ref": "meta/meta-data"},
- {"$ref": "meta/format-annotation"},
- {"$ref": "meta/content"}
- ],
- "type": ["object", "boolean"],
- "$comment": "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",
- "properties": {
- "definitions": {
- "$comment": "\"definitions\" has been replaced by \"$defs\".",
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "deprecated": true,
- "default": {}
- },
- "dependencies": {
- "$comment": "\"dependencies\" has been split and replaced by \"dependentSchemas\" and \"dependentRequired\" in order to serve their differing semantics.",
- "type": "object",
- "additionalProperties": {
- "anyOf": [{"$dynamicRef": "#meta"}, {"$ref": "meta/validation#/$defs/stringArray"}]
- },
- "deprecated": true,
- "default": {}
- },
- "$recursiveAnchor": {
- "$comment": "\"$recursiveAnchor\" has been replaced by \"$dynamicAnchor\".",
- "$ref": "meta/core#/$defs/anchorString",
- "deprecated": true
- },
- "$recursiveRef": {
- "$comment": "\"$recursiveRef\" has been replaced by \"$dynamicRef\".",
- "$ref": "meta/core#/$defs/uriReferenceString",
- "deprecated": true
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-draft-06.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-draft-06.json
deleted file mode 100644
index 5410064b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-draft-06.json
+++ /dev/null
@@ -1,137 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-06/schema#",
- "$id": "http://json-schema.org/draft-06/schema#",
- "title": "Core schema meta-schema",
- "definitions": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$ref": "#"}
- },
- "nonNegativeInteger": {
- "type": "integer",
- "minimum": 0
- },
- "nonNegativeIntegerDefault0": {
- "allOf": [{"$ref": "#/definitions/nonNegativeInteger"}, {"default": 0}]
- },
- "simpleTypes": {
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
- },
- "stringArray": {
- "type": "array",
- "items": {"type": "string"},
- "uniqueItems": true,
- "default": []
- }
- },
- "type": ["object", "boolean"],
- "properties": {
- "$id": {
- "type": "string",
- "format": "uri-reference"
- },
- "$schema": {
- "type": "string",
- "format": "uri"
- },
- "$ref": {
- "type": "string",
- "format": "uri-reference"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": {},
- "examples": {
- "type": "array",
- "items": {}
- },
- "multipleOf": {
- "type": "number",
- "exclusiveMinimum": 0
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "number"
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "number"
- },
- "maxLength": {"$ref": "#/definitions/nonNegativeInteger"},
- "minLength": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "additionalItems": {"$ref": "#"},
- "items": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}],
- "default": {}
- },
- "maxItems": {"$ref": "#/definitions/nonNegativeInteger"},
- "minItems": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "contains": {"$ref": "#"},
- "maxProperties": {"$ref": "#/definitions/nonNegativeInteger"},
- "minProperties": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "required": {"$ref": "#/definitions/stringArray"},
- "additionalProperties": {"$ref": "#"},
- "definitions": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "properties": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "dependencies": {
- "type": "object",
- "additionalProperties": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/stringArray"}]
- }
- },
- "propertyNames": {"$ref": "#"},
- "const": {},
- "enum": {
- "type": "array",
- "minItems": 1,
- "uniqueItems": true
- },
- "type": {
- "anyOf": [
- {"$ref": "#/definitions/simpleTypes"},
- {
- "type": "array",
- "items": {"$ref": "#/definitions/simpleTypes"},
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- },
- "format": {"type": "string"},
- "allOf": {"$ref": "#/definitions/schemaArray"},
- "anyOf": {"$ref": "#/definitions/schemaArray"},
- "oneOf": {"$ref": "#/definitions/schemaArray"},
- "not": {"$ref": "#"}
- },
- "default": {}
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-draft-07.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-draft-07.json
deleted file mode 100644
index 6a748510..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-draft-07.json
+++ /dev/null
@@ -1,151 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "$id": "http://json-schema.org/draft-07/schema#",
- "title": "Core schema meta-schema",
- "definitions": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$ref": "#"}
- },
- "nonNegativeInteger": {
- "type": "integer",
- "minimum": 0
- },
- "nonNegativeIntegerDefault0": {
- "allOf": [{"$ref": "#/definitions/nonNegativeInteger"}, {"default": 0}]
- },
- "simpleTypes": {
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
- },
- "stringArray": {
- "type": "array",
- "items": {"type": "string"},
- "uniqueItems": true,
- "default": []
- }
- },
- "type": ["object", "boolean"],
- "properties": {
- "$id": {
- "type": "string",
- "format": "uri-reference"
- },
- "$schema": {
- "type": "string",
- "format": "uri"
- },
- "$ref": {
- "type": "string",
- "format": "uri-reference"
- },
- "$comment": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": true,
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "examples": {
- "type": "array",
- "items": true
- },
- "multipleOf": {
- "type": "number",
- "exclusiveMinimum": 0
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "number"
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "number"
- },
- "maxLength": {"$ref": "#/definitions/nonNegativeInteger"},
- "minLength": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "additionalItems": {"$ref": "#"},
- "items": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}],
- "default": true
- },
- "maxItems": {"$ref": "#/definitions/nonNegativeInteger"},
- "minItems": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "contains": {"$ref": "#"},
- "maxProperties": {"$ref": "#/definitions/nonNegativeInteger"},
- "minProperties": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
- "required": {"$ref": "#/definitions/stringArray"},
- "additionalProperties": {"$ref": "#"},
- "definitions": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "properties": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": {"$ref": "#"},
- "propertyNames": {"format": "regex"},
- "default": {}
- },
- "dependencies": {
- "type": "object",
- "additionalProperties": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/stringArray"}]
- }
- },
- "propertyNames": {"$ref": "#"},
- "const": true,
- "enum": {
- "type": "array",
- "items": true,
- "minItems": 1,
- "uniqueItems": true
- },
- "type": {
- "anyOf": [
- {"$ref": "#/definitions/simpleTypes"},
- {
- "type": "array",
- "items": {"$ref": "#/definitions/simpleTypes"},
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- },
- "format": {"type": "string"},
- "contentMediaType": {"type": "string"},
- "contentEncoding": {"type": "string"},
- "if": {"$ref": "#"},
- "then": {"$ref": "#"},
- "else": {"$ref": "#"},
- "allOf": {"$ref": "#/definitions/schemaArray"},
- "anyOf": {"$ref": "#/definitions/schemaArray"},
- "oneOf": {"$ref": "#/definitions/schemaArray"},
- "not": {"$ref": "#"}
- },
- "default": true
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-secure.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-secure.json
deleted file mode 100644
index 3968abd5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-secure.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/json-schema-secure.json#",
- "title": "Meta-schema for the security assessment of JSON Schemas",
- "description": "If a JSON AnySchema fails validation against this meta-schema, it may be unsafe to validate untrusted data",
- "definitions": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$ref": "#"}
- }
- },
- "dependencies": {
- "patternProperties": {
- "description": "prevent slow validation of large property names",
- "required": ["propertyNames"],
- "properties": {
- "propertyNames": {
- "required": ["maxLength"]
- }
- }
- },
- "uniqueItems": {
- "description": "prevent slow validation of large non-scalar arrays",
- "if": {
- "properties": {
- "uniqueItems": {"const": true},
- "items": {
- "properties": {
- "type": {
- "anyOf": [
- {
- "enum": ["object", "array"]
- },
- {
- "type": "array",
- "contains": {"enum": ["object", "array"]}
- }
- ]
- }
- }
- }
- }
- },
- "then": {
- "required": ["maxItems"]
- }
- },
- "pattern": {
- "description": "prevent slow pattern matching of large strings",
- "required": ["maxLength"]
- },
- "format": {
- "description": "prevent slow format validation of large strings",
- "required": ["maxLength"]
- }
- },
- "properties": {
- "additionalItems": {"$ref": "#"},
- "additionalProperties": {"$ref": "#"},
- "dependencies": {
- "additionalProperties": {
- "anyOf": [{"type": "array"}, {"$ref": "#"}]
- }
- },
- "items": {
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}]
- },
- "definitions": {
- "additionalProperties": {"$ref": "#"}
- },
- "patternProperties": {
- "additionalProperties": {"$ref": "#"}
- },
- "properties": {
- "additionalProperties": {"$ref": "#"}
- },
- "if": {"$ref": "#"},
- "then": {"$ref": "#"},
- "else": {"$ref": "#"},
- "allOf": {"$ref": "#/definitions/schemaArray"},
- "anyOf": {"$ref": "#/definitions/schemaArray"},
- "oneOf": {"$ref": "#/definitions/schemaArray"},
- "not": {"$ref": "#"},
- "contains": {"$ref": "#"},
- "propertyNames": {"$ref": "#"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/jtd-schema.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/jtd-schema.ts
deleted file mode 100644
index c0198128..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/jtd-schema.ts
+++ /dev/null
@@ -1,130 +0,0 @@
-import {SchemaObject} from "../types"
-
-type MetaSchema = (root: boolean) => SchemaObject
-
-const shared: MetaSchema = (root) => {
- const sch: SchemaObject = {
- nullable: {type: "boolean"},
- metadata: {
- optionalProperties: {
- union: {elements: {ref: "schema"}},
- },
- additionalProperties: true,
- },
- }
- if (root) sch.definitions = {values: {ref: "schema"}}
- return sch
-}
-
-const emptyForm: MetaSchema = (root) => ({
- optionalProperties: shared(root),
-})
-
-const refForm: MetaSchema = (root) => ({
- properties: {
- ref: {type: "string"},
- },
- optionalProperties: shared(root),
-})
-
-const typeForm: MetaSchema = (root) => ({
- properties: {
- type: {
- enum: [
- "boolean",
- "timestamp",
- "string",
- "float32",
- "float64",
- "int8",
- "uint8",
- "int16",
- "uint16",
- "int32",
- "uint32",
- ],
- },
- },
- optionalProperties: shared(root),
-})
-
-const enumForm: MetaSchema = (root) => ({
- properties: {
- enum: {elements: {type: "string"}},
- },
- optionalProperties: shared(root),
-})
-
-const elementsForm: MetaSchema = (root) => ({
- properties: {
- elements: {ref: "schema"},
- },
- optionalProperties: shared(root),
-})
-
-const propertiesForm: MetaSchema = (root) => ({
- properties: {
- properties: {values: {ref: "schema"}},
- },
- optionalProperties: {
- optionalProperties: {values: {ref: "schema"}},
- additionalProperties: {type: "boolean"},
- ...shared(root),
- },
-})
-
-const optionalPropertiesForm: MetaSchema = (root) => ({
- properties: {
- optionalProperties: {values: {ref: "schema"}},
- },
- optionalProperties: {
- additionalProperties: {type: "boolean"},
- ...shared(root),
- },
-})
-
-const discriminatorForm: MetaSchema = (root) => ({
- properties: {
- discriminator: {type: "string"},
- mapping: {
- values: {
- metadata: {
- union: [propertiesForm(false), optionalPropertiesForm(false)],
- },
- },
- },
- },
- optionalProperties: shared(root),
-})
-
-const valuesForm: MetaSchema = (root) => ({
- properties: {
- values: {ref: "schema"},
- },
- optionalProperties: shared(root),
-})
-
-const schema: MetaSchema = (root) => ({
- metadata: {
- union: [
- emptyForm,
- refForm,
- typeForm,
- enumForm,
- elementsForm,
- propertiesForm,
- optionalPropertiesForm,
- discriminatorForm,
- valuesForm,
- ].map((s) => s(root)),
- },
-})
-
-const jtdMetaSchema: SchemaObject = {
- definitions: {
- schema: schema(false),
- },
- ...schema(true),
-}
-
-export default jtdMetaSchema
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/equal.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/equal.ts
deleted file mode 100644
index 3cb00631..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/equal.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-// https://github.com/ajv-validator/ajv/issues/889
-import * as equal from "fast-deep-equal"
-
-type Equal = typeof equal & {code: string}
-;(equal as Equal).code = 'require("ajv/dist/runtime/equal").default'
-
-export default equal as Equal
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/parseJson.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/parseJson.ts
deleted file mode 100644
index 92579afe..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/parseJson.ts
+++ /dev/null
@@ -1,176 +0,0 @@
-const rxParseJson = /position\s(\d+)$/
-
-export function parseJson(s: string, pos: number): unknown {
- let endPos: number | undefined
- parseJson.message = undefined
- let matches: RegExpExecArray | null
- if (pos) s = s.slice(pos)
- try {
- parseJson.position = pos + s.length
- return JSON.parse(s)
- } catch (e) {
- matches = rxParseJson.exec((e as Error).message)
- if (!matches) {
- parseJson.message = "unexpected end"
- return undefined
- }
- endPos = +matches[1]
- const c = s[endPos]
- s = s.slice(0, endPos)
- parseJson.position = pos + endPos
- try {
- return JSON.parse(s)
- } catch (e1) {
- parseJson.message = `unexpected token ${c}`
- return undefined
- }
- }
-}
-
-parseJson.message = undefined as string | undefined
-parseJson.position = 0 as number
-parseJson.code = 'require("ajv/dist/runtime/parseJson").parseJson'
-
-export function parseJsonNumber(s: string, pos: number, maxDigits?: number): number | undefined {
- let numStr = ""
- let c: string
- parseJsonNumber.message = undefined
- if (s[pos] === "-") {
- numStr += "-"
- pos++
- }
- if (s[pos] === "0") {
- numStr += "0"
- pos++
- } else {
- if (!parseDigits(maxDigits)) {
- errorMessage()
- return undefined
- }
- }
- if (maxDigits) {
- parseJsonNumber.position = pos
- return +numStr
- }
- if (s[pos] === ".") {
- numStr += "."
- pos++
- if (!parseDigits()) {
- errorMessage()
- return undefined
- }
- }
- if (((c = s[pos]), c === "e" || c === "E")) {
- numStr += "e"
- pos++
- if (((c = s[pos]), c === "+" || c === "-")) {
- numStr += c
- pos++
- }
- if (!parseDigits()) {
- errorMessage()
- return undefined
- }
- }
- parseJsonNumber.position = pos
- return +numStr
-
- function parseDigits(maxLen?: number): boolean {
- let digit = false
- while (((c = s[pos]), c >= "0" && c <= "9" && (maxLen === undefined || maxLen-- > 0))) {
- digit = true
- numStr += c
- pos++
- }
- return digit
- }
-
- function errorMessage(): void {
- parseJsonNumber.position = pos
- parseJsonNumber.message = pos < s.length ? `unexpected token ${s[pos]}` : "unexpected end"
- }
-}
-
-parseJsonNumber.message = undefined as string | undefined
-parseJsonNumber.position = 0 as number
-parseJsonNumber.code = 'require("ajv/dist/runtime/parseJson").parseJsonNumber'
-
-const escapedChars: {[X in string]?: string} = {
- b: "\b",
- f: "\f",
- n: "\n",
- r: "\r",
- t: "\t",
- '"': '"',
- "/": "/",
- "\\": "\\",
-}
-
-const CODE_A: number = "a".charCodeAt(0)
-const CODE_0: number = "0".charCodeAt(0)
-
-export function parseJsonString(s: string, pos: number): string | undefined {
- let str = ""
- let c: string | undefined
- parseJsonString.message = undefined
- // eslint-disable-next-line no-constant-condition, @typescript-eslint/no-unnecessary-condition
- while (true) {
- c = s[pos++]
- if (c === '"') break
- if (c === "\\") {
- c = s[pos]
- if (c in escapedChars) {
- str += escapedChars[c]
- pos++
- } else if (c === "u") {
- pos++
- let count = 4
- let code = 0
- while (count--) {
- code <<= 4
- c = s[pos]
- if (c === undefined) {
- errorMessage("unexpected end")
- return undefined
- }
- c = c.toLowerCase()
- if (c >= "a" && c <= "f") {
- code += c.charCodeAt(0) - CODE_A + 10
- } else if (c >= "0" && c <= "9") {
- code += c.charCodeAt(0) - CODE_0
- } else {
- errorMessage(`unexpected token ${c}`)
- return undefined
- }
- pos++
- }
- str += String.fromCharCode(code)
- } else {
- errorMessage(`unexpected token ${c}`)
- return undefined
- }
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
- } else if (c === undefined) {
- errorMessage("unexpected end")
- return undefined
- } else {
- if (c.charCodeAt(0) >= 0x20) {
- str += c
- } else {
- errorMessage(`unexpected token ${c}`)
- return undefined
- }
- }
- }
- parseJsonString.position = pos
- return str
-
- function errorMessage(msg: string): void {
- parseJsonString.position = pos
- parseJsonString.message = msg
- }
-}
-
-parseJsonString.message = undefined as string | undefined
-parseJsonString.position = 0 as number
-parseJsonString.code = 'require("ajv/dist/runtime/parseJson").parseJsonString'
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/quote.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/quote.ts
deleted file mode 100644
index 1160e6a2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/quote.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-const rxEscapable =
- // eslint-disable-next-line no-control-regex, no-misleading-character-class
- /[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g
-
-const escaped: {[K in string]?: string} = {
- "\b": "\\b",
- "\t": "\\t",
- "\n": "\\n",
- "\f": "\\f",
- "\r": "\\r",
- '"': '\\"',
- "\\": "\\\\",
-}
-
-export default function quote(s: string): string {
- rxEscapable.lastIndex = 0
- return (
- '"' +
- (rxEscapable.test(s)
- ? s.replace(rxEscapable, (a) => {
- const c = escaped[a]
- return typeof c === "string"
- ? c
- : "\\u" + ("0000" + a.charCodeAt(0).toString(16)).slice(-4)
- })
- : s) +
- '"'
- )
-}
-
-quote.code = 'require("ajv/dist/runtime/quote").default'
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/re2.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/re2.ts
deleted file mode 100644
index 0c769bc7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/re2.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import * as re2 from "re2"
-
-type Re2 = typeof re2 & {code: string}
-;(re2 as Re2).code = 'require("ajv/dist/runtime/re2").default'
-
-export default re2 as Re2
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/timestamp.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/timestamp.ts
deleted file mode 100644
index 1625f9a4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/timestamp.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-const DT_SEPARATOR = /t|\s/i
-const DATE = /^(\d\d\d\d)-(\d\d)-(\d\d)$/
-const TIME = /^(\d\d):(\d\d):(\d\d)(?:\.\d+)?(?:z|([+-]\d\d)(?::?(\d\d))?)$/i
-const DAYS = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
-
-export default function validTimestamp(str: string, allowDate: boolean): boolean {
- // http://tools.ietf.org/html/rfc3339#section-5.6
- const dt: string[] = str.split(DT_SEPARATOR)
- return (
- (dt.length === 2 && validDate(dt[0]) && validTime(dt[1])) ||
- (allowDate && dt.length === 1 && validDate(dt[0]))
- )
-}
-
-function validDate(str: string): boolean {
- const matches: string[] | null = DATE.exec(str)
- if (!matches) return false
- const y: number = +matches[1]
- const m: number = +matches[2]
- const d: number = +matches[3]
- return (
- m >= 1 &&
- m <= 12 &&
- d >= 1 &&
- (d <= DAYS[m] ||
- // leap year: https://tools.ietf.org/html/rfc3339#appendix-C
- (m === 2 && d === 29 && (y % 100 === 0 ? y % 400 === 0 : y % 4 === 0)))
- )
-}
-
-function validTime(str: string): boolean {
- const matches: string[] | null = TIME.exec(str)
- if (!matches) return false
- const hr: number = +matches[1]
- const min: number = +matches[2]
- const sec: number = +matches[3]
- const tzH: number = +(matches[4] || 0)
- const tzM: number = +(matches[5] || 0)
- return (
- (hr <= 23 && min <= 59 && sec <= 59) ||
- // leap second
- (hr - tzH === 23 && min - tzM === 59 && sec === 60)
- )
-}
-
-validTimestamp.code = 'require("ajv/dist/runtime/timestamp").default'
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/ucs2length.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/ucs2length.ts
deleted file mode 100644
index 47d8292b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/ucs2length.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-// https://mathiasbynens.be/notes/javascript-encoding
-// https://github.com/bestiejs/punycode.js - punycode.ucs2.decode
-export default function ucs2length(str: string): number {
- const len = str.length
- let length = 0
- let pos = 0
- let value: number
- while (pos < len) {
- length++
- value = str.charCodeAt(pos++)
- if (value >= 0xd800 && value <= 0xdbff && pos < len) {
- // high surrogate, and there is a next character
- value = str.charCodeAt(pos)
- if ((value & 0xfc00) === 0xdc00) pos++ // low surrogate
- }
- }
- return length
-}
-
-ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default'
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/validation_error.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/validation_error.ts
deleted file mode 100644
index 2d19a46a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/runtime/validation_error.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type {ErrorObject} from "../types"
-
-export default class ValidationError extends Error {
- readonly errors: Partial<ErrorObject>[]
- readonly ajv: true
- readonly validation: true
-
- constructor(errors: Partial<ErrorObject>[]) {
- super("validation failed")
- this.errors = errors
- this.ajv = this.validation = true
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/standalone/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/standalone/index.ts
deleted file mode 100644
index b6129ce9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/standalone/index.ts
+++ /dev/null
@@ -1,100 +0,0 @@
-import type AjvCore from "../core"
-import type {AnyValidateFunction, SourceCode} from "../types"
-import type {SchemaEnv} from "../compile"
-import {UsedScopeValues, UsedValueState, ValueScopeName, varKinds} from "../compile/codegen/scope"
-import {_, nil, _Code, Code, getProperty, getEsmExportName} from "../compile/codegen/code"
-
-function standaloneCode(
- ajv: AjvCore,
- refsOrFunc?: {[K in string]?: string} | AnyValidateFunction
-): string {
- if (!ajv.opts.code.source) {
- throw new Error("moduleCode: ajv instance must have code.source option")
- }
- const {_n} = ajv.scope.opts
- return typeof refsOrFunc == "function"
- ? funcExportCode(refsOrFunc.source)
- : refsOrFunc !== undefined
- ? multiExportsCode<string>(refsOrFunc, getValidate)
- : multiExportsCode<SchemaEnv>(ajv.schemas, (sch) =>
- sch.meta ? undefined : ajv.compile(sch.schema)
- )
-
- function getValidate(id: string): AnyValidateFunction {
- const v = ajv.getSchema(id)
- if (!v) throw new Error(`moduleCode: no schema with id ${id}`)
- return v
- }
-
- function funcExportCode(source?: SourceCode): string {
- const usedValues: UsedScopeValues = {}
- const n = source?.validateName
- const vCode = validateCode(usedValues, source)
- if (ajv.opts.code.esm) {
- // Always do named export as `validate` rather than the variable `n` which is `validateXX` for known export value
- return `"use strict";${_n}export const validate = ${n};${_n}export default ${n};${_n}${vCode}`
- }
- return `"use strict";${_n}module.exports = ${n};${_n}module.exports.default = ${n};${_n}${vCode}`
- }
-
- function multiExportsCode<T extends SchemaEnv | string>(
- schemas: {[K in string]?: T},
- getValidateFunc: (schOrId: T) => AnyValidateFunction | undefined
- ): string {
- const usedValues: UsedScopeValues = {}
- let code = _`"use strict";`
- for (const name in schemas) {
- const v = getValidateFunc(schemas[name] as T)
- if (v) {
- const vCode = validateCode(usedValues, v.source)
- const exportSyntax = ajv.opts.code.esm
- ? _`export const ${getEsmExportName(name)}`
- : _`exports${getProperty(name)}`
- code = _`${code}${_n}${exportSyntax} = ${v.source?.validateName};${_n}${vCode}`
- }
- }
- return `${code}`
- }
-
- function validateCode(usedValues: UsedScopeValues, s?: SourceCode): Code {
- if (!s) throw new Error('moduleCode: function does not have "source" property')
- if (usedState(s.validateName) === UsedValueState.Completed) return nil
- setUsedState(s.validateName, UsedValueState.Started)
-
- const scopeCode = ajv.scope.scopeCode(s.scopeValues, usedValues, refValidateCode)
- const code = new _Code(`${scopeCode}${_n}${s.validateCode}`)
- return s.evaluated ? _`${code}${s.validateName}.evaluated = ${s.evaluated};${_n}` : code
-
- function refValidateCode(n: ValueScopeName): Code | undefined {
- const vRef = n.value?.ref
- if (n.prefix === "validate" && typeof vRef == "function") {
- const v = vRef as AnyValidateFunction
- return validateCode(usedValues, v.source)
- } else if ((n.prefix === "root" || n.prefix === "wrapper") && typeof vRef == "object") {
- const {validate, validateName} = vRef as SchemaEnv
- if (!validateName) throw new Error("ajv internal error")
- const def = ajv.opts.code.es5 ? varKinds.var : varKinds.const
- const wrapper = _`${def} ${n} = {validate: ${validateName}};`
- if (usedState(validateName) === UsedValueState.Started) return wrapper
- const vCode = validateCode(usedValues, validate?.source)
- return _`${wrapper}${_n}${vCode}`
- }
- return undefined
- }
-
- function usedState(name: ValueScopeName): UsedValueState | undefined {
- return usedValues[name.prefix]?.get(name)
- }
-
- function setUsedState(name: ValueScopeName, state: UsedValueState): void {
- const {prefix} = name
- const names = (usedValues[prefix] = usedValues[prefix] || new Map())
- names.set(name, state)
- }
- }
-}
-
-module.exports = exports = standaloneCode
-Object.defineProperty(exports, "__esModule", {value: true})
-
-export default standaloneCode
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/standalone/instance.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/standalone/instance.ts
deleted file mode 100644
index c4b2c30b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/standalone/instance.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-import Ajv, {AnySchema, AnyValidateFunction, ErrorObject} from "../core"
-import standaloneCode from "."
-import * as requireFromString from "require-from-string"
-
-export default class AjvPack {
- errors?: ErrorObject[] | null // errors from the last validation
- constructor(readonly ajv: Ajv) {}
-
- validate(schemaKeyRef: AnySchema | string, data: unknown): boolean | Promise<unknown> {
- return Ajv.prototype.validate.call(this, schemaKeyRef, data)
- }
-
- compile<T = unknown>(schema: AnySchema, meta?: boolean): AnyValidateFunction<T> {
- return this.getStandalone(this.ajv.compile<T>(schema, meta))
- }
-
- getSchema<T = unknown>(keyRef: string): AnyValidateFunction<T> | undefined {
- const v = this.ajv.getSchema<T>(keyRef)
- if (!v) return undefined
- return this.getStandalone(v)
- }
-
- private getStandalone<T = unknown>(v: AnyValidateFunction<T>): AnyValidateFunction<T> {
- return requireFromString(standaloneCode(this.ajv, v)) as AnyValidateFunction<T>
- }
-
- addSchema(...args: Parameters<typeof Ajv.prototype.addSchema>): AjvPack {
- this.ajv.addSchema.call(this.ajv, ...args)
- return this
- }
-
- addKeyword(...args: Parameters<typeof Ajv.prototype.addKeyword>): AjvPack {
- this.ajv.addKeyword.call(this.ajv, ...args)
- return this
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/types/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/types/index.ts
deleted file mode 100644
index 03a06e64..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/types/index.ts
+++ /dev/null
@@ -1,233 +0,0 @@
-import type {CodeGen, Code, Name, ScopeValueSets, ValueScopeName} from "../compile/codegen"
-import type {SchemaEnv, SchemaCxt, SchemaObjCxt} from "../compile"
-import type {JSONType} from "../compile/rules"
-import type {KeywordCxt} from "../compile/validate"
-import type Ajv from "../core"
-
-interface _SchemaObject {
- id?: string
- $id?: string
- $schema?: string
- [x: string]: any // TODO
-}
-
-export interface SchemaObject extends _SchemaObject {
- id?: string
- $id?: string
- $schema?: string
- $async?: false
- [x: string]: any // TODO
-}
-
-export interface AsyncSchema extends _SchemaObject {
- $async: true
-}
-
-export type AnySchemaObject = SchemaObject | AsyncSchema
-
-export type Schema = SchemaObject | boolean
-
-export type AnySchema = Schema | AsyncSchema
-
-export type SchemaMap = {[Key in string]?: AnySchema}
-
-export interface SourceCode {
- validateName: ValueScopeName
- validateCode: string
- scopeValues: ScopeValueSets
- evaluated?: Code
-}
-
-export interface DataValidationCxt<T extends string | number = string | number> {
- instancePath: string
- parentData: {[K in T]: any} // object or array
- parentDataProperty: T // string or number
- rootData: Record<string, any> | any[]
- dynamicAnchors: {[Ref in string]?: ValidateFunction}
-}
-
-export interface ValidateFunction<T = unknown> {
- (this: Ajv | any, data: any, dataCxt?: DataValidationCxt): data is T
- errors?: null | ErrorObject[]
- evaluated?: Evaluated
- schema: AnySchema
- schemaEnv: SchemaEnv
- source?: SourceCode
-}
-
-export interface JTDParser<T = unknown> {
- (json: string): T | undefined
- message?: string
- position?: number
-}
-
-export type EvaluatedProperties = {[K in string]?: true} | true
-
-export type EvaluatedItems = number | true
-
-export interface Evaluated {
- // determined at compile time if staticProps/Items is true
- props?: EvaluatedProperties
- items?: EvaluatedItems
- // whether props/items determined at compile time
- dynamicProps: boolean
- dynamicItems: boolean
-}
-
-export interface AsyncValidateFunction<T = unknown> extends ValidateFunction<T> {
- (...args: Parameters<ValidateFunction<T>>): Promise<T>
- $async: true
-}
-
-export type AnyValidateFunction<T = any> = ValidateFunction<T> | AsyncValidateFunction<T>
-
-export interface ErrorObject<K extends string = string, P = Record<string, any>, S = unknown> {
- keyword: K
- instancePath: string
- schemaPath: string
- params: P
- // Added to validation errors of "propertyNames" keyword schema
- propertyName?: string
- // Excluded if option `messages` set to false.
- message?: string
- // These are added with the `verbose` option.
- schema?: S
- parentSchema?: AnySchemaObject
- data?: unknown
-}
-
-export type ErrorNoParams<K extends string, S = unknown> = ErrorObject<K, Record<string, never>, S>
-
-interface _KeywordDef {
- keyword: string | string[]
- type?: JSONType | JSONType[] // data types that keyword applies to
- schemaType?: JSONType | JSONType[] // allowed type(s) of keyword value in the schema
- allowUndefined?: boolean // used for keywords that can be invoked by other keywords, not being present in the schema
- $data?: boolean // keyword supports [$data reference](../../docs/guide/combining-schemas.md#data-reference)
- implements?: string[] // other schema keywords that this keyword implements
- before?: string // keyword should be executed before this keyword (should be applicable to the same type)
- post?: boolean // keyword should be executed after other keywords without post flag
- metaSchema?: AnySchemaObject // meta-schema for keyword schema value - it is better to use schemaType where applicable
- validateSchema?: AnyValidateFunction // compiled keyword metaSchema - should not be passed
- dependencies?: string[] // keywords that must be present in the same schema
- error?: KeywordErrorDefinition
- $dataError?: KeywordErrorDefinition
-}
-
-export interface CodeKeywordDefinition extends _KeywordDef {
- code: (cxt: KeywordCxt, ruleType?: string) => void
- trackErrors?: boolean
-}
-
-export type MacroKeywordFunc = (
- schema: any,
- parentSchema: AnySchemaObject,
- it: SchemaCxt
-) => AnySchema
-
-export type CompileKeywordFunc = (
- schema: any,
- parentSchema: AnySchemaObject,
- it: SchemaObjCxt
-) => DataValidateFunction
-
-export interface DataValidateFunction {
- (...args: Parameters<ValidateFunction>): boolean | Promise<any>
- errors?: Partial<ErrorObject>[]
-}
-
-export interface SchemaValidateFunction {
- (schema: any, data: any, parentSchema?: AnySchemaObject, dataCxt?: DataValidationCxt):
- | boolean
- | Promise<any>
- errors?: Partial<ErrorObject>[]
-}
-
-export interface FuncKeywordDefinition extends _KeywordDef {
- validate?: SchemaValidateFunction | DataValidateFunction
- compile?: CompileKeywordFunc
- // schema: false makes validate not to expect schema (DataValidateFunction)
- schema?: boolean // requires "validate"
- modifying?: boolean
- async?: boolean
- valid?: boolean
- errors?: boolean | "full"
-}
-
-export interface MacroKeywordDefinition extends FuncKeywordDefinition {
- macro: MacroKeywordFunc
-}
-
-export type KeywordDefinition =
- | CodeKeywordDefinition
- | FuncKeywordDefinition
- | MacroKeywordDefinition
-
-export type AddedKeywordDefinition = KeywordDefinition & {
- type: JSONType[]
- schemaType: JSONType[]
-}
-
-export interface KeywordErrorDefinition {
- message: string | Code | ((cxt: KeywordErrorCxt) => string | Code)
- params?: Code | ((cxt: KeywordErrorCxt) => Code)
-}
-
-export type Vocabulary = (KeywordDefinition | string)[]
-
-export interface KeywordErrorCxt {
- gen: CodeGen
- keyword: string
- data: Name
- $data?: string | false
- schema: any // TODO
- parentSchema?: AnySchemaObject
- schemaCode: Code | number | boolean
- schemaValue: Code | number | boolean
- schemaType?: JSONType[]
- errsCount?: Name
- params: KeywordCxtParams
- it: SchemaCxt
-}
-
-export type KeywordCxtParams = {[P in string]?: Code | string | number}
-
-export type FormatValidator<T extends string | number> = (data: T) => boolean
-
-export type FormatCompare<T extends string | number> = (data1: T, data2: T) => number | undefined
-
-export type AsyncFormatValidator<T extends string | number> = (data: T) => Promise<boolean>
-
-export interface FormatDefinition<T extends string | number> {
- type?: T extends string ? "string" | undefined : "number"
- validate: FormatValidator<T> | (T extends string ? string | RegExp : never)
- async?: false | undefined
- compare?: FormatCompare<T>
-}
-
-export interface AsyncFormatDefinition<T extends string | number> {
- type?: T extends string ? "string" | undefined : "number"
- validate: AsyncFormatValidator<T>
- async: true
- compare?: FormatCompare<T>
-}
-
-export type AddedFormat =
- | true
- | RegExp
- | FormatValidator<string>
- | FormatDefinition<string>
- | FormatDefinition<number>
- | AsyncFormatDefinition<string>
- | AsyncFormatDefinition<number>
-
-export type Format = AddedFormat | string
-
-export interface RegExpEngine {
- (pattern: string, u: string): RegExpLike
- code: string
-}
-
-export interface RegExpLike {
- test: (s: string) => boolean
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/types/json-schema.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/types/json-schema.ts
deleted file mode 100644
index 698e2911..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/types/json-schema.ts
+++ /dev/null
@@ -1,186 +0,0 @@
-/* eslint-disable @typescript-eslint/no-empty-interface */
-type StrictNullChecksWrapper<Name extends string, Type> = undefined extends null
- ? `strictNullChecks must be true in tsconfig to use ${Name}`
- : Type
-
-type UnionToIntersection<U> = (U extends any ? (_: U) => void : never) extends (_: infer I) => void
- ? I
- : never
-
-export type SomeJSONSchema = UncheckedJSONSchemaType<Known, true>
-
-type UncheckedPartialSchema<T> = Partial<UncheckedJSONSchemaType<T, true>>
-
-export type PartialSchema<T> = StrictNullChecksWrapper<"PartialSchema", UncheckedPartialSchema<T>>
-
-type JSONType<T extends string, IsPartial extends boolean> = IsPartial extends true
- ? T | undefined
- : T
-
-interface NumberKeywords {
- minimum?: number
- maximum?: number
- exclusiveMinimum?: number
- exclusiveMaximum?: number
- multipleOf?: number
- format?: string
-}
-
-interface StringKeywords {
- minLength?: number
- maxLength?: number
- pattern?: string
- format?: string
-}
-
-type UncheckedJSONSchemaType<T, IsPartial extends boolean> = (
- | // these two unions allow arbitrary unions of types
- {
- anyOf: readonly UncheckedJSONSchemaType<T, IsPartial>[]
- }
- | {
- oneOf: readonly UncheckedJSONSchemaType<T, IsPartial>[]
- }
- // this union allows for { type: (primitive)[] } style schemas
- | ({
- type: readonly (T extends number
- ? JSONType<"number" | "integer", IsPartial>
- : T extends string
- ? JSONType<"string", IsPartial>
- : T extends boolean
- ? JSONType<"boolean", IsPartial>
- : never)[]
- } & UnionToIntersection<
- T extends number
- ? NumberKeywords
- : T extends string
- ? StringKeywords
- : T extends boolean
- ? // eslint-disable-next-line @typescript-eslint/ban-types
- {}
- : never
- >)
- // this covers "normal" types; it's last so typescript looks to it first for errors
- | ((T extends number
- ? {
- type: JSONType<"number" | "integer", IsPartial>
- } & NumberKeywords
- : T extends string
- ? {
- type: JSONType<"string", IsPartial>
- } & StringKeywords
- : T extends boolean
- ? {
- type: JSONType<"boolean", IsPartial>
- }
- : T extends readonly [any, ...any[]]
- ? {
- // JSON AnySchema for tuple
- type: JSONType<"array", IsPartial>
- items: {
- readonly [K in keyof T]-?: UncheckedJSONSchemaType<T[K], false> & Nullable<T[K]>
- } & {length: T["length"]}
- minItems: T["length"]
- } & ({maxItems: T["length"]} | {additionalItems: false})
- : T extends readonly any[]
- ? {
- type: JSONType<"array", IsPartial>
- items: UncheckedJSONSchemaType<T[0], false>
- contains?: UncheckedPartialSchema<T[0]>
- minItems?: number
- maxItems?: number
- minContains?: number
- maxContains?: number
- uniqueItems?: true
- additionalItems?: never
- }
- : T extends Record<string, any>
- ? {
- // JSON AnySchema for records and dictionaries
- // "required" is not optional because it is often forgotten
- // "properties" are optional for more concise dictionary schemas
- // "patternProperties" and can be only used with interfaces that have string index
- type: JSONType<"object", IsPartial>
- additionalProperties?: boolean | UncheckedJSONSchemaType<T[string], false>
- unevaluatedProperties?: boolean | UncheckedJSONSchemaType<T[string], false>
- properties?: IsPartial extends true
- ? Partial<UncheckedPropertiesSchema<T>>
- : UncheckedPropertiesSchema<T>
- patternProperties?: Record<string, UncheckedJSONSchemaType<T[string], false>>
- propertyNames?: Omit<UncheckedJSONSchemaType<string, false>, "type"> & {type?: "string"}
- dependencies?: {[K in keyof T]?: Readonly<(keyof T)[]> | UncheckedPartialSchema<T>}
- dependentRequired?: {[K in keyof T]?: Readonly<(keyof T)[]>}
- dependentSchemas?: {[K in keyof T]?: UncheckedPartialSchema<T>}
- minProperties?: number
- maxProperties?: number
- } & (IsPartial extends true // "required" is not necessary if it's a non-partial type with no required keys // are listed it only asserts that optional cannot be listed. // "required" type does not guarantee that all required properties
- ? {required: Readonly<(keyof T)[]>}
- : [UncheckedRequiredMembers<T>] extends [never]
- ? {required?: Readonly<UncheckedRequiredMembers<T>[]>}
- : {required: Readonly<UncheckedRequiredMembers<T>[]>})
- : T extends null
- ? {
- type: JSONType<"null", IsPartial>
- nullable: true
- }
- : never) & {
- allOf?: Readonly<UncheckedPartialSchema<T>[]>
- anyOf?: Readonly<UncheckedPartialSchema<T>[]>
- oneOf?: Readonly<UncheckedPartialSchema<T>[]>
- if?: UncheckedPartialSchema<T>
- then?: UncheckedPartialSchema<T>
- else?: UncheckedPartialSchema<T>
- not?: UncheckedPartialSchema<T>
- })
-) & {
- [keyword: string]: any
- $id?: string
- $ref?: string
- $defs?: Record<string, UncheckedJSONSchemaType<Known, true>>
- definitions?: Record<string, UncheckedJSONSchemaType<Known, true>>
-}
-
-export type JSONSchemaType<T> = StrictNullChecksWrapper<
- "JSONSchemaType",
- UncheckedJSONSchemaType<T, false>
->
-
-type Known =
- | {[key: string]: Known}
- | [Known, ...Known[]]
- | Known[]
- | number
- | string
- | boolean
- | null
-
-type UncheckedPropertiesSchema<T> = {
- [K in keyof T]-?: (UncheckedJSONSchemaType<T[K], false> & Nullable<T[K]>) | {$ref: string}
-}
-
-export type PropertiesSchema<T> = StrictNullChecksWrapper<
- "PropertiesSchema",
- UncheckedPropertiesSchema<T>
->
-
-type UncheckedRequiredMembers<T> = {
- [K in keyof T]-?: undefined extends T[K] ? never : K
-}[keyof T]
-
-export type RequiredMembers<T> = StrictNullChecksWrapper<
- "RequiredMembers",
- UncheckedRequiredMembers<T>
->
-
-type Nullable<T> = undefined extends T
- ? {
- nullable: true
- const?: null // any non-null value would fail `const: null`, `null` would fail any other value in const
- enum?: Readonly<(T | null)[]> // `null` must be explicitly included in "enum" for `null` to pass
- default?: T | null
- }
- : {
- const?: T
- enum?: Readonly<T[]>
- default?: T
- }
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/types/jtd-schema.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/types/jtd-schema.ts
deleted file mode 100644
index 3d5ae4ac..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/types/jtd-schema.ts
+++ /dev/null
@@ -1,263 +0,0 @@
-/** numeric strings */
-type NumberType = "float32" | "float64" | "int8" | "uint8" | "int16" | "uint16" | "int32" | "uint32"
-
-/** string strings */
-type StringType = "string" | "timestamp"
-
-/** Generic JTD Schema without inference of the represented type */
-export type SomeJTDSchemaType = (
- | // ref
- {ref: string}
- // primitives
- | {type: NumberType | StringType | "boolean"}
- // enum
- | {enum: string[]}
- // elements
- | {elements: SomeJTDSchemaType}
- // values
- | {values: SomeJTDSchemaType}
- // properties
- | {
- properties: Record<string, SomeJTDSchemaType>
- optionalProperties?: Record<string, SomeJTDSchemaType>
- additionalProperties?: boolean
- }
- | {
- properties?: Record<string, SomeJTDSchemaType>
- optionalProperties: Record<string, SomeJTDSchemaType>
- additionalProperties?: boolean
- }
- // discriminator
- | {discriminator: string; mapping: Record<string, SomeJTDSchemaType>}
- // empty
- // NOTE see the end of
- // https://github.com/typescript-eslint/typescript-eslint/issues/2063#issuecomment-675156492
- // eslint-disable-next-line @typescript-eslint/ban-types
- | {}
-) & {
- nullable?: boolean
- metadata?: Record<string, unknown>
- definitions?: Record<string, SomeJTDSchemaType>
-}
-
-/** required keys of an object, not undefined */
-type RequiredKeys<T> = {
- [K in keyof T]-?: undefined extends T[K] ? never : K
-}[keyof T]
-
-/** optional or undifined-able keys of an object */
-type OptionalKeys<T> = {
- [K in keyof T]-?: undefined extends T[K] ? K : never
-}[keyof T]
-
-/** type is true if T is a union type */
-type IsUnion_<T, U extends T = T> = false extends (
- T extends unknown ? ([U] extends [T] ? false : true) : never
-)
- ? false
- : true
-type IsUnion<T> = IsUnion_<T>
-
-/** type is true if T is identically E */
-type TypeEquality<T, E> = [T] extends [E] ? ([E] extends [T] ? true : false) : false
-
-/** type is true if T or null is identically E or null*/
-type NullTypeEquality<T, E> = TypeEquality<T | null, E | null>
-
-/** gets only the string literals of a type or null if a type isn't a string literal */
-type EnumString<T> = [T] extends [never]
- ? null
- : T extends string
- ? string extends T
- ? null
- : T
- : null
-
-/** true if type is a union of string literals */
-type IsEnum<T> = null extends EnumString<Exclude<T, null>> ? false : true
-
-/** true only if all types are array types (not tuples) */
-// NOTE relies on the fact that tuples don't have an index at 0.5, but arrays
-// have an index at every number
-type IsElements<T> = false extends IsUnion<T>
- ? [T] extends [readonly unknown[]]
- ? undefined extends T[0.5]
- ? false
- : true
- : false
- : false
-
-/** true if the the type is a values type */
-type IsValues<T> = false extends IsUnion<Exclude<T, null>>
- ? TypeEquality<keyof Exclude<T, null>, string>
- : false
-
-/** true if type is a proeprties type and Union is false, or type is a discriminator type and Union is true */
-type IsRecord<T, Union extends boolean> = Union extends IsUnion<Exclude<T, null>>
- ? null extends EnumString<keyof Exclude<T, null>>
- ? false
- : true
- : false
-
-/** actual schema */
-export type JTDSchemaType<T, D extends Record<string, unknown> = Record<string, never>> = (
- | // refs - where null wasn't specified, must match exactly
- (null extends EnumString<keyof D>
- ? never
- :
- | ({[K in keyof D]: [T] extends [D[K]] ? {ref: K} : never}[keyof D] & {nullable?: false})
- // nulled refs - if ref is nullable and nullable is specified, then it can
- // match either null or non-null definitions
- | (null extends T
- ? {
- [K in keyof D]: [Exclude<T, null>] extends [Exclude<D[K], null>]
- ? {ref: K}
- : never
- }[keyof D] & {nullable: true}
- : never))
- // empty - empty schemas also treat nullable differently in that it's now fully ignored
- | (unknown extends T ? {nullable?: boolean} : never)
- // all other types // numbers - only accepts the type number
- | ((true extends NullTypeEquality<T, number>
- ? {type: NumberType}
- : // booleans - accepts the type boolean
- true extends NullTypeEquality<T, boolean>
- ? {type: "boolean"}
- : // strings - only accepts the type string
- true extends NullTypeEquality<T, string>
- ? {type: StringType}
- : // strings - only accepts the type Date
- true extends NullTypeEquality<T, Date>
- ? {type: "timestamp"}
- : // enums - only accepts union of string literals
- // TODO we can't actually check that everything in the union was specified
- true extends IsEnum<T>
- ? {enum: EnumString<Exclude<T, null>>[]}
- : // arrays - only accepts arrays, could be array of unions to be resolved later
- true extends IsElements<Exclude<T, null>>
- ? T extends readonly (infer E)[]
- ? {
- elements: JTDSchemaType<E, D>
- }
- : never
- : // values
- true extends IsValues<T>
- ? T extends Record<string, infer V>
- ? {
- values: JTDSchemaType<V, D>
- }
- : never
- : // properties
- true extends IsRecord<T, false>
- ? ([RequiredKeys<Exclude<T, null>>] extends [never]
- ? {
- properties?: Record<string, never>
- }
- : {
- properties: {[K in RequiredKeys<T>]: JTDSchemaType<T[K], D>}
- }) &
- ([OptionalKeys<Exclude<T, null>>] extends [never]
- ? {
- optionalProperties?: Record<string, never>
- }
- : {
- optionalProperties: {
- [K in OptionalKeys<T>]: JTDSchemaType<Exclude<T[K], undefined>, D>
- }
- }) & {
- additionalProperties?: boolean
- }
- : // discriminator
- true extends IsRecord<T, true>
- ? {
- [K in keyof Exclude<T, null>]-?: Exclude<T, null>[K] extends string
- ? {
- discriminator: K
- mapping: {
- // TODO currently allows descriminator to be present in schema
- [M in Exclude<T, null>[K]]: JTDSchemaType<
- Omit<T extends {[C in K]: M} ? T : never, K>,
- D
- >
- }
- }
- : never
- }[keyof Exclude<T, null>]
- : never) &
- (null extends T
- ? {
- nullable: true
- }
- : {nullable?: false}))
-) & {
- // extra properties
- metadata?: Record<string, unknown>
- // TODO these should only be allowed at the top level
- definitions?: {[K in keyof D]: JTDSchemaType<D[K], D>}
-}
-
-type JTDDataDef<S, D extends Record<string, unknown>> =
- | // ref
- (S extends {ref: string}
- ? D extends {[K in S["ref"]]: infer V}
- ? JTDDataDef<V, D>
- : never
- : // type
- S extends {type: NumberType}
- ? number
- : S extends {type: "boolean"}
- ? boolean
- : S extends {type: "string"}
- ? string
- : S extends {type: "timestamp"}
- ? string | Date
- : // enum
- S extends {enum: readonly (infer E)[]}
- ? string extends E
- ? never
- : [E] extends [string]
- ? E
- : never
- : // elements
- S extends {elements: infer E}
- ? JTDDataDef<E, D>[]
- : // properties
- S extends {
- properties: Record<string, unknown>
- optionalProperties?: Record<string, unknown>
- additionalProperties?: boolean
- }
- ? {-readonly [K in keyof S["properties"]]-?: JTDDataDef<S["properties"][K], D>} & {
- -readonly [K in keyof S["optionalProperties"]]+?: JTDDataDef<
- S["optionalProperties"][K],
- D
- >
- } & ([S["additionalProperties"]] extends [true] ? Record<string, unknown> : unknown)
- : S extends {
- properties?: Record<string, unknown>
- optionalProperties: Record<string, unknown>
- additionalProperties?: boolean
- }
- ? {-readonly [K in keyof S["properties"]]-?: JTDDataDef<S["properties"][K], D>} & {
- -readonly [K in keyof S["optionalProperties"]]+?: JTDDataDef<
- S["optionalProperties"][K],
- D
- >
- } & ([S["additionalProperties"]] extends [true] ? Record<string, unknown> : unknown)
- : // values
- S extends {values: infer V}
- ? Record<string, JTDDataDef<V, D>>
- : // discriminator
- S extends {discriminator: infer M; mapping: Record<string, unknown>}
- ? [M] extends [string]
- ? {
- [K in keyof S["mapping"]]: JTDDataDef<S["mapping"][K], D> & {[KM in M]: K}
- }[keyof S["mapping"]]
- : never
- : // empty
- unknown)
- | (S extends {nullable: true} ? null : never)
-
-export type JTDDataType<S> = S extends {definitions: Record<string, unknown>}
- ? JTDDataDef<S, S["definitions"]>
- : JTDDataDef<S, Record<string, never>>
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts
deleted file mode 100644
index 755e5b3d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-import type {
- CodeKeywordDefinition,
- ErrorObject,
- KeywordErrorDefinition,
- AnySchema,
-} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str, not, Name} from "../../compile/codegen"
-import {alwaysValidSchema, checkStrictMode, Type} from "../../compile/util"
-
-export type AdditionalItemsError = ErrorObject<"additionalItems", {limit: number}, AnySchema>
-
-const error: KeywordErrorDefinition = {
- message: ({params: {len}}) => str`must NOT have more than ${len} items`,
- params: ({params: {len}}) => _`{limit: ${len}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "additionalItems" as const,
- type: "array",
- schemaType: ["boolean", "object"],
- before: "uniqueItems",
- error,
- code(cxt: KeywordCxt) {
- const {parentSchema, it} = cxt
- const {items} = parentSchema
- if (!Array.isArray(items)) {
- checkStrictMode(it, '"additionalItems" is ignored when "items" is not an array of schemas')
- return
- }
- validateAdditionalItems(cxt, items)
- },
-}
-
-export function validateAdditionalItems(cxt: KeywordCxt, items: AnySchema[]): void {
- const {gen, schema, data, keyword, it} = cxt
- it.items = true
- const len = gen.const("len", _`${data}.length`)
- if (schema === false) {
- cxt.setParams({len: items.length})
- cxt.pass(_`${len} <= ${items.length}`)
- } else if (typeof schema == "object" && !alwaysValidSchema(it, schema)) {
- const valid = gen.var("valid", _`${len} <= ${items.length}`) // TODO var
- gen.if(not(valid), () => validateItems(valid))
- cxt.ok(valid)
- }
-
- function validateItems(valid: Name): void {
- gen.forRange("i", items.length, len, (i) => {
- cxt.subschema({keyword, dataProp: i, dataPropType: Type.Num}, valid)
- if (!it.allErrors) gen.if(not(valid), () => gen.break())
- })
- }
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts
deleted file mode 100644
index bfb511ce..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts
+++ /dev/null
@@ -1,118 +0,0 @@
-import type {
- CodeKeywordDefinition,
- AddedKeywordDefinition,
- ErrorObject,
- KeywordErrorDefinition,
- AnySchema,
-} from "../../types"
-import {allSchemaProperties, usePattern, isOwnProperty} from "../code"
-import {_, nil, or, not, Code, Name} from "../../compile/codegen"
-import N from "../../compile/names"
-import type {SubschemaArgs} from "../../compile/validate/subschema"
-import {alwaysValidSchema, schemaRefOrVal, Type} from "../../compile/util"
-
-export type AdditionalPropertiesError = ErrorObject<
- "additionalProperties",
- {additionalProperty: string},
- AnySchema
->
-
-const error: KeywordErrorDefinition = {
- message: "must NOT have additional properties",
- params: ({params}) => _`{additionalProperty: ${params.additionalProperty}}`,
-}
-
-const def: CodeKeywordDefinition & AddedKeywordDefinition = {
- keyword: "additionalProperties",
- type: ["object"],
- schemaType: ["boolean", "object"],
- allowUndefined: true,
- trackErrors: true,
- error,
- code(cxt) {
- const {gen, schema, parentSchema, data, errsCount, it} = cxt
- /* istanbul ignore if */
- if (!errsCount) throw new Error("ajv implementation error")
- const {allErrors, opts} = it
- it.props = true
- if (opts.removeAdditional !== "all" && alwaysValidSchema(it, schema)) return
- const props = allSchemaProperties(parentSchema.properties)
- const patProps = allSchemaProperties(parentSchema.patternProperties)
- checkAdditionalProperties()
- cxt.ok(_`${errsCount} === ${N.errors}`)
-
- function checkAdditionalProperties(): void {
- gen.forIn("key", data, (key: Name) => {
- if (!props.length && !patProps.length) additionalPropertyCode(key)
- else gen.if(isAdditional(key), () => additionalPropertyCode(key))
- })
- }
-
- function isAdditional(key: Name): Code {
- let definedProp: Code
- if (props.length > 8) {
- // TODO maybe an option instead of hard-coded 8?
- const propsSchema = schemaRefOrVal(it, parentSchema.properties, "properties")
- definedProp = isOwnProperty(gen, propsSchema as Code, key)
- } else if (props.length) {
- definedProp = or(...props.map((p) => _`${key} === ${p}`))
- } else {
- definedProp = nil
- }
- if (patProps.length) {
- definedProp = or(definedProp, ...patProps.map((p) => _`${usePattern(cxt, p)}.test(${key})`))
- }
- return not(definedProp)
- }
-
- function deleteAdditional(key: Name): void {
- gen.code(_`delete ${data}[${key}]`)
- }
-
- function additionalPropertyCode(key: Name): void {
- if (opts.removeAdditional === "all" || (opts.removeAdditional && schema === false)) {
- deleteAdditional(key)
- return
- }
-
- if (schema === false) {
- cxt.setParams({additionalProperty: key})
- cxt.error()
- if (!allErrors) gen.break()
- return
- }
-
- if (typeof schema == "object" && !alwaysValidSchema(it, schema)) {
- const valid = gen.name("valid")
- if (opts.removeAdditional === "failing") {
- applyAdditionalSchema(key, valid, false)
- gen.if(not(valid), () => {
- cxt.reset()
- deleteAdditional(key)
- })
- } else {
- applyAdditionalSchema(key, valid)
- if (!allErrors) gen.if(not(valid), () => gen.break())
- }
- }
- }
-
- function applyAdditionalSchema(key: Name, valid: Name, errors?: false): void {
- const subschema: SubschemaArgs = {
- keyword: "additionalProperties",
- dataProp: key,
- dataPropType: Type.Str,
- }
- if (errors === false) {
- Object.assign(subschema, {
- compositeRule: true,
- createErrors: false,
- allErrors: false,
- })
- }
- cxt.subschema(subschema, valid)
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/allOf.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/allOf.ts
deleted file mode 100644
index cdfa86ff..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/allOf.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import type {CodeKeywordDefinition, AnySchema} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {alwaysValidSchema} from "../../compile/util"
-
-const def: CodeKeywordDefinition = {
- keyword: "allOf",
- schemaType: "array",
- code(cxt: KeywordCxt) {
- const {gen, schema, it} = cxt
- /* istanbul ignore if */
- if (!Array.isArray(schema)) throw new Error("ajv implementation error")
- const valid = gen.name("valid")
- schema.forEach((sch: AnySchema, i: number) => {
- if (alwaysValidSchema(it, sch)) return
- const schCxt = cxt.subschema({keyword: "allOf", schemaProp: i}, valid)
- cxt.ok(valid)
- cxt.mergeEvaluated(schCxt)
- })
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts
deleted file mode 100644
index bd331b5a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import type {CodeKeywordDefinition, ErrorNoParams, AnySchema} from "../../types"
-import {validateUnion} from "../code"
-
-export type AnyOfError = ErrorNoParams<"anyOf", AnySchema[]>
-
-const def: CodeKeywordDefinition = {
- keyword: "anyOf",
- schemaType: "array",
- trackErrors: true,
- code: validateUnion,
- error: {message: "must match a schema in anyOf"},
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/contains.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/contains.ts
deleted file mode 100644
index d88675c6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/contains.ts
+++ /dev/null
@@ -1,109 +0,0 @@
-import type {
- CodeKeywordDefinition,
- KeywordErrorDefinition,
- ErrorObject,
- AnySchema,
-} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str, Name} from "../../compile/codegen"
-import {alwaysValidSchema, checkStrictMode, Type} from "../../compile/util"
-
-export type ContainsError = ErrorObject<
- "contains",
- {minContains: number; maxContains?: number},
- AnySchema
->
-
-const error: KeywordErrorDefinition = {
- message: ({params: {min, max}}) =>
- max === undefined
- ? str`must contain at least ${min} valid item(s)`
- : str`must contain at least ${min} and no more than ${max} valid item(s)`,
- params: ({params: {min, max}}) =>
- max === undefined ? _`{minContains: ${min}}` : _`{minContains: ${min}, maxContains: ${max}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "contains",
- type: "array",
- schemaType: ["object", "boolean"],
- before: "uniqueItems",
- trackErrors: true,
- error,
- code(cxt: KeywordCxt) {
- const {gen, schema, parentSchema, data, it} = cxt
- let min: number
- let max: number | undefined
- const {minContains, maxContains} = parentSchema
- if (it.opts.next) {
- min = minContains === undefined ? 1 : minContains
- max = maxContains
- } else {
- min = 1
- }
- const len = gen.const("len", _`${data}.length`)
- cxt.setParams({min, max})
- if (max === undefined && min === 0) {
- checkStrictMode(it, `"minContains" == 0 without "maxContains": "contains" keyword ignored`)
- return
- }
- if (max !== undefined && min > max) {
- checkStrictMode(it, `"minContains" > "maxContains" is always invalid`)
- cxt.fail()
- return
- }
- if (alwaysValidSchema(it, schema)) {
- let cond = _`${len} >= ${min}`
- if (max !== undefined) cond = _`${cond} && ${len} <= ${max}`
- cxt.pass(cond)
- return
- }
-
- it.items = true
- const valid = gen.name("valid")
- if (max === undefined && min === 1) {
- validateItems(valid, () => gen.if(valid, () => gen.break()))
- } else if (min === 0) {
- gen.let(valid, true)
- if (max !== undefined) gen.if(_`${data}.length > 0`, validateItemsWithCount)
- } else {
- gen.let(valid, false)
- validateItemsWithCount()
- }
- cxt.result(valid, () => cxt.reset())
-
- function validateItemsWithCount(): void {
- const schValid = gen.name("_valid")
- const count = gen.let("count", 0)
- validateItems(schValid, () => gen.if(schValid, () => checkLimits(count)))
- }
-
- function validateItems(_valid: Name, block: () => void): void {
- gen.forRange("i", 0, len, (i) => {
- cxt.subschema(
- {
- keyword: "contains",
- dataProp: i,
- dataPropType: Type.Num,
- compositeRule: true,
- },
- _valid
- )
- block()
- })
- }
-
- function checkLimits(count: Name): void {
- gen.code(_`${count}++`)
- if (max === undefined) {
- gen.if(_`${count} >= ${min}`, () => gen.assign(valid, true).break())
- } else {
- gen.if(_`${count} > ${max}`, () => gen.assign(valid, false).break())
- if (min === 1) gen.assign(valid, true)
- else gen.if(_`${count} >= ${min}`, () => gen.assign(valid, true))
- }
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts
deleted file mode 100644
index f6761128..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts
+++ /dev/null
@@ -1,112 +0,0 @@
-import type {
- CodeKeywordDefinition,
- ErrorObject,
- KeywordErrorDefinition,
- SchemaMap,
- AnySchema,
-} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str} from "../../compile/codegen"
-import {alwaysValidSchema} from "../../compile/util"
-import {checkReportMissingProp, checkMissingProp, reportMissingProp, propertyInData} from "../code"
-
-export type PropertyDependencies = {[K in string]?: string[]}
-
-export interface DependenciesErrorParams {
- property: string
- missingProperty: string
- depsCount: number
- deps: string // TODO change to string[]
-}
-
-type SchemaDependencies = SchemaMap
-
-export type DependenciesError = ErrorObject<
- "dependencies",
- DependenciesErrorParams,
- {[K in string]?: string[] | AnySchema}
->
-
-export const error: KeywordErrorDefinition = {
- message: ({params: {property, depsCount, deps}}) => {
- const property_ies = depsCount === 1 ? "property" : "properties"
- return str`must have ${property_ies} ${deps} when property ${property} is present`
- },
- params: ({params: {property, depsCount, deps, missingProperty}}) =>
- _`{property: ${property},
- missingProperty: ${missingProperty},
- depsCount: ${depsCount},
- deps: ${deps}}`, // TODO change to reference
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "dependencies",
- type: "object",
- schemaType: "object",
- error,
- code(cxt: KeywordCxt) {
- const [propDeps, schDeps] = splitDependencies(cxt)
- validatePropertyDeps(cxt, propDeps)
- validateSchemaDeps(cxt, schDeps)
- },
-}
-
-function splitDependencies({schema}: KeywordCxt): [PropertyDependencies, SchemaDependencies] {
- const propertyDeps: PropertyDependencies = {}
- const schemaDeps: SchemaDependencies = {}
- for (const key in schema) {
- if (key === "__proto__") continue
- const deps = Array.isArray(schema[key]) ? propertyDeps : schemaDeps
- deps[key] = schema[key]
- }
- return [propertyDeps, schemaDeps]
-}
-
-export function validatePropertyDeps(
- cxt: KeywordCxt,
- propertyDeps: {[K in string]?: string[]} = cxt.schema
-): void {
- const {gen, data, it} = cxt
- if (Object.keys(propertyDeps).length === 0) return
- const missing = gen.let("missing")
- for (const prop in propertyDeps) {
- const deps = propertyDeps[prop] as string[]
- if (deps.length === 0) continue
- const hasProperty = propertyInData(gen, data, prop, it.opts.ownProperties)
- cxt.setParams({
- property: prop,
- depsCount: deps.length,
- deps: deps.join(", "),
- })
- if (it.allErrors) {
- gen.if(hasProperty, () => {
- for (const depProp of deps) {
- checkReportMissingProp(cxt, depProp)
- }
- })
- } else {
- gen.if(_`${hasProperty} && (${checkMissingProp(cxt, deps, missing)})`)
- reportMissingProp(cxt, missing)
- gen.else()
- }
- }
-}
-
-export function validateSchemaDeps(cxt: KeywordCxt, schemaDeps: SchemaMap = cxt.schema): void {
- const {gen, data, keyword, it} = cxt
- const valid = gen.name("valid")
- for (const prop in schemaDeps) {
- if (alwaysValidSchema(it, schemaDeps[prop] as AnySchema)) continue
- gen.if(
- propertyInData(gen, data, prop, it.opts.ownProperties),
- () => {
- const schCxt = cxt.subschema({keyword, schemaProp: prop}, valid)
- cxt.mergeValidEvaluated(schCxt, valid)
- },
- () => gen.var(valid, true) // TODO var
- )
- cxt.ok(valid)
- }
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts
deleted file mode 100644
index dbd3ae45..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import {validateSchemaDeps} from "./dependencies"
-
-const def: CodeKeywordDefinition = {
- keyword: "dependentSchemas",
- type: "object",
- schemaType: "object",
- code: (cxt) => validateSchemaDeps(cxt),
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/if.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/if.ts
deleted file mode 100644
index 5a40d5e3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/if.ts
+++ /dev/null
@@ -1,80 +0,0 @@
-import type {
- CodeKeywordDefinition,
- ErrorObject,
- KeywordErrorDefinition,
- AnySchema,
-} from "../../types"
-import type {SchemaObjCxt} from "../../compile"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str, not, Name} from "../../compile/codegen"
-import {alwaysValidSchema, checkStrictMode} from "../../compile/util"
-
-export type IfKeywordError = ErrorObject<"if", {failingKeyword: string}, AnySchema>
-
-const error: KeywordErrorDefinition = {
- message: ({params}) => str`must match "${params.ifClause}" schema`,
- params: ({params}) => _`{failingKeyword: ${params.ifClause}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "if",
- schemaType: ["object", "boolean"],
- trackErrors: true,
- error,
- code(cxt: KeywordCxt) {
- const {gen, parentSchema, it} = cxt
- if (parentSchema.then === undefined && parentSchema.else === undefined) {
- checkStrictMode(it, '"if" without "then" and "else" is ignored')
- }
- const hasThen = hasSchema(it, "then")
- const hasElse = hasSchema(it, "else")
- if (!hasThen && !hasElse) return
-
- const valid = gen.let("valid", true)
- const schValid = gen.name("_valid")
- validateIf()
- cxt.reset()
-
- if (hasThen && hasElse) {
- const ifClause = gen.let("ifClause")
- cxt.setParams({ifClause})
- gen.if(schValid, validateClause("then", ifClause), validateClause("else", ifClause))
- } else if (hasThen) {
- gen.if(schValid, validateClause("then"))
- } else {
- gen.if(not(schValid), validateClause("else"))
- }
-
- cxt.pass(valid, () => cxt.error(true))
-
- function validateIf(): void {
- const schCxt = cxt.subschema(
- {
- keyword: "if",
- compositeRule: true,
- createErrors: false,
- allErrors: false,
- },
- schValid
- )
- cxt.mergeEvaluated(schCxt)
- }
-
- function validateClause(keyword: string, ifClause?: Name): () => void {
- return () => {
- const schCxt = cxt.subschema({keyword}, schValid)
- gen.assign(valid, schValid)
- cxt.mergeValidEvaluated(schCxt, valid)
- if (ifClause) gen.assign(ifClause, _`${keyword}`)
- else cxt.setParams({ifClause: keyword})
- }
- }
- },
-}
-
-function hasSchema(it: SchemaObjCxt, keyword: string): boolean {
- const schema = it.schema[keyword]
- return schema !== undefined && !alwaysValidSchema(it, schema)
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/index.ts
deleted file mode 100644
index fc527169..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/index.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-import type {ErrorNoParams, Vocabulary} from "../../types"
-import additionalItems, {AdditionalItemsError} from "./additionalItems"
-import prefixItems from "./prefixItems"
-import items from "./items"
-import items2020, {ItemsError} from "./items2020"
-import contains, {ContainsError} from "./contains"
-import dependencies, {DependenciesError} from "./dependencies"
-import propertyNames, {PropertyNamesError} from "./propertyNames"
-import additionalProperties, {AdditionalPropertiesError} from "./additionalProperties"
-import properties from "./properties"
-import patternProperties from "./patternProperties"
-import notKeyword, {NotKeywordError} from "./not"
-import anyOf, {AnyOfError} from "./anyOf"
-import oneOf, {OneOfError} from "./oneOf"
-import allOf from "./allOf"
-import ifKeyword, {IfKeywordError} from "./if"
-import thenElse from "./thenElse"
-
-export default function getApplicator(draft2020 = false): Vocabulary {
- const applicator = [
- // any
- notKeyword,
- anyOf,
- oneOf,
- allOf,
- ifKeyword,
- thenElse,
- // object
- propertyNames,
- additionalProperties,
- dependencies,
- properties,
- patternProperties,
- ]
- // array
- if (draft2020) applicator.push(prefixItems, items2020)
- else applicator.push(additionalItems, items)
- applicator.push(contains)
- return applicator
-}
-
-export type ApplicatorKeywordError =
- | ErrorNoParams<"false schema">
- | AdditionalItemsError
- | ItemsError
- | ContainsError
- | AdditionalPropertiesError
- | DependenciesError
- | IfKeywordError
- | AnyOfError
- | OneOfError
- | NotKeywordError
- | PropertyNamesError
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/items.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/items.ts
deleted file mode 100644
index 033cb397..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/items.ts
+++ /dev/null
@@ -1,59 +0,0 @@
-import type {CodeKeywordDefinition, AnySchema, AnySchemaObject} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_} from "../../compile/codegen"
-import {alwaysValidSchema, mergeEvaluated, checkStrictMode} from "../../compile/util"
-import {validateArray} from "../code"
-
-const def: CodeKeywordDefinition = {
- keyword: "items",
- type: "array",
- schemaType: ["object", "array", "boolean"],
- before: "uniqueItems",
- code(cxt: KeywordCxt) {
- const {schema, it} = cxt
- if (Array.isArray(schema)) return validateTuple(cxt, "additionalItems", schema)
- it.items = true
- if (alwaysValidSchema(it, schema)) return
- cxt.ok(validateArray(cxt))
- },
-}
-
-export function validateTuple(
- cxt: KeywordCxt,
- extraItems: string,
- schArr: AnySchema[] = cxt.schema
-): void {
- const {gen, parentSchema, data, keyword, it} = cxt
- checkStrictTuple(parentSchema)
- if (it.opts.unevaluated && schArr.length && it.items !== true) {
- it.items = mergeEvaluated.items(gen, schArr.length, it.items)
- }
- const valid = gen.name("valid")
- const len = gen.const("len", _`${data}.length`)
- schArr.forEach((sch: AnySchema, i: number) => {
- if (alwaysValidSchema(it, sch)) return
- gen.if(_`${len} > ${i}`, () =>
- cxt.subschema(
- {
- keyword,
- schemaProp: i,
- dataProp: i,
- },
- valid
- )
- )
- cxt.ok(valid)
- })
-
- function checkStrictTuple(sch: AnySchemaObject): void {
- const {opts, errSchemaPath} = it
- const l = schArr.length
- const fullTuple = l === sch.minItems && (l === sch.maxItems || sch[extraItems] === false)
- if (opts.strictTuples && !fullTuple) {
- const msg = `"${keyword}" is ${l}-tuple, but minItems or maxItems/${extraItems} are not specified or different at path "${errSchemaPath}"`
- checkStrictMode(it, msg, opts.strictTuples)
- }
- }
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/items2020.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/items2020.ts
deleted file mode 100644
index 2a99b08d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/items2020.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-import type {
- CodeKeywordDefinition,
- KeywordErrorDefinition,
- ErrorObject,
- AnySchema,
-} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str} from "../../compile/codegen"
-import {alwaysValidSchema} from "../../compile/util"
-import {validateArray} from "../code"
-import {validateAdditionalItems} from "./additionalItems"
-
-export type ItemsError = ErrorObject<"items", {limit: number}, AnySchema>
-
-const error: KeywordErrorDefinition = {
- message: ({params: {len}}) => str`must NOT have more than ${len} items`,
- params: ({params: {len}}) => _`{limit: ${len}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "items",
- type: "array",
- schemaType: ["object", "boolean"],
- before: "uniqueItems",
- error,
- code(cxt: KeywordCxt) {
- const {schema, parentSchema, it} = cxt
- const {prefixItems} = parentSchema
- it.items = true
- if (alwaysValidSchema(it, schema)) return
- if (prefixItems) validateAdditionalItems(cxt, prefixItems)
- else cxt.ok(validateArray(cxt))
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/not.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/not.ts
deleted file mode 100644
index 8691db0b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/not.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-import type {CodeKeywordDefinition, ErrorNoParams, AnySchema} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {alwaysValidSchema} from "../../compile/util"
-
-export type NotKeywordError = ErrorNoParams<"not", AnySchema>
-
-const def: CodeKeywordDefinition = {
- keyword: "not",
- schemaType: ["object", "boolean"],
- trackErrors: true,
- code(cxt: KeywordCxt) {
- const {gen, schema, it} = cxt
- if (alwaysValidSchema(it, schema)) {
- cxt.fail()
- return
- }
-
- const valid = gen.name("valid")
- cxt.subschema(
- {
- keyword: "not",
- compositeRule: true,
- createErrors: false,
- allErrors: false,
- },
- valid
- )
-
- cxt.failResult(
- valid,
- () => cxt.reset(),
- () => cxt.error()
- )
- },
- error: {message: "must NOT be valid"},
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts
deleted file mode 100644
index c25353ff..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-import type {
- CodeKeywordDefinition,
- ErrorObject,
- KeywordErrorDefinition,
- AnySchema,
-} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, Name} from "../../compile/codegen"
-import {alwaysValidSchema} from "../../compile/util"
-import {SchemaCxt} from "../../compile"
-
-export type OneOfError = ErrorObject<
- "oneOf",
- {passingSchemas: [number, number] | null},
- AnySchema[]
->
-
-const error: KeywordErrorDefinition = {
- message: "must match exactly one schema in oneOf",
- params: ({params}) => _`{passingSchemas: ${params.passing}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "oneOf",
- schemaType: "array",
- trackErrors: true,
- error,
- code(cxt: KeywordCxt) {
- const {gen, schema, parentSchema, it} = cxt
- /* istanbul ignore if */
- if (!Array.isArray(schema)) throw new Error("ajv implementation error")
- if (it.opts.discriminator && parentSchema.discriminator) return
- const schArr: AnySchema[] = schema
- const valid = gen.let("valid", false)
- const passing = gen.let("passing", null)
- const schValid = gen.name("_valid")
- cxt.setParams({passing})
- // TODO possibly fail straight away (with warning or exception) if there are two empty always valid schemas
-
- gen.block(validateOneOf)
-
- cxt.result(
- valid,
- () => cxt.reset(),
- () => cxt.error(true)
- )
-
- function validateOneOf(): void {
- schArr.forEach((sch: AnySchema, i: number) => {
- let schCxt: SchemaCxt | undefined
- if (alwaysValidSchema(it, sch)) {
- gen.var(schValid, true)
- } else {
- schCxt = cxt.subschema(
- {
- keyword: "oneOf",
- schemaProp: i,
- compositeRule: true,
- },
- schValid
- )
- }
-
- if (i > 0) {
- gen
- .if(_`${schValid} && ${valid}`)
- .assign(valid, false)
- .assign(passing, _`[${passing}, ${i}]`)
- .else()
- }
-
- gen.if(schValid, () => {
- gen.assign(valid, true)
- gen.assign(passing, i)
- if (schCxt) cxt.mergeEvaluated(schCxt, Name)
- })
- })
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts
deleted file mode 100644
index ea624e23..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts
+++ /dev/null
@@ -1,91 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {allSchemaProperties, usePattern} from "../code"
-import {_, not, Name} from "../../compile/codegen"
-import {alwaysValidSchema, checkStrictMode} from "../../compile/util"
-import {evaluatedPropsToName, Type} from "../../compile/util"
-import {AnySchema} from "../../types"
-
-const def: CodeKeywordDefinition = {
- keyword: "patternProperties",
- type: "object",
- schemaType: "object",
- code(cxt: KeywordCxt) {
- const {gen, schema, data, parentSchema, it} = cxt
- const {opts} = it
- const patterns = allSchemaProperties(schema)
- const alwaysValidPatterns = patterns.filter((p) =>
- alwaysValidSchema(it, schema[p] as AnySchema)
- )
-
- if (
- patterns.length === 0 ||
- (alwaysValidPatterns.length === patterns.length &&
- (!it.opts.unevaluated || it.props === true))
- ) {
- return
- }
-
- const checkProperties =
- opts.strictSchema && !opts.allowMatchingProperties && parentSchema.properties
- const valid = gen.name("valid")
- if (it.props !== true && !(it.props instanceof Name)) {
- it.props = evaluatedPropsToName(gen, it.props)
- }
- const {props} = it
- validatePatternProperties()
-
- function validatePatternProperties(): void {
- for (const pat of patterns) {
- if (checkProperties) checkMatchingProperties(pat)
- if (it.allErrors) {
- validateProperties(pat)
- } else {
- gen.var(valid, true) // TODO var
- validateProperties(pat)
- gen.if(valid)
- }
- }
- }
-
- function checkMatchingProperties(pat: string): void {
- for (const prop in checkProperties) {
- if (new RegExp(pat).test(prop)) {
- checkStrictMode(
- it,
- `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`
- )
- }
- }
- }
-
- function validateProperties(pat: string): void {
- gen.forIn("key", data, (key) => {
- gen.if(_`${usePattern(cxt, pat)}.test(${key})`, () => {
- const alwaysValid = alwaysValidPatterns.includes(pat)
- if (!alwaysValid) {
- cxt.subschema(
- {
- keyword: "patternProperties",
- schemaProp: pat,
- dataProp: key,
- dataPropType: Type.Str,
- },
- valid
- )
- }
-
- if (it.opts.unevaluated && props !== true) {
- gen.assign(_`${props}[${key}]`, true)
- } else if (!alwaysValid && !it.allErrors) {
- // can short-circuit if `unevaluatedProperties` is not supported (opts.next === false)
- // or if all properties were evaluated (props === true)
- gen.if(not(valid), () => gen.break())
- }
- })
- })
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts
deleted file mode 100644
index 008fb2db..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import {validateTuple} from "./items"
-
-const def: CodeKeywordDefinition = {
- keyword: "prefixItems",
- type: "array",
- schemaType: ["array"],
- before: "uniqueItems",
- code: (cxt) => validateTuple(cxt, "items"),
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/properties.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/properties.ts
deleted file mode 100644
index a55b19ce..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/properties.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import {KeywordCxt} from "../../compile/validate"
-import {propertyInData, allSchemaProperties} from "../code"
-import {alwaysValidSchema, toHash, mergeEvaluated} from "../../compile/util"
-import apDef from "./additionalProperties"
-
-const def: CodeKeywordDefinition = {
- keyword: "properties",
- type: "object",
- schemaType: "object",
- code(cxt: KeywordCxt) {
- const {gen, schema, parentSchema, data, it} = cxt
- if (it.opts.removeAdditional === "all" && parentSchema.additionalProperties === undefined) {
- apDef.code(new KeywordCxt(it, apDef, "additionalProperties"))
- }
- const allProps = allSchemaProperties(schema)
- for (const prop of allProps) {
- it.definedProperties.add(prop)
- }
- if (it.opts.unevaluated && allProps.length && it.props !== true) {
- it.props = mergeEvaluated.props(gen, toHash(allProps), it.props)
- }
- const properties = allProps.filter((p) => !alwaysValidSchema(it, schema[p]))
- if (properties.length === 0) return
- const valid = gen.name("valid")
-
- for (const prop of properties) {
- if (hasDefault(prop)) {
- applyPropertySchema(prop)
- } else {
- gen.if(propertyInData(gen, data, prop, it.opts.ownProperties))
- applyPropertySchema(prop)
- if (!it.allErrors) gen.else().var(valid, true)
- gen.endIf()
- }
- cxt.it.definedProperties.add(prop)
- cxt.ok(valid)
- }
-
- function hasDefault(prop: string): boolean | undefined {
- return it.opts.useDefaults && !it.compositeRule && schema[prop].default !== undefined
- }
-
- function applyPropertySchema(prop: string): void {
- cxt.subschema(
- {
- keyword: "properties",
- schemaProp: prop,
- dataProp: prop,
- },
- valid
- )
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts
deleted file mode 100644
index 1c54d605..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import type {
- CodeKeywordDefinition,
- ErrorObject,
- KeywordErrorDefinition,
- AnySchema,
-} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, not} from "../../compile/codegen"
-import {alwaysValidSchema} from "../../compile/util"
-
-export type PropertyNamesError = ErrorObject<"propertyNames", {propertyName: string}, AnySchema>
-
-const error: KeywordErrorDefinition = {
- message: "property name must be valid",
- params: ({params}) => _`{propertyName: ${params.propertyName}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "propertyNames",
- type: "object",
- schemaType: ["object", "boolean"],
- error,
- code(cxt: KeywordCxt) {
- const {gen, schema, data, it} = cxt
- if (alwaysValidSchema(it, schema)) return
- const valid = gen.name("valid")
-
- gen.forIn("key", data, (key) => {
- cxt.setParams({propertyName: key})
- cxt.subschema(
- {
- keyword: "propertyNames",
- data: key,
- dataTypes: ["string"],
- propertyName: key,
- compositeRule: true,
- },
- valid
- )
- gen.if(not(valid), () => {
- cxt.error(true)
- if (!it.allErrors) gen.break()
- })
- })
-
- cxt.ok(valid)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts
deleted file mode 100644
index 5055182e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {checkStrictMode} from "../../compile/util"
-
-const def: CodeKeywordDefinition = {
- keyword: ["then", "else"],
- schemaType: ["object", "boolean"],
- code({keyword, parentSchema, it}: KeywordCxt) {
- if (parentSchema.if === undefined) checkStrictMode(it, `"${keyword}" without "if" is ignored`)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/code.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/code.ts
deleted file mode 100644
index 92cdd5b0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/code.ts
+++ /dev/null
@@ -1,168 +0,0 @@
-import type {AnySchema, SchemaMap} from "../types"
-import type {SchemaCxt} from "../compile"
-import type {KeywordCxt} from "../compile/validate"
-import {CodeGen, _, and, or, not, nil, strConcat, getProperty, Code, Name} from "../compile/codegen"
-import {alwaysValidSchema, Type} from "../compile/util"
-import N from "../compile/names"
-import {useFunc} from "../compile/util"
-export function checkReportMissingProp(cxt: KeywordCxt, prop: string): void {
- const {gen, data, it} = cxt
- gen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => {
- cxt.setParams({missingProperty: _`${prop}`}, true)
- cxt.error()
- })
-}
-
-export function checkMissingProp(
- {gen, data, it: {opts}}: KeywordCxt,
- properties: string[],
- missing: Name
-): Code {
- return or(
- ...properties.map((prop) =>
- and(noPropertyInData(gen, data, prop, opts.ownProperties), _`${missing} = ${prop}`)
- )
- )
-}
-
-export function reportMissingProp(cxt: KeywordCxt, missing: Name): void {
- cxt.setParams({missingProperty: missing}, true)
- cxt.error()
-}
-
-export function hasPropFunc(gen: CodeGen): Name {
- return gen.scopeValue("func", {
- // eslint-disable-next-line @typescript-eslint/unbound-method
- ref: Object.prototype.hasOwnProperty,
- code: _`Object.prototype.hasOwnProperty`,
- })
-}
-
-export function isOwnProperty(gen: CodeGen, data: Name, property: Name | string): Code {
- return _`${hasPropFunc(gen)}.call(${data}, ${property})`
-}
-
-export function propertyInData(
- gen: CodeGen,
- data: Name,
- property: Name | string,
- ownProperties?: boolean
-): Code {
- const cond = _`${data}${getProperty(property)} !== undefined`
- return ownProperties ? _`${cond} && ${isOwnProperty(gen, data, property)}` : cond
-}
-
-export function noPropertyInData(
- gen: CodeGen,
- data: Name,
- property: Name | string,
- ownProperties?: boolean
-): Code {
- const cond = _`${data}${getProperty(property)} === undefined`
- return ownProperties ? or(cond, not(isOwnProperty(gen, data, property))) : cond
-}
-
-export function allSchemaProperties(schemaMap?: SchemaMap): string[] {
- return schemaMap ? Object.keys(schemaMap).filter((p) => p !== "__proto__") : []
-}
-
-export function schemaProperties(it: SchemaCxt, schemaMap: SchemaMap): string[] {
- return allSchemaProperties(schemaMap).filter(
- (p) => !alwaysValidSchema(it, schemaMap[p] as AnySchema)
- )
-}
-
-export function callValidateCode(
- {schemaCode, data, it: {gen, topSchemaRef, schemaPath, errorPath}, it}: KeywordCxt,
- func: Code,
- context: Code,
- passSchema?: boolean
-): Code {
- const dataAndSchema = passSchema ? _`${schemaCode}, ${data}, ${topSchemaRef}${schemaPath}` : data
- const valCxt: [Name, Code | number][] = [
- [N.instancePath, strConcat(N.instancePath, errorPath)],
- [N.parentData, it.parentData],
- [N.parentDataProperty, it.parentDataProperty],
- [N.rootData, N.rootData],
- ]
- if (it.opts.dynamicRef) valCxt.push([N.dynamicAnchors, N.dynamicAnchors])
- const args = _`${dataAndSchema}, ${gen.object(...valCxt)}`
- return context !== nil ? _`${func}.call(${context}, ${args})` : _`${func}(${args})`
-}
-
-const newRegExp = _`new RegExp`
-
-export function usePattern({gen, it: {opts}}: KeywordCxt, pattern: string): Name {
- const u = opts.unicodeRegExp ? "u" : ""
- const {regExp} = opts.code
- const rx = regExp(pattern, u)
-
- return gen.scopeValue("pattern", {
- key: rx.toString(),
- ref: rx,
- code: _`${regExp.code === "new RegExp" ? newRegExp : useFunc(gen, regExp)}(${pattern}, ${u})`,
- })
-}
-
-export function validateArray(cxt: KeywordCxt): Name {
- const {gen, data, keyword, it} = cxt
- const valid = gen.name("valid")
- if (it.allErrors) {
- const validArr = gen.let("valid", true)
- validateItems(() => gen.assign(validArr, false))
- return validArr
- }
- gen.var(valid, true)
- validateItems(() => gen.break())
- return valid
-
- function validateItems(notValid: () => void): void {
- const len = gen.const("len", _`${data}.length`)
- gen.forRange("i", 0, len, (i) => {
- cxt.subschema(
- {
- keyword,
- dataProp: i,
- dataPropType: Type.Num,
- },
- valid
- )
- gen.if(not(valid), notValid)
- })
- }
-}
-
-export function validateUnion(cxt: KeywordCxt): void {
- const {gen, schema, keyword, it} = cxt
- /* istanbul ignore if */
- if (!Array.isArray(schema)) throw new Error("ajv implementation error")
- const alwaysValid = schema.some((sch: AnySchema) => alwaysValidSchema(it, sch))
- if (alwaysValid && !it.opts.unevaluated) return
-
- const valid = gen.let("valid", false)
- const schValid = gen.name("_valid")
-
- gen.block(() =>
- schema.forEach((_sch: AnySchema, i: number) => {
- const schCxt = cxt.subschema(
- {
- keyword,
- schemaProp: i,
- compositeRule: true,
- },
- schValid
- )
- gen.assign(valid, _`${valid} || ${schValid}`)
- const merged = cxt.mergeValidEvaluated(schCxt, schValid)
- // can short-circuit if `unevaluatedProperties/Items` not supported (opts.unevaluated !== true)
- // or if all properties and items were evaluated (it.props === true && it.items === true)
- if (!merged) gen.if(not(valid))
- })
- )
-
- cxt.result(
- valid,
- () => cxt.reset(),
- () => cxt.error(true)
- )
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/id.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/id.ts
deleted file mode 100644
index aa36c4bb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/id.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-
-const def: CodeKeywordDefinition = {
- keyword: "id",
- code() {
- throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/index.ts
deleted file mode 100644
index e63e2895..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/index.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import type {Vocabulary} from "../../types"
-import idKeyword from "./id"
-import refKeyword from "./ref"
-
-const core: Vocabulary = [
- "$schema",
- "$id",
- "$defs",
- "$vocabulary",
- {keyword: "$comment"},
- "definitions",
- idKeyword,
- refKeyword,
-]
-
-export default core
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/ref.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/ref.ts
deleted file mode 100644
index 079cb9b4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/core/ref.ts
+++ /dev/null
@@ -1,129 +0,0 @@
-import type {CodeKeywordDefinition, AnySchema} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import MissingRefError from "../../compile/ref_error"
-import {callValidateCode} from "../code"
-import {_, nil, stringify, Code, Name} from "../../compile/codegen"
-import N from "../../compile/names"
-import {SchemaEnv, resolveRef} from "../../compile"
-import {mergeEvaluated} from "../../compile/util"
-
-const def: CodeKeywordDefinition = {
- keyword: "$ref",
- schemaType: "string",
- code(cxt: KeywordCxt): void {
- const {gen, schema: $ref, it} = cxt
- const {baseId, schemaEnv: env, validateName, opts, self} = it
- const {root} = env
- if (($ref === "#" || $ref === "#/") && baseId === root.baseId) return callRootRef()
- const schOrEnv = resolveRef.call(self, root, baseId, $ref)
- if (schOrEnv === undefined) throw new MissingRefError(baseId, $ref)
- if (schOrEnv instanceof SchemaEnv) return callValidate(schOrEnv)
- return inlineRefSchema(schOrEnv)
-
- function callRootRef(): void {
- if (env === root) return callRef(cxt, validateName, env, env.$async)
- const rootName = gen.scopeValue("root", {ref: root})
- return callRef(cxt, _`${rootName}.validate`, root, root.$async)
- }
-
- function callValidate(sch: SchemaEnv): void {
- const v = getValidate(cxt, sch)
- callRef(cxt, v, sch, sch.$async)
- }
-
- function inlineRefSchema(sch: AnySchema): void {
- const schName = gen.scopeValue(
- "schema",
- opts.code.source === true ? {ref: sch, code: stringify(sch)} : {ref: sch}
- )
- const valid = gen.name("valid")
- const schCxt = cxt.subschema(
- {
- schema: sch,
- dataTypes: [],
- schemaPath: nil,
- topSchemaRef: schName,
- errSchemaPath: $ref,
- },
- valid
- )
- cxt.mergeEvaluated(schCxt)
- cxt.ok(valid)
- }
- },
-}
-
-export function getValidate(cxt: KeywordCxt, sch: SchemaEnv): Code {
- const {gen} = cxt
- return sch.validate
- ? gen.scopeValue("validate", {ref: sch.validate})
- : _`${gen.scopeValue("wrapper", {ref: sch})}.validate`
-}
-
-export function callRef(cxt: KeywordCxt, v: Code, sch?: SchemaEnv, $async?: boolean): void {
- const {gen, it} = cxt
- const {allErrors, schemaEnv: env, opts} = it
- const passCxt = opts.passContext ? N.this : nil
- if ($async) callAsyncRef()
- else callSyncRef()
-
- function callAsyncRef(): void {
- if (!env.$async) throw new Error("async schema referenced by sync schema")
- const valid = gen.let("valid")
- gen.try(
- () => {
- gen.code(_`await ${callValidateCode(cxt, v, passCxt)}`)
- addEvaluatedFrom(v) // TODO will not work with async, it has to be returned with the result
- if (!allErrors) gen.assign(valid, true)
- },
- (e) => {
- gen.if(_`!(${e} instanceof ${it.ValidationError as Name})`, () => gen.throw(e))
- addErrorsFrom(e)
- if (!allErrors) gen.assign(valid, false)
- }
- )
- cxt.ok(valid)
- }
-
- function callSyncRef(): void {
- cxt.result(
- callValidateCode(cxt, v, passCxt),
- () => addEvaluatedFrom(v),
- () => addErrorsFrom(v)
- )
- }
-
- function addErrorsFrom(source: Code): void {
- const errs = _`${source}.errors`
- gen.assign(N.vErrors, _`${N.vErrors} === null ? ${errs} : ${N.vErrors}.concat(${errs})`) // TODO tagged
- gen.assign(N.errors, _`${N.vErrors}.length`)
- }
-
- function addEvaluatedFrom(source: Code): void {
- if (!it.opts.unevaluated) return
- const schEvaluated = sch?.validate?.evaluated
- // TODO refactor
- if (it.props !== true) {
- if (schEvaluated && !schEvaluated.dynamicProps) {
- if (schEvaluated.props !== undefined) {
- it.props = mergeEvaluated.props(gen, schEvaluated.props, it.props)
- }
- } else {
- const props = gen.var("props", _`${source}.evaluated.props`)
- it.props = mergeEvaluated.props(gen, props, it.props, Name)
- }
- }
- if (it.items !== true) {
- if (schEvaluated && !schEvaluated.dynamicItems) {
- if (schEvaluated.items !== undefined) {
- it.items = mergeEvaluated.items(gen, schEvaluated.items, it.items)
- }
- } else {
- const items = gen.var("items", _`${source}.evaluated.items`)
- it.items = mergeEvaluated.items(gen, items, it.items, Name)
- }
- }
- }
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/discriminator/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/discriminator/index.ts
deleted file mode 100644
index ec00064f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/discriminator/index.ts
+++ /dev/null
@@ -1,110 +0,0 @@
-import type {CodeKeywordDefinition, AnySchemaObject, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, getProperty, Name} from "../../compile/codegen"
-import {DiscrError, DiscrErrorObj} from "../discriminator/types"
-import {resolveRef, SchemaEnv} from "../../compile"
-import {schemaHasRulesButRef} from "../../compile/util"
-
-export type DiscriminatorError = DiscrErrorObj<DiscrError.Tag> | DiscrErrorObj<DiscrError.Mapping>
-
-const error: KeywordErrorDefinition = {
- message: ({params: {discrError, tagName}}) =>
- discrError === DiscrError.Tag
- ? `tag "${tagName}" must be string`
- : `value of tag "${tagName}" must be in oneOf`,
- params: ({params: {discrError, tag, tagName}}) =>
- _`{error: ${discrError}, tag: ${tagName}, tagValue: ${tag}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "discriminator",
- type: "object",
- schemaType: "object",
- error,
- code(cxt: KeywordCxt) {
- const {gen, data, schema, parentSchema, it} = cxt
- const {oneOf} = parentSchema
- if (!it.opts.discriminator) {
- throw new Error("discriminator: requires discriminator option")
- }
- const tagName = schema.propertyName
- if (typeof tagName != "string") throw new Error("discriminator: requires propertyName")
- if (schema.mapping) throw new Error("discriminator: mapping is not supported")
- if (!oneOf) throw new Error("discriminator: requires oneOf keyword")
- const valid = gen.let("valid", false)
- const tag = gen.const("tag", _`${data}${getProperty(tagName)}`)
- gen.if(
- _`typeof ${tag} == "string"`,
- () => validateMapping(),
- () => cxt.error(false, {discrError: DiscrError.Tag, tag, tagName})
- )
- cxt.ok(valid)
-
- function validateMapping(): void {
- const mapping = getMapping()
- gen.if(false)
- for (const tagValue in mapping) {
- gen.elseIf(_`${tag} === ${tagValue}`)
- gen.assign(valid, applyTagSchema(mapping[tagValue]))
- }
- gen.else()
- cxt.error(false, {discrError: DiscrError.Mapping, tag, tagName})
- gen.endIf()
- }
-
- function applyTagSchema(schemaProp?: number): Name {
- const _valid = gen.name("valid")
- const schCxt = cxt.subschema({keyword: "oneOf", schemaProp}, _valid)
- cxt.mergeEvaluated(schCxt, Name)
- return _valid
- }
-
- function getMapping(): {[T in string]?: number} {
- const oneOfMapping: {[T in string]?: number} = {}
- const topRequired = hasRequired(parentSchema)
- let tagRequired = true
- for (let i = 0; i < oneOf.length; i++) {
- let sch = oneOf[i]
- if (sch?.$ref && !schemaHasRulesButRef(sch, it.self.RULES)) {
- sch = resolveRef.call(it.self, it.schemaEnv, it.baseId, sch?.$ref)
- if (sch instanceof SchemaEnv) sch = sch.schema
- }
- const propSch = sch?.properties?.[tagName]
- if (typeof propSch != "object") {
- throw new Error(
- `discriminator: oneOf subschemas (or referenced schemas) must have "properties/${tagName}"`
- )
- }
- tagRequired = tagRequired && (topRequired || hasRequired(sch))
- addMappings(propSch, i)
- }
- if (!tagRequired) throw new Error(`discriminator: "${tagName}" must be required`)
- return oneOfMapping
-
- function hasRequired({required}: AnySchemaObject): boolean {
- return Array.isArray(required) && required.includes(tagName)
- }
-
- function addMappings(sch: AnySchemaObject, i: number): void {
- if (sch.const) {
- addMapping(sch.const, i)
- } else if (sch.enum) {
- for (const tagValue of sch.enum) {
- addMapping(tagValue, i)
- }
- } else {
- throw new Error(`discriminator: "properties/${tagName}" must have "const" or "enum"`)
- }
- }
-
- function addMapping(tagValue: unknown, i: number): void {
- if (typeof tagValue != "string" || tagValue in oneOfMapping) {
- throw new Error(`discriminator: "${tagName}" values must be unique strings`)
- }
- oneOfMapping[tagValue] = i
- }
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/discriminator/types.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/discriminator/types.ts
deleted file mode 100644
index bee5a278..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/discriminator/types.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type {ErrorObject} from "../../types"
-
-export enum DiscrError {
- Tag = "tag",
- Mapping = "mapping",
-}
-
-export type DiscrErrorObj<E extends DiscrError> = ErrorObject<
- "discriminator",
- {error: E; tag: string; tagValue: unknown},
- string
->
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/draft2020.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/draft2020.ts
deleted file mode 100644
index 47fbf0ee..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/draft2020.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import type {Vocabulary} from "../types"
-import coreVocabulary from "./core"
-import validationVocabulary from "./validation"
-import getApplicatorVocabulary from "./applicator"
-import dynamicVocabulary from "./dynamic"
-import nextVocabulary from "./next"
-import unevaluatedVocabulary from "./unevaluated"
-import formatVocabulary from "./format"
-import {metadataVocabulary, contentVocabulary} from "./metadata"
-
-const draft2020Vocabularies: Vocabulary[] = [
- dynamicVocabulary,
- coreVocabulary,
- validationVocabulary,
- getApplicatorVocabulary(true),
- formatVocabulary,
- metadataVocabulary,
- contentVocabulary,
- nextVocabulary,
- unevaluatedVocabulary,
-]
-
-export default draft2020Vocabularies
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/draft7.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/draft7.ts
deleted file mode 100644
index 226a644a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/draft7.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type {Vocabulary} from "../types"
-import coreVocabulary from "./core"
-import validationVocabulary from "./validation"
-import getApplicatorVocabulary from "./applicator"
-import formatVocabulary from "./format"
-import {metadataVocabulary, contentVocabulary} from "./metadata"
-
-const draft7Vocabularies: Vocabulary[] = [
- coreVocabulary,
- validationVocabulary,
- getApplicatorVocabulary(),
- formatVocabulary,
- metadataVocabulary,
- contentVocabulary,
-]
-
-export default draft7Vocabularies
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts
deleted file mode 100644
index ca1adb91..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, getProperty, Code} from "../../compile/codegen"
-import N from "../../compile/names"
-import {SchemaEnv, compileSchema} from "../../compile"
-import {getValidate} from "../core/ref"
-
-const def: CodeKeywordDefinition = {
- keyword: "$dynamicAnchor",
- schemaType: "string",
- code: (cxt) => dynamicAnchor(cxt, cxt.schema),
-}
-
-export function dynamicAnchor(cxt: KeywordCxt, anchor: string): void {
- const {gen, it} = cxt
- it.schemaEnv.root.dynamicAnchors[anchor] = true
- const v = _`${N.dynamicAnchors}${getProperty(anchor)}`
- const validate = it.errSchemaPath === "#" ? it.validateName : _getValidate(cxt)
- gen.if(_`!${v}`, () => gen.assign(v, validate))
-}
-
-function _getValidate(cxt: KeywordCxt): Code {
- const {schemaEnv, schema, self} = cxt.it
- const {root, baseId, localRefs, meta} = schemaEnv.root
- const {schemaId} = self.opts
- const sch = new SchemaEnv({schema, schemaId, root, baseId, localRefs, meta})
- compileSchema.call(self, sch)
- return getValidate(cxt, sch)
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts
deleted file mode 100644
index 6a573f33..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, getProperty, Code, Name} from "../../compile/codegen"
-import N from "../../compile/names"
-import {callRef} from "../core/ref"
-
-const def: CodeKeywordDefinition = {
- keyword: "$dynamicRef",
- schemaType: "string",
- code: (cxt) => dynamicRef(cxt, cxt.schema),
-}
-
-export function dynamicRef(cxt: KeywordCxt, ref: string): void {
- const {gen, keyword, it} = cxt
- if (ref[0] !== "#") throw new Error(`"${keyword}" only supports hash fragment reference`)
- const anchor = ref.slice(1)
- if (it.allErrors) {
- _dynamicRef()
- } else {
- const valid = gen.let("valid", false)
- _dynamicRef(valid)
- cxt.ok(valid)
- }
-
- function _dynamicRef(valid?: Name): void {
- // TODO the assumption here is that `recursiveRef: #` always points to the root
- // of the schema object, which is not correct, because there may be $id that
- // makes # point to it, and the target schema may not contain dynamic/recursiveAnchor.
- // Because of that 2 tests in recursiveRef.json fail.
- // This is a similar problem to #815 (`$id` doesn't alter resolution scope for `{ "$ref": "#" }`).
- // (This problem is not tested in JSON-Schema-Test-Suite)
- if (it.schemaEnv.root.dynamicAnchors[anchor]) {
- const v = gen.let("_v", _`${N.dynamicAnchors}${getProperty(anchor)}`)
- gen.if(v, _callRef(v, valid), _callRef(it.validateName, valid))
- } else {
- _callRef(it.validateName, valid)()
- }
- }
-
- function _callRef(validate: Code, valid?: Name): () => void {
- return valid
- ? () =>
- gen.block(() => {
- callRef(cxt, validate)
- gen.let(valid, true)
- })
- : () => callRef(cxt, validate)
- }
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/index.ts
deleted file mode 100644
index 6d521db6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/index.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type {Vocabulary} from "../../types"
-import dynamicAnchor from "./dynamicAnchor"
-import dynamicRef from "./dynamicRef"
-import recursiveAnchor from "./recursiveAnchor"
-import recursiveRef from "./recursiveRef"
-
-const dynamic: Vocabulary = [dynamicAnchor, dynamicRef, recursiveAnchor, recursiveRef]
-
-export default dynamic
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts
deleted file mode 100644
index 25f3db96..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import {dynamicAnchor} from "./dynamicAnchor"
-import {checkStrictMode} from "../../compile/util"
-
-const def: CodeKeywordDefinition = {
- keyword: "$recursiveAnchor",
- schemaType: "boolean",
- code(cxt) {
- if (cxt.schema) dynamicAnchor(cxt, "")
- else checkStrictMode(cxt.it, "$recursiveAnchor: false is ignored")
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts
deleted file mode 100644
index c84af0f0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import {dynamicRef} from "./dynamicRef"
-
-const def: CodeKeywordDefinition = {
- keyword: "$recursiveRef",
- schemaType: "string",
- code: (cxt) => dynamicRef(cxt, cxt.schema),
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/errors.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/errors.ts
deleted file mode 100644
index c9ca3f02..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/errors.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import type {TypeError} from "../compile/validate/dataType"
-import type {ApplicatorKeywordError} from "./applicator"
-import type {ValidationKeywordError} from "./validation"
-import type {FormatError} from "./format/format"
-import type {UnevaluatedPropertiesError} from "./unevaluated/unevaluatedProperties"
-import type {UnevaluatedItemsError} from "./unevaluated/unevaluatedItems"
-import type {DependentRequiredError} from "./validation/dependentRequired"
-import type {DiscriminatorError} from "./discriminator"
-
-export type DefinedError =
- | TypeError
- | ApplicatorKeywordError
- | ValidationKeywordError
- | FormatError
- | UnevaluatedPropertiesError
- | UnevaluatedItemsError
- | DependentRequiredError
- | DiscriminatorError
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/format/format.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/format/format.ts
deleted file mode 100644
index 4b1c13e7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/format/format.ts
+++ /dev/null
@@ -1,120 +0,0 @@
-import type {
- AddedFormat,
- FormatValidator,
- AsyncFormatValidator,
- CodeKeywordDefinition,
- KeywordErrorDefinition,
- ErrorObject,
-} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str, nil, or, Code, getProperty, regexpCode} from "../../compile/codegen"
-
-type FormatValidate =
- | FormatValidator<string>
- | FormatValidator<number>
- | AsyncFormatValidator<string>
- | AsyncFormatValidator<number>
- | RegExp
- | string
- | true
-
-export type FormatError = ErrorObject<"format", {format: string}, string | {$data: string}>
-
-const error: KeywordErrorDefinition = {
- message: ({schemaCode}) => str`must match format "${schemaCode}"`,
- params: ({schemaCode}) => _`{format: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "format",
- type: ["number", "string"],
- schemaType: "string",
- $data: true,
- error,
- code(cxt: KeywordCxt, ruleType?: string) {
- const {gen, data, $data, schema, schemaCode, it} = cxt
- const {opts, errSchemaPath, schemaEnv, self} = it
- if (!opts.validateFormats) return
-
- if ($data) validate$DataFormat()
- else validateFormat()
-
- function validate$DataFormat(): void {
- const fmts = gen.scopeValue("formats", {
- ref: self.formats,
- code: opts.code.formats,
- })
- const fDef = gen.const("fDef", _`${fmts}[${schemaCode}]`)
- const fType = gen.let("fType")
- const format = gen.let("format")
- // TODO simplify
- gen.if(
- _`typeof ${fDef} == "object" && !(${fDef} instanceof RegExp)`,
- () => gen.assign(fType, _`${fDef}.type || "string"`).assign(format, _`${fDef}.validate`),
- () => gen.assign(fType, _`"string"`).assign(format, fDef)
- )
- cxt.fail$data(or(unknownFmt(), invalidFmt()))
-
- function unknownFmt(): Code {
- if (opts.strictSchema === false) return nil
- return _`${schemaCode} && !${format}`
- }
-
- function invalidFmt(): Code {
- const callFormat = schemaEnv.$async
- ? _`(${fDef}.async ? await ${format}(${data}) : ${format}(${data}))`
- : _`${format}(${data})`
- const validData = _`(typeof ${format} == "function" ? ${callFormat} : ${format}.test(${data}))`
- return _`${format} && ${format} !== true && ${fType} === ${ruleType} && !${validData}`
- }
- }
-
- function validateFormat(): void {
- const formatDef: AddedFormat | undefined = self.formats[schema]
- if (!formatDef) {
- unknownFormat()
- return
- }
- if (formatDef === true) return
- const [fmtType, format, fmtRef] = getFormat(formatDef)
- if (fmtType === ruleType) cxt.pass(validCondition())
-
- function unknownFormat(): void {
- if (opts.strictSchema === false) {
- self.logger.warn(unknownMsg())
- return
- }
- throw new Error(unknownMsg())
-
- function unknownMsg(): string {
- return `unknown format "${schema as string}" ignored in schema at path "${errSchemaPath}"`
- }
- }
-
- function getFormat(fmtDef: AddedFormat): [string, FormatValidate, Code] {
- const code =
- fmtDef instanceof RegExp
- ? regexpCode(fmtDef)
- : opts.code.formats
- ? _`${opts.code.formats}${getProperty(schema)}`
- : undefined
- const fmt = gen.scopeValue("formats", {key: schema, ref: fmtDef, code})
- if (typeof fmtDef == "object" && !(fmtDef instanceof RegExp)) {
- return [fmtDef.type || "string", fmtDef.validate, _`${fmt}.validate`]
- }
-
- return ["string", fmtDef, fmt]
- }
-
- function validCondition(): Code {
- if (typeof formatDef == "object" && !(formatDef instanceof RegExp) && formatDef.async) {
- if (!schemaEnv.$async) throw new Error("async format in sync schema")
- return _`await ${fmtRef}(${data})`
- }
- return typeof format == "function" ? _`${fmtRef}(${data})` : _`${fmtRef}.test(${data})`
- }
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/format/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/format/index.ts
deleted file mode 100644
index bca2f5b3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/format/index.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type {Vocabulary} from "../../types"
-import formatKeyword from "./format"
-
-const format: Vocabulary = [formatKeyword]
-
-export default format
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts
deleted file mode 100644
index f487c97f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts
+++ /dev/null
@@ -1,89 +0,0 @@
-import type {CodeKeywordDefinition, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, not, getProperty, Name} from "../../compile/codegen"
-import {checkMetadata} from "./metadata"
-import {checkNullableObject} from "./nullable"
-import {typeErrorMessage, typeErrorParams, _JTDTypeError} from "./error"
-import {DiscrError, DiscrErrorObj} from "../discriminator/types"
-
-export type JTDDiscriminatorError =
- | _JTDTypeError<"discriminator", "object", string>
- | DiscrErrorObj<DiscrError.Tag>
- | DiscrErrorObj<DiscrError.Mapping>
-
-const error: KeywordErrorDefinition = {
- message: (cxt) => {
- const {schema, params} = cxt
- return params.discrError
- ? params.discrError === DiscrError.Tag
- ? `tag "${schema}" must be string`
- : `value of tag "${schema}" must be in mapping`
- : typeErrorMessage(cxt, "object")
- },
- params: (cxt) => {
- const {schema, params} = cxt
- return params.discrError
- ? _`{error: ${params.discrError}, tag: ${schema}, tagValue: ${params.tag}}`
- : typeErrorParams(cxt, "object")
- },
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "discriminator",
- schemaType: "string",
- implements: ["mapping"],
- error,
- code(cxt: KeywordCxt) {
- checkMetadata(cxt)
- const {gen, data, schema, parentSchema} = cxt
- const [valid, cond] = checkNullableObject(cxt, data)
-
- gen.if(cond)
- validateDiscriminator()
- gen.elseIf(not(valid))
- cxt.error()
- gen.endIf()
- cxt.ok(valid)
-
- function validateDiscriminator(): void {
- const tag = gen.const("tag", _`${data}${getProperty(schema)}`)
- gen.if(_`${tag} === undefined`)
- cxt.error(false, {discrError: DiscrError.Tag, tag})
- gen.elseIf(_`typeof ${tag} == "string"`)
- validateMapping(tag)
- gen.else()
- cxt.error(false, {discrError: DiscrError.Tag, tag}, {instancePath: schema})
- gen.endIf()
- }
-
- function validateMapping(tag: Name): void {
- gen.if(false)
- for (const tagValue in parentSchema.mapping) {
- gen.elseIf(_`${tag} === ${tagValue}`)
- gen.assign(valid, applyTagSchema(tagValue))
- }
- gen.else()
- cxt.error(
- false,
- {discrError: DiscrError.Mapping, tag},
- {instancePath: schema, schemaPath: "mapping", parentSchema: true}
- )
- gen.endIf()
- }
-
- function applyTagSchema(schemaProp: string): Name {
- const _valid = gen.name("valid")
- cxt.subschema(
- {
- keyword: "mapping",
- schemaProp,
- jtdDiscriminator: schema,
- },
- _valid
- )
- return _valid
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/elements.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/elements.ts
deleted file mode 100644
index 983af7c0..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/elements.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import type {CodeKeywordDefinition, SchemaObject} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {alwaysValidSchema} from "../../compile/util"
-import {validateArray} from "../code"
-import {_, not} from "../../compile/codegen"
-import {checkMetadata} from "./metadata"
-import {checkNullable} from "./nullable"
-import {typeError, _JTDTypeError} from "./error"
-
-export type JTDElementsError = _JTDTypeError<"elements", "array", SchemaObject>
-
-const def: CodeKeywordDefinition = {
- keyword: "elements",
- schemaType: "object",
- error: typeError("array"),
- code(cxt: KeywordCxt) {
- checkMetadata(cxt)
- const {gen, data, schema, it} = cxt
- if (alwaysValidSchema(it, schema)) return
- const [valid] = checkNullable(cxt)
- gen.if(not(valid), () =>
- gen.if(
- _`Array.isArray(${data})`,
- () => gen.assign(valid, validateArray(cxt)),
- () => cxt.error()
- )
- )
- cxt.ok(valid)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/enum.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/enum.ts
deleted file mode 100644
index 75464ff8..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/enum.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import type {CodeKeywordDefinition, KeywordErrorDefinition, ErrorObject} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, or, and, Code} from "../../compile/codegen"
-import {checkMetadata} from "./metadata"
-import {checkNullable} from "./nullable"
-
-export type JTDEnumError = ErrorObject<"enum", {allowedValues: string[]}, string[]>
-
-const error: KeywordErrorDefinition = {
- message: "must be equal to one of the allowed values",
- params: ({schemaCode}) => _`{allowedValues: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "enum",
- schemaType: "array",
- error,
- code(cxt: KeywordCxt) {
- checkMetadata(cxt)
- const {gen, data, schema, schemaValue, parentSchema, it} = cxt
- if (schema.length === 0) throw new Error("enum must have non-empty array")
- if (schema.length !== new Set(schema).size) throw new Error("enum items must be unique")
- let valid: Code
- const isString = _`typeof ${data} == "string"`
- if (schema.length >= it.opts.loopEnum) {
- let cond: Code
- ;[valid, cond] = checkNullable(cxt, isString)
- gen.if(cond, loopEnum)
- } else {
- /* istanbul ignore if */
- if (!Array.isArray(schema)) throw new Error("ajv implementation error")
- valid = and(isString, or(...schema.map((value: string) => _`${data} === ${value}`)))
- if (parentSchema.nullable) valid = or(_`${data} === null`, valid)
- }
- cxt.pass(valid)
-
- function loopEnum(): void {
- gen.forOf("v", schemaValue as Code, (v) =>
- gen.if(_`${valid} = ${data} === ${v}`, () => gen.break())
- )
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/error.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/error.ts
deleted file mode 100644
index 50693225..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/error.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import type {KeywordErrorDefinition, KeywordErrorCxt, ErrorObject} from "../../types"
-import {_, Code} from "../../compile/codegen"
-
-export type _JTDTypeError<K extends string, T extends string, S> = ErrorObject<
- K,
- {type: T; nullable: boolean},
- S
->
-
-export function typeError(t: string): KeywordErrorDefinition {
- return {
- message: (cxt) => typeErrorMessage(cxt, t),
- params: (cxt) => typeErrorParams(cxt, t),
- }
-}
-
-export function typeErrorMessage({parentSchema}: KeywordErrorCxt, t: string): string {
- return parentSchema?.nullable ? `must be ${t} or null` : `must be ${t}`
-}
-
-export function typeErrorParams({parentSchema}: KeywordErrorCxt, t: string): Code {
- return _`{type: ${t}, nullable: ${!!parentSchema?.nullable}}`
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/index.ts
deleted file mode 100644
index f7baebc3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/index.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import type {Vocabulary} from "../../types"
-import refKeyword from "./ref"
-import typeKeyword, {JTDTypeError} from "./type"
-import enumKeyword, {JTDEnumError} from "./enum"
-import elements, {JTDElementsError} from "./elements"
-import properties, {JTDPropertiesError} from "./properties"
-import optionalProperties from "./optionalProperties"
-import discriminator, {JTDDiscriminatorError} from "./discriminator"
-import values, {JTDValuesError} from "./values"
-import union from "./union"
-import metadata from "./metadata"
-
-const jtdVocabulary: Vocabulary = [
- "definitions",
- refKeyword,
- typeKeyword,
- enumKeyword,
- elements,
- properties,
- optionalProperties,
- discriminator,
- values,
- union,
- metadata,
- {keyword: "additionalProperties", schemaType: "boolean"},
- {keyword: "nullable", schemaType: "boolean"},
-]
-
-export default jtdVocabulary
-
-export type JTDErrorObject =
- | JTDTypeError
- | JTDEnumError
- | JTDElementsError
- | JTDPropertiesError
- | JTDDiscriminatorError
- | JTDValuesError
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/metadata.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/metadata.ts
deleted file mode 100644
index 19eeb8c7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/metadata.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import {KeywordCxt} from "../../ajv"
-import type {CodeKeywordDefinition} from "../../types"
-import {alwaysValidSchema} from "../../compile/util"
-
-const def: CodeKeywordDefinition = {
- keyword: "metadata",
- schemaType: "object",
- code(cxt: KeywordCxt) {
- checkMetadata(cxt)
- const {gen, schema, it} = cxt
- if (alwaysValidSchema(it, schema)) return
- const valid = gen.name("valid")
- cxt.subschema({keyword: "metadata", jtdMetadata: true}, valid)
- cxt.ok(valid)
- },
-}
-
-export function checkMetadata({it, keyword}: KeywordCxt, metadata?: boolean): void {
- if (it.jtdMetadata !== metadata) {
- throw new Error(`JTD: "${keyword}" cannot be used in this schema location`)
- }
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/nullable.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/nullable.ts
deleted file mode 100644
index c74b05da..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/nullable.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import type {KeywordCxt} from "../../compile/validate"
-import {_, not, nil, Code, Name} from "../../compile/codegen"
-
-export function checkNullable(
- {gen, data, parentSchema}: KeywordCxt,
- cond: Code = nil
-): [Name, Code] {
- const valid = gen.name("valid")
- if (parentSchema.nullable) {
- gen.let(valid, _`${data} === null`)
- cond = not(valid)
- } else {
- gen.let(valid, false)
- }
- return [valid, cond]
-}
-
-export function checkNullableObject(cxt: KeywordCxt, cond: Code): [Name, Code] {
- const [valid, cond_] = checkNullable(cxt, cond)
- return [valid, _`${cond_} && typeof ${cxt.data} == "object" && !Array.isArray(${cxt.data})`]
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts
deleted file mode 100644
index 8e91c8d9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {validateProperties, error} from "./properties"
-
-const def: CodeKeywordDefinition = {
- keyword: "optionalProperties",
- schemaType: "object",
- error,
- code(cxt: KeywordCxt) {
- if (cxt.parentSchema.properties) return
- validateProperties(cxt)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/properties.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/properties.ts
deleted file mode 100644
index 728c0b92..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/properties.ts
+++ /dev/null
@@ -1,177 +0,0 @@
-import type {
- CodeKeywordDefinition,
- ErrorObject,
- KeywordErrorDefinition,
- SchemaObject,
-} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {propertyInData, allSchemaProperties, isOwnProperty} from "../code"
-import {alwaysValidSchema, schemaRefOrVal} from "../../compile/util"
-import {_, and, not, Code, Name} from "../../compile/codegen"
-import {checkMetadata} from "./metadata"
-import {checkNullableObject} from "./nullable"
-import {typeErrorMessage, typeErrorParams, _JTDTypeError} from "./error"
-
-enum PropError {
- Additional = "additional",
- Missing = "missing",
-}
-
-type PropKeyword = "properties" | "optionalProperties"
-
-type PropSchema = {[P in string]?: SchemaObject}
-
-export type JTDPropertiesError =
- | _JTDTypeError<PropKeyword, "object", PropSchema>
- | ErrorObject<PropKeyword, {error: PropError.Additional; additionalProperty: string}, PropSchema>
- | ErrorObject<PropKeyword, {error: PropError.Missing; missingProperty: string}, PropSchema>
-
-export const error: KeywordErrorDefinition = {
- message: (cxt) => {
- const {params} = cxt
- return params.propError
- ? params.propError === PropError.Additional
- ? "must NOT have additional properties"
- : `must have property '${params.missingProperty}'`
- : typeErrorMessage(cxt, "object")
- },
- params: (cxt) => {
- const {params} = cxt
- return params.propError
- ? params.propError === PropError.Additional
- ? _`{error: ${params.propError}, additionalProperty: ${params.additionalProperty}}`
- : _`{error: ${params.propError}, missingProperty: ${params.missingProperty}}`
- : typeErrorParams(cxt, "object")
- },
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "properties",
- schemaType: "object",
- error,
- code: validateProperties,
-}
-
-// const error: KeywordErrorDefinition = {
-// message: "should NOT have additional properties",
-// params: ({params}) => _`{additionalProperty: ${params.additionalProperty}}`,
-// }
-
-export function validateProperties(cxt: KeywordCxt): void {
- checkMetadata(cxt)
- const {gen, data, parentSchema, it} = cxt
- const {additionalProperties, nullable} = parentSchema
- if (it.jtdDiscriminator && nullable) throw new Error("JTD: nullable inside discriminator mapping")
- if (commonProperties()) {
- throw new Error("JTD: properties and optionalProperties have common members")
- }
- const [allProps, properties] = schemaProperties("properties")
- const [allOptProps, optProperties] = schemaProperties("optionalProperties")
- if (properties.length === 0 && optProperties.length === 0 && additionalProperties) {
- return
- }
-
- const [valid, cond] =
- it.jtdDiscriminator === undefined
- ? checkNullableObject(cxt, data)
- : [gen.let("valid", false), true]
- gen.if(cond, () =>
- gen.assign(valid, true).block(() => {
- validateProps(properties, "properties", true)
- validateProps(optProperties, "optionalProperties")
- if (!additionalProperties) validateAdditional()
- })
- )
- cxt.pass(valid)
-
- function commonProperties(): boolean {
- const props = parentSchema.properties as Record<string, any> | undefined
- const optProps = parentSchema.optionalProperties as Record<string, any> | undefined
- if (!(props && optProps)) return false
- for (const p in props) {
- if (Object.prototype.hasOwnProperty.call(optProps, p)) return true
- }
- return false
- }
-
- function schemaProperties(keyword: string): [string[], string[]] {
- const schema = parentSchema[keyword]
- const allPs = schema ? allSchemaProperties(schema) : []
- if (it.jtdDiscriminator && allPs.some((p) => p === it.jtdDiscriminator)) {
- throw new Error(`JTD: discriminator tag used in ${keyword}`)
- }
- const ps = allPs.filter((p) => !alwaysValidSchema(it, schema[p]))
- return [allPs, ps]
- }
-
- function validateProps(props: string[], keyword: string, required?: boolean): void {
- const _valid = gen.var("valid")
- for (const prop of props) {
- gen.if(
- propertyInData(gen, data, prop, it.opts.ownProperties),
- () => applyPropertySchema(prop, keyword, _valid),
- () => missingProperty(prop)
- )
- cxt.ok(_valid)
- }
-
- function missingProperty(prop: string): void {
- if (required) {
- gen.assign(_valid, false)
- cxt.error(false, {propError: PropError.Missing, missingProperty: prop}, {schemaPath: prop})
- } else {
- gen.assign(_valid, true)
- }
- }
- }
-
- function applyPropertySchema(prop: string, keyword: string, _valid: Name): void {
- cxt.subschema(
- {
- keyword,
- schemaProp: prop,
- dataProp: prop,
- },
- _valid
- )
- }
-
- function validateAdditional(): void {
- gen.forIn("key", data, (key: Name) => {
- const _allProps =
- it.jtdDiscriminator === undefined ? allProps : [it.jtdDiscriminator].concat(allProps)
- const addProp = isAdditional(key, _allProps, "properties")
- const addOptProp = isAdditional(key, allOptProps, "optionalProperties")
- const extra =
- addProp === true ? addOptProp : addOptProp === true ? addProp : and(addProp, addOptProp)
- gen.if(extra, () => {
- if (it.opts.removeAdditional) {
- gen.code(_`delete ${data}[${key}]`)
- } else {
- cxt.error(
- false,
- {propError: PropError.Additional, additionalProperty: key},
- {instancePath: key, parentSchema: true}
- )
- if (!it.opts.allErrors) gen.break()
- }
- })
- })
- }
-
- function isAdditional(key: Name, props: string[], keyword: string): Code | true {
- let additional: Code | boolean
- if (props.length > 8) {
- // TODO maybe an option instead of hard-coded 8?
- const propsSchema = schemaRefOrVal(it, parentSchema[keyword], keyword)
- additional = not(isOwnProperty(gen, propsSchema as Code, key))
- } else if (props.length) {
- additional = and(...props.map((p) => _`${key} !== ${p}`))
- } else {
- additional = true
- }
- return additional
- }
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/ref.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/ref.ts
deleted file mode 100644
index 0731b1f6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/ref.ts
+++ /dev/null
@@ -1,74 +0,0 @@
-import type {CodeKeywordDefinition, AnySchemaObject} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {compileSchema, SchemaEnv} from "../../compile"
-import {_, not, nil, stringify} from "../../compile/codegen"
-import MissingRefError from "../../compile/ref_error"
-import N from "../../compile/names"
-import {getValidate, callRef} from "../core/ref"
-import {checkMetadata} from "./metadata"
-
-const def: CodeKeywordDefinition = {
- keyword: "ref",
- schemaType: "string",
- code(cxt: KeywordCxt) {
- checkMetadata(cxt)
- const {gen, data, schema: ref, parentSchema, it} = cxt
- const {
- schemaEnv: {root},
- } = it
- const valid = gen.name("valid")
- if (parentSchema.nullable) {
- gen.var(valid, _`${data} === null`)
- gen.if(not(valid), validateJtdRef)
- } else {
- gen.var(valid, false)
- validateJtdRef()
- }
- cxt.ok(valid)
-
- function validateJtdRef(): void {
- const refSchema = (root.schema as AnySchemaObject).definitions?.[ref]
- if (!refSchema) throw new MissingRefError("", ref, `No definition ${ref}`)
- if (hasRef(refSchema) || !it.opts.inlineRefs) callValidate(refSchema)
- else inlineRefSchema(refSchema)
- }
-
- function callValidate(schema: AnySchemaObject): void {
- const sch = compileSchema.call(
- it.self,
- new SchemaEnv({schema, root, schemaPath: `/definitions/${ref}`})
- )
- const v = getValidate(cxt, sch)
- const errsCount = gen.const("_errs", N.errors)
- callRef(cxt, v, sch, sch.$async)
- gen.assign(valid, _`${errsCount} === ${N.errors}`)
- }
-
- function inlineRefSchema(schema: AnySchemaObject): void {
- const schName = gen.scopeValue(
- "schema",
- it.opts.code.source === true ? {ref: schema, code: stringify(schema)} : {ref: schema}
- )
- cxt.subschema(
- {
- schema,
- dataTypes: [],
- schemaPath: nil,
- topSchemaRef: schName,
- errSchemaPath: `/definitions/${ref}`,
- },
- valid
- )
- }
- },
-}
-
-export function hasRef(schema: AnySchemaObject): boolean {
- for (const key in schema) {
- let sch: AnySchemaObject
- if (key === "ref" || (typeof (sch = schema[key]) == "object" && hasRef(sch))) return true
- }
- return false
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/type.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/type.ts
deleted file mode 100644
index 17274300..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/type.ts
+++ /dev/null
@@ -1,75 +0,0 @@
-import type {CodeKeywordDefinition, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, nil, or, Code} from "../../compile/codegen"
-import validTimestamp from "../../runtime/timestamp"
-import {useFunc} from "../../compile/util"
-import {checkMetadata} from "./metadata"
-import {typeErrorMessage, typeErrorParams, _JTDTypeError} from "./error"
-
-export type JTDTypeError = _JTDTypeError<"type", JTDType, JTDType>
-
-export type IntType = "int8" | "uint8" | "int16" | "uint16" | "int32" | "uint32"
-
-export const intRange: {[T in IntType]: [number, number, number]} = {
- int8: [-128, 127, 3],
- uint8: [0, 255, 3],
- int16: [-32768, 32767, 5],
- uint16: [0, 65535, 5],
- int32: [-2147483648, 2147483647, 10],
- uint32: [0, 4294967295, 10],
-}
-
-export type JTDType = "boolean" | "string" | "timestamp" | "float32" | "float64" | IntType
-
-const error: KeywordErrorDefinition = {
- message: (cxt) => typeErrorMessage(cxt, cxt.schema),
- params: (cxt) => typeErrorParams(cxt, cxt.schema),
-}
-
-function timestampCode(cxt: KeywordCxt): Code {
- const {gen, data, it} = cxt
- const {timestamp, allowDate} = it.opts
- if (timestamp === "date") return _`${data} instanceof Date `
- const vts = useFunc(gen, validTimestamp)
- const allowDateArg = allowDate ? _`, true` : nil
- const validString = _`typeof ${data} == "string" && ${vts}(${data}${allowDateArg})`
- return timestamp === "string" ? validString : or(_`${data} instanceof Date`, validString)
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "type",
- schemaType: "string",
- error,
- code(cxt: KeywordCxt) {
- checkMetadata(cxt)
- const {data, schema, parentSchema, it} = cxt
- let cond: Code
- switch (schema) {
- case "boolean":
- case "string":
- cond = _`typeof ${data} == ${schema}`
- break
- case "timestamp": {
- cond = timestampCode(cxt)
- break
- }
- case "float32":
- case "float64":
- cond = _`typeof ${data} == "number"`
- break
- default: {
- const sch = schema as IntType
- cond = _`typeof ${data} == "number" && isFinite(${data}) && !(${data} % 1)`
- if (!it.opts.int32range && (sch === "int32" || sch === "uint32")) {
- if (sch === "uint32") cond = _`${cond} && ${data} >= 0`
- } else {
- const [min, max] = intRange[sch]
- cond = _`${cond} && ${data} >= ${min} && ${data} <= ${max}`
- }
- }
- }
- cxt.pass(parentSchema.nullable ? or(_`${data} === null`, cond) : cond)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/union.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/union.ts
deleted file mode 100644
index 588f07ab..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/union.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import {validateUnion} from "../code"
-
-const def: CodeKeywordDefinition = {
- keyword: "union",
- schemaType: "array",
- trackErrors: true,
- code: validateUnion,
- error: {message: "must match a schema in union"},
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/values.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/values.ts
deleted file mode 100644
index 86091b8c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/jtd/values.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-import type {CodeKeywordDefinition, SchemaObject} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {alwaysValidSchema, Type} from "../../compile/util"
-import {not, Name} from "../../compile/codegen"
-import {checkMetadata} from "./metadata"
-import {checkNullableObject} from "./nullable"
-import {typeError, _JTDTypeError} from "./error"
-
-export type JTDValuesError = _JTDTypeError<"values", "object", SchemaObject>
-
-const def: CodeKeywordDefinition = {
- keyword: "values",
- schemaType: "object",
- error: typeError("object"),
- code(cxt: KeywordCxt) {
- checkMetadata(cxt)
- const {gen, data, schema, it} = cxt
- if (alwaysValidSchema(it, schema)) return
- const [valid, cond] = checkNullableObject(cxt, data)
- gen.if(cond)
- gen.assign(valid, validateMap())
- gen.elseIf(not(valid))
- cxt.error()
- gen.endIf()
- cxt.ok(valid)
-
- function validateMap(): Name | boolean {
- const _valid = gen.name("valid")
- if (it.allErrors) {
- const validMap = gen.let("valid", true)
- validateValues(() => gen.assign(validMap, false))
- return validMap
- }
- gen.var(_valid, true)
- validateValues(() => gen.break())
- return _valid
-
- function validateValues(notValid: () => void): void {
- gen.forIn("key", data, (key) => {
- cxt.subschema(
- {
- keyword: "values",
- dataProp: key,
- dataPropType: Type.Str,
- },
- _valid
- )
- gen.if(not(_valid), notValid)
- })
- }
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/metadata.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/metadata.ts
deleted file mode 100644
index b9d5af85..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/metadata.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type {Vocabulary} from "../types"
-
-export const metadataVocabulary: Vocabulary = [
- "title",
- "description",
- "default",
- "deprecated",
- "readOnly",
- "writeOnly",
- "examples",
-]
-
-export const contentVocabulary: Vocabulary = [
- "contentMediaType",
- "contentEncoding",
- "contentSchema",
-]
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/next.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/next.ts
deleted file mode 100644
index 1e987ad2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/next.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type {Vocabulary} from "../types"
-import dependentRequired from "./validation/dependentRequired"
-import dependentSchemas from "./applicator/dependentSchemas"
-import limitContains from "./validation/limitContains"
-
-const next: Vocabulary = [dependentRequired, dependentSchemas, limitContains]
-
-export default next
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/index.ts
deleted file mode 100644
index f7f0815d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/index.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import type {Vocabulary} from "../../types"
-import unevaluatedProperties from "./unevaluatedProperties"
-import unevaluatedItems from "./unevaluatedItems"
-
-const unevaluated: Vocabulary = [unevaluatedProperties, unevaluatedItems]
-
-export default unevaluated
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts
deleted file mode 100644
index 50bf0e7c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-import type {
- CodeKeywordDefinition,
- ErrorObject,
- KeywordErrorDefinition,
- AnySchema,
-} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str, not, Name} from "../../compile/codegen"
-import {alwaysValidSchema, Type} from "../../compile/util"
-
-export type UnevaluatedItemsError = ErrorObject<"unevaluatedItems", {limit: number}, AnySchema>
-
-const error: KeywordErrorDefinition = {
- message: ({params: {len}}) => str`must NOT have more than ${len} items`,
- params: ({params: {len}}) => _`{limit: ${len}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "unevaluatedItems",
- type: "array",
- schemaType: ["boolean", "object"],
- error,
- code(cxt: KeywordCxt) {
- const {gen, schema, data, it} = cxt
- const items = it.items || 0
- if (items === true) return
- const len = gen.const("len", _`${data}.length`)
- if (schema === false) {
- cxt.setParams({len: items})
- cxt.fail(_`${len} > ${items}`)
- } else if (typeof schema == "object" && !alwaysValidSchema(it, schema)) {
- const valid = gen.var("valid", _`${len} <= ${items}`)
- gen.if(not(valid), () => validateItems(valid, items))
- cxt.ok(valid)
- }
- it.items = true
-
- function validateItems(valid: Name, from: Name | number): void {
- gen.forRange("i", from, len, (i) => {
- cxt.subschema({keyword: "unevaluatedItems", dataProp: i, dataPropType: Type.Num}, valid)
- if (!it.allErrors) gen.if(not(valid), () => gen.break())
- })
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts
deleted file mode 100644
index 0e6868fa..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts
+++ /dev/null
@@ -1,85 +0,0 @@
-import type {
- CodeKeywordDefinition,
- KeywordErrorDefinition,
- ErrorObject,
- AnySchema,
-} from "../../types"
-import {_, not, and, Name, Code} from "../../compile/codegen"
-import {alwaysValidSchema, Type} from "../../compile/util"
-import N from "../../compile/names"
-
-export type UnevaluatedPropertiesError = ErrorObject<
- "unevaluatedProperties",
- {unevaluatedProperty: string},
- AnySchema
->
-
-const error: KeywordErrorDefinition = {
- message: "must NOT have unevaluated properties",
- params: ({params}) => _`{unevaluatedProperty: ${params.unevaluatedProperty}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "unevaluatedProperties",
- type: "object",
- schemaType: ["boolean", "object"],
- trackErrors: true,
- error,
- code(cxt) {
- const {gen, schema, data, errsCount, it} = cxt
- /* istanbul ignore if */
- if (!errsCount) throw new Error("ajv implementation error")
- const {allErrors, props} = it
- if (props instanceof Name) {
- gen.if(_`${props} !== true`, () =>
- gen.forIn("key", data, (key: Name) =>
- gen.if(unevaluatedDynamic(props, key), () => unevaluatedPropCode(key))
- )
- )
- } else if (props !== true) {
- gen.forIn("key", data, (key: Name) =>
- props === undefined
- ? unevaluatedPropCode(key)
- : gen.if(unevaluatedStatic(props, key), () => unevaluatedPropCode(key))
- )
- }
- it.props = true
- cxt.ok(_`${errsCount} === ${N.errors}`)
-
- function unevaluatedPropCode(key: Name): void {
- if (schema === false) {
- cxt.setParams({unevaluatedProperty: key})
- cxt.error()
- if (!allErrors) gen.break()
- return
- }
-
- if (!alwaysValidSchema(it, schema)) {
- const valid = gen.name("valid")
- cxt.subschema(
- {
- keyword: "unevaluatedProperties",
- dataProp: key,
- dataPropType: Type.Str,
- },
- valid
- )
- if (!allErrors) gen.if(not(valid), () => gen.break())
- }
- }
-
- function unevaluatedDynamic(evaluatedProps: Name, key: Name): Code {
- return _`!${evaluatedProps} || !${evaluatedProps}[${key}]`
- }
-
- function unevaluatedStatic(evaluatedProps: {[K in string]?: true}, key: Name): Code {
- const ps: Code[] = []
- for (const p in evaluatedProps) {
- if (evaluatedProps[p] === true) ps.push(_`${key} !== ${p}`)
- }
- return and(...ps)
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/const.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/const.ts
deleted file mode 100644
index a3b94a5d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/const.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_} from "../../compile/codegen"
-import {useFunc} from "../../compile/util"
-import equal from "../../runtime/equal"
-
-export type ConstError = ErrorObject<"const", {allowedValue: any}>
-
-const error: KeywordErrorDefinition = {
- message: "must be equal to constant",
- params: ({schemaCode}) => _`{allowedValue: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "const",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {gen, data, $data, schemaCode, schema} = cxt
- if ($data || (schema && typeof schema == "object")) {
- cxt.fail$data(_`!${useFunc(gen, equal)}(${data}, ${schemaCode})`)
- } else {
- cxt.fail(_`${schema} !== ${data}`)
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts
deleted file mode 100644
index 4c616cfa..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import type {CodeKeywordDefinition, ErrorObject} from "../../types"
-import {
- validatePropertyDeps,
- error,
- DependenciesErrorParams,
- PropertyDependencies,
-} from "../applicator/dependencies"
-
-export type DependentRequiredError = ErrorObject<
- "dependentRequired",
- DependenciesErrorParams,
- PropertyDependencies
->
-
-const def: CodeKeywordDefinition = {
- keyword: "dependentRequired",
- type: "object",
- schemaType: "object",
- error,
- code: (cxt) => validatePropertyDeps(cxt),
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/enum.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/enum.ts
deleted file mode 100644
index fa85373c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/enum.ts
+++ /dev/null
@@ -1,52 +0,0 @@
-import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, or, Name, Code} from "../../compile/codegen"
-import {useFunc} from "../../compile/util"
-import equal from "../../runtime/equal"
-
-export type EnumError = ErrorObject<"enum", {allowedValues: any[]}, any[] | {$data: string}>
-
-const error: KeywordErrorDefinition = {
- message: "must be equal to one of the allowed values",
- params: ({schemaCode}) => _`{allowedValues: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "enum",
- schemaType: "array",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {gen, data, $data, schema, schemaCode, it} = cxt
- if (!$data && schema.length === 0) throw new Error("enum must have non-empty array")
- const useLoop = schema.length >= it.opts.loopEnum
- const eql = useFunc(gen, equal)
- let valid: Code
- if (useLoop || $data) {
- valid = gen.let("valid")
- cxt.block$data(valid, loopEnum)
- } else {
- /* istanbul ignore if */
- if (!Array.isArray(schema)) throw new Error("ajv implementation error")
- const vSchema = gen.const("vSchema", schemaCode)
- valid = or(...schema.map((_x: unknown, i: number) => equalCode(vSchema, i)))
- }
- cxt.pass(valid)
-
- function loopEnum(): void {
- gen.assign(valid, false)
- gen.forOf("v", schemaCode as Code, (v) =>
- gen.if(_`${eql}(${data}, ${v})`, () => gen.assign(valid, true).break())
- )
- }
-
- function equalCode(vSchema: Name, i: number): Code {
- const sch = schema[i]
- return typeof sch === "object" && sch !== null
- ? _`${eql}(${data}, ${vSchema}[${i}])`
- : _`${data} === ${sch}`
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/index.ts
deleted file mode 100644
index 3531b196..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/index.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-import type {ErrorObject, Vocabulary} from "../../types"
-import limitNumber, {LimitNumberError} from "./limitNumber"
-import multipleOf, {MultipleOfError} from "./multipleOf"
-import limitLength from "./limitLength"
-import pattern, {PatternError} from "./pattern"
-import limitProperties from "./limitProperties"
-import required, {RequiredError} from "./required"
-import limitItems from "./limitItems"
-import uniqueItems, {UniqueItemsError} from "./uniqueItems"
-import constKeyword, {ConstError} from "./const"
-import enumKeyword, {EnumError} from "./enum"
-
-const validation: Vocabulary = [
- // number
- limitNumber,
- multipleOf,
- // string
- limitLength,
- pattern,
- // object
- limitProperties,
- required,
- // array
- limitItems,
- uniqueItems,
- // any
- {keyword: "type", schemaType: ["string", "array"]},
- {keyword: "nullable", schemaType: "boolean"},
- constKeyword,
- enumKeyword,
-]
-
-export default validation
-
-type LimitError = ErrorObject<
- "maxItems" | "minItems" | "minProperties" | "maxProperties" | "minLength" | "maxLength",
- {limit: number},
- number | {$data: string}
->
-
-export type ValidationKeywordError =
- | LimitError
- | LimitNumberError
- | MultipleOfError
- | PatternError
- | RequiredError
- | UniqueItemsError
- | ConstError
- | EnumError
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitContains.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitContains.ts
deleted file mode 100644
index 8bb43c1a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitContains.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import type {CodeKeywordDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {checkStrictMode} from "../../compile/util"
-
-const def: CodeKeywordDefinition = {
- keyword: ["maxContains", "minContains"],
- type: "array",
- schemaType: "number",
- code({keyword, parentSchema, it}: KeywordCxt) {
- if (parentSchema.contains === undefined) {
- checkStrictMode(it, `"${keyword}" without "contains" is ignored`)
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitItems.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitItems.ts
deleted file mode 100644
index 566de858..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitItems.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import type {CodeKeywordDefinition, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str, operators} from "../../compile/codegen"
-
-const error: KeywordErrorDefinition = {
- message({keyword, schemaCode}) {
- const comp = keyword === "maxItems" ? "more" : "fewer"
- return str`must NOT have ${comp} than ${schemaCode} items`
- },
- params: ({schemaCode}) => _`{limit: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: ["maxItems", "minItems"],
- type: "array",
- schemaType: "number",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {keyword, data, schemaCode} = cxt
- const op = keyword === "maxItems" ? operators.GT : operators.LT
- cxt.fail$data(_`${data}.length ${op} ${schemaCode}`)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitLength.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitLength.ts
deleted file mode 100644
index f4f94725..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitLength.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import type {CodeKeywordDefinition, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str, operators} from "../../compile/codegen"
-import {useFunc} from "../../compile/util"
-import ucs2length from "../../runtime/ucs2length"
-
-const error: KeywordErrorDefinition = {
- message({keyword, schemaCode}) {
- const comp = keyword === "maxLength" ? "more" : "fewer"
- return str`must NOT have ${comp} than ${schemaCode} characters`
- },
- params: ({schemaCode}) => _`{limit: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: ["maxLength", "minLength"],
- type: "string",
- schemaType: "number",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {keyword, data, schemaCode, it} = cxt
- const op = keyword === "maxLength" ? operators.GT : operators.LT
- const len =
- it.opts.unicode === false ? _`${data}.length` : _`${useFunc(cxt.gen, ucs2length)}(${data})`
- cxt.fail$data(_`${len} ${op} ${schemaCode}`)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts
deleted file mode 100644
index 5499202e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str, operators, Code} from "../../compile/codegen"
-
-const ops = operators
-
-type Kwd = "maximum" | "minimum" | "exclusiveMaximum" | "exclusiveMinimum"
-
-type Comparison = "<=" | ">=" | "<" | ">"
-
-const KWDs: {[K in Kwd]: {okStr: Comparison; ok: Code; fail: Code}} = {
- maximum: {okStr: "<=", ok: ops.LTE, fail: ops.GT},
- minimum: {okStr: ">=", ok: ops.GTE, fail: ops.LT},
- exclusiveMaximum: {okStr: "<", ok: ops.LT, fail: ops.GTE},
- exclusiveMinimum: {okStr: ">", ok: ops.GT, fail: ops.LTE},
-}
-
-export type LimitNumberError = ErrorObject<
- Kwd,
- {limit: number; comparison: Comparison},
- number | {$data: string}
->
-
-const error: KeywordErrorDefinition = {
- message: ({keyword, schemaCode}) => str`must be ${KWDs[keyword as Kwd].okStr} ${schemaCode}`,
- params: ({keyword, schemaCode}) =>
- _`{comparison: ${KWDs[keyword as Kwd].okStr}, limit: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: Object.keys(KWDs),
- type: "number",
- schemaType: "number",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {keyword, data, schemaCode} = cxt
- cxt.fail$data(_`${data} ${KWDs[keyword as Kwd].fail} ${schemaCode} || isNaN(${data})`)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts
deleted file mode 100644
index e72124a7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import type {CodeKeywordDefinition, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str, operators} from "../../compile/codegen"
-
-const error: KeywordErrorDefinition = {
- message({keyword, schemaCode}) {
- const comp = keyword === "maxProperties" ? "more" : "fewer"
- return str`must NOT have ${comp} than ${schemaCode} items`
- },
- params: ({schemaCode}) => _`{limit: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: ["maxProperties", "minProperties"],
- type: "object",
- schemaType: "number",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {keyword, data, schemaCode} = cxt
- const op = keyword === "maxProperties" ? operators.GT : operators.LT
- cxt.fail$data(_`Object.keys(${data}).length ${op} ${schemaCode}`)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts
deleted file mode 100644
index 1fd79abb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {_, str} from "../../compile/codegen"
-
-export type MultipleOfError = ErrorObject<
- "multipleOf",
- {multipleOf: number},
- number | {$data: string}
->
-
-const error: KeywordErrorDefinition = {
- message: ({schemaCode}) => str`must be multiple of ${schemaCode}`,
- params: ({schemaCode}) => _`{multipleOf: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "multipleOf",
- type: "number",
- schemaType: "number",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {gen, data, schemaCode, it} = cxt
- // const bdt = bad$DataType(schemaCode, <string>def.schemaType, $data)
- const prec = it.opts.multipleOfPrecision
- const res = gen.let("res")
- const invalid = prec
- ? _`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}`
- : _`${res} !== parseInt(${res})`
- cxt.fail$data(_`(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/pattern.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/pattern.ts
deleted file mode 100644
index 7b27b7d3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/pattern.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {usePattern} from "../code"
-import {_, str} from "../../compile/codegen"
-
-export type PatternError = ErrorObject<"pattern", {pattern: string}, string | {$data: string}>
-
-const error: KeywordErrorDefinition = {
- message: ({schemaCode}) => str`must match pattern "${schemaCode}"`,
- params: ({schemaCode}) => _`{pattern: ${schemaCode}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "pattern",
- type: "string",
- schemaType: "string",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {data, $data, schema, schemaCode, it} = cxt
- // TODO regexp should be wrapped in try/catchs
- const u = it.opts.unicodeRegExp ? "u" : ""
- const regExp = $data ? _`(new RegExp(${schemaCode}, ${u}))` : usePattern(cxt, schema)
- cxt.fail$data(_`!${regExp}.test(${data})`)
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/required.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/required.ts
deleted file mode 100644
index fea7367e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/required.ts
+++ /dev/null
@@ -1,98 +0,0 @@
-import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {
- checkReportMissingProp,
- checkMissingProp,
- reportMissingProp,
- propertyInData,
- noPropertyInData,
-} from "../code"
-import {_, str, nil, not, Name, Code} from "../../compile/codegen"
-import {checkStrictMode} from "../../compile/util"
-
-export type RequiredError = ErrorObject<
- "required",
- {missingProperty: string},
- string[] | {$data: string}
->
-
-const error: KeywordErrorDefinition = {
- message: ({params: {missingProperty}}) => str`must have required property '${missingProperty}'`,
- params: ({params: {missingProperty}}) => _`{missingProperty: ${missingProperty}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "required",
- type: "object",
- schemaType: "array",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {gen, schema, schemaCode, data, $data, it} = cxt
- const {opts} = it
- if (!$data && schema.length === 0) return
- const useLoop = schema.length >= opts.loopRequired
- if (it.allErrors) allErrorsMode()
- else exitOnErrorMode()
-
- if (opts.strictRequired) {
- const props = cxt.parentSchema.properties
- const {definedProperties} = cxt.it
- for (const requiredKey of schema) {
- if (props?.[requiredKey] === undefined && !definedProperties.has(requiredKey)) {
- const schemaPath = it.schemaEnv.baseId + it.errSchemaPath
- const msg = `required property "${requiredKey}" is not defined at "${schemaPath}" (strictRequired)`
- checkStrictMode(it, msg, it.opts.strictRequired)
- }
- }
- }
-
- function allErrorsMode(): void {
- if (useLoop || $data) {
- cxt.block$data(nil, loopAllRequired)
- } else {
- for (const prop of schema) {
- checkReportMissingProp(cxt, prop)
- }
- }
- }
-
- function exitOnErrorMode(): void {
- const missing = gen.let("missing")
- if (useLoop || $data) {
- const valid = gen.let("valid", true)
- cxt.block$data(valid, () => loopUntilMissing(missing, valid))
- cxt.ok(valid)
- } else {
- gen.if(checkMissingProp(cxt, schema, missing))
- reportMissingProp(cxt, missing)
- gen.else()
- }
- }
-
- function loopAllRequired(): void {
- gen.forOf("prop", schemaCode as Code, (prop) => {
- cxt.setParams({missingProperty: prop})
- gen.if(noPropertyInData(gen, data, prop, opts.ownProperties), () => cxt.error())
- })
- }
-
- function loopUntilMissing(missing: Name, valid: Name): void {
- cxt.setParams({missingProperty: missing})
- gen.forOf(
- missing,
- schemaCode as Code,
- () => {
- gen.assign(valid, propertyInData(gen, data, missing, opts.ownProperties))
- gen.if(not(valid), () => {
- cxt.error()
- gen.break()
- })
- },
- nil
- )
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts
deleted file mode 100644
index 765c4d04..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
-import type {KeywordCxt} from "../../compile/validate"
-import {checkDataTypes, getSchemaTypes, DataType} from "../../compile/validate/dataType"
-import {_, str, Name} from "../../compile/codegen"
-import {useFunc} from "../../compile/util"
-import equal from "../../runtime/equal"
-
-export type UniqueItemsError = ErrorObject<
- "uniqueItems",
- {i: number; j: number},
- boolean | {$data: string}
->
-
-const error: KeywordErrorDefinition = {
- message: ({params: {i, j}}) =>
- str`must NOT have duplicate items (items ## ${j} and ${i} are identical)`,
- params: ({params: {i, j}}) => _`{i: ${i}, j: ${j}}`,
-}
-
-const def: CodeKeywordDefinition = {
- keyword: "uniqueItems",
- type: "array",
- schemaType: "boolean",
- $data: true,
- error,
- code(cxt: KeywordCxt) {
- const {gen, data, $data, schema, parentSchema, schemaCode, it} = cxt
- if (!$data && !schema) return
- const valid = gen.let("valid")
- const itemTypes = parentSchema.items ? getSchemaTypes(parentSchema.items) : []
- cxt.block$data(valid, validateUniqueItems, _`${schemaCode} === false`)
- cxt.ok(valid)
-
- function validateUniqueItems(): void {
- const i = gen.let("i", _`${data}.length`)
- const j = gen.let("j")
- cxt.setParams({i, j})
- gen.assign(valid, true)
- gen.if(_`${i} > 1`, () => (canOptimize() ? loopN : loopN2)(i, j))
- }
-
- function canOptimize(): boolean {
- return itemTypes.length > 0 && !itemTypes.some((t) => t === "object" || t === "array")
- }
-
- function loopN(i: Name, j: Name): void {
- const item = gen.name("item")
- const wrongType = checkDataTypes(itemTypes, item, it.opts.strictNumbers, DataType.Wrong)
- const indices = gen.const("indices", _`{}`)
- gen.for(_`;${i}--;`, () => {
- gen.let(item, _`${data}[${i}]`)
- gen.if(wrongType, _`continue`)
- if (itemTypes.length > 1) gen.if(_`typeof ${item} == "string"`, _`${item} += "_"`)
- gen
- .if(_`typeof ${indices}[${item}] == "number"`, () => {
- gen.assign(j, _`${indices}[${item}]`)
- cxt.error()
- gen.assign(valid, false).break()
- })
- .code(_`${indices}[${item}] = ${i}`)
- })
- }
-
- function loopN2(i: Name, j: Name): void {
- const eql = useFunc(gen, equal)
- const outer = gen.name("outer")
- gen.label(outer).for(_`;${i}--;`, () =>
- gen.for(_`${j} = ${i}; ${j}--;`, () =>
- gen.if(_`${eql}(${data}[${i}], ${data}[${j}])`, () => {
- cxt.error()
- gen.assign(valid, false).break(outer)
- })
- )
- )
- }
- },
-}
-
-export default def
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/package.json b/sandbox/testAppNevena/Front/node_modules/ajv/package.json
deleted file mode 100644
index 6fa07f6c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/package.json
+++ /dev/null
@@ -1,125 +0,0 @@
-{
- "name": "ajv",
- "version": "8.9.0",
- "description": "Another JSON Schema Validator",
- "main": "dist/ajv.js",
- "types": "dist/ajv.d.ts",
- "files": [
- "lib/",
- "dist/",
- ".runkit_example.js"
- ],
- "scripts": {
- "eslint": "eslint \"lib/**/*.ts\" \"spec/**/*.*s\" --ignore-pattern spec/JSON-Schema-Test-Suite",
- "prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
- "prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"",
- "test-spec": "cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register \"spec/**/*.spec.{ts,js}\" -R dot",
- "test-codegen": "nyc cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register 'spec/codegen.spec.ts' -R spec",
- "test-debug": "npm run test-spec -- --inspect-brk",
- "test-cov": "nyc npm run test-spec",
- "rollup": "rm -rf bundle && rollup -c",
- "bundle": "rm -rf bundle && node ./scripts/bundle.js ajv ajv7 ajv7 && node ./scripts/bundle.js 2019 ajv2019 ajv2019 && node ./scripts/bundle.js 2020 ajv2020 ajv2020 && node ./scripts/bundle.js jtd ajvJTD ajvJTD",
- "build": "rm -rf dist && tsc && cp -r lib/refs dist && rm dist/refs/json-schema-2019-09/index.ts && rm dist/refs/json-schema-2020-12/index.ts && rm dist/refs/jtd-schema.ts",
- "json-tests": "rm -rf spec/_json/*.js && node scripts/jsontests",
- "test-karma": "karma start",
- "test-browser": "rm -rf .browser && npm run bundle && scripts/prepare-tests && karma start",
- "test-all": "npm run test-cov && if-node-version 12 npm run test-browser",
- "test": "npm run json-tests && npm run prettier:check && npm run eslint && npm link && npm link --legacy-peer-deps ajv && npm run test-cov",
- "test-ci": "AJV_FULL_TEST=true npm test",
- "prepublish": "npm run build",
- "benchmark": "npm i && npm run build && npm link && cd ./benchmark && npm link --legacy-peer-deps ajv && npm i && node ./jtd",
- "docs:dev": "./scripts/prepare-site && vuepress dev docs",
- "docs:build": "./scripts/prepare-site && vuepress build docs"
- },
- "nyc": {
- "exclude": [
- "**/spec/**",
- "node_modules"
- ],
- "reporter": [
- "lcov",
- "text-summary"
- ]
- },
- "repository": "ajv-validator/ajv",
- "keywords": [
- "JSON",
- "schema",
- "validator",
- "validation",
- "jsonschema",
- "json-schema",
- "json-schema-validator",
- "json-schema-validation"
- ],
- "author": "Evgeny Poberezkin",
- "license": "MIT",
- "bugs": "https://github.com/ajv-validator/ajv/issues",
- "homepage": "https://ajv.js.org",
- "runkitExampleFilename": ".runkit_example.js",
- "dependencies": {
- "fast-deep-equal": "^3.1.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2",
- "uri-js": "^4.2.2"
- },
- "devDependencies": {
- "@ajv-validator/config": "^0.3.0",
- "@rollup/plugin-commonjs": "^21.0.0",
- "@rollup/plugin-json": "^4.1.0",
- "@rollup/plugin-node-resolve": "^13.0.0",
- "@rollup/plugin-typescript": "^8.2.1",
- "@types/chai": "^4.2.12",
- "@types/mocha": "^9.0.0",
- "@types/node": "^17.0.0",
- "@types/require-from-string": "^1.2.0",
- "@typescript-eslint/eslint-plugin": "^3.8.0",
- "@typescript-eslint/parser": "^3.8.0",
- "ajv-formats": "^3.0.0-rc.0",
- "browserify": "^17.0.0",
- "chai": "^4.0.1",
- "cross-env": "^7.0.2",
- "dayjs": "^1.10.4",
- "dayjs-plugin-utc": "^0.1.2",
- "eslint": "^7.8.1",
- "eslint-config-prettier": "^7.0.0",
- "glob": "^7.0.0",
- "husky": "^7.0.1",
- "if-node-version": "^1.0.0",
- "jimp": "^0.16.1",
- "js-beautify": "^1.7.3",
- "json-schema-test": "^2.0.0",
- "karma": "^6.0.0",
- "karma-chrome-launcher": "^3.0.0",
- "karma-mocha": "^2.0.0",
- "lint-staged": "^12.1.1",
- "mocha": "^9.0.2",
- "module-from-string": "^3.1.3",
- "node-fetch": "^3.0.0",
- "nyc": "^15.0.0",
- "prettier": "^2.3.1",
- "re2": "^1.16.0",
- "rollup": "^2.44.0",
- "rollup-plugin-terser": "^7.0.2",
- "ts-node": "^10.0.0",
- "tsify": "^5.0.2",
- "typescript": "^4.2.0"
- },
- "collective": {
- "type": "opencollective",
- "url": "https://opencollective.com/ajv"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- },
- "prettier": "@ajv-validator/config/prettierrc.json",
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged && npm test"
- }
- },
- "lint-staged": {
- "*.{json,yaml,js,ts}": "prettier --write"
- }
-}