@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,8 +1,8 @@
|
|
|
1
|
-
interface HeadlessContentParams {
|
|
1
|
+
export interface HeadlessContentParams {
|
|
2
2
|
textPortletFormat?: 'JSON' | 'PLAIN';
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
interface ImageContent {
|
|
5
|
+
export interface ImageContent {
|
|
6
6
|
mimeType: string;
|
|
7
7
|
displayName: string;
|
|
8
8
|
URL: string;
|
|
@@ -11,25 +11,25 @@ interface ImageContent {
|
|
|
11
11
|
URI?: string;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
interface TextElement {
|
|
14
|
+
export interface TextElement {
|
|
15
15
|
type: 'text';
|
|
16
16
|
content: string;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
interface HtmlElement {
|
|
19
|
+
export interface HtmlElement {
|
|
20
20
|
type: 'block' | 'inline';
|
|
21
21
|
htmlTag: string;
|
|
22
22
|
attributes?: Record<string, string>;
|
|
23
23
|
children: (HtmlElement | TextElement)[];
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
interface FileContent {
|
|
26
|
+
export interface FileContent {
|
|
27
27
|
mimeType: string;
|
|
28
28
|
displayName: string;
|
|
29
29
|
URL: string;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
interface VideoContent {
|
|
32
|
+
export interface VideoContent {
|
|
33
33
|
displayName: string;
|
|
34
34
|
mimeType: string;
|
|
35
35
|
URL: string;
|
|
@@ -39,59 +39,61 @@ interface VideoContent {
|
|
|
39
39
|
URI?: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
interface HeadlessContent {
|
|
42
|
+
export interface HeadlessContent {
|
|
43
43
|
type: string;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
interface HeadlessImageContent extends HeadlessContent {
|
|
46
|
+
export interface HeadlessImageContent extends HeadlessContent {
|
|
47
47
|
type: 'image';
|
|
48
48
|
properties: {
|
|
49
49
|
image: ImageContent;
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
interface HeadlessImagesContent extends HeadlessContent {
|
|
53
|
+
export interface HeadlessImagesContent extends HeadlessContent {
|
|
54
54
|
type: 'images';
|
|
55
55
|
properties: {
|
|
56
56
|
images: ImageContent[];
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
interface HeadlessVideoContent extends HeadlessContent {
|
|
60
|
+
export interface HeadlessVideoContent extends HeadlessContent {
|
|
61
61
|
type: 'video';
|
|
62
62
|
properties: {
|
|
63
63
|
video: VideoContent;
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
interface HeadlessTextContent extends HeadlessContent {
|
|
67
|
+
export interface HeadlessTextContent extends HeadlessContent {
|
|
68
68
|
type: 'text';
|
|
69
69
|
properties: {
|
|
70
70
|
textContent: string | HtmlElement[];
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
interface HeadlessFilesContent extends HeadlessContent {
|
|
74
|
+
export interface HeadlessFilesContent extends HeadlessContent {
|
|
75
75
|
type: 'files';
|
|
76
76
|
properties: {
|
|
77
77
|
files: FileContent[];
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
export
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
)
|
|
92
|
-
|
|
93
|
-
declare namespace headless {
|
|
94
|
-
export { getHeadlessContent };
|
|
81
|
+
export interface Headless {
|
|
82
|
+
getHeadlessContent(
|
|
83
|
+
callback: (
|
|
84
|
+
params: HeadlessContentParams
|
|
85
|
+
) => (
|
|
86
|
+
| HeadlessImageContent
|
|
87
|
+
| HeadlessImagesContent
|
|
88
|
+
| HeadlessVideoContent
|
|
89
|
+
| HeadlessTextContent
|
|
90
|
+
| HeadlessFilesContent
|
|
91
|
+
)[]
|
|
92
|
+
): void;
|
|
95
93
|
}
|
|
96
94
|
|
|
95
|
+
declare namespace Headless {}
|
|
96
|
+
|
|
97
|
+
declare var headless: Headless;
|
|
98
|
+
|
|
97
99
|
export default headless;
|
package/server/hooks/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Cookie, Request } from '../../common/router';
|
|
2
2
|
|
|
3
|
-
interface HooksResponse {
|
|
3
|
+
export interface HooksResponse {
|
|
4
4
|
set(name: string, value: string): void;
|
|
5
5
|
cookie(cookie: Cookie): void;
|
|
6
6
|
clearCookie(name: string);
|
|
7
7
|
redirect(url: string);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export
|
|
11
|
-
callback: (req: Request, res: HooksResponse) => void
|
|
12
|
-
): void;
|
|
10
|
+
export interface Hooks {
|
|
11
|
+
beforeRender(callback: (req: Request, res: HooksResponse) => void): void;
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
declare namespace hooks {
|
|
18
|
-
export { beforeRender, getPageTitle, addHeadElement };
|
|
13
|
+
getPageTitle(callback: (req: Request) => string);
|
|
14
|
+
addHeadElement(callback: (req: Request) => string);
|
|
19
15
|
}
|
|
20
16
|
|
|
17
|
+
declare namespace Hooks {}
|
|
18
|
+
|
|
19
|
+
declare var hooks: Hooks;
|
|
20
|
+
|
|
21
21
|
export default hooks;
|
package/server/oauth2/index.d.ts
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import type { Node } from '../../types/javax/jcr/Node';
|
|
2
2
|
|
|
3
|
-
interface AccessTokenStatus {
|
|
3
|
+
export interface AccessTokenStatus {
|
|
4
4
|
isValid: boolean;
|
|
5
5
|
scopes: string[];
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
export interface OAuth2 {
|
|
9
|
+
createLoginLink(
|
|
10
|
+
oauth2Config: Node,
|
|
11
|
+
redirectUrl: string,
|
|
12
|
+
scopes: string[]
|
|
13
|
+
): string;
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
declare namespace oauth2 {
|
|
17
|
-
export { createLoginLink, getAccessTokenStatus };
|
|
15
|
+
getAccessTokenStatus(oauth2Config: Node): AccessTokenStatus;
|
|
18
16
|
}
|
|
19
17
|
|
|
18
|
+
declare namespace Oauth2 {}
|
|
19
|
+
|
|
20
|
+
declare var oauth2: OAuth2;
|
|
21
|
+
|
|
20
22
|
export default oauth2;
|
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
import type { Node } from '../../types/javax/jcr/Node';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
export interface Privileged {
|
|
4
|
+
/**
|
|
5
|
+
* Returns true if there are a service user configured for usage for the app. Returns false if not
|
|
6
|
+
*
|
|
7
|
+
* @since 7.0
|
|
8
|
+
*/
|
|
9
|
+
isConfigured(): boolean;
|
|
9
10
|
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Gets the user the privileged action will run as. Will be null if isConfigured is false
|
|
13
|
+
*
|
|
14
|
+
* @since 7.0
|
|
15
|
+
*/
|
|
16
|
+
getPrivilegedActionUser(): Node | null;
|
|
16
17
|
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
declare namespace privileged {
|
|
26
|
-
export { isConfigured, getPrivilegedActionUser, doPrivilegedAction };
|
|
18
|
+
/**
|
|
19
|
+
* Executes a callback function as the privileged action user. Callback will be executed as current user if isConfigured is false
|
|
20
|
+
*
|
|
21
|
+
* @since 7.0
|
|
22
|
+
* @param callback The callback to trigger as the privileged action user
|
|
23
|
+
*/
|
|
24
|
+
doPrivilegedAction(callback: () => void): void;
|
|
27
25
|
}
|
|
28
26
|
|
|
27
|
+
declare namespace Privileged {}
|
|
28
|
+
|
|
29
|
+
declare var privileged: Privileged;
|
|
30
|
+
|
|
29
31
|
export default privileged;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
interface OrderByOptions {
|
|
1
|
+
export interface OrderByOptions {
|
|
2
2
|
field: string;
|
|
3
3
|
order: 'ASC' | 'DESC';
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
interface FindOptions {
|
|
6
|
+
export interface FindOptions {
|
|
7
7
|
count?: number;
|
|
8
8
|
skip?: number;
|
|
9
9
|
orderBy?: OrderByOptions | OrderByOptions[];
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
interface CollectionDataStore {
|
|
12
|
+
export interface CollectionDataStore {
|
|
13
13
|
add(data: any): void;
|
|
14
14
|
addAll(data: any[]): void;
|
|
15
15
|
get(dsid: string): unknown;
|
|
@@ -39,7 +39,7 @@ interface CollectionDataStore {
|
|
|
39
39
|
/**
|
|
40
40
|
* @since 5.2
|
|
41
41
|
*/
|
|
42
|
-
interface KeyValueDataStore {
|
|
42
|
+
export interface KeyValueDataStore {
|
|
43
43
|
/**
|
|
44
44
|
* Stores data associated with a key.
|
|
45
45
|
* Returns current data stored on the key.
|
|
@@ -68,7 +68,7 @@ interface KeyValueDataStore {
|
|
|
68
68
|
remove(key: string): void;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
interface SearchResult {
|
|
71
|
+
export interface SearchResult {
|
|
72
72
|
toArray(): unknown[];
|
|
73
73
|
each(
|
|
74
74
|
callback: (err: DataStoreError | undefined, data: unknown) => void
|
|
@@ -80,13 +80,13 @@ interface SearchResult {
|
|
|
80
80
|
): void;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
interface DataStoreError {
|
|
83
|
+
export interface DataStoreError {
|
|
84
84
|
dataStore: string;
|
|
85
85
|
type: DataStoreErrorType;
|
|
86
86
|
message: string;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
export enum DataStoreErrorType {
|
|
90
90
|
validation_failed,
|
|
91
91
|
read_only,
|
|
92
92
|
item_not_found,
|
|
@@ -95,20 +95,22 @@ declare enum DataStoreErrorType {
|
|
|
95
95
|
unknown,
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Get an instance of a KeyValueDataStore
|
|
106
|
-
* @param identifier The name of a data store
|
|
107
|
-
*/
|
|
108
|
-
export function getKeyValueDataStore(identifier: string): KeyValueDataStore;
|
|
98
|
+
export interface Storage {
|
|
99
|
+
/**
|
|
100
|
+
* Get an instance of a CollectionDataStore
|
|
101
|
+
* @param identifier The name of a data store
|
|
102
|
+
*/
|
|
103
|
+
getCollectionDataStore(identifier: string): CollectionDataStore;
|
|
109
104
|
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
/**
|
|
106
|
+
* Get an instance of a KeyValueDataStore
|
|
107
|
+
* @param identifier The name of a data store
|
|
108
|
+
*/
|
|
109
|
+
getKeyValueDataStore(identifier: string): KeyValueDataStore;
|
|
112
110
|
}
|
|
113
111
|
|
|
112
|
+
declare namespace Storage {}
|
|
113
|
+
|
|
114
|
+
declare const storage: Storage;
|
|
115
|
+
|
|
114
116
|
export default storage;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @since JCR 2.0
|
|
8
8
|
* @since Sitevision 3.5
|
|
9
9
|
*/
|
|
10
|
-
type Binary = {
|
|
10
|
+
export type Binary = {
|
|
11
11
|
/**
|
|
12
12
|
* Returns an {@link InputStream} representation of this value. Each call to
|
|
13
13
|
* <code>getStream()</code> returns a new stream. The API consumer is
|
|
@@ -41,5 +41,3 @@ type Binary = {
|
|
|
41
41
|
*/
|
|
42
42
|
dispose(): void;
|
|
43
43
|
};
|
|
44
|
-
|
|
45
|
-
export = Binary;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
7
7
|
|
|
8
8
|
*/
|
|
9
|
-
type ImportUUIDBehavior = {
|
|
9
|
+
export type ImportUUIDBehavior = {
|
|
10
10
|
undefined;
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -33,5 +33,3 @@ type ImportUUIDBehavior = {
|
|
|
33
33
|
*/
|
|
34
34
|
IMPORT_UUID_COLLISION_THROW: number;
|
|
35
35
|
};
|
|
36
|
-
|
|
37
|
-
export = ImportUUIDBehavior;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type Node from "../Node";
|
|
1
|
+
import type { Node } from "../Node";
|
|
2
2
|
import { Session } from "../../../../server/Session";
|
|
3
3
|
|
|
4
|
-
import type ItemVisitor from "../ItemVisitor";
|
|
4
|
+
import type { ItemVisitor } from "../ItemVisitor";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The <code>Item</code> is the base interface of <code>{@link Node}</code> and
|
|
8
8
|
* <code>{@link Property}</code>.
|
|
9
9
|
|
|
10
10
|
*/
|
|
11
|
-
type Item = {
|
|
11
|
+
export type Item = {
|
|
12
12
|
/**
|
|
13
13
|
* Returns the normalized absolute path to this item.
|
|
14
14
|
* @return the normalized absolute path of this <code>Item</code>.
|
|
@@ -121,5 +121,3 @@ type Item = {
|
|
|
121
121
|
*/
|
|
122
122
|
remove(): void;
|
|
123
123
|
};
|
|
124
|
-
|
|
125
|
-
export = Item;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type Property from "../Property";
|
|
1
|
+
import type { Property } from "../Property";
|
|
2
2
|
|
|
3
|
-
import type Node from "../Node";
|
|
3
|
+
import type { Node } from "../Node";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* This interface defines two signatures of the <code>visit</code> method; one
|
|
@@ -15,7 +15,7 @@ import type Node from "../Node";
|
|
|
15
15
|
* through the tree performing some operation on each <code>Item</code>.
|
|
16
16
|
|
|
17
17
|
*/
|
|
18
|
-
type ItemVisitor = {
|
|
18
|
+
export type ItemVisitor = {
|
|
19
19
|
/**
|
|
20
20
|
* This method is called when the <code>ItemVisitor</code> is passed to the
|
|
21
21
|
* <code>accept</code> method of a <code>Property</code>. If this method
|
|
@@ -34,5 +34,3 @@ type ItemVisitor = {
|
|
|
34
34
|
*/
|
|
35
35
|
visit(node: Node): void;
|
|
36
36
|
};
|
|
37
|
-
|
|
38
|
-
export = ItemVisitor;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* repository content with namespaces that are not included in the registry.
|
|
8
8
|
* @see Workspace#getNamespaceRegistry
|
|
9
9
|
*/
|
|
10
|
-
type NamespaceRegistry = {
|
|
10
|
+
export type NamespaceRegistry = {
|
|
11
11
|
/**
|
|
12
12
|
* Returns an array holding all currently registered prefixes.
|
|
13
13
|
* @return a string array.
|
|
@@ -105,5 +105,3 @@ type NamespaceRegistry = {
|
|
|
105
105
|
*/
|
|
106
106
|
NAMESPACE_EMPTY: string;
|
|
107
107
|
};
|
|
108
|
-
|
|
109
|
-
export = NamespaceRegistry;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import type Value from "../Value";
|
|
2
|
-
import type Property from "../Property";
|
|
1
|
+
import type { Value } from "../Value";
|
|
2
|
+
import type { Property } from "../Property";
|
|
3
3
|
|
|
4
|
-
import type Binary from "../Binary";
|
|
4
|
+
import type { Binary } from "../Binary";
|
|
5
5
|
|
|
6
|
-
import type NodeIterator from "../NodeIterator";
|
|
7
|
-
import type PropertyIterator from "../PropertyIterator";
|
|
8
|
-
import type Item from "../Item";
|
|
9
|
-
import type NodeType from "../nodetype/NodeType";
|
|
10
|
-
import type NodeDefinition from "../nodetype/NodeDefinition";
|
|
11
|
-
import type Version from "../version/Version";
|
|
12
|
-
import type VersionHistory from "../version/VersionHistory";
|
|
13
|
-
import type Lock from "../lock/Lock";
|
|
6
|
+
import type { NodeIterator } from "../NodeIterator";
|
|
7
|
+
import type { PropertyIterator } from "../PropertyIterator";
|
|
8
|
+
import type { Item } from "../Item";
|
|
9
|
+
import type { NodeType } from "../nodetype/NodeType";
|
|
10
|
+
import type { NodeDefinition } from "../nodetype/NodeDefinition";
|
|
11
|
+
import type { Version } from "../version/Version";
|
|
12
|
+
import type { VersionHistory } from "../version/VersionHistory";
|
|
13
|
+
import type { Lock } from "../lock/Lock";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* The <code>Node</code> interface represents a node in a workspace.
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
|
-
type Node = Item & {
|
|
19
|
+
export type Node = Item & {
|
|
20
20
|
/**
|
|
21
21
|
* Sets the specified single-value property to the specified value. If the
|
|
22
22
|
* property does not yet exist, it is created.
|
|
@@ -330,5 +330,3 @@ type Node = Item & {
|
|
|
330
330
|
*/
|
|
331
331
|
JCR_FROZEN_NODE: string;
|
|
332
332
|
};
|
|
333
|
-
|
|
334
|
-
export = Node;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type Node from "../Node";
|
|
2
|
-
import type RangeIterator from "../RangeIterator";
|
|
1
|
+
import type { Node } from "../Node";
|
|
2
|
+
import type { RangeIterator } from "../RangeIterator";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Allows easy iteration through a list of <code>Node</code>s with
|
|
@@ -7,7 +7,7 @@ import type RangeIterator from "../RangeIterator";
|
|
|
7
7
|
* <code>RangeIterator</code>.
|
|
8
8
|
|
|
9
9
|
*/
|
|
10
|
-
type NodeIterator = RangeIterator & {
|
|
10
|
+
export type NodeIterator = RangeIterator & {
|
|
11
11
|
/**
|
|
12
12
|
* Returns the next <code>Node</code> in the iteration.
|
|
13
13
|
* @return the next <code>Node</code> in the iteration.
|
|
@@ -15,5 +15,3 @@ type NodeIterator = RangeIterator & {
|
|
|
15
15
|
*/
|
|
16
16
|
nextNode(): Node;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
export = NodeIterator;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type Value from "../Value";
|
|
1
|
+
import type { Value } from "../Value";
|
|
2
2
|
|
|
3
|
-
import type Binary from "../Binary";
|
|
3
|
+
import type { Binary } from "../Binary";
|
|
4
4
|
|
|
5
|
-
import type Node from "../Node";
|
|
6
|
-
import type PropertyDefinition from "../nodetype/PropertyDefinition";
|
|
5
|
+
import type { Node } from "../Node";
|
|
6
|
+
import type { PropertyDefinition } from "../nodetype/PropertyDefinition";
|
|
7
7
|
|
|
8
|
-
import type Item from "../Item";
|
|
8
|
+
import type { Item } from "../Item";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A <code>Property</code> object represents the smallest granularity of content
|
|
@@ -14,7 +14,7 @@ import type Item from "../Item";
|
|
|
14
14
|
* all of the same type. See <code>{@link Value}</code>.
|
|
15
15
|
|
|
16
16
|
*/
|
|
17
|
-
type Property = Item & {
|
|
17
|
+
export type Property = Item & {
|
|
18
18
|
/**
|
|
19
19
|
* Returns the value of this property as a <code>Value</code> object.
|
|
20
20
|
* <p>
|
|
@@ -671,5 +671,3 @@ type Property = Item & {
|
|
|
671
671
|
*/
|
|
672
672
|
JCR_STATEMENT: string;
|
|
673
673
|
};
|
|
674
|
-
|
|
675
|
-
export = Property;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type Property from "../Property";
|
|
2
|
-
import type RangeIterator from "../RangeIterator";
|
|
1
|
+
import type { Property } from "../Property";
|
|
2
|
+
import type { RangeIterator } from "../RangeIterator";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Allows easy iteration through a list of <code>Property</code>s with
|
|
6
6
|
* <code>nextProperty</code> as well as a <code>skip</code> method.
|
|
7
7
|
|
|
8
8
|
*/
|
|
9
|
-
type PropertyIterator = RangeIterator & {
|
|
9
|
+
export type PropertyIterator = RangeIterator & {
|
|
10
10
|
/**
|
|
11
11
|
* Returns the next <code>Property</code> in the iteration.
|
|
12
12
|
* @return the next <code>Property</code> in the iteration.
|
|
@@ -14,5 +14,3 @@ type PropertyIterator = RangeIterator & {
|
|
|
14
14
|
*/
|
|
15
15
|
nextProperty(): Property;
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
export = PropertyIterator;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type Value from "../Value";
|
|
2
|
-
import type Credentials from "../Credentials";
|
|
1
|
+
import type { Value } from "../Value";
|
|
2
|
+
import type { Credentials } from "../Credentials";
|
|
3
3
|
import { Session } from "../../../../server/Session";
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -7,7 +7,7 @@ import { Session } from "../../../../server/Session";
|
|
|
7
7
|
* object is usually acquired through the {@link RepositoryFactory}.
|
|
8
8
|
|
|
9
9
|
*/
|
|
10
|
-
type Repository = {
|
|
10
|
+
export type Repository = {
|
|
11
11
|
/**
|
|
12
12
|
* Returns a string array holding all descriptor keys available for this
|
|
13
13
|
* implementation, both the standard descriptors defined by the string
|
|
@@ -507,5 +507,3 @@ type Repository = {
|
|
|
507
507
|
*/
|
|
508
508
|
QUERY_XPATH_DOC_ORDER: string;
|
|
509
509
|
};
|
|
510
|
-
|
|
511
|
-
export = Repository;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Repository from "../Repository";
|
|
1
|
+
import type { Repository } from "../Repository";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* <code>RepositoryFactory</code> is a factory for <code>Repository</code>
|
|
@@ -53,7 +53,7 @@ import type Repository from "../Repository";
|
|
|
53
53
|
* @since Sitevision 3.5
|
|
54
54
|
* @since JCR 2.0
|
|
55
55
|
*/
|
|
56
|
-
type RepositoryFactory = {
|
|
56
|
+
export type RepositoryFactory = {
|
|
57
57
|
/**
|
|
58
58
|
* Attempts to establish a connection to a repository using the given
|
|
59
59
|
* <code>parameters</code>. <p> Parameters are passed in a <code>Map</code>
|
|
@@ -74,5 +74,3 @@ type RepositoryFactory = {
|
|
|
74
74
|
*/
|
|
75
75
|
getRepository(parameters: unknown): Repository;
|
|
76
76
|
};
|
|
77
|
-
|
|
78
|
-
export = RepositoryFactory;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Binary from "../Binary";
|
|
1
|
+
import type { Binary } from "../Binary";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A generic holder for the value of a property. A <code>Value</code> object can
|
|
@@ -52,7 +52,7 @@ import type Binary from "../Binary";
|
|
|
52
52
|
* state change.
|
|
53
53
|
|
|
54
54
|
*/
|
|
55
|
-
type Value = {
|
|
55
|
+
export type Value = {
|
|
56
56
|
/**
|
|
57
57
|
* Returns a <code>String</code> representation of this value.
|
|
58
58
|
* @return A <code>String</code> representation of the value of this property.
|
|
@@ -127,5 +127,3 @@ type Value = {
|
|
|
127
127
|
*/
|
|
128
128
|
getType(): number;
|
|
129
129
|
};
|
|
130
|
-
|
|
131
|
-
export = Value;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type Value from "../Value";
|
|
1
|
+
import type { Value } from "../Value";
|
|
2
2
|
|
|
3
|
-
import type Binary from "../Binary";
|
|
4
|
-
import type Node from "../Node";
|
|
3
|
+
import type { Binary } from "../Binary";
|
|
4
|
+
import type { Node } from "../Node";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The <code>ValueFactory</code> object provides methods for the creation Value
|
|
8
8
|
* objects that can then be used to set properties.
|
|
9
9
|
* @since Sitevision 3.0
|
|
10
10
|
*/
|
|
11
|
-
type ValueFactory = {
|
|
11
|
+
export type ValueFactory = {
|
|
12
12
|
/**
|
|
13
13
|
* Returns a <code>Value</code> object of {@link PropertyType#STRING} with
|
|
14
14
|
* the specified <code>value</code>.
|
|
@@ -70,5 +70,3 @@ type ValueFactory = {
|
|
|
70
70
|
*/
|
|
71
71
|
createValue(value: Node): Value;
|
|
72
72
|
};
|
|
73
|
-
|
|
74
|
-
export = ValueFactory;
|