@enonic-types/lib-auditlog 8.0.0-B2 → 8.0.0-B5

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 (2) hide show
  1. package/auditlog.d.ts +2 -2
  2. package/package.json +2 -2
package/auditlog.d.ts CHANGED
@@ -59,7 +59,7 @@ export interface GetAuditLogParams {
59
59
  * @param {object} params JSON with the parameters.
60
60
  * @param {string} params.id Id of the audit log.
61
61
  *
62
- * @returns {object} Audit log as JSON.
62
+ * @returns {object|null} Audit log as JSON, or `null` if no audit log exists with the given id.
63
63
  */
64
64
  export declare function get(params: GetAuditLogParams): AuditLog | null;
65
65
  export interface FindAuditLogParams {
@@ -88,7 +88,7 @@ export interface AuditLogs {
88
88
  *
89
89
  * @param {object} params JSON with the parameters.
90
90
  * @param {number} [params.start=0] Start index (used for paging).
91
- * @param {number} [params.count=10] Number of contents to fetch.
91
+ * @param {number} [params.count=10] Number of audit logs to fetch.
92
92
  * @param {array} [params.ids] Filter by ids of audit logs.
93
93
  * @param {string} [params.from] Filter by logs younger than from.
94
94
  * @param {string} [params.to] Filter by logs older than to.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enonic-types/lib-auditlog",
3
- "version": "8.0.0-B2",
3
+ "version": "8.0.0-B5",
4
4
  "description": "Type definitions for lib-auditlog.",
5
5
  "types": "auditlog.d.ts",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/enonic/xp/tree/master#readme",
29
29
  "dependencies": {
30
- "@enonic-types/core": "8.0.0-B2"
30
+ "@enonic-types/core": "8.0.0-B5"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"