@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,5 +1,5 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
2
|
-
import type Builder from "../../types/senselogic/sitevision/api/base/Builder";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
|
+
import type { Builder } from "../../types/senselogic/sitevision/api/base/Builder";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Builds volatile and short-lived nodes with primary node type <em>sv:temporaryFile</em>.
|
|
@@ -59,4 +59,4 @@ declare namespace TemporaryFileNodeBuilder {}
|
|
|
59
59
|
|
|
60
60
|
declare var temporaryFileNodeBuilder: TemporaryFileNodeBuilder;
|
|
61
61
|
|
|
62
|
-
export
|
|
62
|
+
export default temporaryFileNodeBuilder;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
2
|
-
import type Builder from "../../types/senselogic/sitevision/api/base/Builder";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
|
+
import type { Builder } from "../../types/senselogic/sitevision/api/base/Builder";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Builds volatile and short-lived nodes with primary node type <em>sv:temporaryNode</em>.
|
|
@@ -161,4 +161,4 @@ declare namespace TemporaryNodeBuilder {}
|
|
|
161
161
|
|
|
162
162
|
declare var temporaryNodeBuilder: TemporaryNodeBuilder;
|
|
163
163
|
|
|
164
|
-
export
|
|
164
|
+
export default temporaryNodeBuilder;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
2
|
-
import type TextModuleRenderer from "../../types/senselogic/sitevision/api/render/TextModuleRenderer";
|
|
3
|
-
import type Builder from "../../types/senselogic/sitevision/api/base/Builder";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
|
+
import type { TextModuleRenderer } from "../../types/senselogic/sitevision/api/render/TextModuleRenderer";
|
|
3
|
+
import type { Builder } from "../../types/senselogic/sitevision/api/base/Builder";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* <p>
|
|
@@ -68,4 +68,4 @@ declare namespace TextModuleRendererBuilder {}
|
|
|
68
68
|
|
|
69
69
|
declare var textModuleRendererBuilder: TextModuleRendererBuilder;
|
|
70
70
|
|
|
71
|
-
export
|
|
71
|
+
export default textModuleRendererBuilder;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Translation utility interface.
|
|
@@ -109,4 +109,4 @@ declare namespace TranslationUtil {}
|
|
|
109
109
|
|
|
110
110
|
declare var translationUtil: TranslationUtil;
|
|
111
111
|
|
|
112
|
-
export
|
|
112
|
+
export default translationUtil;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Trashcan utility interface for delete and restore of nodes.
|
|
@@ -125,4 +125,4 @@ declare namespace TrashcanUtil {}
|
|
|
125
125
|
|
|
126
126
|
declare var trashcanUtil: TrashcanUtil;
|
|
127
127
|
|
|
128
|
-
export
|
|
128
|
+
export default trashcanUtil;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* User data utility interface.
|
|
@@ -139,4 +139,4 @@ declare namespace UserDataUtil {}
|
|
|
139
139
|
|
|
140
140
|
declare var userDataUtil: UserDataUtil;
|
|
141
141
|
|
|
142
|
-
export
|
|
142
|
+
export default userDataUtil;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import UserIdentityUtil from "../UserIdentityUtil";
|
|
2
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
3
|
-
import type UserIdentityWrapper from "../../types/senselogic/sitevision/api/user/UserIdentityWrapper";
|
|
4
|
-
import SystemUserUtil from "../SystemUserUtil";
|
|
5
|
-
import UserUtil from "../UserUtil";
|
|
6
|
-
import SimpleUserUtil from "../SimpleUserUtil";
|
|
7
|
-
import UserDataUtil from "../UserDataUtil";
|
|
1
|
+
import type { UserIdentityUtil } from "../UserIdentityUtil";
|
|
2
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
3
|
+
import type { UserIdentityWrapper } from "../../types/senselogic/sitevision/api/user/UserIdentityWrapper";
|
|
4
|
+
import type { SystemUserUtil } from "../SystemUserUtil";
|
|
5
|
+
import type { UserUtil } from "../UserUtil";
|
|
6
|
+
import type { SimpleUserUtil } from "../SimpleUserUtil";
|
|
7
|
+
import type { UserDataUtil } from "../UserDataUtil";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Factory for creating user-related instances.
|
|
@@ -63,4 +63,4 @@ declare namespace UserFactory {}
|
|
|
63
63
|
|
|
64
64
|
declare var userFactory: UserFactory;
|
|
65
65
|
|
|
66
|
-
export
|
|
66
|
+
export default userFactory;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* UserFieldRenderer is a stateful utility interface for rendering user field values for user identities.
|
|
@@ -183,4 +183,4 @@ declare namespace UserFieldRenderer {}
|
|
|
183
183
|
|
|
184
184
|
declare var userFieldRenderer: UserFieldRenderer;
|
|
185
185
|
|
|
186
|
-
export
|
|
186
|
+
export default userFieldRenderer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* User identity utility interface.
|
|
@@ -54,4 +54,4 @@ declare namespace UserIdentityUtil {}
|
|
|
54
54
|
|
|
55
55
|
declare var userIdentityUtil: UserIdentityUtil;
|
|
56
56
|
|
|
57
|
-
export
|
|
57
|
+
export default userIdentityUtil;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* User utility interface.
|
|
@@ -69,4 +69,4 @@ declare namespace UserUtil {}
|
|
|
69
69
|
|
|
70
70
|
declare var userUtil: UserUtil;
|
|
71
71
|
|
|
72
|
-
export
|
|
72
|
+
export default userUtil;
|
package/server/Utils/index.d.ts
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
import PortletContextUtil from "../PortletContextUtil";
|
|
2
|
-
import NodeIteratorUtil from "../NodeIteratorUtil";
|
|
3
|
-
import NodeTreeUtil from "../NodeTreeUtil";
|
|
4
|
-
import PropertyUtil from "../PropertyUtil";
|
|
5
|
-
import LinkRenderer from "../LinkRenderer";
|
|
6
|
-
import OutputUtil from "../OutputUtil";
|
|
7
|
-
import ColorUtil from "../ColorUtil";
|
|
8
|
-
import DecorationUtil from "../DecorationUtil";
|
|
9
|
-
import FontUtil from "../FontUtil";
|
|
10
|
-
import ResourceLocatorUtil from "../ResourceLocatorUtil";
|
|
11
|
-
import EndecUtil from "../EndecUtil";
|
|
12
|
-
import ScriptUtil from "../ScriptUtil";
|
|
13
|
-
import LogUtil from "../LogUtil";
|
|
14
|
-
import IconUtil from "../IconUtil";
|
|
15
|
-
import PermissionUtil from "../PermissionUtil";
|
|
16
|
-
import DirectoryUtil from "../DirectoryUtil";
|
|
17
|
-
import ClientUtil from "../ClientUtil";
|
|
18
|
-
import SearchUtil from "../SearchUtil";
|
|
19
|
-
import type SearchFieldUtil from "../../types/senselogic/sitevision/api/search/SearchFieldUtil";
|
|
20
|
-
import PortletUtil from "../PortletUtil";
|
|
21
|
-
import MetadataUtil from "../MetadataUtil";
|
|
22
|
-
import BookmarkUtil from "../BookmarkUtil";
|
|
23
|
-
import PublishingUtil from "../PublishingUtil";
|
|
24
|
-
import VersionUtil from "../VersionUtil";
|
|
25
|
-
import ArchiveUtil from "../ArchiveUtil";
|
|
26
|
-
import FolderUtil from "../FolderUtil";
|
|
27
|
-
import StructureUtil from "../StructureUtil";
|
|
28
|
-
import WebContentUtil from "../WebContentUtil";
|
|
29
|
-
import ArticleUtil from "../ArticleUtil";
|
|
30
|
-
import FileUtil from "../FileUtil";
|
|
31
|
-
import ImageUtil from "../ImageUtil";
|
|
32
|
-
import PageUtil from "../PageUtil";
|
|
33
|
-
import TrashcanUtil from "../TrashcanUtil";
|
|
34
|
-
import TemplateUtil from "../TemplateUtil";
|
|
35
|
-
import AuthenticationUtil from "../AuthenticationUtil";
|
|
36
|
-
import PrincipalUtil from "../PrincipalUtil";
|
|
37
|
-
import FileIconRenderer from "../FileIconRenderer";
|
|
38
|
-
import ImageRenderer from "../ImageRenderer";
|
|
39
|
-
|
|
40
|
-
import type ImageScaler from "../../types/senselogic/sitevision/api/render/ImageScaler";
|
|
41
|
-
|
|
42
|
-
import type ExceptionSuppressingProxy from "../../types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy";
|
|
43
|
-
|
|
44
|
-
import type ExceptionSuppressingCollection from "../../types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection";
|
|
45
|
-
|
|
46
|
-
import type ExceptionSuppressingIterator from "../../types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator";
|
|
47
|
-
import SubscriptionUtil from "../SubscriptionUtil";
|
|
48
|
-
import SubscriberUtil from "../SubscriberUtil";
|
|
49
|
-
import InstanceTypeUtil from "../InstanceTypeUtil";
|
|
50
|
-
import NodeTypeUtil from "../NodeTypeUtil";
|
|
51
|
-
import MetadataDefinitionUtil from "../MetadataDefinitionUtil";
|
|
52
|
-
import ImageLinkRenderer from "../ImageLinkRenderer";
|
|
53
|
-
import MimeTypeUtil from "../MimeTypeUtil";
|
|
54
|
-
import DocTypeUtil from "../DocTypeUtil";
|
|
55
|
-
import type VersionedPropertyUtil from "../../types/senselogic/sitevision/api/property/VersionedPropertyUtil";
|
|
56
|
-
import DeviceUtil from "../DeviceUtil";
|
|
57
|
-
import type UserUtil from "../../types/senselogic/sitevision/api/security/UserUtil";
|
|
58
|
-
import VelocityRenderer from "../VelocityRenderer";
|
|
59
|
-
import InstanceCreatorUtil from "../InstanceCreatorUtil";
|
|
60
|
-
import DateUtil from "../DateUtil";
|
|
61
|
-
import LandingPageUtil from "../LandingPageUtil";
|
|
62
|
-
import BuddyIconRenderer from "../BuddyIconRenderer";
|
|
63
|
-
import UserFieldRenderer from "../UserFieldRenderer";
|
|
64
|
-
import MailUtil from "../MailUtil";
|
|
65
|
-
import SearchFactory from "../SearchFactory";
|
|
66
|
-
import LocaleUtil from "../LocaleUtil";
|
|
67
|
-
import UserFactory from "../UserFactory";
|
|
68
|
-
import CollaborationFactory from "../CollaborationFactory";
|
|
69
|
-
import ContentNodeUtil from "../ContentNodeUtil";
|
|
70
|
-
import NodeComparatorUtil from "../NodeComparatorUtil";
|
|
71
|
-
import NodeFilterUtil from "../NodeFilterUtil";
|
|
72
|
-
import RedirectUtil from "../RedirectUtil";
|
|
73
|
-
import NodeResolverUtil from "../NodeResolverUtil";
|
|
74
|
-
import NodeFactoryUtil from "../NodeFactoryUtil";
|
|
75
|
-
import WebResourceFactory from "../WebResourceFactory";
|
|
76
|
-
import TranslationUtil from "../TranslationUtil";
|
|
77
|
-
import XSLTUtil from "../XSLTUtil";
|
|
78
|
-
import TimestampUtil from "../TimestampUtil";
|
|
79
|
-
import MessageDigesterFactory from "../MessageDigesterFactory";
|
|
80
|
-
import XmlParserUtil from "../XmlParserUtil";
|
|
81
|
-
import RoleUtil from "../RoleUtil";
|
|
82
|
-
import SiteCookieUtil from "../SiteCookieUtil";
|
|
83
|
-
import CurrencyFactory from "../CurrencyFactory";
|
|
84
|
-
import FormatterBuilderFactory from "../FormatterBuilderFactory";
|
|
85
|
-
import TextModuleRendererBuilder from "../TextModuleRendererBuilder";
|
|
86
|
-
import TagUtil from "../TagUtil";
|
|
87
|
-
import AliasUtil from "../AliasUtil";
|
|
1
|
+
import type { PortletContextUtil } from "../PortletContextUtil";
|
|
2
|
+
import type { NodeIteratorUtil } from "../NodeIteratorUtil";
|
|
3
|
+
import type { NodeTreeUtil } from "../NodeTreeUtil";
|
|
4
|
+
import type { PropertyUtil } from "../PropertyUtil";
|
|
5
|
+
import type { LinkRenderer } from "../LinkRenderer";
|
|
6
|
+
import type { OutputUtil } from "../OutputUtil";
|
|
7
|
+
import type { ColorUtil } from "../ColorUtil";
|
|
8
|
+
import type { DecorationUtil } from "../DecorationUtil";
|
|
9
|
+
import type { FontUtil } from "../FontUtil";
|
|
10
|
+
import type { ResourceLocatorUtil } from "../ResourceLocatorUtil";
|
|
11
|
+
import type { EndecUtil } from "../EndecUtil";
|
|
12
|
+
import type { ScriptUtil } from "../ScriptUtil";
|
|
13
|
+
import type { LogUtil } from "../LogUtil";
|
|
14
|
+
import type { IconUtil } from "../IconUtil";
|
|
15
|
+
import type { PermissionUtil } from "../PermissionUtil";
|
|
16
|
+
import type { DirectoryUtil } from "../DirectoryUtil";
|
|
17
|
+
import type { ClientUtil } from "../ClientUtil";
|
|
18
|
+
import type { SearchUtil } from "../SearchUtil";
|
|
19
|
+
import type { SearchFieldUtil } from "../../types/senselogic/sitevision/api/search/SearchFieldUtil";
|
|
20
|
+
import type { PortletUtil } from "../PortletUtil";
|
|
21
|
+
import type { MetadataUtil } from "../MetadataUtil";
|
|
22
|
+
import type { BookmarkUtil } from "../BookmarkUtil";
|
|
23
|
+
import type { PublishingUtil } from "../PublishingUtil";
|
|
24
|
+
import type { VersionUtil } from "../VersionUtil";
|
|
25
|
+
import type { ArchiveUtil } from "../ArchiveUtil";
|
|
26
|
+
import type { FolderUtil } from "../FolderUtil";
|
|
27
|
+
import type { StructureUtil } from "../StructureUtil";
|
|
28
|
+
import type { WebContentUtil } from "../WebContentUtil";
|
|
29
|
+
import type { ArticleUtil } from "../ArticleUtil";
|
|
30
|
+
import type { FileUtil } from "../FileUtil";
|
|
31
|
+
import type { ImageUtil } from "../ImageUtil";
|
|
32
|
+
import type { PageUtil } from "../PageUtil";
|
|
33
|
+
import type { TrashcanUtil } from "../TrashcanUtil";
|
|
34
|
+
import type { TemplateUtil } from "../TemplateUtil";
|
|
35
|
+
import type { AuthenticationUtil } from "../AuthenticationUtil";
|
|
36
|
+
import type { PrincipalUtil } from "../PrincipalUtil";
|
|
37
|
+
import type { FileIconRenderer } from "../FileIconRenderer";
|
|
38
|
+
import type { ImageRenderer } from "../ImageRenderer";
|
|
39
|
+
|
|
40
|
+
import type { ImageScaler } from "../../types/senselogic/sitevision/api/render/ImageScaler";
|
|
41
|
+
|
|
42
|
+
import type { ExceptionSuppressingProxy } from "../../types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy";
|
|
43
|
+
|
|
44
|
+
import type { ExceptionSuppressingCollection } from "../../types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection";
|
|
45
|
+
|
|
46
|
+
import type { ExceptionSuppressingIterator } from "../../types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator";
|
|
47
|
+
import type { SubscriptionUtil } from "../SubscriptionUtil";
|
|
48
|
+
import type { SubscriberUtil } from "../SubscriberUtil";
|
|
49
|
+
import type { InstanceTypeUtil } from "../InstanceTypeUtil";
|
|
50
|
+
import type { NodeTypeUtil } from "../NodeTypeUtil";
|
|
51
|
+
import type { MetadataDefinitionUtil } from "../MetadataDefinitionUtil";
|
|
52
|
+
import type { ImageLinkRenderer } from "../ImageLinkRenderer";
|
|
53
|
+
import type { MimeTypeUtil } from "../MimeTypeUtil";
|
|
54
|
+
import type { DocTypeUtil } from "../DocTypeUtil";
|
|
55
|
+
import type { VersionedPropertyUtil } from "../../types/senselogic/sitevision/api/property/VersionedPropertyUtil";
|
|
56
|
+
import type { DeviceUtil } from "../DeviceUtil";
|
|
57
|
+
import type { UserUtil } from "../../types/senselogic/sitevision/api/security/UserUtil";
|
|
58
|
+
import type { VelocityRenderer } from "../VelocityRenderer";
|
|
59
|
+
import type { InstanceCreatorUtil } from "../InstanceCreatorUtil";
|
|
60
|
+
import type { DateUtil } from "../DateUtil";
|
|
61
|
+
import type { LandingPageUtil } from "../LandingPageUtil";
|
|
62
|
+
import type { BuddyIconRenderer } from "../BuddyIconRenderer";
|
|
63
|
+
import type { UserFieldRenderer } from "../UserFieldRenderer";
|
|
64
|
+
import type { MailUtil } from "../MailUtil";
|
|
65
|
+
import type { SearchFactory } from "../SearchFactory";
|
|
66
|
+
import type { LocaleUtil } from "../LocaleUtil";
|
|
67
|
+
import type { UserFactory } from "../UserFactory";
|
|
68
|
+
import type { CollaborationFactory } from "../CollaborationFactory";
|
|
69
|
+
import type { ContentNodeUtil } from "../ContentNodeUtil";
|
|
70
|
+
import type { NodeComparatorUtil } from "../NodeComparatorUtil";
|
|
71
|
+
import type { NodeFilterUtil } from "../NodeFilterUtil";
|
|
72
|
+
import type { RedirectUtil } from "../RedirectUtil";
|
|
73
|
+
import type { NodeResolverUtil } from "../NodeResolverUtil";
|
|
74
|
+
import type { NodeFactoryUtil } from "../NodeFactoryUtil";
|
|
75
|
+
import type { WebResourceFactory } from "../WebResourceFactory";
|
|
76
|
+
import type { TranslationUtil } from "../TranslationUtil";
|
|
77
|
+
import type { XSLTUtil } from "../XSLTUtil";
|
|
78
|
+
import type { TimestampUtil } from "../TimestampUtil";
|
|
79
|
+
import type { MessageDigesterFactory } from "../MessageDigesterFactory";
|
|
80
|
+
import type { XmlParserUtil } from "../XmlParserUtil";
|
|
81
|
+
import type { RoleUtil } from "../RoleUtil";
|
|
82
|
+
import type { SiteCookieUtil } from "../SiteCookieUtil";
|
|
83
|
+
import type { CurrencyFactory } from "../CurrencyFactory";
|
|
84
|
+
import type { FormatterBuilderFactory } from "../FormatterBuilderFactory";
|
|
85
|
+
import type { TextModuleRendererBuilder } from "../TextModuleRendererBuilder";
|
|
86
|
+
import type { TagUtil } from "../TagUtil";
|
|
87
|
+
import type { AliasUtil } from "../AliasUtil";
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Main entry point to get instances of interfaces in the Sitevision Utility API.
|
|
@@ -753,4 +753,4 @@ declare namespace Utils {}
|
|
|
753
753
|
|
|
754
754
|
declare var utils: Utils;
|
|
755
755
|
|
|
756
|
-
export
|
|
756
|
+
export default utils;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type VelocityContext from "../../types/senselogic/sitevision/api/render/velocity/VelocityContext";
|
|
1
|
+
import type { VelocityContext } from "../../types/senselogic/sitevision/api/render/velocity/VelocityContext";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A renderer that can be used in custom portlets for rendering Velocity templates.
|
|
@@ -199,4 +199,4 @@ declare namespace VelocityRenderer {}
|
|
|
199
199
|
|
|
200
200
|
declare var velocityRenderer: VelocityRenderer;
|
|
201
201
|
|
|
202
|
-
export
|
|
202
|
+
export default velocityRenderer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type VersionUtilConstants from "../../types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants";
|
|
1
|
+
import type { VersionUtilConstants } from "../../types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Versioning utility interface.
|
|
@@ -35,4 +35,4 @@ declare namespace VersionUtil {}
|
|
|
35
35
|
|
|
36
36
|
declare var versionUtil: VersionUtil;
|
|
37
37
|
|
|
38
|
-
export
|
|
38
|
+
export default versionUtil;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
1
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Utility interface for content manipulation of a sv:page, sv:article or a sv:template.
|
|
@@ -460,4 +460,4 @@ declare namespace WebContentUtil {}
|
|
|
460
460
|
|
|
461
461
|
declare var webContentUtil: WebContentUtil;
|
|
462
462
|
|
|
463
|
-
export
|
|
463
|
+
export default webContentUtil;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import ArticleUtil from "../ArticleUtil";
|
|
2
|
-
import FileUtil from "../FileUtil";
|
|
3
|
-
import ImageUtil from "../ImageUtil";
|
|
4
|
-
import LinkPageUtil from "../LinkPageUtil";
|
|
5
|
-
import LinkTargetBuilder from "../LinkTargetBuilder";
|
|
6
|
-
import PageUtil from "../PageUtil";
|
|
1
|
+
import type { ArticleUtil } from "../ArticleUtil";
|
|
2
|
+
import type { FileUtil } from "../FileUtil";
|
|
3
|
+
import type { ImageUtil } from "../ImageUtil";
|
|
4
|
+
import type { LinkPageUtil } from "../LinkPageUtil";
|
|
5
|
+
import type { LinkTargetBuilder } from "../LinkTargetBuilder";
|
|
6
|
+
import type { PageUtil } from "../PageUtil";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Factory for creating instances of web resource utilities.
|
|
@@ -58,4 +58,4 @@ declare namespace WebResourceFactory {}
|
|
|
58
58
|
|
|
59
59
|
declare var webResourceFactory: WebResourceFactory;
|
|
60
60
|
|
|
61
|
-
export
|
|
61
|
+
export default webResourceFactory;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type XmlElementHandler from "../../types/senselogic/sitevision/api/xml/XmlElementHandler";
|
|
1
|
+
import type { XmlElementHandler } from "../../types/senselogic/sitevision/api/xml/XmlElementHandler";
|
|
2
2
|
|
|
3
|
-
import type Node from "../../types/javax/jcr/Node";
|
|
3
|
+
import type { Node } from "../../types/javax/jcr/Node";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Utility interface for parsing XML.
|
|
@@ -118,4 +118,4 @@ declare namespace XmlParserUtil {}
|
|
|
118
118
|
|
|
119
119
|
declare var xmlParserUtil: XmlParserUtil;
|
|
120
120
|
|
|
121
|
-
export
|
|
121
|
+
export default xmlParserUtil;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { Node } from '../../types/javax/jcr/Node';
|
|
2
2
|
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare namespace appData {
|
|
8
|
-
export { get, getNode, getArray };
|
|
3
|
+
export interface AppData {
|
|
4
|
+
get(key: string): unknown;
|
|
5
|
+
getNode(key: string): Node;
|
|
6
|
+
getArray(key: string): Node[];
|
|
9
7
|
}
|
|
10
8
|
|
|
9
|
+
declare namespace AppData {}
|
|
10
|
+
|
|
11
|
+
declare var appData: AppData;
|
|
12
|
+
|
|
11
13
|
export default appData;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface AppInfo {
|
|
1
|
+
export interface AppInfo {
|
|
2
2
|
appVersion: string;
|
|
3
3
|
maxUploadSizeInMB: number;
|
|
4
4
|
appHelpURL: string;
|
|
@@ -30,4 +30,8 @@ interface AppInfo {
|
|
|
30
30
|
'jcr:primaryType': string;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
declare namespace AppInfo {}
|
|
34
|
+
|
|
35
|
+
declare var appInfo: AppInfo;
|
|
36
|
+
|
|
37
|
+
export default appInfo;
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
import type { Node } from '../../hidden/javax/jcr/Node';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
interface AppResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get the content of a resource as a string
|
|
6
|
+
* @param key The name of the resource
|
|
7
|
+
* @returns The content of the resource as a string
|
|
8
|
+
*/
|
|
9
|
+
getContent(key: string): string;
|
|
9
10
|
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Get the content of a resource as a JCR-node
|
|
13
|
+
* @param key The name of the resource
|
|
14
|
+
* @returns The content of the resource as a javax.jcr.Node
|
|
15
|
+
*/
|
|
16
|
+
getNode(key: string): Node;
|
|
16
17
|
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
declare namespace appResource {
|
|
25
|
-
export { getContent, getNode };
|
|
18
|
+
/**
|
|
19
|
+
* Get the content of a resource as a InputStream
|
|
20
|
+
* @param key The name of the resource
|
|
21
|
+
* @returns The content of the resource as a java.io.InputStream
|
|
22
|
+
*/
|
|
23
|
+
getNode(key: string): unknown;
|
|
26
24
|
}
|
|
27
25
|
|
|
26
|
+
declare namespace AppResource {}
|
|
27
|
+
|
|
28
|
+
declare var appResource: AppResource;
|
|
29
|
+
|
|
28
30
|
export default appResource;
|
package/server/cache/index.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
interface
|
|
1
|
+
export interface CacheEntry {
|
|
2
2
|
get<A>(key: string, ttl: number, callback: () => A): A;
|
|
3
3
|
purge(key: string): void;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
declare namespace cache {
|
|
10
|
-
export { getCache, getSharedCache };
|
|
6
|
+
export interface Cache {
|
|
7
|
+
getCache(): CacheEntry;
|
|
8
|
+
getSharedCache(aGlobalNamespace: string): CacheEntry;
|
|
11
9
|
}
|
|
12
10
|
|
|
11
|
+
declare namespace Cache {}
|
|
12
|
+
|
|
13
|
+
declare var cache: Cache;
|
|
14
|
+
|
|
13
15
|
export default cache;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { Node } from '../../types/javax/jcr/Node';
|
|
2
2
|
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare namespace globalAppData {
|
|
8
|
-
export { get, getNode, getArray };
|
|
3
|
+
export interface GlobalAppData {
|
|
4
|
+
get(key: string): unknown;
|
|
5
|
+
getNode(key: string): Node;
|
|
6
|
+
getArray(key: string): Node[];
|
|
9
7
|
}
|
|
10
8
|
|
|
9
|
+
declare namespace GlobalAppData {}
|
|
10
|
+
|
|
11
|
+
declare var globalAppData: GlobalAppData;
|
|
12
|
+
|
|
11
13
|
export default globalAppData;
|