@sitecore/sc-contenthub-webclient-sdk 0.9.7
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/LICENSE +24 -0
- package/dist/api/api-info-resource.d.ts +8 -0
- package/dist/api/api-info-resource.js +42 -0
- package/dist/api/api-info.d.ts +29 -0
- package/dist/api/api-info.js +14 -0
- package/dist/api/api-resource.d.ts +4 -0
- package/dist/api/api-resource.js +16 -0
- package/dist/api/api-routes-dictionary.d.ts +8 -0
- package/dist/api/api-routes-dictionary.js +10 -0
- package/dist/authentication/oauth-grant-base.d.ts +6 -0
- package/dist/authentication/oauth-grant-base.js +42 -0
- package/dist/authentication/oauth-grant-type.d.ts +4 -0
- package/dist/authentication/oauth-grant-type.js +8 -0
- package/dist/authentication/oauth-password-grant.d.ts +8 -0
- package/dist/authentication/oauth-password-grant.js +45 -0
- package/dist/authentication/oauth-refreshtoken-grant.d.ts +7 -0
- package/dist/authentication/oauth-refreshtoken-grant.js +39 -0
- package/dist/authentication/token-info.d.ts +6 -0
- package/dist/authentication/token-info.js +35 -0
- package/dist/base-types.d.ts +56 -0
- package/dist/base-types.js +32 -0
- package/dist/caches/culture-cache.d.ts +8 -0
- package/dist/caches/culture-cache.js +21 -0
- package/dist/caches/entity-definition-cache.d.ts +44 -0
- package/dist/caches/entity-definition-cache.js +96 -0
- package/dist/clients/api-client.d.ts +56 -0
- package/dist/clients/api-client.js +107 -0
- package/dist/clients/commands-client.d.ts +16 -0
- package/dist/clients/commands-client.js +40 -0
- package/dist/clients/content-hub-client.d.ts +75 -0
- package/dist/clients/content-hub-client.js +66 -0
- package/dist/clients/culture-client.d.ts +36 -0
- package/dist/clients/culture-client.js +43 -0
- package/dist/clients/culture-loader.d.ts +41 -0
- package/dist/clients/culture-loader.js +103 -0
- package/dist/clients/entities-client.d.ts +201 -0
- package/dist/clients/entities-client.js +271 -0
- package/dist/clients/entity-definitions-client.d.ts +87 -0
- package/dist/clients/entity-definitions-client.js +354 -0
- package/dist/clients/extended-client.d.ts +11 -0
- package/dist/clients/extended-client.js +2 -0
- package/dist/clients/internal-client.d.ts +46 -0
- package/dist/clients/internal-client.js +240 -0
- package/dist/clients/notifications-client.d.ts +35 -0
- package/dist/clients/notifications-client.js +128 -0
- package/dist/clients/option-list-client.d.ts +49 -0
- package/dist/clients/option-list-client.js +85 -0
- package/dist/clients/pages-client.d.ts +36 -0
- package/dist/clients/pages-client.js +52 -0
- package/dist/clients/policies-client.d.ts +47 -0
- package/dist/clients/policies-client.js +92 -0
- package/dist/clients/querying-client.d.ts +34 -0
- package/dist/clients/querying-client.js +95 -0
- package/dist/clients/raw-client.d.ts +29 -0
- package/dist/clients/raw-client.js +79 -0
- package/dist/clients/request-message.d.ts +25 -0
- package/dist/clients/request-message.js +12 -0
- package/dist/clients/response-handler.d.ts +30 -0
- package/dist/clients/response-handler.js +145 -0
- package/dist/clients/response-message.d.ts +45 -0
- package/dist/clients/response-message.js +34 -0
- package/dist/clients/schema-querying.d.ts +16 -0
- package/dist/clients/schema-querying.js +70 -0
- package/dist/clients/search-client.d.ts +16 -0
- package/dist/clients/search-client.js +36 -0
- package/dist/clients/settings-client.d.ts +37 -0
- package/dist/clients/settings-client.js +126 -0
- package/dist/clients/users-client.d.ts +150 -0
- package/dist/clients/users-client.js +317 -0
- package/dist/clients/web-content-hub-client.d.ts +13 -0
- package/dist/clients/web-content-hub-client.js +2 -0
- package/dist/constants/api.d.ts +130 -0
- package/dist/constants/api.js +133 -0
- package/dist/constants/defaults.d.ts +7 -0
- package/dist/constants/defaults.js +10 -0
- package/dist/constants/definitions.d.ts +62 -0
- package/dist/constants/definitions.js +88 -0
- package/dist/constants/index.d.ts +5 -0
- package/dist/constants/index.js +30 -0
- package/dist/constants/notifications.d.ts +7 -0
- package/dist/constants/notifications.js +10 -0
- package/dist/contracts/base/culture-insensitive-property.d.ts +28 -0
- package/dist/contracts/base/culture-insensitive-property.js +47 -0
- package/dist/contracts/base/culture-sensitive-property.d.ts +49 -0
- package/dist/contracts/base/culture-sensitive-property.js +113 -0
- package/dist/contracts/base/data-type.d.ts +18 -0
- package/dist/contracts/base/data-type.js +24 -0
- package/dist/contracts/base/entity-base.d.ts +65 -0
- package/dist/contracts/base/entity-base.js +362 -0
- package/dist/contracts/base/entity-construction-args.d.ts +15 -0
- package/dist/contracts/base/entity-construction-args.js +16 -0
- package/dist/contracts/base/entity-definition.d.ts +108 -0
- package/dist/contracts/base/entity-definition.js +126 -0
- package/dist/contracts/base/entity.d.ts +237 -0
- package/dist/contracts/base/entity.js +76 -0
- package/dist/contracts/base/index.d.ts +14 -0
- package/dist/contracts/base/index.js +26 -0
- package/dist/contracts/base/json-content-type.d.ts +9 -0
- package/dist/contracts/base/json-content-type.js +13 -0
- package/dist/contracts/base/lazy-loading-manager.d.ts +4 -0
- package/dist/contracts/base/lazy-loading-manager.js +17 -0
- package/dist/contracts/base/member-condition.d.ts +48 -0
- package/dist/contracts/base/member-condition.js +125 -0
- package/dist/contracts/base/member-definition-type.d.ts +13 -0
- package/dist/contracts/base/member-definition-type.js +17 -0
- package/dist/contracts/base/member-definition.d.ts +77 -0
- package/dist/contracts/base/member-definition.js +101 -0
- package/dist/contracts/base/member-group.d.ts +54 -0
- package/dist/contracts/base/member-group.js +61 -0
- package/dist/contracts/base/member.d.ts +32 -0
- package/dist/contracts/base/member.js +26 -0
- package/dist/contracts/base/option-lists/flat-option-list-value.d.ts +4 -0
- package/dist/contracts/base/option-lists/flat-option-list-value.js +9 -0
- package/dist/contracts/base/option-lists/flat-option-list.d.ts +9 -0
- package/dist/contracts/base/option-lists/flat-option-list.js +11 -0
- package/dist/contracts/base/option-lists/hierarchical-option-list.d.ts +9 -0
- package/dist/contracts/base/option-lists/hierarchical-option-list.js +11 -0
- package/dist/contracts/base/option-lists/hierarchical-options-list-value.d.ts +7 -0
- package/dist/contracts/base/option-lists/hierarchical-options-list-value.js +14 -0
- package/dist/contracts/base/option-lists/option-list-base.d.ts +23 -0
- package/dist/contracts/base/option-lists/option-list-base.js +33 -0
- package/dist/contracts/base/option-lists/option-list-type.d.ts +13 -0
- package/dist/contracts/base/option-lists/option-list-type.js +17 -0
- package/dist/contracts/base/option-lists/option-list-value-base.d.ts +7 -0
- package/dist/contracts/base/option-lists/option-list-value-base.js +14 -0
- package/dist/contracts/base/option-lists/option-list-value.d.ts +30 -0
- package/dist/contracts/base/option-lists/option-list-value.js +2 -0
- package/dist/contracts/base/option-lists/option-list.d.ts +40 -0
- package/dist/contracts/base/option-lists/option-list.js +2 -0
- package/dist/contracts/base/property-definition.d.ts +61 -0
- package/dist/contracts/base/property-definition.js +76 -0
- package/dist/contracts/base/property-definitions/boolean-property-definition.d.ts +7 -0
- package/dist/contracts/base/property-definitions/boolean-property-definition.js +33 -0
- package/dist/contracts/base/property-definitions/datetime-property-definition.d.ts +7 -0
- package/dist/contracts/base/property-definitions/datetime-property-definition.js +33 -0
- package/dist/contracts/base/property-definitions/datetimeoffset-property-definition.d.ts +7 -0
- package/dist/contracts/base/property-definitions/datetimeoffset-property-definition.js +33 -0
- package/dist/contracts/base/property-definitions/decimal-property-definition.d.ts +7 -0
- package/dist/contracts/base/property-definitions/decimal-property-definition.js +33 -0
- package/dist/contracts/base/property-definitions/index.d.ts +8 -0
- package/dist/contracts/base/property-definitions/index.js +20 -0
- package/dist/contracts/base/property-definitions/integer-property-definition.d.ts +7 -0
- package/dist/contracts/base/property-definitions/integer-property-definition.js +33 -0
- package/dist/contracts/base/property-definitions/json-property-definition.d.ts +10 -0
- package/dist/contracts/base/property-definitions/json-property-definition.js +38 -0
- package/dist/contracts/base/property-definitions/long-property-definition.d.ts +7 -0
- package/dist/contracts/base/property-definitions/long-property-definition.js +33 -0
- package/dist/contracts/base/property-definitions/string-property-definition.d.ts +33 -0
- package/dist/contracts/base/property-definitions/string-property-definition.js +55 -0
- package/dist/contracts/base/property-manager.d.ts +19 -0
- package/dist/contracts/base/property-manager.js +114 -0
- package/dist/contracts/base/property.d.ts +21 -0
- package/dist/contracts/base/property.js +30 -0
- package/dist/contracts/base/relation-cardinality.d.ts +19 -0
- package/dist/contracts/base/relation-cardinality.js +22 -0
- package/dist/contracts/base/relation-container.d.ts +40 -0
- package/dist/contracts/base/relation-container.js +118 -0
- package/dist/contracts/base/relation-definition.d.ts +123 -0
- package/dist/contracts/base/relation-definition.js +116 -0
- package/dist/contracts/base/relation-manager.d.ts +70 -0
- package/dist/contracts/base/relation-manager.js +197 -0
- package/dist/contracts/base/relation-role.d.ts +14 -0
- package/dist/contracts/base/relation-role.js +17 -0
- package/dist/contracts/base/relation.d.ts +74 -0
- package/dist/contracts/base/relation.js +40 -0
- package/dist/contracts/base/relations/child-to-many-parents-relation.d.ts +27 -0
- package/dist/contracts/base/relations/child-to-many-parents-relation.js +67 -0
- package/dist/contracts/base/relations/child-to-one-parent-relation.d.ts +26 -0
- package/dist/contracts/base/relations/child-to-one-parent-relation.js +74 -0
- package/dist/contracts/base/relations/parent-to-many-children-relation.d.ts +27 -0
- package/dist/contracts/base/relations/parent-to-many-children-relation.js +67 -0
- package/dist/contracts/base/relations/parent-to-one-child-relation.d.ts +29 -0
- package/dist/contracts/base/relations/parent-to-one-child-relation.js +74 -0
- package/dist/contracts/base/relations/to-many-relation.d.ts +16 -0
- package/dist/contracts/base/relations/to-many-relation.js +2 -0
- package/dist/contracts/base/relations/to-one-relation.d.ts +18 -0
- package/dist/contracts/base/relations/to-one-relation.js +2 -0
- package/dist/contracts/base/rendition.d.ts +14 -0
- package/dist/contracts/base/rendition.js +13 -0
- package/dist/contracts/base/resource.d.ts +21 -0
- package/dist/contracts/base/resource.js +2 -0
- package/dist/contracts/base/string-content-type.d.ts +21 -0
- package/dist/contracts/base/string-content-type.js +25 -0
- package/dist/contracts/base/typed-entity.d.ts +11 -0
- package/dist/contracts/base/typed-entity.js +2 -0
- package/dist/contracts/base/users.d.ts +0 -0
- package/dist/contracts/base/users.js +1 -0
- package/dist/contracts/base/view-mode.d.ts +4 -0
- package/dist/contracts/base/view-mode.js +8 -0
- package/dist/contracts/content/asset.d.ts +22 -0
- package/dist/contracts/content/asset.js +67 -0
- package/dist/contracts/content/final-life-cycle-status.d.ts +7 -0
- package/dist/contracts/content/final-life-cycle-status.js +11 -0
- package/dist/contracts/dirty-tracking/dirty-tracking.d.ts +10 -0
- package/dist/contracts/dirty-tracking/dirty-tracking.js +2 -0
- package/dist/contracts/notifications/mail-template.d.ts +44 -0
- package/dist/contracts/notifications/mail-template.js +2 -0
- package/dist/contracts/policies/condition.d.ts +16 -0
- package/dist/contracts/policies/condition.js +10 -0
- package/dist/contracts/policies/member-policy.d.ts +31 -0
- package/dist/contracts/policies/member-policy.js +12 -0
- package/dist/contracts/policies/policy.d.ts +19 -0
- package/dist/contracts/policies/policy.js +11 -0
- package/dist/contracts/policies/rule-type.d.ts +7 -0
- package/dist/contracts/policies/rule-type.js +11 -0
- package/dist/contracts/policies/rule.d.ts +58 -0
- package/dist/contracts/policies/rule.js +19 -0
- package/dist/contracts/policies/user-group-policy.d.ts +10 -0
- package/dist/contracts/policies/user-group-policy.js +17 -0
- package/dist/contracts/policies/user-policy.d.ts +10 -0
- package/dist/contracts/policies/user-policy.js +17 -0
- package/dist/contracts/querying/culture-load-option.d.ts +35 -0
- package/dist/contracts/querying/culture-load-option.js +69 -0
- package/dist/contracts/querying/entity-definition-id-iterator.d.ts +9 -0
- package/dist/contracts/querying/entity-definition-id-iterator.js +30 -0
- package/dist/contracts/querying/entity-definition-id-query-result.d.ts +10 -0
- package/dist/contracts/querying/entity-definition-id-query-result.js +22 -0
- package/dist/contracts/querying/entity-definition-iterator.d.ts +16 -0
- package/dist/contracts/querying/entity-definition-iterator.js +30 -0
- package/dist/contracts/querying/entity-definition-query-result.d.ts +21 -0
- package/dist/contracts/querying/entity-definition-query-result.js +22 -0
- package/dist/contracts/querying/entity-iterator.d.ts +13 -0
- package/dist/contracts/querying/entity-iterator.js +30 -0
- package/dist/contracts/querying/entity-load-configuration-builder.d.ts +76 -0
- package/dist/contracts/querying/entity-load-configuration-builder.js +101 -0
- package/dist/contracts/querying/entity-load-configuration.d.ts +51 -0
- package/dist/contracts/querying/entity-load-configuration.js +67 -0
- package/dist/contracts/querying/entity-load-option.d.ts +35 -0
- package/dist/contracts/querying/entity-load-option.js +94 -0
- package/dist/contracts/querying/entity-query-result.d.ts +23 -0
- package/dist/contracts/querying/entity-query-result.js +33 -0
- package/dist/contracts/querying/filters/comparison-operator.d.ts +11 -0
- package/dist/contracts/querying/filters/comparison-operator.js +15 -0
- package/dist/contracts/querying/filters/composite-filter-operator.d.ts +4 -0
- package/dist/contracts/querying/filters/composite-filter-operator.js +8 -0
- package/dist/contracts/querying/filters/composite-query-filter.d.ts +19 -0
- package/dist/contracts/querying/filters/composite-query-filter.js +49 -0
- package/dist/contracts/querying/filters/createdby-query-filter.d.ts +5 -0
- package/dist/contracts/querying/filters/createdby-query-filter.js +30 -0
- package/dist/contracts/querying/filters/createdon-query-filter.d.ts +19 -0
- package/dist/contracts/querying/filters/createdon-query-filter.js +45 -0
- package/dist/contracts/querying/filters/definition-query-filter.d.ts +34 -0
- package/dist/contracts/querying/filters/definition-query-filter.js +58 -0
- package/dist/contracts/querying/filters/filter-data-type.d.ts +11 -0
- package/dist/contracts/querying/filters/filter-data-type.js +15 -0
- package/dist/contracts/querying/filters/filter-type.d.ts +18 -0
- package/dist/contracts/querying/filters/filter-type.js +22 -0
- package/dist/contracts/querying/filters/id-query-filter.d.ts +25 -0
- package/dist/contracts/querying/filters/id-query-filter.js +49 -0
- package/dist/contracts/querying/filters/identifier-query-filter.d.ts +25 -0
- package/dist/contracts/querying/filters/identifier-query-filter.js +49 -0
- package/dist/contracts/querying/filters/index.d.ts +20 -0
- package/dist/contracts/querying/filters/index.js +32 -0
- package/dist/contracts/querying/filters/modifiedby-query-filter.d.ts +5 -0
- package/dist/contracts/querying/filters/modifiedby-query-filter.js +30 -0
- package/dist/contracts/querying/filters/modifiedon-query-filter.d.ts +19 -0
- package/dist/contracts/querying/filters/modifiedon-query-filter.js +45 -0
- package/dist/contracts/querying/filters/modules-query-filter.d.ts +14 -0
- package/dist/contracts/querying/filters/modules-query-filter.js +43 -0
- package/dist/contracts/querying/filters/not-query-filter.d.ts +14 -0
- package/dist/contracts/querying/filters/not-query-filter.js +39 -0
- package/dist/contracts/querying/filters/property-query-filter.d.ts +38 -0
- package/dist/contracts/querying/filters/property-query-filter.js +63 -0
- package/dist/contracts/querying/filters/query-filter.d.ts +10 -0
- package/dist/contracts/querying/filters/query-filter.js +28 -0
- package/dist/contracts/querying/filters/relation-connection-type.d.ts +15 -0
- package/dist/contracts/querying/filters/relation-connection-type.js +19 -0
- package/dist/contracts/querying/filters/relation-query-filter.d.ts +23 -0
- package/dist/contracts/querying/filters/relation-query-filter.js +48 -0
- package/dist/contracts/querying/filters/secured-ancestors-query-filter.d.ts +24 -0
- package/dist/contracts/querying/filters/secured-ancestors-query-filter.js +53 -0
- package/dist/contracts/querying/filters/user-query-filter.d.ts +37 -0
- package/dist/contracts/querying/filters/user-query-filter.js +61 -0
- package/dist/contracts/querying/id-iterator.d.ts +11 -0
- package/dist/contracts/querying/id-iterator.js +19 -0
- package/dist/contracts/querying/id-query-result.d.ts +17 -0
- package/dist/contracts/querying/id-query-result.js +24 -0
- package/dist/contracts/querying/iterator.d.ts +9 -0
- package/dist/contracts/querying/iterator.js +2 -0
- package/dist/contracts/querying/load-option.d.ts +4 -0
- package/dist/contracts/querying/load-option.js +2 -0
- package/dist/contracts/querying/load-options.d.ts +6 -0
- package/dist/contracts/querying/load-options.js +10 -0
- package/dist/contracts/querying/loading-query-iterator.d.ts +17 -0
- package/dist/contracts/querying/loading-query-iterator.js +57 -0
- package/dist/contracts/querying/member-load-option.d.ts +11 -0
- package/dist/contracts/querying/member-load-option.js +15 -0
- package/dist/contracts/querying/minimal-schema.d.ts +8 -0
- package/dist/contracts/querying/minimal-schema.js +48 -0
- package/dist/contracts/querying/property-data.d.ts +8 -0
- package/dist/contracts/querying/property-data.js +43 -0
- package/dist/contracts/querying/property-load-option.d.ts +30 -0
- package/dist/contracts/querying/property-load-option.js +70 -0
- package/dist/contracts/querying/query-iterator.d.ts +18 -0
- package/dist/contracts/querying/query-iterator.js +54 -0
- package/dist/contracts/querying/query-load-configuration.d.ts +39 -0
- package/dist/contracts/querying/query-load-configuration.js +86 -0
- package/dist/contracts/querying/query-request.d.ts +6 -0
- package/dist/contracts/querying/query-request.js +30 -0
- package/dist/contracts/querying/query-result-paging-manager.d.ts +9 -0
- package/dist/contracts/querying/query-result-paging-manager.js +22 -0
- package/dist/contracts/querying/query-result.d.ts +5 -0
- package/dist/contracts/querying/query-result.js +2 -0
- package/dist/contracts/querying/query-sort-order.d.ts +13 -0
- package/dist/contracts/querying/query-sort-order.js +17 -0
- package/dist/contracts/querying/query.d.ts +23 -0
- package/dist/contracts/querying/query.js +56 -0
- package/dist/contracts/querying/relation-data.d.ts +7 -0
- package/dist/contracts/querying/relation-data.js +38 -0
- package/dist/contracts/querying/relation-load-option.d.ts +31 -0
- package/dist/contracts/querying/relation-load-option.js +74 -0
- package/dist/contracts/querying/relation-specification.d.ts +33 -0
- package/dist/contracts/querying/relation-specification.js +52 -0
- package/dist/contracts/querying/schema-querying.d.ts +20 -0
- package/dist/contracts/querying/schema-querying.js +2 -0
- package/dist/contracts/querying/scroll-request.d.ts +7 -0
- package/dist/contracts/querying/scroll-request.js +33 -0
- package/dist/contracts/querying/skip-take-iterator-base.d.ts +14 -0
- package/dist/contracts/querying/skip-take-iterator-base.js +60 -0
- package/dist/contracts/querying/sort-field-type.d.ts +13 -0
- package/dist/contracts/querying/sort-field-type.js +17 -0
- package/dist/contracts/querying/sorting.d.ts +25 -0
- package/dist/contracts/querying/sorting.js +44 -0
- package/dist/contracts/users/user-group-combine-method.d.ts +4 -0
- package/dist/contracts/users/user-group-combine-method.js +8 -0
- package/dist/contracts/users/user-group-configuration.d.ts +11 -0
- package/dist/contracts/users/user-group-configuration.js +35 -0
- package/dist/contracts/users/user-profile.d.ts +4 -0
- package/dist/contracts/users/user-profile.js +2 -0
- package/dist/contracts/users/user.d.ts +24 -0
- package/dist/contracts/users/user.js +64 -0
- package/dist/converters/api-resource-converter.d.ts +16 -0
- package/dist/converters/api-resource-converter.js +45 -0
- package/dist/converters/file-version-converter.d.ts +22 -0
- package/dist/converters/file-version-converter.js +43 -0
- package/dist/converters/index.d.ts +6 -0
- package/dist/converters/index.js +18 -0
- package/dist/converters/member-condition-converter.d.ts +20 -0
- package/dist/converters/member-condition-converter.js +50 -0
- package/dist/converters/member-condition-resource-converter.d.ts +21 -0
- package/dist/converters/member-condition-resource-converter.js +53 -0
- package/dist/converters/minimal-schema-relation-cardinality-converter.d.ts +11 -0
- package/dist/converters/minimal-schema-relation-cardinality-converter.js +33 -0
- package/dist/converters/page-resource-menus-converter.d.ts +19 -0
- package/dist/converters/page-resource-menus-converter.js +45 -0
- package/dist/converters/page-resource-zones-converter.d.ts +19 -0
- package/dist/converters/page-resource-zones-converter.js +45 -0
- package/dist/converters/relation-map-resource-converter.d.ts +6 -0
- package/dist/converters/relation-map-resource-converter.js +38 -0
- package/dist/converters/relation-resource-converter.d.ts +22 -0
- package/dist/converters/relation-resource-converter.js +51 -0
- package/dist/converters/renditions-converter.d.ts +20 -0
- package/dist/converters/renditions-converter.js +44 -0
- package/dist/converters/string-to-any-map-converter.d.ts +20 -0
- package/dist/converters/string-to-any-map-converter.js +34 -0
- package/dist/culture-info.d.ts +5 -0
- package/dist/culture-info.js +7 -0
- package/dist/dirty-value-calculator.d.ts +7 -0
- package/dist/dirty-value-calculator.js +29 -0
- package/dist/entity-link.d.ts +8 -0
- package/dist/entity-link.js +40 -0
- package/dist/error-messages.d.ts +57 -0
- package/dist/error-messages.js +64 -0
- package/dist/errors/argument-error.d.ts +4 -0
- package/dist/errors/argument-error.js +11 -0
- package/dist/errors/authentication-error.d.ts +5 -0
- package/dist/errors/authentication-error.js +12 -0
- package/dist/errors/bad-request-error.d.ts +5 -0
- package/dist/errors/bad-request-error.js +11 -0
- package/dist/errors/forbidden-error.d.ts +4 -0
- package/dist/errors/forbidden-error.js +11 -0
- package/dist/errors/internal-error.d.ts +4 -0
- package/dist/errors/internal-error.js +11 -0
- package/dist/errors/invalid-operation-error.d.ts +4 -0
- package/dist/errors/invalid-operation-error.js +11 -0
- package/dist/errors/not-found-error.d.ts +5 -0
- package/dist/errors/not-found-error.js +11 -0
- package/dist/errors/not-implemented-error.d.ts +4 -0
- package/dist/errors/not-implemented-error.js +11 -0
- package/dist/errors/not-loaded-error.d.ts +4 -0
- package/dist/errors/not-loaded-error.js +11 -0
- package/dist/errors/not-supported-error.d.ts +4 -0
- package/dist/errors/not-supported-error.js +11 -0
- package/dist/errors/schema-error.d.ts +4 -0
- package/dist/errors/schema-error.js +11 -0
- package/dist/errors/validation-error.d.ts +6 -0
- package/dist/errors/validation-error.js +12 -0
- package/dist/errors/validation-failure.d.ts +7 -0
- package/dist/errors/validation-failure.js +14 -0
- package/dist/errors/web-api-error.d.ts +13 -0
- package/dist/errors/web-api-error.js +13 -0
- package/dist/factories/entity-factory.d.ts +38 -0
- package/dist/factories/entity-factory.js +76 -0
- package/dist/factories/option-list-factory.d.ts +26 -0
- package/dist/factories/option-list-factory.js +22 -0
- package/dist/factories/property-factory.d.ts +10 -0
- package/dist/factories/property-factory.js +54 -0
- package/dist/factories/relation-factory.d.ts +55 -0
- package/dist/factories/relation-factory.js +70 -0
- package/dist/fileversion.d.ts +78 -0
- package/dist/fileversion.js +144 -0
- package/dist/guard.d.ts +29 -0
- package/dist/guard.js +142 -0
- package/dist/http-method.d.ts +9 -0
- package/dist/http-method.js +13 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +22 -0
- package/dist/link-helper.d.ts +209 -0
- package/dist/link-helper.js +371 -0
- package/dist/link.d.ts +9 -0
- package/dist/link.js +78 -0
- package/dist/logging/log-level.d.ts +6 -0
- package/dist/logging/log-level.js +10 -0
- package/dist/logging/logger-base.d.ts +26 -0
- package/dist/logging/logger-base.js +98 -0
- package/dist/logging/logger.d.ts +16 -0
- package/dist/logging/logger.js +2 -0
- package/dist/logging/null-logger.d.ts +7 -0
- package/dist/logging/null-logger.js +13 -0
- package/dist/mappers/api-resource-mapper.d.ts +5 -0
- package/dist/mappers/api-resource-mapper.js +16 -0
- package/dist/mappers/condition-mapper.d.ts +36 -0
- package/dist/mappers/condition-mapper.js +112 -0
- package/dist/mappers/entity-definition-mapper.d.ts +13 -0
- package/dist/mappers/entity-definition-mapper.js +88 -0
- package/dist/mappers/entity-mapper.d.ts +19 -0
- package/dist/mappers/entity-mapper.js +134 -0
- package/dist/mappers/final-life-cycle-status-mapper.d.ts +6 -0
- package/dist/mappers/final-life-cycle-status-mapper.js +51 -0
- package/dist/mappers/load-options-mapper.d.ts +16 -0
- package/dist/mappers/load-options-mapper.js +100 -0
- package/dist/mappers/mapping-utilities.d.ts +7 -0
- package/dist/mappers/mapping-utilities.js +19 -0
- package/dist/mappers/member-condition-mapper.d.ts +12 -0
- package/dist/mappers/member-condition-mapper.js +119 -0
- package/dist/mappers/member-definition-mapper.d.ts +19 -0
- package/dist/mappers/member-definition-mapper.js +266 -0
- package/dist/mappers/member-group-mapper.d.ts +14 -0
- package/dist/mappers/member-group-mapper.js +95 -0
- package/dist/mappers/member-security-mapper.d.ts +34 -0
- package/dist/mappers/member-security-mapper.js +101 -0
- package/dist/mappers/notification-mapper.d.ts +5 -0
- package/dist/mappers/notification-mapper.js +17 -0
- package/dist/mappers/option-list-mapper.d.ts +18 -0
- package/dist/mappers/option-list-mapper.js +131 -0
- package/dist/mappers/policy-mapper.d.ts +29 -0
- package/dist/mappers/policy-mapper.js +124 -0
- package/dist/mappers/property-mapper.d.ts +21 -0
- package/dist/mappers/property-mapper.js +339 -0
- package/dist/mappers/querying-mapper.d.ts +16 -0
- package/dist/mappers/querying-mapper.js +96 -0
- package/dist/mappers/relation-cardinality-mapper.d.ts +5 -0
- package/dist/mappers/relation-cardinality-mapper.js +37 -0
- package/dist/mappers/relation-mapper.d.ts +16 -0
- package/dist/mappers/relation-mapper.js +202 -0
- package/dist/mappers/relation-role-mapper.d.ts +5 -0
- package/dist/mappers/relation-role-mapper.js +29 -0
- package/dist/mappers/rendition-mapper.d.ts +9 -0
- package/dist/mappers/rendition-mapper.js +34 -0
- package/dist/mappers/rule-type-mapper.d.ts +6 -0
- package/dist/mappers/rule-type-mapper.js +33 -0
- package/dist/mappers/rules-mapper.d.ts +35 -0
- package/dist/mappers/rules-mapper.js +123 -0
- package/dist/mappers/typed-entity-creator.d.ts +27 -0
- package/dist/mappers/typed-entity-creator.js +76 -0
- package/dist/models/entity-definition-collection-resource.d.ts +5 -0
- package/dist/models/entity-definition-collection-resource.js +26 -0
- package/dist/models/entity-definition-resource.d.ts +23 -0
- package/dist/models/entity-definition-resource.js +98 -0
- package/dist/models/entity-list-resource.d.ts +5 -0
- package/dist/models/entity-list-resource.js +26 -0
- package/dist/models/entity-resource.d.ts +36 -0
- package/dist/models/entity-resource.js +142 -0
- package/dist/models/list-resource.d.ts +13 -0
- package/dist/models/list-resource.js +50 -0
- package/dist/models/member-condition-resource.d.ts +32 -0
- package/dist/models/member-condition-resource.js +95 -0
- package/dist/models/member-definition-resource.d.ts +15 -0
- package/dist/models/member-definition-resource.js +71 -0
- package/dist/models/member-group-resource.d.ts +14 -0
- package/dist/models/member-group-resource.js +61 -0
- package/dist/models/notifications/distribute-notification-resource.d.ts +7 -0
- package/dist/models/notifications/distribute-notification-resource.js +37 -0
- package/dist/models/notifications/mail-request-broadcast.d.ts +7 -0
- package/dist/models/notifications/mail-request-broadcast.js +18 -0
- package/dist/models/notifications/mail-request-by-id.d.ts +9 -0
- package/dist/models/notifications/mail-request-by-id.js +28 -0
- package/dist/models/notifications/mail-request-by-username.d.ts +9 -0
- package/dist/models/notifications/mail-request-by-username.js +28 -0
- package/dist/models/notifications/mail-request.d.ts +26 -0
- package/dist/models/notifications/mail-request.js +12 -0
- package/dist/models/notifications/notification-level.d.ts +8 -0
- package/dist/models/notifications/notification-level.js +12 -0
- package/dist/models/notifications/realtime-request-broadcast.d.ts +7 -0
- package/dist/models/notifications/realtime-request-broadcast.js +18 -0
- package/dist/models/notifications/realtime-request-by-id.d.ts +9 -0
- package/dist/models/notifications/realtime-request-by-id.js +28 -0
- package/dist/models/notifications/realtime-request-by-username.d.ts +9 -0
- package/dist/models/notifications/realtime-request-by-username.js +28 -0
- package/dist/models/notifications/realtime-request.d.ts +60 -0
- package/dist/models/notifications/realtime-request.js +41 -0
- package/dist/models/notifications/request-by-id.d.ts +13 -0
- package/dist/models/notifications/request-by-id.js +2 -0
- package/dist/models/notifications/request-by-username.d.ts +13 -0
- package/dist/models/notifications/request-by-username.js +2 -0
- package/dist/models/notifications/validators/mail-validator.d.ts +6 -0
- package/dist/models/notifications/validators/mail-validator.js +23 -0
- package/dist/models/notifications/validators/realtime-validator.d.ts +5 -0
- package/dist/models/notifications/validators/realtime-validator.js +14 -0
- package/dist/models/notifications/validators/request-by-id-validator.d.ts +6 -0
- package/dist/models/notifications/validators/request-by-id-validator.js +31 -0
- package/dist/models/notifications/validators/request-by-username-validator.d.ts +6 -0
- package/dist/models/notifications/validators/request-by-username-validator.js +31 -0
- package/dist/models/notifications/validators/validator-base.d.ts +6 -0
- package/dist/models/notifications/validators/validator-base.js +16 -0
- package/dist/models/option-lists/flat-option-list-value.d.ts +4 -0
- package/dist/models/option-lists/flat-option-list-value.js +9 -0
- package/dist/models/option-lists/hierarchical-options-list-value.d.ts +7 -0
- package/dist/models/option-lists/hierarchical-options-list-value.js +14 -0
- package/dist/models/option-lists/option-list-collection-resource.d.ts +6 -0
- package/dist/models/option-lists/option-list-collection-resource.js +32 -0
- package/dist/models/option-lists/option-list-description-resource.d.ts +5 -0
- package/dist/models/option-lists/option-list-description-resource.js +31 -0
- package/dist/models/option-lists/option-list-resource.d.ts +16 -0
- package/dist/models/option-lists/option-list-resource.js +62 -0
- package/dist/models/option-lists/option-list-value-resource.d.ts +6 -0
- package/dist/models/option-lists/option-list-value-resource.js +32 -0
- package/dist/models/pages/component-visualization.d.ts +10 -0
- package/dist/models/pages/component-visualization.js +54 -0
- package/dist/models/pages/language-resource.d.ts +10 -0
- package/dist/models/pages/language-resource.js +47 -0
- package/dist/models/pages/menu-item.d.ts +12 -0
- package/dist/models/pages/menu-item.js +66 -0
- package/dist/models/pages/page-component-resource.d.ts +20 -0
- package/dist/models/pages/page-component-resource.js +87 -0
- package/dist/models/pages/page-resource.d.ts +23 -0
- package/dist/models/pages/page-resource.js +100 -0
- package/dist/models/pages/page-row-settings.d.ts +27 -0
- package/dist/models/pages/page-row-settings.js +119 -0
- package/dist/models/pages/portal-column-resource.d.ts +6 -0
- package/dist/models/pages/portal-column-resource.js +37 -0
- package/dist/models/pages/portal-row-resource.d.ts +7 -0
- package/dist/models/pages/portal-row-resource.js +38 -0
- package/dist/models/pages/portal-section-resource.d.ts +6 -0
- package/dist/models/pages/portal-section-resource.js +37 -0
- package/dist/models/permissions-resource.d.ts +4 -0
- package/dist/models/permissions-resource.js +28 -0
- package/dist/models/policies/condition-resource.d.ts +21 -0
- package/dist/models/policies/condition-resource.js +53 -0
- package/dist/models/policies/member-policy-resource.d.ts +8 -0
- package/dist/models/policies/member-policy-resource.js +43 -0
- package/dist/models/policies/policy-resource.d.ts +50 -0
- package/dist/models/policies/policy-resource.js +89 -0
- package/dist/models/policies/rule-resource.d.ts +49 -0
- package/dist/models/policies/rule-resource.js +78 -0
- package/dist/models/property-definition-resource.d.ts +45 -0
- package/dist/models/property-definition-resource.js +198 -0
- package/dist/models/query-loading-resource.d.ts +4 -0
- package/dist/models/query-loading-resource.js +28 -0
- package/dist/models/query-result-resource.d.ts +9 -0
- package/dist/models/query-result-resource.js +34 -0
- package/dist/models/relation-definition-resource.d.ts +29 -0
- package/dist/models/relation-definition-resource.js +115 -0
- package/dist/models/relation-map-resource.d.ts +6 -0
- package/dist/models/relation-map-resource.js +16 -0
- package/dist/models/relation-resource.d.ts +21 -0
- package/dist/models/relation-resource.js +93 -0
- package/dist/models/resource-containers/entity-definition-resource-container.d.ts +8 -0
- package/dist/models/resource-containers/entity-definition-resource-container.js +2 -0
- package/dist/models/resource-containers/entity-resource-container.d.ts +8 -0
- package/dist/models/resource-containers/entity-resource-container.js +2 -0
- package/dist/models/resource.d.ts +4 -0
- package/dist/models/resource.js +26 -0
- package/dist/models/search/aggregation-request-resource.d.ts +16 -0
- package/dist/models/search/aggregation-request-resource.js +72 -0
- package/dist/models/search/aggregation-response-resource.d.ts +8 -0
- package/dist/models/search/aggregation-response-resource.js +41 -0
- package/dist/models/search/bucket-response-resource.d.ts +8 -0
- package/dist/models/search/bucket-response-resource.js +46 -0
- package/dist/models/search/date-interval.d.ts +10 -0
- package/dist/models/search/date-interval.js +14 -0
- package/dist/models/search/facet-response-resource.d.ts +20 -0
- package/dist/models/search/facet-response-resource.js +98 -0
- package/dist/models/search/field-filter-request-resource.d.ts +16 -0
- package/dist/models/search/field-filter-request-resource.js +76 -0
- package/dist/models/search/field-filter-response-resource.d.ts +17 -0
- package/dist/models/search/field-filter-response-resource.js +84 -0
- package/dist/models/search/field-filter-value-response-resource.d.ts +6 -0
- package/dist/models/search/field-filter-value-response-resource.js +31 -0
- package/dist/models/search/filter-operator.d.ts +86 -0
- package/dist/models/search/filter-operator.js +90 -0
- package/dist/models/search/full-text-response-resource.d.ts +4 -0
- package/dist/models/search/full-text-response-resource.js +27 -0
- package/dist/models/search/group-category.d.ts +6 -0
- package/dist/models/search/group-category.js +35 -0
- package/dist/models/search/group-config.d.ts +4 -0
- package/dist/models/search/group-config.js +27 -0
- package/dist/models/search/group-item.d.ts +10 -0
- package/dist/models/search/group-item.js +44 -0
- package/dist/models/search/grouped-view-response-resource.d.ts +15 -0
- package/dist/models/search/grouped-view-response-resource.js +65 -0
- package/dist/models/search/metric-option-request-resource.d.ts +7 -0
- package/dist/models/search/metric-option-request-resource.js +37 -0
- package/dist/models/search/metric-option-response-resource.d.ts +5 -0
- package/dist/models/search/metric-option-response-resource.js +31 -0
- package/dist/models/search/nested-relation-info.d.ts +11 -0
- package/dist/models/search/nested-relation-info.js +96 -0
- package/dist/models/search/requested-aggregation-type.d.ts +5 -0
- package/dist/models/search/requested-aggregation-type.js +9 -0
- package/dist/models/search/requested-filter-type.d.ts +6 -0
- package/dist/models/search/requested-filter-type.js +10 -0
- package/dist/models/search/search-group-request-resource.d.ts +5 -0
- package/dist/models/search/search-group-request-resource.js +31 -0
- package/dist/models/search/search-request.d.ts +41 -0
- package/dist/models/search/search-request.js +131 -0
- package/dist/models/search/search-response.d.ts +36 -0
- package/dist/models/search/search-response.js +123 -0
- package/dist/models/search/selection-pool-filter-resource.d.ts +7 -0
- package/dist/models/search/selection-pool-filter-resource.js +38 -0
- package/dist/models/search/sorting-request-resource.d.ts +5 -0
- package/dist/models/search/sorting-request-resource.js +32 -0
- package/dist/models/search/sorting-response-resource.d.ts +6 -0
- package/dist/models/search/sorting-response-resource.js +34 -0
- package/dist/models/search-document-resource.d.ts +7 -0
- package/dist/models/search-document-resource.js +33 -0
- package/dist/models/set-password-request-resource.d.ts +5 -0
- package/dist/models/set-password-request-resource.js +31 -0
- package/dist/settings/fetch-setting.d.ts +12 -0
- package/dist/settings/fetch-setting.js +61 -0
- package/dist/settings/super-user-excluded-privileges.d.ts +3 -0
- package/dist/settings/super-user-excluded-privileges.js +27 -0
- package/dist/settings/usage-rights-configuration.d.ts +24 -0
- package/dist/settings/usage-rights-configuration.js +90 -0
- package/dist/type-guards.d.ts +20 -0
- package/dist/type-guards.js +28 -0
- package/package.json +78 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ChildToOneParentRelation = void 0;
|
|
7
|
+
const dirty_value_calculator_1 = __importDefault(require("../../../dirty-value-calculator"));
|
|
8
|
+
const guard_1 = __importDefault(require("../../../guard"));
|
|
9
|
+
const relation_1 = require("../relation");
|
|
10
|
+
const relation_role_1 = require("../relation-role");
|
|
11
|
+
class ChildToOneParentRelation extends relation_1.ChildRelationBase {
|
|
12
|
+
constructor(name) {
|
|
13
|
+
super(name);
|
|
14
|
+
this._parent = null;
|
|
15
|
+
this.role = relation_role_1.RelationRole.Child;
|
|
16
|
+
this.isMultiValue = false;
|
|
17
|
+
}
|
|
18
|
+
get isDirty() {
|
|
19
|
+
if (!this.isTracking) {
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
return this._dirtyValueCalculator.isDirty(this._parent);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
get parent() {
|
|
27
|
+
return this._parent;
|
|
28
|
+
}
|
|
29
|
+
set parent(id) {
|
|
30
|
+
guard_1.default.validIdOrNull(id);
|
|
31
|
+
this._parent = id;
|
|
32
|
+
}
|
|
33
|
+
getIds() {
|
|
34
|
+
if (this._parent !== 0 && this._parent !== null) {
|
|
35
|
+
return [this._parent];
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
return [];
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
setIds(ids) {
|
|
42
|
+
guard_1.default.arrayMaxOne(ids);
|
|
43
|
+
if (ids.length > 0) {
|
|
44
|
+
guard_1.default.validId(ids[0]);
|
|
45
|
+
this._parent = ids[0];
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this._parent = null;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
clear() {
|
|
52
|
+
this._parent = null;
|
|
53
|
+
}
|
|
54
|
+
getId() {
|
|
55
|
+
return this._parent;
|
|
56
|
+
}
|
|
57
|
+
setId(id) {
|
|
58
|
+
guard_1.default.validIdOrNull(id);
|
|
59
|
+
this._parent = id;
|
|
60
|
+
}
|
|
61
|
+
startTracking() {
|
|
62
|
+
if (this.isTracking)
|
|
63
|
+
return;
|
|
64
|
+
this.isTracking = true;
|
|
65
|
+
this._dirtyValueCalculator = new dirty_value_calculator_1.default();
|
|
66
|
+
this._dirtyValueCalculator.setOriginalValue(this._parent);
|
|
67
|
+
}
|
|
68
|
+
markClean() {
|
|
69
|
+
if (this.isTracking) {
|
|
70
|
+
this._dirtyValueCalculator.setOriginalValue(this._parent);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.ChildToOneParentRelation = ChildToOneParentRelation;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IParentRelation, RelationBase } from "../relation";
|
|
2
|
+
import { RelationRole } from "../relation-role";
|
|
3
|
+
import { IToManyRelation } from "./to-many-relation";
|
|
4
|
+
/**
|
|
5
|
+
* A relation where the parent has many children.
|
|
6
|
+
*/
|
|
7
|
+
export interface IParentToManyChildrenRelation extends IParentRelation, IToManyRelation {
|
|
8
|
+
/**
|
|
9
|
+
* The list of children ids.
|
|
10
|
+
*/
|
|
11
|
+
readonly children: Array<number>;
|
|
12
|
+
}
|
|
13
|
+
export declare class ParentToManyChildrenRelation extends RelationBase implements IParentToManyChildrenRelation {
|
|
14
|
+
private _children;
|
|
15
|
+
readonly role: RelationRole;
|
|
16
|
+
readonly isMultiValue: boolean;
|
|
17
|
+
get isDirty(): boolean;
|
|
18
|
+
get children(): Array<number>;
|
|
19
|
+
constructor(name: string);
|
|
20
|
+
getIds(): Array<number>;
|
|
21
|
+
setIds(ids: Array<number>): void;
|
|
22
|
+
clear(): void;
|
|
23
|
+
add(id: number): void;
|
|
24
|
+
addRange(ids: Array<number>): void;
|
|
25
|
+
startTracking(): void;
|
|
26
|
+
markClean(): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ParentToManyChildrenRelation = void 0;
|
|
7
|
+
const dirty_value_calculator_1 = __importDefault(require("../../../dirty-value-calculator"));
|
|
8
|
+
const guard_1 = __importDefault(require("../../../guard"));
|
|
9
|
+
const relation_1 = require("../relation");
|
|
10
|
+
const relation_role_1 = require("../relation-role");
|
|
11
|
+
class ParentToManyChildrenRelation extends relation_1.RelationBase {
|
|
12
|
+
constructor(name) {
|
|
13
|
+
super(name);
|
|
14
|
+
this._children = [];
|
|
15
|
+
this.role = relation_role_1.RelationRole.Parent;
|
|
16
|
+
this.isMultiValue = true;
|
|
17
|
+
}
|
|
18
|
+
get isDirty() {
|
|
19
|
+
if (!this.isTracking) {
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
return this._dirtyValueCalculator.isDirty(this._children);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
get children() {
|
|
27
|
+
return this._children.slice();
|
|
28
|
+
}
|
|
29
|
+
getIds() {
|
|
30
|
+
return this._children.slice();
|
|
31
|
+
}
|
|
32
|
+
setIds(ids) {
|
|
33
|
+
guard_1.default.validIds(ids);
|
|
34
|
+
this._children.splice(0, this._children.length);
|
|
35
|
+
this._children.push(...ids);
|
|
36
|
+
}
|
|
37
|
+
clear() {
|
|
38
|
+
this._children.splice(0, this._children.length);
|
|
39
|
+
}
|
|
40
|
+
add(id) {
|
|
41
|
+
guard_1.default.validId(id);
|
|
42
|
+
if (!this._children.includes(id)) {
|
|
43
|
+
this._children.push(id);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
addRange(ids) {
|
|
47
|
+
guard_1.default.validIds(ids);
|
|
48
|
+
ids.forEach(id => {
|
|
49
|
+
if (!this._children.includes(id)) {
|
|
50
|
+
this._children.push(id);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
startTracking() {
|
|
55
|
+
if (this.isTracking)
|
|
56
|
+
return;
|
|
57
|
+
this.isTracking = true;
|
|
58
|
+
this._dirtyValueCalculator = new dirty_value_calculator_1.default();
|
|
59
|
+
this._dirtyValueCalculator.setOriginalValue(this._children);
|
|
60
|
+
}
|
|
61
|
+
markClean() {
|
|
62
|
+
if (this.isTracking) {
|
|
63
|
+
this._dirtyValueCalculator.setOriginalValue(this._children);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ParentToManyChildrenRelation = ParentToManyChildrenRelation;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Nullable } from "../../../base-types";
|
|
2
|
+
import { IParentRelation, RelationBase } from "../relation";
|
|
3
|
+
import { RelationRole } from "../relation-role";
|
|
4
|
+
import { IToOneRelation } from "./to-one-relation";
|
|
5
|
+
/**
|
|
6
|
+
* A relation where the parent has one child.
|
|
7
|
+
*/
|
|
8
|
+
export interface IParentToOneChildRelation extends IParentRelation, IToOneRelation {
|
|
9
|
+
/**
|
|
10
|
+
* The child id.
|
|
11
|
+
*/
|
|
12
|
+
child: Nullable<number>;
|
|
13
|
+
}
|
|
14
|
+
export declare class ParentToOneChildRelation extends RelationBase implements IParentToOneChildRelation {
|
|
15
|
+
private _child;
|
|
16
|
+
readonly role: RelationRole;
|
|
17
|
+
readonly isMultiValue: boolean;
|
|
18
|
+
get child(): Nullable<number>;
|
|
19
|
+
set child(id: Nullable<number>);
|
|
20
|
+
get isDirty(): boolean;
|
|
21
|
+
constructor(name: string);
|
|
22
|
+
getIds(): Array<number>;
|
|
23
|
+
setIds(ids: Array<number>): void;
|
|
24
|
+
clear(): void;
|
|
25
|
+
getId(): Nullable<number>;
|
|
26
|
+
setId(id: Nullable<number>): void;
|
|
27
|
+
startTracking(): void;
|
|
28
|
+
markClean(): void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ParentToOneChildRelation = void 0;
|
|
7
|
+
const dirty_value_calculator_1 = __importDefault(require("../../../dirty-value-calculator"));
|
|
8
|
+
const guard_1 = __importDefault(require("../../../guard"));
|
|
9
|
+
const relation_1 = require("../relation");
|
|
10
|
+
const relation_role_1 = require("../relation-role");
|
|
11
|
+
class ParentToOneChildRelation extends relation_1.RelationBase {
|
|
12
|
+
constructor(name) {
|
|
13
|
+
super(name);
|
|
14
|
+
this._child = null;
|
|
15
|
+
this.role = relation_role_1.RelationRole.Parent;
|
|
16
|
+
this.isMultiValue = false;
|
|
17
|
+
}
|
|
18
|
+
get child() {
|
|
19
|
+
return this._child;
|
|
20
|
+
}
|
|
21
|
+
set child(id) {
|
|
22
|
+
guard_1.default.validIdOrNull(id);
|
|
23
|
+
this._child = id;
|
|
24
|
+
}
|
|
25
|
+
get isDirty() {
|
|
26
|
+
if (!this.isTracking) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
return this._dirtyValueCalculator.isDirty(this._child);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
getIds() {
|
|
34
|
+
if (this._child !== 0 && this._child !== null) {
|
|
35
|
+
return [this._child];
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
return [];
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
setIds(ids) {
|
|
42
|
+
guard_1.default.arrayMaxOne(ids);
|
|
43
|
+
if (ids.length > 0) {
|
|
44
|
+
guard_1.default.validId(ids[0]);
|
|
45
|
+
this._child = ids[0];
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this._child = null;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
clear() {
|
|
52
|
+
this._child = null;
|
|
53
|
+
}
|
|
54
|
+
getId() {
|
|
55
|
+
return this._child;
|
|
56
|
+
}
|
|
57
|
+
setId(id) {
|
|
58
|
+
guard_1.default.validIdOrNull(id);
|
|
59
|
+
this._child = id;
|
|
60
|
+
}
|
|
61
|
+
startTracking() {
|
|
62
|
+
if (this.isTracking)
|
|
63
|
+
return;
|
|
64
|
+
this.isTracking = true;
|
|
65
|
+
this._dirtyValueCalculator = new dirty_value_calculator_1.default();
|
|
66
|
+
this._dirtyValueCalculator.setOriginalValue(this._child);
|
|
67
|
+
}
|
|
68
|
+
markClean() {
|
|
69
|
+
if (this.isTracking) {
|
|
70
|
+
this._dirtyValueCalculator.setOriginalValue(this._child);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.ParentToOneChildRelation = ParentToOneChildRelation;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IRelation } from "../relation";
|
|
2
|
+
/**
|
|
3
|
+
* Base interface for relation that are associated with many entities.
|
|
4
|
+
*/
|
|
5
|
+
export interface IToManyRelation extends IRelation {
|
|
6
|
+
/**
|
|
7
|
+
* Adds an id to the relation's values.
|
|
8
|
+
* @param id - The id to add
|
|
9
|
+
*/
|
|
10
|
+
add(id: number): void;
|
|
11
|
+
/**
|
|
12
|
+
* Adds multiple ids to the relation's values.
|
|
13
|
+
* @param ids - The ids to add
|
|
14
|
+
*/
|
|
15
|
+
addRange(ids: Array<number>): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Nullable } from "../../../base-types";
|
|
2
|
+
import { IRelation } from "../relation";
|
|
3
|
+
/**
|
|
4
|
+
* Base interface for relation that are associated with only one entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface IToOneRelation extends IRelation {
|
|
7
|
+
/**
|
|
8
|
+
* Gets the value of the relation.
|
|
9
|
+
* @returns An id or null.
|
|
10
|
+
*/
|
|
11
|
+
getId(): Nullable<number>;
|
|
12
|
+
/**
|
|
13
|
+
* Sets the value of the relation.
|
|
14
|
+
* @param id - The id to set (or null)
|
|
15
|
+
* @throws The id must be strictly positive.
|
|
16
|
+
*/
|
|
17
|
+
setId(id: Nullable<number>): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import URI = require("urijs");
|
|
2
|
+
export interface IRendition {
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly items: ReadonlyArray<IRenditionItem>;
|
|
5
|
+
}
|
|
6
|
+
export interface IRenditionItem {
|
|
7
|
+
readonly href: URI | string;
|
|
8
|
+
}
|
|
9
|
+
export declare class Rendition implements IRendition {
|
|
10
|
+
name: string;
|
|
11
|
+
readonly items: ReadonlyArray<IRenditionItem>;
|
|
12
|
+
private constructor();
|
|
13
|
+
static createRendition(name: string, items: Array<IRenditionItem>): Rendition;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Rendition = void 0;
|
|
4
|
+
class Rendition {
|
|
5
|
+
constructor(name, items) {
|
|
6
|
+
this.name = name;
|
|
7
|
+
this.items = items;
|
|
8
|
+
}
|
|
9
|
+
static createRendition(name, items) {
|
|
10
|
+
return new Rendition(name, items);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.Rendition = Rendition;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for a resource
|
|
3
|
+
*/
|
|
4
|
+
export default interface IResource {
|
|
5
|
+
/**
|
|
6
|
+
* The date on which this resource was created or null if it's not created.
|
|
7
|
+
*/
|
|
8
|
+
createdOn?: Date;
|
|
9
|
+
/**
|
|
10
|
+
* The id of the user that created the resource or null if it's not created.
|
|
11
|
+
*/
|
|
12
|
+
createdBy?: number;
|
|
13
|
+
/**
|
|
14
|
+
* The date on which this resource was edited or null if it's not created.
|
|
15
|
+
*/
|
|
16
|
+
modifiedOn?: Date;
|
|
17
|
+
/**
|
|
18
|
+
* The id of the user that last edited the resource or null if it's not created.
|
|
19
|
+
*/
|
|
20
|
+
modifiedBy?: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types of string content.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum StringContentType {
|
|
5
|
+
/**
|
|
6
|
+
* Content represents a single line string.
|
|
7
|
+
*/
|
|
8
|
+
SingleLine = 0,
|
|
9
|
+
/**
|
|
10
|
+
* Content represents multiple lines of string.
|
|
11
|
+
*/
|
|
12
|
+
MultiLine = 1,
|
|
13
|
+
/**
|
|
14
|
+
* Content represents a HTML code.
|
|
15
|
+
*/
|
|
16
|
+
Html = 2,
|
|
17
|
+
/**
|
|
18
|
+
* Content represents programming syntax, scripts, data formats like JSON...
|
|
19
|
+
*/
|
|
20
|
+
Code = 3
|
|
21
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StringContentType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Types of string content.
|
|
6
|
+
*/
|
|
7
|
+
var StringContentType;
|
|
8
|
+
(function (StringContentType) {
|
|
9
|
+
/**
|
|
10
|
+
* Content represents a single line string.
|
|
11
|
+
*/
|
|
12
|
+
StringContentType[StringContentType["SingleLine"] = 0] = "SingleLine";
|
|
13
|
+
/**
|
|
14
|
+
* Content represents multiple lines of string.
|
|
15
|
+
*/
|
|
16
|
+
StringContentType[StringContentType["MultiLine"] = 1] = "MultiLine";
|
|
17
|
+
/**
|
|
18
|
+
* Content represents a HTML code.
|
|
19
|
+
*/
|
|
20
|
+
StringContentType[StringContentType["Html"] = 2] = "Html";
|
|
21
|
+
/**
|
|
22
|
+
* Content represents programming syntax, scripts, data formats like JSON...
|
|
23
|
+
*/
|
|
24
|
+
StringContentType[StringContentType["Code"] = 3] = "Code";
|
|
25
|
+
})(StringContentType = exports.StringContentType || (exports.StringContentType = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IEntity } from "./entity";
|
|
2
|
+
/**
|
|
3
|
+
* Interface for strongly typed entities.
|
|
4
|
+
*/
|
|
5
|
+
export interface ITypedEntity extends IEntity {
|
|
6
|
+
/**
|
|
7
|
+
* Ensures that the members provided by the strongly typed class are loaded.
|
|
8
|
+
* To be used in combination with {@link IEntity.canDoLazyLoading}.
|
|
9
|
+
*/
|
|
10
|
+
loadTypedMembersAsync(): Promise<void>;
|
|
11
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ViewMode = void 0;
|
|
4
|
+
var ViewMode;
|
|
5
|
+
(function (ViewMode) {
|
|
6
|
+
ViewMode["Basic"] = "Basic";
|
|
7
|
+
ViewMode["Extended"] = "Extended";
|
|
8
|
+
})(ViewMode = exports.ViewMode || (exports.ViewMode = {}));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Nullable, NullableResultPromise } from "../../base-types";
|
|
2
|
+
import CultureInfo from "../../culture-info";
|
|
3
|
+
import { Entity } from "../base/entity";
|
|
4
|
+
import { ITypedEntity } from "../base/typed-entity";
|
|
5
|
+
import { FinalLifeCycleStatus } from "./final-life-cycle-status";
|
|
6
|
+
export interface IAsset extends ITypedEntity {
|
|
7
|
+
title: Nullable<string>;
|
|
8
|
+
fileName: Nullable<string>;
|
|
9
|
+
getDescription(culture: CultureInfo): Nullable<string>;
|
|
10
|
+
setDescription(culture: CultureInfo, description: Nullable<string>): void;
|
|
11
|
+
getFinalLifeCycleStatusAsync(): NullableResultPromise<FinalLifeCycleStatus>;
|
|
12
|
+
}
|
|
13
|
+
export declare class Asset extends Entity implements IAsset {
|
|
14
|
+
get title(): Nullable<string>;
|
|
15
|
+
set title(value: Nullable<string>);
|
|
16
|
+
get fileName(): Nullable<string>;
|
|
17
|
+
set fileName(value: Nullable<string>);
|
|
18
|
+
getDescription(culture: CultureInfo): Nullable<string>;
|
|
19
|
+
setDescription(culture: CultureInfo, description: Nullable<string>): void;
|
|
20
|
+
getFinalLifeCycleStatusAsync(): NullableResultPromise<FinalLifeCycleStatus>;
|
|
21
|
+
loadTypedMembersAsync(): Promise<void>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Asset = void 0;
|
|
13
|
+
const constants_1 = require("../../constants");
|
|
14
|
+
const final_life_cycle_status_mapper_1 = require("../../mappers/final-life-cycle-status-mapper");
|
|
15
|
+
const entity_1 = require("../base/entity");
|
|
16
|
+
const culture_load_option_1 = require("../querying/culture-load-option");
|
|
17
|
+
const entity_load_configuration_1 = require("../querying/entity-load-configuration");
|
|
18
|
+
const property_load_option_1 = require("../querying/property-load-option");
|
|
19
|
+
const relation_load_option_1 = require("../querying/relation-load-option");
|
|
20
|
+
class Asset extends entity_1.Entity {
|
|
21
|
+
get title() {
|
|
22
|
+
return this.getPropertyValue(constants_1.DEFINITIONS["Asset"].title);
|
|
23
|
+
}
|
|
24
|
+
set title(value) {
|
|
25
|
+
this.setPropertyValue(constants_1.DEFINITIONS["Asset"].title, value);
|
|
26
|
+
}
|
|
27
|
+
get fileName() {
|
|
28
|
+
return this.getPropertyValue(constants_1.DEFINITIONS["Asset"].fileName);
|
|
29
|
+
}
|
|
30
|
+
set fileName(value) {
|
|
31
|
+
this.setPropertyValue(constants_1.DEFINITIONS["Asset"].fileName, value);
|
|
32
|
+
}
|
|
33
|
+
getDescription(culture) {
|
|
34
|
+
return this.getPropertyValue(constants_1.DEFINITIONS["Asset"].description, culture);
|
|
35
|
+
}
|
|
36
|
+
setDescription(culture, description) {
|
|
37
|
+
return this.setPropertyValue(constants_1.DEFINITIONS["Asset"].description, description, culture);
|
|
38
|
+
}
|
|
39
|
+
getFinalLifeCycleStatusAsync() {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
const relation = this.getRelation(constants_1.DEFINITIONS["Asset"].finalLifeCycleStatusToAsset);
|
|
42
|
+
if (relation == null || relation.parent == null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
const loadConfiguration = new entity_load_configuration_1.EntityLoadConfiguration(culture_load_option_1.CultureLoadOption.None, new property_load_option_1.PropertyLoadOption(constants_1.DEFINITIONS["FinalLifeCycleStatus"].statusValue), relation_load_option_1.RelationLoadOption.None);
|
|
46
|
+
const parent = yield this._client.entities.getAsync(relation.parent, loadConfiguration);
|
|
47
|
+
if (parent == null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
const statusString = parent.getPropertyValue(constants_1.DEFINITIONS["FinalLifeCycleStatus"].statusValue);
|
|
51
|
+
const status = final_life_cycle_status_mapper_1.FinalLifeCycleStatusMapper.fromString(statusString);
|
|
52
|
+
return status;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
loadTypedMembersAsync() {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
const propertyLoadOption = new property_load_option_1.PropertyLoadOption([
|
|
58
|
+
constants_1.DEFINITIONS["Asset"].title,
|
|
59
|
+
constants_1.DEFINITIONS["Asset"].fileName,
|
|
60
|
+
constants_1.DEFINITIONS["Asset"].description,
|
|
61
|
+
]);
|
|
62
|
+
const relationLoadOption = new relation_load_option_1.RelationLoadOption([constants_1.DEFINITIONS["Asset"].finalLifeCycleStatusToAsset]);
|
|
63
|
+
yield this.loadMembersAsync(propertyLoadOption, relationLoadOption);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.Asset = Asset;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FinalLifeCycleStatus = void 0;
|
|
4
|
+
var FinalLifeCycleStatus;
|
|
5
|
+
(function (FinalLifeCycleStatus) {
|
|
6
|
+
FinalLifeCycleStatus[FinalLifeCycleStatus["Created"] = 0] = "Created";
|
|
7
|
+
FinalLifeCycleStatus[FinalLifeCycleStatus["UnderReview"] = 1] = "UnderReview";
|
|
8
|
+
FinalLifeCycleStatus[FinalLifeCycleStatus["Approved"] = 2] = "Approved";
|
|
9
|
+
FinalLifeCycleStatus[FinalLifeCycleStatus["Rejected"] = 3] = "Rejected";
|
|
10
|
+
FinalLifeCycleStatus[FinalLifeCycleStatus["Archived"] = 4] = "Archived";
|
|
11
|
+
})(FinalLifeCycleStatus = exports.FinalLifeCycleStatus || (exports.FinalLifeCycleStatus = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import CultureInfo from "../../culture-info";
|
|
2
|
+
export interface IDirtyTracking {
|
|
3
|
+
isDirty: boolean;
|
|
4
|
+
isTracking: boolean;
|
|
5
|
+
startTracking(): void;
|
|
6
|
+
markClean(): void;
|
|
7
|
+
}
|
|
8
|
+
export interface ICultureSensitiveDirtyTracking extends IDirtyTracking {
|
|
9
|
+
getDirtyCultures(): Array<CultureInfo>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import CultureInfo from "../../culture-info";
|
|
2
|
+
import { ITypedEntity } from "../base/typed-entity";
|
|
3
|
+
export interface IMailTemplate extends ITypedEntity {
|
|
4
|
+
/**
|
|
5
|
+
* Gets or sets the name.
|
|
6
|
+
*/
|
|
7
|
+
name: string;
|
|
8
|
+
/**
|
|
9
|
+
* Gets the subject.
|
|
10
|
+
* @param culture - The culture
|
|
11
|
+
* @returns The subject.
|
|
12
|
+
*/
|
|
13
|
+
getSubject(culture: CultureInfo): string;
|
|
14
|
+
/**
|
|
15
|
+
* Sets the subject.
|
|
16
|
+
* @param culture - The culture
|
|
17
|
+
* @param subject - The subject
|
|
18
|
+
*/
|
|
19
|
+
setSubject(culture: CultureInfo, subject: string): void;
|
|
20
|
+
/**
|
|
21
|
+
* Gets the body.
|
|
22
|
+
* @param culture - The culture
|
|
23
|
+
* @returns The body.
|
|
24
|
+
*/
|
|
25
|
+
getBody(culture: CultureInfo): string;
|
|
26
|
+
/**
|
|
27
|
+
* Sets the body.
|
|
28
|
+
* @param culture - The culture
|
|
29
|
+
* @param body - The body
|
|
30
|
+
*/
|
|
31
|
+
setBody(culture: CultureInfo, body: string): void;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the description.
|
|
34
|
+
* @param culture - The culture
|
|
35
|
+
* @returns The description.
|
|
36
|
+
*/
|
|
37
|
+
getDescription(culture: CultureInfo): string;
|
|
38
|
+
/**
|
|
39
|
+
* Sets the description.
|
|
40
|
+
* @param culture - The culture
|
|
41
|
+
* @param description - The new description
|
|
42
|
+
*/
|
|
43
|
+
setDescription(culture: CultureInfo, description: string): void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ICondition {
|
|
2
|
+
/**
|
|
3
|
+
* The condition is met for entities that are direct or indirect descendants of the entities with the specified ids.
|
|
4
|
+
* The entities are combined using the "OR" operator.
|
|
5
|
+
*/
|
|
6
|
+
entityIds: Array<number>;
|
|
7
|
+
/**
|
|
8
|
+
* The condition is met for entities that are direct descendants of the entities with the specified ids.
|
|
9
|
+
* The entities are combined using the "OR" operator.
|
|
10
|
+
*/
|
|
11
|
+
directEntityIds: Array<number>;
|
|
12
|
+
}
|
|
13
|
+
export declare class Condition implements ICondition {
|
|
14
|
+
entityIds: Array<number>;
|
|
15
|
+
directEntityIds: Array<number>;
|
|
16
|
+
}
|