@sitevision/api 1.1.0-alpha.1 → 1.1.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.
package/index.d.ts CHANGED
@@ -6,31 +6,130 @@ import './common/i18n';
6
6
  import './common/router';
7
7
  import './common/events';
8
8
 
9
+ import './server/AliasUtil';
9
10
  import './server/appData';
10
11
  import './server/appResource';
11
12
  import './server/ArchiveUtil';
13
+ import './server/ArraysInstance';
12
14
  import './server/ArticleUtil';
15
+ import './server/AuthenticationUtil';
16
+ import './server/BookmarkUtil';
17
+ import './server/BuddyIconRenderer';
18
+ import './server/ClientUtil';
13
19
  import './server/CollaborationFactory';
14
20
  import './server/CollaborationGroupFolderUtil';
15
- import './server/CollaborationGroupState';
16
21
  import './server/CollaborationGroupTemplateUtil';
17
- import './server/CollaborationGroupType';
18
22
  import './server/CollaborationGroupUtil';
19
- import './server/CollaborationGroupWrapper';
23
+ import './server/CollectionsInstance';
24
+ import './server/ColorUtil';
25
+ import './server/CompoundAndFilterBuilder';
26
+ import './server/CompoundComparatorBuilder';
27
+ import './server/CompoundOrFilterBuilder';
28
+ import './server/ContentNodeUtil';
29
+ import './server/CurrencyFactory';
20
30
  import './server/DateUtil';
31
+ import './server/DecorationUtil';
32
+ import './server/DeviceUtil';
33
+ import './server/DirectoryUtil';
34
+ import './server/DocTypeUtil';
35
+ import './server/EndecUtil';
36
+ import './server/ExtendedDismaxParserBuilder';
37
+ import './server/FileIconRenderer';
38
+ import './server/FileUtil';
39
+ import './server/FilterBuilder';
40
+ import './server/FolderUtil';
41
+ import './server/FontUtil';
42
+ import './server/FormatterBuilderFactory';
21
43
  import './server/globalAppData';
44
+ import './server/HighlightBuilder';
22
45
  import './server/hooks';
46
+ import './server/IconUtil';
47
+ import './server/ImageLinkRenderer';
48
+ import './server/ImageRenderer';
49
+ import './server/ImageUtil';
50
+ import './server/IndexingUtil';
51
+ import './server/IndexUtil';
52
+ import './server/InstanceCreatorUtil';
53
+ import './server/InstanceTypeUtil';
54
+ import './server/JwtUtil';
23
55
  import './server/LandingPageUtil';
24
- import './server/LocaleUtil';
56
+ import './server/LinkPageUtil';
57
+ import './server/LinkRenderer';
58
+ import './server/LinkTargetBuilder';
59
+ import './server/LinkValueBuilder';
60
+ import './server/ListWrapper';
25
61
  import './server/LocaleUtil';
26
62
  import './server/LogUtil';
63
+ import './server/MailBuilder';
64
+ import './server/MailUtil';
65
+ import './server/MathInstance';
66
+ import './server/MessageDigesterFactory';
67
+ import './server/MetadataDefinitionUtil';
68
+ import './server/MetadataUtil';
69
+ import './server/MimeTypeUtil';
70
+ import './server/MonitorBuilder';
71
+ import './server/NodeComparatorUtil';
72
+ import './server/NodeFactoryUtil';
73
+ import './server/NodeFilterUtil';
74
+ import './server/NodeIteratorUtil';
75
+ import './server/NodeResolverUtil';
76
+ import './server/NodeTreeUtil';
77
+ import './server/NodeTypeUtil';
27
78
  import './server/oauth2';
79
+ import './server/OfflineVersionPropertyUtil';
80
+ import './server/OnlineVersionPropertyUtil';
81
+ import './server/OutputUtil';
82
+ import './server/PageUtil';
83
+ import './server/PermissionUtil';
28
84
  import './server/PortletContextUtil';
85
+ import './server/PortletUtil';
86
+ import './server/PrincipalUtil';
29
87
  import './server/privileged';
30
88
  import './server/Properties';
89
+ import './server/PropertyUtil';
90
+ import './server/PublishingUtil';
91
+ import './server/QueryStringUtil';
92
+ import './server/RedirectUtil';
93
+ import './server/RelatedValueBuilder';
31
94
  import './server/Requester';
32
95
  import './server/ResourceLocatorUtil';
