@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.
Files changed (297) hide show
  1. package/client/requester/index.d.ts +10 -8
  2. package/client/toasts/index.d.ts +7 -5
  3. package/common/app/index.d.ts +45 -46
  4. package/common/events/index.d.ts +30 -31
  5. package/common/i18n/index.d.ts +7 -5
  6. package/common/router/index.d.ts +72 -77
  7. package/common/security/index.d.ts +27 -21
  8. package/package.json +1 -1
  9. package/server/AliasUtil/index.d.ts +2 -2
  10. package/server/ArchiveUtil/index.d.ts +2 -2
  11. package/server/ArraysInstance/index.d.ts +1 -1
  12. package/server/ArticleUtil/index.d.ts +3 -3
  13. package/server/AuthenticationUtil/index.d.ts +1 -1
  14. package/server/BookmarkUtil/index.d.ts +2 -2
  15. package/server/BuddyIconRenderer/index.d.ts +4 -4
  16. package/server/ClientUtil/index.d.ts +1 -1
  17. package/server/CollaborationFactory/index.d.ts +6 -6
  18. package/server/CollaborationGroupFolderUtil/index.d.ts +2 -2
  19. package/server/CollaborationGroupTemplateUtil/index.d.ts +2 -2
  20. package/server/CollaborationGroupUtil/index.d.ts +3 -3
  21. package/server/CollectionsInstance/index.d.ts +1 -1
  22. package/server/ColorUtil/index.d.ts +2 -2
  23. package/server/CompoundAndFilterBuilder/index.d.ts +3 -3
  24. package/server/CompoundComparatorBuilder/index.d.ts +2 -2
  25. package/server/CompoundOrFilterBuilder/index.d.ts +3 -3
  26. package/server/ContentNodeUtil/index.d.ts +2 -2
  27. package/server/CurrencyFactory/index.d.ts +2 -2
  28. package/server/DateUtil/index.d.ts +1 -1
  29. package/server/DecorationUtil/index.d.ts +2 -2
  30. package/server/DeviceUtil/index.d.ts +2 -2
  31. package/server/DirectoryUtil/index.d.ts +3 -3
  32. package/server/DocTypeUtil/index.d.ts +3 -3
  33. package/server/EndecUtil/index.d.ts +1 -1
  34. package/server/ExtendedDismaxParserBuilder/index.d.ts +3 -3
  35. package/server/FileIconRenderer/index.d.ts +1 -1
  36. package/server/FileUtil/index.d.ts +2 -2
  37. package/server/FilterBuilder/index.d.ts +3 -3
  38. package/server/FolderUtil/index.d.ts +2 -2
  39. package/server/FontUtil/index.d.ts +2 -2
  40. package/server/FormatterBuilderFactory/index.d.ts +3 -3
  41. package/server/HighlightBuilder/index.d.ts +3 -3
  42. package/server/IconUtil/index.d.ts +2 -2
  43. package/server/ImageLinkRenderer/index.d.ts +3 -3
  44. package/server/ImageRenderer/index.d.ts +5 -5
  45. package/server/ImageUtil/index.d.ts +2 -2
  46. package/server/IndexUtil/index.d.ts +3 -3
  47. package/server/IndexingUtil/index.d.ts +3 -3
  48. package/server/InstanceCreatorUtil/index.d.ts +6 -6
  49. package/server/InstanceTypeUtil/index.d.ts +1 -1
  50. package/server/JwtUtil/index.d.ts +2 -2
  51. package/server/LandingPageUtil/index.d.ts +2 -2
  52. package/server/LinkPageUtil/index.d.ts +4 -4
  53. package/server/LinkRenderer/index.d.ts +2 -2
  54. package/server/LinkTargetBuilder/index.d.ts +4 -4
  55. package/server/LinkValueBuilder/index.d.ts +4 -4
  56. package/server/ListWrapper/index.d.ts +2 -2
  57. package/server/LocaleUtil/index.d.ts +1 -1
  58. package/server/LogUtil/index.d.ts +1 -1
  59. package/server/MailBuilder/index.d.ts +3 -3
  60. package/server/MailUtil/index.d.ts +2 -2
  61. package/server/MathInstance/index.d.ts +2 -2
  62. package/server/MessageDigesterFactory/index.d.ts +2 -2
  63. package/server/MetadataDefinitionUtil/index.d.ts +2 -2
  64. package/server/MetadataUtil/index.d.ts +5 -5
  65. package/server/MimeTypeUtil/index.d.ts +2 -2
  66. package/server/MonitorBuilder/index.d.ts +3 -3
  67. package/server/NodeComparatorUtil/index.d.ts +3 -3
  68. package/server/NodeFactoryUtil/index.d.ts +3 -3
  69. package/server/NodeFilterUtil/index.d.ts +5 -5
  70. package/server/NodeIteratorUtil/index.d.ts +5 -5
  71. package/server/NodeResolverUtil/index.d.ts +2 -2
  72. package/server/NodeTreeUtil/index.d.ts +3 -3
  73. package/server/NodeTypeUtil/index.d.ts +3 -3
  74. package/server/OfflineVersionPropertyUtil/index.d.ts +2 -2
  75. package/server/OnlineVersionPropertyUtil/index.d.ts +2 -2
  76. package/server/OutputUtil/index.d.ts +4 -4
  77. package/server/PageUtil/index.d.ts +3 -3
  78. package/server/PermissionUtil/index.d.ts +3 -3
  79. package/server/PortletContextUtil/index.d.ts +3 -3
  80. package/server/PortletUtil/index.d.ts +3 -3
  81. package/server/PrincipalUtil/index.d.ts +2 -2
  82. package/server/Properties/index.d.ts +1 -1
  83. package/server/PropertyUtil/index.d.ts +3 -3
  84. package/server/PublishingUtil/index.d.ts +2 -2
  85. package/server/QueryStringUtil/index.d.ts +1 -1
  86. package/server/RedirectUtil/index.d.ts +2 -2
  87. package/server/RelatedValueBuilder/index.d.ts +5 -5
  88. package/server/Requester/index.d.ts +2 -2
  89. package/server/ResourceLocatorUtil/index.d.ts +2 -2
  90. package/server/RestApi/index.d.ts +2 -2
  91. package/server/RestAppInvokerFactory/index.d.ts +3 -3
  92. package/server/RoleAssignmentBuilder/index.d.ts +4 -4
  93. package/server/RoleMatcherBuilder/index.d.ts +4 -4
  94. package/server/RoleUtil/index.d.ts +5 -5
  95. package/server/ScriptUtil/index.d.ts +1 -1
  96. package/server/SearchFactory/index.d.ts +14 -14
  97. package/server/SearchUtil/index.d.ts +2 -2
  98. package/server/SearcherBuilder/index.d.ts +10 -10
  99. package/server/Session/index.d.ts +10 -10
  100. package/server/SimpleUserUtil/index.d.ts +2 -2
  101. package/server/SiteCookieUtil/index.d.ts +2 -2
  102. package/server/SortBuilder/index.d.ts +3 -3
  103. package/server/SpellCheckBuilder/index.d.ts +3 -3
  104. package/server/StandardParserBuilder/index.d.ts +3 -3
  105. package/server/StructureUtil/index.d.ts +2 -2
  106. package/server/SubscriberUtil/index.d.ts +2 -2
  107. package/server/SubscriptionUtil/index.d.ts +2 -2
  108. package/server/SystemUserUtil/index.d.ts +2 -2
  109. package/server/TagUtil/index.d.ts +2 -2
  110. package/server/TemplateUtil/index.d.ts +2 -2
  111. package/server/TemporaryFileNodeBuilder/index.d.ts +3 -3
  112. package/server/TemporaryNodeBuilder/index.d.ts +3 -3
  113. package/server/TextModuleRendererBuilder/index.d.ts +4 -4
  114. package/server/TimestampUtil/index.d.ts +1 -1
  115. package/server/TranslationUtil/index.d.ts +2 -2
  116. package/server/TrashcanUtil/index.d.ts +2 -2
  117. package/server/UserDataUtil/index.d.ts +2 -2
  118. package/server/UserFactory/index.d.ts +8 -8
  119. package/server/UserFieldRenderer/index.d.ts +2 -2
  120. package/server/UserIdentityUtil/index.d.ts +2 -2
  121. package/server/UserUtil/index.d.ts +2 -2
  122. package/server/Utils/index.d.ts +88 -88
  123. package/server/VelocityRenderer/index.d.ts +2 -2
  124. package/server/VersionUtil/index.d.ts +2 -2
  125. package/server/WebContentUtil/index.d.ts +2 -2
  126. package/server/WebResourceFactory/index.d.ts +7 -7
  127. package/server/XSLTUtil/index.d.ts +1 -1
  128. package/server/XmlParserUtil/index.d.ts +3 -3
  129. package/server/appData/index.d.ts +8 -6
  130. package/server/appInfo/index.d.ts +6 -2
  131. package/server/appResource/index.d.ts +23 -21
  132. package/server/cache/index.d.ts +8 -6
  133. package/server/globalAppData/index.d.ts +8 -6
  134. package/server/headless/index.d.ts +28 -26
  135. package/server/hooks/index.d.ts +9 -9
  136. package/server/oauth2/index.d.ts +12 -10
  137. package/server/privileged/index.d.ts +24 -22
  138. package/server/storage/index.d.ts +22 -20
  139. package/types/javax/jcr/Binary/index.d.ts +1 -3
  140. package/types/javax/jcr/Credentials/index.d.ts +1 -3
  141. package/types/javax/jcr/ImportUUIDBehavior/index.d.ts +1 -3
  142. package/types/javax/jcr/Item/index.d.ts +3 -5
  143. package/types/javax/jcr/ItemVisitor/index.d.ts +3 -5
  144. package/types/javax/jcr/NamespaceRegistry/index.d.ts +1 -3
  145. package/types/javax/jcr/Node/index.d.ts +12 -14
  146. package/types/javax/jcr/NodeIterator/index.d.ts +3 -5
  147. package/types/javax/jcr/Property/index.d.ts +6 -8
  148. package/types/javax/jcr/PropertyIterator/index.d.ts +3 -5
  149. package/types/javax/jcr/RangeIterator/index.d.ts +1 -3
  150. package/types/javax/jcr/Repository/index.d.ts +3 -5
  151. package/types/javax/jcr/RepositoryFactory/index.d.ts +2 -4
  152. package/types/javax/jcr/Value/index.d.ts +2 -4
  153. package/types/javax/jcr/ValueFactory/index.d.ts +4 -6
  154. package/types/javax/jcr/Workspace/index.d.ts +8 -10
  155. package/types/javax/jcr/lock/Lock/index.d.ts +2 -4
  156. package/types/javax/jcr/lock/LockManager/index.d.ts +2 -4
  157. package/types/javax/jcr/nodetype/ItemDefinition/index.d.ts +2 -4
  158. package/types/javax/jcr/nodetype/NodeDefinition/index.d.ts +3 -5
  159. package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +2 -4
  160. package/types/javax/jcr/nodetype/NodeType/index.d.ts +6 -8
  161. package/types/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +3 -5
  162. package/types/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +3 -5
  163. package/types/javax/jcr/nodetype/NodeTypeManager/index.d.ts +7 -9
  164. package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +2 -4
  165. package/types/javax/jcr/nodetype/PropertyDefinition/index.d.ts +3 -5
  166. package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +3 -5
  167. package/types/javax/jcr/observation/Event/index.d.ts +1 -3
  168. package/types/javax/jcr/observation/EventIterator/index.d.ts +3 -5
  169. package/types/javax/jcr/observation/EventJournal/index.d.ts +2 -4
  170. package/types/javax/jcr/observation/EventListener/index.d.ts +2 -4
  171. package/types/javax/jcr/observation/EventListenerIterator/index.d.ts +3 -5
  172. package/types/javax/jcr/observation/ObservationManager/index.d.ts +4 -6
  173. package/types/javax/jcr/query/Query/index.d.ts +4 -6
  174. package/types/javax/jcr/query/QueryManager/index.d.ts +4 -6
  175. package/types/javax/jcr/query/QueryResult/index.d.ts +3 -5
  176. package/types/javax/jcr/query/Row/index.d.ts +3 -5
  177. package/types/javax/jcr/query/RowIterator/index.d.ts +3 -5
  178. package/types/javax/jcr/query/qom/And/index.d.ts +2 -4
  179. package/types/javax/jcr/query/qom/BindVariableValue/index.d.ts +2 -4
  180. package/types/javax/jcr/query/qom/ChildNode/index.d.ts +2 -4
  181. package/types/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +2 -4
  182. package/types/javax/jcr/query/qom/Column/index.d.ts +1 -3
  183. package/types/javax/jcr/query/qom/Comparison/index.d.ts +4 -6
  184. package/types/javax/jcr/query/qom/Constraint/index.d.ts +1 -3
  185. package/types/javax/jcr/query/qom/DescendantNode/index.d.ts +2 -4
  186. package/types/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +2 -4
  187. package/types/javax/jcr/query/qom/DynamicOperand/index.d.ts +2 -4
  188. package/types/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +2 -4
  189. package/types/javax/jcr/query/qom/FullTextSearch/index.d.ts +3 -5
  190. package/types/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +2 -4
  191. package/types/javax/jcr/query/qom/Join/index.d.ts +3 -5
  192. package/types/javax/jcr/query/qom/JoinCondition/index.d.ts +1 -3
  193. package/types/javax/jcr/query/qom/Length/index.d.ts +3 -5
  194. package/types/javax/jcr/query/qom/Literal/index.d.ts +3 -5
  195. package/types/javax/jcr/query/qom/LowerCase/index.d.ts +2 -4
  196. package/types/javax/jcr/query/qom/NodeLocalName/index.d.ts +2 -4
  197. package/types/javax/jcr/query/qom/NodeName/index.d.ts +2 -4
  198. package/types/javax/jcr/query/qom/Not/index.d.ts +2 -4
  199. package/types/javax/jcr/query/qom/Operand/index.d.ts +1 -3
  200. package/types/javax/jcr/query/qom/Or/index.d.ts +2 -4
  201. package/types/javax/jcr/query/qom/Ordering/index.d.ts +2 -4
  202. package/types/javax/jcr/query/qom/PropertyExistence/index.d.ts +2 -4
  203. package/types/javax/jcr/query/qom/PropertyValue/index.d.ts +2 -4
  204. package/types/javax/jcr/query/qom/QueryObjectModel/index.d.ts +6 -8
  205. package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +1 -3
  206. package/types/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +35 -37
  207. package/types/javax/jcr/query/qom/SameNode/index.d.ts +2 -4
  208. package/types/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +2 -4
  209. package/types/javax/jcr/query/qom/Selector/index.d.ts +2 -4
  210. package/types/javax/jcr/query/qom/Source/index.d.ts +1 -3
  211. package/types/javax/jcr/query/qom/StaticOperand/index.d.ts +2 -4
  212. package/types/javax/jcr/query/qom/UpperCase/index.d.ts +2 -4
  213. package/types/javax/jcr/retention/Hold/index.d.ts +1 -3
  214. package/types/javax/jcr/retention/RetentionManager/index.d.ts +3 -5
  215. package/types/javax/jcr/retention/RetentionPolicy/index.d.ts +1 -3
  216. package/types/javax/jcr/security/AccessControlEntry/index.d.ts +2 -4
  217. package/types/javax/jcr/security/AccessControlList/index.d.ts +4 -6
  218. package/types/javax/jcr/security/AccessControlManager/index.d.ts +4 -6
  219. package/types/javax/jcr/security/AccessControlPolicy/index.d.ts +1 -3
  220. package/types/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +3 -5
  221. package/types/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +2 -4
  222. package/types/javax/jcr/security/Privilege/index.d.ts +1 -3
  223. package/types/javax/jcr/version/Version/index.d.ts +3 -5
  224. package/types/javax/jcr/version/VersionHistory/index.d.ts +5 -7
  225. package/types/javax/jcr/version/VersionIterator/index.d.ts +3 -5
  226. package/types/javax/jcr/version/VersionManager/index.d.ts +5 -7
  227. package/types/senselogic/sitevision/api/base/Builder/index.d.ts +1 -3
  228. package/types/senselogic/sitevision/api/base/Filter/index.d.ts +1 -3
  229. package/types/senselogic/sitevision/api/base/FilterSplit/index.d.ts +2 -4
  230. package/types/senselogic/sitevision/api/base/Loadable/index.d.ts +1 -3
  231. package/types/senselogic/sitevision/api/base/Resolver/index.d.ts +1 -3
  232. package/types/senselogic/sitevision/api/base/Wrapper/index.d.ts +1 -3
  233. package/types/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +3 -5
  234. package/types/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +1 -3
  235. package/types/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +3 -5
  236. package/types/senselogic/sitevision/api/i18n/Currency/index.d.ts +1 -3
  237. package/types/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +3 -5
  238. package/types/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +1 -3
  239. package/types/senselogic/sitevision/api/mail/Mail/index.d.ts +1 -3
  240. package/types/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +1 -3
  241. package/types/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +1 -3
  242. package/types/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +1 -3
  243. package/types/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +2 -4
  244. package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.d.ts +1 -3
  245. package/types/senselogic/sitevision/api/render/ImageScaler/index.d.ts +2 -4
  246. package/types/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +2 -4
  247. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +1 -3
  248. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.d.ts +1 -3
  249. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.d.ts +1 -3
  250. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.d.ts +1 -3
  251. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.d.ts +1 -3
  252. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.d.ts +1 -3
  253. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.d.ts +1 -3
  254. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.d.ts +1 -3
  255. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.d.ts +1 -3
  256. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.d.ts +1 -3
  257. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.d.ts +1 -3
  258. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.d.ts +1 -3
  259. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.d.ts +1 -3
  260. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.d.ts +1 -3
  261. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.d.ts +1 -3
  262. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.d.ts +1 -3
  263. package/types/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +1 -3
  264. package/types/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +1 -3
  265. package/types/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +1 -3
  266. package/types/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +1 -3
  267. package/types/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +1 -3
  268. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +1 -3
  269. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +2 -4
  270. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +2 -4
  271. package/types/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +1 -3
  272. package/types/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +2 -4
  273. package/types/senselogic/sitevision/api/search/SearchHit/index.d.ts +3 -5
  274. package/types/senselogic/sitevision/api/search/SearchResult/index.d.ts +3 -5
  275. package/types/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +1 -3
  276. package/types/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +1 -3
  277. package/types/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +2 -4
  278. package/types/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +1 -3
  279. package/types/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +1 -3
  280. package/types/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +1 -3
  281. package/types/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +1 -3
  282. package/types/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +1 -3
  283. package/types/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +1 -3
  284. package/types/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +1 -3
  285. package/types/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +1 -3
  286. package/types/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +1 -3
  287. package/types/senselogic/sitevision/api/security/MessageDigester/index.d.ts +1 -3
  288. package/types/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +2 -4
  289. package/types/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +2 -4
  290. package/types/senselogic/sitevision/api/security/SecretStore/index.d.ts +1 -3
  291. package/types/senselogic/sitevision/api/security/UserUtil/index.d.ts +2 -4
  292. package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +2 -4
  293. package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +1 -3
  294. package/types/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +3 -5
  295. package/types/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +1 -3
  296. package/types/senselogic/sitevision/api/xml/XmlElement/index.d.ts +1 -3
  297. 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 function getHeadlessContent(
82
- callback: (
83
- params: HeadlessContentParams
84
- ) => (
85
- | HeadlessImageContent
86
- | HeadlessImagesContent
87
- | HeadlessVideoContent
88
- | HeadlessTextContent
89
- | HeadlessFilesContent
90
- )[]
91
- ): void;
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;
@@ -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 function beforeRender(
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
- export function getPageTitle(callback: (req: Request) => string);
15
- export function addHeadElement(callback: (req: Request) => string);
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;
@@ -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 function createLoginLink(
9
- oauth2Config: Node,
10
- redirectUrl: string,
11
- scopes: string[]
12
- ): string;
8
+ export interface OAuth2 {
9
+ createLoginLink(
10
+ oauth2Config: Node,
11
+ redirectUrl: string,
12
+ scopes: string[]
13
+ ): string;
13
14
 
14
- export function getAccessTokenStatus(oauth2Config: Node): AccessTokenStatus;
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
- * Returns true if there are a service user configured for usage for the app. Returns false if not
5
- *
6
- * @since 7.0
7
- */
8
- export function isConfigured(): boolean;
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
- * Gets the user the privileged action will run as. Will be null if isConfigured is false
12
- *
13
- * @since 7.0
14
- */
15
- export function getPrivilegedActionUser(): Node | null;
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
- * Executes a callback function as the privileged action user. Callback will be executed as current user if isConfigured is false
19
- *
20
- * @since 7.0
21
- * @param callback The callback to trigger as the privileged action user
22
- */
23
- export function doPrivilegedAction(callback: () => void): void;
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
- declare enum DataStoreErrorType {
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
- * Get an instance of a CollectionDataStore
100
- * @param identifier The name of a data store
101
- */
102
- export function getCollectionDataStore(identifier: string): CollectionDataStore;
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
- declare namespace storage {
111
- export { getCollectionDataStore, getKeyValueDataStore };
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,8 +6,6 @@
6
6
  * GuestCredentials} for examples of such a class.
7
7
 
8
8
  */
9
- type Credentials = {
9
+ export type Credentials = {
10
10
  undefined;
11
11
  };
12
-
13
- export = Credentials;
@@ -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;
@@ -5,6 +5,4 @@
5
5
  * packages.
6
6
 
7
7
  */
8
- type RangeIterator = {};
9
-
10
- export = RangeIterator;
8
+ export type RangeIterator = {};
@@ -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;