ark-runtime-kernel 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/nestjs/index.cjs +6 -4
- package/dist/nestjs/index.cjs.map +1 -1
- package/dist/nestjs/index.d.cts +1 -1
- package/dist/nestjs/index.d.ts +1 -1
- package/dist/nestjs/index.js +6 -4
- package/dist/nestjs/index.js.map +1 -1
- package/dist/{types-7K_KQCgS.d.cts → types-Dr307WEm.d.cts} +11 -0
- package/dist/{types-7K_KQCgS.d.ts → types-Dr307WEm.d.ts} +11 -0
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -260,6 +260,12 @@ declare class PolicyEngine<Context = unknown> {
|
|
|
260
260
|
interface ArchitectureLayer {
|
|
261
261
|
name: string;
|
|
262
262
|
prefixes: string[];
|
|
263
|
+
/**
|
|
264
|
+
* Custom matcher for teams whose intent names don't follow prefix conventions.
|
|
265
|
+
* Checked before any prefix matching, in layer declaration order. A layer may
|
|
266
|
+
* use `match` alone (with `prefixes: []`), prefixes alone, or both.
|
|
267
|
+
*/
|
|
268
|
+
match?: (name: string) => boolean;
|
|
263
269
|
description?: string;
|
|
264
270
|
order?: number;
|
|
265
271
|
}
|
|
@@ -976,6 +982,11 @@ interface CreateArkKernelOptions {
|
|
|
976
982
|
outbox?: OutboxStore;
|
|
977
983
|
metadata?: MetadataRegistry;
|
|
978
984
|
projections?: ProjectionRegistry;
|
|
985
|
+
/**
|
|
986
|
+
* Cap for in-memory event history, trace, and audit records.
|
|
987
|
+
* Defaults to DEFAULT_MAX_HISTORY_SIZE (1000); oldest records are evicted
|
|
988
|
+
* first. Pass Infinity for unbounded retention (pre-1.6 behavior).
|
|
989
|
+
*/
|
|
979
990
|
maxHistorySize?: number;
|
|
980
991
|
autoApplyProjections?: boolean;
|
|
981
992
|
strictEventContracts?: boolean;
|
|
@@ -260,6 +260,12 @@ declare class PolicyEngine<Context = unknown> {
|
|
|
260
260
|
interface ArchitectureLayer {
|
|
261
261
|
name: string;
|
|
262
262
|
prefixes: string[];
|
|
263
|
+
/**
|
|
264
|
+
* Custom matcher for teams whose intent names don't follow prefix conventions.
|
|
265
|
+
* Checked before any prefix matching, in layer declaration order. A layer may
|
|
266
|
+
* use `match` alone (with `prefixes: []`), prefixes alone, or both.
|
|
267
|
+
*/
|
|
268
|
+
match?: (name: string) => boolean;
|
|
263
269
|
description?: string;
|
|
264
270
|
order?: number;
|
|
265
271
|
}
|
|
@@ -976,6 +982,11 @@ interface CreateArkKernelOptions {
|
|
|
976
982
|
outbox?: OutboxStore;
|
|
977
983
|
metadata?: MetadataRegistry;
|
|
978
984
|
projections?: ProjectionRegistry;
|
|
985
|
+
/**
|
|
986
|
+
* Cap for in-memory event history, trace, and audit records.
|
|
987
|
+
* Defaults to DEFAULT_MAX_HISTORY_SIZE (1000); oldest records are evicted
|
|
988
|
+
* first. Pass Infinity for unbounded retention (pre-1.6 behavior).
|
|
989
|
+
*/
|
|
979
990
|
maxHistorySize?: number;
|
|
980
991
|
autoApplyProjections?: boolean;
|
|
981
992
|
strictEventContracts?: boolean;
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/pedroknigge/ark-runtime-kernel",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.6.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "ark-runtime-kernel",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.6.0",
|
|
15
15
|
"runtimeHint": "npx",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|