33
96
  import './server/RestApi';
97
+ import './server/RestAppInvokerFactory';
98
+ import './server/RoleAssignmentBuilder';
99
+ import './server/RoleMatcherBuilder';
100
+ import './server/RoleUtil';
101
+ import './server/ScriptUtil';
102
+ import './server/SearcherBuilder';
103
+ import './server/SearchFactory';
104
+ import './server/SearchUtil';
105
+ import './server/Session';
106
+ import './server/SimpleUserUtil';
107
+ import './server/SiteCookieUtil';
108
+ import './server/SortBuilder';
109
+ import './server/SpellCheckBuilder';
110
+ import './server/StandardParserBuilder';
34
111
  import './server/storage';
112
+ import './server/StructureUtil';
113
+ import './server/SubscriberUtil';
114
+ import './server/SubscriptionUtil';
35
115
  import './server/SystemUserUtil';
116
+ import './server/TagUtil';
117
+ import './server/TemplateUtil';
118
+ import './server/TemporaryFileNodeBuilder';
119
+ import './server/TemporaryNodeBuilder';
120
+ import './server/TextModuleRendererBuilder';
36
121
  import './server/TimestampUtil';
122
+ import './server/TranslationUtil';
123
+ import './server/TrashcanUtil';
124
+ import './server/UserDataUtil';
125
+ import './server/UserFactory';
126
+ import './server/UserFieldRenderer';
127
+ import './server/UserIdentityUtil';
128
+ import './server/UserUtil';
129
+ import './server/Utils';
130
+ import './server/VelocityRenderer';
131
+ import './server/VersionUtil';
132
+ import './server/WebContentUtil';
133
+ import './server/WebResourceFactory';
134
+ import './server/XmlParserUtil';
135
+ import './server/XSLTUtil';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitevision/api",
3
- "version": "1.1.0-alpha.1",
3
+ "version": "1.1.0-alpha.2",
4
4
  "author": "Sitevision AB",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",
