@aventara/testing 1.0.0-rc.12 → 1.0.0-rc.13
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @aventara/testing
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [6c3e25c]
|
|
8
|
+
- Updated dependencies [2aaa27d]
|
|
9
|
+
- Updated dependencies [f3b291f]
|
|
10
|
+
- Updated dependencies [2aaa27d]
|
|
11
|
+
- Updated dependencies [e4e8abd]
|
|
12
|
+
- Updated dependencies [e662048]
|
|
13
|
+
- Updated dependencies [f3b291f]
|
|
14
|
+
- Updated dependencies [f3b291f]
|
|
15
|
+
- Updated dependencies [6c3e25c]
|
|
16
|
+
- Updated dependencies [6c3e25c]
|
|
17
|
+
- Updated dependencies [a708188]
|
|
18
|
+
- Updated dependencies [a9260d2]
|
|
19
|
+
- @aventara/core@1.0.0-rc.13
|
|
20
|
+
|
|
3
21
|
## 1.0.0-rc.12
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -40,26 +40,26 @@ export declare const CORPUS_ENTRYPOINT = "/api";
|
|
|
40
40
|
* The corpus ClientContract's hash: what a generated client for it sends as
|
|
41
41
|
* `Aventara-Contract-Hash`. A literal, as a generated client holds it.
|
|
42
42
|
*/
|
|
43
|
-
export declare const CORPUS_CLIENT_CONTRACT_HASH = "sha256:
|
|
43
|
+
export declare const CORPUS_CLIENT_CONTRACT_HASH = "sha256:0212797a88910baf5192aebf183ad01487fba5174a19b8a5c5074ec900aca1e5";
|
|
44
44
|
/**
|
|
45
45
|
* The corpus ClientContract as `GET /_contract` serves it: its JCS-canonical
|
|
46
46
|
* bytes, `protocol.hash` included. A literal, as a host must serve it byte for
|
|
47
47
|
* byte.
|
|
48
48
|
*/
|
|
49
|
-
export declare const CORPUS_CLIENT_CONTRACT_DOCUMENT = "{\"enums\":{},\"limits\":{\"maxAll\":10,\"maxAllConcurrency\":4,\"maxBooleanNodes\":50,\"maxJsonDepth\":64,\"maxListLimit\":250,\"maxNestingDepth\":12,\"maxRequestBytes\":1048576,\"maxTransactionOperations\":20},\"protocol\":{\"hash\":\"sha256:
|
|
49
|
+
export declare const CORPUS_CLIENT_CONTRACT_DOCUMENT = "{\"enums\":{},\"limits\":{\"maxAll\":10,\"maxAllConcurrency\":4,\"maxBooleanNodes\":50,\"maxJsonDepth\":64,\"maxListLimit\":250,\"maxNestingDepth\":12,\"maxRequestBytes\":1048576,\"maxTransactionOperations\":20,\"maxTransactionWrites\":20},\"protocol\":{\"hash\":\"sha256:0212797a88910baf5192aebf183ad01487fba5174a19b8a5c5074ec900aca1e5\",\"version\":1},\"resources\":{\"authors\":{\"fields\":{\"id\":{\"capabilities\":{\"filter\":[\"equals\"],\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"string\"}},\"name\":{\"capabilities\":{\"create\":[],\"filter\":[\"equals\"],\"select\":true,\"update\":[]},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"string\"}}},\"identifiers\":[[\"id\"]],\"operations\":{\"create\":{\"count\":true,\"many\":true,\"one\":true},\"delete\":{\"count\":true,\"first\":true,\"many\":true,\"unique\":true},\"find\":{\"count\":true,\"first\":true,\"many\":true,\"unique\":true},\"update\":{\"count\":true,\"first\":true,\"many\":true,\"unique\":true},\"upsert\":{\"unique\":true}}},\"books\":{\"fields\":{\"authorId\":{\"capabilities\":{\"filter\":[\"equals\"],\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"string\"}},\"id\":{\"capabilities\":{\"filter\":[\"equals\"],\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"string\"}},\"label\":{\"capabilities\":{\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[\"COMPUTED_ON_READ\",\"VIRTUAL\"],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"string\"}}},\"identifiers\":[[\"id\"]],\"operations\":{\"find\":{\"many\":true}}},\"samples\":{\"fields\":{\"amount\":{\"capabilities\":{\"create\":[],\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"decimal\"}},\"at\":{\"capabilities\":{\"create\":[],\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"datetime\"}},\"blob\":{\"capabilities\":{\"create\":[],\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"bytes\"}},\"count\":{\"capabilities\":{\"create\":[],\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"bigint\"}},\"id\":{\"capabilities\":{\"filter\":[\"equals\"],\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"string\"}}},\"identifiers\":[[\"id\"]],\"operations\":{\"create\":{\"one\":true},\"find\":{\"unique\":true}}},\"secrets\":{\"fields\":{\"id\":{\"capabilities\":{\"filter\":[\"equals\"],\"select\":true},\"kind\":\"scalar\",\"lifecycle\":[],\"list\":false,\"nullable\":false,\"type\":{\"scalar\":\"string\"}}},\"identifiers\":[[\"id\"]],\"operations\":{}}},\"scalars\":{\"bigint\":{\"builtin\":true},\"bytes\":{\"builtin\":true},\"datetime\":{\"builtin\":true},\"decimal\":{\"builtin\":true},\"string\":{\"builtin\":true}},\"transactions\":\"interactive\"}";
|
|
50
50
|
/**
|
|
51
51
|
* The hash of the corpus's second ClientContract: the same model and
|
|
52
52
|
* configuration with `transactions: "none"` (the `/_transactions` absence
|
|
53
53
|
* rows). A row targets it by sending this hash, exactly as a client generated
|
|
54
54
|
* against it would.
|
|
55
55
|
*/
|
|
56
|
-
export declare const CORPUS_NONE_CLIENT_CONTRACT_HASH = "sha256:
|
|
56
|
+
export declare const CORPUS_NONE_CLIENT_CONTRACT_HASH = "sha256:b3f1bc9a64bc1d6d8abd5b2e94d8d9dede1681cf5a77a1e209c91d72b0da4536";
|
|
57
57
|
/**
|
|
58
58
|
* The hash of the corpus's third ClientContract: the same model and
|
|
59
59
|
* configuration with the framework's `access` option ({@link CORPUS_ACCESS}),
|
|
60
60
|
* so it carries the `access` section and its `POST /_access/can` route.
|
|
61
61
|
*/
|
|
62
|
-
export declare const CORPUS_ACCESS_CLIENT_CONTRACT_HASH = "sha256:
|
|
62
|
+
export declare const CORPUS_ACCESS_CLIENT_CONTRACT_HASH = "sha256:c3f1ddde034da8da239548dce2fb9e48474841734a0327ca7a36bb65b43252c2";
|
|
63
63
|
/**
|
|
64
64
|
* The hash of the corpus's fourth ClientContract: the same model and
|
|
65
65
|
* configuration with `cache` stages on reads ({@link CORPUS_CACHE_RESOURCES}),
|
|
@@ -67,7 +67,7 @@ export declare const CORPUS_ACCESS_CLIENT_CONTRACT_HASH = "sha256:ee098756b61a20
|
|
|
67
67
|
* targets it by sending this hash as its query's `v`, exactly as a client
|
|
68
68
|
* generated against it would.
|
|
69
69
|
*/
|
|
70
|
-
export declare const CORPUS_CACHE_CLIENT_CONTRACT_HASH = "sha256:
|
|
70
|
+
export declare const CORPUS_CACHE_CLIENT_CONTRACT_HASH = "sha256:c3116f87927df3baa563d117d355deabd21f5a852280d83c943892457ac381bb";
|
|
71
71
|
/** The one record the corpus Adapter knows. */
|
|
72
72
|
export declare const CORPUS_AUTHOR: {
|
|
73
73
|
readonly id: "a1";
|
|
@@ -192,11 +192,11 @@ const CORPUS_CLIENT_CONFIG = {
|
|
|
192
192
|
},
|
|
193
193
|
};
|
|
194
194
|
export const CORPUS_ENTRYPOINT = "/api";
|
|
195
|
-
export const CORPUS_CLIENT_CONTRACT_HASH = "sha256:
|
|
196
|
-
export const CORPUS_CLIENT_CONTRACT_DOCUMENT = '{"enums":{},"limits":{"maxAll":10,"maxAllConcurrency":4,"maxBooleanNodes":50,"maxJsonDepth":64,"maxListLimit":250,"maxNestingDepth":12,"maxRequestBytes":1048576,"maxTransactionOperations":20},"protocol":{"hash":"sha256:
|
|
197
|
-
export const CORPUS_NONE_CLIENT_CONTRACT_HASH = "sha256:
|
|
198
|
-
export const CORPUS_ACCESS_CLIENT_CONTRACT_HASH = "sha256:
|
|
199
|
-
export const CORPUS_CACHE_CLIENT_CONTRACT_HASH = "sha256:
|
|
195
|
+
export const CORPUS_CLIENT_CONTRACT_HASH = "sha256:0212797a88910baf5192aebf183ad01487fba5174a19b8a5c5074ec900aca1e5";
|
|
196
|
+
export const CORPUS_CLIENT_CONTRACT_DOCUMENT = '{"enums":{},"limits":{"maxAll":10,"maxAllConcurrency":4,"maxBooleanNodes":50,"maxJsonDepth":64,"maxListLimit":250,"maxNestingDepth":12,"maxRequestBytes":1048576,"maxTransactionOperations":20,"maxTransactionWrites":20},"protocol":{"hash":"sha256:0212797a88910baf5192aebf183ad01487fba5174a19b8a5c5074ec900aca1e5","version":1},"resources":{"authors":{"fields":{"id":{"capabilities":{"filter":["equals"],"select":true},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"string"}},"name":{"capabilities":{"create":[],"filter":["equals"],"select":true,"update":[]},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"string"}}},"identifiers":[["id"]],"operations":{"create":{"count":true,"many":true,"one":true},"delete":{"count":true,"first":true,"many":true,"unique":true},"find":{"count":true,"first":true,"many":true,"unique":true},"update":{"count":true,"first":true,"many":true,"unique":true},"upsert":{"unique":true}}},"books":{"fields":{"authorId":{"capabilities":{"filter":["equals"],"select":true},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"string"}},"id":{"capabilities":{"filter":["equals"],"select":true},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"string"}},"label":{"capabilities":{"select":true},"kind":"scalar","lifecycle":["COMPUTED_ON_READ","VIRTUAL"],"list":false,"nullable":false,"type":{"scalar":"string"}}},"identifiers":[["id"]],"operations":{"find":{"many":true}}},"samples":{"fields":{"amount":{"capabilities":{"create":[],"select":true},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"decimal"}},"at":{"capabilities":{"create":[],"select":true},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"datetime"}},"blob":{"capabilities":{"create":[],"select":true},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"bytes"}},"count":{"capabilities":{"create":[],"select":true},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"bigint"}},"id":{"capabilities":{"filter":["equals"],"select":true},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"string"}}},"identifiers":[["id"]],"operations":{"create":{"one":true},"find":{"unique":true}}},"secrets":{"fields":{"id":{"capabilities":{"filter":["equals"],"select":true},"kind":"scalar","lifecycle":[],"list":false,"nullable":false,"type":{"scalar":"string"}}},"identifiers":[["id"]],"operations":{}}},"scalars":{"bigint":{"builtin":true},"bytes":{"builtin":true},"datetime":{"builtin":true},"decimal":{"builtin":true},"string":{"builtin":true}},"transactions":"interactive"}';
|
|
197
|
+
export const CORPUS_NONE_CLIENT_CONTRACT_HASH = "sha256:b3f1bc9a64bc1d6d8abd5b2e94d8d9dede1681cf5a77a1e209c91d72b0da4536";
|
|
198
|
+
export const CORPUS_ACCESS_CLIENT_CONTRACT_HASH = "sha256:c3f1ddde034da8da239548dce2fb9e48474841734a0327ca7a36bb65b43252c2";
|
|
199
|
+
export const CORPUS_CACHE_CLIENT_CONTRACT_HASH = "sha256:c3116f87927df3baa563d117d355deabd21f5a852280d83c943892457ac381bb";
|
|
200
200
|
export const CORPUS_AUTHOR = { id: "a1", name: "Ada" };
|
|
201
201
|
export const CORPUS_NOBODY = "nobody";
|
|
202
202
|
const CORPUS_SAMPLE = {
|