@stackone/core 2.36.0 → 2.37.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.cts CHANGED
@@ -1194,8 +1194,16 @@ type StepLog = {
1194
1194
  //#endregion
1195
1195
  //#region ../olap/src/types.d.ts
1196
1196
  interface IOlapClient {
1197
- recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): void;
1198
- recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): void;
1197
+ recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): Promise<void>;
1198
+ recordActions(actions: Array<{
1199
+ input: ActionInput;
1200
+ result: ActionResult;
1201
+ }>, options?: OlapOptions): Promise<void>;
1202
+ recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): Promise<void>;
1203
+ recordSteps(steps: Array<{
1204
+ input: StepInput;
1205
+ result: StepResult;
1206
+ }>, options?: OlapOptions): Promise<void>;
1199
1207
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
1200
1208
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
1201
1209
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
package/dist/index.d.mts CHANGED
@@ -1193,8 +1193,16 @@ type StepLog = {
1193
1193
  //#endregion
1194
1194
  //#region ../olap/src/types.d.ts
1195
1195
  interface IOlapClient {
1196
- recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): void;
1197
- recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): void;
1196
+ recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): Promise<void>;
1197
+ recordActions(actions: Array<{
1198
+ input: ActionInput;
1199
+ result: ActionResult;
1200
+ }>, options?: OlapOptions): Promise<void>;
1201
+ recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): Promise<void>;
1202
+ recordSteps(steps: Array<{
1203
+ input: StepInput;
1204
+ result: StepResult;
1205
+ }>, options?: OlapOptions): Promise<void>;
1198
1206
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
1199
1207
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
1200
1208
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/core",
3
- "version": "2.36.0",
3
+ "version": "2.37.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",