@expo/entity-database-adapter-knex 0.19.0 → 0.20.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": "@expo/entity-database-adapter-knex",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "Knex database adapter for @expo/entity",
5
5
  "files": [
6
6
  "build",
@@ -33,6 +33,6 @@
33
33
  "knex": "^0.95.6"
34
34
  },
35
35
  "devDependencies": {
36
- "@expo/entity": "^0.19.0"
36
+ "@expo/entity": "^0.20.0"
37
37
  }
38
38
  }
@@ -10,7 +10,7 @@ import {
10
10
  EntityMutationTrigger,
11
11
  EntityQueryContext,
12
12
  EntityNonTransactionalMutationTrigger,
13
- EntityMutationInfo,
13
+ EntityTriggerMutationInfo,
14
14
  } from '@expo/entity';
15
15
  import { Knex } from 'knex';
16
16
 
@@ -111,7 +111,7 @@ class ThrowConditionallyTrigger extends EntityMutationTrigger<
111
111
  _viewerContext: ViewerContext,
112
112
  _queryContext: EntityQueryContext,
113
113
  entity: PostgresTriggerTestEntity,
114
- _mutationInfo: EntityMutationInfo<
114
+ _mutationInfo: EntityTriggerMutationInfo<
115
115
  PostgresTriggerTestEntityFields,
116
116
  string,
117
117
  ViewerContext,
@@ -9,7 +9,7 @@ import {
9
9
  Entity,
10
10
  EntityMutationTrigger,
11
11
  EntityQueryContext,
12
- EntityMutationInfo,
12
+ EntityValidatorMutationInfo,
13
13
  } from '@expo/entity';
14
14
  import { Knex } from 'knex';
15
15
 
@@ -113,7 +113,7 @@ class ThrowConditionallyTrigger extends EntityMutationTrigger<
113
113
  _viewerContext: ViewerContext,
114
114
  _queryContext: EntityQueryContext,
115
115
  entity: PostgresValidatorTestEntity,
116
- _mutationInfo: EntityMutationInfo<
116
+ _mutationInfo: EntityValidatorMutationInfo<
117
117
  PostgresValidatorTestEntityFields,
118
118
  string,
119
119
  ViewerContext,