@colijnit/ioneconnector 261.1.4 → 262.1.1
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/build/connector.d.ts +33 -33
- package/build/connector.js +79 -79
- package/build/connector.js.map +1 -1
- package/build/connector.unit.test.d.ts +1 -1
- package/build/connector.unit.test.js +108 -108
- package/build/enum/activate-user-account-status.enum.d.ts +6 -6
- package/build/enum/activate-user-account-status.enum.js +10 -10
- package/build/enum/activate-user-account-status.enum.js.map +1 -1
- package/build/enum/address-format.enum.d.ts +4 -4
- package/build/enum/address-format.enum.js +8 -8
- package/build/enum/address-format.enum.js.map +1 -1
- package/build/enum/backend-language-code.enum.d.ts +6 -6
- package/build/enum/backend-language-code.enum.js +10 -10
- package/build/enum/backend-language-code.enum.js.map +1 -1
- package/build/enum/backend-service-name.enum.d.ts +7 -7
- package/build/enum/backend-service-name.enum.js +11 -11
- package/build/enum/backend-service-name.enum.js.map +1 -1
- package/build/enum/communication-type.enum.d.ts +8 -8
- package/build/enum/communication-type.enum.js +12 -12
- package/build/enum/communication-type.enum.js.map +1 -1
- package/build/enum/datasession-service-method.enum.d.ts +13 -13
- package/build/enum/datasession-service-method.enum.js +17 -17
- package/build/enum/datasession-service-method.enum.js.map +1 -1
- package/build/enum/db-boolean-value-type.enum.d.ts +12 -12
- package/build/enum/db-boolean-value-type.enum.js +32 -32
- package/build/enum/db-boolean-value-type.enum.js.map +1 -1
- package/build/enum/end-point.enum.d.ts +4 -4
- package/build/enum/end-point.enum.js +8 -8
- package/build/enum/end-point.enum.js.map +1 -1
- package/build/enum/external-method.enum.d.ts +22 -22
- package/build/enum/external-method.enum.js +26 -26
- package/build/enum/external-method.enum.js.map +1 -1
- package/build/enum/file-type-internal.enum.d.ts +11 -11
- package/build/enum/file-type-internal.enum.js +15 -15
- package/build/enum/file-type-internal.enum.js.map +1 -1
- package/build/enum/file-type.enum.d.ts +5 -5
- package/build/enum/file-type.enum.js +9 -9
- package/build/enum/file-type.enum.js.map +1 -1
- package/build/enum/filter-type.enum.d.ts +4 -4
- package/build/enum/filter-type.enum.js +8 -8
- package/build/enum/filter-type.enum.js.map +1 -1
- package/build/enum/health-service-method.enum.d.ts +3 -3
- package/build/enum/health-service-method.enum.js +7 -7
- package/build/enum/health-service-method.enum.js.map +1 -1
- package/build/enum/language-code.enum.d.ts +7 -7
- package/build/enum/language-code.enum.js +11 -11
- package/build/enum/language-code.enum.js.map +1 -1
- package/build/enum/login-service-method.enum.d.ts +25 -25
- package/build/enum/login-service-method.enum.js +29 -29
- package/build/enum/login-service-method.enum.js.map +1 -1
- package/build/enum/login-status.enum.d.ts +20 -20
- package/build/enum/login-status.enum.js +24 -24
- package/build/enum/login-status.enum.js.map +1 -1
- package/build/enum/message-type.enum.d.ts +6 -6
- package/build/enum/message-type.enum.js +10 -10
- package/build/enum/message-type.enum.js.map +1 -1
- package/build/enum/object-config-kind.d.ts +9 -9
- package/build/enum/object-config-kind.js +13 -13
- package/build/enum/object-config-kind.js.map +1 -1
- package/build/enum/object-configuration-data-type.enum.d.ts +7 -7
- package/build/enum/object-configuration-data-type.enum.js +11 -11
- package/build/enum/object-configuration-data-type.enum.js.map +1 -1
- package/build/enum/object-configuration-value-type.enum.d.ts +10 -10
- package/build/enum/object-configuration-value-type.enum.js +14 -14
- package/build/enum/object-configuration-value-type.enum.js.map +1 -1
- package/build/enum/object-right-type.enum.d.ts +5 -5
- package/build/enum/object-right-type.enum.js +9 -9
- package/build/enum/object-right-type.enum.js.map +1 -1
- package/build/enum/one-zero-bool-db-type.enum.d.ts +5 -5
- package/build/enum/one-zero-bool-db-type.enum.js +20 -20
- package/build/enum/one-zero-bool-db-type.enum.js.map +1 -1
- package/build/enum/public-service-method.enum.d.ts +5 -5
- package/build/enum/public-service-method.enum.js +9 -9
- package/build/enum/public-service-method.enum.js.map +1 -1
- package/build/enum/reset-password-status.enum.d.ts +5 -5
- package/build/enum/reset-password-status.enum.js +9 -9
- package/build/enum/reset-password-status.enum.js.map +1 -1
- package/build/enum/screen-config-subcategory.enum.d.ts +2 -2
- package/build/enum/screen-config-subcategory.enum.js +2 -2
- package/build/enum/search-data-type.enum.d.ts +4 -4
- package/build/enum/search-data-type.enum.js +8 -8
- package/build/enum/search-data-type.enum.js.map +1 -1
- package/build/enum/search-property-state.enum.d.ts +5 -5
- package/build/enum/search-property-state.enum.js +9 -9
- package/build/enum/search-property-state.enum.js.map +1 -1
- package/build/enum/sort-direction.d.ts +5 -5
- package/build/enum/sort-direction.js +12 -12
- package/build/enum/sort-direction.js.map +1 -1
- package/build/enum/sort-type.enum.d.ts +6 -6
- package/build/enum/sort-type.enum.js +10 -10
- package/build/enum/sort-type.enum.js.map +1 -1
- package/build/enum/true-false-db-type.enum.d.ts +5 -5
- package/build/enum/true-false-db-type.enum.js +20 -20
- package/build/enum/true-false-db-type.enum.js.map +1 -1
- package/build/enum/user-info-service-method.enum.d.ts +3 -3
- package/build/enum/user-info-service-method.enum.js +7 -7
- package/build/enum/user-info-service-method.enum.js.map +1 -1
- package/build/enum/user-right-type.enum.d.ts +7 -7
- package/build/enum/user-right-type.enum.js +11 -11
- package/build/enum/user-right-type.enum.js.map +1 -1
- package/build/enum/user-role-type.enum.d.ts +17 -17
- package/build/enum/user-role-type.enum.js +21 -21
- package/build/enum/user-role-type.enum.js.map +1 -1
- package/build/enum/value-comparison-type.enum.d.ts +15 -15
- package/build/enum/value-comparison-type.enum.js +31 -31
- package/build/enum/value-comparison-type.enum.js.map +1 -1
- package/build/enum/yes-no-db-type.enum.d.ts +5 -5
- package/build/enum/yes-no-db-type.enum.js +20 -20
- package/build/enum/yes-no-db-type.enum.js.map +1 -1
- package/build/factory/business-object-serializer.d.ts +11 -11
- package/build/factory/business-object-serializer.js +145 -145
- package/build/factory/business-object-serializer.js.map +1 -1
- package/build/factory/decorators/bo-factory-step.decorator.d.ts +4 -4
- package/build/factory/decorators/bo-factory-step.decorator.js +16 -16
- package/build/factory/decorators/bo-factory-step.decorator.js.map +1 -1
- package/build/factory/decorators/bo-serializer-step.decorator.d.ts +4 -4
- package/build/factory/decorators/bo-serializer-step.decorator.js +16 -16
- package/build/factory/decorators/bo-serializer-step.decorator.js.map +1 -1
- package/build/factory/decorators/boolean.decorator.d.ts +12 -12
- package/build/factory/decorators/boolean.decorator.js +73 -73
- package/build/factory/decorators/boolean.decorator.js.map +1 -1
- package/build/factory/decorators/business-object-data.decorator.d.ts +23 -23
- package/build/factory/decorators/business-object-data.decorator.js +87 -87
- package/build/factory/decorators/business-object-data.decorator.js.map +1 -1
- package/build/factory/decorators/co-inject.decorator.d.ts +7 -7
- package/build/factory/decorators/co-inject.decorator.js +54 -54
- package/build/factory/decorators/co-inject.decorator.js.map +1 -1
- package/build/factory/decorators/complex-array.decorator.d.ts +6 -6
- package/build/factory/decorators/complex-array.decorator.js +37 -37
- package/build/factory/decorators/complex-array.decorator.js.map +1 -1
- package/build/factory/decorators/complex-field.decorator.d.ts +6 -6
- package/build/factory/decorators/complex-field.decorator.js +37 -37
- package/build/factory/decorators/complex-field.decorator.js.map +1 -1
- package/build/factory/decorators/date-field.decorator.d.ts +6 -6
- package/build/factory/decorators/date-field.decorator.js +27 -27
- package/build/factory/decorators/date-field.decorator.js.map +1 -1
- package/build/factory/decorators/db-field-alias.decorator.d.ts +6 -6
- package/build/factory/decorators/db-field-alias.decorator.js +40 -40
- package/build/factory/decorators/db-field-alias.decorator.js.map +1 -1
- package/build/factory/decorators/db-method-value.decorator.d.ts +5 -5
- package/build/factory/decorators/db-method-value.decorator.js +19 -19
- package/build/factory/decorators/db-method-value.decorator.js.map +1 -1
- package/build/factory/decorators/db-number.decorator.d.ts +6 -6
- package/build/factory/decorators/db-number.decorator.js +35 -35
- package/build/factory/decorators/db-number.decorator.js.map +1 -1
- package/build/factory/decorators/default-send-value.decorator.d.ts +7 -7
- package/build/factory/decorators/default-send-value.decorator.js +53 -53
- package/build/factory/decorators/default-send-value.decorator.js.map +1 -1
- package/build/factory/decorators/exclude-when-empty-string.decorator.d.ts +5 -5
- package/build/factory/decorators/exclude-when-empty-string.decorator.js +19 -19
- package/build/factory/decorators/exclude-when-empty-string.decorator.js.map +1 -1
- package/build/factory/decorators/json.decorator.d.ts +6 -6
- package/build/factory/decorators/json.decorator.js +26 -26
- package/build/factory/decorators/json.decorator.js.map +1 -1
- package/build/factory/decorators/map-property.decorator.d.ts +6 -6
- package/build/factory/decorators/map-property.decorator.js +29 -29
- package/build/factory/decorators/map-property.decorator.js.map +1 -1
- package/build/factory/decorators/no-db-field.decorator.d.ts +5 -5
- package/build/factory/decorators/no-db-field.decorator.js +34 -34
- package/build/factory/decorators/no-db-field.decorator.js.map +1 -1
- package/build/factory/decorators/number-string.decorator.d.ts +6 -6
- package/build/factory/decorators/number-string.decorator.js +23 -23
- package/build/factory/decorators/number-string.decorator.js.map +1 -1
- package/build/factory/decorators/simple-method-tag.decorator.d.ts +6 -6
- package/build/factory/decorators/simple-method-tag.decorator.js +31 -31
- package/build/factory/decorators/simple-method-tag.decorator.js.map +1 -1
- package/build/factory/decorators/simple-property-tag.decorator.d.ts +6 -6
- package/build/factory/decorators/simple-property-tag.decorator.js +38 -38
- package/build/factory/decorators/simple-property-tag.decorator.js.map +1 -1
- package/build/factory/decorators/string-number.decorator.d.ts +7 -7
- package/build/factory/decorators/string-number.decorator.js +30 -30
- package/build/factory/decorators/string-number.decorator.js.map +1 -1
- package/build/factory/decorators/validate.decorator.d.ts +11 -11
- package/build/factory/decorators/validate.decorator.js +55 -55
- package/build/factory/decorators/validate.decorator.js.map +1 -1
- package/build/interface/address-common-shape.interface.d.ts +14 -14
- package/build/interface/address-common-shape.interface.js +2 -2
- package/build/interface/business-object-data-shape.d.ts +19 -19
- package/build/interface/business-object-data-shape.js +2 -2
- package/build/interface/check-precision-and-scale-result.d.ts +4 -4
- package/build/interface/check-precision-and-scale-result.js +2 -2
- package/build/interface/check-within-stepped-bounds-result.d.ts +4 -4
- package/build/interface/check-within-stepped-bounds-result.js +2 -2
- package/build/interface/filter-property.d.ts +9 -9
- package/build/interface/filter-property.js +2 -2
- package/build/interface/login-storage-data.interface.d.ts +12 -12
- package/build/interface/login-storage-data.interface.js +2 -2
- package/build/interface/precision-scale-object.d.ts +4 -4
- package/build/interface/precision-scale-object.js +2 -2
- package/build/interface/search-property.d.ts +11 -11
- package/build/interface/search-property.js +2 -2
- package/build/interface/sort-property.d.ts +11 -11
- package/build/interface/sort-property.js +2 -2
- package/build/interface/text-part.d.ts +4 -4
- package/build/interface/text-part.js +2 -2
- package/build/interface/value-comparison-type-view-wrapper.d.ts +6 -6
- package/build/interface/value-comparison-type-view-wrapper.js +2 -2
- package/build/model/business-object.d.ts +13 -13
- package/build/model/business-object.js +34 -34
- package/build/model/company.bo.d.ts +9 -9
- package/build/model/company.bo.js +13 -13
- package/build/model/constant/java-constants.d.ts +2 -2
- package/build/model/constant/java-constants.js +5 -5
- package/build/model/country.bo.d.ts +11 -11
- package/build/model/country.bo.js +11 -11
- package/build/model/data-service-data.d.ts +15 -15
- package/build/model/data-service-data.js +6 -6
- package/build/model/data-service-response-data.d.ts +19 -19
- package/build/model/data-service-response-data.interface.d.ts +9 -9
- package/build/model/data-service-response-data.interface.js +2 -2
- package/build/model/data-service-response-data.js +57 -57
- package/build/model/data-service-response-data.js.map +1 -1
- package/build/model/data-service-response-exception.d.ts +29 -29
- package/build/model/data-service-response-exception.js +2 -2
- package/build/model/data-service-response-root.d.ts +7 -7
- package/build/model/data-service-response-root.js +2 -2
- package/build/model/default-all-scr-cfg-subcategory.d.ts +2 -2
- package/build/model/default-all-scr-cfg-subcategory.js +4 -4
- package/build/model/default-get-object-configurations-params.d.ts +2 -2
- package/build/model/default-get-object-configurations-params.js +5 -5
- package/build/model/field-validation.d.ts +11 -11
- package/build/model/field-validation.interface.d.ts +6 -6
- package/build/model/field-validation.interface.js +2 -2
- package/build/model/field-validation.js +76 -76
- package/build/model/field-validation.js.map +1 -1
- package/build/model/field-validations-object.d.ts +4 -4
- package/build/model/field-validations-object.interface.d.ts +4 -4
- package/build/model/field-validations-object.interface.js +2 -2
- package/build/model/field-validations-object.js +2 -2
- package/build/model/ione-local-storage-root-object.d.ts +5 -5
- package/build/model/ione-local-storage-root-object.js +9 -9
- package/build/model/keycloak-parameters.bo.d.ts +5 -5
- package/build/model/keycloak-parameters.bo.js +7 -7
- package/build/model/local-storage-root-object.d.ts +4 -4
- package/build/model/local-storage-root-object.js +9 -9
- package/build/model/local-storage-schema-object.d.ts +6 -6
- package/build/model/local-storage-schema-object.js +9 -9
- package/build/model/local-storage-user-object.d.ts +11 -11
- package/build/model/local-storage-user-object.js +9 -9
- package/build/model/login-request.d.ts +16 -16
- package/build/model/login-request.interface.d.ts +12 -12
- package/build/model/login-request.interface.js +2 -2
- package/build/model/login-request.js +6 -6
- package/build/model/login-response.d.ts +36 -36
- package/build/model/login-response.interface.d.ts +22 -22
- package/build/model/login-response.interface.js +2 -2
- package/build/model/login-response.js +57 -57
- package/build/model/login-response.js.map +1 -1
- package/build/model/login-service-request-data.d.ts +17 -17
- package/build/model/login-service-request-data.js +2 -2
- package/build/model/login.d.ts +16 -16
- package/build/model/login.js +35 -35
- package/build/model/menu-content.bo.d.ts +13 -13
- package/build/model/menu-content.bo.js +13 -13
- package/build/model/object-configuration.d.ts +53 -53
- package/build/model/object-configuration.js +200 -200
- package/build/model/object-configuration.js.map +1 -1
- package/build/model/options.d.ts +29 -29
- package/build/model/options.js +16 -16
- package/build/model/paging-parameters.d.ts +15 -15
- package/build/model/paging-parameters.interface.d.ts +6 -6
- package/build/model/paging-parameters.interface.js +6 -6
- package/build/model/paging-parameters.js +37 -37
- package/build/model/paging-parameters.js.map +1 -1
- package/build/model/public-service-request-data.d.ts +5 -5
- package/build/model/public-service-request-data.js +2 -2
- package/build/model/server-response-data.d.ts +5 -5
- package/build/model/server-response-data.js +2 -2
- package/build/model/server-stack-trace-element.d.ts +7 -7
- package/build/model/server-stack-trace-element.js +2 -2
- package/build/model/session.d.ts +6 -6
- package/build/model/session.js +6 -6
- package/build/model/token-response.bo.d.ts +5 -5
- package/build/model/token-response.bo.js +7 -7
- package/build/model/user-parameters-values.bo.d.ts +8 -8
- package/build/model/user-parameters-values.bo.js +7 -7
- package/build/model/validation-message.d.ts +13 -13
- package/build/model/validation-message.interface.d.ts +6 -6
- package/build/model/validation-message.interface.js +2 -2
- package/build/model/validation-message.js +48 -48
- package/build/model/validation-message.js.map +1 -1
- package/build/model/validation-result.d.ts +34 -34
- package/build/model/validation-result.interface.d.ts +14 -14
- package/build/model/validation-result.interface.js +2 -2
- package/build/model/validation-result.js +192 -192
- package/build/model/validation-result.js.map +1 -1
- package/build/provider/ajax.service.d.ts +38 -38
- package/build/provider/ajax.service.js +381 -381
- package/build/provider/ajax.service.js.map +1 -1
- package/build/provider/base-backend-connection.service.d.ts +47 -47
- package/build/provider/base-backend-connection.service.js +188 -188
- package/build/provider/base-backend-connection.service.js.map +1 -1
- package/build/service/business-object-factory.d.ts +13 -13
- package/build/service/business-object-factory.js +235 -235
- package/build/service/business-object-factory.js.map +1 -1
- package/build/service/datasession.service.d.ts +9 -9
- package/build/service/datasession.service.js +26 -26
- package/build/service/datasession.service.js.map +1 -1
- package/build/service/encrypt.service.d.ts +6 -6
- package/build/service/encrypt.service.js +30 -30
- package/build/service/encrypt.service.js.map +1 -1
- package/build/service/encrypt.service.unit.test.d.ts +1 -1
- package/build/service/encrypt.service.unit.test.js +14 -14
- package/build/service/external-jwt-token.service.d.ts +7 -7
- package/build/service/external-jwt-token.service.js +17 -17
- package/build/service/external-jwt-token.service.js.map +1 -1
- package/build/service/health.service.d.ts +10 -10
- package/build/service/health.service.js +34 -34
- package/build/service/health.service.js.map +1 -1
- package/build/service/internal-jwt-token.service.d.ts +8 -8
- package/build/service/internal-jwt-token.service.js +40 -40
- package/build/service/internal-jwt-token.service.js.map +1 -1
- package/build/service/jwt-token.service.d.ts +12 -12
- package/build/service/jwt-token.service.js +32 -32
- package/build/service/jwt-token.service.js.map +1 -1
- package/build/service/local-storage.service.d.ts +37 -37
- package/build/service/local-storage.service.js +248 -248
- package/build/service/local-storage.service.js.map +1 -1
- package/build/service/login.service.d.ts +50 -50
- package/build/service/login.service.js +321 -321
- package/build/service/login.service.js.map +1 -1
- package/build/service/public.service.d.ts +12 -12
- package/build/service/public.service.js +36 -36
- package/build/service/public.service.js.map +1 -1
- package/build/service/storage.service.d.ts +33 -33
- package/build/service/storage.service.js +94 -94
- package/build/service/storage.service.js.map +1 -1
- package/build/service/user-info.service.d.ts +9 -9
- package/build/service/user-info.service.js +33 -33
- package/build/service/user-info.service.js.map +1 -1
- package/build/tests/int/connector.int.test.d.ts +1 -1
- package/build/tests/int/connector.int.test.js +12 -12
- package/build/type/business-object-id-type.d.ts +4 -4
- package/build/type/business-object-id-type.js +13 -13
- package/build/type/business-object-id-type.js.map +1 -1
- package/build/type/object-configuration-default-value-type.d.ts +1 -1
- package/build/type/object-configuration-default-value-type.js +2 -2
- package/build/utils/array-utils.d.ts +38 -38
- package/build/utils/array-utils.js +375 -375
- package/build/utils/array-utils.js.map +1 -1
- package/build/utils/business-object-utils.d.ts +20 -20
- package/build/utils/business-object-utils.js +198 -198
- package/build/utils/business-object-utils.js.map +1 -1
- package/build/utils/date-utils.d.ts +5 -5
- package/build/utils/date-utils.js +24 -24
- package/build/utils/date-utils.js.map +1 -1
- package/build/utils/file-utils.d.ts +6 -6
- package/build/utils/file-utils.js +66 -66
- package/build/utils/file-utils.js.map +1 -1
- package/build/utils/function/any-nill.function.d.ts +1 -1
- package/build/utils/function/any-nill.function.js +15 -16
- package/build/utils/function/any-nill.function.js.map +1 -1
- package/build/utils/function/is-nill.function.d.ts +1 -1
- package/build/utils/function/is-nill.function.js +6 -7
- package/build/utils/function/is-nill.function.js.map +1 -1
- package/build/utils/function/not-nill.function.d.ts +1 -1
- package/build/utils/function/not-nill.function.js +6 -7
- package/build/utils/function/not-nill.function.js.map +1 -1
- package/build/utils/function-utils.d.ts +4 -4
- package/build/utils/function-utils.js +31 -31
- package/build/utils/function-utils.js.map +1 -1
- package/build/utils/image-utils.d.ts +4 -4
- package/build/utils/image-utils.js +28 -28
- package/build/utils/image-utils.js.map +1 -1
- package/build/utils/map-utils.d.ts +4 -4
- package/build/utils/map-utils.js +31 -31
- package/build/utils/map-utils.js.map +1 -1
- package/build/utils/number-utils.d.ts +39 -39
- package/build/utils/number-utils.js +268 -268
- package/build/utils/number-utils.js.map +1 -1
- package/build/utils/object-utils.d.ts +21 -21
- package/build/utils/object-utils.js +247 -247
- package/build/utils/object-utils.js.map +1 -1
- package/build/utils/parameter-value-conversion-utils.d.ts +3 -3
- package/build/utils/parameter-value-conversion-utils.js +19 -19
- package/build/utils/parameter-value-conversion-utils.js.map +1 -1
- package/build/utils/promise-utils.d.ts +6 -6
- package/build/utils/promise-utils.js +22 -22
- package/build/utils/promise-utils.js.map +1 -1
- package/build/utils/ref-code-utils.d.ts +4 -4
- package/build/utils/ref-code-utils.js +19 -19
- package/build/utils/ref-code-utils.js.map +1 -1
- package/build/utils/sort-utils.d.ts +12 -12
- package/build/utils/sort-utils.js +120 -120
- package/build/utils/sort-utils.js.map +1 -1
- package/build/utils/string-utils.d.ts +25 -25
- package/build/utils/string-utils.js +212 -212
- package/build/utils/string-utils.js.map +1 -1
- package/build/utils/url-utils.d.ts +4 -4
- package/build/utils/url-utils.js +33 -33
- package/build/utils/url-utils.js.map +1 -1
- package/build/validators/communication-type.validator.d.ts +1 -1
- package/build/validators/communication-type.validator.js +15 -16
- package/build/validators/communication-type.validator.js.map +1 -1
- package/build/validators/email.validator.d.ts +2 -2
- package/build/validators/email.validator.js +8 -9
- package/build/validators/email.validator.js.map +1 -1
- package/build/validators/empty-address.validator.d.ts +3 -3
- package/build/validators/empty-address.validator.js +11 -12
- package/build/validators/empty-address.validator.js.map +1 -1
- package/build/validators/empty-array.validator.d.ts +2 -2
- package/build/validators/empty-array.validator.js +13 -14
- package/build/validators/empty-array.validator.js.map +1 -1
- package/build/validators/end-date-equal.validator.d.ts +1 -1
- package/build/validators/end-date-equal.validator.js +16 -17
- package/build/validators/end-date-equal.validator.js.map +1 -1
- package/build/validators/end-date.validator.d.ts +1 -1
- package/build/validators/end-date.validator.js +16 -17
- package/build/validators/end-date.validator.js.map +1 -1
- package/build/validators/equal.validator.d.ts +2 -2
- package/build/validators/equal.validator.js +13 -14
- package/build/validators/equal.validator.js.map +1 -1
- package/build/validators/max-string-length.validator.d.ts +2 -2
- package/build/validators/max-string-length.validator.js +12 -13
- package/build/validators/max-string-length.validator.js.map +1 -1
- package/build/validators/nl-post-code.validator.d.ts +3 -3
- package/build/validators/nl-post-code.validator.js +13 -14
- package/build/validators/nl-post-code.validator.js.map +1 -1
- package/build/validators/password.validator.d.ts +3 -3
- package/build/validators/password.validator.js +32 -33
- package/build/validators/password.validator.js.map +1 -1
- package/build/validators/postal-code-function.validator.d.ts +2 -2
- package/build/validators/postal-code-function.validator.js +18 -19
- package/build/validators/postal-code-function.validator.js.map +1 -1
- package/build/validators/postal-code.validator.d.ts +1 -1
- package/build/validators/postal-code.validator.js +20 -21
- package/build/validators/postal-code.validator.js.map +1 -1
- package/build/validators/precision-scale.validator.d.ts +2 -2
- package/build/validators/precision-scale.validator.js +13 -14
- package/build/validators/precision-scale.validator.js.map +1 -1
- package/build/validators/required.validator.d.ts +2 -2
- package/build/validators/required.validator.js +7 -8
- package/build/validators/required.validator.js.map +1 -1
- package/build/validators/social-security-number.validator.d.ts +2 -2
- package/build/validators/social-security-number.validator.js +27 -28
- package/build/validators/social-security-number.validator.js.map +1 -1
- package/build/validators/space-trim.validator.d.ts +2 -2
- package/build/validators/space-trim.validator.js +11 -12
- package/build/validators/space-trim.validator.js.map +1 -1
- package/build/validators/true.validator.d.ts +2 -2
- package/build/validators/true.validator.js +7 -8
- package/build/validators/true.validator.js.map +1 -1
- package/package.json +9 -9
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
import { BusinessObject } from '../../model/business-object';
|
|
3
|
-
import { BusinessObjectDataShape } from '../../interface/business-object-data-shape';
|
|
4
|
-
import { SearchProperty } from '../../interface/search-property';
|
|
5
|
-
import { FilterProperty } from '../../interface/filter-property';
|
|
6
|
-
import { SortProperty } from '../../interface/sort-property';
|
|
7
|
-
export declare function BusinessObjectData(data: BusinessObjectDataShape): ((target: any) => any);
|
|
8
|
-
export declare class BusinessObjectDataDecorator {
|
|
9
|
-
static GetName(modelClass: any): string;
|
|
10
|
-
static GetMapping(modelClass: any): string;
|
|
11
|
-
static GetLabel(modelClass: any): string;
|
|
12
|
-
static GetLabelPlural(modelClass: any): string;
|
|
13
|
-
static GetCodeField(modelClass: any): string;
|
|
14
|
-
static GetGroupField(modelClass: any): string;
|
|
15
|
-
static GetGroupDomainName(modelClass: any): string;
|
|
16
|
-
static GetGroupMasterDataClass(modelClass: any): typeof BusinessObject;
|
|
17
|
-
static GetGroupEnumClass(modelClass: any): any;
|
|
18
|
-
static GetDescriptionField(modelClass: any): string;
|
|
19
|
-
static GetSearchProperties(modelClass: any): SearchProperty[];
|
|
20
|
-
static GetFilterProperties(modelClass: any): FilterProperty[];
|
|
21
|
-
static GetSortProperties(modelClass: any): SortProperty[];
|
|
22
|
-
private static _GetSafeMetaDataValue;
|
|
23
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
import { BusinessObject } from '../../model/business-object';
|
|
3
|
+
import { BusinessObjectDataShape } from '../../interface/business-object-data-shape';
|
|
4
|
+
import { SearchProperty } from '../../interface/search-property';
|
|
5
|
+
import { FilterProperty } from '../../interface/filter-property';
|
|
6
|
+
import { SortProperty } from '../../interface/sort-property';
|
|
7
|
+
export declare function BusinessObjectData(data: BusinessObjectDataShape): ((target: any) => any);
|
|
8
|
+
export declare class BusinessObjectDataDecorator {
|
|
9
|
+
static GetName(modelClass: any): string;
|
|
10
|
+
static GetMapping(modelClass: any): string;
|
|
11
|
+
static GetLabel(modelClass: any): string;
|
|
12
|
+
static GetLabelPlural(modelClass: any): string;
|
|
13
|
+
static GetCodeField(modelClass: any): string;
|
|
14
|
+
static GetGroupField(modelClass: any): string;
|
|
15
|
+
static GetGroupDomainName(modelClass: any): string;
|
|
16
|
+
static GetGroupMasterDataClass(modelClass: any): typeof BusinessObject;
|
|
17
|
+
static GetGroupEnumClass(modelClass: any): any;
|
|
18
|
+
static GetDescriptionField(modelClass: any): string;
|
|
19
|
+
static GetSearchProperties(modelClass: any): SearchProperty[];
|
|
20
|
+
static GetFilterProperties(modelClass: any): FilterProperty[];
|
|
21
|
+
static GetSortProperties(modelClass: any): SortProperty[];
|
|
22
|
+
private static _GetSafeMetaDataValue;
|
|
23
|
+
}
|
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BusinessObjectDataDecorator =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Reflect.defineMetadata(
|
|
23
|
-
Reflect.defineMetadata(
|
|
24
|
-
Reflect.defineMetadata(
|
|
25
|
-
Reflect.defineMetadata(
|
|
26
|
-
Reflect.defineMetadata(
|
|
27
|
-
Reflect.defineMetadata(
|
|
28
|
-
Reflect.defineMetadata(
|
|
29
|
-
Reflect.defineMetadata(
|
|
30
|
-
Reflect.defineMetadata(
|
|
31
|
-
Reflect.defineMetadata(
|
|
32
|
-
Reflect.defineMetadata(
|
|
33
|
-
Reflect.defineMetadata(
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
class BusinessObjectDataDecorator {
|
|
38
|
-
static GetName(modelClass) {
|
|
39
|
-
if (!modelClass || typeof modelClass === "object") {
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
return Reflect.getMetadata(NAME_META_KEY, modelClass);
|
|
43
|
-
}
|
|
44
|
-
static GetMapping(modelClass) {
|
|
45
|
-
return this._GetSafeMetaDataValue(MAPPING_META_KEY, modelClass);
|
|
46
|
-
}
|
|
47
|
-
static GetLabel(modelClass) {
|
|
48
|
-
return this._GetSafeMetaDataValue(LABEL_META_KEY, modelClass);
|
|
49
|
-
}
|
|
50
|
-
static GetLabelPlural(modelClass) {
|
|
51
|
-
return this._GetSafeMetaDataValue(LABEL_PURAL_META_KEY, modelClass);
|
|
52
|
-
}
|
|
53
|
-
static GetCodeField(modelClass) {
|
|
54
|
-
return this._GetSafeMetaDataValue(CODE_FIELD_META_KEY, modelClass);
|
|
55
|
-
}
|
|
56
|
-
static GetGroupField(modelClass) {
|
|
57
|
-
return this._GetSafeMetaDataValue(GROUP_FIELD_META_KEY, modelClass);
|
|
58
|
-
}
|
|
59
|
-
static GetGroupDomainName(modelClass) {
|
|
60
|
-
return this._GetSafeMetaDataValue(GROUP_DOMAIN_NAME_META_KEY, modelClass);
|
|
61
|
-
}
|
|
62
|
-
static GetGroupMasterDataClass(modelClass) {
|
|
63
|
-
return this._GetSafeMetaDataValue(GROUP_MASTER_DATA_CLASS, modelClass);
|
|
64
|
-
}
|
|
65
|
-
static GetGroupEnumClass(modelClass) {
|
|
66
|
-
return this._GetSafeMetaDataValue(GROUP_ENUM_CLASS, modelClass);
|
|
67
|
-
}
|
|
68
|
-
static GetDescriptionField(modelClass) {
|
|
69
|
-
return this._GetSafeMetaDataValue(DESCRIPTION_FIELD_META_KEY, modelClass);
|
|
70
|
-
}
|
|
71
|
-
static GetSearchProperties(modelClass) {
|
|
72
|
-
return array_utils_1.ArrayUtils.CloneArrayAndItsItems(this._GetSafeMetaDataValue(SEARCH_PROPERTIES_META_KEY, modelClass));
|
|
73
|
-
}
|
|
74
|
-
static GetFilterProperties(modelClass) {
|
|
75
|
-
return array_utils_1.ArrayUtils.CloneArrayAndItsItems(this._GetSafeMetaDataValue(FILTER_PROPERTIES_META_KEY, modelClass), undefined, true);
|
|
76
|
-
}
|
|
77
|
-
static GetSortProperties(modelClass) {
|
|
78
|
-
return array_utils_1.ArrayUtils.CloneArrayAndItsItems(this._GetSafeMetaDataValue(SORT_PROPERTIES_META_KEY, modelClass));
|
|
79
|
-
}
|
|
80
|
-
static _GetSafeMetaDataValue(metaProp, modelClass) {
|
|
81
|
-
if (!modelClass) {
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
return Reflect.getMetadata(metaProp, modelClass);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
exports.BusinessObjectDataDecorator = BusinessObjectDataDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessObjectDataDecorator = void 0;
|
|
4
|
+
exports.BusinessObjectData = BusinessObjectData;
|
|
5
|
+
require("reflect-metadata");
|
|
6
|
+
const array_utils_1 = require("../../utils/array-utils");
|
|
7
|
+
const NAME_META_KEY = "name";
|
|
8
|
+
const MAPPING_META_KEY = "mapping";
|
|
9
|
+
const LABEL_META_KEY = "label";
|
|
10
|
+
const LABEL_PURAL_META_KEY = "labelPlural";
|
|
11
|
+
const CODE_FIELD_META_KEY = "codeField";
|
|
12
|
+
const GROUP_FIELD_META_KEY = "groupField";
|
|
13
|
+
const GROUP_DOMAIN_NAME_META_KEY = "groupDomainName";
|
|
14
|
+
const GROUP_MASTER_DATA_CLASS = "groupMasterDataClass";
|
|
15
|
+
const GROUP_ENUM_CLASS = "groupEnumClass";
|
|
16
|
+
const DESCRIPTION_FIELD_META_KEY = "descriptionField";
|
|
17
|
+
const SEARCH_PROPERTIES_META_KEY = "searchProperties";
|
|
18
|
+
const FILTER_PROPERTIES_META_KEY = "filterProperties";
|
|
19
|
+
const SORT_PROPERTIES_META_KEY = "sortProperties";
|
|
20
|
+
function BusinessObjectData(data) {
|
|
21
|
+
return (target) => {
|
|
22
|
+
Reflect.defineMetadata(NAME_META_KEY, data.name, target);
|
|
23
|
+
Reflect.defineMetadata(MAPPING_META_KEY, data.mapping, target);
|
|
24
|
+
Reflect.defineMetadata(LABEL_META_KEY, data.label, target);
|
|
25
|
+
Reflect.defineMetadata(LABEL_PURAL_META_KEY, data.labelPlural, target);
|
|
26
|
+
Reflect.defineMetadata(CODE_FIELD_META_KEY, data.codeField, target);
|
|
27
|
+
Reflect.defineMetadata(GROUP_FIELD_META_KEY, data.groupField, target);
|
|
28
|
+
Reflect.defineMetadata(GROUP_DOMAIN_NAME_META_KEY, data.groupDomainName, target);
|
|
29
|
+
Reflect.defineMetadata(GROUP_MASTER_DATA_CLASS, data.groupMasterDataClass, target);
|
|
30
|
+
Reflect.defineMetadata(GROUP_ENUM_CLASS, data.groupEnumClass, target);
|
|
31
|
+
Reflect.defineMetadata(DESCRIPTION_FIELD_META_KEY, data.descriptionField, target);
|
|
32
|
+
Reflect.defineMetadata(SEARCH_PROPERTIES_META_KEY, data.searchProperties, target);
|
|
33
|
+
Reflect.defineMetadata(FILTER_PROPERTIES_META_KEY, data.filterProperties, target);
|
|
34
|
+
Reflect.defineMetadata(SORT_PROPERTIES_META_KEY, data.sortProperties, target);
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
class BusinessObjectDataDecorator {
|
|
38
|
+
static GetName(modelClass) {
|
|
39
|
+
if (!modelClass || typeof modelClass === "object") {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
return Reflect.getMetadata(NAME_META_KEY, modelClass);
|
|
43
|
+
}
|
|
44
|
+
static GetMapping(modelClass) {
|
|
45
|
+
return this._GetSafeMetaDataValue(MAPPING_META_KEY, modelClass);
|
|
46
|
+
}
|
|
47
|
+
static GetLabel(modelClass) {
|
|
48
|
+
return this._GetSafeMetaDataValue(LABEL_META_KEY, modelClass);
|
|
49
|
+
}
|
|
50
|
+
static GetLabelPlural(modelClass) {
|
|
51
|
+
return this._GetSafeMetaDataValue(LABEL_PURAL_META_KEY, modelClass);
|
|
52
|
+
}
|
|
53
|
+
static GetCodeField(modelClass) {
|
|
54
|
+
return this._GetSafeMetaDataValue(CODE_FIELD_META_KEY, modelClass);
|
|
55
|
+
}
|
|
56
|
+
static GetGroupField(modelClass) {
|
|
57
|
+
return this._GetSafeMetaDataValue(GROUP_FIELD_META_KEY, modelClass);
|
|
58
|
+
}
|
|
59
|
+
static GetGroupDomainName(modelClass) {
|
|
60
|
+
return this._GetSafeMetaDataValue(GROUP_DOMAIN_NAME_META_KEY, modelClass);
|
|
61
|
+
}
|
|
62
|
+
static GetGroupMasterDataClass(modelClass) {
|
|
63
|
+
return this._GetSafeMetaDataValue(GROUP_MASTER_DATA_CLASS, modelClass);
|
|
64
|
+
}
|
|
65
|
+
static GetGroupEnumClass(modelClass) {
|
|
66
|
+
return this._GetSafeMetaDataValue(GROUP_ENUM_CLASS, modelClass);
|
|
67
|
+
}
|
|
68
|
+
static GetDescriptionField(modelClass) {
|
|
69
|
+
return this._GetSafeMetaDataValue(DESCRIPTION_FIELD_META_KEY, modelClass);
|
|
70
|
+
}
|
|
71
|
+
static GetSearchProperties(modelClass) {
|
|
72
|
+
return array_utils_1.ArrayUtils.CloneArrayAndItsItems(this._GetSafeMetaDataValue(SEARCH_PROPERTIES_META_KEY, modelClass));
|
|
73
|
+
}
|
|
74
|
+
static GetFilterProperties(modelClass) {
|
|
75
|
+
return array_utils_1.ArrayUtils.CloneArrayAndItsItems(this._GetSafeMetaDataValue(FILTER_PROPERTIES_META_KEY, modelClass), undefined, true);
|
|
76
|
+
}
|
|
77
|
+
static GetSortProperties(modelClass) {
|
|
78
|
+
return array_utils_1.ArrayUtils.CloneArrayAndItsItems(this._GetSafeMetaDataValue(SORT_PROPERTIES_META_KEY, modelClass));
|
|
79
|
+
}
|
|
80
|
+
static _GetSafeMetaDataValue(metaProp, modelClass) {
|
|
81
|
+
if (!modelClass) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
return Reflect.getMetadata(metaProp, modelClass);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.BusinessObjectDataDecorator = BusinessObjectDataDecorator;
|
|
88
88
|
//# sourceMappingURL=business-object-data.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-object-data.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/business-object-data.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"business-object-data.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/business-object-data.decorator.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
export declare function CoInject(type: any): PropertyDecorator;
|
|
3
|
-
export declare class CoInjectDecorator {
|
|
4
|
-
static GetAllDecoratedProperties(target: Object): string[];
|
|
5
|
-
static IsCoInjectField(target: Object, propertyKey: string): boolean;
|
|
6
|
-
static GetCoInjectFieldType(target: Object, propertyKey: string): any;
|
|
7
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export declare function CoInject(type: any): PropertyDecorator;
|
|
3
|
+
export declare class CoInjectDecorator {
|
|
4
|
+
static GetAllDecoratedProperties(target: Object): string[];
|
|
5
|
+
static IsCoInjectField(target: Object, propertyKey: string): boolean;
|
|
6
|
+
static GetCoInjectFieldType(target: Object, propertyKey: string): any;
|
|
7
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CoInjectDecorator =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
`
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
class CoInjectDecorator {
|
|
31
|
-
static GetAllDecoratedProperties(target) {
|
|
32
|
-
if (!target || typeof target !== "object") {
|
|
33
|
-
return [];
|
|
34
|
-
}
|
|
35
|
-
const allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
36
|
-
if (!allProps) {
|
|
37
|
-
return [];
|
|
38
|
-
}
|
|
39
|
-
return Array.from(allProps);
|
|
40
|
-
}
|
|
41
|
-
static IsCoInjectField(target, propertyKey) {
|
|
42
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
return ((0, not_nill_function_1.notNill)(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
|
|
46
|
-
}
|
|
47
|
-
static GetCoInjectFieldType(target, propertyKey) {
|
|
48
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
49
|
-
return undefined;
|
|
50
|
-
}
|
|
51
|
-
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.CoInjectDecorator = CoInjectDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoInjectDecorator = void 0;
|
|
4
|
+
exports.CoInject = CoInject;
|
|
5
|
+
require("reflect-metadata");
|
|
6
|
+
const object_utils_1 = require("../../utils/object-utils");
|
|
7
|
+
const not_nill_function_1 = require("../../utils/function/not-nill.function");
|
|
8
|
+
const PROP_META_KEY = "coInjectClass";
|
|
9
|
+
const ALL_PROPS_META_KEY = "coInjectClassProps";
|
|
10
|
+
function CoInject(type) {
|
|
11
|
+
return function (target, propertyKey) {
|
|
12
|
+
if (!target || !propertyKey) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
if (!type) {
|
|
16
|
+
console.error(`@CoInject(type): type was UNDEFINED. Called on prop (${object_utils_1.ObjectUtils.GetClassName(target)}, ${propertyKey}). ` +
|
|
17
|
+
`Class will not be given any @CoInject field values now. We've always been able to fix this by CHANGING IMPORT ORDERS ` +
|
|
18
|
+
`where both classes and their dependencies are used, e.g. factory, repository or models..`);
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
Reflect.defineMetadata(PROP_META_KEY, type, target, propertyKey);
|
|
22
|
+
let coInjectProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
23
|
+
if (!coInjectProps) {
|
|
24
|
+
coInjectProps = new Set();
|
|
25
|
+
}
|
|
26
|
+
coInjectProps.add(propertyKey);
|
|
27
|
+
Reflect.defineMetadata(ALL_PROPS_META_KEY, coInjectProps, target);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
class CoInjectDecorator {
|
|
31
|
+
static GetAllDecoratedProperties(target) {
|
|
32
|
+
if (!target || typeof target !== "object") {
|
|
33
|
+
return [];
|
|
34
|
+
}
|
|
35
|
+
const allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
36
|
+
if (!allProps) {
|
|
37
|
+
return [];
|
|
38
|
+
}
|
|
39
|
+
return Array.from(allProps);
|
|
40
|
+
}
|
|
41
|
+
static IsCoInjectField(target, propertyKey) {
|
|
42
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
return ((0, not_nill_function_1.notNill)(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
|
|
46
|
+
}
|
|
47
|
+
static GetCoInjectFieldType(target, propertyKey) {
|
|
48
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.CoInjectDecorator = CoInjectDecorator;
|
|
55
55
|
//# sourceMappingURL=co-inject.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"co-inject.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/co-inject.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"co-inject.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/co-inject.decorator.ts"],"names":[],"mappings":";;;AAiBA,4BAuBC;AAxCD,4BAA0B;AAC1B,2DAAqD;AACrD,8EAA+D;AAE/D,MAAM,aAAa,GAAW,eAAe,CAAC;AAC9C,MAAM,kBAAkB,GAAW,oBAAoB,CAAC;AAYxD,SAAgB,QAAQ,CAAC,IAAS;IAC9B,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;YAC1B,OAAO;QACX,CAAC;QAGD,IAAI,CAAC,IAAI,EAAE,CAAC;YACR,OAAO,CAAC,KAAK,CAAC,wDAAwD,0BAAW,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,WAAW,KAAK;gBACvH,uHAAuH;gBACvH,0FAA0F,CAAC,CAAC;YAChG,OAAO;QACX,CAAC;QACD,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QAGjE,IAAI,aAAa,GAAgB,OAAO,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QACjF,IAAI,CAAC,aAAa,EAAE,CAAC;YACjB,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;QACtC,CAAC;QACD,aAAa,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAC/B,OAAO,CAAC,cAAc,CAAC,kBAAkB,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC;IACtE,CAAC,CAAC;AACN,CAAC;AAGD,MAAa,iBAAiB;IAKnB,MAAM,CAAC,yBAAyB,CAAC,MAAc;QAClD,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxC,OAAO,EAAE,CAAC;QACd,CAAC;QACD,MAAM,QAAQ,GAAgB,OAAO,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,QAAQ,EAAE,CAAC;YACZ,OAAO,EAAE,CAAC;QACd,CAAC;QACD,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC;IAMM,MAAM,CAAC,eAAe,CAAC,MAAc,EAAE,WAAmB;QAC7D,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,IAAA,2BAAO,EAAC,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC9E,CAAC;IAGM,MAAM,CAAC,oBAAoB,CAAC,MAAc,EAAE,WAAmB;QAClE,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,SAAS,CAAC;QACrB,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;CACJ;AAlCD,8CAkCC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
export declare function ComplexArray(type: any): PropertyDecorator;
|
|
3
|
-
export declare class ComplexArrayDecorator {
|
|
4
|
-
static IsComplexArray(target: Object, propertyKey: string): boolean;
|
|
5
|
-
static GetComplexArrayType(target: Object, propertyKey: string): any;
|
|
6
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export declare function ComplexArray(type: any): PropertyDecorator;
|
|
3
|
+
export declare class ComplexArrayDecorator {
|
|
4
|
+
static IsComplexArray(target: Object, propertyKey: string): boolean;
|
|
5
|
+
static GetComplexArrayType(target: Object, propertyKey: string): any;
|
|
6
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ComplexArrayDecorator =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
`
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
class ComplexArrayDecorator {
|
|
24
|
-
static IsComplexArray(target, propertyKey) {
|
|
25
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return ((0, not_nill_function_1.notNill)(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
|
|
29
|
-
}
|
|
30
|
-
static GetComplexArrayType(target, propertyKey) {
|
|
31
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.ComplexArrayDecorator = ComplexArrayDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComplexArrayDecorator = void 0;
|
|
4
|
+
exports.ComplexArray = ComplexArray;
|
|
5
|
+
require("reflect-metadata");
|
|
6
|
+
const object_utils_1 = require("../../utils/object-utils");
|
|
7
|
+
const not_nill_function_1 = require("../../utils/function/not-nill.function");
|
|
8
|
+
const PROP_META_KEY = "complexArray";
|
|
9
|
+
function ComplexArray(type) {
|
|
10
|
+
return function (target, propertyKey) {
|
|
11
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
if (!type) {
|
|
15
|
+
console.warn(`@ComplexArray(type): type was UNDEFINED. Called on prop (${object_utils_1.ObjectUtils.GetClassName(target)}, ${propertyKey}). ` +
|
|
16
|
+
`Class will not properly serialize and deserialize now. We've always been able to fix this by CHANGING IMPORT ORDERS ` +
|
|
17
|
+
`where both classes and their dependencies are used, e.g. factory, repository or models..`);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
Reflect.defineMetadata(PROP_META_KEY, type, target, propertyKey);
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
class ComplexArrayDecorator {
|
|
24
|
+
static IsComplexArray(target, propertyKey) {
|
|
25
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return ((0, not_nill_function_1.notNill)(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
|
|
29
|
+
}
|
|
30
|
+
static GetComplexArrayType(target, propertyKey) {
|
|
31
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.ComplexArrayDecorator = ComplexArrayDecorator;
|
|
38
38
|
//# sourceMappingURL=complex-array.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complex-array.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/complex-array.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"complex-array.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/complex-array.decorator.ts"],"names":[],"mappings":";;;AAoBA,oCAeC;AAnCD,4BAA0B;AAC1B,2DAAqD;AACrD,8EAA+D;AAE/D,MAAM,aAAa,GAAW,cAAc,CAAC;AAgB7C,SAAgB,YAAY,CAAC,IAAS;IAClC,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO;QACX,CAAC;QAGD,IAAI,CAAC,IAAI,EAAE,CAAC;YACR,OAAO,CAAC,IAAI,CAAC,4DAA4D,0BAAW,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,WAAW,KAAK;gBAC1H,sHAAsH;gBACtH,0FAA0F,CAAC,CAAC;YAChG,OAAO;QACX,CAAC;QACD,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACrE,CAAC,CAAC;AACN,CAAC;AAGD,MAAa,qBAAqB;IAKvB,MAAM,CAAC,cAAc,CAAC,MAAc,EAAE,WAAmB;QAC5D,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,KAAK,CAAC;QACjB,CAAC;QAED,OAAO,CAAC,IAAA,2BAAO,EAAC,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC9E,CAAC;IAKM,MAAM,CAAC,mBAAmB,CAAC,MAAc,EAAE,WAAmB;QACjE,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,SAAS,CAAC;QACrB,CAAC;QAED,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;CACJ;AAvBD,sDAuBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
export declare function ComplexField(type: any): PropertyDecorator;
|
|
3
|
-
export declare class ComplexFieldDecorator {
|
|
4
|
-
static IsComplexField(target: Object, propertyKey: string): boolean;
|
|
5
|
-
static GetComplexFieldType(target: Object, propertyKey: string): any;
|
|
6
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export declare function ComplexField(type: any): PropertyDecorator;
|
|
3
|
+
export declare class ComplexFieldDecorator {
|
|
4
|
+
static IsComplexField(target: Object, propertyKey: string): boolean;
|
|
5
|
+
static GetComplexFieldType(target: Object, propertyKey: string): any;
|
|
6
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ComplexFieldDecorator =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
`
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
class ComplexFieldDecorator {
|
|
24
|
-
static IsComplexField(target, propertyKey) {
|
|
25
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return ((0, not_nill_function_1.notNill)(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
|
|
29
|
-
}
|
|
30
|
-
static GetComplexFieldType(target, propertyKey) {
|
|
31
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.ComplexFieldDecorator = ComplexFieldDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComplexFieldDecorator = void 0;
|
|
4
|
+
exports.ComplexField = ComplexField;
|
|
5
|
+
require("reflect-metadata");
|
|
6
|
+
const not_nill_function_1 = require("../../utils/function/not-nill.function");
|
|
7
|
+
const object_utils_1 = require("../../utils/object-utils");
|
|
8
|
+
const PROP_META_KEY = "complexField";
|
|
9
|
+
function ComplexField(type) {
|
|
10
|
+
return function (target, propertyKey) {
|
|
11
|
+
if (!target || !propertyKey) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
if (!type) {
|
|
15
|
+
console.warn(`@ComplexField(type): type was UNDEFINED. Called on prop (${object_utils_1.ObjectUtils.GetClassName(target)}, ${propertyKey}). ` +
|
|
16
|
+
`Class will not properly serialize and deserialize now. We've always been able to fix this by CHANGING IMPORT ORDERS ` +
|
|
17
|
+
`where both classes and their dependencies are used, e.g. factory, repository or models..`);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
Reflect.defineMetadata(PROP_META_KEY, type, target, propertyKey);
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
class ComplexFieldDecorator {
|
|
24
|
+
static IsComplexField(target, propertyKey) {
|
|
25
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return ((0, not_nill_function_1.notNill)(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
|
|
29
|
+
}
|
|
30
|
+
static GetComplexFieldType(target, propertyKey) {
|
|
31
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.ComplexFieldDecorator = ComplexFieldDecorator;
|
|
38
38
|
//# sourceMappingURL=complex-field.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complex-field.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/complex-field.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"complex-field.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/complex-field.decorator.ts"],"names":[],"mappings":";;;AAuBA,oCAgBC;AAvCD,4BAA0B;AAC1B,8EAA+D;AAC/D,2DAAqD;AAErD,MAAM,aAAa,GAAW,cAAc,CAAC;AAmB7C,SAAgB,YAAY,CAAC,IAAS;IAClC,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;YAC1B,OAAO;QACX,CAAC;QAID,IAAI,CAAC,IAAI,EAAE,CAAC;YACR,OAAO,CAAC,IAAI,CAAC,4DAA4D,0BAAW,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,WAAW,KAAK;gBAC1H,sHAAsH;gBACtH,0FAA0F,CAAC,CAAC;YAChG,OAAO;QACX,CAAC;QACD,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACrE,CAAC,CAAC;AACN,CAAC;AAGD,MAAa,qBAAqB;IAMvB,MAAM,CAAC,cAAc,CAAC,MAAc,EAAE,WAAmB;QAC5D,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,IAAA,2BAAO,EAAC,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC9E,CAAC;IAGM,MAAM,CAAC,mBAAmB,CAAC,MAAc,EAAE,WAAmB;QACjE,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,SAAS,CAAC;QACrB,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;CACJ;AApBD,sDAoBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
export declare function DateField(): PropertyDecorator;
|
|
3
|
-
export declare class DateFieldFieldDecorator {
|
|
4
|
-
static IsDateField(target: Object, propertyKey: string): boolean;
|
|
5
|
-
static StringAsDate(str: string): Date;
|
|
6
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export declare function DateField(): PropertyDecorator;
|
|
3
|
+
export declare class DateFieldFieldDecorator {
|
|
4
|
+
static IsDateField(target: Object, propertyKey: string): boolean;
|
|
5
|
+
static StringAsDate(str: string): Date;
|
|
6
|
+
}
|