@intellegens/cornerstone-client 0.0.24 → 0.0.25

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.
@@ -6,7 +6,7 @@ export declare class ReadSelectedFilteringDefinition {
6
6
  /**
7
7
  * Array of filtering property definitions to be applied.
8
8
  */
9
- Filters: ReadSelectedFilteringPropertyDefinition[];
9
+ filters: ReadSelectedFilteringPropertyDefinition[];
10
10
  /**
11
11
  * Logical operator to be used when applying the filters.
12
12
  */
@@ -5,7 +5,7 @@ export class ReadSelectedFilteringDefinition {
5
5
  /**
6
6
  * Array of filtering property definitions to be applied.
7
7
  */
8
- Filters = [];
8
+ filters = [];
9
9
  /**
10
10
  * Logical operator to be used when applying the filters.
11
11
  */
@@ -5,9 +5,9 @@ export declare class ReadSelectedPaginationDefinition {
5
5
  /**
6
6
  * Pagination offset
7
7
  */
8
- Skip?: number;
8
+ skip?: number;
9
9
  /**
10
10
  * Pagination limit
11
11
  */
12
- Limit?: number;
12
+ limit?: number;
13
13
  }
@@ -5,9 +5,9 @@ export class ReadSelectedPaginationDefinition {
5
5
  /**
6
6
  * Pagination offset
7
7
  */
8
- Skip = 0;
8
+ skip = 0;
9
9
  /**
10
10
  * Pagination limit
11
11
  */
12
- Limit = undefined;
12
+ limit = undefined;
13
13
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Interface for entities that can, but don't have to have an Id property.
3
+ * If present, will be used as a primary key in the database, and if not it signifies an entity that was not yet
4
+ * stored.
5
+ */
6
+ export interface IOptionallyIdentifiable<TKey> {
7
+ /**
8
+ * Gets or sets the Id of the entity.
9
+ */
10
+ id?: TKey;
11
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,3 @@
1
1
  export * from './IIdentifiable';
2
+ export * from './IOptionallyIdentifiable';
2
3
  export * from './IIdentifiableByGuid';
@@ -1,2 +1,3 @@
1
1
  export * from './IIdentifiable';
2
+ export * from './IOptionallyIdentifiable';
2
3
  export * from './IIdentifiableByGuid';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intellegens/cornerstone-client",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {