@sitevision/api 2.0.0-alpha.1 → 2.0.0-alpha.2

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 (332) hide show
  1. package/index.d.ts +8 -0
  2. package/package.json +1 -1
  3. package/server/AliasUtil/index.d.ts +13 -11
  4. package/server/ArchiveUtil/index.d.ts +45 -43
  5. package/server/ArraysInstance/index.d.ts +1667 -1808
  6. package/server/ArticleUtil/index.d.ts +294 -226
  7. package/server/AuthenticationUtil/index.d.ts +73 -85
  8. package/server/BookmarkUtil/index.d.ts +76 -81
  9. package/server/BuddyIconRenderer/index.d.ts +124 -132
  10. package/server/BuddyIconRenderer.BuddyIconSize/index.d.ts +41 -0
  11. package/server/BuddyIconRenderer.BuddyIconSize/index.js +25 -0
  12. package/server/ClientUtil/index.d.ts +11 -9
  13. package/server/CollaborationFactory/index.d.ts +37 -40
  14. package/server/CollaborationGroupFolderUtil/index.d.ts +30 -28
  15. package/server/CollaborationGroupState/index.d.ts +27 -0
  16. package/server/CollaborationGroupState/index.js +11 -0
  17. package/server/CollaborationGroupTemplateUtil/index.d.ts +48 -50
  18. package/server/CollaborationGroupType/index.d.ts +28 -0
  19. package/server/CollaborationGroupType/index.js +12 -0
  20. package/server/CollaborationGroupUtil/index.d.ts +86 -82
  21. package/server/CollectionsInstance/index.d.ts +642 -705
  22. package/server/ColorUtil/index.d.ts +36 -37
  23. package/server/CompoundAndFilterBuilder/index.d.ts +31 -29
  24. package/server/CompoundComparatorBuilder/index.d.ts +35 -33
  25. package/server/CompoundOrFilterBuilder/index.d.ts +31 -29
  26. package/server/ContentNodeUtil/index.d.ts +36 -34
  27. package/server/CurrencyFactory/index.d.ts +72 -70
  28. package/server/DateUtil/index.d.ts +132 -142
  29. package/server/DecorationUtil/index.d.ts +13 -11
  30. package/server/DeviceUtil/index.d.ts +21 -19
  31. package/server/DimensionMode/index.d.ts +17 -0
  32. package/server/DimensionMode/index.js +12 -0
  33. package/server/DirectoryUtil/index.d.ts +90 -88
  34. package/server/DocType/index.d.ts +30 -0
  35. package/server/DocType/index.js +14 -0
  36. package/server/DocTypeUtil/index.d.ts +129 -135
  37. package/server/EndecUtil/index.d.ts +330 -347
  38. package/server/ExtendedDismaxParserBuilder/index.d.ts +156 -170
  39. package/server/FileIconRenderer/index.d.ts +153 -172
  40. package/server/FileUtil/index.d.ts +274 -300
  41. package/server/FilterBuilder/index.d.ts +42 -40
  42. package/server/FolderUtil/index.d.ts +93 -94
  43. package/server/FontUtil/index.d.ts +36 -37
  44. package/server/FormatterBuilderFactory/index.d.ts +76 -84
  45. package/server/HighlightBuilder/index.d.ts +79 -86
  46. package/server/IconUtil/index.d.ts +27 -25
  47. package/server/ImageLinkRenderer/index.d.ts +34 -32
  48. package/server/ImageRenderer/index.d.ts +343 -379
  49. package/server/ImageUtil/index.d.ts +247 -265
  50. package/server/IndexUtil/index.d.ts +40 -37
  51. package/server/IndexUtil.IndexType/index.d.ts +29 -0
  52. package/server/IndexUtil.IndexType/index.js +13 -0
  53. package/server/IndexingUtil/index.d.ts +69 -47
  54. package/server/InstanceCreatorUtil/index.d.ts +421 -457
  55. package/server/InstanceTypeUtil/index.d.ts +168 -189
  56. package/server/JwtUtil/index.d.ts +131 -129
  57. package/server/LandingPageUtil/index.d.ts +84 -87
  58. package/server/LandingPageUtil/index.js +1 -0
  59. package/server/LinkPageUtil/index.d.ts +297 -251
  60. package/server/LinkRenderer/index.d.ts +651 -715
  61. package/server/LinkTargetBuilder/index.d.ts +69 -77
  62. package/server/LinkValueBuilder/index.d.ts +70 -77
  63. package/server/ListWrapper/index.d.ts +82 -91
  64. package/server/LocaleUtil/index.d.ts +382 -394
  65. package/server/LogUtil/index.d.ts +119 -128
  66. package/server/MailBuilder/index.d.ts +109 -124
  67. package/server/MailUtil/index.d.ts +58 -63
  68. package/server/MathInstance/index.d.ts +625 -657
  69. package/server/MessageDigesterFactory/index.d.ts +30 -28
  70. package/server/MetadataDefinitionUtil/index.d.ts +79 -83
  71. package/server/MetadataUtil/index.d.ts +322 -346
  72. package/server/MimeTypeUtil/index.d.ts +209 -215
  73. package/server/MonitorBuilder/index.d.ts +20 -20
  74. package/server/NodeComparatorUtil/index.d.ts +215 -225
  75. package/server/NodeFactoryUtil/index.d.ts +18 -16
  76. package/server/NodeFilterUtil/index.d.ts +652 -739
  77. package/server/NodeIteratorUtil/index.d.ts +214 -229
  78. package/server/NodeResolverUtil/index.d.ts +400 -406
  79. package/server/NodeTreeUtil/index.d.ts +214 -229
  80. package/server/NodeTypeUtil/index.d.ts +1432 -548
  81. package/server/OfflineVersionPropertyUtil/index.d.ts +8 -6
  82. package/server/OnlineVersionPropertyUtil/index.d.ts +8 -6
  83. package/server/OutputUtil/index.d.ts +385 -380
  84. package/server/PageUtil/index.d.ts +266 -188
  85. package/server/PermissionUtil/index.d.ts +393 -430
  86. package/server/PermissionUtil.Permission/index.d.ts +54 -0
  87. package/server/PermissionUtil.Permission/index.js +38 -0
  88. package/server/PortletContextUtil/index.d.ts +112 -107
  89. package/server/PortletUtil/index.d.ts +32 -22
  90. package/server/PrincipalUtil/index.d.ts +35 -33
  91. package/server/Properties/index.d.ts +69 -76
  92. package/server/PropertyUtil/index.d.ts +1422 -1464
  93. package/server/PublishingUtil/index.d.ts +248 -249
  94. package/server/QueryStringUtil/index.d.ts +404 -415
  95. package/server/RedirectUtil/index.d.ts +64 -68
  96. package/server/RelatedValueBuilder/index.d.ts +45 -43
  97. package/server/Requester/index.d.ts +125 -125
  98. package/server/ResourceLocatorUtil/index.d.ts +436 -476
  99. package/server/RestApi/index.d.ts +158 -138
  100. package/server/RestAppInvokerFactory/index.d.ts +28 -26
  101. package/server/RoleAssignmentBuilder/index.d.ts +39 -37
  102. package/server/RoleMatcherBuilder/index.d.ts +39 -37
  103. package/server/RoleUtil/index.d.ts +35 -37
  104. package/server/ScriptUtil/index.d.ts +458 -495
  105. package/server/SearchFactory/index.d.ts +90 -105
  106. package/server/SearchUtil/index.d.ts +75 -73
  107. package/server/SearcherBuilder/index.d.ts +117 -124
  108. package/server/Session/index.d.ts +261 -1103
  109. package/server/Session/index.js +1 -20
  110. package/server/SimpleUserUtil/index.d.ts +28 -29
  111. package/server/SiteCookieUtil/index.d.ts +152 -175
  112. package/server/SortBuilder/index.d.ts +27 -25
  113. package/server/SourceSetMode/index.d.ts +12 -0
  114. package/server/SourceSetMode/index.js +12 -0
  115. package/server/SpellCheckBuilder/index.d.ts +30 -30
  116. package/server/StandardParserBuilder/index.d.ts +36 -34
  117. package/server/StructureUtil/index.d.ts +85 -83
  118. package/server/SubscriberUtil/index.d.ts +60 -67
  119. package/server/SubscriptionUtil/index.d.ts +123 -130
  120. package/server/SystemUserUtil/index.d.ts +148 -146
  121. package/server/TagUtil/index.d.ts +115 -120
  122. package/server/TemplateUtil/index.d.ts +115 -120
  123. package/server/TemporaryFileNodeBuilder/index.d.ts +32 -30
  124. package/server/TemporaryNodeBuilder/index.d.ts +139 -177
  125. package/server/TextModuleRendererBuilder/index.d.ts +22 -20
  126. package/server/TimestampUtil/index.d.ts +103 -117
  127. package/server/TranslationUtil/index.d.ts +98 -104
  128. package/server/TrashcanUtil/index.d.ts +114 -117
  129. package/server/UserDataUtil/index.d.ts +110 -111
  130. package/server/UserFactory/index.d.ts +47 -54
  131. package/server/UserFieldRenderer/index.d.ts +120 -128
  132. package/server/UserIdentityUtil/index.d.ts +38 -36
  133. package/server/UserUtil/index.d.ts +32 -30
  134. package/server/Utils/index.d.ts +634 -723
  135. package/server/VelocityRenderer/index.d.ts +96 -94
  136. package/server/VersionUtil/index.d.ts +25 -9
  137. package/server/WebContentUtil/index.d.ts +277 -284
  138. package/server/WebResourceFactory/index.d.ts +41 -46
  139. package/server/XSLTUtil/index.d.ts +34 -32
  140. package/server/XmlParserUtil/index.d.ts +50 -48
  141. package/types/javax/jcr/Binary/index.d.ts +3 -21
  142. package/types/javax/jcr/Binary/index.js +0 -1
  143. package/types/javax/jcr/Credentials/index.d.ts +3 -1
  144. package/types/javax/jcr/ImportUUIDBehavior/index.d.ts +27 -1
  145. package/types/javax/jcr/Item/index.d.ts +6 -119
  146. package/types/javax/jcr/Item/index.js +0 -6
  147. package/types/javax/jcr/ItemVisitor/index.d.ts +5 -3
  148. package/types/javax/jcr/NamespaceRegistry/index.d.ts +69 -43
  149. package/types/javax/jcr/NamespaceRegistry/index.js +0 -2
  150. package/types/javax/jcr/Node/index.d.ts +37 -1506
  151. package/types/javax/jcr/Node/index.js +1 -34
  152. package/types/javax/jcr/NodeIterator/index.d.ts +5 -3
  153. package/types/javax/jcr/Property/index.d.ts +494 -494
  154. package/types/javax/jcr/Property/index.js +0 -5
  155. package/types/javax/jcr/PropertyIterator/index.d.ts +5 -3
  156. package/types/javax/jcr/RangeIterator/index.d.ts +2 -42
  157. package/types/javax/jcr/RangeIterator/index.js +1 -5
  158. package/types/javax/jcr/Repository/index.d.ts +465 -263
  159. package/types/javax/jcr/Repository/index.js +0 -4
  160. package/types/javax/jcr/RepositoryFactory/index.d.ts +4 -2
  161. package/types/javax/jcr/Value/index.d.ts +4 -31
  162. package/types/javax/jcr/Value/index.js +0 -2
  163. package/types/javax/jcr/ValueFactory/index.d.ts +6 -74
  164. package/types/javax/jcr/ValueFactory/index.js +1 -2
  165. package/types/javax/jcr/Workspace/index.d.ts +103 -577
  166. package/types/javax/jcr/Workspace/index.js +1 -12
  167. package/types/javax/jcr/lock/Lock/index.d.ts +4 -2
  168. package/types/javax/jcr/lock/LockManager/index.d.ts +4 -2
  169. package/types/javax/jcr/nodetype/ItemDefinition/index.d.ts +4 -105
  170. package/types/javax/jcr/nodetype/ItemDefinition/index.js +0 -5
  171. package/types/javax/jcr/nodetype/NodeDefinition/index.d.ts +5 -3
  172. package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +4 -2
  173. package/types/javax/jcr/nodetype/NodeType/index.d.ts +262 -269
  174. package/types/javax/jcr/nodetype/NodeType/index.js +1 -12
  175. package/types/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +5 -107
  176. package/types/javax/jcr/nodetype/NodeTypeDefinition/index.js +1 -7
  177. package/types/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +5 -3
  178. package/types/javax/jcr/nodetype/NodeTypeManager/index.d.ts +9 -130
  179. package/types/javax/jcr/nodetype/NodeTypeManager/index.js +1 -8
  180. package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +4 -2
  181. package/types/javax/jcr/nodetype/PropertyDefinition/index.d.ts +5 -272
  182. package/types/javax/jcr/nodetype/PropertyDefinition/index.js +1 -7
  183. package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +5 -3
  184. package/types/javax/jcr/observation/Event/index.d.ts +85 -42
  185. package/types/javax/jcr/observation/EventIterator/index.d.ts +5 -3
  186. package/types/javax/jcr/observation/EventJournal/index.d.ts +4 -2
  187. package/types/javax/jcr/observation/EventListener/index.d.ts +4 -2
  188. package/types/javax/jcr/observation/EventListenerIterator/index.d.ts +5 -3
  189. package/types/javax/jcr/observation/ObservationManager/index.d.ts +6 -4
  190. package/types/javax/jcr/query/Query/index.d.ts +35 -12
  191. package/types/javax/jcr/query/QueryManager/index.d.ts +6 -4
  192. package/types/javax/jcr/query/QueryResult/index.d.ts +5 -3
  193. package/types/javax/jcr/query/Row/index.d.ts +5 -3
  194. package/types/javax/jcr/query/RowIterator/index.d.ts +5 -3
  195. package/types/javax/jcr/query/qom/And/index.d.ts +4 -2
  196. package/types/javax/jcr/query/qom/BindVariableValue/index.d.ts +4 -2
  197. package/types/javax/jcr/query/qom/ChildNode/index.d.ts +4 -2
  198. package/types/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +4 -2
  199. package/types/javax/jcr/query/qom/Column/index.d.ts +3 -1
  200. package/types/javax/jcr/query/qom/Comparison/index.d.ts +6 -4
  201. package/types/javax/jcr/query/qom/Constraint/index.d.ts +3 -1
  202. package/types/javax/jcr/query/qom/DescendantNode/index.d.ts +4 -2
  203. package/types/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +4 -2
  204. package/types/javax/jcr/query/qom/DynamicOperand/index.d.ts +4 -2
  205. package/types/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +4 -2
  206. package/types/javax/jcr/query/qom/FullTextSearch/index.d.ts +5 -3
  207. package/types/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +4 -2
  208. package/types/javax/jcr/query/qom/Join/index.d.ts +5 -3
  209. package/types/javax/jcr/query/qom/JoinCondition/index.d.ts +3 -1
  210. package/types/javax/jcr/query/qom/Length/index.d.ts +5 -3
  211. package/types/javax/jcr/query/qom/Literal/index.d.ts +5 -3
  212. package/types/javax/jcr/query/qom/LowerCase/index.d.ts +4 -2
  213. package/types/javax/jcr/query/qom/NodeLocalName/index.d.ts +4 -2
  214. package/types/javax/jcr/query/qom/NodeName/index.d.ts +4 -2
  215. package/types/javax/jcr/query/qom/Not/index.d.ts +4 -2
  216. package/types/javax/jcr/query/qom/Operand/index.d.ts +3 -1
  217. package/types/javax/jcr/query/qom/Or/index.d.ts +4 -2
  218. package/types/javax/jcr/query/qom/Ordering/index.d.ts +4 -2
  219. package/types/javax/jcr/query/qom/PropertyExistence/index.d.ts +4 -2
  220. package/types/javax/jcr/query/qom/PropertyValue/index.d.ts +4 -2
  221. package/types/javax/jcr/query/qom/QueryObjectModel/index.d.ts +8 -6
  222. package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +76 -2
  223. package/types/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +37 -35
  224. package/types/javax/jcr/query/qom/SameNode/index.d.ts +4 -2
  225. package/types/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +4 -2
  226. package/types/javax/jcr/query/qom/Selector/index.d.ts +4 -2
  227. package/types/javax/jcr/query/qom/Source/index.d.ts +3 -1
  228. package/types/javax/jcr/query/qom/StaticOperand/index.d.ts +4 -2
  229. package/types/javax/jcr/query/qom/UpperCase/index.d.ts +4 -2
  230. package/types/javax/jcr/retention/Hold/index.d.ts +3 -1
  231. package/types/javax/jcr/retention/RetentionManager/index.d.ts +5 -3
  232. package/types/javax/jcr/retention/RetentionPolicy/index.d.ts +3 -1
  233. package/types/javax/jcr/security/AccessControlEntry/index.d.ts +4 -2
  234. package/types/javax/jcr/security/AccessControlList/index.d.ts +6 -4
  235. package/types/javax/jcr/security/AccessControlManager/index.d.ts +6 -4
  236. package/types/javax/jcr/security/AccessControlPolicy/index.d.ts +3 -1
  237. package/types/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +5 -3
  238. package/types/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +4 -2
  239. package/types/javax/jcr/security/Privilege/index.d.ts +130 -44
  240. package/types/javax/jcr/version/Version/index.d.ts +5 -3
  241. package/types/javax/jcr/version/VersionHistory/index.d.ts +7 -5
  242. package/types/javax/jcr/version/VersionIterator/index.d.ts +5 -3
  243. package/types/javax/jcr/version/VersionManager/index.d.ts +7 -5
  244. package/types/senselogic/sitevision/api/base/Builder/index.d.ts +3 -1
  245. package/types/senselogic/sitevision/api/base/Filter/index.d.ts +3 -1
  246. package/types/senselogic/sitevision/api/base/FilterSplit/index.d.ts +4 -2
  247. package/types/senselogic/sitevision/api/base/Loadable/index.d.ts +3 -1
  248. package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.d.ts +9 -0
  249. package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.js +11 -0
  250. package/types/senselogic/sitevision/api/base/Resolver/index.d.ts +3 -1
  251. package/types/senselogic/sitevision/api/base/Wrapper/index.d.ts +3 -1
  252. package/types/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +13 -7
  253. package/types/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +3 -1
  254. package/types/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +5 -3
  255. package/types/senselogic/sitevision/api/i18n/Currency/index.d.ts +3 -1
  256. package/types/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +5 -3
  257. package/types/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +3 -1
  258. package/types/senselogic/sitevision/api/mail/Mail/index.d.ts +3 -1
  259. package/types/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +3 -1
  260. package/types/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +3 -1
  261. package/types/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +3 -1
  262. package/types/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +4 -2
  263. package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.d.ts +51 -0
  264. package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.js +12 -0
  265. package/types/senselogic/sitevision/api/render/ImageScaler/index.d.ts +4 -2
  266. package/types/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +4 -2
  267. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +3 -1
  268. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.d.ts +85 -0
  269. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.js +21 -0
  270. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.d.ts +31 -0
  271. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.js +12 -0
  272. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.d.ts +31 -0
  273. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.js +12 -0
  274. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.d.ts +67 -0
  275. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.js +18 -0
  276. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.d.ts +25 -0
  277. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.js +11 -0
  278. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.d.ts +19 -0
  279. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.js +10 -0
  280. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.d.ts +1243 -0
  281. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.js +189 -0
  282. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.d.ts +31 -0
  283. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.js +12 -0
  284. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.d.ts +91 -0
  285. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.js +22 -0
  286. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.d.ts +27 -0
  287. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.js +11 -0
  288. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.d.ts +19 -0
  289. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.js +10 -0
  290. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.d.ts +19 -0
  291. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.js +10 -0
  292. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.d.ts +25 -0
  293. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.js +11 -0
  294. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.d.ts +37 -0
  295. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.js +13 -0
  296. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.d.ts +25 -0
  297. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.js +11 -0
  298. package/types/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +3 -1
  299. package/types/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +3 -1
  300. package/types/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +4 -2
  301. package/types/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +3 -1
  302. package/types/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +3 -1
  303. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +3 -1
  304. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +4 -2
  305. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +24 -2
  306. package/types/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +3 -1
  307. package/types/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +4 -2
  308. package/types/senselogic/sitevision/api/search/SearchHit/index.d.ts +19 -3
  309. package/types/senselogic/sitevision/api/search/SearchResult/index.d.ts +31 -7
  310. package/types/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +3 -1
  311. package/types/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +3 -1
  312. package/types/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +4 -2
  313. package/types/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +3 -1
  314. package/types/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +3 -1
  315. package/types/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +3 -1
  316. package/types/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +3 -1
  317. package/types/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +3 -1
  318. package/types/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +3 -1
  319. package/types/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +3 -1
  320. package/types/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +3 -1
  321. package/types/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +3 -1
  322. package/types/senselogic/sitevision/api/security/MessageDigester/index.d.ts +3 -1
  323. package/types/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +4 -2
  324. package/types/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +4 -2
  325. package/types/senselogic/sitevision/api/security/SecretStore/index.d.ts +3 -1
  326. package/types/senselogic/sitevision/api/security/UserUtil/index.d.ts +4 -2
  327. package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +35 -3
  328. package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +3 -1
  329. package/types/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +5 -3
  330. package/types/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +3 -1
  331. package/types/senselogic/sitevision/api/xml/XmlElement/index.d.ts +3 -1
  332. package/types/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +4 -2
