@output.ai/core 0.1.18-dev.pr12-ega9 → 0.1.18-dev.pr31-foo
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/index.d.ts +1 -1
- package/src/tracing/index.d.ts +10 -11
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ export type StepFunctionWrapper<StepFunction> =
|
|
|
142
142
|
* @param params.outputSchema - Zod schema for the `fn` output
|
|
143
143
|
* @param params.fn - A handler function containing the step code
|
|
144
144
|
* @param params.options - Temporal Activity options
|
|
145
|
-
* @returns
|
|
145
|
+
* @returns The same handler function set at `fn`
|
|
146
146
|
*/
|
|
147
147
|
export declare function step<
|
|
148
148
|
InputSchema extends AnyZodSchema | undefined = undefined,
|
package/src/tracing/index.d.ts
CHANGED
|
@@ -15,11 +15,10 @@ export declare const Tracing: {
|
|
|
15
15
|
/**
|
|
16
16
|
* Adds the start phase of a new event at the default trace for the current workflow.
|
|
17
17
|
*
|
|
18
|
-
* @param
|
|
19
|
-
* @param
|
|
20
|
-
* @param
|
|
21
|
-
* @param
|
|
22
|
-
* @returns {void}
|
|
18
|
+
* @param id - A unique id for the Event, must be the same across all phases: start, end, error.
|
|
19
|
+
* @param kind - The kind of Event, like HTTP, DiskWrite, DBOp, etc.
|
|
20
|
+
* @param name - The human friendly name of the Event: query, request, create.
|
|
21
|
+
* @param details - All details attached to this Event Phase. DB queried records, HTTP response body.
|
|
23
22
|
*/
|
|
24
23
|
addEventStart( args: { id: string; kind: string; name: string; details: any } ): void; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
25
24
|
|
|
@@ -28,9 +27,9 @@ export declare const Tracing: {
|
|
|
28
27
|
*
|
|
29
28
|
* It needs to use the same id of the start phase.
|
|
30
29
|
*
|
|
31
|
-
* @param
|
|
32
|
-
* @param
|
|
33
|
-
* @returns
|
|
30
|
+
* @param id - A unique id for the Event, must be the same across all phases: start, end, error.
|
|
31
|
+
* @param details - All details attached to this Event Phase. DB queried records, HTTP response body.
|
|
32
|
+
* @returns
|
|
34
33
|
*/
|
|
35
34
|
addEventEnd( args: { id: string; details: any } ): void; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
36
35
|
|
|
@@ -39,9 +38,9 @@ export declare const Tracing: {
|
|
|
39
38
|
*
|
|
40
39
|
* It needs to use the same id of the start phase.
|
|
41
40
|
*
|
|
42
|
-
* @param
|
|
43
|
-
* @param
|
|
44
|
-
* @returns
|
|
41
|
+
* @param id - A unique id for the Event, must be the same across all phases: start, end, error.
|
|
42
|
+
* @param details - All details attached to this Event Phase. DB queried records, HTTP response body.
|
|
43
|
+
* @returns
|
|
45
44
|
*/
|
|
46
45
|
addEventError( args: { id: string; details: any } ): void; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
47
46
|
};
|