@vertesia/common 0.77.0 → 0.78.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertesia/common",
3
- "version": "0.77.0",
3
+ "version": "0.78.0",
4
4
  "type": "module",
5
5
  "types": "./lib/types/index.d.ts",
6
6
  "files": [
@@ -60,6 +60,7 @@ export enum AccessControlResourceType {
60
60
  export enum AccessControlPrincipalType {
61
61
  user = "user",
62
62
  group = "group",
63
+ apikey = "apikey",
63
64
  }
64
65
 
65
66
 
@@ -220,6 +220,11 @@ export interface ContentObjectItem<T = Record<string, any>> extends BaseObject {
220
220
  * and modification attempts should be rejected.
221
221
  */
222
222
  is_locked?: boolean;
223
+
224
+ /**
225
+ * The document score, used for ranking and sorting.
226
+ */
227
+ score?: number;
223
228
  }
224
229
 
225
230
  /**