@cratis/chronicle 6.68.0 → 6.68.1
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/dist/testing/ConstraintKey.d.ts.map +1 -1
- package/dist/testing/ConstraintKey.js +11 -6
- package/dist/testing/ConstraintKey.js.map +1 -1
- package/dist/testing/MeasuredCaseFolding.d.ts +14 -0
- package/dist/testing/MeasuredCaseFolding.d.ts.map +1 -0
- package/dist/testing/MeasuredCaseFolding.js +17 -0
- package/dist/testing/MeasuredCaseFolding.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/testing/ConstraintKey.ts +11 -7
- package/testing/EventScenario.fixtures.spec.ts +1 -1
- package/testing/MeasuredCaseFolding.ts +22 -0
- package/testing/for_EventScenario/when_appending_case_folded_text/case_folded_text.fixture.ts +160 -0
- package/testing/for_EventScenario/when_appending_case_folded_text/with_case_folded_text.legacy.spec.ts +14 -0
- package/testing/for_EventScenario/when_appending_case_folded_text/with_case_folded_text.standard.spec.ts +13 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConstraintKey.d.ts","sourceRoot":"","sources":["../../testing/ConstraintKey.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ConstraintKey.d.ts","sourceRoot":"","sources":["../../testing/ConstraintKey.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAM3D,KAAK,KAAK,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE,CAAC;AAkF9E,qGAAqG;AACrG,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,aAAa,EAClF,OAAO,EAAE;IAAE,MAAM,CAAC,EAAE,UAAU,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,GAAG,KAAK,GAAG,SAAS,CAW1E"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { createHash } from 'node:crypto';
|
|
4
4
|
import { UnsupportedEventSequenceOperation } from './UnsupportedEventSequenceOperation.js';
|
|
5
5
|
import { isMeasuredNumericFormat, isMeasuredText, measuredNumericKey } from './MeasuredConstraintKeys.js';
|
|
6
|
+
import { isMeasuredCasingShape, isMeasuredCasingText, measuredLowerInvariant } from './MeasuredCaseFolding.js';
|
|
6
7
|
// Only characters captured by the packaged oracle, not every valid event-content character.
|
|
7
8
|
const provenString = /^[A-Za-z0-9 .@_:\-|{}$\u00e9]*$/;
|
|
8
9
|
function guidKey(value, name) {
|
|
@@ -44,14 +45,14 @@ function schemaNumericKey(value, context, format) {
|
|
|
44
45
|
return numericKey(value, { ...context, fractions: context.fractions && [undefined, 'double'].includes(format) });
|
|
45
46
|
}
|
|
46
47
|
function scalarKey(value, context) {
|
|
47
|
-
if (typeof value === 'string' && isSupportedString(value, context
|
|
48
|
+
if (typeof value === 'string' && isSupportedString(value, context))
|
|
48
49
|
return value;
|
|
49
50
|
if (typeof value === 'boolean')
|
|
50
51
|
return value ? 'True' : 'False';
|
|
51
52
|
throw new UnsupportedEventSequenceOperation('artifacts.constraints', context.name, 'Only fixture-backed scalar string and boolean keys are supported.');
|
|
52
53
|
}
|
|
53
|
-
function isSupportedString(value,
|
|
54
|
-
return provenString.test(value) || measured && isMeasuredText(value);
|
|
54
|
+
function isSupportedString(value, context) {
|
|
55
|
+
return provenString.test(value) || context.measured && isMeasuredText(value) || context.casing && isMeasuredCasingText(value);
|
|
55
56
|
}
|
|
56
57
|
function supportsFractions(capture) {
|
|
57
58
|
const unique = capture.uniqueConstraint;
|
|
@@ -65,9 +66,12 @@ function hasPropertyRemovals(capture) {
|
|
|
65
66
|
const unique = capture.uniqueConstraint;
|
|
66
67
|
return unique.removedWithEventTypeId !== undefined || !!unique.removedWithEventTypeIds?.length;
|
|
67
68
|
}
|
|
68
|
-
function normalizedKey(joined, ignoreCasing, name) {
|
|
69
|
+
function normalizedKey(joined, ignoreCasing, name, casing) {
|
|
69
70
|
if (!ignoreCasing)
|
|
70
71
|
return joined;
|
|
72
|
+
// Scalars were admitted by isMeasuredCasingText, so the measured mapping is total for this text.
|
|
73
|
+
if (casing)
|
|
74
|
+
return measuredLowerInvariant(joined);
|
|
71
75
|
// The pinned kernel's ToLowerInvariant is proven only for the existing ASCII domain.
|
|
72
76
|
if (!/^[\x20-\x7e]*$/.test(joined)) {
|
|
73
77
|
throw new UnsupportedEventSequenceOperation('artifacts.constraints', name, 'Case-insensitive keys outside the ASCII key domain are not fixture-backed.');
|
|
@@ -81,10 +85,11 @@ export function claimOf(name, capture, event, options) {
|
|
|
81
85
|
if (properties === undefined)
|
|
82
86
|
return undefined;
|
|
83
87
|
const fractions = options.isolated && supportsFractions(capture);
|
|
84
|
-
const
|
|
88
|
+
const casing = options.isolated && isMeasuredCasingShape(unique, Object.values(capture.scope).some(Boolean), hasPropertyRemovals(capture));
|
|
89
|
+
const context = { name, fractions, measured: fractions && unique.eventDefinitions.length === 1, casing };
|
|
85
90
|
const parts = properties.map(property => ({ property,
|
|
86
91
|
raw: kernelKeyString(event.content[property], context, options.schema?.properties?.[property]) }));
|
|
87
92
|
const joined = parts.map(part => part.raw).join('-');
|
|
88
|
-
return { key: createHash('sha256').update(normalizedKey(joined, unique.ignoreCasing, name)).digest('hex'), parts };
|
|
93
|
+
return { key: createHash('sha256').update(normalizedKey(joined, unique.ignoreCasing, name, casing)).digest('hex'), parts };
|
|
89
94
|
}
|
|
90
95
|
//# sourceMappingURL=ConstraintKey.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConstraintKey.js","sourceRoot":"","sources":["../../testing/ConstraintKey.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAIzC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"ConstraintKey.js","sourceRoot":"","sources":["../../testing/ConstraintKey.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAIzC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAC1G,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAK/G,4FAA4F;AAC5F,MAAM,YAAY,GAAG,iCAAiC,CAAC;AAEvD,SAAS,OAAO,CAAC,KAAc,EAAE,IAAY;IACzC,IAAI,YAAY,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;IACpD,MAAM,IAAI,iCAAiC,CAAC,uBAAuB,EAAE,IAAI,EAAE,2CAA2C,CAAC,CAAC;AAC5H,CAAC;AAED,SAAS,YAAY,CAAC,KAAc;IAChC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,gDAAgD,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACrG,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAa;IACpC,+FAA+F;IAC/F,oGAAoG;IACpG,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,MAAM,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;AACzF,CAAC;AAED,SAAS,UAAU,CAAC,KAAc,EAAE,OAAmB;IACnD,IAAI,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC;QAAE,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACtE,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS;QAC5B,CAAC,CAAC,2JAA2J;QAC7J,CAAC,CAAC,yIAAyI,CAAC;IAChJ,MAAM,IAAI,iCAAiC,CAAC,uBAAuB,EAAE,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAC/F,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAc,EAAE,SAAkB;IACzD,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5C,OAAO,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,SAAS,IAAI,iBAAiB,CAAC,KAAK,CAAC,CAAC;AAChF,CAAC;AAED,SAAS,eAAe,CAAC,KAAc,EAAE,OAAmB,EAAE,MAAmB;IAC7E,IAAI,MAAM,EAAE,MAAM,KAAK,MAAM;QAAE,OAAO,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE,IAAI,MAAM,EAAE,IAAI,KAAK,QAAQ;QAAE,OAAO,gBAAgB,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACtF,OAAO,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACrC,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAc,EAAE,OAAmB,EAAE,MAA0B;IACrF,IAAI,uBAAuB,CAAC,MAAM,CAAC;QAAE,OAAO,kBAAkB,CAAC,KAAK,EAAE,MAAO,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC/G,OAAO,UAAU,CAAC,KAAK,EAAE,EAAE,GAAG,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AACrH,CAAC;AAED,SAAS,SAAS,CAAC,KAAc,EAAE,OAAmB;IAClD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC;QAAE,OAAO,KAAK,CAAC;IACjF,IAAI,OAAO,KAAK,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;IAChE,MAAM,IAAI,iCAAiC,CAAC,uBAAuB,EAAE,OAAO,CAAC,IAAI,EAC7E,mEAAmE,CAAC,CAAC;AAC7E,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAa,EAAE,OAAmB;IACzD,OAAO,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,OAAO,CAAC,QAAQ,IAAI,cAAc,CAAC,KAAK,CAAC,IAAI,OAAO,CAAC,MAAM,IAAI,oBAAoB,CAAC,KAAK,CAAC,CAAC;AAClI,CAAC;AAED,SAAS,iBAAiB,CAAC,OAA0B;IACjD,MAAM,MAAM,GAAG,OAAO,CAAC,gBAAiB,CAAC;IACzC,OAAO,uBAAuB,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC;QACpE,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,uBAAuB,CAAC,OAA0B;IACvD,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAiB,CAAC,YAAY,CAAC;AAClG,CAAC;AAED,SAAS,mBAAmB,CAAC,OAA0B;IACnD,MAAM,MAAM,GAAG,OAAO,CAAC,gBAAiB,CAAC;IACzC,OAAO,MAAM,CAAC,sBAAsB,KAAK,SAAS,IAAI,CAAC,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,CAAC;AACnG,CAAC;AAED,SAAS,aAAa,CAAC,MAAc,EAAE,YAAqB,EAAE,IAAY,EAAE,MAAe;IACvF,IAAI,CAAC,YAAY;QAAE,OAAO,MAAM,CAAC;IACjC,iGAAiG;IACjG,IAAI,MAAM;QAAE,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAClD,qFAAqF;IACrF,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACjC,MAAM,IAAI,iCAAiC,CAAC,uBAAuB,EAAE,IAAI,EACrE,4EAA4E,CAAC,CAAC;IACtF,CAAC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;AAC9F,CAAC;AAED,qGAAqG;AACrG,MAAM,UAAU,OAAO,CAAC,IAAY,EAAE,OAA0B,EAAE,KAAoB,EAClF,OAAmD;IACnD,MAAM,MAAM,GAAG,OAAO,CAAC,gBAAiB,CAAC;IACzC,MAAM,UAAU,GAAG,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,KAAK,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACrH,IAAI,UAAU,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC/C,MAAM,SAAS,GAAG,OAAO,CAAC,QAAQ,IAAI,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACjE,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,IAAI,qBAAqB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3I,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,IAAI,MAAM,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACzG,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,QAAQ;QAChD,GAAG,EAAE,eAAe,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACvG,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACrD,OAAO,EAAE,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;AAC/H,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Text whose .NET lower-invariant mapping was captured by the packaged oracle; no normalization or full folding. */
|
|
2
|
+
export declare function isMeasuredCasingText(value: string): boolean;
|
|
3
|
+
/** Applies the measured lower-invariant mapping: ASCII letters and U+00C9 only; ß, ø and U+0301 map to themselves. */
|
|
4
|
+
export declare function measuredLowerInvariant(value: string): string;
|
|
5
|
+
type CasingDefinition = {
|
|
6
|
+
ignoreCasing: boolean;
|
|
7
|
+
eventDefinitions: ReadonlyArray<{
|
|
8
|
+
properties: readonly unknown[];
|
|
9
|
+
}>;
|
|
10
|
+
};
|
|
11
|
+
/** The isolated, unscoped, single-property, removal-free ignoreCasing definition measured for non-ASCII text. */
|
|
12
|
+
export declare function isMeasuredCasingShape(unique: CasingDefinition, scoped: boolean, removable: boolean): boolean;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=MeasuredCaseFolding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MeasuredCaseFolding.d.ts","sourceRoot":"","sources":["../../testing/MeasuredCaseFolding.ts"],"names":[],"mappings":"AAQA,qHAAqH;AACrH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAA2C;AAEvG,sHAAsH;AACtH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED,KAAK,gBAAgB,GAAG;IAAE,YAAY,EAAE,OAAO,CAAC;IAAC,gBAAgB,EAAE,aAAa,CAAC;QAAE,UAAU,EAAE,SAAS,OAAO,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,CAAC;AAEvH,iHAAiH;AACjH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,GAAG,OAAO,CAE5G"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
// constraints-ignore-casing-measurements.json: the kernel applies string.ToLowerInvariant to the joined key text.
|
|
4
|
+
// Only these five non-ASCII scalars are measured; neighbours such as Ø, È or U+0302 are not admitted by resemblance.
|
|
5
|
+
// The unicode flag matches whole scalars, so a lone or reversed surrogate never matches.
|
|
6
|
+
const measuredCasingText = /^[A-Za-z0-9 .@_:\-|{}$\u00c9\u00df\u00e9\u00f8\u0301]*$/u;
|
|
7
|
+
/** Text whose .NET lower-invariant mapping was captured by the packaged oracle; no normalization or full folding. */
|
|
8
|
+
export function isMeasuredCasingText(value) { return measuredCasingText.test(value); }
|
|
9
|
+
/** Applies the measured lower-invariant mapping: ASCII letters and U+00C9 only; ß, ø and U+0301 map to themselves. */
|
|
10
|
+
export function measuredLowerInvariant(value) {
|
|
11
|
+
return value.replace(/[A-Z\u00c9]/g, letter => letter === '\u00c9' ? '\u00e9' : String.fromCharCode(letter.charCodeAt(0) + 32));
|
|
12
|
+
}
|
|
13
|
+
/** The isolated, unscoped, single-property, removal-free ignoreCasing definition measured for non-ASCII text. */
|
|
14
|
+
export function isMeasuredCasingShape(unique, scoped, removable) {
|
|
15
|
+
return unique.ignoreCasing && !scoped && !removable && unique.eventDefinitions.length === 1 && unique.eventDefinitions[0].properties.length === 1;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=MeasuredCaseFolding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MeasuredCaseFolding.js","sourceRoot":"","sources":["../../testing/MeasuredCaseFolding.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,kHAAkH;AAClH,qHAAqH;AACrH,yFAAyF;AACzF,MAAM,kBAAkB,GAAG,0DAA0D,CAAC;AAEtF,qHAAqH;AACrH,MAAM,UAAU,oBAAoB,CAAC,KAAa,IAAa,OAAO,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAEvG,sHAAsH;AACtH,MAAM,UAAU,sBAAsB,CAAC,KAAa;IAChD,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;AACpI,CAAC;AAID,iHAAiH;AACjH,MAAM,UAAU,qBAAqB,CAAC,MAAwB,EAAE,MAAe,EAAE,SAAkB;IAC/F,OAAO,MAAM,CAAC,YAAY,IAAI,CAAC,MAAM,IAAI,CAAC,SAAS,IAAI,MAAM,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,CAAC;AACtJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"7.0.2","root":["../ArtifactRegistrationResult.ts","../ChronicleClient.ts","../ChronicleOptions.ts","../EventStore.ts","../EventStoreName.ts","../EventStoreNamespaceName.ts","../EventStoreNamespaceResolver.ts","../IChronicleClient.ts","../IEventStore.ts","../Metrics.ts","../Tracing.ts","../WellKnownTelemetryNames.ts","../index.ts","../artifacts/ActivatedArtifact.ts","../artifacts/ArtifactActivationContext.ts","../artifacts/ArtifactCompletionFailed.ts","../artifacts/ArtifactDelivery.ts","../artifacts/ArtifactInvocationContext.ts","../artifacts/ArtifactKind.ts","../artifacts/ArtifactRegistrationAttempt.ts","../artifacts/ClientArtifactsActivator.ts","../artifacts/DefaultClientArtifactsProvider.ts","../artifacts/IClientArtifactsProvider.ts","../artifacts/index.ts","../artifacts/refuseClientHostedObservers.ts","../artifacts/validateArtifactSchemas.ts","../artifacts/withActivatedArtifact.ts","../auditing/Causation.ts","../auditing/CausationManager.ts","../auditing/CausationType.ts","../auditing/ICausationManager.ts","../auditing/index.ts","../compliance/ComplianceContracts.ts","../compliance/ComplianceMetadata.ts","../compliance/ComplianceMetadataResolver.ts","../compliance/ComplianceMetadataType.ts","../compliance/IPIIManager.ts","../compliance/PIIManager.ts","../compliance/PIINotSupportedOnEventSourceId.ts","../compliance/index.ts","../compliance/pii.ts","../compliance/resolveEventSubject.ts","../compliance/subject.ts","../confidentiality/EncryptedNotSupportedOnEventSourceId.ts","../confidentiality/EncryptionScope.ts","../confidentiality/PIIAndEncryptedCombinedNotSupported.ts","../confidentiality/SecurityMetadata.ts","../confidentiality/SecurityMetadataResolver.ts","../confidentiality/SecurityMetadataType.ts","../confidentiality/encrypted.ts","../confidentiality/index.ts","../connection/ChronicleConnection.ts","../connection/ChronicleConnectionString.ts","../connection/ChronicleServerAddressResolver.ts","../connection/ChronicleServices.ts","../connection/ChronicleSrvResolutionError.ts","../connection/ChronicleSrvResolver.ts","../connection/ChronicleTlsMaterial.ts","../connection/ClientObserversRequireKeepAlive.ts","../connection/CompatibilityPreflight.ts","../connection/ConnectionLifecycle.ts","../connection/DateTimeOffset.ts","../connection/Guid.ts","../connection/ILoadBalancerStrategy.ts","../connection/IncompatibleChronicleServer.ts","../connection/KernelKeepAlive.ts","../connection/LeastConnectionsLoadBalancerStrategy.ts","../connection/LoadBalancerMode.ts","../connection/LoadBalancerStrategyFactory.ts","../connection/RandomLoadBalancerStrategy.ts","../connection/RejectedChronicleCredentials.ts","../connection/RoundRobinLoadBalancerStrategy.ts","../connection/TokenProvider.ts","../connection/TraceContextMiddleware.ts","../connection/callResults.ts","../connection/clientVersion.ts","../connection/encodeExplicitFalse.ts","../connection/fetchOAuthAccessToken.ts","../connection/formatServerAddress.ts","../connection/index.ts","../connection/for_encodeExplicitFalse/wireFields.ts","../correlation/CorrelationId.ts","../correlation/CorrelationIdManager.ts","../correlation/ICorrelationIdAccessor.ts","../correlation/ICorrelationIdSetter.ts","../correlation/index.ts","../eventSequences/AppendError.ts","../eventSequences/AppendOperationsBroadcaster.ts","../eventSequences/AppendOptions.ts","../eventSequences/AppendResult.ts","../eventSequences/AppendedEventWithResult.ts","../eventSequences/CompensateOptions.ts","../eventSequences/CompleteStreamError.ts","../eventSequences/CompleteStreamResult.ts","../eventSequences/ConcurrencyScope.ts","../eventSequences/ConcurrencyViolation.ts","../eventSequences/ConstraintViolation.ts","../eventSequences/EventEnrichmentContext.ts","../eventSequences/EventEnrichmentProvider.ts","../eventSequences/EventForEventSourceId.ts","../eventSequences/EventLog.ts","../eventSequences/EventSequence.ts","../eventSequences/EventSequenceId.ts","../eventSequences/EventSequenceNumber.ts","../eventSequences/IEventLog.ts","../eventSequences/IEventSequence.ts","../eventSequences/ITransactionalEventSequence.ts","../eventSequences/NamedTagsWithRegisteredEventSourceNotSupported.ts","../eventSequences/PreparedBatchAppend.ts","../eventSequences/PreparedSingleAppend.ts","../eventSequences/TransactionalEventSequence.ts","../eventSequences/WaitForCompletionOptions.ts","../eventSequences/WaitForCompletionResult.ts","../eventSequences/WireBatchEvent.ts","../eventSequences/createAppendNotification.ts","../eventSequences/createAppendResult.ts","../eventSequences/enrichEventContent.ts","../eventSequences/ensureNamedTagBatchIsSupported.ts","../eventSequences/index.ts","../eventSequences/prepareBatchAppend.ts","../eventSequences/prepareSingleAppend.ts","../eventSequences/resolveEventSourceRouting.ts","../eventSequences/toContractsCausation.ts","../eventSources/ConcurrencyDimensions.ts","../eventSources/DuplicateEventSourceName.ts","../eventSources/DuplicateEventStreamName.ts","../eventSources/EventRoutingContradictsEventSource.ts","../eventSources/EventSourceDefinition.ts","../eventSources/EventSources.ts","../eventSources/EventStreamDefinition.ts","../eventSources/EventStreamDoesNotBelongToEventSource.ts","../eventSources/EventStreamRequiresEventSource.ts","../eventSources/IEventSources.ts","../eventSources/ResolvedEventRouting.ts","../eventSources/UnknownEventSource.ts","../eventSources/eventSource.ts","../eventSources/index.ts","../eventStoreSubscriptions/EventStoreSubscriptionBuilder.ts","../eventStoreSubscriptions/EventStoreSubscriptionDefinition.ts","../eventStoreSubscriptions/EventStoreSubscriptionId.ts","../eventStoreSubscriptions/EventStoreSubscriptions.ts","../eventStoreSubscriptions/IEventStoreSubscriptionBuilder.ts","../eventStoreSubscriptions/IEventStoreSubscriptions.ts","../eventStoreSubscriptions/contracts.ts","../eventStoreSubscriptions/index.ts","../events/AppendedEvent.ts","../events/CausationEntry.ts","../events/EventContext.ts","../events/EventType.ts","../events/EventTypeGeneration.ts","../events/EventTypeId.ts","../events/EventTypes.ts","../events/IEventTypes.ts","../events/InvalidNamedTag.ts","../events/NamedTag.ts","../events/Tag.ts","../events/WireEventContext.ts","../events/compensationForDecorator.ts","../events/eventSourceTypeDecorator.ts","../events/eventStreamTypeDecorator.ts","../events/eventTypeDecorator.ts","../events/filterEventsByTagDecorator.ts","../events/handles.ts","../events/index.ts","../events/isRegisteredEvent.ts","../events/mergeNamedTags.ts","../events/mergeTags.ts","../events/tagDecorator.ts","../events/toClientEventContext.ts","../events/constraints/ConstraintBuilder.ts","../events/constraints/ConstraintEventSequences.ts","../events/constraints/ConstraintId.ts","../events/constraints/Constraints.ts","../events/constraints/IConstraint.ts","../events/constraints/IConstraintBuilder.ts","../events/constraints/IConstraints.ts","../events/constraints/IUniqueConstraintBuilder.ts","../events/constraints/UniqueConstraintBuilder.ts","../events/constraints/UniqueOptions.ts","../events/constraints/constraint.ts","../events/constraints/index.ts","../events/constraints/removeConstraint.ts","../events/constraints/unique.ts","../events/constraints/for_Constraints/when_scoping_to_event_sequences/given/registered_constraints.ts","../events/migrations/EventMigrationBuilder.ts","../events/migrations/EventMigrationPropertyBuilder.ts","../events/migrations/EventTypeMigrators.ts","../events/migrations/IEventMigrationBuilder.ts","../events/migrations/IEventMigrationPropertyBuilder.ts","../events/migrations/IEventTypeMigration.ts","../events/migrations/IEventTypeMigrators.ts","../events/migrations/InvalidMigrationGenerationGap.ts","../events/migrations/eventTypeMigration.ts","../events/migrations/index.ts","../externalServices/ExternalServiceBuilder.ts","../externalServices/ExternalServices.ts","../externalServices/IExternalServiceBuilder.ts","../externalServices/IExternalServices.ts","../externalServices/index.ts","../for_ChronicleClient/when_skipping_keep_alive/native-exit-probe.ts","../for_EventStore/when_inspecting_registration/given/an_event_store.ts","../identities/IIdentityManager.ts","../identities/IdentityManager.ts","../identities/index.ts","../identity/IIdentityProvider.ts","../identity/Identity.ts","../identity/IdentityProvider.ts","../identity/index.ts","../imports/EventImport.ts","../imports/EventImportSettings.ts","../imports/IEventImport.ts","../imports/ImportChunkRefused.ts","../imports/ImportCouldNotBegin.ts","../imports/ImportOptions.ts","../imports/ImportProgress.ts","../imports/ImportRejection.ts","../imports/ImportResult.ts","../imports/ImportState.ts","../imports/ImportTarget.ts","../imports/ImportWasAbandoned.ts","../imports/ImportsNotSupported.ts","../imports/OnInvalidEvent.ts","../imports/abortable.ts","../imports/beginEventImport.ts","../imports/importEvents.ts","../imports/index.ts","../imports/isTransientImportFailure.ts","../imports/sizeOfImportEvent.ts","../imports/toImportEvent.ts","../imports/toImportProgress.ts","../imports/toImportResult.ts","../imports/for_EventImport/given/a_kernel_import_session.ts","../jobs/IJobs.ts","../jobs/JobId.ts","../jobs/Jobs.ts","../jobs/index.ts","../logging/ChronicleLogEntry.ts","../logging/ChronicleLogLevel.ts","../logging/DiagChronicleLogger.ts","../logging/IChronicleLogger.ts","../logging/createLogger.ts","../observation/EventHandler.ts","../observation/FailedPartition.ts","../observation/FailedPartitionAttempt.ts","../observation/FailedPartitions.ts","../observation/FastForwardOutcome.ts","../observation/FastForwardResult.ts","../observation/ICanBeNotifiedWhenPartitionReplayed.ts","../observation/ICanBeNotifiedWhenReplay.ts","../observation/IFailedPartitions.ts","../observation/IObservers.ts","../observation/ObservationReconnectBackoff.ts","../observation/ObservationStreamOutcome.ts","../observation/ObserverId.ts","../observation/ObserverInformation.ts","../observation/ObserverRemovalOutcome.ts","../observation/ObserverRemovalResult.ts","../observation/ObserverRunningState.ts","../observation/ObserverType.ts","../observation/Observers.ts","../observation/classifyStreamError.ts","../observation/createHandlerInstanceValidator.ts","../observation/getEventHandlers.ts","../observation/getInstanceMethods.ts","../observation/index.ts","../observation/notifyReplayLifecycle.ts","../observation/toClientFailedPartition.ts","../observation/toFastForwardResult.ts","../observation/toObserverInformation.ts","../observation/toObserverRemovalResult.ts","../observation/toObserverRunningState.ts","../observation/batches/BatchContext.ts","../observation/batches/BatchContextObserver.ts","../observation/batches/BatchContextValues.ts","../observation/batches/BatchMethod.ts","../observation/batches/BatchMethodReturnedAValue.ts","../observation/batches/BatchMethods.ts","../observation/batches/BatchOutcome.ts","../observation/batches/BatchOutcomeKind.ts","../observation/batches/DeferralNotSupportedByKernel.ts","../observation/batches/DeliveredPartition.ts","../observation/batches/EventAndContext.ts","../observation/batches/EventBatch.ts","../observation/batches/EventTypeObservedByMoreThanOneMethod.ts","../observation/batches/InvalidBatchMethod.ts","../observation/batches/ObservationOrigin.ts","../observation/batches/ObservedEventType.ts","../observation/batches/PageMessages.ts","../observation/batches/PartitionFailedInBatch.ts","../observation/batches/PartitionNotInBatch.ts","../observation/batches/PartitionOutcome.ts","../observation/batches/PartitionProblem.ts","../observation/batches/PartitionSettlement.ts","../observation/batches/ReducerMixesBatchAndPerEventMethods.ts","../observation/batches/batchSize.ts","../observation/batches/createBatchContext.ts","../observation/batches/observes.ts","../observation/batches/runConcurrently.ts","../observation/for_ObservationReconnectBackoff/given/a_backoff.ts","../observation/for_ObservationReconnectBackoff/given/a_scripted_stream.ts","../patterns/BehaviorPattern.ts","../patterns/DayOfWeek.ts","../patterns/FacetName.ts","../patterns/FacetSet.ts","../patterns/IPatterns.ts","../patterns/PatternMoment.ts","../patterns/PatternQueryOptions.ts","../patterns/Patterns.ts","../patterns/PatternsAtOptions.ts","../patterns/TimeBucket.ts","../patterns/index.ts","../patterns/toBehaviorPattern.ts","../patterns/toDayOfWeek.ts","../patterns/toOffsetDate.ts","../patterns/toTimeBucket.ts","../projections/ChildrenOrderingNotSupportedByContracts.ts","../projections/CompiledProjectionDefinitions.ts","../projections/GlobalHandlerPropertyNotOnVariant.ts","../projections/IProjections.ts","../projections/InvalidCausedByProperty.ts","../projections/InvalidEventContextPropertyError.ts","../projections/ProjectionCapabilityProvenance.ts","../projections/ProjectionDefinitionCompiler.ts","../projections/ProjectionEventSchema.ts","../projections/ProjectionId.ts","../projections/ProjectionQueryResult.ts","../projections/ProjectionState.ts","../projections/Projections.ts","../projections/ResolvedModelBoundMetadata.ts","../projections/UnableToQueryProjection.ts","../projections/VariantMustDeclareEntersOnEvent.ts","../projections/VariantReclassifier.ts","../projections/canonicalStringify.ts","../projections/captureProjectionProvenance.ts","../projections/causedBy.ts","../projections/childrenOrdering.ts","../projections/childrenOrderingSupport.ts","../projections/constantValueExpression.ts","../projections/eventContextPropertyExpression.ts","../projections/eventContractPath.ts","../projections/index.ts","../projections/invalidEventContextPropertyInProjection.ts","../projections/notSetPropertyPath.ts","../projections/propertyExpressions.ts","../projections/registerProjectionWithRetry.ts","../projections/declarative/AddBuilder.ts","../projections/declarative/AddChildBuilder.ts","../projections/declarative/AllSetBuilder.ts","../projections/declarative/ChildrenBuilder.ts","../projections/declarative/ChildrenOrderingAlreadyDefined.ts","../projections/declarative/CompositeKeyBuilder.ts","../projections/declarative/DictionaryKey.ts","../projections/declarative/FromAllBuilder.ts","../projections/declarative/FromBuilder.ts","../projections/declarative/FromEveryBuilder.ts","../projections/declarative/IAddBuilder.ts","../projections/declarative/IAddChildBuilder.ts","../projections/declarative/IAllSetBuilder.ts","../projections/declarative/IChildrenBuilder.ts","../projections/declarative/ICompositeKeyBuilder.ts","../projections/declarative/ICompositeKeySetBuilder.ts","../projections/declarative/IFromAllBuilder.ts","../projections/declarative/IFromBuilder.ts","../projections/declarative/IFromEveryBuilder.ts","../projections/declarative/IJoinBuilder.ts","../projections/declarative/INestedBuilder.ts","../projections/declarative/IProjectionBuilder.ts","../projections/declarative/IProjectionBuilderFor.ts","../projections/declarative/IProjectionFor.ts","../projections/declarative/IReadModelPropertiesBuilder.ts","../projections/declarative/IRemovedWithBuilder.ts","../projections/declarative/IRemovedWithJoinBuilder.ts","../projections/declarative/ISetBuilder.ts","../projections/declarative/ISubtractBuilder.ts","../projections/declarative/InvalidDictionaryKey.ts","../projections/declarative/JoinBuilder.ts","../projections/declarative/NestedBuilder.ts","../projections/declarative/ProjectionBuilderCore.ts","../projections/declarative/ProjectionBuilderFor.ts","../projections/declarative/RemovedWithBuilder.ts","../projections/declarative/RemovedWithJoinBuilder.ts","../projections/declarative/SetBuilder.ts","../projections/declarative/SubtractBuilder.ts","../projections/declarative/index.ts","../projections/declarative/projection.ts","../projections/declarative/projectionBuilderProvenance.ts","../projections/for_Graphs/given/a_discovered_graph.ts","../projections/for_Graphs/given/a_fake_connection.ts","../projections/for_Graphs/given/a_graph_with_views.ts","../projections/for_Graphs/given/organization.ts","../projections/for_ProjectionDefinitionCompiler/given/compile_model_bound.ts","../projections/graphs/EdgeCanHaveOnlyOneIdentifyingKey.ts","../projections/graphs/EdgeMustHaveOneSourceAndOneTarget.ts","../projections/graphs/GraphDeclaredMoreThanOnce.ts","../projections/graphs/GraphDefinitionBuilder.ts","../projections/graphs/GraphEdgeBuilder.ts","../projections/graphs/GraphEdgeFromBuilder.ts","../projections/graphs/GraphEdgeFromModel.ts","../projections/graphs/GraphEdgeModel.ts","../projections/graphs/GraphEdgeRemovedWithBuilder.ts","../projections/graphs/GraphEdgeRemovedWithModel.ts","../projections/graphs/GraphElementCannotBeReadModel.ts","../projections/graphs/GraphHasDuplicateElement.ts","../projections/graphs/GraphKeyPropertyNotFound.ts","../projections/graphs/GraphMappingBuilder.ts","../projections/graphs/GraphMemberMappings.ts","../projections/graphs/GraphModel.ts","../projections/graphs/GraphNameRequired.ts","../projections/graphs/GraphNodeBuilder.ts","../projections/graphs/GraphNodeFromBuilder.ts","../projections/graphs/GraphNodeFromModel.ts","../projections/graphs/GraphNodeModel.ts","../projections/graphs/GraphNodeRemovedWithBuilder.ts","../projections/graphs/GraphNodeRemovedWithModel.ts","../projections/graphs/GraphProjectionBuilder.ts","../projections/graphs/GraphRegistration.ts","../projections/graphs/GraphSchemaWriter.ts","../projections/graphs/Graphs.ts","../projections/graphs/IGraphEdgeBuilder.ts","../projections/graphs/IGraphEdgeFromBuilder.ts","../projections/graphs/IGraphEdgeRemovedWithBuilder.ts","../projections/graphs/IGraphMappingBuilder.ts","../projections/graphs/IGraphNodeBuilder.ts","../projections/graphs/IGraphNodeFromBuilder.ts","../projections/graphs/IGraphNodeRemovedWithBuilder.ts","../projections/graphs/IGraphProjection.ts","../projections/graphs/IGraphProjectionBuilder.ts","../projections/graphs/IGraphs.ts","../projections/graphs/ModelBoundGraphReader.ts","../projections/graphs/NestedObjectInGraph.ts","../projections/graphs/NodeMustHaveExactlyOneKey.ts","../projections/graphs/SetOnceNotSupportedInGraph.ts","../projections/graphs/UnknownGraphEventProperty.ts","../projections/graphs/UnknownGraphNode.ts","../projections/graphs/edge.ts","../projections/graphs/edgeFrom.ts","../projections/graphs/edgeRemovedWith.ts","../projections/graphs/edgeSource.ts","../projections/graphs/edgeTarget.ts","../projections/graphs/graph.ts","../projections/graphs/graphKey.ts","../projections/graphs/graphProjection.ts","../projections/graphs/index.ts","../projections/graphs/isGraphElement.ts","../projections/graphs/node.ts","../projections/graphs/nodeFrom.ts","../projections/graphs/nodeRemovedWith.ts","../projections/graphs/propertyPathOf.ts","../projections/graphs/views/AmbiguousDirection.ts","../projections/graphs/views/DuplicateViewName.ts","../projections/graphs/views/EdgeNotIncidentOnRoot.ts","../projections/graphs/views/EdgePropertyViewNotUsedAsTarget.ts","../projections/graphs/views/EdgePropertyViewSharedAcrossEdges.ts","../projections/graphs/views/FollowsOptions.ts","../projections/graphs/views/GraphEdgeDirection.ts","../projections/graphs/views/GraphView.ts","../projections/graphs/views/GraphViewBuildResult.ts","../projections/graphs/views/GraphViewCardinality.ts","../projections/graphs/views/GraphViewDefinition.ts","../projections/graphs/views/GraphViewDefinitionBuilder.ts","../projections/graphs/views/GraphViewDefinitionSerializer.ts","../projections/graphs/views/GraphViewEdgeReference.ts","../projections/graphs/views/GraphViewMember.ts","../projections/graphs/views/GraphViewMemberKind.ts","../projections/graphs/views/GraphViewMemberMetadata.ts","../projections/graphs/views/GraphViewPropertyMember.ts","../projections/graphs/views/GraphViewReason.ts","../projections/graphs/views/GraphViewRelationMember.ts","../projections/graphs/views/GraphViewSchema.ts","../projections/graphs/views/GraphViewSchemaEdge.ts","../projections/graphs/views/GraphViewSchemaNode.ts","../projections/graphs/views/GraphViewSerializerOptions.ts","../projections/graphs/views/RecursiveView.ts","../projections/graphs/views/RelationTargetNotAView.ts","../projections/graphs/views/TargetLabelMismatch.ts","../projections/graphs/views/UnknownEdge.ts","../projections/graphs/views/UnknownEdgeProperty.ts","../projections/graphs/views/UnknownNodeProperty.ts","../projections/graphs/views/ViewIsAlsoSchema.ts","../projections/graphs/views/ViewOfMetadata.ts","../projections/graphs/views/ViewOfOptions.ts","../projections/graphs/views/ViewRootNotANode.ts","../projections/graphs/views/declareGraphViewMember.ts","../projections/graphs/views/follows.ts","../projections/graphs/views/fromEdge.ts","../projections/graphs/views/index.ts","../projections/graphs/views/viewKey.ts","../projections/graphs/views/viewOf.ts","../projections/graphs/views/viewProperty.ts","../projections/modelBound/ConflictingChildrenOrdering.ts","../projections/modelBound/FromAllEventsMetadata.ts","../projections/modelBound/FromEventMetadata.ts","../projections/modelBound/FromEventOptions.ts","../projections/modelBound/addFrom.ts","../projections/modelBound/childrenAndNestedBuilder.ts","../projections/modelBound/childrenFrom.ts","../projections/modelBound/clearWith.ts","../projections/modelBound/count.ts","../projections/modelBound/decrement.ts","../projections/modelBound/entersOn.ts","../projections/modelBound/eventSequence.ts","../projections/modelBound/fromAll.ts","../projections/modelBound/fromAllEvents.ts","../projections/modelBound/fromEvent.ts","../projections/modelBound/fromEvery.ts","../projections/modelBound/globalFor.ts","../projections/modelBound/increment.ts","../projections/modelBound/index.ts","../projections/modelBound/isModelBoundProjection.ts","../projections/modelBound/join.ts","../projections/modelBound/nested.ts","../projections/modelBound/noAutoMap.ts","../projections/modelBound/notRewindable.ts","../projections/modelBound/passive.ts","../projections/modelBound/removedWith.ts","../projections/modelBound/removedWithJoin.ts","../projections/modelBound/setFrom.ts","../projections/modelBound/setFromContext.ts","../projections/modelBound/setValue.ts","../projections/modelBound/subtractFrom.ts","../projections/modelBound/variantOf.ts","../reactors/IReactors.ts","../reactors/ReactorDelivery.ts","../reactors/ReactorDispatcher.ts","../reactors/ReactorId.ts","../reactors/ReactorObservationTarget.ts","../reactors/ReactorPageDispatcher.ts","../reactors/ReactorResultHandler.ts","../reactors/ReactorServices.ts","../reactors/ReactorSideEffects.ts","../reactors/Reactors.ts","../reactors/index.ts","../reactors/onceOnly.ts","../reactors/reactor.ts","../reactors/replay.ts","../reactors/startAtTail.ts","../reactors/for_Reactors/given/deliver_to_reactor.ts","../reactors/for_Reactors/given/observe_reactor_messages.ts","../reactors/for_Reactors/when_reconnecting_the_observation_stream/given/a_reactor_whose_stream_ends.ts","../readModels/IMaterializedReadModels.ts","../readModels/IReadModelWatcher.ts","../readModels/IReadModels.ts","../readModels/MaterializedReadModels.ts","../readModels/ReadModelChangeContext.ts","../readModels/ReadModelChangeType.ts","../readModels/ReadModelChangeset.ts","../readModels/ReadModelId.ts","../readModels/ReadModelNamingPolicy.ts","../readModels/ReadModelSnapshot.ts","../readModels/ReadModelSubjectResolver.ts","../readModels/ReadModelWatchOptions.ts","../readModels/ReadModelWatcher.ts","../readModels/ReadModels.ts","../readModels/assertUniqueReadModelIds.ts","../readModels/buildReadModelDefinition.ts","../readModels/deserializeReadModel.ts","../readModels/index.ts","../readModels/indexDecorator.ts","../readModels/readModel.ts","../readModels/rootReadModelTypes.ts","../readModels/for_ReadModelNamingPolicy/given/registered_read_models.ts","../readModels/for_ReadModelWatcher/given/a_kernel_stream.ts","../readModels/for_ReadModelWatcher/given/a_watched_read_model.ts","../readModels/for_ReadModels/given/Book.ts","../readModels/for_ReadModels/given/BookBorrowed.ts","../readModels/for_ReadModels/given/BookRegistered.ts","../readModels/for_ReadModels/given/BookReturned.ts","../readModels/for_ReadModels/given/a_stored_read_model.ts","../readModels/for_deserializeReadModel/given/Address.ts","../readModels/for_deserializeReadModel/given/a_read_model_with_defaults.ts","../reducers/IReducers.ts","../reducers/ReducerEventDispatcher.ts","../reducers/ReducerEventHandler.ts","../reducers/ReducerId.ts","../reducers/ReducerObservation.ts","../reducers/ReducerObservationSession.ts","../reducers/Reducers.ts","../reducers/ReductionOutcome.ts","../reducers/index.ts","../reducers/reducer.ts","../reducers/for_Reducers/given/observe_reducer_messages.ts","../reducers/for_Reducers/when_reconnecting_the_observation_stream/given/a_reducer_whose_stream_ends.ts","../schemas/JsonSchema.ts","../schemas/JsonSchemaGenerator.ts","../schemas/createDeferredSchema.ts","../schemas/index.ts","../schemas/jsonSchemaProperty.ts","../seeding/EventSeeding.ts","../seeding/ICanSeedEvents.ts","../seeding/IEventSeeding.ts","../seeding/IEventSeedingBuilder.ts","../seeding/IEventSeedingScopeBuilder.ts","../seeding/index.ts","../seeding/seeder.ts","../sinks/WellKnownSinks.ts","../sinks/index.ts","../telemetry/ChronicleTelemetryOptions.ts","../telemetry/observeOperation.ts","../telemetry/runInBackgroundContext.ts","../telemetry/spanAttributes.ts","../testing/BatchPartitionOutcome.ts","../testing/ConstraintKey.ts","../testing/ConstraintScope.ts","../testing/EventFieldSchema.ts","../testing/EventScenario.ts","../testing/EventScenarioGiven.ts","../testing/EventScenarioGivenBuilder.ts","../testing/EventScenarioOptions.ts","../testing/EventScenarioSeed.ts","../testing/EventScenarioWhen.ts","../testing/EventScenarioWhenBuilder.ts","../testing/EventTypeConstraintClaims.ts","../testing/IReadModelProcessor.ts","../testing/InProcessAppendMetadata.ts","../testing/InProcessBatchAppend.ts","../testing/InProcessConstraints.ts","../testing/InProcessEventPayload.ts","../testing/InProcessEventReadCriteria.ts","../testing/InProcessEventReadFilter.ts","../testing/InProcessEventSequence.ts","../testing/InProcessEventSequenceEnvironment.ts","../testing/InProcessSingleAppend.ts","../testing/KernelTextHash.ts","../testing/MeasuredConstraintKeys.ts","../testing/PropertyConstraintClaims.ts","../testing/PropertyDefinitionSupport.ts","../testing/ReactorDeliveryResult.ts","../testing/ReactorScenario.ts","../testing/ReactorScenarioOptions.ts","../testing/ReadModelScenario.ts","../testing/ReadModelScenarioGiven.ts","../testing/ReadModelScenarioGivenBuilder.ts","../testing/ReadModelState.ts","../testing/RecordedReactorSideEffect.ts","../testing/ReducerReadModelProcessor.ts","../testing/ScenarioEvent.ts","../testing/UnsupportedEventSequenceOperation.ts","../testing/UnsupportedReactorOperation.ts","../testing/UnsupportedReducerOperation.ts","../testing/deliverToBatchMethods.ts","../testing/index.ts","../testing/singleAppendRoute.ts","../testing/projections/ProjectionArithmetic.ts","../testing/projections/ProjectionCapabilities.ts","../testing/projections/ProjectionCapabilityReject.ts","../testing/projections/ProjectionCapabilityReporter.ts","../testing/projections/ProjectionChildrenCapabilities.ts","../testing/projections/ProjectionDefinitionCapabilities.ts","../testing/projections/ProjectionEventSchemaResolver.ts","../testing/projections/ProjectionExpressionCapabilities.ts","../testing/projections/ProjectionExpressionEvaluator.ts","../testing/projections/ProjectionInitialValueCapabilities.ts","../testing/projections/ProjectionJoinRecord.ts","../testing/projections/ProjectionJoinValidationContext.ts","../testing/projections/ProjectionJoins.ts","../testing/projections/ProjectionJoinsCapabilities.ts","../testing/projections/ProjectionMappingCapabilities.ts","../testing/projections/ProjectionMappingValidation.ts","../testing/projections/ProjectionReadModelCapabilities.ts","../testing/projections/ProjectionReadModelProcessor.ts","../testing/projections/ProjectionRootCapabilities.ts","../testing/projections/ProjectionScalarConverter.ts","../testing/projections/ProjectionSchemaCapabilities.ts","../testing/projections/ProjectionValueConverter.ts","../testing/projections/UnsupportedProjectionOperation.ts","../testing/projections/for_ProjectionCapabilities/given/Changed.ts","../testing/projections/for_ProjectionCapabilities/given/Model.ts","../testing/projections/for_ProjectionCapabilities/given/Removed.ts","../testing/projections/for_ProjectionCapabilities/given/compile.ts","../transactions/AppendOptionNotSupportedInUnitOfWork.ts","../transactions/ConflictingAppendOptionNamesInUnitOfWork.ts","../transactions/ConflictingConcurrencyScopesInUnitOfWork.ts","../transactions/IUnitOfWork.ts","../transactions/IUnitOfWorkManager.ts","../transactions/NoUnitOfWorkHasBeenStarted.ts","../transactions/TransactionalAppendOptions.ts","../transactions/TransactionalEventRouting.ts","../transactions/UnitOfWork.ts","../transactions/UnitOfWorkManager.ts","../transactions/concurrencyScopesAreEqual.ts","../transactions/index.ts","../transactions/resolveTransactionalAppendOptions.ts","../transactions/toEventForEventSourceId.ts","../transactions/for_UnitOfWork/given/a_unit_of_work_with_a_recording_store.ts","../types/DecoratorType.ts","../types/TypeDiscoverer.ts","../types/TypeIntrospector.ts","../types/conceptValueType.ts","../types/index.ts","../types/modelBoundProperty.ts","../types/modelBoundPropertyMetadata.ts","../types/propertyDecoratorMetadata.ts","../types/standardDecoratorMetadata.ts","../webhooks/IWebhook.ts","../webhooks/IWebhookDefinitionBuilder.ts","../webhooks/IWebhooks.ts","../webhooks/WebhookDefinitionBuilder.ts","../webhooks/WebhookId.ts","../webhooks/WebhookTargetUrl.ts","../webhooks/Webhooks.ts","../webhooks/index.ts","../webhooks/webhook.ts"],"packageJsons":["../package.json","../../node_modules/@bufbuild/protobuf/dist/esm/package.json","../../node_modules/@bufbuild/protobuf/package.json","../../node_modules/@cratis/chronicle.contracts/package.json","../../node_modules/@cratis/fundamentals/dist/esm/package.json","../../node_modules/@cratis/fundamentals/package.json","../../node_modules/@grpc/grpc-js/package.json","../../node_modules/@grpc/proto-loader/package.json","../../node_modules/@js-sdsl/ordered-map/package.json","../../node_modules/@opentelemetry/api/package.json","../../node_modules/@types/chai/package.json","../../node_modules/@types/deep-eql/package.json","../../node_modules/@types/node/package.json","../../node_modules/@vitest/mocker/package.json","../../node_modules/assertion-error/package.json","../../node_modules/chai/package.json","../../node_modules/esbuild/package.json","../../node_modules/expect-type/package.json","../../node_modules/glob/dist/esm/package.json","../../node_modules/glob/package.json","../../node_modules/long/package.json","../../node_modules/long/umd/package.json","../../node_modules/lru-cache/dist/esm/package.json","../../node_modules/lru-cache/package.json","../../node_modules/minimatch/dist/esm/package.json","../../node_modules/minimatch/package.json","../../node_modules/minipass/dist/esm/package.json","../../node_modules/minipass/package.json","../../node_modules/nice-grpc-common/package.json","../../node_modules/nice-grpc/package.json","../../node_modules/path-scurry/dist/esm/package.json","../../node_modules/path-scurry/package.json","../../node_modules/protobufjs/package.json","../../node_modules/reflect-metadata/package.json","../../node_modules/tinybench/package.json","../../node_modules/ts-error/package.json","../../node_modules/tsx/package.json","../../node_modules/undici-types/package.json","../../node_modules/undici/package.json","../../node_modules/vite/package.json","../../node_modules/vitest/package.json","../../node_modules/yaml/package.json"],"missingPackageJsons":["../../node_modules/@bufbuild/protobuf/dist/esm/codegenv1/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/codegenv2/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/reflect/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/wire/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/wkt/google/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/wkt/google/protobuf/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/wkt/package.json","../../node_modules/@bufbuild/protobuf/wire/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/generated/google/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/generated/google/protobuf/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/generated/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/generated/protobuf-net/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/package.json","../../node_modules/@cratis/chronicle.contracts/dist/package.json","../../node_modules/@cratis/fundamentals/dist/esm/geospatial/package.json","../../node_modules/@cratis/fundamentals/dist/esm/json/package.json","../../node_modules/@edge-runtime/vm/package.json","../../node_modules/@grpc/grpc-js/build/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/google/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/grpc/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/data/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/service/package.json","../../node_modules/@grpc/grpc-js/build/src/package.json","../../node_modules/@grpc/proto-loader/build/package.json","../../node_modules/@grpc/proto-loader/build/src/package.json","../../node_modules/@js-sdsl/ordered-map/dist/esm/package.json","../../node_modules/@js-sdsl/ordered-map/dist/package.json","../../node_modules/@opentelemetry/api/build/package.json","../../node_modules/@opentelemetry/api/build/src/api/package.json","../../node_modules/@opentelemetry/api/build/src/baggage/internal/package.json","../../node_modules/@opentelemetry/api/build/src/baggage/package.json","../../node_modules/@opentelemetry/api/build/src/common/package.json","../../node_modules/@opentelemetry/api/build/src/context/package.json","../../node_modules/@opentelemetry/api/build/src/diag/package.json","../../node_modules/@opentelemetry/api/build/src/metrics/package.json","../../node_modules/@opentelemetry/api/build/src/package.json","../../node_modules/@opentelemetry/api/build/src/propagation/package.json","../../node_modules/@opentelemetry/api/build/src/trace/internal/package.json","../../node_modules/@opentelemetry/api/build/src/trace/package.json","../../node_modules/@types/assert/package.json","../../node_modules/@types/assert/strict/package.json","../../node_modules/@types/async_hooks/package.json","../../node_modules/@types/buffer/package.json","../../node_modules/@types/child_process/package.json","../../node_modules/@types/cluster/package.json","../../node_modules/@types/console/package.json","../../node_modules/@types/constants/package.json","../../node_modules/@types/crypto/package.json","../../node_modules/@types/dgram/package.json","../../node_modules/@types/diagnostics_channel/package.json","../../node_modules/@types/dns/package.json","../../node_modules/@types/dns/promises/package.json","../../node_modules/@types/domain/package.json","../../node_modules/@types/events/package.json","../../node_modules/@types/fs/package.json","../../node_modules/@types/fs/promises/package.json","../../node_modules/@types/http/package.json","../../node_modules/@types/http2/package.json","../../node_modules/@types/https/package.json","../../node_modules/@types/inspector/package.json","../../node_modules/@types/inspector/promises/package.json","../../node_modules/@types/module/package.json","../../node_modules/@types/net/package.json","../../node_modules/@types/node/assert/package.json","../../node_modules/@types/node/dns/package.json","../../node_modules/@types/node/fs/package.json","../../node_modules/@types/node/inspector/package.json","../../node_modules/@types/node/path/package.json","../../node_modules/@types/node/readline/package.json","../../node_modules/@types/node/stream/package.json","../../node_modules/@types/node/test/package.json","../../node_modules/@types/node/timers/package.json","../../node_modules/@types/node/util/package.json","../../node_modules/@types/node/web-globals/package.json","../../node_modules/@types/node/zlib/package.json","../../node_modules/@types/os/package.json","../../node_modules/@types/path/package.json","../../node_modules/@types/path/posix/package.json","../../node_modules/@types/path/win32/package.json","../../node_modules/@types/perf_hooks/package.json","../../node_modules/@types/process/package.json","../../node_modules/@types/punycode/package.json","../../node_modules/@types/querystring/package.json","../../node_modules/@types/readline/package.json","../../node_modules/@types/readline/promises/package.json","../../node_modules/@types/repl/package.json","../../node_modules/@types/stream/consumers/package.json","../../node_modules/@types/stream/iter/package.json","../../node_modules/@types/stream/package.json","../../node_modules/@types/stream/promises/package.json","../../node_modules/@types/stream/web/package.json","../../node_modules/@types/string_decoder/package.json","../../node_modules/@types/timers/package.json","../../node_modules/@types/timers/promises/package.json","../../node_modules/@types/tls/package.json","../../node_modules/@types/trace_events/package.json","../../node_modules/@types/tty/package.json","../../node_modules/@types/url/package.json","../../node_modules/@types/util/package.json","../../node_modules/@types/util/types/package.json","../../node_modules/@types/v8/package.json","../../node_modules/@types/vm/package.json","../../node_modules/@types/wasi/package.json","../../node_modules/@types/worker_threads/package.json","../../node_modules/@types/zlib/package.json","../../node_modules/@vitejs/devtools/package.json","../../node_modules/@vitest/browser-playwright/package.json","../../node_modules/@vitest/browser-preview/package.json","../../node_modules/@vitest/browser-webdriverio/package.json","../../node_modules/@vitest/coverage-istanbul/package.json","../../node_modules/@vitest/coverage-v8/package.json","../../node_modules/@vitest/mocker/dist/package.json","../../node_modules/@vitest/ui/package.json","../../node_modules/assert/package.json","../../node_modules/assert/strict/package.json","../../node_modules/async_hooks/package.json","../../node_modules/buffer/package.json","../../node_modules/child_process/package.json","../../node_modules/cluster/package.json","../../node_modules/console/package.json","../../node_modules/constants/package.json","../../node_modules/crypto/package.json","../../node_modules/deep-eql/package.json","../../node_modules/dgram/package.json","../../node_modules/diagnostics_channel/package.json","../../node_modules/dns/package.json","../../node_modules/dns/promises/package.json","../../node_modules/domain/package.json","../../node_modules/events/package.json","../../node_modules/expect-type/dist/package.json","../../node_modules/fs/package.json","../../node_modules/fs/promises/package.json","../../node_modules/happy-dom/package.json","../../node_modules/http/package.json","../../node_modules/http2/package.json","../../node_modules/https/package.json","../../node_modules/inspector/package.json","../../node_modules/inspector/promises/package.json","../../node_modules/jiti/package.json","../../node_modules/jsdom/package.json","../../node_modules/less/package.json","../../node_modules/module/package.json","../../node_modules/msw/package.json","../../node_modules/net/package.json","../../node_modules/nice-grpc-common/lib/client/package.json","../../node_modules/nice-grpc-common/lib/package.json","../../node_modules/nice-grpc-common/lib/server/package.json","../../node_modules/nice-grpc/lib/client/package.json","../../node_modules/nice-grpc/lib/package.json","../../node_modules/nice-grpc/lib/server/package.json","../../node_modules/nice-grpc/lib/service-definitions/package.json","../../node_modules/nice-grpc/lib/utils/package.json","../../node_modules/os/package.json","../../node_modules/path/package.json","../../node_modules/path/posix/package.json","../../node_modules/path/win32/package.json","../../node_modules/perf_hooks/package.json","../../node_modules/process/package.json","../../node_modules/protobufjs/ext/descriptor/package.json","../../node_modules/protobufjs/ext/package.json","../../node_modules/punycode/package.json","../../node_modules/querystring/package.json","../../node_modules/readline/package.json","../../node_modules/readline/promises/package.json","../../node_modules/repl/package.json","../../node_modules/sass-embedded/package.json","../../node_modules/sass/package.json","../../node_modules/stream/consumers/package.json","../../node_modules/stream/iter/package.json","../../node_modules/stream/package.json","../../node_modules/stream/promises/package.json","../../node_modules/stream/web/package.json","../../node_modules/string_decoder/package.json","../../node_modules/stylus/package.json","../../node_modules/sugarss/package.json","../../node_modules/terser/package.json","../../node_modules/timers/package.json","../../node_modules/timers/promises/package.json","../../node_modules/tinybench/dist/package.json","../../node_modules/tls/package.json","../../node_modules/trace_events/package.json","../../node_modules/ts-error/lib/package.json","../../node_modules/tty/package.json","../../node_modules/undici/types/package.json","../../node_modules/url/package.json","../../node_modules/util/package.json","../../node_modules/util/types/package.json","../../node_modules/v8/package.json","../../node_modules/vite/dist/node/chunks/package.json","../../node_modules/vite/dist/node/package.json","../../node_modules/vite/dist/package.json","../../node_modules/vite/module-runner/package.json","../../node_modules/vite/types/package.json","../../node_modules/vitest/dist/chunks/package.json","../../node_modules/vitest/dist/package.json","../../node_modules/vm/package.json","../../node_modules/wasi/package.json","../../node_modules/worker_threads/package.json","../../node_modules/zlib/package.json"]}
|
|
1
|
+
{"version":"7.0.2","root":["../ArtifactRegistrationResult.ts","../ChronicleClient.ts","../ChronicleOptions.ts","../EventStore.ts","../EventStoreName.ts","../EventStoreNamespaceName.ts","../EventStoreNamespaceResolver.ts","../IChronicleClient.ts","../IEventStore.ts","../Metrics.ts","../Tracing.ts","../WellKnownTelemetryNames.ts","../index.ts","../artifacts/ActivatedArtifact.ts","../artifacts/ArtifactActivationContext.ts","../artifacts/ArtifactCompletionFailed.ts","../artifacts/ArtifactDelivery.ts","../artifacts/ArtifactInvocationContext.ts","../artifacts/ArtifactKind.ts","../artifacts/ArtifactRegistrationAttempt.ts","../artifacts/ClientArtifactsActivator.ts","../artifacts/DefaultClientArtifactsProvider.ts","../artifacts/IClientArtifactsProvider.ts","../artifacts/index.ts","../artifacts/refuseClientHostedObservers.ts","../artifacts/validateArtifactSchemas.ts","../artifacts/withActivatedArtifact.ts","../auditing/Causation.ts","../auditing/CausationManager.ts","../auditing/CausationType.ts","../auditing/ICausationManager.ts","../auditing/index.ts","../compliance/ComplianceContracts.ts","../compliance/ComplianceMetadata.ts","../compliance/ComplianceMetadataResolver.ts","../compliance/ComplianceMetadataType.ts","../compliance/IPIIManager.ts","../compliance/PIIManager.ts","../compliance/PIINotSupportedOnEventSourceId.ts","../compliance/index.ts","../compliance/pii.ts","../compliance/resolveEventSubject.ts","../compliance/subject.ts","../confidentiality/EncryptedNotSupportedOnEventSourceId.ts","../confidentiality/EncryptionScope.ts","../confidentiality/PIIAndEncryptedCombinedNotSupported.ts","../confidentiality/SecurityMetadata.ts","../confidentiality/SecurityMetadataResolver.ts","../confidentiality/SecurityMetadataType.ts","../confidentiality/encrypted.ts","../confidentiality/index.ts","../connection/ChronicleConnection.ts","../connection/ChronicleConnectionString.ts","../connection/ChronicleServerAddressResolver.ts","../connection/ChronicleServices.ts","../connection/ChronicleSrvResolutionError.ts","../connection/ChronicleSrvResolver.ts","../connection/ChronicleTlsMaterial.ts","../connection/ClientObserversRequireKeepAlive.ts","../connection/CompatibilityPreflight.ts","../connection/ConnectionLifecycle.ts","../connection/DateTimeOffset.ts","../connection/Guid.ts","../connection/ILoadBalancerStrategy.ts","../connection/IncompatibleChronicleServer.ts","../connection/KernelKeepAlive.ts","../connection/LeastConnectionsLoadBalancerStrategy.ts","../connection/LoadBalancerMode.ts","../connection/LoadBalancerStrategyFactory.ts","../connection/RandomLoadBalancerStrategy.ts","../connection/RejectedChronicleCredentials.ts","../connection/RoundRobinLoadBalancerStrategy.ts","../connection/TokenProvider.ts","../connection/TraceContextMiddleware.ts","../connection/callResults.ts","../connection/clientVersion.ts","../connection/encodeExplicitFalse.ts","../connection/fetchOAuthAccessToken.ts","../connection/formatServerAddress.ts","../connection/index.ts","../connection/for_encodeExplicitFalse/wireFields.ts","../correlation/CorrelationId.ts","../correlation/CorrelationIdManager.ts","../correlation/ICorrelationIdAccessor.ts","../correlation/ICorrelationIdSetter.ts","../correlation/index.ts","../eventSequences/AppendError.ts","../eventSequences/AppendOperationsBroadcaster.ts","../eventSequences/AppendOptions.ts","../eventSequences/AppendResult.ts","../eventSequences/AppendedEventWithResult.ts","../eventSequences/CompensateOptions.ts","../eventSequences/CompleteStreamError.ts","../eventSequences/CompleteStreamResult.ts","../eventSequences/ConcurrencyScope.ts","../eventSequences/ConcurrencyViolation.ts","../eventSequences/ConstraintViolation.ts","../eventSequences/EventEnrichmentContext.ts","../eventSequences/EventEnrichmentProvider.ts","../eventSequences/EventForEventSourceId.ts","../eventSequences/EventLog.ts","../eventSequences/EventSequence.ts","../eventSequences/EventSequenceId.ts","../eventSequences/EventSequenceNumber.ts","../eventSequences/IEventLog.ts","../eventSequences/IEventSequence.ts","../eventSequences/ITransactionalEventSequence.ts","../eventSequences/NamedTagsWithRegisteredEventSourceNotSupported.ts","../eventSequences/PreparedBatchAppend.ts","../eventSequences/PreparedSingleAppend.ts","../eventSequences/TransactionalEventSequence.ts","../eventSequences/WaitForCompletionOptions.ts","../eventSequences/WaitForCompletionResult.ts","../eventSequences/WireBatchEvent.ts","../eventSequences/createAppendNotification.ts","../eventSequences/createAppendResult.ts","../eventSequences/enrichEventContent.ts","../eventSequences/ensureNamedTagBatchIsSupported.ts","../eventSequences/index.ts","../eventSequences/prepareBatchAppend.ts","../eventSequences/prepareSingleAppend.ts","../eventSequences/resolveEventSourceRouting.ts","../eventSequences/toContractsCausation.ts","../eventSources/ConcurrencyDimensions.ts","../eventSources/DuplicateEventSourceName.ts","../eventSources/DuplicateEventStreamName.ts","../eventSources/EventRoutingContradictsEventSource.ts","../eventSources/EventSourceDefinition.ts","../eventSources/EventSources.ts","../eventSources/EventStreamDefinition.ts","../eventSources/EventStreamDoesNotBelongToEventSource.ts","../eventSources/EventStreamRequiresEventSource.ts","../eventSources/IEventSources.ts","../eventSources/ResolvedEventRouting.ts","../eventSources/UnknownEventSource.ts","../eventSources/eventSource.ts","../eventSources/index.ts","../eventStoreSubscriptions/EventStoreSubscriptionBuilder.ts","../eventStoreSubscriptions/EventStoreSubscriptionDefinition.ts","../eventStoreSubscriptions/EventStoreSubscriptionId.ts","../eventStoreSubscriptions/EventStoreSubscriptions.ts","../eventStoreSubscriptions/IEventStoreSubscriptionBuilder.ts","../eventStoreSubscriptions/IEventStoreSubscriptions.ts","../eventStoreSubscriptions/contracts.ts","../eventStoreSubscriptions/index.ts","../events/AppendedEvent.ts","../events/CausationEntry.ts","../events/EventContext.ts","../events/EventType.ts","../events/EventTypeGeneration.ts","../events/EventTypeId.ts","../events/EventTypes.ts","../events/IEventTypes.ts","../events/InvalidNamedTag.ts","../events/NamedTag.ts","../events/Tag.ts","../events/WireEventContext.ts","../events/compensationForDecorator.ts","../events/eventSourceTypeDecorator.ts","../events/eventStreamTypeDecorator.ts","../events/eventTypeDecorator.ts","../events/filterEventsByTagDecorator.ts","../events/handles.ts","../events/index.ts","../events/isRegisteredEvent.ts","../events/mergeNamedTags.ts","../events/mergeTags.ts","../events/tagDecorator.ts","../events/toClientEventContext.ts","../events/constraints/ConstraintBuilder.ts","../events/constraints/ConstraintEventSequences.ts","../events/constraints/ConstraintId.ts","../events/constraints/Constraints.ts","../events/constraints/IConstraint.ts","../events/constraints/IConstraintBuilder.ts","../events/constraints/IConstraints.ts","../events/constraints/IUniqueConstraintBuilder.ts","../events/constraints/UniqueConstraintBuilder.ts","../events/constraints/UniqueOptions.ts","../events/constraints/constraint.ts","../events/constraints/index.ts","../events/constraints/removeConstraint.ts","../events/constraints/unique.ts","../events/constraints/for_Constraints/when_scoping_to_event_sequences/given/registered_constraints.ts","../events/migrations/EventMigrationBuilder.ts","../events/migrations/EventMigrationPropertyBuilder.ts","../events/migrations/EventTypeMigrators.ts","../events/migrations/IEventMigrationBuilder.ts","../events/migrations/IEventMigrationPropertyBuilder.ts","../events/migrations/IEventTypeMigration.ts","../events/migrations/IEventTypeMigrators.ts","../events/migrations/InvalidMigrationGenerationGap.ts","../events/migrations/eventTypeMigration.ts","../events/migrations/index.ts","../externalServices/ExternalServiceBuilder.ts","../externalServices/ExternalServices.ts","../externalServices/IExternalServiceBuilder.ts","../externalServices/IExternalServices.ts","../externalServices/index.ts","../for_ChronicleClient/when_skipping_keep_alive/native-exit-probe.ts","../for_EventStore/when_inspecting_registration/given/an_event_store.ts","../identities/IIdentityManager.ts","../identities/IdentityManager.ts","../identities/index.ts","../identity/IIdentityProvider.ts","../identity/Identity.ts","../identity/IdentityProvider.ts","../identity/index.ts","../imports/EventImport.ts","../imports/EventImportSettings.ts","../imports/IEventImport.ts","../imports/ImportChunkRefused.ts","../imports/ImportCouldNotBegin.ts","../imports/ImportOptions.ts","../imports/ImportProgress.ts","../imports/ImportRejection.ts","../imports/ImportResult.ts","../imports/ImportState.ts","../imports/ImportTarget.ts","../imports/ImportWasAbandoned.ts","../imports/ImportsNotSupported.ts","../imports/OnInvalidEvent.ts","../imports/abortable.ts","../imports/beginEventImport.ts","../imports/importEvents.ts","../imports/index.ts","../imports/isTransientImportFailure.ts","../imports/sizeOfImportEvent.ts","../imports/toImportEvent.ts","../imports/toImportProgress.ts","../imports/toImportResult.ts","../imports/for_EventImport/given/a_kernel_import_session.ts","../jobs/IJobs.ts","../jobs/JobId.ts","../jobs/Jobs.ts","../jobs/index.ts","../logging/ChronicleLogEntry.ts","../logging/ChronicleLogLevel.ts","../logging/DiagChronicleLogger.ts","../logging/IChronicleLogger.ts","../logging/createLogger.ts","../observation/EventHandler.ts","../observation/FailedPartition.ts","../observation/FailedPartitionAttempt.ts","../observation/FailedPartitions.ts","../observation/FastForwardOutcome.ts","../observation/FastForwardResult.ts","../observation/ICanBeNotifiedWhenPartitionReplayed.ts","../observation/ICanBeNotifiedWhenReplay.ts","../observation/IFailedPartitions.ts","../observation/IObservers.ts","../observation/ObservationReconnectBackoff.ts","../observation/ObservationStreamOutcome.ts","../observation/ObserverId.ts","../observation/ObserverInformation.ts","../observation/ObserverRemovalOutcome.ts","../observation/ObserverRemovalResult.ts","../observation/ObserverRunningState.ts","../observation/ObserverType.ts","../observation/Observers.ts","../observation/classifyStreamError.ts","../observation/createHandlerInstanceValidator.ts","../observation/getEventHandlers.ts","../observation/getInstanceMethods.ts","../observation/index.ts","../observation/notifyReplayLifecycle.ts","../observation/toClientFailedPartition.ts","../observation/toFastForwardResult.ts","../observation/toObserverInformation.ts","../observation/toObserverRemovalResult.ts","../observation/toObserverRunningState.ts","../observation/batches/BatchContext.ts","../observation/batches/BatchContextObserver.ts","../observation/batches/BatchContextValues.ts","../observation/batches/BatchMethod.ts","../observation/batches/BatchMethodReturnedAValue.ts","../observation/batches/BatchMethods.ts","../observation/batches/BatchOutcome.ts","../observation/batches/BatchOutcomeKind.ts","../observation/batches/DeferralNotSupportedByKernel.ts","../observation/batches/DeliveredPartition.ts","../observation/batches/EventAndContext.ts","../observation/batches/EventBatch.ts","../observation/batches/EventTypeObservedByMoreThanOneMethod.ts","../observation/batches/InvalidBatchMethod.ts","../observation/batches/ObservationOrigin.ts","../observation/batches/ObservedEventType.ts","../observation/batches/PageMessages.ts","../observation/batches/PartitionFailedInBatch.ts","../observation/batches/PartitionNotInBatch.ts","../observation/batches/PartitionOutcome.ts","../observation/batches/PartitionProblem.ts","../observation/batches/PartitionSettlement.ts","../observation/batches/ReducerMixesBatchAndPerEventMethods.ts","../observation/batches/batchSize.ts","../observation/batches/createBatchContext.ts","../observation/batches/observes.ts","../observation/batches/runConcurrently.ts","../observation/for_ObservationReconnectBackoff/given/a_backoff.ts","../observation/for_ObservationReconnectBackoff/given/a_scripted_stream.ts","../patterns/BehaviorPattern.ts","../patterns/DayOfWeek.ts","../patterns/FacetName.ts","../patterns/FacetSet.ts","../patterns/IPatterns.ts","../patterns/PatternMoment.ts","../patterns/PatternQueryOptions.ts","../patterns/Patterns.ts","../patterns/PatternsAtOptions.ts","../patterns/TimeBucket.ts","../patterns/index.ts","../patterns/toBehaviorPattern.ts","../patterns/toDayOfWeek.ts","../patterns/toOffsetDate.ts","../patterns/toTimeBucket.ts","../projections/ChildrenOrderingNotSupportedByContracts.ts","../projections/CompiledProjectionDefinitions.ts","../projections/GlobalHandlerPropertyNotOnVariant.ts","../projections/IProjections.ts","../projections/InvalidCausedByProperty.ts","../projections/InvalidEventContextPropertyError.ts","../projections/ProjectionCapabilityProvenance.ts","../projections/ProjectionDefinitionCompiler.ts","../projections/ProjectionEventSchema.ts","../projections/ProjectionId.ts","../projections/ProjectionQueryResult.ts","../projections/ProjectionState.ts","../projections/Projections.ts","../projections/ResolvedModelBoundMetadata.ts","../projections/UnableToQueryProjection.ts","../projections/VariantMustDeclareEntersOnEvent.ts","../projections/VariantReclassifier.ts","../projections/canonicalStringify.ts","../projections/captureProjectionProvenance.ts","../projections/causedBy.ts","../projections/childrenOrdering.ts","../projections/childrenOrderingSupport.ts","../projections/constantValueExpression.ts","../projections/eventContextPropertyExpression.ts","../projections/eventContractPath.ts","../projections/index.ts","../projections/invalidEventContextPropertyInProjection.ts","../projections/notSetPropertyPath.ts","../projections/propertyExpressions.ts","../projections/registerProjectionWithRetry.ts","../projections/declarative/AddBuilder.ts","../projections/declarative/AddChildBuilder.ts","../projections/declarative/AllSetBuilder.ts","../projections/declarative/ChildrenBuilder.ts","../projections/declarative/ChildrenOrderingAlreadyDefined.ts","../projections/declarative/CompositeKeyBuilder.ts","../projections/declarative/DictionaryKey.ts","../projections/declarative/FromAllBuilder.ts","../projections/declarative/FromBuilder.ts","../projections/declarative/FromEveryBuilder.ts","../projections/declarative/IAddBuilder.ts","../projections/declarative/IAddChildBuilder.ts","../projections/declarative/IAllSetBuilder.ts","../projections/declarative/IChildrenBuilder.ts","../projections/declarative/ICompositeKeyBuilder.ts","../projections/declarative/ICompositeKeySetBuilder.ts","../projections/declarative/IFromAllBuilder.ts","../projections/declarative/IFromBuilder.ts","../projections/declarative/IFromEveryBuilder.ts","../projections/declarative/IJoinBuilder.ts","../projections/declarative/INestedBuilder.ts","../projections/declarative/IProjectionBuilder.ts","../projections/declarative/IProjectionBuilderFor.ts","../projections/declarative/IProjectionFor.ts","../projections/declarative/IReadModelPropertiesBuilder.ts","../projections/declarative/IRemovedWithBuilder.ts","../projections/declarative/IRemovedWithJoinBuilder.ts","../projections/declarative/ISetBuilder.ts","../projections/declarative/ISubtractBuilder.ts","../projections/declarative/InvalidDictionaryKey.ts","../projections/declarative/JoinBuilder.ts","../projections/declarative/NestedBuilder.ts","../projections/declarative/ProjectionBuilderCore.ts","../projections/declarative/ProjectionBuilderFor.ts","../projections/declarative/RemovedWithBuilder.ts","../projections/declarative/RemovedWithJoinBuilder.ts","../projections/declarative/SetBuilder.ts","../projections/declarative/SubtractBuilder.ts","../projections/declarative/index.ts","../projections/declarative/projection.ts","../projections/declarative/projectionBuilderProvenance.ts","../projections/for_Graphs/given/a_discovered_graph.ts","../projections/for_Graphs/given/a_fake_connection.ts","../projections/for_Graphs/given/a_graph_with_views.ts","../projections/for_Graphs/given/organization.ts","../projections/for_ProjectionDefinitionCompiler/given/compile_model_bound.ts","../projections/graphs/EdgeCanHaveOnlyOneIdentifyingKey.ts","../projections/graphs/EdgeMustHaveOneSourceAndOneTarget.ts","../projections/graphs/GraphDeclaredMoreThanOnce.ts","../projections/graphs/GraphDefinitionBuilder.ts","../projections/graphs/GraphEdgeBuilder.ts","../projections/graphs/GraphEdgeFromBuilder.ts","../projections/graphs/GraphEdgeFromModel.ts","../projections/graphs/GraphEdgeModel.ts","../projections/graphs/GraphEdgeRemovedWithBuilder.ts","../projections/graphs/GraphEdgeRemovedWithModel.ts","../projections/graphs/GraphElementCannotBeReadModel.ts","../projections/graphs/GraphHasDuplicateElement.ts","../projections/graphs/GraphKeyPropertyNotFound.ts","../projections/graphs/GraphMappingBuilder.ts","../projections/graphs/GraphMemberMappings.ts","../projections/graphs/GraphModel.ts","../projections/graphs/GraphNameRequired.ts","../projections/graphs/GraphNodeBuilder.ts","../projections/graphs/GraphNodeFromBuilder.ts","../projections/graphs/GraphNodeFromModel.ts","../projections/graphs/GraphNodeModel.ts","../projections/graphs/GraphNodeRemovedWithBuilder.ts","../projections/graphs/GraphNodeRemovedWithModel.ts","../projections/graphs/GraphProjectionBuilder.ts","../projections/graphs/GraphRegistration.ts","../projections/graphs/GraphSchemaWriter.ts","../projections/graphs/Graphs.ts","../projections/graphs/IGraphEdgeBuilder.ts","../projections/graphs/IGraphEdgeFromBuilder.ts","../projections/graphs/IGraphEdgeRemovedWithBuilder.ts","../projections/graphs/IGraphMappingBuilder.ts","../projections/graphs/IGraphNodeBuilder.ts","../projections/graphs/IGraphNodeFromBuilder.ts","../projections/graphs/IGraphNodeRemovedWithBuilder.ts","../projections/graphs/IGraphProjection.ts","../projections/graphs/IGraphProjectionBuilder.ts","../projections/graphs/IGraphs.ts","../projections/graphs/ModelBoundGraphReader.ts","../projections/graphs/NestedObjectInGraph.ts","../projections/graphs/NodeMustHaveExactlyOneKey.ts","../projections/graphs/SetOnceNotSupportedInGraph.ts","../projections/graphs/UnknownGraphEventProperty.ts","../projections/graphs/UnknownGraphNode.ts","../projections/graphs/edge.ts","../projections/graphs/edgeFrom.ts","../projections/graphs/edgeRemovedWith.ts","../projections/graphs/edgeSource.ts","../projections/graphs/edgeTarget.ts","../projections/graphs/graph.ts","../projections/graphs/graphKey.ts","../projections/graphs/graphProjection.ts","../projections/graphs/index.ts","../projections/graphs/isGraphElement.ts","../projections/graphs/node.ts","../projections/graphs/nodeFrom.ts","../projections/graphs/nodeRemovedWith.ts","../projections/graphs/propertyPathOf.ts","../projections/graphs/views/AmbiguousDirection.ts","../projections/graphs/views/DuplicateViewName.ts","../projections/graphs/views/EdgeNotIncidentOnRoot.ts","../projections/graphs/views/EdgePropertyViewNotUsedAsTarget.ts","../projections/graphs/views/EdgePropertyViewSharedAcrossEdges.ts","../projections/graphs/views/FollowsOptions.ts","../projections/graphs/views/GraphEdgeDirection.ts","../projections/graphs/views/GraphView.ts","../projections/graphs/views/GraphViewBuildResult.ts","../projections/graphs/views/GraphViewCardinality.ts","../projections/graphs/views/GraphViewDefinition.ts","../projections/graphs/views/GraphViewDefinitionBuilder.ts","../projections/graphs/views/GraphViewDefinitionSerializer.ts","../projections/graphs/views/GraphViewEdgeReference.ts","../projections/graphs/views/GraphViewMember.ts","../projections/graphs/views/GraphViewMemberKind.ts","../projections/graphs/views/GraphViewMemberMetadata.ts","../projections/graphs/views/GraphViewPropertyMember.ts","../projections/graphs/views/GraphViewReason.ts","../projections/graphs/views/GraphViewRelationMember.ts","../projections/graphs/views/GraphViewSchema.ts","../projections/graphs/views/GraphViewSchemaEdge.ts","../projections/graphs/views/GraphViewSchemaNode.ts","../projections/graphs/views/GraphViewSerializerOptions.ts","../projections/graphs/views/RecursiveView.ts","../projections/graphs/views/RelationTargetNotAView.ts","../projections/graphs/views/TargetLabelMismatch.ts","../projections/graphs/views/UnknownEdge.ts","../projections/graphs/views/UnknownEdgeProperty.ts","../projections/graphs/views/UnknownNodeProperty.ts","../projections/graphs/views/ViewIsAlsoSchema.ts","../projections/graphs/views/ViewOfMetadata.ts","../projections/graphs/views/ViewOfOptions.ts","../projections/graphs/views/ViewRootNotANode.ts","../projections/graphs/views/declareGraphViewMember.ts","../projections/graphs/views/follows.ts","../projections/graphs/views/fromEdge.ts","../projections/graphs/views/index.ts","../projections/graphs/views/viewKey.ts","../projections/graphs/views/viewOf.ts","../projections/graphs/views/viewProperty.ts","../projections/modelBound/ConflictingChildrenOrdering.ts","../projections/modelBound/FromAllEventsMetadata.ts","../projections/modelBound/FromEventMetadata.ts","../projections/modelBound/FromEventOptions.ts","../projections/modelBound/addFrom.ts","../projections/modelBound/childrenAndNestedBuilder.ts","../projections/modelBound/childrenFrom.ts","../projections/modelBound/clearWith.ts","../projections/modelBound/count.ts","../projections/modelBound/decrement.ts","../projections/modelBound/entersOn.ts","../projections/modelBound/eventSequence.ts","../projections/modelBound/fromAll.ts","../projections/modelBound/fromAllEvents.ts","../projections/modelBound/fromEvent.ts","../projections/modelBound/fromEvery.ts","../projections/modelBound/globalFor.ts","../projections/modelBound/increment.ts","../projections/modelBound/index.ts","../projections/modelBound/isModelBoundProjection.ts","../projections/modelBound/join.ts","../projections/modelBound/nested.ts","../projections/modelBound/noAutoMap.ts","../projections/modelBound/notRewindable.ts","../projections/modelBound/passive.ts","../projections/modelBound/removedWith.ts","../projections/modelBound/removedWithJoin.ts","../projections/modelBound/setFrom.ts","../projections/modelBound/setFromContext.ts","../projections/modelBound/setValue.ts","../projections/modelBound/subtractFrom.ts","../projections/modelBound/variantOf.ts","../reactors/IReactors.ts","../reactors/ReactorDelivery.ts","../reactors/ReactorDispatcher.ts","../reactors/ReactorId.ts","../reactors/ReactorObservationTarget.ts","../reactors/ReactorPageDispatcher.ts","../reactors/ReactorResultHandler.ts","../reactors/ReactorServices.ts","../reactors/ReactorSideEffects.ts","../reactors/Reactors.ts","../reactors/index.ts","../reactors/onceOnly.ts","../reactors/reactor.ts","../reactors/replay.ts","../reactors/startAtTail.ts","../reactors/for_Reactors/given/deliver_to_reactor.ts","../reactors/for_Reactors/given/observe_reactor_messages.ts","../reactors/for_Reactors/when_reconnecting_the_observation_stream/given/a_reactor_whose_stream_ends.ts","../readModels/IMaterializedReadModels.ts","../readModels/IReadModelWatcher.ts","../readModels/IReadModels.ts","../readModels/MaterializedReadModels.ts","../readModels/ReadModelChangeContext.ts","../readModels/ReadModelChangeType.ts","../readModels/ReadModelChangeset.ts","../readModels/ReadModelId.ts","../readModels/ReadModelNamingPolicy.ts","../readModels/ReadModelSnapshot.ts","../readModels/ReadModelSubjectResolver.ts","../readModels/ReadModelWatchOptions.ts","../readModels/ReadModelWatcher.ts","../readModels/ReadModels.ts","../readModels/assertUniqueReadModelIds.ts","../readModels/buildReadModelDefinition.ts","../readModels/deserializeReadModel.ts","../readModels/index.ts","../readModels/indexDecorator.ts","../readModels/readModel.ts","../readModels/rootReadModelTypes.ts","../readModels/for_ReadModelNamingPolicy/given/registered_read_models.ts","../readModels/for_ReadModelWatcher/given/a_kernel_stream.ts","../readModels/for_ReadModelWatcher/given/a_watched_read_model.ts","../readModels/for_ReadModels/given/Book.ts","../readModels/for_ReadModels/given/BookBorrowed.ts","../readModels/for_ReadModels/given/BookRegistered.ts","../readModels/for_ReadModels/given/BookReturned.ts","../readModels/for_ReadModels/given/a_stored_read_model.ts","../readModels/for_deserializeReadModel/given/Address.ts","../readModels/for_deserializeReadModel/given/a_read_model_with_defaults.ts","../reducers/IReducers.ts","../reducers/ReducerEventDispatcher.ts","../reducers/ReducerEventHandler.ts","../reducers/ReducerId.ts","../reducers/ReducerObservation.ts","../reducers/ReducerObservationSession.ts","../reducers/Reducers.ts","../reducers/ReductionOutcome.ts","../reducers/index.ts","../reducers/reducer.ts","../reducers/for_Reducers/given/observe_reducer_messages.ts","../reducers/for_Reducers/when_reconnecting_the_observation_stream/given/a_reducer_whose_stream_ends.ts","../schemas/JsonSchema.ts","../schemas/JsonSchemaGenerator.ts","../schemas/createDeferredSchema.ts","../schemas/index.ts","../schemas/jsonSchemaProperty.ts","../seeding/EventSeeding.ts","../seeding/ICanSeedEvents.ts","../seeding/IEventSeeding.ts","../seeding/IEventSeedingBuilder.ts","../seeding/IEventSeedingScopeBuilder.ts","../seeding/index.ts","../seeding/seeder.ts","../sinks/WellKnownSinks.ts","../sinks/index.ts","../telemetry/ChronicleTelemetryOptions.ts","../telemetry/observeOperation.ts","../telemetry/runInBackgroundContext.ts","../telemetry/spanAttributes.ts","../testing/BatchPartitionOutcome.ts","../testing/ConstraintKey.ts","../testing/ConstraintScope.ts","../testing/EventFieldSchema.ts","../testing/EventScenario.ts","../testing/EventScenarioGiven.ts","../testing/EventScenarioGivenBuilder.ts","../testing/EventScenarioOptions.ts","../testing/EventScenarioSeed.ts","../testing/EventScenarioWhen.ts","../testing/EventScenarioWhenBuilder.ts","../testing/EventTypeConstraintClaims.ts","../testing/IReadModelProcessor.ts","../testing/InProcessAppendMetadata.ts","../testing/InProcessBatchAppend.ts","../testing/InProcessConstraints.ts","../testing/InProcessEventPayload.ts","../testing/InProcessEventReadCriteria.ts","../testing/InProcessEventReadFilter.ts","../testing/InProcessEventSequence.ts","../testing/InProcessEventSequenceEnvironment.ts","../testing/InProcessSingleAppend.ts","../testing/KernelTextHash.ts","../testing/MeasuredCaseFolding.ts","../testing/MeasuredConstraintKeys.ts","../testing/PropertyConstraintClaims.ts","../testing/PropertyDefinitionSupport.ts","../testing/ReactorDeliveryResult.ts","../testing/ReactorScenario.ts","../testing/ReactorScenarioOptions.ts","../testing/ReadModelScenario.ts","../testing/ReadModelScenarioGiven.ts","../testing/ReadModelScenarioGivenBuilder.ts","../testing/ReadModelState.ts","../testing/RecordedReactorSideEffect.ts","../testing/ReducerReadModelProcessor.ts","../testing/ScenarioEvent.ts","../testing/UnsupportedEventSequenceOperation.ts","../testing/UnsupportedReactorOperation.ts","../testing/UnsupportedReducerOperation.ts","../testing/deliverToBatchMethods.ts","../testing/index.ts","../testing/singleAppendRoute.ts","../testing/projections/ProjectionArithmetic.ts","../testing/projections/ProjectionCapabilities.ts","../testing/projections/ProjectionCapabilityReject.ts","../testing/projections/ProjectionCapabilityReporter.ts","../testing/projections/ProjectionChildrenCapabilities.ts","../testing/projections/ProjectionDefinitionCapabilities.ts","../testing/projections/ProjectionEventSchemaResolver.ts","../testing/projections/ProjectionExpressionCapabilities.ts","../testing/projections/ProjectionExpressionEvaluator.ts","../testing/projections/ProjectionInitialValueCapabilities.ts","../testing/projections/ProjectionJoinRecord.ts","../testing/projections/ProjectionJoinValidationContext.ts","../testing/projections/ProjectionJoins.ts","../testing/projections/ProjectionJoinsCapabilities.ts","../testing/projections/ProjectionMappingCapabilities.ts","../testing/projections/ProjectionMappingValidation.ts","../testing/projections/ProjectionReadModelCapabilities.ts","../testing/projections/ProjectionReadModelProcessor.ts","../testing/projections/ProjectionRootCapabilities.ts","../testing/projections/ProjectionScalarConverter.ts","../testing/projections/ProjectionSchemaCapabilities.ts","../testing/projections/ProjectionValueConverter.ts","../testing/projections/UnsupportedProjectionOperation.ts","../testing/projections/for_ProjectionCapabilities/given/Changed.ts","../testing/projections/for_ProjectionCapabilities/given/Model.ts","../testing/projections/for_ProjectionCapabilities/given/Removed.ts","../testing/projections/for_ProjectionCapabilities/given/compile.ts","../transactions/AppendOptionNotSupportedInUnitOfWork.ts","../transactions/ConflictingAppendOptionNamesInUnitOfWork.ts","../transactions/ConflictingConcurrencyScopesInUnitOfWork.ts","../transactions/IUnitOfWork.ts","../transactions/IUnitOfWorkManager.ts","../transactions/NoUnitOfWorkHasBeenStarted.ts","../transactions/TransactionalAppendOptions.ts","../transactions/TransactionalEventRouting.ts","../transactions/UnitOfWork.ts","../transactions/UnitOfWorkManager.ts","../transactions/concurrencyScopesAreEqual.ts","../transactions/index.ts","../transactions/resolveTransactionalAppendOptions.ts","../transactions/toEventForEventSourceId.ts","../transactions/for_UnitOfWork/given/a_unit_of_work_with_a_recording_store.ts","../types/DecoratorType.ts","../types/TypeDiscoverer.ts","../types/TypeIntrospector.ts","../types/conceptValueType.ts","../types/index.ts","../types/modelBoundProperty.ts","../types/modelBoundPropertyMetadata.ts","../types/propertyDecoratorMetadata.ts","../types/standardDecoratorMetadata.ts","../webhooks/IWebhook.ts","../webhooks/IWebhookDefinitionBuilder.ts","../webhooks/IWebhooks.ts","../webhooks/WebhookDefinitionBuilder.ts","../webhooks/WebhookId.ts","../webhooks/WebhookTargetUrl.ts","../webhooks/Webhooks.ts","../webhooks/index.ts","../webhooks/webhook.ts"],"packageJsons":["../package.json","../../node_modules/@bufbuild/protobuf/dist/esm/package.json","../../node_modules/@bufbuild/protobuf/package.json","../../node_modules/@cratis/chronicle.contracts/package.json","../../node_modules/@cratis/fundamentals/dist/esm/package.json","../../node_modules/@cratis/fundamentals/package.json","../../node_modules/@grpc/grpc-js/package.json","../../node_modules/@grpc/proto-loader/package.json","../../node_modules/@js-sdsl/ordered-map/package.json","../../node_modules/@opentelemetry/api/package.json","../../node_modules/@types/chai/package.json","../../node_modules/@types/deep-eql/package.json","../../node_modules/@types/node/package.json","../../node_modules/@vitest/mocker/package.json","../../node_modules/assertion-error/package.json","../../node_modules/chai/package.json","../../node_modules/esbuild/package.json","../../node_modules/expect-type/package.json","../../node_modules/glob/dist/esm/package.json","../../node_modules/glob/package.json","../../node_modules/long/package.json","../../node_modules/long/umd/package.json","../../node_modules/lru-cache/dist/esm/package.json","../../node_modules/lru-cache/package.json","../../node_modules/minimatch/dist/esm/package.json","../../node_modules/minimatch/package.json","../../node_modules/minipass/dist/esm/package.json","../../node_modules/minipass/package.json","../../node_modules/nice-grpc-common/package.json","../../node_modules/nice-grpc/package.json","../../node_modules/path-scurry/dist/esm/package.json","../../node_modules/path-scurry/package.json","../../node_modules/protobufjs/package.json","../../node_modules/reflect-metadata/package.json","../../node_modules/tinybench/package.json","../../node_modules/ts-error/package.json","../../node_modules/tsx/package.json","../../node_modules/undici-types/package.json","../../node_modules/undici/package.json","../../node_modules/vite/package.json","../../node_modules/vitest/package.json","../../node_modules/yaml/package.json"],"missingPackageJsons":["../../node_modules/@bufbuild/protobuf/dist/esm/codegenv1/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/codegenv2/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/reflect/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/wire/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/wkt/google/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/wkt/google/protobuf/package.json","../../node_modules/@bufbuild/protobuf/dist/esm/wkt/package.json","../../node_modules/@bufbuild/protobuf/wire/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/generated/google/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/generated/google/protobuf/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/generated/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/generated/protobuf-net/package.json","../../node_modules/@cratis/chronicle.contracts/dist/esm/package.json","../../node_modules/@cratis/chronicle.contracts/dist/package.json","../../node_modules/@cratis/fundamentals/dist/esm/geospatial/package.json","../../node_modules/@cratis/fundamentals/dist/esm/json/package.json","../../node_modules/@edge-runtime/vm/package.json","../../node_modules/@grpc/grpc-js/build/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/google/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/grpc/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/data/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/package.json","../../node_modules/@grpc/grpc-js/build/src/generated/xds/service/package.json","../../node_modules/@grpc/grpc-js/build/src/package.json","../../node_modules/@grpc/proto-loader/build/package.json","../../node_modules/@grpc/proto-loader/build/src/package.json","../../node_modules/@js-sdsl/ordered-map/dist/esm/package.json","../../node_modules/@js-sdsl/ordered-map/dist/package.json","../../node_modules/@opentelemetry/api/build/package.json","../../node_modules/@opentelemetry/api/build/src/api/package.json","../../node_modules/@opentelemetry/api/build/src/baggage/internal/package.json","../../node_modules/@opentelemetry/api/build/src/baggage/package.json","../../node_modules/@opentelemetry/api/build/src/common/package.json","../../node_modules/@opentelemetry/api/build/src/context/package.json","../../node_modules/@opentelemetry/api/build/src/diag/package.json","../../node_modules/@opentelemetry/api/build/src/metrics/package.json","../../node_modules/@opentelemetry/api/build/src/package.json","../../node_modules/@opentelemetry/api/build/src/propagation/package.json","../../node_modules/@opentelemetry/api/build/src/trace/internal/package.json","../../node_modules/@opentelemetry/api/build/src/trace/package.json","../../node_modules/@types/assert/package.json","../../node_modules/@types/assert/strict/package.json","../../node_modules/@types/async_hooks/package.json","../../node_modules/@types/buffer/package.json","../../node_modules/@types/child_process/package.json","../../node_modules/@types/cluster/package.json","../../node_modules/@types/console/package.json","../../node_modules/@types/constants/package.json","../../node_modules/@types/crypto/package.json","../../node_modules/@types/dgram/package.json","../../node_modules/@types/diagnostics_channel/package.json","../../node_modules/@types/dns/package.json","../../node_modules/@types/dns/promises/package.json","../../node_modules/@types/domain/package.json","../../node_modules/@types/events/package.json","../../node_modules/@types/fs/package.json","../../node_modules/@types/fs/promises/package.json","../../node_modules/@types/http/package.json","../../node_modules/@types/http2/package.json","../../node_modules/@types/https/package.json","../../node_modules/@types/inspector/package.json","../../node_modules/@types/inspector/promises/package.json","../../node_modules/@types/module/package.json","../../node_modules/@types/net/package.json","../../node_modules/@types/node/assert/package.json","../../node_modules/@types/node/dns/package.json","../../node_modules/@types/node/fs/package.json","../../node_modules/@types/node/inspector/package.json","../../node_modules/@types/node/path/package.json","../../node_modules/@types/node/readline/package.json","../../node_modules/@types/node/stream/package.json","../../node_modules/@types/node/test/package.json","../../node_modules/@types/node/timers/package.json","../../node_modules/@types/node/util/package.json","../../node_modules/@types/node/web-globals/package.json","../../node_modules/@types/node/zlib/package.json","../../node_modules/@types/os/package.json","../../node_modules/@types/path/package.json","../../node_modules/@types/path/posix/package.json","../../node_modules/@types/path/win32/package.json","../../node_modules/@types/perf_hooks/package.json","../../node_modules/@types/process/package.json","../../node_modules/@types/punycode/package.json","../../node_modules/@types/querystring/package.json","../../node_modules/@types/readline/package.json","../../node_modules/@types/readline/promises/package.json","../../node_modules/@types/repl/package.json","../../node_modules/@types/stream/consumers/package.json","../../node_modules/@types/stream/iter/package.json","../../node_modules/@types/stream/package.json","../../node_modules/@types/stream/promises/package.json","../../node_modules/@types/stream/web/package.json","../../node_modules/@types/string_decoder/package.json","../../node_modules/@types/timers/package.json","../../node_modules/@types/timers/promises/package.json","../../node_modules/@types/tls/package.json","../../node_modules/@types/trace_events/package.json","../../node_modules/@types/tty/package.json","../../node_modules/@types/url/package.json","../../node_modules/@types/util/package.json","../../node_modules/@types/util/types/package.json","../../node_modules/@types/v8/package.json","../../node_modules/@types/vm/package.json","../../node_modules/@types/wasi/package.json","../../node_modules/@types/worker_threads/package.json","../../node_modules/@types/zlib/package.json","../../node_modules/@vitejs/devtools/package.json","../../node_modules/@vitest/browser-playwright/package.json","../../node_modules/@vitest/browser-preview/package.json","../../node_modules/@vitest/browser-webdriverio/package.json","../../node_modules/@vitest/coverage-istanbul/package.json","../../node_modules/@vitest/coverage-v8/package.json","../../node_modules/@vitest/mocker/dist/package.json","../../node_modules/@vitest/ui/package.json","../../node_modules/assert/package.json","../../node_modules/assert/strict/package.json","../../node_modules/async_hooks/package.json","../../node_modules/buffer/package.json","../../node_modules/child_process/package.json","../../node_modules/cluster/package.json","../../node_modules/console/package.json","../../node_modules/constants/package.json","../../node_modules/crypto/package.json","../../node_modules/deep-eql/package.json","../../node_modules/dgram/package.json","../../node_modules/diagnostics_channel/package.json","../../node_modules/dns/package.json","../../node_modules/dns/promises/package.json","../../node_modules/domain/package.json","../../node_modules/events/package.json","../../node_modules/expect-type/dist/package.json","../../node_modules/fs/package.json","../../node_modules/fs/promises/package.json","../../node_modules/happy-dom/package.json","../../node_modules/http/package.json","../../node_modules/http2/package.json","../../node_modules/https/package.json","../../node_modules/inspector/package.json","../../node_modules/inspector/promises/package.json","../../node_modules/jiti/package.json","../../node_modules/jsdom/package.json","../../node_modules/less/package.json","../../node_modules/module/package.json","../../node_modules/msw/package.json","../../node_modules/net/package.json","../../node_modules/nice-grpc-common/lib/client/package.json","../../node_modules/nice-grpc-common/lib/package.json","../../node_modules/nice-grpc-common/lib/server/package.json","../../node_modules/nice-grpc/lib/client/package.json","../../node_modules/nice-grpc/lib/package.json","../../node_modules/nice-grpc/lib/server/package.json","../../node_modules/nice-grpc/lib/service-definitions/package.json","../../node_modules/nice-grpc/lib/utils/package.json","../../node_modules/os/package.json","../../node_modules/path/package.json","../../node_modules/path/posix/package.json","../../node_modules/path/win32/package.json","../../node_modules/perf_hooks/package.json","../../node_modules/process/package.json","../../node_modules/protobufjs/ext/descriptor/package.json","../../node_modules/protobufjs/ext/package.json","../../node_modules/punycode/package.json","../../node_modules/querystring/package.json","../../node_modules/readline/package.json","../../node_modules/readline/promises/package.json","../../node_modules/repl/package.json","../../node_modules/sass-embedded/package.json","../../node_modules/sass/package.json","../../node_modules/stream/consumers/package.json","../../node_modules/stream/iter/package.json","../../node_modules/stream/package.json","../../node_modules/stream/promises/package.json","../../node_modules/stream/web/package.json","../../node_modules/string_decoder/package.json","../../node_modules/stylus/package.json","../../node_modules/sugarss/package.json","../../node_modules/terser/package.json","../../node_modules/timers/package.json","../../node_modules/timers/promises/package.json","../../node_modules/tinybench/dist/package.json","../../node_modules/tls/package.json","../../node_modules/trace_events/package.json","../../node_modules/ts-error/lib/package.json","../../node_modules/tty/package.json","../../node_modules/undici/types/package.json","../../node_modules/url/package.json","../../node_modules/util/package.json","../../node_modules/util/types/package.json","../../node_modules/v8/package.json","../../node_modules/vite/dist/node/chunks/package.json","../../node_modules/vite/dist/node/package.json","../../node_modules/vite/dist/package.json","../../node_modules/vite/module-runner/package.json","../../node_modules/vite/types/package.json","../../node_modules/vitest/dist/chunks/package.json","../../node_modules/vitest/dist/package.json","../../node_modules/vm/package.json","../../node_modules/wasi/package.json","../../node_modules/worker_threads/package.json","../../node_modules/zlib/package.json"]}
|
package/package.json
CHANGED
package/testing/ConstraintKey.ts
CHANGED
|
@@ -7,8 +7,9 @@ import type { ConstraintCapture } from '../events/constraints/ConstraintBuilder.
|
|
|
7
7
|
import type { JsonSchema } from '../schemas/JsonSchema.js';
|
|
8
8
|
import { UnsupportedEventSequenceOperation } from './UnsupportedEventSequenceOperation.js';
|
|
9
9
|
import { isMeasuredNumericFormat, isMeasuredText, measuredNumericKey } from './MeasuredConstraintKeys.js';
|
|
10
|
+
import { isMeasuredCasingShape, isMeasuredCasingText, measuredLowerInvariant } from './MeasuredCaseFolding.js';
|
|
10
11
|
|
|
11
|
-
type KeyContext = { name: string; fractions: boolean; measured: boolean };
|
|
12
|
+
type KeyContext = { name: string; fractions: boolean; measured: boolean; casing: boolean };
|
|
12
13
|
type Claim = { key: string; parts: Array<{ property: string; raw: string }> };
|
|
13
14
|
|
|
14
15
|
// Only characters captured by the packaged oracle, not every valid event-content character.
|
|
@@ -54,14 +55,14 @@ function schemaNumericKey(value: unknown, context: KeyContext, format: string |
|
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
function scalarKey(value: unknown, context: KeyContext): string {
|
|
57
|
-
if (typeof value === 'string' && isSupportedString(value, context
|
|
58
|
+
if (typeof value === 'string' && isSupportedString(value, context)) return value;
|
|
58
59
|
if (typeof value === 'boolean') return value ? 'True' : 'False';
|
|
59
60
|
throw new UnsupportedEventSequenceOperation('artifacts.constraints', context.name,
|
|
60
61
|
'Only fixture-backed scalar string and boolean keys are supported.');
|
|
61
62
|
}
|
|
62
63
|
|
|
63
|
-
function isSupportedString(value: string,
|
|
64
|
-
return provenString.test(value) || measured && isMeasuredText(value);
|
|
64
|
+
function isSupportedString(value: string, context: KeyContext): boolean {
|
|
65
|
+
return provenString.test(value) || context.measured && isMeasuredText(value) || context.casing && isMeasuredCasingText(value);
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
function supportsFractions(capture: ConstraintCapture): boolean {
|
|
@@ -79,8 +80,10 @@ function hasPropertyRemovals(capture: ConstraintCapture): boolean {
|
|
|
79
80
|
return unique.removedWithEventTypeId !== undefined || !!unique.removedWithEventTypeIds?.length;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
|
-
function normalizedKey(joined: string, ignoreCasing: boolean, name: string): string {
|
|
83
|
+
function normalizedKey(joined: string, ignoreCasing: boolean, name: string, casing: boolean): string {
|
|
83
84
|
if (!ignoreCasing) return joined;
|
|
85
|
+
// Scalars were admitted by isMeasuredCasingText, so the measured mapping is total for this text.
|
|
86
|
+
if (casing) return measuredLowerInvariant(joined);
|
|
84
87
|
// The pinned kernel's ToLowerInvariant is proven only for the existing ASCII domain.
|
|
85
88
|
if (!/^[\x20-\x7e]*$/.test(joined)) {
|
|
86
89
|
throw new UnsupportedEventSequenceOperation('artifacts.constraints', name,
|
|
@@ -96,9 +99,10 @@ export function claimOf(name: string, capture: ConstraintCapture, event: Appende
|
|
|
96
99
|
const properties = unique.eventDefinitions.find(entry => entry.eventTypeId === event.eventType.id.value)?.properties;
|
|
97
100
|
if (properties === undefined) return undefined;
|
|
98
101
|
const fractions = options.isolated && supportsFractions(capture);
|
|
99
|
-
const
|
|
102
|
+
const casing = options.isolated && isMeasuredCasingShape(unique, Object.values(capture.scope).some(Boolean), hasPropertyRemovals(capture));
|
|
103
|
+
const context = { name, fractions, measured: fractions && unique.eventDefinitions.length === 1, casing };
|
|
100
104
|
const parts = properties.map(property => ({ property,
|
|
101
105
|
raw: kernelKeyString(event.content[property], context, options.schema?.properties?.[property]) }));
|
|
102
106
|
const joined = parts.map(part => part.raw).join('-');
|
|
103
|
-
return { key: createHash('sha256').update(normalizedKey(joined, unique.ignoreCasing, name)).digest('hex'), parts };
|
|
107
|
+
return { key: createHash('sha256').update(normalizedKey(joined, unique.ignoreCasing, name, casing)).digest('hex'), parts };
|
|
104
108
|
}
|
|
@@ -61,7 +61,7 @@ const fixtures = readdirSync(directory).filter(name => name.endsWith('.json') &&
|
|
|
61
61
|
'constraints-event-type-siblings.json', 'constraints-composite.json',
|
|
62
62
|
'constraints-ignore-casing.json', 'constraints-scopes.json', 'constraints-field-types.json', 'constraints-event-sequences.json',
|
|
63
63
|
'constraints-field-combinations.json', 'constraints-removal-combinations.json', 'constraints-overlapping-definitions.json',
|
|
64
|
-
'constraints-fractional-field-types.json', 'constraints-fractional-collisions.json', 'constraints-field-key-measurements.json'].includes(name)).map(name => ({
|
|
64
|
+
'constraints-fractional-field-types.json', 'constraints-fractional-collisions.json', 'constraints-field-key-measurements.json', 'constraints-ignore-casing-measurements.json'].includes(name)).map(name => ({
|
|
65
65
|
name, fixture: JSON.parse(readFileSync(new URL(name, directory), 'utf8')) as Fixture
|
|
66
66
|
}));
|
|
67
67
|
const artifacts = { eventTypes: [OracleEventRecorded, AlternateRecorded, BoundaryRecorded], constraints: [] };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
// constraints-ignore-casing-measurements.json: the kernel applies string.ToLowerInvariant to the joined key text.
|
|
5
|
+
// Only these five non-ASCII scalars are measured; neighbours such as Ø, È or U+0302 are not admitted by resemblance.
|
|
6
|
+
// The unicode flag matches whole scalars, so a lone or reversed surrogate never matches.
|
|
7
|
+
const measuredCasingText = /^[A-Za-z0-9 .@_:\-|{}$\u00c9\u00df\u00e9\u00f8\u0301]*$/u;
|
|
8
|
+
|
|
9
|
+
/** Text whose .NET lower-invariant mapping was captured by the packaged oracle; no normalization or full folding. */
|
|
10
|
+
export function isMeasuredCasingText(value: string): boolean { return measuredCasingText.test(value); }
|
|
11
|
+
|
|
12
|
+
/** Applies the measured lower-invariant mapping: ASCII letters and U+00C9 only; ß, ø and U+0301 map to themselves. */
|
|
13
|
+
export function measuredLowerInvariant(value: string): string {
|
|
14
|
+
return value.replace(/[A-Z\u00c9]/g, letter => letter === '\u00c9' ? '\u00e9' : String.fromCharCode(letter.charCodeAt(0) + 32));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type CasingDefinition = { ignoreCasing: boolean; eventDefinitions: ReadonlyArray<{ properties: readonly unknown[] }> };
|
|
18
|
+
|
|
19
|
+
/** The isolated, unscoped, single-property, removal-free ignoreCasing definition measured for non-ASCII text. */
|
|
20
|
+
export function isMeasuredCasingShape(unique: CasingDefinition, scoped: boolean, removable: boolean): boolean {
|
|
21
|
+
return unique.ignoreCasing && !scoped && !removable && unique.eventDefinitions.length === 1 && unique.eventDefinitions[0].properties.length === 1;
|
|
22
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { createHash } from 'node:crypto';
|
|
5
|
+
import { readFileSync } from 'node:fs';
|
|
6
|
+
import type { Constructor } from '@cratis/fundamentals';
|
|
7
|
+
import { beforeEach, chai, describe, it, vi, type Assertion } from 'vitest';
|
|
8
|
+
import type { AppendResult } from '../../../eventSequences/AppendResult.js';
|
|
9
|
+
import { constraint } from '../../../events/constraints/constraint.js';
|
|
10
|
+
import type { IConstraintBuilder } from '../../../events/constraints/IConstraintBuilder.js';
|
|
11
|
+
import { EventScenario, UnsupportedEventSequenceOperation } from '../../index.js';
|
|
12
|
+
import { InProcessConstraints } from '../../InProcessConstraints.js';
|
|
13
|
+
import { measuredLowerInvariant } from '../../MeasuredCaseFolding.js';
|
|
14
|
+
|
|
15
|
+
chai.should();
|
|
16
|
+
const should = (value: unknown): Assertion => (value as { should: Assertion }).should;
|
|
17
|
+
type TextEvent = { key: string };
|
|
18
|
+
type PairEvent = { key: string; other: string };
|
|
19
|
+
type Types = { text: Constructor<TextEvent>; pair: Constructor<PairEvent> };
|
|
20
|
+
type Operation = { mode: string; events: Array<{ source: string; content: string }> };
|
|
21
|
+
type History = { source: string; sequence: string; content: Record<string, unknown>; hash: string | undefined };
|
|
22
|
+
type WireViolation = { ConstraintName: string; Message: string; Details: Record<string, string> };
|
|
23
|
+
type Outcome = { success: boolean; sequences: string[]; wireViolations: WireViolation[]; history: History[]; next: string };
|
|
24
|
+
type Observation = { input: string; lowered: string; utf8Sha256: string };
|
|
25
|
+
const fixture = JSON.parse(readFileSync(new URL('../../fixtures/constraints-ignore-casing-measurements.json', import.meta.url), 'utf8')) as {
|
|
26
|
+
fieldConstraintCases: Array<{ name: string; localSteps: number; operations: Operation[] }>;
|
|
27
|
+
expected: Array<{ steps: Outcome[]; casingObservations: Observation[] }>;
|
|
28
|
+
};
|
|
29
|
+
const unmeasuredNeighbours = ['\u00c8', '\u00e8', '\u00d8', '\u00de', '\u00e0', '\u0300', '\u0302', '\u0130', '\u0131', '\u03a3', '\u03c3',
|
|
30
|
+
'\u03c2', '\u1e9e', '\u212a', '\u6771', '\u4eac', '\u{10400}', '\u{1f600}', '\ud83d', '\ude00', '\ude00\ud83d', '\u00c9\ud83d', '\u00c9\u6771'];
|
|
31
|
+
|
|
32
|
+
function definition(type: Constructor, mode: 'ignoreCasing' | 'scoped' | 'removable' | 'composite' | 'overlapping', name = 'OracleFieldKey'): Constructor {
|
|
33
|
+
class Definition {
|
|
34
|
+
define(builder: IConstraintBuilder) {
|
|
35
|
+
if (mode === 'scoped') builder.perEventSourceType();
|
|
36
|
+
builder.unique(key => {
|
|
37
|
+
if (mode === 'composite') key.on(type as Constructor<PairEvent>, event => event.key, event => event.other);
|
|
38
|
+
else key.on(type as Constructor<TextEvent>, event => event.key);
|
|
39
|
+
key.ignoreCasing();
|
|
40
|
+
if (mode === 'removable') key.removedWith(type);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
constraint(name)(Definition);
|
|
45
|
+
return Definition;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function scenarioFor(types: Types, mode: Parameters<typeof definition>[1] = 'ignoreCasing'): EventScenario {
|
|
49
|
+
const type = mode === 'composite' ? types.pair : types.text;
|
|
50
|
+
const constraints = mode === 'overlapping' ? [definition(type, 'ignoreCasing'), definition(type, 'ignoreCasing', 'OtherCasedKey')] : [definition(type, mode)];
|
|
51
|
+
return new EventScenario({ artifacts: { eventTypes: [type], constraints } });
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function textOf(type: Constructor<TextEvent>, content: string): TextEvent {
|
|
55
|
+
return Object.assign(new type(), JSON.parse(content));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function historyOf(scenario: EventScenario): History[] {
|
|
59
|
+
return scenario.appendedEvents.map(event => ({ source: event.context.eventSourceId,
|
|
60
|
+
sequence: event.context.sequenceNumber.toString(), content: event.content, hash: event.context.hash }));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
async function append(scenario: EventScenario, type: Constructor<TextEvent>, operation: Operation): Promise<AppendResult[]> {
|
|
64
|
+
const events = operation.events.map(entry => ({ eventSourceId: entry.source, event: textOf(type, entry.content) }));
|
|
65
|
+
return operation.mode === 'single' ? [await scenario.append(events[0].eventSourceId, events[0].event)] : scenario.appendMany(events);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function replay(types: Types, index: number): void {
|
|
69
|
+
const test = fixture.fieldConstraintCases[index];
|
|
70
|
+
it(`should match collision details, sequences, hashes and rollback through the production serializer for ${test.name}`, async () => {
|
|
71
|
+
const validate = vi.spyOn(InProcessConstraints.prototype, 'validate');
|
|
72
|
+
const scenario = scenarioFor(types);
|
|
73
|
+
should(test.localSteps).equal(test.operations.length);
|
|
74
|
+
for (const [step, operation] of test.operations.entries()) {
|
|
75
|
+
const results = await append(scenario, types.text, operation);
|
|
76
|
+
const expected = fixture.expected[index].steps[step];
|
|
77
|
+
should(results.every(result => result.isSuccess === expected.success)).equal(true);
|
|
78
|
+
should(results.map(result => result.sequenceNumber.value.toString())).deep.equal(
|
|
79
|
+
expected.success ? expected.sequences : results.map(() => '0'));
|
|
80
|
+
const raw = validate.mock.results.at(-1)!.value as ReturnType<InProcessConstraints['validate']>;
|
|
81
|
+
should(raw.map(violation => ({ ...violation, SequenceNumber: violation.SequenceNumber.toString() }))).deep.equal(expected.wireViolations);
|
|
82
|
+
should(historyOf(scenario)).deep.equal(expected.history);
|
|
83
|
+
should((await scenario.eventSequence.getNextSequenceNumber()).value.toString()).equal(expected.next);
|
|
84
|
+
}
|
|
85
|
+
validate.mockRestore();
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function observe(index: number): void {
|
|
90
|
+
const test = fixture.fieldConstraintCases[index];
|
|
91
|
+
it(`should map every ${test.name} input to the lowered text and hash the oracle observed from the kernel operation`, () => {
|
|
92
|
+
const observations = fixture.expected[index].casingObservations;
|
|
93
|
+
should(observations.length).greaterThan(0);
|
|
94
|
+
for (const observation of observations) {
|
|
95
|
+
should(measuredLowerInvariant(observation.input)).equal(observation.lowered);
|
|
96
|
+
should(createHash('sha256').update(measuredLowerInvariant(observation.input)).digest('hex')).equal(observation.utf8Sha256);
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
function rejectUnmeasured(types: Types): void {
|
|
102
|
+
for (const value of unmeasuredNeighbours) {
|
|
103
|
+
describe(`when the ignoreCasing key is the unmeasured ${JSON.stringify(value)}`, () => {
|
|
104
|
+
let scenario: EventScenario;
|
|
105
|
+
beforeEach(() => { scenario = scenarioFor(types); });
|
|
106
|
+
const good = (key: string) => Object.assign(new types.text(), { key });
|
|
107
|
+
const invalid = (): TextEvent => Object.assign(new types.text(), { key: value });
|
|
108
|
+
for (const mode of ['single', 'batch']) {
|
|
109
|
+
it(`should keep history, results, the next sequence and claim ownership after a rejected ${mode} append`, async () => {
|
|
110
|
+
await scenario.append('A', good('\u00c9'));
|
|
111
|
+
const history = historyOf(scenario);
|
|
112
|
+
const results = [...scenario.results];
|
|
113
|
+
const pending = mode === 'single' ? scenario.append('B', invalid())
|
|
114
|
+
: scenario.appendMany([{ eventSourceId: 'B', event: good('ok') }, { eventSourceId: 'C', event: invalid() }]);
|
|
115
|
+
should(await pending.then(() => undefined, error => error)).instanceOf(UnsupportedEventSequenceOperation);
|
|
116
|
+
should(historyOf(scenario)).deep.equal(history);
|
|
117
|
+
should(scenario.results).deep.equal(results);
|
|
118
|
+
should((await scenario.eventSequence.getNextSequenceNumber()).value).equal(1n);
|
|
119
|
+
should((await scenario.append('B', good('ok'))).isSuccess).equal(true);
|
|
120
|
+
should((await scenario.append('C', good('\u00e9'))).constraintViolations).have.lengthOf(1);
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
it('should reject a failing given atomically and leave its valid key claimable', async () => {
|
|
124
|
+
const error = await scenario.given.forEventSource('A').events(good('\u00c9'), invalid()).then(() => undefined, error => error);
|
|
125
|
+
should(error).instanceOf(UnsupportedEventSequenceOperation);
|
|
126
|
+
should(scenario.appendedEvents).have.lengthOf(0);
|
|
127
|
+
should(scenario.results).have.lengthOf(0);
|
|
128
|
+
should((await scenario.eventSequence.getNextSequenceNumber()).value).equal(0n);
|
|
129
|
+
should((await scenario.append('B', good('\u00e9'))).isSuccess).equal(true);
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
function rejectShapes(types: Types): void {
|
|
136
|
+
for (const mode of ['scoped', 'removable', 'composite', 'overlapping'] as const) {
|
|
137
|
+
for (const value of ['\u00c9', '\u00df', '\u00f8', '\u0301']) {
|
|
138
|
+
it(`should keep new ${JSON.stringify(value)} rejected for ${mode} ignoreCasing definitions`, async () => {
|
|
139
|
+
const event = mode === 'composite' ? Object.assign(new types.pair(), { key: value, other: 'x' })
|
|
140
|
+
: Object.assign(new types.text(), { key: value });
|
|
141
|
+
const error = await Promise.resolve().then(() => scenarioFor(types, mode))
|
|
142
|
+
.then(scenario => scenario.append('A', event)).then(() => undefined, error => error);
|
|
143
|
+
should(error).instanceOf(UnsupportedEventSequenceOperation);
|
|
144
|
+
should(String(error)).include('artifacts.constraints');
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
it('should keep the ASCII counterpart of the scoped and composite shapes passing, so the rejections are about the key', async () => {
|
|
149
|
+
should((await scenarioFor(types, 'scoped').append('A', Object.assign(new types.text(), { key: 'Ab' }))).isSuccess).equal(true);
|
|
150
|
+
should((await scenarioFor(types, 'composite').append('A', Object.assign(new types.pair(), { key: 'Ab', other: 'x' }))).isSuccess).equal(true);
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export function caseFoldedText(types: Types): void {
|
|
155
|
+
describe('when replaying the measured ignoreCasing keys', () => {
|
|
156
|
+
for (const index of fixture.fieldConstraintCases.keys()) { replay(types, index); observe(index); }
|
|
157
|
+
});
|
|
158
|
+
rejectUnmeasured(types);
|
|
159
|
+
describe('when the measured keys are used in an unmeasured definition shape', () => rejectShapes(types));
|
|
160
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import 'reflect-metadata';
|
|
5
|
+
import { field } from '@cratis/fundamentals';
|
|
6
|
+
import { eventType } from '../../../events/eventTypeDecorator.js';
|
|
7
|
+
import { caseFoldedText } from './case_folded_text.fixture.js';
|
|
8
|
+
|
|
9
|
+
class TextClaimed { @field(String) key = ''; }
|
|
10
|
+
eventType('OracleFieldText')(TextClaimed);
|
|
11
|
+
class PairClaimed { @field(String) key = ''; @field(String) other = ''; }
|
|
12
|
+
eventType('OracleCasingPair')(PairClaimed);
|
|
13
|
+
|
|
14
|
+
caseFoldedText({ text: TextClaimed, pair: PairClaimed });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { field } from '@cratis/fundamentals';
|
|
5
|
+
import { eventType } from '../../../events/eventTypeDecorator.js';
|
|
6
|
+
import { caseFoldedText } from './case_folded_text.fixture.js';
|
|
7
|
+
|
|
8
|
+
@eventType('OracleFieldText')
|
|
9
|
+
class TextClaimed { @field(String) key = ''; }
|
|
10
|
+
@eventType('OracleCasingPair')
|
|
11
|
+
class PairClaimed { @field(String) key = ''; @field(String) other = ''; }
|
|
12
|
+
|
|
13
|
+
caseFoldedText({ text: TextClaimed, pair: PairClaimed });
|