@contember/engine-content-api 2.2.0-alpha.2 → 2.2.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +25 -7
- package/dist/development/index.cjs +36 -0
- package/dist/development/index.cjs.map +1 -1
- package/dist/development/index.js +40 -4
- package/dist/development/index.js.map +1 -1
- package/dist/development/src/ExecutionContainer.cjs +18 -10
- package/dist/development/src/ExecutionContainer.cjs.map +1 -1
- package/dist/development/src/ExecutionContainer.js +18 -10
- package/dist/development/src/ExecutionContainer.js.map +1 -1
- package/dist/development/src/acl/AclScope.cjs +7 -0
- package/dist/development/src/acl/AclScope.cjs.map +1 -0
- package/dist/development/src/acl/AclScope.js +7 -0
- package/dist/development/src/acl/AclScope.js.map +1 -0
- package/dist/development/src/acl/Authorizator.cjs +6 -4
- package/dist/development/src/acl/Authorizator.cjs.map +1 -1
- package/dist/development/src/acl/Authorizator.js +6 -4
- package/dist/development/src/acl/Authorizator.js.map +1 -1
- package/dist/development/src/acl/EvaluatedPredicateReplacer.cjs +4 -1
- package/dist/development/src/acl/EvaluatedPredicateReplacer.cjs.map +1 -1
- package/dist/development/src/acl/EvaluatedPredicateReplacer.js +4 -1
- package/dist/development/src/acl/EvaluatedPredicateReplacer.js.map +1 -1
- package/dist/development/src/acl/PermissionFactory.cjs +57 -68
- package/dist/development/src/acl/PermissionFactory.cjs.map +1 -1
- package/dist/development/src/acl/PermissionFactory.js +58 -69
- package/dist/development/src/acl/PermissionFactory.js.map +1 -1
- package/dist/development/src/acl/PredicateFactory.cjs +95 -26
- package/dist/development/src/acl/PredicateFactory.cjs.map +1 -1
- package/dist/development/src/acl/PredicateFactory.js +95 -26
- package/dist/development/src/acl/PredicateFactory.js.map +1 -1
- package/dist/development/src/acl/PredicatesInjector.cjs +97 -99
- package/dist/development/src/acl/PredicatesInjector.cjs.map +1 -1
- package/dist/development/src/acl/PredicatesInjector.js +99 -101
- package/dist/development/src/acl/PredicatesInjector.js.map +1 -1
- package/dist/development/src/acl/VariableInjector.cjs +7 -2
- package/dist/development/src/acl/VariableInjector.cjs.map +1 -1
- package/dist/development/src/acl/VariableInjector.js +7 -2
- package/dist/development/src/acl/VariableInjector.js.map +1 -1
- package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.cjs +28 -2
- package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.cjs.map +1 -1
- package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.js +29 -3
- package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.js.map +1 -1
- package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.cjs +16 -1
- package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.cjs.map +1 -1
- package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.js +16 -1
- package/dist/development/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.js.map +1 -1
- package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.cjs +29 -3
- package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.cjs.map +1 -1
- package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.js +29 -3
- package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.js.map +1 -1
- package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.cjs +14 -0
- package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.cjs.map +1 -1
- package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.js +14 -0
- package/dist/development/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.js.map +1 -1
- package/dist/development/src/input-validation/ValidationDataSelector.cjs +2 -2
- package/dist/development/src/input-validation/ValidationDataSelector.cjs.map +1 -1
- package/dist/development/src/input-validation/ValidationDataSelector.js +2 -2
- package/dist/development/src/input-validation/ValidationDataSelector.js.map +1 -1
- package/dist/development/src/input-validation/preValidation/UpdateInputPreValidationProcessor.cjs +24 -3
- package/dist/development/src/input-validation/preValidation/UpdateInputPreValidationProcessor.cjs.map +1 -1
- package/dist/development/src/input-validation/preValidation/UpdateInputPreValidationProcessor.js +24 -3
- package/dist/development/src/input-validation/preValidation/UpdateInputPreValidationProcessor.js.map +1 -1
- package/dist/development/src/inputProcessing/UpdateInputVisitor.cjs +52 -2
- package/dist/development/src/inputProcessing/UpdateInputVisitor.cjs.map +1 -1
- package/dist/development/src/inputProcessing/UpdateInputVisitor.js +52 -2
- package/dist/development/src/inputProcessing/UpdateInputVisitor.js.map +1 -1
- package/dist/development/src/introspection/IntrospectionSchemaFactory.cjs +11 -6
- package/dist/development/src/introspection/IntrospectionSchemaFactory.cjs.map +1 -1
- package/dist/development/src/introspection/IntrospectionSchemaFactory.js +11 -6
- package/dist/development/src/introspection/IntrospectionSchemaFactory.js.map +1 -1
- package/dist/development/src/introspection/introspection.schema.cjs +2 -2
- package/dist/development/src/introspection/introspection.schema.cjs.map +1 -1
- package/dist/development/src/introspection/introspection.schema.js +2 -2
- package/dist/development/src/introspection/introspection.schema.js.map +1 -1
- package/dist/development/src/mapper/ErrorUtils.cjs +17 -1
- package/dist/development/src/mapper/ErrorUtils.cjs.map +1 -1
- package/dist/development/src/mapper/ErrorUtils.js +17 -1
- package/dist/development/src/mapper/ErrorUtils.js.map +1 -1
- package/dist/development/src/mapper/JunctionTableManager.cjs +18 -12
- package/dist/development/src/mapper/JunctionTableManager.cjs.map +1 -1
- package/dist/development/src/mapper/JunctionTableManager.js +19 -13
- package/dist/development/src/mapper/JunctionTableManager.js.map +1 -1
- package/dist/development/src/mapper/Mapper.cjs +111 -37
- package/dist/development/src/mapper/Mapper.cjs.map +1 -1
- package/dist/development/src/mapper/Mapper.js +112 -38
- package/dist/development/src/mapper/Mapper.js.map +1 -1
- package/dist/development/src/mapper/MapperFactory.cjs +7 -4
- package/dist/development/src/mapper/MapperFactory.cjs.map +1 -1
- package/dist/development/src/mapper/MapperFactory.js +7 -4
- package/dist/development/src/mapper/MapperFactory.js.map +1 -1
- package/dist/development/src/mapper/MutationProcessorHelper.cjs +12 -0
- package/dist/development/src/mapper/MutationProcessorHelper.cjs.map +1 -1
- package/dist/development/src/mapper/MutationProcessorHelper.js +13 -1
- package/dist/development/src/mapper/MutationProcessorHelper.js.map +1 -1
- package/dist/development/src/mapper/Result.cjs +1 -0
- package/dist/development/src/mapper/Result.cjs.map +1 -1
- package/dist/development/src/mapper/Result.js +1 -0
- package/dist/development/src/mapper/Result.js.map +1 -1
- package/dist/development/src/mapper/delete/DeleteExecutor.cjs +15 -8
- package/dist/development/src/mapper/delete/DeleteExecutor.cjs.map +1 -1
- package/dist/development/src/mapper/delete/DeleteExecutor.js +15 -8
- package/dist/development/src/mapper/delete/DeleteExecutor.js.map +1 -1
- package/dist/development/src/mapper/insert/InsertBuilder.cjs +3 -2
- package/dist/development/src/mapper/insert/InsertBuilder.cjs.map +1 -1
- package/dist/development/src/mapper/insert/InsertBuilder.js +3 -2
- package/dist/development/src/mapper/insert/InsertBuilder.js.map +1 -1
- package/dist/development/src/mapper/insert/InsertBuilderFactory.cjs +2 -2
- package/dist/development/src/mapper/insert/InsertBuilderFactory.cjs.map +1 -1
- package/dist/development/src/mapper/insert/InsertBuilderFactory.js +2 -2
- package/dist/development/src/mapper/insert/InsertBuilderFactory.js.map +1 -1
- package/dist/development/src/mapper/insert/Inserter.cjs +3 -3
- package/dist/development/src/mapper/insert/Inserter.cjs.map +1 -1
- package/dist/development/src/mapper/insert/Inserter.js +3 -3
- package/dist/development/src/mapper/insert/Inserter.js.map +1 -1
- package/dist/development/src/mapper/insert/SqlCreateInputProcessor.cjs +3 -2
- package/dist/development/src/mapper/insert/SqlCreateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/insert/SqlCreateInputProcessor.js +3 -2
- package/dist/development/src/mapper/insert/SqlCreateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/insert/relations/ManyHasManyCreateInputProcessor.cjs +9 -8
- package/dist/development/src/mapper/insert/relations/ManyHasManyCreateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/insert/relations/ManyHasManyCreateInputProcessor.js +9 -8
- package/dist/development/src/mapper/insert/relations/ManyHasManyCreateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/insert/relations/ManyHasOneCreateInputProcessor.cjs +4 -4
- package/dist/development/src/mapper/insert/relations/ManyHasOneCreateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/insert/relations/ManyHasOneCreateInputProcessor.js +4 -4
- package/dist/development/src/mapper/insert/relations/ManyHasOneCreateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/insert/relations/OneHasManyCreateInputProcessor.cjs +3 -3
- package/dist/development/src/mapper/insert/relations/OneHasManyCreateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/insert/relations/OneHasManyCreateInputProcessor.js +3 -3
- package/dist/development/src/mapper/insert/relations/OneHasManyCreateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.cjs +7 -7
- package/dist/development/src/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.js +7 -7
- package/dist/development/src/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.cjs +6 -6
- package/dist/development/src/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.js +6 -6
- package/dist/development/src/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/select/ConditionBuilder.cjs +8 -1
- package/dist/development/src/mapper/select/ConditionBuilder.cjs.map +1 -1
- package/dist/development/src/mapper/select/ConditionBuilder.js +8 -1
- package/dist/development/src/mapper/select/ConditionBuilder.js.map +1 -1
- package/dist/development/src/mapper/select/JoinBuilder.cjs +26 -4
- package/dist/development/src/mapper/select/JoinBuilder.cjs.map +1 -1
- package/dist/development/src/mapper/select/JoinBuilder.js +27 -5
- package/dist/development/src/mapper/select/JoinBuilder.js.map +1 -1
- package/dist/development/src/mapper/select/OrderByBuilder.cjs +84 -15
- package/dist/development/src/mapper/select/OrderByBuilder.cjs.map +1 -1
- package/dist/development/src/mapper/select/OrderByBuilder.js +86 -17
- package/dist/development/src/mapper/select/OrderByBuilder.js.map +1 -1
- package/dist/development/src/mapper/select/OrderByHelper.cjs +17 -7
- package/dist/development/src/mapper/select/OrderByHelper.cjs.map +1 -1
- package/dist/development/src/mapper/select/OrderByHelper.js +17 -7
- package/dist/development/src/mapper/select/OrderByHelper.js.map +1 -1
- package/dist/development/src/mapper/select/Path.cjs +25 -3
- package/dist/development/src/mapper/select/Path.cjs.map +1 -1
- package/dist/development/src/mapper/select/Path.js +26 -4
- package/dist/development/src/mapper/select/Path.js.map +1 -1
- package/dist/development/src/mapper/select/RelationFetcher.cjs +6 -5
- package/dist/development/src/mapper/select/RelationFetcher.cjs.map +1 -1
- package/dist/development/src/mapper/select/RelationFetcher.js +6 -5
- package/dist/development/src/mapper/select/RelationFetcher.js.map +1 -1
- package/dist/development/src/mapper/select/SelectBuilder.cjs +15 -21
- package/dist/development/src/mapper/select/SelectBuilder.cjs.map +1 -1
- package/dist/development/src/mapper/select/SelectBuilder.js +13 -19
- package/dist/development/src/mapper/select/SelectBuilder.js.map +1 -1
- package/dist/development/src/mapper/select/SelectHydrator.cjs +92 -31
- package/dist/development/src/mapper/select/SelectHydrator.cjs.map +1 -1
- package/dist/development/src/mapper/select/SelectHydrator.js +92 -31
- package/dist/development/src/mapper/select/SelectHydrator.js.map +1 -1
- package/dist/development/src/mapper/select/WhereBuilder.cjs +261 -47
- package/dist/development/src/mapper/select/WhereBuilder.cjs.map +1 -1
- package/dist/development/src/mapper/select/WhereBuilder.js +262 -48
- package/dist/development/src/mapper/select/WhereBuilder.js.map +1 -1
- package/dist/development/src/mapper/select/getFieldReadPredicate.cjs +8 -0
- package/dist/development/src/mapper/select/getFieldReadPredicate.cjs.map +1 -0
- package/dist/development/src/mapper/select/getFieldReadPredicate.js +8 -0
- package/dist/development/src/mapper/select/getFieldReadPredicate.js.map +1 -0
- package/dist/development/src/mapper/select/handlers/FieldsVisitor.cjs +9 -13
- package/dist/development/src/mapper/select/handlers/FieldsVisitor.cjs.map +1 -1
- package/dist/development/src/mapper/select/handlers/FieldsVisitor.js +10 -14
- package/dist/development/src/mapper/select/handlers/FieldsVisitor.js.map +1 -1
- package/dist/development/src/mapper/select/handlers/MetaHandler.cjs +6 -2
- package/dist/development/src/mapper/select/handlers/MetaHandler.cjs.map +1 -1
- package/dist/development/src/mapper/select/handlers/MetaHandler.js +6 -2
- package/dist/development/src/mapper/select/handlers/MetaHandler.js.map +1 -1
- package/dist/development/src/mapper/select/optimizer/WhereOptimizer.cjs +229 -3
- package/dist/development/src/mapper/select/optimizer/WhereOptimizer.cjs.map +1 -1
- package/dist/development/src/mapper/select/optimizer/WhereOptimizer.js +230 -4
- package/dist/development/src/mapper/select/optimizer/WhereOptimizer.js.map +1 -1
- package/dist/development/src/mapper/select/optimizer/WhereReplacer.cjs +3 -3
- package/dist/development/src/mapper/select/optimizer/WhereReplacer.cjs.map +1 -1
- package/dist/development/src/mapper/select/optimizer/WhereReplacer.js +1 -1
- package/dist/development/src/mapper/select/optimizer/WhereReplacer.js.map +1 -1
- package/dist/development/src/mapper/update/SqlUpdateInputProcessor.cjs +9 -5
- package/dist/development/src/mapper/update/SqlUpdateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/update/SqlUpdateInputProcessor.js +10 -6
- package/dist/development/src/mapper/update/SqlUpdateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/update/UpdateBuilder.cjs +35 -2
- package/dist/development/src/mapper/update/UpdateBuilder.cjs.map +1 -1
- package/dist/development/src/mapper/update/UpdateBuilder.js +36 -3
- package/dist/development/src/mapper/update/UpdateBuilder.js.map +1 -1
- package/dist/development/src/mapper/update/UpdateBuilderFactory.cjs +3 -2
- package/dist/development/src/mapper/update/UpdateBuilderFactory.cjs.map +1 -1
- package/dist/development/src/mapper/update/UpdateBuilderFactory.js +3 -2
- package/dist/development/src/mapper/update/UpdateBuilderFactory.js.map +1 -1
- package/dist/development/src/mapper/update/Updater.cjs +12 -6
- package/dist/development/src/mapper/update/Updater.cjs.map +1 -1
- package/dist/development/src/mapper/update/Updater.js +13 -7
- package/dist/development/src/mapper/update/Updater.js.map +1 -1
- package/dist/development/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.cjs +33 -19
- package/dist/development/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.js +33 -19
- package/dist/development/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/update/relations/ManyHasOneUpdateInputProcessor.cjs +13 -11
- package/dist/development/src/mapper/update/relations/ManyHasOneUpdateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/update/relations/ManyHasOneUpdateInputProcessor.js +13 -11
- package/dist/development/src/mapper/update/relations/ManyHasOneUpdateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/update/relations/OneHasManyUpdateInputProcessor.cjs +17 -8
- package/dist/development/src/mapper/update/relations/OneHasManyUpdateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/update/relations/OneHasManyUpdateInputProcessor.js +17 -8
- package/dist/development/src/mapper/update/relations/OneHasManyUpdateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.cjs +19 -16
- package/dist/development/src/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.js +19 -16
- package/dist/development/src/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.cjs +19 -16
- package/dist/development/src/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.cjs.map +1 -1
- package/dist/development/src/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.js +19 -16
- package/dist/development/src/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.js.map +1 -1
- package/dist/development/src/mapper/update/relations/SetManyRelationHelper.cjs +123 -0
- package/dist/development/src/mapper/update/relations/SetManyRelationHelper.cjs.map +1 -0
- package/dist/development/src/mapper/update/relations/SetManyRelationHelper.js +123 -0
- package/dist/development/src/mapper/update/relations/SetManyRelationHelper.js.map +1 -0
- package/dist/development/src/resolvers/GraphQlQueryAstFactory.cjs.map +1 -1
- package/dist/development/src/resolvers/GraphQlQueryAstFactory.js.map +1 -1
- package/dist/development/src/resolvers/MutationResolver.cjs +76 -79
- package/dist/development/src/resolvers/MutationResolver.cjs.map +1 -1
- package/dist/development/src/resolvers/MutationResolver.js +78 -81
- package/dist/development/src/resolvers/MutationResolver.js.map +1 -1
- package/dist/development/src/resolvers/ReadHelpers.cjs +17 -6
- package/dist/development/src/resolvers/ReadHelpers.cjs.map +1 -1
- package/dist/development/src/resolvers/ReadHelpers.js +17 -6
- package/dist/development/src/resolvers/ReadHelpers.js.map +1 -1
- package/dist/development/src/resolvers/ReadResolver.cjs +27 -22
- package/dist/development/src/resolvers/ReadResolver.cjs.map +1 -1
- package/dist/development/src/resolvers/ReadResolver.js +27 -22
- package/dist/development/src/resolvers/ReadResolver.js.map +1 -1
- package/dist/development/src/schema/CustomTypesProvider.cjs +35 -14
- package/dist/development/src/schema/CustomTypesProvider.cjs.map +1 -1
- package/dist/development/src/schema/CustomTypesProvider.js +36 -15
- package/dist/development/src/schema/CustomTypesProvider.js.map +1 -1
- package/dist/development/src/schema/EntityTypeProvider.cjs +11 -7
- package/dist/development/src/schema/EntityTypeProvider.cjs.map +1 -1
- package/dist/development/src/schema/EntityTypeProvider.js +11 -7
- package/dist/development/src/schema/EntityTypeProvider.js.map +1 -1
- package/dist/development/src/schema/GraphQlSchemaBuilder.cjs +16 -6
- package/dist/development/src/schema/GraphQlSchemaBuilder.cjs.map +1 -1
- package/dist/development/src/schema/GraphQlSchemaBuilder.js +16 -6
- package/dist/development/src/schema/GraphQlSchemaBuilder.js.map +1 -1
- package/dist/development/src/schema/GraphQlSchemaBuilderFactory.cjs +39 -11
- package/dist/development/src/schema/GraphQlSchemaBuilderFactory.cjs.map +1 -1
- package/dist/development/src/schema/GraphQlSchemaBuilderFactory.js +39 -11
- package/dist/development/src/schema/GraphQlSchemaBuilderFactory.js.map +1 -1
- package/dist/development/src/schema/MutationProvider.cjs +38 -16
- package/dist/development/src/schema/MutationProvider.cjs.map +1 -1
- package/dist/development/src/schema/MutationProvider.js +38 -16
- package/dist/development/src/schema/MutationProvider.js.map +1 -1
- package/dist/development/src/schema/OrderByTypeProvider.cjs +8 -2
- package/dist/development/src/schema/OrderByTypeProvider.cjs.map +1 -1
- package/dist/development/src/schema/OrderByTypeProvider.js +9 -3
- package/dist/development/src/schema/OrderByTypeProvider.js.map +1 -1
- package/dist/development/src/schema/QueryProvider.cjs +12 -11
- package/dist/development/src/schema/QueryProvider.cjs.map +1 -1
- package/dist/development/src/schema/QueryProvider.js +12 -11
- package/dist/development/src/schema/QueryProvider.js.map +1 -1
- package/dist/development/src/schema/ValidationQueriesProvider.cjs +2 -0
- package/dist/development/src/schema/ValidationQueriesProvider.cjs.map +1 -1
- package/dist/development/src/schema/ValidationQueriesProvider.js +2 -0
- package/dist/development/src/schema/ValidationQueriesProvider.js.map +1 -1
- package/dist/development/src/schema/WhereTypeProvider.cjs +17 -5
- package/dist/development/src/schema/WhereTypeProvider.cjs.map +1 -1
- package/dist/development/src/schema/WhereTypeProvider.js +18 -6
- package/dist/development/src/schema/WhereTypeProvider.js.map +1 -1
- package/dist/development/src/schema/calendarDate.cjs +21 -0
- package/dist/development/src/schema/calendarDate.cjs.map +1 -0
- package/dist/development/src/schema/calendarDate.js +21 -0
- package/dist/development/src/schema/calendarDate.js.map +1 -0
- package/dist/development/src/schema/entities/FieldTypeVisitor.cjs +15 -2
- package/dist/development/src/schema/entities/FieldTypeVisitor.cjs.map +1 -1
- package/dist/development/src/schema/entities/FieldTypeVisitor.js +15 -2
- package/dist/development/src/schema/entities/FieldTypeVisitor.js.map +1 -1
- package/dist/development/src/schema/mutations/CreateEntityInputFieldVisitor.cjs +11 -3
- package/dist/development/src/schema/mutations/CreateEntityInputFieldVisitor.cjs.map +1 -1
- package/dist/development/src/schema/mutations/CreateEntityInputFieldVisitor.js +11 -3
- package/dist/development/src/schema/mutations/CreateEntityInputFieldVisitor.js.map +1 -1
- package/dist/development/src/schema/mutations/UpdateEntityInputFieldVisitor.cjs +11 -3
- package/dist/development/src/schema/mutations/UpdateEntityInputFieldVisitor.cjs.map +1 -1
- package/dist/development/src/schema/mutations/UpdateEntityInputFieldVisitor.js +11 -3
- package/dist/development/src/schema/mutations/UpdateEntityInputFieldVisitor.js.map +1 -1
- package/dist/development/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.cjs +39 -2
- package/dist/development/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.cjs.map +1 -1
- package/dist/development/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js +40 -3
- package/dist/development/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js.map +1 -1
- package/dist/development/src/schema/utils.cjs +10 -0
- package/dist/development/src/schema/utils.cjs.map +1 -1
- package/dist/development/src/schema/utils.js +11 -1
- package/dist/development/src/schema/utils.js.map +1 -1
- package/dist/development/src/schema-json/GraphQLJsBridge.cjs +108 -0
- package/dist/development/src/schema-json/GraphQLJsBridge.cjs.map +1 -0
- package/dist/development/src/schema-json/GraphQLJsBridge.js +108 -0
- package/dist/development/src/schema-json/GraphQLJsBridge.js.map +1 -0
- package/dist/development/src/schema-json/JsonColumnTypes.cjs +102 -0
- package/dist/development/src/schema-json/JsonColumnTypes.cjs.map +1 -0
- package/dist/development/src/schema-json/JsonColumnTypes.js +102 -0
- package/dist/development/src/schema-json/JsonColumnTypes.js.map +1 -0
- package/dist/development/src/schema-json/JsonContentSchemaBuilder.cjs +418 -0
- package/dist/development/src/schema-json/JsonContentSchemaBuilder.cjs.map +1 -0
- package/dist/development/src/schema-json/JsonContentSchemaBuilder.js +418 -0
- package/dist/development/src/schema-json/JsonContentSchemaBuilder.js.map +1 -0
- package/dist/development/src/schema-json/JsonContentSchemaShared.cjs +18 -0
- package/dist/development/src/schema-json/JsonContentSchemaShared.cjs.map +1 -0
- package/dist/development/src/schema-json/JsonContentSchemaShared.js +18 -0
- package/dist/development/src/schema-json/JsonContentSchemaShared.js.map +1 -0
- package/dist/development/src/schema-json/JsonEntityTypes.cjs +206 -0
- package/dist/development/src/schema-json/JsonEntityTypes.cjs.map +1 -0
- package/dist/development/src/schema-json/JsonEntityTypes.js +206 -0
- package/dist/development/src/schema-json/JsonEntityTypes.js.map +1 -0
- package/dist/development/src/schema-json/JsonFilterTypes.cjs +152 -0
- package/dist/development/src/schema-json/JsonFilterTypes.cjs.map +1 -0
- package/dist/development/src/schema-json/JsonFilterTypes.js +152 -0
- package/dist/development/src/schema-json/JsonFilterTypes.js.map +1 -0
- package/dist/development/src/schema-json/JsonInputTypes.cjs +256 -0
- package/dist/development/src/schema-json/JsonInputTypes.cjs.map +1 -0
- package/dist/development/src/schema-json/JsonInputTypes.js +256 -0
- package/dist/development/src/schema-json/JsonInputTypes.js.map +1 -0
- package/dist/development/src/schema-json/JsonIntrospectionExtension.cjs +36 -0
- package/dist/development/src/schema-json/JsonIntrospectionExtension.cjs.map +1 -0
- package/dist/development/src/schema-json/JsonIntrospectionExtension.js +36 -0
- package/dist/development/src/schema-json/JsonIntrospectionExtension.js.map +1 -0
- package/dist/development/src/schema-json/JsonQueryAstFactory.cjs +107 -0
- package/dist/development/src/schema-json/JsonQueryAstFactory.cjs.map +1 -0
- package/dist/development/src/schema-json/JsonQueryAstFactory.js +107 -0
- package/dist/development/src/schema-json/JsonQueryAstFactory.js.map +1 -0
- package/dist/development/src/schema-json/JsonTypeRegistry.cjs +230 -0
- package/dist/development/src/schema-json/JsonTypeRegistry.cjs.map +1 -0
- package/dist/development/src/schema-json/JsonTypeRegistry.js +230 -0
- package/dist/development/src/schema-json/JsonTypeRegistry.js.map +1 -0
- package/dist/development/src/utils/ResolveInfoUtils.cjs.map +1 -1
- package/dist/development/src/utils/ResolveInfoUtils.js.map +1 -1
- package/dist/development/src/utils/uniqueWhereFields.cjs +10 -0
- package/dist/development/src/utils/uniqueWhereFields.cjs.map +1 -1
- package/dist/development/src/utils/uniqueWhereFields.js +10 -0
- package/dist/development/src/utils/uniqueWhereFields.js.map +1 -1
- package/dist/production/index.cjs +36 -0
- package/dist/production/index.cjs.map +1 -1
- package/dist/production/index.js +40 -4
- package/dist/production/index.js.map +1 -1
- package/dist/production/src/ExecutionContainer.cjs +18 -10
- package/dist/production/src/ExecutionContainer.cjs.map +1 -1
- package/dist/production/src/ExecutionContainer.js +18 -10
- package/dist/production/src/ExecutionContainer.js.map +1 -1
- package/dist/production/src/acl/AclScope.cjs +7 -0
- package/dist/production/src/acl/AclScope.cjs.map +1 -0
- package/dist/production/src/acl/AclScope.js +7 -0
- package/dist/production/src/acl/AclScope.js.map +1 -0
- package/dist/production/src/acl/Authorizator.cjs +6 -4
- package/dist/production/src/acl/Authorizator.cjs.map +1 -1
- package/dist/production/src/acl/Authorizator.js +6 -4
- package/dist/production/src/acl/Authorizator.js.map +1 -1
- package/dist/production/src/acl/EvaluatedPredicateReplacer.cjs +4 -1
- package/dist/production/src/acl/EvaluatedPredicateReplacer.cjs.map +1 -1
- package/dist/production/src/acl/EvaluatedPredicateReplacer.js +4 -1
- package/dist/production/src/acl/EvaluatedPredicateReplacer.js.map +1 -1
- package/dist/production/src/acl/PermissionFactory.cjs +57 -68
- package/dist/production/src/acl/PermissionFactory.cjs.map +1 -1
- package/dist/production/src/acl/PermissionFactory.js +58 -69
- package/dist/production/src/acl/PermissionFactory.js.map +1 -1
- package/dist/production/src/acl/PredicateFactory.cjs +95 -26
- package/dist/production/src/acl/PredicateFactory.cjs.map +1 -1
- package/dist/production/src/acl/PredicateFactory.js +95 -26
- package/dist/production/src/acl/PredicateFactory.js.map +1 -1
- package/dist/production/src/acl/PredicatesInjector.cjs +97 -99
- package/dist/production/src/acl/PredicatesInjector.cjs.map +1 -1
- package/dist/production/src/acl/PredicatesInjector.js +99 -101
- package/dist/production/src/acl/PredicatesInjector.js.map +1 -1
- package/dist/production/src/acl/VariableInjector.cjs +7 -2
- package/dist/production/src/acl/VariableInjector.cjs.map +1 -1
- package/dist/production/src/acl/VariableInjector.js +7 -2
- package/dist/production/src/acl/VariableInjector.js.map +1 -1
- package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.cjs +28 -2
- package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.cjs.map +1 -1
- package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.js +29 -3
- package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.js.map +1 -1
- package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.cjs +16 -1
- package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.cjs.map +1 -1
- package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.js +16 -1
- package/dist/production/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.js.map +1 -1
- package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.cjs +29 -3
- package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.cjs.map +1 -1
- package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.js +29 -3
- package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.js.map +1 -1
- package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.cjs +14 -0
- package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.cjs.map +1 -1
- package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.js +14 -0
- package/dist/production/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.js.map +1 -1
- package/dist/production/src/input-validation/ValidationDataSelector.cjs +2 -2
- package/dist/production/src/input-validation/ValidationDataSelector.cjs.map +1 -1
- package/dist/production/src/input-validation/ValidationDataSelector.js +2 -2
- package/dist/production/src/input-validation/ValidationDataSelector.js.map +1 -1
- package/dist/production/src/input-validation/preValidation/UpdateInputPreValidationProcessor.cjs +24 -3
- package/dist/production/src/input-validation/preValidation/UpdateInputPreValidationProcessor.cjs.map +1 -1
- package/dist/production/src/input-validation/preValidation/UpdateInputPreValidationProcessor.js +24 -3
- package/dist/production/src/input-validation/preValidation/UpdateInputPreValidationProcessor.js.map +1 -1
- package/dist/production/src/inputProcessing/UpdateInputVisitor.cjs +52 -2
- package/dist/production/src/inputProcessing/UpdateInputVisitor.cjs.map +1 -1
- package/dist/production/src/inputProcessing/UpdateInputVisitor.js +52 -2
- package/dist/production/src/inputProcessing/UpdateInputVisitor.js.map +1 -1
- package/dist/production/src/introspection/IntrospectionSchemaFactory.cjs +11 -6
- package/dist/production/src/introspection/IntrospectionSchemaFactory.cjs.map +1 -1
- package/dist/production/src/introspection/IntrospectionSchemaFactory.js +11 -6
- package/dist/production/src/introspection/IntrospectionSchemaFactory.js.map +1 -1
- package/dist/production/src/introspection/introspection.schema.cjs +2 -2
- package/dist/production/src/introspection/introspection.schema.cjs.map +1 -1
- package/dist/production/src/introspection/introspection.schema.js +2 -2
- package/dist/production/src/introspection/introspection.schema.js.map +1 -1
- package/dist/production/src/mapper/ErrorUtils.cjs +17 -1
- package/dist/production/src/mapper/ErrorUtils.cjs.map +1 -1
- package/dist/production/src/mapper/ErrorUtils.js +17 -1
- package/dist/production/src/mapper/ErrorUtils.js.map +1 -1
- package/dist/production/src/mapper/JunctionTableManager.cjs +18 -12
- package/dist/production/src/mapper/JunctionTableManager.cjs.map +1 -1
- package/dist/production/src/mapper/JunctionTableManager.js +19 -13
- package/dist/production/src/mapper/JunctionTableManager.js.map +1 -1
- package/dist/production/src/mapper/Mapper.cjs +111 -37
- package/dist/production/src/mapper/Mapper.cjs.map +1 -1
- package/dist/production/src/mapper/Mapper.js +112 -38
- package/dist/production/src/mapper/Mapper.js.map +1 -1
- package/dist/production/src/mapper/MapperFactory.cjs +7 -4
- package/dist/production/src/mapper/MapperFactory.cjs.map +1 -1
- package/dist/production/src/mapper/MapperFactory.js +7 -4
- package/dist/production/src/mapper/MapperFactory.js.map +1 -1
- package/dist/production/src/mapper/MutationProcessorHelper.cjs +12 -0
- package/dist/production/src/mapper/MutationProcessorHelper.cjs.map +1 -1
- package/dist/production/src/mapper/MutationProcessorHelper.js +13 -1
- package/dist/production/src/mapper/MutationProcessorHelper.js.map +1 -1
- package/dist/production/src/mapper/Result.cjs +1 -0
- package/dist/production/src/mapper/Result.cjs.map +1 -1
- package/dist/production/src/mapper/Result.js +1 -0
- package/dist/production/src/mapper/Result.js.map +1 -1
- package/dist/production/src/mapper/delete/DeleteExecutor.cjs +15 -8
- package/dist/production/src/mapper/delete/DeleteExecutor.cjs.map +1 -1
- package/dist/production/src/mapper/delete/DeleteExecutor.js +15 -8
- package/dist/production/src/mapper/delete/DeleteExecutor.js.map +1 -1
- package/dist/production/src/mapper/insert/InsertBuilder.cjs +3 -2
- package/dist/production/src/mapper/insert/InsertBuilder.cjs.map +1 -1
- package/dist/production/src/mapper/insert/InsertBuilder.js +3 -2
- package/dist/production/src/mapper/insert/InsertBuilder.js.map +1 -1
- package/dist/production/src/mapper/insert/InsertBuilderFactory.cjs +2 -2
- package/dist/production/src/mapper/insert/InsertBuilderFactory.cjs.map +1 -1
- package/dist/production/src/mapper/insert/InsertBuilderFactory.js +2 -2
- package/dist/production/src/mapper/insert/InsertBuilderFactory.js.map +1 -1
- package/dist/production/src/mapper/insert/Inserter.cjs +3 -3
- package/dist/production/src/mapper/insert/Inserter.cjs.map +1 -1
- package/dist/production/src/mapper/insert/Inserter.js +3 -3
- package/dist/production/src/mapper/insert/Inserter.js.map +1 -1
- package/dist/production/src/mapper/insert/SqlCreateInputProcessor.cjs +3 -2
- package/dist/production/src/mapper/insert/SqlCreateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/insert/SqlCreateInputProcessor.js +3 -2
- package/dist/production/src/mapper/insert/SqlCreateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/insert/relations/ManyHasManyCreateInputProcessor.cjs +9 -8
- package/dist/production/src/mapper/insert/relations/ManyHasManyCreateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/insert/relations/ManyHasManyCreateInputProcessor.js +9 -8
- package/dist/production/src/mapper/insert/relations/ManyHasManyCreateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/insert/relations/ManyHasOneCreateInputProcessor.cjs +4 -4
- package/dist/production/src/mapper/insert/relations/ManyHasOneCreateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/insert/relations/ManyHasOneCreateInputProcessor.js +4 -4
- package/dist/production/src/mapper/insert/relations/ManyHasOneCreateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/insert/relations/OneHasManyCreateInputProcessor.cjs +3 -3
- package/dist/production/src/mapper/insert/relations/OneHasManyCreateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/insert/relations/OneHasManyCreateInputProcessor.js +3 -3
- package/dist/production/src/mapper/insert/relations/OneHasManyCreateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.cjs +7 -7
- package/dist/production/src/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.js +7 -7
- package/dist/production/src/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.cjs +6 -6
- package/dist/production/src/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.js +6 -6
- package/dist/production/src/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/select/ConditionBuilder.cjs +8 -1
- package/dist/production/src/mapper/select/ConditionBuilder.cjs.map +1 -1
- package/dist/production/src/mapper/select/ConditionBuilder.js +8 -1
- package/dist/production/src/mapper/select/ConditionBuilder.js.map +1 -1
- package/dist/production/src/mapper/select/JoinBuilder.cjs +26 -4
- package/dist/production/src/mapper/select/JoinBuilder.cjs.map +1 -1
- package/dist/production/src/mapper/select/JoinBuilder.js +27 -5
- package/dist/production/src/mapper/select/JoinBuilder.js.map +1 -1
- package/dist/production/src/mapper/select/OrderByBuilder.cjs +84 -15
- package/dist/production/src/mapper/select/OrderByBuilder.cjs.map +1 -1
- package/dist/production/src/mapper/select/OrderByBuilder.js +86 -17
- package/dist/production/src/mapper/select/OrderByBuilder.js.map +1 -1
- package/dist/production/src/mapper/select/OrderByHelper.cjs +17 -7
- package/dist/production/src/mapper/select/OrderByHelper.cjs.map +1 -1
- package/dist/production/src/mapper/select/OrderByHelper.js +17 -7
- package/dist/production/src/mapper/select/OrderByHelper.js.map +1 -1
- package/dist/production/src/mapper/select/Path.cjs +25 -3
- package/dist/production/src/mapper/select/Path.cjs.map +1 -1
- package/dist/production/src/mapper/select/Path.js +26 -4
- package/dist/production/src/mapper/select/Path.js.map +1 -1
- package/dist/production/src/mapper/select/RelationFetcher.cjs +6 -5
- package/dist/production/src/mapper/select/RelationFetcher.cjs.map +1 -1
- package/dist/production/src/mapper/select/RelationFetcher.js +6 -5
- package/dist/production/src/mapper/select/RelationFetcher.js.map +1 -1
- package/dist/production/src/mapper/select/SelectBuilder.cjs +15 -21
- package/dist/production/src/mapper/select/SelectBuilder.cjs.map +1 -1
- package/dist/production/src/mapper/select/SelectBuilder.js +13 -19
- package/dist/production/src/mapper/select/SelectBuilder.js.map +1 -1
- package/dist/production/src/mapper/select/SelectHydrator.cjs +92 -31
- package/dist/production/src/mapper/select/SelectHydrator.cjs.map +1 -1
- package/dist/production/src/mapper/select/SelectHydrator.js +92 -31
- package/dist/production/src/mapper/select/SelectHydrator.js.map +1 -1
- package/dist/production/src/mapper/select/WhereBuilder.cjs +261 -47
- package/dist/production/src/mapper/select/WhereBuilder.cjs.map +1 -1
- package/dist/production/src/mapper/select/WhereBuilder.js +262 -48
- package/dist/production/src/mapper/select/WhereBuilder.js.map +1 -1
- package/dist/production/src/mapper/select/getFieldReadPredicate.cjs +8 -0
- package/dist/production/src/mapper/select/getFieldReadPredicate.cjs.map +1 -0
- package/dist/production/src/mapper/select/getFieldReadPredicate.js +8 -0
- package/dist/production/src/mapper/select/getFieldReadPredicate.js.map +1 -0
- package/dist/production/src/mapper/select/handlers/FieldsVisitor.cjs +9 -13
- package/dist/production/src/mapper/select/handlers/FieldsVisitor.cjs.map +1 -1
- package/dist/production/src/mapper/select/handlers/FieldsVisitor.js +10 -14
- package/dist/production/src/mapper/select/handlers/FieldsVisitor.js.map +1 -1
- package/dist/production/src/mapper/select/handlers/MetaHandler.cjs +6 -2
- package/dist/production/src/mapper/select/handlers/MetaHandler.cjs.map +1 -1
- package/dist/production/src/mapper/select/handlers/MetaHandler.js +6 -2
- package/dist/production/src/mapper/select/handlers/MetaHandler.js.map +1 -1
- package/dist/production/src/mapper/select/optimizer/WhereOptimizer.cjs +229 -3
- package/dist/production/src/mapper/select/optimizer/WhereOptimizer.cjs.map +1 -1
- package/dist/production/src/mapper/select/optimizer/WhereOptimizer.js +230 -4
- package/dist/production/src/mapper/select/optimizer/WhereOptimizer.js.map +1 -1
- package/dist/production/src/mapper/select/optimizer/WhereReplacer.cjs +3 -3
- package/dist/production/src/mapper/select/optimizer/WhereReplacer.cjs.map +1 -1
- package/dist/production/src/mapper/select/optimizer/WhereReplacer.js +1 -1
- package/dist/production/src/mapper/select/optimizer/WhereReplacer.js.map +1 -1
- package/dist/production/src/mapper/update/SqlUpdateInputProcessor.cjs +9 -5
- package/dist/production/src/mapper/update/SqlUpdateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/update/SqlUpdateInputProcessor.js +10 -6
- package/dist/production/src/mapper/update/SqlUpdateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/update/UpdateBuilder.cjs +35 -2
- package/dist/production/src/mapper/update/UpdateBuilder.cjs.map +1 -1
- package/dist/production/src/mapper/update/UpdateBuilder.js +36 -3
- package/dist/production/src/mapper/update/UpdateBuilder.js.map +1 -1
- package/dist/production/src/mapper/update/UpdateBuilderFactory.cjs +3 -2
- package/dist/production/src/mapper/update/UpdateBuilderFactory.cjs.map +1 -1
- package/dist/production/src/mapper/update/UpdateBuilderFactory.js +3 -2
- package/dist/production/src/mapper/update/UpdateBuilderFactory.js.map +1 -1
- package/dist/production/src/mapper/update/Updater.cjs +12 -6
- package/dist/production/src/mapper/update/Updater.cjs.map +1 -1
- package/dist/production/src/mapper/update/Updater.js +13 -7
- package/dist/production/src/mapper/update/Updater.js.map +1 -1
- package/dist/production/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.cjs +33 -19
- package/dist/production/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.js +33 -19
- package/dist/production/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/update/relations/ManyHasOneUpdateInputProcessor.cjs +13 -11
- package/dist/production/src/mapper/update/relations/ManyHasOneUpdateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/update/relations/ManyHasOneUpdateInputProcessor.js +13 -11
- package/dist/production/src/mapper/update/relations/ManyHasOneUpdateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/update/relations/OneHasManyUpdateInputProcessor.cjs +17 -8
- package/dist/production/src/mapper/update/relations/OneHasManyUpdateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/update/relations/OneHasManyUpdateInputProcessor.js +17 -8
- package/dist/production/src/mapper/update/relations/OneHasManyUpdateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.cjs +19 -16
- package/dist/production/src/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.js +19 -16
- package/dist/production/src/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.cjs +19 -16
- package/dist/production/src/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.cjs.map +1 -1
- package/dist/production/src/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.js +19 -16
- package/dist/production/src/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.js.map +1 -1
- package/dist/production/src/mapper/update/relations/SetManyRelationHelper.cjs +123 -0
- package/dist/production/src/mapper/update/relations/SetManyRelationHelper.cjs.map +1 -0
- package/dist/production/src/mapper/update/relations/SetManyRelationHelper.js +123 -0
- package/dist/production/src/mapper/update/relations/SetManyRelationHelper.js.map +1 -0
- package/dist/production/src/resolvers/GraphQlQueryAstFactory.cjs.map +1 -1
- package/dist/production/src/resolvers/GraphQlQueryAstFactory.js.map +1 -1
- package/dist/production/src/resolvers/MutationResolver.cjs +76 -79
- package/dist/production/src/resolvers/MutationResolver.cjs.map +1 -1
- package/dist/production/src/resolvers/MutationResolver.js +78 -81
- package/dist/production/src/resolvers/MutationResolver.js.map +1 -1
- package/dist/production/src/resolvers/ReadHelpers.cjs +17 -6
- package/dist/production/src/resolvers/ReadHelpers.cjs.map +1 -1
- package/dist/production/src/resolvers/ReadHelpers.js +17 -6
- package/dist/production/src/resolvers/ReadHelpers.js.map +1 -1
- package/dist/production/src/resolvers/ReadResolver.cjs +27 -22
- package/dist/production/src/resolvers/ReadResolver.cjs.map +1 -1
- package/dist/production/src/resolvers/ReadResolver.js +27 -22
- package/dist/production/src/resolvers/ReadResolver.js.map +1 -1
- package/dist/production/src/schema/CustomTypesProvider.cjs +35 -14
- package/dist/production/src/schema/CustomTypesProvider.cjs.map +1 -1
- package/dist/production/src/schema/CustomTypesProvider.js +36 -15
- package/dist/production/src/schema/CustomTypesProvider.js.map +1 -1
- package/dist/production/src/schema/EntityTypeProvider.cjs +11 -7
- package/dist/production/src/schema/EntityTypeProvider.cjs.map +1 -1
- package/dist/production/src/schema/EntityTypeProvider.js +11 -7
- package/dist/production/src/schema/EntityTypeProvider.js.map +1 -1
- package/dist/production/src/schema/GraphQlSchemaBuilder.cjs +16 -6
- package/dist/production/src/schema/GraphQlSchemaBuilder.cjs.map +1 -1
- package/dist/production/src/schema/GraphQlSchemaBuilder.js +16 -6
- package/dist/production/src/schema/GraphQlSchemaBuilder.js.map +1 -1
- package/dist/production/src/schema/GraphQlSchemaBuilderFactory.cjs +39 -11
- package/dist/production/src/schema/GraphQlSchemaBuilderFactory.cjs.map +1 -1
- package/dist/production/src/schema/GraphQlSchemaBuilderFactory.js +39 -11
- package/dist/production/src/schema/GraphQlSchemaBuilderFactory.js.map +1 -1
- package/dist/production/src/schema/MutationProvider.cjs +38 -16
- package/dist/production/src/schema/MutationProvider.cjs.map +1 -1
- package/dist/production/src/schema/MutationProvider.js +38 -16
- package/dist/production/src/schema/MutationProvider.js.map +1 -1
- package/dist/production/src/schema/OrderByTypeProvider.cjs +8 -2
- package/dist/production/src/schema/OrderByTypeProvider.cjs.map +1 -1
- package/dist/production/src/schema/OrderByTypeProvider.js +9 -3
- package/dist/production/src/schema/OrderByTypeProvider.js.map +1 -1
- package/dist/production/src/schema/QueryProvider.cjs +12 -11
- package/dist/production/src/schema/QueryProvider.cjs.map +1 -1
- package/dist/production/src/schema/QueryProvider.js +12 -11
- package/dist/production/src/schema/QueryProvider.js.map +1 -1
- package/dist/production/src/schema/ValidationQueriesProvider.cjs +2 -0
- package/dist/production/src/schema/ValidationQueriesProvider.cjs.map +1 -1
- package/dist/production/src/schema/ValidationQueriesProvider.js +2 -0
- package/dist/production/src/schema/ValidationQueriesProvider.js.map +1 -1
- package/dist/production/src/schema/WhereTypeProvider.cjs +17 -5
- package/dist/production/src/schema/WhereTypeProvider.cjs.map +1 -1
- package/dist/production/src/schema/WhereTypeProvider.js +18 -6
- package/dist/production/src/schema/WhereTypeProvider.js.map +1 -1
- package/dist/production/src/schema/calendarDate.cjs +21 -0
- package/dist/production/src/schema/calendarDate.cjs.map +1 -0
- package/dist/production/src/schema/calendarDate.js +21 -0
- package/dist/production/src/schema/calendarDate.js.map +1 -0
- package/dist/production/src/schema/entities/FieldTypeVisitor.cjs +15 -2
- package/dist/production/src/schema/entities/FieldTypeVisitor.cjs.map +1 -1
- package/dist/production/src/schema/entities/FieldTypeVisitor.js +15 -2
- package/dist/production/src/schema/entities/FieldTypeVisitor.js.map +1 -1
- package/dist/production/src/schema/mutations/CreateEntityInputFieldVisitor.cjs +11 -3
- package/dist/production/src/schema/mutations/CreateEntityInputFieldVisitor.cjs.map +1 -1
- package/dist/production/src/schema/mutations/CreateEntityInputFieldVisitor.js +11 -3
- package/dist/production/src/schema/mutations/CreateEntityInputFieldVisitor.js.map +1 -1
- package/dist/production/src/schema/mutations/UpdateEntityInputFieldVisitor.cjs +11 -3
- package/dist/production/src/schema/mutations/UpdateEntityInputFieldVisitor.cjs.map +1 -1
- package/dist/production/src/schema/mutations/UpdateEntityInputFieldVisitor.js +11 -3
- package/dist/production/src/schema/mutations/UpdateEntityInputFieldVisitor.js.map +1 -1
- package/dist/production/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.cjs +39 -2
- package/dist/production/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.cjs.map +1 -1
- package/dist/production/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js +40 -3
- package/dist/production/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js.map +1 -1
- package/dist/production/src/schema/utils.cjs +10 -0
- package/dist/production/src/schema/utils.cjs.map +1 -1
- package/dist/production/src/schema/utils.js +11 -1
- package/dist/production/src/schema/utils.js.map +1 -1
- package/dist/production/src/schema-json/GraphQLJsBridge.cjs +108 -0
- package/dist/production/src/schema-json/GraphQLJsBridge.cjs.map +1 -0
- package/dist/production/src/schema-json/GraphQLJsBridge.js +108 -0
- package/dist/production/src/schema-json/GraphQLJsBridge.js.map +1 -0
- package/dist/production/src/schema-json/JsonColumnTypes.cjs +102 -0
- package/dist/production/src/schema-json/JsonColumnTypes.cjs.map +1 -0
- package/dist/production/src/schema-json/JsonColumnTypes.js +102 -0
- package/dist/production/src/schema-json/JsonColumnTypes.js.map +1 -0
- package/dist/production/src/schema-json/JsonContentSchemaBuilder.cjs +418 -0
- package/dist/production/src/schema-json/JsonContentSchemaBuilder.cjs.map +1 -0
- package/dist/production/src/schema-json/JsonContentSchemaBuilder.js +418 -0
- package/dist/production/src/schema-json/JsonContentSchemaBuilder.js.map +1 -0
- package/dist/production/src/schema-json/JsonContentSchemaShared.cjs +18 -0
- package/dist/production/src/schema-json/JsonContentSchemaShared.cjs.map +1 -0
- package/dist/production/src/schema-json/JsonContentSchemaShared.js +18 -0
- package/dist/production/src/schema-json/JsonContentSchemaShared.js.map +1 -0
- package/dist/production/src/schema-json/JsonEntityTypes.cjs +206 -0
- package/dist/production/src/schema-json/JsonEntityTypes.cjs.map +1 -0
- package/dist/production/src/schema-json/JsonEntityTypes.js +206 -0
- package/dist/production/src/schema-json/JsonEntityTypes.js.map +1 -0
- package/dist/production/src/schema-json/JsonFilterTypes.cjs +152 -0
- package/dist/production/src/schema-json/JsonFilterTypes.cjs.map +1 -0
- package/dist/production/src/schema-json/JsonFilterTypes.js +152 -0
- package/dist/production/src/schema-json/JsonFilterTypes.js.map +1 -0
- package/dist/production/src/schema-json/JsonInputTypes.cjs +256 -0
- package/dist/production/src/schema-json/JsonInputTypes.cjs.map +1 -0
- package/dist/production/src/schema-json/JsonInputTypes.js +256 -0
- package/dist/production/src/schema-json/JsonInputTypes.js.map +1 -0
- package/dist/production/src/schema-json/JsonIntrospectionExtension.cjs +36 -0
- package/dist/production/src/schema-json/JsonIntrospectionExtension.cjs.map +1 -0
- package/dist/production/src/schema-json/JsonIntrospectionExtension.js +36 -0
- package/dist/production/src/schema-json/JsonIntrospectionExtension.js.map +1 -0
- package/dist/production/src/schema-json/JsonQueryAstFactory.cjs +107 -0
- package/dist/production/src/schema-json/JsonQueryAstFactory.cjs.map +1 -0
- package/dist/production/src/schema-json/JsonQueryAstFactory.js +107 -0
- package/dist/production/src/schema-json/JsonQueryAstFactory.js.map +1 -0
- package/dist/production/src/schema-json/JsonTypeRegistry.cjs +230 -0
- package/dist/production/src/schema-json/JsonTypeRegistry.cjs.map +1 -0
- package/dist/production/src/schema-json/JsonTypeRegistry.js +230 -0
- package/dist/production/src/schema-json/JsonTypeRegistry.js.map +1 -0
- package/dist/production/src/utils/ResolveInfoUtils.cjs.map +1 -1
- package/dist/production/src/utils/ResolveInfoUtils.js.map +1 -1
- package/dist/production/src/utils/uniqueWhereFields.cjs +10 -0
- package/dist/production/src/utils/uniqueWhereFields.cjs.map +1 -1
- package/dist/production/src/utils/uniqueWhereFields.js +10 -0
- package/dist/production/src/utils/uniqueWhereFields.js.map +1 -1
- package/dist/tests/cases/integration/graphQlRequests/delete/acl/throughScope.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/delete/acl/throughScope.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/insert/acl/throughScope.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/insert/acl/throughScope.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/insert/memoryBudget.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/insert/memoryBudget.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/hasManyCellPredicate.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/hasManyCellPredicate.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/impliedReadGuard.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/impliedReadGuard.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/internalColumnAliases.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/internalColumnAliases.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/manyHasManyGuardedJoin.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/manyHasManyGuardedJoin.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/maskedRelationField.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/maskedRelationField.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/mergedRolePredicate.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/mergedRolePredicate.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/metaReadableThroughContext.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/metaReadableThroughContext.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/negationAcrossSubquery.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/negationAcrossSubquery.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/nonAdjacentBackReference.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/nonAdjacentBackReference.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/notOverGuardedHop.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/notOverGuardedHop.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/notOverOrCellPredicate.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/notOverOrCellPredicate.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/orderByCellPredicate.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/orderByCellPredicate.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/throughScope.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/throughScope.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/throughScopeFilter.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/throughScopeFilter.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/throughScopeNullability.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/acl/throughScopeNullability.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/query/filter/hasOneDataViewFilter.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/query/filter/hasOneDataViewFilter.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/legacyNoRootRootWrites.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/legacyNoRootRootWrites.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScope.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScope.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScopeJunction.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScopeJunction.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScopeLookup.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScopeLookup.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScopeRootWrites.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScopeRootWrites.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScopeUpdate.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/update/acl/throughScopeUpdate.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/update/manyHasManyInverse/set.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/update/manyHasManyInverse/set.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/update/manyHasManyOwning/set.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/update/manyHasManyOwning/set.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/update/oneHasMany/set.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/update/oneHasMany/set.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/upsert/acl/throughScope.test.d.ts +2 -0
- package/dist/tests/cases/integration/graphQlRequests/upsert/acl/throughScope.test.d.ts.map +1 -0
- package/dist/tests/cases/integration/graphQlRequests/validation/utils.d.ts.map +1 -1
- package/dist/tests/cases/integration/graphQlSchema/model.d.ts +1 -1
- package/dist/tests/cases/unit/checkViolationError.test.d.ts +2 -0
- package/dist/tests/cases/unit/checkViolationError.test.d.ts.map +1 -0
- package/dist/tests/cases/unit/dateType.test.d.ts +2 -0
- package/dist/tests/cases/unit/dateType.test.d.ts.map +1 -0
- package/dist/tests/cases/unit/internalColumnAliases.test.d.ts +2 -0
- package/dist/tests/cases/unit/internalColumnAliases.test.d.ts.map +1 -0
- package/dist/tests/cases/unit/introspectionAcl.test.d.ts +2 -0
- package/dist/tests/cases/unit/introspectionAcl.test.d.ts.map +1 -0
- package/dist/tests/cases/unit/mutationSqlError.test.d.ts +2 -0
- package/dist/tests/cases/unit/mutationSqlError.test.d.ts.map +1 -0
- package/dist/tests/cases/unit/pathAlias.test.d.ts +2 -0
- package/dist/tests/cases/unit/pathAlias.test.d.ts.map +1 -0
- package/dist/tests/src/assert.d.ts.map +1 -1
- package/dist/tests/src/tags.d.ts.map +1 -1
- package/dist/tests/src/test.d.ts +12 -0
- package/dist/tests/src/test.d.ts.map +1 -1
- package/dist/tests/src/testGraphql.d.ts +18 -5
- package/dist/tests/src/testGraphql.d.ts.map +1 -1
- package/dist/tests/src/testUuid.d.ts.map +1 -1
- package/dist/tests/tsconfig.tsbuildinfo +1 -1
- package/dist/types/ExecutionContainer.d.ts +4 -2
- package/dist/types/ExecutionContainer.d.ts.map +1 -1
- package/dist/types/acl/AclScope.d.ts +26 -0
- package/dist/types/acl/AclScope.d.ts.map +1 -0
- package/dist/types/acl/Authorizator.d.ts +0 -1
- package/dist/types/acl/Authorizator.d.ts.map +1 -1
- package/dist/types/acl/EvaluatedPredicateReplacer.d.ts +1 -0
- package/dist/types/acl/EvaluatedPredicateReplacer.d.ts.map +1 -1
- package/dist/types/acl/PermissionFactory.d.ts +19 -4
- package/dist/types/acl/PermissionFactory.d.ts.map +1 -1
- package/dist/types/acl/PredicateFactory.d.ts +31 -15
- package/dist/types/acl/PredicateFactory.d.ts.map +1 -1
- package/dist/types/acl/PredicatesInjector.d.ts +66 -12
- package/dist/types/acl/PredicatesInjector.d.ts.map +1 -1
- package/dist/types/acl/VariableInjector.d.ts.map +1 -1
- package/dist/types/acl/VariableUtils.d.ts.map +1 -1
- package/dist/types/acl/index.d.ts +1 -0
- package/dist/types/acl/index.d.ts.map +1 -1
- package/dist/types/exception.d.ts.map +1 -1
- package/dist/types/extensions/hasManyToHasOneReducer/HasManyToHasOneReducer.d.ts.map +1 -1
- package/dist/types/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.d.ts +3 -1
- package/dist/types/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.d.ts.map +1 -1
- package/dist/types/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.d.ts.map +1 -1
- package/dist/types/extensions/paginatedHasMany/PaginatedHasManyCountVisitor.d.ts.map +1 -1
- package/dist/types/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.d.ts +3 -1
- package/dist/types/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.d.ts.map +1 -1
- package/dist/types/extensions/paginatedHasMany/PaginatedHasManyFieldProvider.d.ts.map +1 -1
- package/dist/types/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.d.ts.map +1 -1
- package/dist/types/extensions/paginatedHasMany/PaginatedHasManyNodesVisitor.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/input-validation/ColumnValueResolver.d.ts.map +1 -1
- package/dist/types/input-validation/EntityRulesResolver.d.ts.map +1 -1
- package/dist/types/input-validation/JsonSchemaValidator.d.ts.map +1 -1
- package/dist/types/input-validation/QueryAstFactory.d.ts.map +1 -1
- package/dist/types/input-validation/ValidationContext.d.ts.map +1 -1
- package/dist/types/input-validation/ValidationDataSelector.d.ts +2 -1
- package/dist/types/input-validation/ValidationDataSelector.d.ts.map +1 -1
- package/dist/types/input-validation/ValidationEvaluation.d.ts.map +1 -1
- package/dist/types/input-validation/ValidationPath.d.ts.map +1 -1
- package/dist/types/input-validation/dependencies/DependencyCollector.d.ts.map +1 -1
- package/dist/types/input-validation/dependencies/DependencyMerger.d.ts.map +1 -1
- package/dist/types/input-validation/preValidation/CreateInputPreValidationProcessor.d.ts.map +1 -1
- package/dist/types/input-validation/preValidation/InputPreValidator.d.ts.map +1 -1
- package/dist/types/input-validation/preValidation/UpdateInputPreValidationProcessor.d.ts +6 -0
- package/dist/types/input-validation/preValidation/UpdateInputPreValidationProcessor.d.ts.map +1 -1
- package/dist/types/inputProcessing/CreateInputVisitor.d.ts.map +1 -1
- package/dist/types/inputProcessing/FieldNode.d.ts.map +1 -1
- package/dist/types/inputProcessing/ObjectNode.d.ts.map +1 -1
- package/dist/types/inputProcessing/UniqueWhereExpander.d.ts.map +1 -1
- package/dist/types/inputProcessing/UpdateInputProcessor.d.ts +7 -0
- package/dist/types/inputProcessing/UpdateInputProcessor.d.ts.map +1 -1
- package/dist/types/inputProcessing/UpdateInputVisitor.d.ts +2 -0
- package/dist/types/inputProcessing/UpdateInputVisitor.d.ts.map +1 -1
- package/dist/types/introspection/IntrospectionSchemaDefinitionFactory.d.ts.map +1 -1
- package/dist/types/introspection/IntrospectionSchemaFactory.d.ts.map +1 -1
- package/dist/types/introspection/introspection.schema.d.ts.map +1 -1
- package/dist/types/mapper/CheckedPrimary.d.ts.map +1 -1
- package/dist/types/mapper/ColumnValue.d.ts.map +1 -1
- package/dist/types/mapper/Constraints.d.ts.map +1 -1
- package/dist/types/mapper/ErrorUtils.d.ts.map +1 -1
- package/dist/types/mapper/EventManager.d.ts +9 -9
- package/dist/types/mapper/EventManager.d.ts.map +1 -1
- package/dist/types/mapper/JunctionTableManager.d.ts +17 -5
- package/dist/types/mapper/JunctionTableManager.d.ts.map +1 -1
- package/dist/types/mapper/Mapper.d.ts +26 -13
- package/dist/types/mapper/Mapper.d.ts.map +1 -1
- package/dist/types/mapper/MapperFactory.d.ts +3 -2
- package/dist/types/mapper/MapperFactory.d.ts.map +1 -1
- package/dist/types/mapper/MutationProcessorHelper.d.ts +3 -0
- package/dist/types/mapper/MutationProcessorHelper.d.ts.map +1 -1
- package/dist/types/mapper/Result.d.ts +2 -1
- package/dist/types/mapper/Result.d.ts.map +1 -1
- package/dist/types/mapper/delete/DeleteExecutor.d.ts +6 -2
- package/dist/types/mapper/delete/DeleteExecutor.d.ts.map +1 -1
- package/dist/types/mapper/delete/DeleteState.d.ts.map +1 -1
- package/dist/types/mapper/delete/DeletedEntitiesStorage.d.ts.map +1 -1
- package/dist/types/mapper/delete/helpers.d.ts +1 -1
- package/dist/types/mapper/delete/helpers.d.ts.map +1 -1
- package/dist/types/mapper/insert/InsertBuilder.d.ts +3 -2
- package/dist/types/mapper/insert/InsertBuilder.d.ts.map +1 -1
- package/dist/types/mapper/insert/InsertBuilderFactory.d.ts +2 -2
- package/dist/types/mapper/insert/InsertBuilderFactory.d.ts.map +1 -1
- package/dist/types/mapper/insert/Inserter.d.ts +2 -1
- package/dist/types/mapper/insert/Inserter.d.ts.map +1 -1
- package/dist/types/mapper/insert/SqlCreateInputProcessor.d.ts +6 -1
- package/dist/types/mapper/insert/SqlCreateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/insert/relations/ManyHasManyCreateInputProcessor.d.ts +7 -2
- package/dist/types/mapper/insert/relations/ManyHasManyCreateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/insert/relations/ManyHasOneCreateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/insert/relations/OneHasManyCreateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.d.ts +1 -1
- package/dist/types/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/select/ConditionBuilder.d.ts.map +1 -1
- package/dist/types/mapper/select/JoinBuilder.d.ts +8 -2
- package/dist/types/mapper/select/JoinBuilder.d.ts.map +1 -1
- package/dist/types/mapper/select/JoinVisitor.d.ts.map +1 -1
- package/dist/types/mapper/select/OrderByBuilder.d.ts +18 -2
- package/dist/types/mapper/select/OrderByBuilder.d.ts.map +1 -1
- package/dist/types/mapper/select/OrderByHelper.d.ts +2 -0
- package/dist/types/mapper/select/OrderByHelper.d.ts.map +1 -1
- package/dist/types/mapper/select/Path.d.ts +12 -0
- package/dist/types/mapper/select/Path.d.ts.map +1 -1
- package/dist/types/mapper/select/RelationFetcher.d.ts.map +1 -1
- package/dist/types/mapper/select/SelectBuilder.d.ts.map +1 -1
- package/dist/types/mapper/select/SelectExecutionHandler.d.ts +5 -0
- package/dist/types/mapper/select/SelectExecutionHandler.d.ts.map +1 -1
- package/dist/types/mapper/select/SelectHydrator.d.ts +10 -1
- package/dist/types/mapper/select/SelectHydrator.d.ts.map +1 -1
- package/dist/types/mapper/select/WhereBuilder.d.ts +33 -1
- package/dist/types/mapper/select/WhereBuilder.d.ts.map +1 -1
- package/dist/types/mapper/select/getFieldReadPredicate.d.ts +4 -0
- package/dist/types/mapper/select/getFieldReadPredicate.d.ts.map +1 -0
- package/dist/types/mapper/select/handlers/FieldsVisitor.d.ts +0 -1
- package/dist/types/mapper/select/handlers/FieldsVisitor.d.ts.map +1 -1
- package/dist/types/mapper/select/handlers/FieldsVisitorFactory.d.ts.map +1 -1
- package/dist/types/mapper/select/handlers/MetaHandler.d.ts.map +1 -1
- package/dist/types/mapper/select/index.d.ts +1 -0
- package/dist/types/mapper/select/index.d.ts.map +1 -1
- package/dist/types/mapper/select/optimizer/ConditionOptimizer.d.ts.map +1 -1
- package/dist/types/mapper/select/optimizer/WhereOptimizer.d.ts +36 -0
- package/dist/types/mapper/select/optimizer/WhereOptimizer.d.ts.map +1 -1
- package/dist/types/mapper/select/optimizer/WhereReplacer.d.ts.map +1 -1
- package/dist/types/mapper/select/optimizer/helpers.d.ts +1 -1
- package/dist/types/mapper/select/optimizer/helpers.d.ts.map +1 -1
- package/dist/types/mapper/types.d.ts +8 -1
- package/dist/types/mapper/types.d.ts.map +1 -1
- package/dist/types/mapper/update/SqlUpdateInputProcessor.d.ts +6 -1
- package/dist/types/mapper/update/SqlUpdateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/update/UpdateBuilder.d.ts +18 -2
- package/dist/types/mapper/update/UpdateBuilder.d.ts.map +1 -1
- package/dist/types/mapper/update/UpdateBuilderFactory.d.ts +2 -2
- package/dist/types/mapper/update/UpdateBuilderFactory.d.ts.map +1 -1
- package/dist/types/mapper/update/Updater.d.ts +3 -2
- package/dist/types/mapper/update/Updater.d.ts.map +1 -1
- package/dist/types/mapper/update/relations/ManyHasManyUpdateInputProcessor.d.ts +15 -3
- package/dist/types/mapper/update/relations/ManyHasManyUpdateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/update/relations/ManyHasOneUpdateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/update/relations/OneHasManyUpdateInputProcessor.d.ts +5 -0
- package/dist/types/mapper/update/relations/OneHasManyUpdateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.d.ts.map +1 -1
- package/dist/types/mapper/update/relations/SetManyRelationHelper.d.ts +67 -0
- package/dist/types/mapper/update/relations/SetManyRelationHelper.d.ts.map +1 -0
- package/dist/types/resolvers/GraphQlQueryAstFactory.d.ts +4 -3
- package/dist/types/resolvers/GraphQlQueryAstFactory.d.ts.map +1 -1
- package/dist/types/resolvers/MutationResolver.d.ts +14 -11
- package/dist/types/resolvers/MutationResolver.d.ts.map +1 -1
- package/dist/types/resolvers/ReadHelpers.d.ts +1 -2
- package/dist/types/resolvers/ReadHelpers.d.ts.map +1 -1
- package/dist/types/resolvers/ReadResolver.d.ts +8 -10
- package/dist/types/resolvers/ReadResolver.d.ts.map +1 -1
- package/dist/types/resolvers/RefreshViewResolver.d.ts.map +1 -1
- package/dist/types/resolvers/ValidationResolver.d.ts.map +1 -1
- package/dist/types/schema/ColumnTypeResolver.d.ts.map +1 -1
- package/dist/types/schema/ConditionTypeProvider.d.ts.map +1 -1
- package/dist/types/schema/CustomTypesProvider.d.ts.map +1 -1
- package/dist/types/schema/EntityTypeProvider.d.ts +2 -1
- package/dist/types/schema/EntityTypeProvider.d.ts.map +1 -1
- package/dist/types/schema/EnumsProvider.d.ts.map +1 -1
- package/dist/types/schema/FieldAccessVisitor.d.ts.map +1 -1
- package/dist/types/schema/GraphQlSchemaBuilder.d.ts.map +1 -1
- package/dist/types/schema/GraphQlSchemaBuilderFactory.d.ts +10 -2
- package/dist/types/schema/GraphQlSchemaBuilderFactory.d.ts.map +1 -1
- package/dist/types/schema/MutationProvider.d.ts +7 -1
- package/dist/types/schema/MutationProvider.d.ts.map +1 -1
- package/dist/types/schema/OperationExtension.d.ts.map +1 -1
- package/dist/types/schema/OrderByTypeProvider.d.ts.map +1 -1
- package/dist/types/schema/PaginatedFieldConfigFactory.d.ts.map +1 -1
- package/dist/types/schema/QueryProvider.d.ts +2 -1
- package/dist/types/schema/QueryProvider.d.ts.map +1 -1
- package/dist/types/schema/RefreshViewMutationProvider.d.ts.map +1 -1
- package/dist/types/schema/ValidationQueriesProvider.d.ts.map +1 -1
- package/dist/types/schema/WhereTypeProvider.d.ts.map +1 -1
- package/dist/types/schema/calendarDate.d.ts +6 -0
- package/dist/types/schema/calendarDate.d.ts.map +1 -0
- package/dist/types/schema/entities/FieldArgsVisitor.d.ts.map +1 -1
- package/dist/types/schema/entities/FieldTypeVisitor.d.ts +4 -1
- package/dist/types/schema/entities/FieldTypeVisitor.d.ts.map +1 -1
- package/dist/types/schema/index.d.ts +1 -0
- package/dist/types/schema/index.d.ts.map +1 -1
- package/dist/types/schema/mutations/ConnectOrCreateRelationInputProvider.d.ts.map +1 -1
- package/dist/types/schema/mutations/CreateEntityInputFieldVisitor.d.ts.map +1 -1
- package/dist/types/schema/mutations/CreateEntityRelationAllowedOperationsVisitor.d.ts.map +1 -1
- package/dist/types/schema/mutations/CreateEntityRelationInputFieldVisitor.d.ts.map +1 -1
- package/dist/types/schema/mutations/CreateEntityRelationInputProvider.d.ts.map +1 -1
- package/dist/types/schema/mutations/EntityInputProvider.d.ts.map +1 -1
- package/dist/types/schema/mutations/UpdateEntityInputFieldVisitor.d.ts +3 -0
- package/dist/types/schema/mutations/UpdateEntityInputFieldVisitor.d.ts.map +1 -1
- package/dist/types/schema/mutations/UpdateEntityRelationAllowedOperationsVisitor.d.ts.map +1 -1
- package/dist/types/schema/mutations/UpdateEntityRelationInputFieldVisitor.d.ts +1 -0
- package/dist/types/schema/mutations/UpdateEntityRelationInputFieldVisitor.d.ts.map +1 -1
- package/dist/types/schema/mutations/UpdateEntityRelationInputProvider.d.ts.map +1 -1
- package/dist/types/schema/utils.d.ts +7 -0
- package/dist/types/schema/utils.d.ts.map +1 -1
- package/dist/types/schema-json/GraphQLJsBridge.d.ts +12 -0
- package/dist/types/schema-json/GraphQLJsBridge.d.ts.map +1 -0
- package/dist/types/schema-json/JsonColumnTypes.d.ts +23 -0
- package/dist/types/schema-json/JsonColumnTypes.d.ts.map +1 -0
- package/dist/types/schema-json/JsonContentSchemaBuilder.d.ts +56 -0
- package/dist/types/schema-json/JsonContentSchemaBuilder.d.ts.map +1 -0
- package/dist/types/schema-json/JsonContentSchemaShared.d.ts +19 -0
- package/dist/types/schema-json/JsonContentSchemaShared.d.ts.map +1 -0
- package/dist/types/schema-json/JsonEntityTypes.d.ts +29 -0
- package/dist/types/schema-json/JsonEntityTypes.d.ts.map +1 -0
- package/dist/types/schema-json/JsonFilterTypes.d.ts +21 -0
- package/dist/types/schema-json/JsonFilterTypes.d.ts.map +1 -0
- package/dist/types/schema-json/JsonInputTypes.d.ts +36 -0
- package/dist/types/schema-json/JsonInputTypes.d.ts.map +1 -0
- package/dist/types/schema-json/JsonIntrospectionExtension.d.ts +5 -0
- package/dist/types/schema-json/JsonIntrospectionExtension.d.ts.map +1 -0
- package/dist/types/schema-json/JsonQueryAstFactory.d.ts +18 -0
- package/dist/types/schema-json/JsonQueryAstFactory.d.ts.map +1 -0
- package/dist/types/schema-json/JsonTypeRegistry.d.ts +57 -0
- package/dist/types/schema-json/JsonTypeRegistry.d.ts.map +1 -0
- package/dist/types/schema-json/index.d.ts +7 -0
- package/dist/types/schema-json/index.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/utils/Mutex.d.ts.map +1 -1
- package/dist/types/utils/ResolveInfoUtils.d.ts +4 -2
- package/dist/types/utils/ResolveInfoUtils.d.ts.map +1 -1
- package/dist/types/utils/accessor.d.ts.map +1 -1
- package/dist/types/utils/isIt.d.ts.map +1 -1
- package/dist/types/utils/paginationUtils.d.ts.map +1 -1
- package/dist/types/utils/promises.d.ts.map +1 -1
- package/dist/types/utils/singletonFactory.d.ts.map +1 -1
- package/dist/types/utils/strings.d.ts.map +1 -1
- package/dist/types/utils/tuple.d.ts.map +1 -1
- package/dist/types/utils/uniqueWhereFields.d.ts.map +1 -1
- package/dist/types/utils/viewComputedId.d.ts.map +1 -1
- package/package.json +11 -10
- package/src/ExecutionContainer.ts +20 -8
- package/src/acl/AclScope.ts +29 -0
- package/src/acl/Authorizator.ts +7 -5
- package/src/acl/EvaluatedPredicateReplacer.ts +6 -2
- package/src/acl/PermissionFactory.ts +68 -104
- package/src/acl/PredicateFactory.ts +131 -28
- package/src/acl/PredicatesInjector.ts +135 -156
- package/src/acl/VariableInjector.ts +8 -3
- package/src/acl/index.ts +1 -0
- package/src/extensions/hasManyToHasOneReducer/HasManyToHasOneReducerExecutionHandler.ts +14 -3
- package/src/extensions/hasManyToHasOneReducer/HasManyToHasOneRelationReducerVisitor.ts +3 -0
- package/src/extensions/paginatedHasMany/PaginatedHasManyExecutionHandler.ts +10 -2
- package/src/extensions/paginatedHasMany/PaginatedHasManyFieldProviderVisitor.ts +9 -7
- package/src/index.ts +1 -0
- package/src/input-validation/ValidationDataSelector.ts +3 -2
- package/src/input-validation/preValidation/UpdateInputPreValidationProcessor.ts +29 -0
- package/src/inputProcessing/UpdateInputProcessor.ts +6 -0
- package/src/inputProcessing/UpdateInputVisitor.ts +64 -2
- package/src/introspection/IntrospectionSchemaFactory.ts +13 -6
- package/src/mapper/ErrorUtils.ts +22 -1
- package/src/mapper/JunctionTableManager.ts +28 -6
- package/src/mapper/Mapper.ts +137 -29
- package/src/mapper/MapperFactory.ts +7 -3
- package/src/mapper/MutationProcessorHelper.ts +14 -0
- package/src/mapper/Result.ts +1 -0
- package/src/mapper/delete/DeleteExecutor.ts +13 -7
- package/src/mapper/insert/InsertBuilder.ts +3 -2
- package/src/mapper/insert/InsertBuilderFactory.ts +3 -3
- package/src/mapper/insert/Inserter.ts +4 -2
- package/src/mapper/insert/SqlCreateInputProcessor.ts +4 -1
- package/src/mapper/insert/relations/ManyHasManyCreateInputProcessor.ts +10 -7
- package/src/mapper/insert/relations/ManyHasOneCreateInputProcessor.ts +4 -4
- package/src/mapper/insert/relations/OneHasManyCreateInputProcessor.ts +3 -3
- package/src/mapper/insert/relations/OneHasOneInverseCreateInputProcessor.ts +7 -7
- package/src/mapper/insert/relations/OneHasOneOwningCreateInputProcessor.ts +6 -6
- package/src/mapper/select/ConditionBuilder.ts +12 -1
- package/src/mapper/select/JoinBuilder.ts +39 -6
- package/src/mapper/select/OrderByBuilder.ts +140 -19
- package/src/mapper/select/OrderByHelper.ts +19 -10
- package/src/mapper/select/Path.ts +36 -5
- package/src/mapper/select/RelationFetcher.ts +7 -9
- package/src/mapper/select/SelectBuilder.ts +12 -20
- package/src/mapper/select/SelectExecutionHandler.ts +5 -0
- package/src/mapper/select/SelectHydrator.ts +113 -31
- package/src/mapper/select/WhereBuilder.ts +322 -50
- package/src/mapper/select/getFieldReadPredicate.ts +12 -0
- package/src/mapper/select/handlers/FieldsVisitor.ts +10 -15
- package/src/mapper/select/handlers/MetaHandler.ts +5 -3
- package/src/mapper/select/index.ts +1 -0
- package/src/mapper/select/optimizer/WhereOptimizer.ts +279 -6
- package/src/mapper/select/optimizer/WhereReplacer.ts +1 -1
- package/src/mapper/types.ts +16 -1
- package/src/mapper/update/SqlUpdateInputProcessor.ts +8 -2
- package/src/mapper/update/UpdateBuilder.ts +41 -3
- package/src/mapper/update/UpdateBuilderFactory.ts +3 -2
- package/src/mapper/update/Updater.ts +11 -4
- package/src/mapper/update/relations/ManyHasManyUpdateInputProcessor.ts +38 -18
- package/src/mapper/update/relations/ManyHasOneUpdateInputProcessor.ts +11 -9
- package/src/mapper/update/relations/OneHasManyUpdateInputProcessor.ts +17 -5
- package/src/mapper/update/relations/OneHasOneInverseUpdateInputProcessor.ts +16 -13
- package/src/mapper/update/relations/OneHasOneOwningUpdateInputProcessor.ts +16 -13
- package/src/mapper/update/relations/SetManyRelationHelper.ts +199 -0
- package/src/resolvers/GraphQlQueryAstFactory.ts +2 -2
- package/src/resolvers/MutationResolver.ts +87 -85
- package/src/resolvers/ReadHelpers.ts +2 -5
- package/src/resolvers/ReadResolver.ts +29 -23
- package/src/schema/CustomTypesProvider.ts +40 -15
- package/src/schema/EntityTypeProvider.ts +10 -5
- package/src/schema/GraphQlSchemaBuilder.ts +18 -7
- package/src/schema/GraphQlSchemaBuilderFactory.ts +24 -8
- package/src/schema/MutationProvider.ts +41 -16
- package/src/schema/OrderByTypeProvider.ts +9 -3
- package/src/schema/QueryProvider.ts +13 -10
- package/src/schema/ValidationQueriesProvider.ts +2 -0
- package/src/schema/WhereTypeProvider.ts +18 -6
- package/src/schema/calendarDate.ts +26 -0
- package/src/schema/entities/FieldTypeVisitor.ts +17 -1
- package/src/schema/index.ts +1 -0
- package/src/schema/mutations/CreateEntityInputFieldVisitor.ts +10 -2
- package/src/schema/mutations/UpdateEntityInputFieldVisitor.ts +10 -2
- package/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.ts +66 -7
- package/src/schema/utils.ts +14 -0
- package/src/schema-json/GraphQLJsBridge.ts +142 -0
- package/src/schema-json/JsonColumnTypes.ts +116 -0
- package/src/schema-json/JsonContentSchemaBuilder.ts +501 -0
- package/src/schema-json/JsonContentSchemaShared.ts +19 -0
- package/src/schema-json/JsonEntityTypes.ts +237 -0
- package/src/schema-json/JsonFilterTypes.ts +159 -0
- package/src/schema-json/JsonInputTypes.ts +305 -0
- package/src/schema-json/JsonIntrospectionExtension.ts +37 -0
- package/src/schema-json/JsonQueryAstFactory.ts +128 -0
- package/src/schema-json/JsonTypeRegistry.ts +286 -0
- package/src/schema-json/index.ts +6 -0
- package/src/tsconfig.json +3 -1
- package/src/utils/ResolveInfoUtils.ts +2 -2
- package/src/utils/uniqueWhereFields.ts +14 -0
- package/tests/cases/bugs/bug102.test.ts +4 -4
- package/tests/cases/integration/graphQlRequests/delete/acl/throughScope.test.ts +320 -0
- package/tests/cases/integration/graphQlRequests/delete/deleteById.test.ts +4 -3
- package/tests/cases/integration/graphQlRequests/insert/acl/throughScope.test.ts +502 -0
- package/tests/cases/integration/graphQlRequests/insert/memoryBudget.test.ts +96 -0
- package/tests/cases/integration/graphQlRequests/query/acl/differentRowAndFieldPredicate.test.ts +4 -4
- package/tests/cases/integration/graphQlRequests/query/acl/fieldRestrictedByLocale.test.ts +12 -10
- package/tests/cases/integration/graphQlRequests/query/acl/hasManyCellPredicate.test.ts +54 -0
- package/tests/cases/integration/graphQlRequests/query/acl/impliedReadGuard.test.ts +142 -0
- package/tests/cases/integration/graphQlRequests/query/acl/internalColumnAliases.test.ts +326 -0
- package/tests/cases/integration/graphQlRequests/query/acl/isNullAcl.test.ts +7 -4
- package/tests/cases/integration/graphQlRequests/query/acl/manyHasManyGuardedJoin.test.ts +64 -0
- package/tests/cases/integration/graphQlRequests/query/acl/maskedRelationField.test.ts +124 -0
- package/tests/cases/integration/graphQlRequests/query/acl/mergedRolePredicate.test.ts +124 -0
- package/tests/cases/integration/graphQlRequests/query/acl/metaReadableThroughContext.test.ts +315 -0
- package/tests/cases/integration/graphQlRequests/query/acl/negationAcrossSubquery.test.ts +55 -0
- package/tests/cases/integration/graphQlRequests/query/acl/nestedPredicate.test.ts +7 -6
- package/tests/cases/integration/graphQlRequests/query/acl/nonAdjacentBackReference.test.ts +141 -0
- package/tests/cases/integration/graphQlRequests/query/acl/notOverGuardedHop.test.ts +320 -0
- package/tests/cases/integration/graphQlRequests/query/acl/notOverOrCellPredicate.test.ts +156 -0
- package/tests/cases/integration/graphQlRequests/query/acl/orderByCellPredicate.test.ts +513 -0
- package/tests/cases/integration/graphQlRequests/query/acl/predicateElimination.test.ts +25 -23
- package/tests/cases/integration/graphQlRequests/query/acl/relationAcl.test.ts +12 -9
- package/tests/cases/integration/graphQlRequests/query/acl/rowPredicateSubset.test.ts +6 -6
- package/tests/cases/integration/graphQlRequests/query/acl/throughScope.test.ts +350 -0
- package/tests/cases/integration/graphQlRequests/query/acl/throughScopeFilter.test.ts +203 -0
- package/tests/cases/integration/graphQlRequests/query/acl/throughScopeNullability.test.ts +127 -0
- package/tests/cases/integration/graphQlRequests/query/filter/backReferencedFilter.test.ts +3 -1
- package/tests/cases/integration/graphQlRequests/query/filter/hasOneDataViewFilter.test.ts +79 -0
- package/tests/cases/integration/graphQlRequests/query/graphqlFeatures/alias.test.ts +46 -3
- package/tests/cases/integration/graphQlRequests/query/graphqlFeatures/fragments.test.ts +8 -8
- package/tests/cases/integration/graphQlRequests/query/misc/reducedHasMany.test.ts +10 -10
- package/tests/cases/integration/graphQlRequests/query/pagination/hasManyLimit.test.ts +54 -8
- package/tests/cases/integration/graphQlRequests/query/pagination/paginate.test.ts +5 -4
- package/tests/cases/integration/graphQlRequests/query/pagination/paginateAliased.test.ts +5 -4
- package/tests/cases/integration/graphQlRequests/query/relations/advanced.test.ts +17 -8
- package/tests/cases/integration/graphQlRequests/query/relations/manyHasManyInverse.test.ts +6 -6
- package/tests/cases/integration/graphQlRequests/query/relations/manyHasManyOwning.test.ts +6 -6
- package/tests/cases/integration/graphQlRequests/query/relations/manyHasOne.test.ts +12 -9
- package/tests/cases/integration/graphQlRequests/query/relations/oneHasMany.test.ts +15 -15
- package/tests/cases/integration/graphQlRequests/query/relations/oneHasOneInverse.test.ts +6 -4
- package/tests/cases/integration/graphQlRequests/query/relations/oneHasOneOwner.test.ts +6 -4
- package/tests/cases/integration/graphQlRequests/query/sorting/defaultOrdering.test.ts +4 -4
- package/tests/cases/integration/graphQlRequests/query/sorting/randomSort.test.ts +108 -4
- package/tests/cases/integration/graphQlRequests/query/sorting/sortedHasMany.test.ts +2 -2
- package/tests/cases/integration/graphQlRequests/query/view/view.test.ts +6 -6
- package/tests/cases/integration/graphQlRequests/update/acl/legacyNoRootRootWrites.test.ts +127 -0
- package/tests/cases/integration/graphQlRequests/update/acl/throughScope.test.ts +89 -0
- package/tests/cases/integration/graphQlRequests/update/acl/throughScopeJunction.test.ts +296 -0
- package/tests/cases/integration/graphQlRequests/update/acl/throughScopeLookup.test.ts +265 -0
- package/tests/cases/integration/graphQlRequests/update/acl/throughScopeRootWrites.test.ts +441 -0
- package/tests/cases/integration/graphQlRequests/update/acl/throughScopeUpdate.test.ts +415 -0
- package/tests/cases/integration/graphQlRequests/update/manyHasManyInverse/set.test.ts +219 -0
- package/tests/cases/integration/graphQlRequests/update/manyHasManyOwning/set.test.ts +479 -0
- package/tests/cases/integration/graphQlRequests/update/oneHasMany/set.test.ts +948 -0
- package/tests/cases/integration/graphQlRequests/upsert/acl/throughScope.test.ts +134 -0
- package/tests/cases/integration/graphQlSchema/graphQlSchemaBuilder.test.ts +247 -26
- package/tests/cases/integration/graphQlSchema/schema-acl-allowed.gql +18 -0
- package/tests/cases/integration/graphQlSchema/schema-acl-create-only.gql +2 -0
- package/tests/cases/integration/graphQlSchema/schema-acl-restricted-create.gql +15 -0
- package/tests/cases/integration/graphQlSchema/schema-acl-restricted-delete.gql +12 -0
- package/tests/cases/integration/graphQlSchema/schema-acl-restricted-read.gql +254 -0
- package/tests/cases/integration/graphQlSchema/schema-acl-restricted-update.gql +2 -0
- package/tests/cases/integration/graphQlSchema/schema-acl.gql +2 -0
- package/tests/cases/integration/graphQlSchema/schema-aliased-type.gql +2 -0
- package/tests/cases/integration/graphQlSchema/schema-array.gql +2 -0
- package/tests/cases/integration/graphQlSchema/schema-basic.gql +51 -0
- package/tests/cases/integration/graphQlSchema/schema-bug-66.gql +18 -0
- package/tests/cases/integration/graphQlSchema/schema-column-types.gql +2 -0
- package/tests/cases/integration/graphQlSchema/schema-custom-primary.gql +51 -0
- package/tests/cases/integration/graphQlSchema/schema-deprecation.gql +962 -0
- package/tests/cases/integration/graphQlSchema/schema-description.gql +992 -0
- package/tests/cases/integration/graphQlSchema/schema-has-many-reduction.gql +18 -0
- package/tests/cases/integration/graphQlSchema/schema-mixed-root-through.gql +266 -0
- package/tests/cases/integration/graphQlSchema/schema-new-builder.gql +51 -0
- package/tests/cases/integration/graphQlSchema/schema-no-root-ops.gql +2 -0
- package/tests/cases/integration/graphQlSchema/schema-not-null-through.gql +201 -0
- package/tests/cases/unit/checkViolationError.test.ts +49 -0
- package/tests/cases/unit/dateType.test.ts +46 -0
- package/tests/cases/unit/decimalType.test.ts +2 -2
- package/tests/cases/unit/internalColumnAliases.test.ts +41 -0
- package/tests/cases/unit/introspectionAcl.test.ts +30 -0
- package/tests/cases/unit/mutationSqlError.test.ts +30 -0
- package/tests/cases/unit/pathAlias.test.ts +26 -0
- package/tests/cases/unit/permissionMerger.test.ts +947 -13
- package/tests/cases/unit/predicatesFactory.test.ts +7 -16
- package/tests/cases/unit/predicatesInjector.test.ts +1046 -183
- package/tests/cases/unit/variableInjector.test.ts +12 -0
- package/tests/cases/unit/whereOptimizer.test.ts +62 -0
- package/tests/src/test.ts +51 -9
- package/tests/src/testGraphql.ts +43 -20
- package/tests/tsconfig.json +1 -0
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
type Query {
|
|
2
|
+
validateCreateOneHasManyEntity(data: OneHasManyEntityCreateInput!): _ValidationResult!
|
|
3
|
+
getRoot(by: RootUniqueWhere!, filter: RootWhere): Root
|
|
4
|
+
listRoot(filter: RootWhere, orderBy: [RootOrderBy!], offset: Int, limit: Int): [Root!]!
|
|
5
|
+
paginateRoot(filter: RootWhere, orderBy: [RootOrderBy!], skip: Int, first: Int): RootConnection!
|
|
6
|
+
validateCreateRoot(data: RootCreateInput!): _ValidationResult!
|
|
7
|
+
validateUpdateRoot(by: RootUniqueWhere!, data: RootUpdateInput!): _ValidationResult!
|
|
8
|
+
transaction: QueryTransaction
|
|
9
|
+
_info: Info
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type _ValidationResult {
|
|
13
|
+
valid: Boolean!
|
|
14
|
+
errors: [_ValidationError!]!
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type _ValidationError {
|
|
18
|
+
path: [_PathFragment!]!
|
|
19
|
+
message: _ValidationMessage!
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
union _PathFragment = _FieldPathFragment | _IndexPathFragment
|
|
23
|
+
|
|
24
|
+
type _FieldPathFragment {
|
|
25
|
+
field: String!
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type _IndexPathFragment {
|
|
29
|
+
index: Int!
|
|
30
|
+
alias: String
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type _ValidationMessage {
|
|
34
|
+
text: String!
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
input OneHasManyEntityCreateInput {
|
|
38
|
+
a: String
|
|
39
|
+
r2: OneHasManyEntityCreateR2EntityRelationInput
|
|
40
|
+
_dummy_field_: Boolean
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
input OneHasManyEntityCreateR2EntityRelationInput {
|
|
44
|
+
connect: RootUniqueWhere
|
|
45
|
+
create: RootWithoutRCreateInput
|
|
46
|
+
connectOrCreate: OneHasManyEntityConnectOrCreateR2RelationInput
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
input RootUniqueWhere {
|
|
50
|
+
id: UUID
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
scalar UUID
|
|
54
|
+
|
|
55
|
+
input RootWithoutRCreateInput {
|
|
56
|
+
_dummy_field_: Boolean
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
input OneHasManyEntityConnectOrCreateR2RelationInput {
|
|
60
|
+
connect: RootUniqueWhere!
|
|
61
|
+
create: RootWithoutRCreateInput!
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
type Root {
|
|
65
|
+
_meta: RootMeta
|
|
66
|
+
id: UUID!
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
type RootMeta {
|
|
70
|
+
id: FieldMeta
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
type FieldMeta {
|
|
74
|
+
readable: Boolean
|
|
75
|
+
updatable: Boolean
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
input RootWhere {
|
|
79
|
+
id: UUIDCondition
|
|
80
|
+
and: [RootWhere]
|
|
81
|
+
or: [RootWhere]
|
|
82
|
+
not: RootWhere
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
input UUIDCondition {
|
|
86
|
+
and: [UUIDCondition!]
|
|
87
|
+
or: [UUIDCondition!]
|
|
88
|
+
not: UUIDCondition
|
|
89
|
+
null: Boolean
|
|
90
|
+
isNull: Boolean
|
|
91
|
+
eq: UUID
|
|
92
|
+
notEq: UUID
|
|
93
|
+
in: [UUID!]
|
|
94
|
+
notIn: [UUID!]
|
|
95
|
+
lt: UUID
|
|
96
|
+
lte: UUID
|
|
97
|
+
gt: UUID
|
|
98
|
+
gte: UUID
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
input RootOrderBy {
|
|
102
|
+
_random: Boolean
|
|
103
|
+
_randomSeeded: Int
|
|
104
|
+
id: OrderDirection
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
enum OrderDirection {
|
|
108
|
+
asc
|
|
109
|
+
desc
|
|
110
|
+
ascNullsFirst
|
|
111
|
+
descNullsLast
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
type RootConnection {
|
|
115
|
+
pageInfo: PageInfo!
|
|
116
|
+
edges: [RootEdge!]!
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
type PageInfo {
|
|
120
|
+
totalCount: Int!
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
type RootEdge {
|
|
124
|
+
node: Root!
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
input RootCreateInput {
|
|
128
|
+
r: [RootCreateREntityRelationInput!]
|
|
129
|
+
_dummy_field_: Boolean
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
input RootCreateREntityRelationInput {
|
|
133
|
+
create: OneHasManyEntityWithoutR2CreateInput
|
|
134
|
+
alias: String
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
input OneHasManyEntityWithoutR2CreateInput {
|
|
138
|
+
a: String
|
|
139
|
+
_dummy_field_: Boolean
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
input RootUpdateInput {
|
|
143
|
+
r: [RootUpdateREntityRelationInput!]
|
|
144
|
+
_dummy_field_: Boolean
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
input RootUpdateREntityRelationInput {
|
|
148
|
+
create: OneHasManyEntityWithoutR2CreateInput
|
|
149
|
+
alias: String
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
type QueryTransaction {
|
|
153
|
+
validateCreateOneHasManyEntity(data: OneHasManyEntityCreateInput!): _ValidationResult!
|
|
154
|
+
getRoot(by: RootUniqueWhere!, filter: RootWhere): Root
|
|
155
|
+
listRoot(filter: RootWhere, orderBy: [RootOrderBy!], offset: Int, limit: Int): [Root!]!
|
|
156
|
+
paginateRoot(filter: RootWhere, orderBy: [RootOrderBy!], skip: Int, first: Int): RootConnection!
|
|
157
|
+
validateCreateRoot(data: RootCreateInput!): _ValidationResult!
|
|
158
|
+
validateUpdateRoot(by: RootUniqueWhere!, data: RootUpdateInput!): _ValidationResult!
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
type Info {
|
|
162
|
+
description: String
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
type Mutation {
|
|
166
|
+
createOneHasManyEntity(data: OneHasManyEntityCreateInput!): OneHasManyEntityCreateResult!
|
|
167
|
+
createRoot(data: RootCreateInput!): RootCreateResult!
|
|
168
|
+
deleteRoot(by: RootUniqueWhere!, filter: RootWhere): RootDeleteResult!
|
|
169
|
+
updateRoot(by: RootUniqueWhere!, filter: RootWhere, data: RootUpdateInput!): RootUpdateResult!
|
|
170
|
+
upsertRoot(by: RootUniqueWhere!, filter: RootWhere, update: RootUpdateInput!, create: RootCreateInput!): RootUpsertResult!
|
|
171
|
+
transaction(options: MutationTransactionOptions): MutationTransaction!
|
|
172
|
+
query: Query!
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
type OneHasManyEntityCreateResult implements MutationResult {
|
|
176
|
+
ok: Boolean!
|
|
177
|
+
errorMessage: String
|
|
178
|
+
errors: [_MutationError!]!
|
|
179
|
+
validation: _ValidationResult!
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
interface MutationResult {
|
|
183
|
+
ok: Boolean!
|
|
184
|
+
errorMessage: String
|
|
185
|
+
errors: [_MutationError!]!
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
type _MutationError {
|
|
189
|
+
path: [_PathFragment!]! @deprecated(reason: "Use `paths`.")
|
|
190
|
+
paths: [[_PathFragment!]!]!
|
|
191
|
+
type: _MutationErrorType!
|
|
192
|
+
message: String
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
enum _MutationErrorType {
|
|
196
|
+
NotNullConstraintViolation
|
|
197
|
+
UniqueConstraintViolation
|
|
198
|
+
ForeignKeyConstraintViolation
|
|
199
|
+
CheckConstraintViolation
|
|
200
|
+
NotFoundOrDenied
|
|
201
|
+
NonUniqueWhereInput
|
|
202
|
+
InvalidDataInput
|
|
203
|
+
SqlError
|
|
204
|
+
ResourceExhausted
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
type RootCreateResult implements MutationResult {
|
|
208
|
+
ok: Boolean!
|
|
209
|
+
errorMessage: String
|
|
210
|
+
errors: [_MutationError!]!
|
|
211
|
+
node: Root
|
|
212
|
+
validation: _ValidationResult!
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
type RootDeleteResult implements MutationResult {
|
|
216
|
+
ok: Boolean!
|
|
217
|
+
errorMessage: String
|
|
218
|
+
errors: [_MutationError!]!
|
|
219
|
+
node: Root
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
type RootUpdateResult implements MutationResult {
|
|
223
|
+
ok: Boolean!
|
|
224
|
+
errorMessage: String
|
|
225
|
+
errors: [_MutationError!]!
|
|
226
|
+
node: Root
|
|
227
|
+
validation: _ValidationResult!
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
type RootUpsertResult implements MutationResult {
|
|
231
|
+
ok: Boolean!
|
|
232
|
+
errorMessage: String
|
|
233
|
+
errors: [_MutationError!]!
|
|
234
|
+
node: Root
|
|
235
|
+
validation: _ValidationResult!
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
type MutationTransaction {
|
|
239
|
+
ok: Boolean!
|
|
240
|
+
errorMessage: String
|
|
241
|
+
errors: [_MutationError!]!
|
|
242
|
+
validation: _ValidationResult!
|
|
243
|
+
createOneHasManyEntity(data: OneHasManyEntityCreateInput!): OneHasManyEntityCreateResult!
|
|
244
|
+
createRoot(data: RootCreateInput!): RootCreateResult!
|
|
245
|
+
deleteRoot(by: RootUniqueWhere!, filter: RootWhere): RootDeleteResult!
|
|
246
|
+
updateRoot(by: RootUniqueWhere!, filter: RootWhere, data: RootUpdateInput!): RootUpdateResult!
|
|
247
|
+
upsertRoot(by: RootUniqueWhere!, filter: RootWhere, update: RootUpdateInput!, create: RootCreateInput!): RootUpsertResult!
|
|
248
|
+
query: Query
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
input MutationTransactionOptions {
|
|
252
|
+
deferForeignKeyConstraints: Boolean
|
|
253
|
+
deferUniqueConstraints: Boolean
|
|
254
|
+
}
|
|
@@ -282,10 +282,12 @@ enum _MutationErrorType {
|
|
|
282
282
|
NotNullConstraintViolation
|
|
283
283
|
UniqueConstraintViolation
|
|
284
284
|
ForeignKeyConstraintViolation
|
|
285
|
+
CheckConstraintViolation
|
|
285
286
|
NotFoundOrDenied
|
|
286
287
|
NonUniqueWhereInput
|
|
287
288
|
InvalidDataInput
|
|
288
289
|
SqlError
|
|
290
|
+
ResourceExhausted
|
|
289
291
|
}
|
|
290
292
|
|
|
291
293
|
type OneHasManyEntityDeleteResult implements MutationResult {
|
|
@@ -185,10 +185,12 @@ enum _MutationErrorType {
|
|
|
185
185
|
NotNullConstraintViolation
|
|
186
186
|
UniqueConstraintViolation
|
|
187
187
|
ForeignKeyConstraintViolation
|
|
188
|
+
CheckConstraintViolation
|
|
188
189
|
NotFoundOrDenied
|
|
189
190
|
NonUniqueWhereInput
|
|
190
191
|
InvalidDataInput
|
|
191
192
|
SqlError
|
|
193
|
+
ResourceExhausted
|
|
192
194
|
}
|
|
193
195
|
|
|
194
196
|
type TestUpdateResult implements MutationResult {
|
|
@@ -188,10 +188,12 @@ enum _MutationErrorType {
|
|
|
188
188
|
NotNullConstraintViolation
|
|
189
189
|
UniqueConstraintViolation
|
|
190
190
|
ForeignKeyConstraintViolation
|
|
191
|
+
CheckConstraintViolation
|
|
191
192
|
NotFoundOrDenied
|
|
192
193
|
NonUniqueWhereInput
|
|
193
194
|
InvalidDataInput
|
|
194
195
|
SqlError
|
|
196
|
+
ResourceExhausted
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
type AuthorDeleteResult implements MutationResult {
|
|
@@ -210,10 +210,12 @@ enum _MutationErrorType {
|
|
|
210
210
|
NotNullConstraintViolation
|
|
211
211
|
UniqueConstraintViolation
|
|
212
212
|
ForeignKeyConstraintViolation
|
|
213
|
+
CheckConstraintViolation
|
|
213
214
|
NotFoundOrDenied
|
|
214
215
|
NonUniqueWhereInput
|
|
215
216
|
InvalidDataInput
|
|
216
217
|
SqlError
|
|
218
|
+
ResourceExhausted
|
|
217
219
|
}
|
|
218
220
|
|
|
219
221
|
type FooDeleteResult implements MutationResult {
|
|
@@ -395,6 +395,8 @@ input AuthorUpdatePostsEntityRelationInput {
|
|
|
395
395
|
connectOrCreate: AuthorConnectOrCreatePostsRelationInput
|
|
396
396
|
disconnect: PostUniqueWhere
|
|
397
397
|
delete: PostUniqueWhere
|
|
398
|
+
set: [AuthorSetPostsItemRelationInput!]
|
|
399
|
+
orphanStrategy: OrphanRemovalStrategy
|
|
398
400
|
alias: String
|
|
399
401
|
}
|
|
400
402
|
|
|
@@ -418,6 +420,8 @@ input PostUpdateLocalesEntityRelationInput {
|
|
|
418
420
|
connectOrCreate: PostConnectOrCreateLocalesRelationInput
|
|
419
421
|
disconnect: PostLocaleUniqueWhere
|
|
420
422
|
delete: PostLocaleUniqueWhere
|
|
423
|
+
set: [PostSetLocalesItemRelationInput!]
|
|
424
|
+
orphanStrategy: OrphanRemovalStrategy
|
|
421
425
|
alias: String
|
|
422
426
|
}
|
|
423
427
|
|
|
@@ -437,6 +441,20 @@ input PostUpsertLocalesRelationInput {
|
|
|
437
441
|
create: PostLocaleWithoutPostCreateInput!
|
|
438
442
|
}
|
|
439
443
|
|
|
444
|
+
input PostSetLocalesItemRelationInput {
|
|
445
|
+
create: PostLocaleWithoutPostCreateInput
|
|
446
|
+
connect: PostLocaleUniqueWhere
|
|
447
|
+
connectOrCreate: PostConnectOrCreateLocalesRelationInput
|
|
448
|
+
update: PostUpdateLocalesRelationInput
|
|
449
|
+
upsert: PostUpsertLocalesRelationInput
|
|
450
|
+
alias: String
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
enum OrphanRemovalStrategy {
|
|
454
|
+
disconnect
|
|
455
|
+
delete
|
|
456
|
+
}
|
|
457
|
+
|
|
440
458
|
input PostUpdateCategoriesEntityRelationInput {
|
|
441
459
|
create: CategoryWithoutPostsCreateInput
|
|
442
460
|
update: PostUpdateCategoriesRelationInput
|
|
@@ -445,6 +463,8 @@ input PostUpdateCategoriesEntityRelationInput {
|
|
|
445
463
|
connectOrCreate: PostConnectOrCreateCategoriesRelationInput
|
|
446
464
|
disconnect: CategoryUniqueWhere
|
|
447
465
|
delete: CategoryUniqueWhere
|
|
466
|
+
set: [PostSetCategoriesItemRelationInput!]
|
|
467
|
+
orphanStrategy: OrphanRemovalStrategy
|
|
448
468
|
alias: String
|
|
449
469
|
}
|
|
450
470
|
|
|
@@ -464,12 +484,30 @@ input PostUpsertCategoriesRelationInput {
|
|
|
464
484
|
create: CategoryWithoutPostsCreateInput!
|
|
465
485
|
}
|
|
466
486
|
|
|
487
|
+
input PostSetCategoriesItemRelationInput {
|
|
488
|
+
create: CategoryWithoutPostsCreateInput
|
|
489
|
+
connect: CategoryUniqueWhere
|
|
490
|
+
connectOrCreate: PostConnectOrCreateCategoriesRelationInput
|
|
491
|
+
update: PostUpdateCategoriesRelationInput
|
|
492
|
+
upsert: PostUpsertCategoriesRelationInput
|
|
493
|
+
alias: String
|
|
494
|
+
}
|
|
495
|
+
|
|
467
496
|
input AuthorUpsertPostsRelationInput {
|
|
468
497
|
by: PostUniqueWhere!
|
|
469
498
|
update: PostWithoutAuthorUpdateInput!
|
|
470
499
|
create: PostWithoutAuthorCreateInput!
|
|
471
500
|
}
|
|
472
501
|
|
|
502
|
+
input AuthorSetPostsItemRelationInput {
|
|
503
|
+
create: PostWithoutAuthorCreateInput
|
|
504
|
+
connect: PostUniqueWhere
|
|
505
|
+
connectOrCreate: AuthorConnectOrCreatePostsRelationInput
|
|
506
|
+
update: AuthorUpdatePostsRelationInput
|
|
507
|
+
upsert: AuthorUpsertPostsRelationInput
|
|
508
|
+
alias: String
|
|
509
|
+
}
|
|
510
|
+
|
|
473
511
|
input CategoryCreateInput {
|
|
474
512
|
name: String
|
|
475
513
|
posts: [CategoryCreatePostsEntityRelationInput!]
|
|
@@ -525,6 +563,8 @@ input CategoryUpdatePostsEntityRelationInput {
|
|
|
525
563
|
connectOrCreate: CategoryConnectOrCreatePostsRelationInput
|
|
526
564
|
disconnect: PostUniqueWhere
|
|
527
565
|
delete: PostUniqueWhere
|
|
566
|
+
set: [CategorySetPostsItemRelationInput!]
|
|
567
|
+
orphanStrategy: OrphanRemovalStrategy
|
|
528
568
|
alias: String
|
|
529
569
|
}
|
|
530
570
|
|
|
@@ -566,6 +606,15 @@ input CategoryUpsertPostsRelationInput {
|
|
|
566
606
|
create: PostWithoutCategoriesCreateInput!
|
|
567
607
|
}
|
|
568
608
|
|
|
609
|
+
input CategorySetPostsItemRelationInput {
|
|
610
|
+
create: PostWithoutCategoriesCreateInput
|
|
611
|
+
connect: PostUniqueWhere
|
|
612
|
+
connectOrCreate: CategoryConnectOrCreatePostsRelationInput
|
|
613
|
+
update: CategoryUpdatePostsRelationInput
|
|
614
|
+
upsert: CategoryUpsertPostsRelationInput
|
|
615
|
+
alias: String
|
|
616
|
+
}
|
|
617
|
+
|
|
569
618
|
input PostLocaleCreateInput {
|
|
570
619
|
title: String
|
|
571
620
|
Post: PostLocaleCreatePostEntityRelationInput
|
|
@@ -707,10 +756,12 @@ enum _MutationErrorType {
|
|
|
707
756
|
NotNullConstraintViolation
|
|
708
757
|
UniqueConstraintViolation
|
|
709
758
|
ForeignKeyConstraintViolation
|
|
759
|
+
CheckConstraintViolation
|
|
710
760
|
NotFoundOrDenied
|
|
711
761
|
NonUniqueWhereInput
|
|
712
762
|
InvalidDataInput
|
|
713
763
|
SqlError
|
|
764
|
+
ResourceExhausted
|
|
714
765
|
}
|
|
715
766
|
|
|
716
767
|
type AuthorDeleteResult implements MutationResult {
|
|
@@ -323,6 +323,8 @@ input FrontPageUpdateInHouseVideosEntityRelationInput {
|
|
|
323
323
|
connectOrCreate: FrontPageConnectOrCreateInHouseVideosRelationInput
|
|
324
324
|
disconnect: VideoUniqueWhere
|
|
325
325
|
delete: VideoUniqueWhere
|
|
326
|
+
set: [FrontPageSetInHouseVideosItemRelationInput!]
|
|
327
|
+
orphanStrategy: OrphanRemovalStrategy
|
|
326
328
|
alias: String
|
|
327
329
|
}
|
|
328
330
|
|
|
@@ -343,6 +345,20 @@ input FrontPageUpsertInHouseVideosRelationInput {
|
|
|
343
345
|
create: VideoWithoutFrontPageCreateInput!
|
|
344
346
|
}
|
|
345
347
|
|
|
348
|
+
input FrontPageSetInHouseVideosItemRelationInput {
|
|
349
|
+
create: VideoWithoutFrontPageCreateInput
|
|
350
|
+
connect: VideoUniqueWhere
|
|
351
|
+
connectOrCreate: FrontPageConnectOrCreateInHouseVideosRelationInput
|
|
352
|
+
update: FrontPageUpdateInHouseVideosRelationInput
|
|
353
|
+
upsert: FrontPageUpsertInHouseVideosRelationInput
|
|
354
|
+
alias: String
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
enum OrphanRemovalStrategy {
|
|
358
|
+
disconnect
|
|
359
|
+
delete
|
|
360
|
+
}
|
|
361
|
+
|
|
346
362
|
input VideoUpsertFrontPageForIntroRelationInput {
|
|
347
363
|
update: FrontPageWithoutIntroVideoUpdateInput!
|
|
348
364
|
create: FrontPageWithoutIntroVideoCreateInput!
|
|
@@ -468,10 +484,12 @@ enum _MutationErrorType {
|
|
|
468
484
|
NotNullConstraintViolation
|
|
469
485
|
UniqueConstraintViolation
|
|
470
486
|
ForeignKeyConstraintViolation
|
|
487
|
+
CheckConstraintViolation
|
|
471
488
|
NotFoundOrDenied
|
|
472
489
|
NonUniqueWhereInput
|
|
473
490
|
InvalidDataInput
|
|
474
491
|
SqlError
|
|
492
|
+
ResourceExhausted
|
|
475
493
|
}
|
|
476
494
|
|
|
477
495
|
type VideoDeleteResult implements MutationResult {
|
|
@@ -376,10 +376,12 @@ enum _MutationErrorType {
|
|
|
376
376
|
NotNullConstraintViolation
|
|
377
377
|
UniqueConstraintViolation
|
|
378
378
|
ForeignKeyConstraintViolation
|
|
379
|
+
CheckConstraintViolation
|
|
379
380
|
NotFoundOrDenied
|
|
380
381
|
NonUniqueWhereInput
|
|
381
382
|
InvalidDataInput
|
|
382
383
|
SqlError
|
|
384
|
+
ResourceExhausted
|
|
383
385
|
}
|
|
384
386
|
|
|
385
387
|
type ColumnsDeleteResult implements MutationResult {
|
|
@@ -399,6 +399,8 @@ input AuthorUpdatePostsEntityRelationInput {
|
|
|
399
399
|
connectOrCreate: AuthorConnectOrCreatePostsRelationInput
|
|
400
400
|
disconnect: PostUniqueWhere
|
|
401
401
|
delete: PostUniqueWhere
|
|
402
|
+
set: [AuthorSetPostsItemRelationInput!]
|
|
403
|
+
orphanStrategy: OrphanRemovalStrategy
|
|
402
404
|
alias: String
|
|
403
405
|
}
|
|
404
406
|
|
|
@@ -422,6 +424,8 @@ input PostUpdateLocalesEntityRelationInput {
|
|
|
422
424
|
connectOrCreate: PostConnectOrCreateLocalesRelationInput
|
|
423
425
|
disconnect: PostLocaleUniqueWhere
|
|
424
426
|
delete: PostLocaleUniqueWhere
|
|
427
|
+
set: [PostSetLocalesItemRelationInput!]
|
|
428
|
+
orphanStrategy: OrphanRemovalStrategy
|
|
425
429
|
alias: String
|
|
426
430
|
}
|
|
427
431
|
|
|
@@ -441,6 +445,20 @@ input PostUpsertLocalesRelationInput {
|
|
|
441
445
|
create: PostLocaleWithoutPostCreateInput!
|
|
442
446
|
}
|
|
443
447
|
|
|
448
|
+
input PostSetLocalesItemRelationInput {
|
|
449
|
+
create: PostLocaleWithoutPostCreateInput
|
|
450
|
+
connect: PostLocaleUniqueWhere
|
|
451
|
+
connectOrCreate: PostConnectOrCreateLocalesRelationInput
|
|
452
|
+
update: PostUpdateLocalesRelationInput
|
|
453
|
+
upsert: PostUpsertLocalesRelationInput
|
|
454
|
+
alias: String
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
enum OrphanRemovalStrategy {
|
|
458
|
+
disconnect
|
|
459
|
+
delete
|
|
460
|
+
}
|
|
461
|
+
|
|
444
462
|
input PostUpdateCategoriesEntityRelationInput {
|
|
445
463
|
create: CategoryWithoutPostsCreateInput
|
|
446
464
|
update: PostUpdateCategoriesRelationInput
|
|
@@ -449,6 +467,8 @@ input PostUpdateCategoriesEntityRelationInput {
|
|
|
449
467
|
connectOrCreate: PostConnectOrCreateCategoriesRelationInput
|
|
450
468
|
disconnect: CategoryUniqueWhere
|
|
451
469
|
delete: CategoryUniqueWhere
|
|
470
|
+
set: [PostSetCategoriesItemRelationInput!]
|
|
471
|
+
orphanStrategy: OrphanRemovalStrategy
|
|
452
472
|
alias: String
|
|
453
473
|
}
|
|
454
474
|
|
|
@@ -468,12 +488,30 @@ input PostUpsertCategoriesRelationInput {
|
|
|
468
488
|
create: CategoryWithoutPostsCreateInput!
|
|
469
489
|
}
|
|
470
490
|
|
|
491
|
+
input PostSetCategoriesItemRelationInput {
|
|
492
|
+
create: CategoryWithoutPostsCreateInput
|
|
493
|
+
connect: CategoryUniqueWhere
|
|
494
|
+
connectOrCreate: PostConnectOrCreateCategoriesRelationInput
|
|
495
|
+
update: PostUpdateCategoriesRelationInput
|
|
496
|
+
upsert: PostUpsertCategoriesRelationInput
|
|
497
|
+
alias: String
|
|
498
|
+
}
|
|
499
|
+
|
|
471
500
|
input AuthorUpsertPostsRelationInput {
|
|
472
501
|
by: PostUniqueWhere!
|
|
473
502
|
update: PostWithoutAuthorUpdateInput!
|
|
474
503
|
create: PostWithoutAuthorCreateInput!
|
|
475
504
|
}
|
|
476
505
|
|
|
506
|
+
input AuthorSetPostsItemRelationInput {
|
|
507
|
+
create: PostWithoutAuthorCreateInput
|
|
508
|
+
connect: PostUniqueWhere
|
|
509
|
+
connectOrCreate: AuthorConnectOrCreatePostsRelationInput
|
|
510
|
+
update: AuthorUpdatePostsRelationInput
|
|
511
|
+
upsert: AuthorUpsertPostsRelationInput
|
|
512
|
+
alias: String
|
|
513
|
+
}
|
|
514
|
+
|
|
477
515
|
input CategoryCreateInput {
|
|
478
516
|
id: UUID
|
|
479
517
|
name: String
|
|
@@ -532,6 +570,8 @@ input CategoryUpdatePostsEntityRelationInput {
|
|
|
532
570
|
connectOrCreate: CategoryConnectOrCreatePostsRelationInput
|
|
533
571
|
disconnect: PostUniqueWhere
|
|
534
572
|
delete: PostUniqueWhere
|
|
573
|
+
set: [CategorySetPostsItemRelationInput!]
|
|
574
|
+
orphanStrategy: OrphanRemovalStrategy
|
|
535
575
|
alias: String
|
|
536
576
|
}
|
|
537
577
|
|
|
@@ -573,6 +613,15 @@ input CategoryUpsertPostsRelationInput {
|
|
|
573
613
|
create: PostWithoutCategoriesCreateInput!
|
|
574
614
|
}
|
|
575
615
|
|
|
616
|
+
input CategorySetPostsItemRelationInput {
|
|
617
|
+
create: PostWithoutCategoriesCreateInput
|
|
618
|
+
connect: PostUniqueWhere
|
|
619
|
+
connectOrCreate: CategoryConnectOrCreatePostsRelationInput
|
|
620
|
+
update: CategoryUpdatePostsRelationInput
|
|
621
|
+
upsert: CategoryUpsertPostsRelationInput
|
|
622
|
+
alias: String
|
|
623
|
+
}
|
|
624
|
+
|
|
576
625
|
input PostLocaleCreateInput {
|
|
577
626
|
id: UUID
|
|
578
627
|
title: String
|
|
@@ -717,10 +766,12 @@ enum _MutationErrorType {
|
|
|
717
766
|
NotNullConstraintViolation
|
|
718
767
|
UniqueConstraintViolation
|
|
719
768
|
ForeignKeyConstraintViolation
|
|
769
|
+
CheckConstraintViolation
|
|
720
770
|
NotFoundOrDenied
|
|
721
771
|
NonUniqueWhereInput
|
|
722
772
|
InvalidDataInput
|
|
723
773
|
SqlError
|
|
774
|
+
ResourceExhausted
|
|
724
775
|
}
|
|
725
776
|
|
|
726
777
|
type AuthorDeleteResult implements MutationResult {
|