@@ -9,7 +9,7 @@
9
9
  * @since Sitevision 3.5
10
10
  * @since JCR 2.0
11
11
  */
12
- export type RetentionPolicy = {
12
+ type RetentionPolicy = {
13
13
  /**
14
14
  * Returns the name of the retention policy. A JCR name.
15
15
  * @return the name of the access control policy. A JCR name.
@@ -17,3 +17,5 @@ export type RetentionPolicy = {
17
17
  */
18
18
  getName(): string;
19
19
  };
20
+
21
+ export = RetentionPolicy;
@@ -1,4 +1,4 @@
1
- import type { Privilege } from "../Privilege";
1
+ import type Privilege from "../Privilege";
2
2
 
3
3
  /**
4
4
  * An <code>AccessControlEntry</code> represents the association of one or more
@@ -7,7 +7,7 @@ import type { Privilege } from "../Privilege";
7
7
  * <p><strong>Sitevision note:</strong> Unsupported operation</p>
8
8
  * @since JCR 2.0
9
9
  */
10
- export type AccessControlEntry = {
10
+ type AccessControlEntry = {
11
11
  /**
12
12
  * Returns the principal associated with this access control entry.
13
13
  * @return a <code>Principal</code>.
@@ -20,3 +20,5 @@ export type AccessControlEntry = {
20
20
  */
21
21
  getPrivileges(): Privilege;
22
22
  };
23
+
24
+ export = AccessControlEntry;
@@ -1,8 +1,8 @@
1
- import type { AccessControlEntry } from "../AccessControlEntry";
1
+ import type AccessControlEntry from "../AccessControlEntry";
2
2
 
3
- import type { Privilege } from "../Privilege";
3
+ import type Privilege from "../Privilege";
4
4
 
5
- import type { AccessControlPolicy } from "../AccessControlPolicy";
5
+ import type AccessControlPolicy from "../AccessControlPolicy";
6
6
 
7
7
  /**
8
8
  * The <code>AccessControlList</code> is an <code>AccessControlPolicy</code>
@@ -16,7 +16,7 @@ import type { AccessControlPolicy } from "../AccessControlPolicy";
16
16
  * @since Sitevision 3.5
17
17
  * @since JCR 2.0
18
18
  */
19
- export type AccessControlList = {
19
+ type AccessControlList = AccessControlPolicy & {
20
20
  /**
21
21
  * Returns all access control entries present with this policy.
22
22
  * <p>
@@ -66,3 +66,5 @@ export type AccessControlList = {
66
66
  */
67
67
  removeAccessControlEntry(ace: AccessControlEntry): void;
68
68
  };
69
+
70
+ export = AccessControlList;
@@ -1,7 +1,7 @@
1
- import type { Privilege } from "../Privilege";
1
+ import type Privilege from "../Privilege";
2
2
 
3
- import type { AccessControlPolicy } from "../AccessControlPolicy";
4
- import type { AccessControlPolicyIterator } from "../AccessControlPolicyIterator";
3
+ import type AccessControlPolicy from "../AccessControlPolicy";
4
+ import type AccessControlPolicyIterator from "../AccessControlPolicyIterator";
5
5
 
6
6
  /**
7
7
  * The <code>AccessControlManager</code> object is accessed via {@link
@@ -12,7 +12,7 @@ import type { AccessControlPolicyIterator } from "../AccessControlPolicyIterator
12
12
  * <p><strong>Sitevision note:</strong> Unsupported operation</p>
13
13
  * @since JCR 2.0
14
14
  */
15
- export type AccessControlManager = {
15
+ type AccessControlManager = {
16
16
  /**
17
17
  * Returns the privileges supported for absolute path <code>absPath</code>,
18
18
  * which must be an existing node.
@@ -200,3 +200,5 @@ export type AccessControlManager = {
200
200
  */
201
201
  removePolicy(absPath: string, policy: AccessControlPolicy): void;
202
202
  };
203
+
204
+ export = AccessControlManager;
@@ -6,6 +6,8 @@
6
6
  * <p><strong>Sitevision note:</strong> Unsupported operation</p>
7
7
  * @since JCR 2.0
8
8
  */
9
- export type AccessControlPolicy = {
9
+ type AccessControlPolicy = {
10
10
  undefined;
11
11
  };
12
+
13
+ export = AccessControlPolicy;
@@ -1,5 +1,5 @@
1
- import type { AccessControlPolicy } from "../AccessControlPolicy";
2
- import type { RangeIterator } from "../../RangeIterator";
1
+ import type AccessControlPolicy from "../AccessControlPolicy";
2
+ import type RangeIterator from "../../RangeIterator";
3
3
 
4
4
  /**
5
5
  * Allows easy iteration through a list of <code>AccessControlPolicy</code>s
@@ -9,7 +9,7 @@ import type { RangeIterator } from "../../RangeIterator";
9
9
  * <p><strong>Sitevision note:</strong> Unsupported operation</p>
10
10
  * @since JCR 2.0
11
11
  */
12
- export type AccessControlPolicyIterator = {
12
+ type AccessControlPolicyIterator = RangeIterator & {
13
13
  /**
14
14
  * Returns the next <code>AccessControlPolicy</code> in the iteration.
15
15
  * @return the next <code>AccessControlPolicy</code> in the iteration.
@@ -17,3 +17,5 @@ export type AccessControlPolicyIterator = {
17
17
  */
18
18
  nextAccessControlPolicy(): AccessControlPolicy;
19
19
  };
20
+
21
+ export = AccessControlPolicyIterator;
@@ -1,4 +1,4 @@
1
- import type { AccessControlPolicy } from "../AccessControlPolicy";
1
+ import type AccessControlPolicy from "../AccessControlPolicy";
2
2
 
3
3
  /**
4
4
  * An <code>NamedAccessControlPolicy</code> is an opaque access control policy
@@ -10,7 +10,7 @@ import type { AccessControlPolicy } from "../AccessControlPolicy";
10
10
  * @since Sitevision 3.5
11
11
  * @since JCR 2.0
12
12
  */
13
- export type NamedAccessControlPolicy = {
13
+ type NamedAccessControlPolicy = AccessControlPolicy & {
14
14
  /**
15
15
  * Returns the name of the access control policy, which is JCR name and
16
16
  * should be unique among the choices applicable to any particular node.
@@ -19,3 +19,5 @@ export type NamedAccessControlPolicy = {
19
19
  */
20
20
  getName(): string;
21
21
  };
22
+
23
+ export = NamedAccessControlPolicy;
@@ -17,52 +17,10 @@
17
17
  * <p>
18
18
  * A privilege can be both aggregate and abstract.
19
19
  *
20
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>A constant representing <code>jcr:read</code> (in expanded form), the
21
- * privilege to retrieve a node and get its properties and their values.A constant representing <code>jcr:modifyProperties</code> (in expanded
22
- * form), the privilege to create, modify and remove the properties of a
23
- * node.A constant representing <code>jcr:addChildNodes</code> (in expanded
24
- * form), the privilege to create child nodes of a node.A constant representing <code>jcr:removeNode</code> (in expanded form),
25
- * the privilege to remove a node.
26
- * <p>
27
- * In order to actually remove a node requires <code>jcr:removeNode</code>
28
- * on that node and <code>jcr:removeChildNodes</code> on the parent node.
29
- * <p>
30
- * The distinction is provided in order to reflect implementations that
31
- * internally model "remove" as a "delete" instead of a "unlink". A
32
- * repository that uses the "delete" model can have <code>jcr:removeChildNodes</code>
33
- * in every access control policy, so that removal is effectively controlled
34
- * by <code>jcr:removeNode</code>.A constant representing <code>jcr:removeChildNodes</code> (in expanded
35
- * form), the privilege to remove child nodes of a node. In order to
36
- * actually remove a node requires <code>jcr:removeNode</code> on that node
37
- * and <code>jcr:removeChildNodes</code> on the parent node.
38
- * <p>
39
- * The distinction is provided in order to reflect implementations that
40
- * internally model "remove" as a "unlink" instead of a "delete". A
41
- * repository that uses the "unlink" model can have <code>jcr:removeNode</code>
42
- * in every access control policy, so that removal is effectively controlled
43
- * by <code>jcr:removeChildNodes</code>.A constant representing <code>jcr:write</code> (in expanded form), an
44
- * aggregate privilege that contains: <ul> <li><code>jcr:modifyProperties</code></li>
45
- * <li><code>jcr:addChildNodes</code></li> <li><code>jcr:removeNode</code></li>
46
- * <li><code>jcr:removeChildNodes</code></li> </ul>A constant representing <code>jcr:readAccessControl</code> (in expanded
47
- * form), the privilege to get the access control policy of a node.A constant representing <code>jcr:modifyAccessControl</code> (in expanded
48
- * form), the privilege to modify the access control policies of a node.A constant representing <code>jcr:lockManagement</code> (in expanded
49
- * form), the privilege to lock and unlock a node.A constant representing <code>jcr:versionManagement</code> (in expanded
50
- * form), the privilege to perform versioning operations on a node.A constant representing <code>jcr:nodeTypeManagement</code> (in expanded
51
- * form), the privilege to add and remove mixin node types and change the
52
- * primary node type of a node.A constant representing <code>jcr:retentionManagement</code> (in expanded
53
- * form), the privilege to perform retention management operations on a
54
- * node.A constant representing <code>jcr:lifecycleManagement</code> (in expanded
55
- * form), the privilege to perform lifecycle operations on a node.A constant representing <code>jcr:all</code> (in expanded form), an
56
- * aggregate privilege that contains all predefined privileges. <ul>
57
- * <li><code>jcr:read</code></li> <li><code>jcr:write</code></li>
58
- * <li><code>jcr:readAccessControl</code></li> <li><code>jcr:modifyAccessControl</code></li>
59
- * <li><code>jcr:lockManagement</code></li> <li><code>jcr:versionManagement</code></li>
60
- * <li><code>jcr:nodeTypeManagement</code></li> <li><code>jcr:retentionManagement</code></li>
61
- * <li><code>jcr:lifecycleManagement</code></li> </ul> It should, in
62
- * addition, include all implementation-defined privileges.
20
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
63
21
  * @since JCR 2.0
64
22
  */
65
- export type Privilege = {
23
+ type Privilege = {
66
24
  /**
67
25
  * Returns the name of this privilege.
68
26
  * <p>
@@ -102,4 +60,132 @@ export type Privilege = {
102
60
  * @return an array of <code>Privilege</code>s
103
61
  */
104
62
  getAggregatePrivileges(): Privilege;
63
+
64
+ /**
65
+ * A constant representing <code>jcr:read</code> (in expanded form), the
66
+ * privilege to retrieve a node and get its properties and their values.
67
+
68
+ */
69
+ JCR_READ: string;
70
+
71
+ /**
72
+ * A constant representing <code>jcr:modifyProperties</code> (in expanded
73
+ * form), the privilege to create, modify and remove the properties of a
74
+ * node.
75
+
76
+ */
77
+ JCR_MODIFY_PROPERTIES: string;
78
+
79
+ /**
80
+ * A constant representing <code>jcr:addChildNodes</code> (in expanded
81
+ * form), the privilege to create child nodes of a node.
82
+
83
+ */
84
+ JCR_ADD_CHILD_NODES: string;
85
+
86
+ /**
87
+ * A constant representing <code>jcr:removeNode</code> (in expanded form),
88
+ * the privilege to remove a node.
89
+ * <p>
90
+ * In order to actually remove a node requires <code>jcr:removeNode</code>
91
+ * on that node and <code>jcr:removeChildNodes</code> on the parent node.
92
+ * <p>
93
+ * The distinction is provided in order to reflect implementations that
94
+ * internally model "remove" as a "delete" instead of a "unlink". A
95
+ * repository that uses the "delete" model can have <code>jcr:removeChildNodes</code>
96
+ * in every access control policy, so that removal is effectively controlled
97
+ * by <code>jcr:removeNode</code>.
98
+
99
+ */
100
+ JCR_REMOVE_NODE: string;
101
+
102
+ /**
103
+ * A constant representing <code>jcr:removeChildNodes</code> (in expanded
104
+ * form), the privilege to remove child nodes of a node. In order to
105
+ * actually remove a node requires <code>jcr:removeNode</code> on that node
106
+ * and <code>jcr:removeChildNodes</code> on the parent node.
107
+ * <p>
108
+ * The distinction is provided in order to reflect implementations that
109
+ * internally model "remove" as a "unlink" instead of a "delete". A
110
+ * repository that uses the "unlink" model can have <code>jcr:removeNode</code>
111
+ * in every access control policy, so that removal is effectively controlled
112
+ * by <code>jcr:removeChildNodes</code>.
113
+
114
+ */
115
+ JCR_REMOVE_CHILD_NODES: string;
116
+
117
+ /**
118
+ * A constant representing <code>jcr:write</code> (in expanded form), an
119
+ * aggregate privilege that contains: <ul> <li><code>jcr:modifyProperties</code></li>
120
+ * <li><code>jcr:addChildNodes</code></li> <li><code>jcr:removeNode</code></li>
121
+ * <li><code>jcr:removeChildNodes</code></li> </ul>
122
+
123
+ */
124
+ JCR_WRITE: string;
125
+
126
+ /**
127
+ * A constant representing <code>jcr:readAccessControl</code> (in expanded
128
+ * form), the privilege to get the access control policy of a node.
129
+
130
+ */
131
+ JCR_READ_ACCESS_CONTROL: string;
132
+
133
+ /**
134
+ * A constant representing <code>jcr:modifyAccessControl</code> (in expanded
135
+ * form), the privilege to modify the access control policies of a node.
136
+
137
+ */
138
+ JCR_MODIFY_ACCESS_CONTROL: string;
139
+
140
+ /**
141
+ * A constant representing <code>jcr:lockManagement</code> (in expanded
142
+ * form), the privilege to lock and unlock a node.
143
+
144
+ */
145
+ JCR_LOCK_MANAGEMENT: string;
146
+
147
+ /**
148
+ * A constant representing <code>jcr:versionManagement</code> (in expanded
149
+ * form), the privilege to perform versioning operations on a node.
150
+
151
+ */
152
+ JCR_VERSION_MANAGEMENT: string;
153
+
154
+ /**
155
+ * A constant representing <code>jcr:nodeTypeManagement</code> (in expanded
156
+ * form), the privilege to add and remove mixin node types and change the
157
+ * primary node type of a node.
158
+
159
+ */
160
+ JCR_NODE_TYPE_MANAGEMENT: string;
161
+
162
+ /**
163
+ * A constant representing <code>jcr:retentionManagement</code> (in expanded
164
+ * form), the privilege to perform retention management operations on a
165
+ * node.
166
+
167
+ */
168
+ JCR_RETENTION_MANAGEMENT: string;
169
+
170
+ /**
171
+ * A constant representing <code>jcr:lifecycleManagement</code> (in expanded
172
+ * form), the privilege to perform lifecycle operations on a node.
173
+
174
+ */
175
+ JCR_LIFECYCLE_MANAGEMENT: string;
176
+
177
+ /**
178
+ * A constant representing <code>jcr:all</code> (in expanded form), an
179
+ * aggregate privilege that contains all predefined privileges. <ul>
180
+ * <li><code>jcr:read</code></li> <li><code>jcr:write</code></li>
181
+ * <li><code>jcr:readAccessControl</code></li> <li><code>jcr:modifyAccessControl</code></li>
182
+ * <li><code>jcr:lockManagement</code></li> <li><code>jcr:versionManagement</code></li>
183
+ * <li><code>jcr:nodeTypeManagement</code></li> <li><code>jcr:retentionManagement</code></li>
184
+ * <li><code>jcr:lifecycleManagement</code></li> </ul> It should, in
185
+ * addition, include all implementation-defined privileges.
186
+
187
+ */
188
+ JCR_ALL: string;
105
189
  };
190
+
191
+ export = Privilege;
@@ -1,6 +1,6 @@
1
- import type { VersionHistory } from "../VersionHistory";
1
+ import type VersionHistory from "../VersionHistory";
2
2
 
3
- import type { Node } from "../../Node";
3
+ import type Node from "../../Node";
4
4
 
5
5
  /**
6
6
  * A <code>Version</code> object wraps an <code>nt:version</code> node. It
@@ -9,7 +9,7 @@ import type { Node } from "../../Node";
9
9
  * <p><strong>Sitevision note:</strong> Unsupported operation</p>
10
10
 
11
11
  */
12
- export type Version = {
12
+ type Version = Node & {
13
13
  /**
14
14
  * Returns the <code>VersionHistory</code> that contains this
15
15
  * <code>Version</code>.
@@ -90,3 +90,5 @@ export type Version = {
90
90
  */
91
91
  getFrozenNode(): Node;
92
92
  };
93
+
94
+ export = Version;
@@ -1,8 +1,8 @@
1
- import type { Version } from "../Version";
2
- import type { VersionIterator } from "../VersionIterator";
3
- import type { NodeIterator } from "../../NodeIterator";
1
+ import type Version from "../Version";
2
+ import type VersionIterator from "../VersionIterator";
3
+ import type NodeIterator from "../../NodeIterator";
4
4
 
5
- import type { Node } from "../../Node";
5
+ import type Node from "../../Node";
6
6
 
7
7
  /**
8
8
  * A <code>VersionHistory</code> object wraps an <code>nt:versionHistory</code>
@@ -11,7 +11,7 @@ import type { Node } from "../../Node";
11
11
  * <p><strong>Sitevision note:</strong> Unsupported operation</p>
12
12
 
13
13
  */
14
- export type VersionHistory = {
14
+ type VersionHistory = Node & {
15
15
  /**
16
16
  * Returns the identifier of the versionable node for which this is the
17
17
  * version history.
@@ -226,3 +226,5 @@ export type VersionHistory = {
226
226
  */
227
227
  removeVersion(versionName: string): void;
228
228
  };
229
+
230
+ export = VersionHistory;
@@ -1,5 +1,5 @@
1
- import type { Version } from "../Version";
2
- import type { RangeIterator } from "../../RangeIterator";
1
+ import type Version from "../Version";
2
+ import type RangeIterator from "../../RangeIterator";
3
3
 
4
4
  /**
5
5
  * Allows easy iteration through a list of <code>Version</code>s objects with
@@ -9,7 +9,7 @@ import type { RangeIterator } from "../../RangeIterator";
9
9
  * <p><strong>Sitevision note:</strong> Unsupported operation</p>
10
10
 
11
11
  */
12
- export type VersionIterator = {
12
+ type VersionIterator = RangeIterator & {
13
13
  /**
14
14
  * Returns the next <code>Version</code> in the iteration.
15
15
  * @return the next <code>Version</code> in the iteration.
@@ -17,3 +17,5 @@ export type VersionIterator = {
17
17
  */
18
18
  nextVersion(): Version;
19
19
  };
20
+
21
+ export = VersionIterator;
@@ -1,8 +1,8 @@
1
- import type { Version } from "../Version";
1
+ import type Version from "../Version";
2
2
 
3
- import type { VersionHistory } from "../VersionHistory";
4
- import type { NodeIterator } from "../../NodeIterator";
5
- import type { Node } from "../../Node";
3
+ import type VersionHistory from "../VersionHistory";
4
+ import type NodeIterator from "../../NodeIterator";
5
+ import type Node from "../../Node";
6
6
 
7
7
  /**
8
8
  * The <code>VersionManager</code> object is accessed via {@link
@@ -16,7 +16,7 @@ import type { Node } from "../../Node";
16
16
  * @since Sitevision 3.5
17
17
  * @since JCR 2.0
18
18
  */
19
- export type VersionManager = {
19
+ type VersionManager = {
20
20
  /**
21
21
  * Creates for the versionable node at <code>absPath</code> a new version
22
22
  * with a system generated version name and returns that version (which will
@@ -678,3 +678,5 @@ export type VersionManager = {
678
678
  */
679
679
  merge(activityNode: Node): NodeIterator;
680
680
  };
681
+
682
+ export = VersionManager;
@@ -91,10 +91,12 @@
91
91
  * @author Magnus Lövgren
92
92
  * @since Sitevision 3.6
93
93
  */
94
- export type Builder = {
94
+ type Builder = {
95
95
  /**
96
96
  * Creates an instance of type <em>T</em> using current state of this builder.
97
97
  * @return an instance of type <em>T</em>
98
98
  */
99
99
  build(): unknown;
100
100
  };
101
+
102
+ export = Builder;
@@ -13,7 +13,7 @@
13
13
  * @since Sitevision 3.6.2
14
14
  * @see senselogic.sitevision.api.node.NodeFilterUtil
15
15
  */
16
- export type Filter = {
16
+ type Filter = {
17
17
  /**
18
18
  * Whether a given object matches the filter requirements or not.
19
19
  * @param anObject the object to check
@@ -21,3 +21,5 @@ export type Filter = {
21
21
  */
22
22
  accept(anObject: unknown): boolean;
23
23
  };
24
+
25
+ export = Filter;
@@ -1,4 +1,4 @@
1
- import type { Filter } from "../Filter";
1
+ import type Filter from "../Filter";
2
2
 
3
3
  /**
4
4
  * This is the base interface for all filter splits in the Sitevision Utility API.
@@ -19,7 +19,7 @@ import type { Filter } from "../Filter";
19
19
  * @author Magnus Lövgren
20
20
  * @since Sitevision 3.6.3
21
21
  */
22
- export type FilterSplit = {
22
+ type FilterSplit = {
23
23
  /**
24
24
  * Gets the list of items that was accepted by the filter.
25
25
  *
@@ -42,3 +42,5 @@ export type FilterSplit = {
42
42
  */
43
43
  getFilter(): Filter;
44
44
  };
45
+
46
+ export = FilterSplit;
@@ -3,7 +3,7 @@
3
3
  * @author Magnus Lövgren
4
4
  * @since Sitevision 4.0
5
5
  */
6
- export type Loadable = {
6
+ type Loadable = {
7
7
  /**
8
8
  * Loads a resource that is identified with a specific name.
9
9
  * @param aName the name of the resource
@@ -11,3 +11,5 @@ export type Loadable = {
11
11
  */
12
12
  load(aName: string): unknown;
13
13
  };
14
+
15
+ export = Loadable;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Type of script engine available in Sitevision.
3
+ * @author Magnus Lövgren
4
+ * @since Sitevision 4.2
5
+ */
6
+ export type ScriptEngine = {
7
+ NASHORN: "NASHORN";
8
+ RHINO: "RHINO";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _default = {
8
+ NASHORN: 'NASHORN',
9
+ RHINO: 'RHINO'
10
+ };
11
+ exports["default"] = _default;
@@ -19,7 +19,7 @@
19
19
  * @author Magnus Lövgren
20
20
  * @since Sitevision 4.1
21
21
  */
22
- export type Resolver = {
22
+ type Resolver = {
23
23
  /**
24
24
  * Resolves a value from an object.
25
25
  * @param aObject the object to operate on
@@ -27,3 +27,5 @@ export type Resolver = {
27
27
  */
28
28
  resolve(aObject: unknown): unknown;
29
29
  };
30
+
31
+ export = Resolver;
@@ -13,10 +13,12 @@
13
13
  * @author Magnus Lövgren
14
14
  * @since Sitevision 3.6
15
15
  */
16
- export type Wrapper = {
16
+ type Wrapper = {
17
17
  /**
18
18
  * Gets the wrapped object.
19
19
  * @return the wrapped object, i.e. the instance that was used when this wrapper was created
20
20
  */
21
21
  unwrap(): unknown;
22
22
  };
23
+
24
+ export = Wrapper;
@@ -1,6 +1,10 @@
1
- import type { Node } from "../../../../../javax/jcr/Node";
1
+ import type Node from "../../../../../javax/jcr/Node";
2
2
 
3
- import type { Wrapper } from "../../base/Wrapper";
3
+ import { CollaborationGroupType } from "../../../../../../server/CollaborationGroupType";
4
+
5
+ import { CollaborationGroupState } from "../../../../../../server/CollaborationGroupState";
6
+
7
+ import type Wrapper from "../../base/Wrapper";
4
8
 
5
9
  /**
6
10
  * Collaboration group administration interface.
@@ -18,7 +22,7 @@ import type { Wrapper } from "../../base/Wrapper";
18
22
  * @author Magnus Lövgren
19
23
  * @since Sitevision 3.6
20
24
  */
21
- export type CollaborationGroupWrapper = {
25
+ type CollaborationGroupWrapper = Wrapper & {
22
26
  /**
23
27
  * Gets the admins of the wrapped collaboration group.
24
28
  * @return the admins of the wrapped collaboration group. Never null.
@@ -152,7 +156,7 @@ export type CollaborationGroupWrapper = {
152
156
  * @return the collaboration group type
153
157
  * @since Sitevision 4.1
154
158
  */
155
- getGroupType(): unknown;
159
+ getGroupType(): CollaborationGroupType;
156
160
 
157
161
  /**
158
162
  * Changes the collaboration group type of the wrapped collaboration group.
@@ -172,14 +176,14 @@ export type CollaborationGroupWrapper = {
172
176
  * @param aCollaborationGroupType the collaboration group type
173
177
  * @since Sitevision 4.1
174
178
  */
175
- setGroupType(aCollaborationGroupType: unknown): void;
179
+ setGroupType(aCollaborationGroupType: CollaborationGroupType): void;
176
180
 
177
181
  /**
178
182
  * Gets the collaboration group state of the wrapped collaboration group.
179
183
  * @return the collaboration group state
180
184
  * @since Sitevision 4.1
181
185
  */
182
- getGroupState(): unknown;
186
+ getGroupState(): CollaborationGroupState;
183
187
 
184
188
  /**
185
189
  * Changes the collaboration group state of the wrapped collaboration group.
@@ -192,7 +196,7 @@ export type CollaborationGroupWrapper = {
192
196
  * @param aCollaborationGroupState the collaboration group state
193
197
  * @since Sitevision 4.1
194
198
  */
195
- setGroupState(aCollaborationGroupState: unknown): void;
199
+ setGroupState(aCollaborationGroupState: CollaborationGroupState): void;
196
200
 
197
201
  /**
198
202
  * Gets the group description of the wrapped collaboration group.
@@ -291,3 +295,5 @@ export type CollaborationGroupWrapper = {
291
295
  */
292
296
  getCollaborationGroup(): Node;
293
297
  };
298
+
299
+ export = CollaborationGroupWrapper;
@@ -8,7 +8,7 @@
8
8
  * @author Magnus Lövgren
9
9
  * @since Sitevision 6.1
10
10
  */
11
- export type NumericFormatter = {
11
+ type NumericFormatter = {
12
12
  /**
13
13
  * Formats a double value.
14
14
  *
@@ -60,3 +60,5 @@ export type NumericFormatter = {
60
60
  */
61
61
  parse(aSource: string): number;
62
62
  };
63
+
64
+ export = NumericFormatter;
@@ -1,5 +1,5 @@
1
- import type { NumericFormatter } from "../NumericFormatter";
2
- import type { Builder } from "../../base/Builder";
1
+ import type NumericFormatter from "../NumericFormatter";
2
+ import type Builder from "../../base/Builder";
3
3
 
4
4
  /**
5
5
  * Builder for creating {@link NumericFormatter} instances.
@@ -15,7 +15,7 @@ import type { Builder } from "../../base/Builder";
15
15
  * @author Magnus Lövgren
16
16
  * @since Sitevision 6.1
17
17
  */
18
- export type NumericFormatterBuilder = {
18
+ type NumericFormatterBuilder = Builder & {
19
19
  /**
20
20
  * Set whether or not grouping will be used in this formatter.
21
21
  *
@@ -77,3 +77,5 @@ export type NumericFormatterBuilder = {
77
77
  */
78
78
  build(): NumericFormatter;
79
79
  };
80
+
81
+ export = NumericFormatterBuilder;