@@ -1,6 +0,0 @@
1
- declare enum CollaborationGroupState {
2
- ACTIVE,
3
- INACTIVE,
4
- }
5
-
6
- export default CollaborationGroupState;
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,7 +0,0 @@
1
- declare enum CollaborationGroupTypes {
2
- CLOSED,
3
- MEMBER_MODERATED,
4
- OPEN,
5
- }
6
-
7
- export default CollaborationGroupTypes;
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,136 +0,0 @@
1
- import Locale from '../../builtins/Locale';
2
- import Node from '../../builtins/Node';
3
- import CollaborationGroupState from '../CollaborationGroupState';
4
- import CollaborationGroupType from '../CollaborationGroupType';
5
-
6
- export interface ICollaborationGroupWrapper {
7
- /**
8
- * Adds a user identity as admin of the wrapped collaboration group.
9
- * @returns {boolean} true if aUserIdentity was added as admin of the wrapped group, false otherwise.false is always returned if aUserIdentity is null or already is admin of thewrapped collaboration group.
10
- * @param {Node} aUserIdentity - a user identity (or user)
11
- */
12
- addAdmin(aUserIdentity: Node): boolean;
13
- /**
14
- * Adds a user identity as member of the wrapped collaboration group.
15
- * @returns {boolean} true if aUserIdentity was added as member of the wrapped group, false otherwise.false is always returned if aUserIdentity is null or already are a member (or admin) of thewrapped collaboration group.
16
- * @param {Node} aUserIdentity - a user identity (or user)
17
- */
18
- addMember(aUserIdentity: Node): boolean;
19
- /**
20
- * Gets the admins of the wrapped collaboration group.
21
- * @returns {Set<Node>} the admins of the wrapped collaboration group. Never null.
22
- */
23
- getAdmins(): Set<Node>;
24
- /**
25
- * Gets the wrapped collaboration group.
26
- * @returns {Node} the wrapped collaboration group
27
- */
28
- getCollaborationGroup(): Node;
29
- /**
30
- * Gets the followers/eavesdroppers of the wrapped collaboration group.
31
- * @returns {Set<Node>} the followers of the wrapped collaboration group. Never null.
32
- */
33
- getFollowers(): Set<Node>;
34
-
35
- /**
36
- * Gets the group description of the wrapped collaboration group.
37
- * @returns {string} the collaboration group description
38
- */
39
- getGroupDescription(): string;
40
- /**
41
- * Gets the collaboration group state of the wrapped collaboration group.
42
- * @returns {CollaborationGroupState} the collaboration group state
43
- */
44
- getGroupState(): CollaborationGroupState;
45
-
46
- /**
47
- * Gets the collaboration group type of the wrapped collaboration group.
48
- * @returns {CollaborationGroupType} the collaboration group type
49
- */
50
- getGroupType(): CollaborationGroupType;
51
-
52
- /**
53
- * Gets the members of the wrapped collaboration group.
54
- * @returns {Set<Node>} the members of the wrapped collaboration group. Never null.
55
- */
56
- getMembers(): Set<Node>;
57
-
58
- /**
59
- * Gets the profile image of the wrapped collaboration group.
60
- * @returns {Node} the profile image or null
61
- */
62
- getProfileImage(): Node;
63
-
64
- /**
65
- * Gets the profile images folder of the wrapped collaboration group.
66
- * @returns {Node} the profile images folder or null
67
- */
68
- getProfileImagesFolder(): Node;
69
-
70
- /**
71
- * Checks if a user identity is admin of the wrapped collaboration group.
72
- * @returns {boolean} true if aUserIdentity is admin of the wrapped group, false otherwise
73
- * @param {Node} aUserIdentity - a user identity (or user)
74
- */
75
- isAdmin(aUserIdentity: Node): boolean;
76
-
77
- /**
78
- * Checks if a user identity is a follower/eavesdropper of the wrapped collaboration group.
79
- * @returns {boolean} true if aUserIdentity is a follower of the wrapped group, false otherwise
80
- * @param {Node} aUserIdentity - a user identity (or user)
81
- */
82
- isFollower(aUserIdentity: Node): boolean;
83
-
84
- /**
85
- * Checks if a user identity is member of the wrapped collaboration group.
86
- * @returns {boolean} true if aUserIdentity is member of the wrapped group, false otherwise
87
- * @param {Node} aUserIdentity - a user identity (or user)
88
- */
89
- isMember(aUserIdentity: Node): boolean;
90
-
91
- /**
92
- * Removes a member from the wrapped collaboration group.
93
- * @returns {boolean} true if aUserIdentity was removed as member from the wrapped group, false otherwise.false is always returned if aUserIdentity is null or not a member (or admin)or last admin of the wrapped collaboration group.
94
- * @param {Node} aUserIdentity - a user identity (or user)
95
- */
96
- removeMember(aUserIdentity: Node): boolean;
97
-
98
- /**
99
- * Alters the name of the wrapped collaboration group.
100
- * @returns {boolean} true if group could be renamed to aGroupName, false otherwise.
101
- * @param {string} aGroupName - the new group name
102
- */
103
- renameGroup(aGroupName: string): boolean;
104
-
105
- /**
106
- * Sets the group description of the wrapped collaboration group.
107
- * @param {string} aGroupDescription - the collaboration group description
108
- */
109
- setGroupDescription(aGroupDescription: string): void;
110
-
111
- /**
112
- * Changes the collaboration group state of the wrapped collaboration group.
113
- * @param {CollaborationGroupState} aCollaborationGroupState - the collaboration group state
114
- */
115
- setGroupState(aCollaborationGroupState: CollaborationGroupState): void;
116
-
117
- /**
118
- * Changes the collaboration group type of the wrapped collaboration group.
119
- * @param {CollaborationGroupType} aCollaborationGroupType - the collaboration group type
120
- */
121
- setGroupType(aCollaborationGroupType: CollaborationGroupType): void;
122
-
123
- /**
124
- * Alters the render Locale used by the wrapped collaboration group.
125
- * @returns {boolean} true if the set operation succeeded, false otherwise
126
- * @param {Locale} aLocale - the Locale, must be a supported/available Locale (as of LocaleUtil.getAvailableLocales())
127
- */
128
- setLocale(aLocale: Locale): void;
129
-
130
- /**
131
- * Sets the profile image of the wrapped collaboration group.
132
- * @returns {boolean} true if the set operation succeeded, false otherwise
133
- * @param {Node} aProfileImage - the profile image
134
- */
135
- setProfileImage(aProfileImage: Node): void;
136
- }
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,7 +0,0 @@
1
- declare enum DimensionMode {
2
- AUTO,
3
- OFF,
4
- ON,
5
- }
6
-
7
- export default DimensionMode;
@@ -1 +0,0 @@
1
- "use strict";