jmapserver-ng-core-types 1.0.2 → 1.0.3

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.ts CHANGED
@@ -907,6 +907,7 @@ export interface JUserService {
907
907
  password: string
908
908
  ): JJMapServerPasswordPolicyCompliance | JJMapCloudPasswordPolicyCompliance
909
909
  isPseudoUser(): boolean
910
+ isSystemUser(): boolean
910
911
  getOrganizationId(): string
911
912
  }
912
913
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapserver-ng-core-types",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "JMap Server specific version of JMap Server NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/public/core.d.ts CHANGED
@@ -6496,6 +6496,19 @@ declare namespace JMap {
6496
6496
  */
6497
6497
  function isPseudoUser(): boolean
6498
6498
 
6499
+ /**
6500
+ * ***JMap.User.isSystemUser***
6501
+ *
6502
+ * Returns true if the currently logged in user is a JMap system user (typically when NG is openned from JMap Admin).
6503
+ *
6504
+ * @example ```ts
6505
+ *
6506
+ * // returns true if current user is a system user
6507
+ * JMap.User.isSystemUser()
6508
+ * ```
6509
+ */
6510
+ function isSystemUser(): boolean
6511
+
6499
6512
  /**
6500
6513
  * ***JMap.User.getOrganizationId***
6501
6514
  *