@cosmicdrift/kumiko-types 0.324.0 → 0.325.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/package.json +1 -1
- package/src/handlers.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.325.1",
|
|
4
4
|
"description": "Framework-Type-Definitions für Kumiko — FeatureDefinition, BootCheck-Types und die reinen Engine-Types. Erlaubt Downstream-Konsumenten, gegen die Type-Contracts zu bauen, ohne das ganze Framework-Package zu importieren. Enthaelt keine identitaets-sensitiven Runtime-Werte mehr (Error-Klassen leben seit #1629 in kumiko-framework, Brand-Symbole nutzen Symbol.for) und ist deshalb eine plain dependency, keine peerDependency.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
package/src/handlers.ts
CHANGED
|
@@ -767,6 +767,9 @@ export type JobContext = SharedContextFields & {
|
|
|
767
767
|
readonly systemUser: SessionUser;
|
|
768
768
|
readonly log: Logger;
|
|
769
769
|
readonly triggeredBy: { readonly id: string; readonly tenantId: TenantId } | null;
|
|
770
|
+
// 1-based run number; finalAttempt = no retry follows if this run throws. A sequential-lock re-enqueue restarts at 1.
|
|
771
|
+
readonly attempt: number;
|
|
772
|
+
readonly finalAttempt: boolean;
|
|
770
773
|
// Only present for jobs whose owning feature declares r.systemScope().
|
|
771
774
|
// assertTenantMatch()/acknowledgeCrossTenant() return a TenantDb; a raw,
|
|
772
775
|
// tenant-unfiltered DbRunner instead comes from ctx.systemDb.unsafeRaw(reason)
|