@travetto/model 2.2.4 → 3.0.0-rc.2
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 +12 -7
- package/test-support/crud.ts +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/model",
|
|
3
3
|
"displayName": "Data Modeling Support",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0-rc.2",
|
|
5
5
|
"description": "Datastore abstraction for core operations.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"datastore",
|
|
@@ -28,13 +28,18 @@
|
|
|
28
28
|
"directory": "module/model"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@travetto/di": "^
|
|
32
|
-
"@travetto/config": "^
|
|
33
|
-
"@travetto/registry": "^
|
|
34
|
-
"@travetto/schema": "^
|
|
31
|
+
"@travetto/di": "^3.0.0-rc.2",
|
|
32
|
+
"@travetto/config": "^3.0.0-rc.2",
|
|
33
|
+
"@travetto/registry": "^3.0.0-rc.2",
|
|
34
|
+
"@travetto/schema": "^3.0.0-rc.2"
|
|
35
35
|
},
|
|
36
|
-
"
|
|
37
|
-
"@travetto/cli": "^
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"@travetto/cli": "^3.0.0-rc.0"
|
|
38
|
+
},
|
|
39
|
+
"peerDependenciesMeta": {
|
|
40
|
+
"@travetto/cli": {
|
|
41
|
+
"optional": true
|
|
42
|
+
}
|
|
38
43
|
},
|
|
39
44
|
"publishConfig": {
|
|
40
45
|
"access": "public"
|
package/test-support/crud.ts
CHANGED
|
@@ -164,8 +164,8 @@ export abstract class ModelCrudSuite extends BaseModelSuite<ModelCrudSupport> {
|
|
|
164
164
|
simples: [{ name: 'd' }]
|
|
165
165
|
}));
|
|
166
166
|
|
|
167
|
-
assert(o2.names
|
|
168
|
-
assert(o2.simples
|
|
167
|
+
assert.deepStrictEqual(o2.names, ['a', 'd']);
|
|
168
|
+
assert.deepStrictEqual(o2.simples, [SimpleItem.from({ name: 'd' })]);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
@Test('Verify partial update with field removal and lists')
|