@sitevision/api 2.0.0-alpha.2 → 2023.2.1-alpha.0
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/client/requester/index.d.ts +10 -8
- package/client/toasts/index.d.ts +7 -5
- package/common/app/index.d.ts +45 -46
- package/common/events/index.d.ts +30 -31
- package/common/i18n/index.d.ts +7 -5
- package/common/router/index.d.ts +72 -77
- package/common/security/index.d.ts +27 -21
- package/package.json +1 -1
- package/server/AliasUtil/index.d.ts +2 -2
- package/server/ArchiveUtil/index.d.ts +2 -2
- package/server/ArraysInstance/index.d.ts +1 -1
- package/server/ArticleUtil/index.d.ts +3 -3
- package/server/AuthenticationUtil/index.d.ts +1 -1
- package/server/BookmarkUtil/index.d.ts +2 -2
- package/server/BuddyIconRenderer/index.d.ts +4 -4
- package/server/ClientUtil/index.d.ts +1 -1
- package/server/CollaborationFactory/index.d.ts +6 -6
- package/server/CollaborationGroupFolderUtil/index.d.ts +2 -2
- package/server/CollaborationGroupTemplateUtil/index.d.ts +2 -2
- package/server/CollaborationGroupUtil/index.d.ts +3 -3
- package/server/CollectionsInstance/index.d.ts +1 -1
- package/server/ColorUtil/index.d.ts +2 -2
- package/server/CompoundAndFilterBuilder/index.d.ts +3 -3
- package/server/CompoundComparatorBuilder/index.d.ts +2 -2
- package/server/CompoundOrFilterBuilder/index.d.ts +3 -3
- package/server/ContentNodeUtil/index.d.ts +2 -2
- package/server/CurrencyFactory/index.d.ts +2 -2
- package/server/DateUtil/index.d.ts +1 -1
- package/server/DecorationUtil/index.d.ts +2 -2
- package/server/DeviceUtil/index.d.ts +2 -2
- package/server/DirectoryUtil/index.d.ts +3 -3
- package/server/DocTypeUtil/index.d.ts +3 -3
- package/server/EndecUtil/index.d.ts +1 -1
- package/server/ExtendedDismaxParserBuilder/index.d.ts +3 -3
- package/server/FileIconRenderer/index.d.ts +1 -1
- package/server/FileUtil/index.d.ts +2 -2
- package/server/FilterBuilder/index.d.ts +3 -3
- package/server/FolderUtil/index.d.ts +2 -2
- package/server/FontUtil/index.d.ts +2 -2
- package/server/FormatterBuilderFactory/index.d.ts +3 -3
- package/server/HighlightBuilder/index.d.ts +3 -3
- package/server/IconUtil/index.d.ts +2 -2
- package/server/ImageLinkRenderer/index.d.ts +3 -3
- package/server/ImageRenderer/index.d.ts +5 -5
- package/server/ImageUtil/index.d.ts +2 -2
- package/server/IndexUtil/index.d.ts +3 -3
- package/server/IndexingUtil/index.d.ts +3 -3
- package/server/InstanceCreatorUtil/index.d.ts +6 -6
- package/server/InstanceTypeUtil/index.d.ts +1 -1
- package/server/JwtUtil/index.d.ts +2 -2
- package/server/LandingPageUtil/index.d.ts +2 -2
- package/server/LinkPageUtil/index.d.ts +4 -4
- package/server/LinkRenderer/index.d.ts +2 -2
- package/server/LinkTargetBuilder/index.d.ts +4 -4
- package/server/LinkValueBuilder/index.d.ts +4 -4
- package/server/ListWrapper/index.d.ts +2 -2
- package/server/LocaleUtil/index.d.ts +1 -1
- package/server/LogUtil/index.d.ts +1 -1
- package/server/MailBuilder/index.d.ts +3 -3
- package/server/MailUtil/index.d.ts +2 -2
- package/server/MathInstance/index.d.ts +2 -2
- package/server/MessageDigesterFactory/index.d.ts +2 -2
- package/server/MetadataDefinitionUtil/index.d.ts +2 -2
- package/server/MetadataUtil/index.d.ts +5 -5
- package/server/MimeTypeUtil/index.d.ts +2 -2
- package/server/MonitorBuilder/index.d.ts +3 -3
- package/server/NodeComparatorUtil/index.d.ts +3 -3
- package/server/NodeFactoryUtil/index.d.ts +3 -3
- package/server/NodeFilterUtil/index.d.ts +5 -5
- package/server/NodeIteratorUtil/index.d.ts +5 -5
- package/server/NodeResolverUtil/index.d.ts +2 -2
- package/server/NodeTreeUtil/index.d.ts +3 -3
- package/server/NodeTypeUtil/index.d.ts +3 -3
- package/server/OfflineVersionPropertyUtil/index.d.ts +2 -2
- package/server/OnlineVersionPropertyUtil/index.d.ts +2 -2
- package/server/OutputUtil/index.d.ts +4 -4
- package/server/PageUtil/index.d.ts +3 -3
- package/server/PermissionUtil/index.d.ts +3 -3
- package/server/PortletContextUtil/index.d.ts +3 -3
- package/server/PortletUtil/index.d.ts +3 -3
- package/server/PrincipalUtil/index.d.ts +2 -2
- package/server/Properties/index.d.ts +1 -1
- package/server/PropertyUtil/index.d.ts +3 -3
- package/server/PublishingUtil/index.d.ts +2 -2
- package/server/QueryStringUtil/index.d.ts +1 -1
- package/server/RedirectUtil/index.d.ts +2 -2
- package/server/RelatedValueBuilder/index.d.ts +5 -5
- package/server/Requester/index.d.ts +2 -2
- package/server/ResourceLocatorUtil/index.d.ts +2 -2
- package/server/RestApi/index.d.ts +2 -2
- package/server/RestAppInvokerFactory/index.d.ts +3 -3
- package/server/RoleAssignmentBuilder/index.d.ts +4 -4
- package/server/RoleMatcherBuilder/index.d.ts +4 -4
- package/server/RoleUtil/index.d.ts +5 -5
- package/server/ScriptUtil/index.d.ts +1 -1
- package/server/SearchFactory/index.d.ts +14 -14
- package/server/SearchUtil/index.d.ts +2 -2
- package/server/SearcherBuilder/index.d.ts +10 -10
- package/server/Session/index.d.ts +10 -10
- package/server/SimpleUserUtil/index.d.ts +2 -2
- package/server/SiteCookieUtil/index.d.ts +2 -2
- package/server/SortBuilder/index.d.ts +3 -3
- package/server/SpellCheckBuilder/index.d.ts +3 -3
- package/server/StandardParserBuilder/index.d.ts +3 -3
- package/server/StructureUtil/index.d.ts +2 -2
- package/server/SubscriberUtil/index.d.ts +2 -2
- package/server/SubscriptionUtil/index.d.ts +2 -2
- package/server/SystemUserUtil/index.d.ts +2 -2
- package/server/TagUtil/index.d.ts +2 -2
- package/server/TemplateUtil/index.d.ts +2 -2
- package/server/TemporaryFileNodeBuilder/index.d.ts +3 -3
- package/server/TemporaryNodeBuilder/index.d.ts +3 -3
- package/server/TextModuleRendererBuilder/index.d.ts +4 -4
- package/server/TimestampUtil/index.d.ts +1 -1
- package/server/TranslationUtil/index.d.ts +2 -2
- package/server/TrashcanUtil/index.d.ts +2 -2
- package/server/UserDataUtil/index.d.ts +2 -2
- package/server/UserFactory/index.d.ts +8 -8
- package/server/UserFieldRenderer/index.d.ts +2 -2
- package/server/UserIdentityUtil/index.d.ts +2 -2
- package/server/UserUtil/index.d.ts +2 -2
- package/server/Utils/index.d.ts +88 -88
- package/server/VelocityRenderer/index.d.ts +2 -2
- package/server/VersionUtil/index.d.ts +2 -2
- package/server/WebContentUtil/index.d.ts +2 -2
- package/server/WebResourceFactory/index.d.ts +7 -7
- package/server/XSLTUtil/index.d.ts +1 -1
- package/server/XmlParserUtil/index.d.ts +3 -3
- package/server/appData/index.d.ts +8 -6
- package/server/appInfo/index.d.ts +6 -2
- package/server/appResource/index.d.ts +23 -21
- package/server/cache/index.d.ts +8 -6
- package/server/globalAppData/index.d.ts +8 -6
- package/server/headless/index.d.ts +28 -26
- package/server/hooks/index.d.ts +9 -9
- package/server/oauth2/index.d.ts +12 -10
- package/server/privileged/index.d.ts +24 -22
- package/server/storage/index.d.ts +22 -20
- package/types/javax/jcr/Binary/index.d.ts +1 -3
- package/types/javax/jcr/Credentials/index.d.ts +1 -3
- package/types/javax/jcr/ImportUUIDBehavior/index.d.ts +1 -3
- package/types/javax/jcr/Item/index.d.ts +3 -5
- package/types/javax/jcr/ItemVisitor/index.d.ts +3 -5
- package/types/javax/jcr/NamespaceRegistry/index.d.ts +1 -3
- package/types/javax/jcr/Node/index.d.ts +12 -14
- package/types/javax/jcr/NodeIterator/index.d.ts +3 -5
- package/types/javax/jcr/Property/index.d.ts +6 -8
- package/types/javax/jcr/PropertyIterator/index.d.ts +3 -5
- package/types/javax/jcr/RangeIterator/index.d.ts +1 -3
- package/types/javax/jcr/Repository/index.d.ts +3 -5
- package/types/javax/jcr/RepositoryFactory/index.d.ts +2 -4
- package/types/javax/jcr/Value/index.d.ts +2 -4
- package/types/javax/jcr/ValueFactory/index.d.ts +4 -6
- package/types/javax/jcr/Workspace/index.d.ts +8 -10
- package/types/javax/jcr/lock/Lock/index.d.ts +2 -4
- package/types/javax/jcr/lock/LockManager/index.d.ts +2 -4
- package/types/javax/jcr/nodetype/ItemDefinition/index.d.ts +2 -4
- package/types/javax/jcr/nodetype/NodeDefinition/index.d.ts +3 -5
- package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +2 -4
- package/types/javax/jcr/nodetype/NodeType/index.d.ts +6 -8
- package/types/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +3 -5
- package/types/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +3 -5
- package/types/javax/jcr/nodetype/NodeTypeManager/index.d.ts +7 -9
- package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +2 -4
- package/types/javax/jcr/nodetype/PropertyDefinition/index.d.ts +3 -5
- package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +3 -5
- package/types/javax/jcr/observation/Event/index.d.ts +1 -3
- package/types/javax/jcr/observation/EventIterator/index.d.ts +3 -5
- package/types/javax/jcr/observation/EventJournal/index.d.ts +2 -4
- package/types/javax/jcr/observation/EventListener/index.d.ts +2 -4
- package/types/javax/jcr/observation/EventListenerIterator/index.d.ts +3 -5
- package/types/javax/jcr/observation/ObservationManager/index.d.ts +4 -6
- package/types/javax/jcr/query/Query/index.d.ts +4 -6
- package/types/javax/jcr/query/QueryManager/index.d.ts +4 -6
- package/types/javax/jcr/query/QueryResult/index.d.ts +3 -5
- package/types/javax/jcr/query/Row/index.d.ts +3 -5
- package/types/javax/jcr/query/RowIterator/index.d.ts +3 -5
- package/types/javax/jcr/query/qom/And/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/BindVariableValue/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/ChildNode/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/Column/index.d.ts +1 -3
- package/types/javax/jcr/query/qom/Comparison/index.d.ts +4 -6
- package/types/javax/jcr/query/qom/Constraint/index.d.ts +1 -3
- package/types/javax/jcr/query/qom/DescendantNode/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/DynamicOperand/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/FullTextSearch/index.d.ts +3 -5
- package/types/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/Join/index.d.ts +3 -5
- package/types/javax/jcr/query/qom/JoinCondition/index.d.ts +1 -3
- package/types/javax/jcr/query/qom/Length/index.d.ts +3 -5
- package/types/javax/jcr/query/qom/Literal/index.d.ts +3 -5
- package/types/javax/jcr/query/qom/LowerCase/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/NodeLocalName/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/NodeName/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/Not/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/Operand/index.d.ts +1 -3
- package/types/javax/jcr/query/qom/Or/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/Ordering/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/PropertyExistence/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/PropertyValue/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/QueryObjectModel/index.d.ts +6 -8
- package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +1 -3
- package/types/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +35 -37
- package/types/javax/jcr/query/qom/SameNode/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/Selector/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/Source/index.d.ts +1 -3
- package/types/javax/jcr/query/qom/StaticOperand/index.d.ts +2 -4
- package/types/javax/jcr/query/qom/UpperCase/index.d.ts +2 -4
- package/types/javax/jcr/retention/Hold/index.d.ts +1 -3
- package/types/javax/jcr/retention/RetentionManager/index.d.ts +3 -5
- package/types/javax/jcr/retention/RetentionPolicy/index.d.ts +1 -3
- package/types/javax/jcr/security/AccessControlEntry/index.d.ts +2 -4
- package/types/javax/jcr/security/AccessControlList/index.d.ts +4 -6
- package/types/javax/jcr/security/AccessControlManager/index.d.ts +4 -6
- package/types/javax/jcr/security/AccessControlPolicy/index.d.ts +1 -3
- package/types/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +3 -5
- package/types/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +2 -4
- package/types/javax/jcr/security/Privilege/index.d.ts +1 -3
- package/types/javax/jcr/version/Version/index.d.ts +3 -5
- package/types/javax/jcr/version/VersionHistory/index.d.ts +5 -7
- package/types/javax/jcr/version/VersionIterator/index.d.ts +3 -5
- package/types/javax/jcr/version/VersionManager/index.d.ts +5 -7
- package/types/senselogic/sitevision/api/base/Builder/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/base/Filter/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/base/FilterSplit/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/base/Loadable/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/base/Resolver/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/base/Wrapper/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/i18n/Currency/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/mail/Mail/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/ImageScaler/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/search/SearchHit/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/search/SearchResult/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/security/MessageDigester/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/security/SecretStore/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/security/UserUtil/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +2 -4
- package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/xml/XmlElement/index.d.ts +1 -3
- package/types/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +2 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Node from "../../../../../javax/jcr/Node";
|
|
1
|
+
import type { Node } from "../../../../../javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* TextModuleRenderer is a stateful renderer of Sitevision Text modules on a specific page.
|
|
@@ -118,7 +118,7 @@ import type Node from "../../../../../javax/jcr/Node";
|
|
|
118
118
|
* @author Magnus Lövgren
|
|
119
119
|
* @since Sitevision 7
|
|
120
120
|
*/
|
|
121
|
-
type TextModuleRenderer = {
|
|
121
|
+
export type TextModuleRenderer = {
|
|
122
122
|
/**
|
|
123
123
|
* Updates the state of this renderer (potentially "loads" a Text module for rendering) using a Text module Node.
|
|
124
124
|
*
|
|
@@ -230,5 +230,3 @@ type TextModuleRenderer = {
|
|
|
230
230
|
*/
|
|
231
231
|
renderPlainHtml(): string;
|
|
232
232
|
};
|
|
233
|
-
|
|
234
|
-
export = TextModuleRenderer;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type ArticleUtilConstants = {
|
|
11
|
+
export type ArticleUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.webresource.ArticleUtil#PROPERTY_VISIBLE_IN_MENUS}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.webresource.ArticleUtil#PROPERTY_VISIBLE_IN_MENUS}
|
|
@@ -81,5 +81,3 @@ type ArticleUtilConstants = {
|
|
|
81
81
|
*/
|
|
82
82
|
getPROPERTY_PUBLISH_DATE(): string;
|
|
83
83
|
};
|
|
84
|
-
|
|
85
|
-
export = ArticleUtilConstants;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type ExceptionSuppressingProxyConstants = {
|
|
11
|
+
export type ExceptionSuppressingProxyConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.script.proxy.ExceptionSuppressingProxy#NO_OBJECT_PROXIED_STATUS}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.script.proxy.ExceptionSuppressingProxy#NO_OBJECT_PROXIED_STATUS}
|
|
@@ -27,5 +27,3 @@ type ExceptionSuppressingProxyConstants = {
|
|
|
27
27
|
*/
|
|
28
28
|
getEXCEPTION_THROWN_STATUS(): number;
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
export = ExceptionSuppressingProxyConstants;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.4
|
|
10
10
|
*/
|
|
11
|
-
type IndexingUtilConstants = {
|
|
11
|
+
export type IndexingUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.search.index.IndexingUtil#MIN_RESOURCE_PRIORITY}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.search.index.IndexingUtil#MIN_RESOURCE_PRIORITY}
|
|
@@ -27,5 +27,3 @@ type IndexingUtilConstants = {
|
|
|
27
27
|
*/
|
|
28
28
|
getMAX_RESOURCE_PRIORITY(): number;
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
export = IndexingUtilConstants;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 4.2
|
|
10
10
|
*/
|
|
11
|
-
type LinkPageUtilConstants = {
|
|
11
|
+
export type LinkPageUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.webresource.LinkPageUtil#PROPERTY_VISIBLE_IN_MENUS}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.webresource.LinkPageUtil#PROPERTY_VISIBLE_IN_MENUS}
|
|
@@ -63,5 +63,3 @@ type LinkPageUtilConstants = {
|
|
|
63
63
|
*/
|
|
64
64
|
getPROPERTY_PUBLISH_DATE(): string;
|
|
65
65
|
};
|
|
66
|
-
|
|
67
|
-
export = LinkPageUtilConstants;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type MathInstanceConstants = {
|
|
11
|
+
export type MathInstanceConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.script.factory.MathInstance#E}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.script.factory.MathInstance#E}
|
|
@@ -21,5 +21,3 @@ type MathInstanceConstants = {
|
|
|
21
21
|
*/
|
|
22
22
|
getPI(): number;
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
export = MathInstanceConstants;
|
|
@@ -8,12 +8,10 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type MimeTypeUtilConstants = {
|
|
11
|
+
export type MimeTypeUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.webresource.mime.MimeTypeUtil#GENERIC_MIME_TYPE}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.webresource.mime.MimeTypeUtil#GENERIC_MIME_TYPE}
|
|
15
15
|
*/
|
|
16
16
|
getGENERIC_MIME_TYPE(): string;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
export = MimeTypeUtilConstants;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type NodeTypeUtilConstants = {
|
|
11
|
+
export type NodeTypeUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.node.NodeTypeUtil#APPLICATION_INDEX_TYPE}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.node.NodeTypeUtil#APPLICATION_INDEX_TYPE}
|
|
@@ -1239,5 +1239,3 @@ type NodeTypeUtilConstants = {
|
|
|
1239
1239
|
*/
|
|
1240
1240
|
getOAUTH2_CONFIGURATION_TYPE(): string;
|
|
1241
1241
|
};
|
|
1242
|
-
|
|
1243
|
-
export = NodeTypeUtilConstants;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type OutputUtilConstants = {
|
|
11
|
+
export type OutputUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.render.OutputUtil#CONTENT_TYPE_TEXT_PLAIN}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.render.OutputUtil#CONTENT_TYPE_TEXT_PLAIN}
|
|
@@ -27,5 +27,3 @@ type OutputUtilConstants = {
|
|
|
27
27
|
*/
|
|
28
28
|
getCONTENT_TYPE_TEXT_XML(): number;
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
export = OutputUtilConstants;
|
package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type PageUtilConstants = {
|
|
11
|
+
export type PageUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.webresource.PageUtil#PROPERTY_VISIBLE_IN_MENUS}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.webresource.PageUtil#PROPERTY_VISIBLE_IN_MENUS}
|
|
@@ -87,5 +87,3 @@ type PageUtilConstants = {
|
|
|
87
87
|
*/
|
|
88
88
|
getPROPERTY_TITLE(): string;
|
|
89
89
|
};
|
|
90
|
-
|
|
91
|
-
export = PageUtilConstants;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type PortletContextUtilConstants = {
|
|
11
|
+
export type PortletContextUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.context.PortletContextUtil#ONLINE_VERSION}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.context.PortletContextUtil#ONLINE_VERSION}
|
|
@@ -23,5 +23,3 @@ type PortletContextUtilConstants = {
|
|
|
23
23
|
*/
|
|
24
24
|
getOFFLINE_VERSION(): number;
|
|
25
25
|
};
|
|
26
|
-
|
|
27
|
-
export = PortletContextUtilConstants;
|
|
@@ -8,12 +8,10 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type PortletUtilConstants = {
|
|
11
|
+
export type PortletUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.resource.PortletUtil#PORTLET_PREFERENCES_TYPE_USER}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.resource.PortletUtil#PORTLET_PREFERENCES_TYPE_USER}
|
|
15
15
|
*/
|
|
16
16
|
getPORTLET_PREFERENCES_TYPE_USER(): number;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
export = PortletUtilConstants;
|
|
@@ -8,12 +8,10 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 8.2
|
|
10
10
|
*/
|
|
11
|
-
type QueryStringUtilConstants = {
|
|
11
|
+
export type QueryStringUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.search.query.QueryStringUtil#MATCH_ALL_QUERY}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.search.query.QueryStringUtil#MATCH_ALL_QUERY}
|
|
15
15
|
*/
|
|
16
16
|
getMATCH_ALL_QUERY(): string;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
export = QueryStringUtilConstants;
|
package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type SearchHitConstants = {
|
|
11
|
+
export type SearchHitConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.search.SearchHit#TYPE_INTERNAL}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.search.SearchHit#TYPE_INTERNAL}
|
|
@@ -21,5 +21,3 @@ type SearchHitConstants = {
|
|
|
21
21
|
*/
|
|
22
22
|
getTYPE_EXTERNAL(): number;
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
export = SearchHitConstants;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type SearchResultConstants = {
|
|
11
|
+
export type SearchResultConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.search.SearchResult#STATUS_OK}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.search.SearchResult#STATUS_OK}
|
|
@@ -33,5 +33,3 @@ type SearchResultConstants = {
|
|
|
33
33
|
*/
|
|
34
34
|
getSTATUS_UNEXPECTED_ERROR(): number;
|
|
35
35
|
};
|
|
36
|
-
|
|
37
|
-
export = SearchResultConstants;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @author Magnus Lövgren
|
|
9
9
|
* @since Sitevision 3.6.2
|
|
10
10
|
*/
|
|
11
|
-
type VersionUtilConstants = {
|
|
11
|
+
export type VersionUtilConstants = {
|
|
12
12
|
/**
|
|
13
13
|
* Get accessor for {@link senselogic.sitevision.api.versioning.VersionUtil#ONLINE_VERSION}.
|
|
14
14
|
* @return {@link senselogic.sitevision.api.versioning.VersionUtil#ONLINE_VERSION}
|
|
@@ -21,5 +21,3 @@ type VersionUtilConstants = {
|
|
|
21
21
|
*/
|
|
22
22
|
getOFFLINE_VERSION(): number;
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
export = VersionUtilConstants;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @see VelocityRenderer
|
|
10
10
|
* @since Sitevision 3.0
|
|
11
11
|
*/
|
|
12
|
-
type VelocityContext = {
|
|
12
|
+
export type VelocityContext = {
|
|
13
13
|
/**
|
|
14
14
|
* Adds a Name/Object mapping to the context.
|
|
15
15
|
* Null key mappings will be ignored.
|
|
@@ -45,5 +45,3 @@ type VelocityContext = {
|
|
|
45
45
|
*/
|
|
46
46
|
remove(aKey: string): unknown;
|
|
47
47
|
};
|
|
48
|
-
|
|
49
|
-
export = VelocityContext;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @since Sitevision 2.7_06
|
|
11
11
|
* @since Sitevision 3.0
|
|
12
12
|
*/
|
|
13
|
-
type VelocityEvaluator = {
|
|
13
|
+
export type VelocityEvaluator = {
|
|
14
14
|
/**
|
|
15
15
|
* Renders a template that is parsed/evaluated by Velocity.
|
|
16
16
|
*
|
|
@@ -51,5 +51,3 @@ type VelocityEvaluator = {
|
|
|
51
51
|
*/
|
|
52
52
|
evaluate(aTemplate: string): void;
|
|
53
53
|
};
|
|
54
|
-
|
|
55
|
-
export = VelocityEvaluator;
|
|
@@ -8,7 +8,7 @@ import { Requester } from "../../../../../../server/Requester";
|
|
|
8
8
|
* @since Sitevision 4.2
|
|
9
9
|
* @see Requester
|
|
10
10
|
*/
|
|
11
|
-
type RequesterChainable = Requester & {
|
|
11
|
+
export type RequesterChainable = Requester & {
|
|
12
12
|
/**
|
|
13
13
|
* Invoked when a {@link Requester} was successfully executed.
|
|
14
14
|
*
|
|
@@ -70,5 +70,3 @@ type RequesterChainable = Requester & {
|
|
|
70
70
|
*/
|
|
71
71
|
fail(aCallback: unknown): RequesterChainable;
|
|
72
72
|
};
|
|
73
|
-
|
|
74
|
-
export = RequesterChainable;
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
* @see senselogic.sitevision.api.script.RestApi
|
|
140
140
|
* @see senselogic.sitevision.api.script.Requester
|
|
141
141
|
*/
|
|
142
|
-
type RestAppInvoker = {
|
|
142
|
+
export type RestAppInvoker = {
|
|
143
143
|
/**
|
|
144
144
|
* Executes GET for a route of the RESTApp.
|
|
145
145
|
*
|
|
@@ -236,5 +236,3 @@ type RestAppInvoker = {
|
|
|
236
236
|
*/
|
|
237
237
|
delete(aRoute: string, aOptions: unknown): unknown;
|
|
238
238
|
};
|
|
239
|
-
|
|
240
|
-
export = RestAppInvoker;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* @author Magnus Lövgren
|
|
27
27
|
* @since Sitevision 3.1
|
|
28
28
|
*/
|
|
29
|
-
type TypedArgument = {
|
|
29
|
+
export type TypedArgument = {
|
|
30
30
|
/**
|
|
31
31
|
* Gets the argument class.
|
|
32
32
|
* @return the class of the argument
|
|
@@ -39,5 +39,3 @@ type TypedArgument = {
|
|
|
39
39
|
*/
|
|
40
40
|
getValue(): unknown;
|
|
41
41
|
};
|
|
42
|
-
|
|
43
|
-
export = TypedArgument;
|
package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts
CHANGED
|
@@ -83,12 +83,10 @@
|
|
|
83
83
|
* @author Magnus Lövgren
|
|
84
84
|
* @since Sitevision 2.6.1_09
|
|
85
85
|
*/
|
|
86
|
-
type ExceptionSuppressingCollection = {
|
|
86
|
+
export type ExceptionSuppressingCollection = {
|
|
87
87
|
/**
|
|
88
88
|
* Returns an exception suppressing iterator that ensures no exceptions will be thrown during iteration.
|
|
89
89
|
* @return a {@link ExceptionSuppressingIterator} that suppresses exceptions and returns proxied items
|
|
90
90
|
*/
|
|
91
91
|
iterator(): unknown;
|
|
92
92
|
};
|
|
93
|
-
|
|
94
|
-
export = ExceptionSuppressingCollection;
|
package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type ExceptionSuppressingProxy from "../ExceptionSuppressingProxy";
|
|
1
|
+
import type { ExceptionSuppressingProxy } from "../ExceptionSuppressingProxy";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Decorates an iterator with exception suppressing behaviour and returns {@link ExceptionSuppressingProxy}s in order to ensure that no
|
|
@@ -28,7 +28,7 @@ import type ExceptionSuppressingProxy from "../ExceptionSuppressingProxy";
|
|
|
28
28
|
* @author Magnus Lövgren
|
|
29
29
|
* @since Sitevision 2.6.1_09
|
|
30
30
|
*/
|
|
31
|
-
type ExceptionSuppressingIterator = {
|
|
31
|
+
export type ExceptionSuppressingIterator = {
|
|
32
32
|
/**
|
|
33
33
|
* Returns <code>true</code> if decorated iterator has more elements. (In other words, returns <code>true</code>
|
|
34
34
|
* if <code>next</code> would return an element rather than throwing an exception.)
|
|
@@ -80,5 +80,3 @@ type ExceptionSuppressingIterator = {
|
|
|
80
80
|
*/
|
|
81
81
|
remove(): void;
|
|
82
82
|
};
|
|
83
|
-
|
|
84
|
-
export = ExceptionSuppressingIterator;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionSuppressingProxyConstants } from "../../../render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants";
|
|
1
|
+
import type { ExceptionSuppressingProxyConstants } from "../../../render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Proxies an object and delegates all interface method invocations to the proxied object in order to ensure that no invocation
|
|
@@ -69,7 +69,7 @@ import { ExceptionSuppressingProxyConstants } from "../../../render/velocity/Vel
|
|
|
69
69
|
* @author Magnus Lövgren
|
|
70
70
|
* @since Sitevision 2.6.1_09
|
|
71
71
|
*/
|
|
72
|
-
type ExceptionSuppressingProxy = ExceptionSuppressingProxyConstants & {
|
|
72
|
+
export type ExceptionSuppressingProxy = ExceptionSuppressingProxyConstants & {
|
|
73
73
|
/**
|
|
74
74
|
* Returns current status
|
|
75
75
|
* @return {@link #NO_OBJECT_PROXIED_STATUS} or {@link #NO_EXCEPTION_THROWN_STATUS} or {@link #EXCEPTION_THROWN_STATUS}
|
|
@@ -106,5 +106,3 @@ type ExceptionSuppressingProxy = ExceptionSuppressingProxyConstants & {
|
|
|
106
106
|
*/
|
|
107
107
|
EXCEPTION_THROWN_STATUS: number;
|
|
108
108
|
};
|
|
109
|
-
|
|
110
|
-
export = ExceptionSuppressingProxy;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* @since Sitevision 2.6.2, 2.7_06
|
|
15
15
|
* @deprecated use the typed methods in {@link senselogic.sitevision.api.search.SearchHit} instead when extracting values from a search result.
|
|
16
16
|
*/
|
|
17
|
-
type SearchFieldUtil = {
|
|
17
|
+
export type SearchFieldUtil = {
|
|
18
18
|
/**
|
|
19
19
|
* Returns the Date for a string field that contains a date value generated via Lucene's DateTools class.
|
|
20
20
|
* @param aDateFieldValue the <code>String</code> that should be converted to a <code>Date</code>
|
|
@@ -73,5 +73,3 @@ type SearchFieldUtil = {
|
|
|
73
73
|
*/
|
|
74
74
|
doubleFieldToDouble(aDoubleFieldValue: string): number;
|
|
75
75
|
};
|
|
76
|
-
|
|
77
|
-
export = SearchFieldUtil;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type SearchHit from "../SearchHit";
|
|
1
|
+
import type { SearchHit } from "../SearchHit";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* <p>
|
|
@@ -10,7 +10,7 @@ import type SearchHit from "../SearchHit";
|
|
|
10
10
|
* @since Sitevision 2.7_06
|
|
11
11
|
* @deprecated This interface will do absolutely nothing as of Sitevision 3.0 (search engine has been replaced). Interface methods will not do anything (i.e. always return <code>null</code>) and this interface will be completely removed in future releases of Sitevision.
|
|
12
12
|
*/
|
|
13
|
-
type SearchHighlighter = {
|
|
13
|
+
export type SearchHighlighter = {
|
|
14
14
|
/**
|
|
15
15
|
* Returns a highlighted fragment for the default highlighting field.
|
|
16
16
|
* @param aHighlightPreElement the opening element to the left of a highlighted word(-s), e.g <code>"<strong style=\"background-color:yellow\">"</code>
|
|
@@ -41,5 +41,3 @@ type SearchHighlighter = {
|
|
|
41
41
|
aHighlightingFieldName: string
|
|
42
42
|
): string;
|
|
43
43
|
};
|
|
44
|
-
|
|
45
|
-
export = SearchHighlighter;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type Node from "../../../../../javax/jcr/Node";
|
|
1
|
+
import type { Node } from "../../../../../javax/jcr/Node";
|
|
2
2
|
|
|
3
|
-
import { SearchHitConstants } from "../../render/velocity/VelocityAccess.SearchHitConstants";
|
|
3
|
+
import type { SearchHitConstants } from "../../render/velocity/VelocityAccess.SearchHitConstants";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* <p>
|
|
@@ -23,7 +23,7 @@ import { SearchHitConstants } from "../../render/velocity/VelocityAccess.SearchH
|
|
|
23
23
|
* @author Mikael Wikblom
|
|
24
24
|
* @since Sitevision 2.6_06
|
|
25
25
|
*/
|
|
26
|
-
type SearchHit = SearchHitConstants & {
|
|
26
|
+
export type SearchHit = SearchHitConstants & {
|
|
27
27
|
/**
|
|
28
28
|
* <p>Checks if the value(-s) for a specified field contains a specific value.</p>
|
|
29
29
|
*
|
|
@@ -789,5 +789,3 @@ type SearchHit = SearchHitConstants & {
|
|
|
789
789
|
*/
|
|
790
790
|
TYPE_EXTERNAL: number;
|
|
791
791
|
};
|
|
792
|
-
|
|
793
|
-
export = SearchHit;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type SearchHighlighter from "../SearchHighlighter";
|
|
1
|
+
import type { SearchHighlighter } from "../SearchHighlighter";
|
|
2
2
|
|
|
3
|
-
import { SearchResultConstants } from "../../render/velocity/VelocityAccess.SearchResultConstants";
|
|
3
|
+
import type { SearchResultConstants } from "../../render/velocity/VelocityAccess.SearchResultConstants";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* <p>
|
|
@@ -15,7 +15,7 @@ import { SearchResultConstants } from "../../render/velocity/VelocityAccess.Sear
|
|
|
15
15
|
* @author Mikael Wikblom
|
|
16
16
|
* @since Sitevision 2.6_06
|
|
17
17
|
*/
|
|
18
|
-
type SearchResult = SearchResultConstants & {
|
|
18
|
+
export type SearchResult = SearchResultConstants & {
|
|
19
19
|
/**
|
|
20
20
|
* <p>Accessor to the lazy loaded <code>Iterator</code> containing the search hits. Iterating the
|
|
21
21
|
* <code>Iterator</code> potentially changes the status of the <code>SearchResult</code>object.</p>
|
|
@@ -297,5 +297,3 @@ type SearchResult = SearchResultConstants & {
|
|
|
297
297
|
*/
|
|
298
298
|
STATUS_UNEXPECTED_ERROR: number;
|
|
299
299
|
};
|
|
300
|
-
|
|
301
|
-
export = SearchResult;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @since Sitevision 3.0
|
|
5
5
|
* @see senselogic.sitevision.api.search.SearchResult#getFacetFields()
|
|
6
6
|
*/
|
|
7
|
-
type SearchFacetField = {
|
|
7
|
+
export type SearchFacetField = {
|
|
8
8
|
/**
|
|
9
9
|
* Returns the name of this facet field.
|
|
10
10
|
* @return the facet field name
|
|
@@ -23,5 +23,3 @@ type SearchFacetField = {
|
|
|
23
23
|
*/
|
|
24
24
|
getValueCount(): number;
|
|
25
25
|
};
|
|
26
|
-
|
|
27
|
-
export = SearchFacetField;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @since Sitevision 3.0
|
|
5
5
|
* @see senselogic.sitevision.api.search.facet.SearchFacetField#getFacetValues()
|
|
6
6
|
*/
|
|
7
|
-
type SearchFacetValue = {
|
|
7
|
+
export type SearchFacetValue = {
|
|
8
8
|
/**
|
|
9
9
|
* Returns the number of occurrences (number of expected hits when searching with this facet value).
|
|
10
10
|
* @return the number of occurrences for this facet value.
|
|
@@ -46,5 +46,3 @@ type SearchFacetValue = {
|
|
|
46
46
|
*/
|
|
47
47
|
isSelected(): boolean;
|
|
48
48
|
};
|
|
49
|
-
|
|
50
|
-
export = SearchFacetValue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type SearchResult from "../../SearchResult";
|
|
1
|
+
import type { SearchResult } from "../../SearchResult";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* <p>
|
|
@@ -149,7 +149,7 @@ import type SearchResult from "../../SearchResult";
|
|
|
149
149
|
* @author Magnus Lövgren
|
|
150
150
|
* @since Sitevision 3.6
|
|
151
151
|
*/
|
|
152
|
-
type Searcher = {
|
|
152
|
+
export type Searcher = {
|
|
153
153
|
/**
|
|
154
154
|
* Executes a search using the components/behaviour that was specified when the <code>Searcher</code> was created.
|
|
155
155
|
*
|
|
@@ -239,5 +239,3 @@ type Searcher = {
|
|
|
239
239
|
aMaxHitsToReturn: number
|
|
240
240
|
): SearchResult;
|
|
241
241
|
};
|
|
242
|
-
|
|
243
|
-
export = Searcher;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @see senselogic.sitevision.api.search.SearchResult#getCustomSorts()
|
|
6
6
|
* @since Sitevision 3.1
|
|
7
7
|
*/
|
|
8
|
-
type CustomSort = {
|
|
8
|
+
export type CustomSort = {
|
|
9
9
|
/**
|
|
10
10
|
* Gets the name of this custom sort.
|
|
11
11
|
* @return the sort name
|
|
@@ -63,5 +63,3 @@ type CustomSort = {
|
|
|
63
63
|
*/
|
|
64
64
|
getSortQueryParams(): string;
|
|
65
65
|
};
|
|
66
|
-
|
|
67
|
-
export = CustomSort;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @since Sitevision 3.0
|
|
5
5
|
* @see senselogic.sitevision.api.search.SearchResult#getSuggestions()
|
|
6
6
|
*/
|
|
7
|
-
type SearchSuggestion = {
|
|
7
|
+
export type SearchSuggestion = {
|
|
8
8
|
/**
|
|
9
9
|
* Number of expected hits for this suggestion
|
|
10
10
|
* @return number of expected hits, or <code>-1</code> if unavailable
|
|
@@ -17,5 +17,3 @@ type SearchSuggestion = {
|
|
|
17
17
|
*/
|
|
18
18
|
getName(): string;
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
export = SearchSuggestion;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* </p>
|
|
24
24
|
* @author Karl Eklöf
|
|
25
25
|
*/
|
|
26
|
-
type DirectoryAttributes = {
|
|
26
|
+
export type DirectoryAttributes = {
|
|
27
27
|
/**
|
|
28
28
|
* Returns the directory attribute values for the given attribute name.
|
|
29
29
|
* @param anAttributeName The attribute name for which to get the attribute value for.
|
|
@@ -63,5 +63,3 @@ type DirectoryAttributes = {
|
|
|
63
63
|
*/
|
|
64
64
|
getAttributeValue(anAttributeName: string, returnAsString: boolean): unknown;
|
|
65
65
|
};
|
|
66
|
-
|
|
67
|
-
export = DirectoryAttributes;
|