@prismatic-io/spectral 10.5.6 → 10.5.7
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InstanceAttributes, CustomerAttributes, DataSourceType, DataSourceResultType, UserAttributes, TriggerEventFunctionReturn, IntegrationAttributes, FlowAttributes, ConfigVarResultCollection, ComponentManifest, FlowInvoker, ExecutionFrame, DebugContext } from "../types";
|
|
2
|
+
import { FlowSchemas } from "../types/FlowSchema";
|
|
2
3
|
interface DisplayDefinition {
|
|
3
4
|
label: string;
|
|
4
5
|
description: string;
|
|
@@ -66,6 +67,7 @@ export type ActionContext<TConfigVars extends ConfigVarResultCollection = Config
|
|
|
66
67
|
flow: FlowAttributes;
|
|
67
68
|
startedAt: string;
|
|
68
69
|
executionFrame: ExecutionFrame;
|
|
70
|
+
flowSchemas: FlowSchemas;
|
|
69
71
|
globalDebug?: boolean;
|
|
70
72
|
runnerAllocatedMemoryMb?: number;
|
|
71
73
|
components: {
|
package/dist/testing.js
CHANGED
|
@@ -134,6 +134,12 @@ const createActionContext = (context) => {
|
|
|
134
134
|
memoryUsage: [],
|
|
135
135
|
allowedMemory: 1024,
|
|
136
136
|
},
|
|
137
|
+
}, flowSchemas: {
|
|
138
|
+
invoke: {
|
|
139
|
+
properties: {},
|
|
140
|
+
type: "",
|
|
141
|
+
title: "",
|
|
142
|
+
},
|
|
137
143
|
} }, context);
|
|
138
144
|
};
|
|
139
145
|
const createDataSourceContext = (context) => {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosResponse } from "axios";
|
|
2
2
|
import { Inputs, ConfigVarResultCollection, ActionPerformReturn, ActionInputParameters, ActionLogger, InstanceAttributes, CustomerAttributes, UserAttributes, IntegrationAttributes, FlowAttributes, ComponentManifest } from ".";
|
|
3
|
+
import { FlowSchemas } from "./FlowSchema";
|
|
3
4
|
interface StandardLineage {
|
|
4
5
|
componentActionKey: string;
|
|
5
6
|
executionId: string;
|
|
@@ -117,5 +118,7 @@ export type ActionContext<TConfigVars extends ConfigVarResultCollection = Config
|
|
|
117
118
|
executionFrame: ExecutionFrame;
|
|
118
119
|
/** Contains methods, flags, and data to support debug modes. */
|
|
119
120
|
debug: DebugContext;
|
|
121
|
+
/** JSON schemas to enable using flows for AI function calls. */
|
|
122
|
+
flowSchemas: FlowSchemas;
|
|
120
123
|
};
|
|
121
124
|
export {};
|