@covia/covia-sdk 1.16.0 → 1.17.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.d.mts +25 -1
- package/dist/index.d.ts +25 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1157,7 +1157,31 @@ interface JobMetadata {
|
|
|
1157
1157
|
updated?: string;
|
|
1158
1158
|
input?: unknown;
|
|
1159
1159
|
output?: unknown;
|
|
1160
|
-
operation
|
|
1160
|
+
/** The operation reference that was invoked, verbatim: a venue path
|
|
1161
|
+
* (`v/ops/json/merge`), a caller-namespace path (`o/my-tool`), a DID URL, or
|
|
1162
|
+
* a bare hash when the caller pinned a definition explicitly. An inline
|
|
1163
|
+
* definition has no reference, so its own metadata hash stands in. Records
|
|
1164
|
+
* written by venues before 0.9.9 always carry the resolved hash, so readers
|
|
1165
|
+
* must accept both forms (covia#499).
|
|
1166
|
+
*
|
|
1167
|
+
* A path is a mutable binding: re-invoking this reference runs whatever
|
|
1168
|
+
* definition sits at that path now, which is not necessarily the one that
|
|
1169
|
+
* ran for this job. Invoke by hash when the record must pin the exact
|
|
1170
|
+
* definition.
|
|
1171
|
+
*
|
|
1172
|
+
* Replaces the never-populated `operation` field — the venue has always
|
|
1173
|
+
* emitted this as `op`. */
|
|
1174
|
+
op?: string;
|
|
1175
|
+
/** Id (hex) of the nearest *recorded* job inside whose execution this job was
|
|
1176
|
+
* dispatched; absent on top-level jobs (covia#500). Transient wrappers never
|
|
1177
|
+
* appear in a record, so a recorded grandchild dispatched through a
|
|
1178
|
+
* transient layer links straight to its recorded ancestor.
|
|
1179
|
+
*
|
|
1180
|
+
* Only the up-link is stored: there is no `root`, no children list and no
|
|
1181
|
+
* children query. Reconstruct a tree by tracing `parent` across the jobs you
|
|
1182
|
+
* hold. Links are venue- and user-local — a job run on another venue through
|
|
1183
|
+
* the grid adapter carries none. */
|
|
1184
|
+
parent?: string;
|
|
1161
1185
|
caller?: string;
|
|
1162
1186
|
error?: string;
|
|
1163
1187
|
[key: string]: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -1157,7 +1157,31 @@ interface JobMetadata {
|
|
|
1157
1157
|
updated?: string;
|
|
1158
1158
|
input?: unknown;
|
|
1159
1159
|
output?: unknown;
|
|
1160
|
-
operation
|
|
1160
|
+
/** The operation reference that was invoked, verbatim: a venue path
|
|
1161
|
+
* (`v/ops/json/merge`), a caller-namespace path (`o/my-tool`), a DID URL, or
|
|
1162
|
+
* a bare hash when the caller pinned a definition explicitly. An inline
|
|
1163
|
+
* definition has no reference, so its own metadata hash stands in. Records
|
|
1164
|
+
* written by venues before 0.9.9 always carry the resolved hash, so readers
|
|
1165
|
+
* must accept both forms (covia#499).
|
|
1166
|
+
*
|
|
1167
|
+
* A path is a mutable binding: re-invoking this reference runs whatever
|
|
1168
|
+
* definition sits at that path now, which is not necessarily the one that
|
|
1169
|
+
* ran for this job. Invoke by hash when the record must pin the exact
|
|
1170
|
+
* definition.
|
|
1171
|
+
*
|
|
1172
|
+
* Replaces the never-populated `operation` field — the venue has always
|
|
1173
|
+
* emitted this as `op`. */
|
|
1174
|
+
op?: string;
|
|
1175
|
+
/** Id (hex) of the nearest *recorded* job inside whose execution this job was
|
|
1176
|
+
* dispatched; absent on top-level jobs (covia#500). Transient wrappers never
|
|
1177
|
+
* appear in a record, so a recorded grandchild dispatched through a
|
|
1178
|
+
* transient layer links straight to its recorded ancestor.
|
|
1179
|
+
*
|
|
1180
|
+
* Only the up-link is stored: there is no `root`, no children list and no
|
|
1181
|
+
* children query. Reconstruct a tree by tracing `parent` across the jobs you
|
|
1182
|
+
* hold. Links are venue- and user-local — a job run on another venue through
|
|
1183
|
+
* the grid adapter carries none. */
|
|
1184
|
+
parent?: string;
|
|
1161
1185
|
caller?: string;
|
|
1162
1186
|
error?: string;
|
|
1163
1187
|
[key: string]: unknown;
|