@stryker-mutator/dashboard-data-access 0.15.2-pr-1005.1 → 0.15.2-pr-1007.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ export declare class DashboardQuery<TModel, TPartitionKeyFields extends keyof TM
6
6
  private constructor();
7
7
  whereRowKeyNotEquals(rowKey: Pick<TModel, TRowKeyFields>): DashboardQuery<TModel, TPartitionKeyFields, TRowKeyFields>;
8
8
  wherePartitionKeyEquals(partitionKey: Pick<TModel, TPartitionKeyFields>): DashboardQuery<TModel, TPartitionKeyFields, TRowKeyFields>;
9
+ findPartitionKeyRange(start: string): DashboardQuery<TModel, TPartitionKeyFields, TRowKeyFields>;
9
10
  static create<TModel, TPartitionKeyFields extends keyof TModel, TRowKeyFields extends keyof TModel>(ModelClass: ModelClass<TModel, TPartitionKeyFields, TRowKeyFields>): DashboardQuery<TModel, TPartitionKeyFields, TRowKeyFields>;
10
11
  build(): TableEntityQueryOptions;
11
12
  }
@@ -15,6 +15,10 @@ export class DashboardQuery {
15
15
  const whereCondition = odata `PartitionKey eq ${encodeKey(this.ModelClass.createPartitionKey(partitionKey))}`;
16
16
  return new DashboardQuery(this.ModelClass, [...this.whereConditions, whereCondition]);
17
17
  }
18
+ findPartitionKeyRange(start) {
19
+ const whereCondition = odata `PartitionKey ge ${start}`;
20
+ return new DashboardQuery(this.ModelClass, [...this.whereConditions, whereCondition]);
21
+ }
18
22
  static create(ModelClass) {
19
23
  return new DashboardQuery(ModelClass, []);
20
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryker-mutator/dashboard-data-access",
3
- "version": "0.15.2-pr-1005.1",
3
+ "version": "0.15.2-pr-1007.0",
4
4
  "type": "module",
5
5
  "description": "This package contains the data access layer of the stryker dashboard application.",
6
6
  "scripts": {
@@ -24,9 +24,9 @@
24
24
  "dependencies": {
25
25
  "@azure/data-tables": "13.2.2",
26
26
  "@azure/storage-blob": "12.25.0",
27
- "@stryker-mutator/dashboard-common": "0.15.2-pr-1005.1",
27
+ "@stryker-mutator/dashboard-common": "0.15.2-pr-1007.0",
28
28
  "mutation-testing-metrics": "3.3.0",
29
29
  "mutation-testing-report-schema": "3.3.0"
30
30
  },
31
- "gitHead": "c277bff04deab5a1cbaf67fe68453ca480e199e0"
31
+ "gitHead": "cf0e6e68e7fd8ec3a54d9091c7f0d5404e6f5d6b"
32
32
  }