@memberjunction/actions-base 2.51.0 → 2.52.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/README.md
CHANGED
|
@@ -97,6 +97,48 @@ const runParams: RunActionParams = {
|
|
|
97
97
|
};
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
+
#### Type-Safe Context Support (New in v2.51.0)
|
|
101
|
+
|
|
102
|
+
RunActionParams now supports type-safe context propagation:
|
|
103
|
+
|
|
104
|
+
```typescript
|
|
105
|
+
import { RunActionParams } from '@memberjunction/actions-base';
|
|
106
|
+
|
|
107
|
+
// Define your context type
|
|
108
|
+
interface MyActionContext {
|
|
109
|
+
apiEndpoint: string;
|
|
110
|
+
apiKey: string;
|
|
111
|
+
environment: 'dev' | 'staging' | 'prod';
|
|
112
|
+
featureFlags: Record<string, boolean>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Create typed parameters
|
|
116
|
+
const runParams = new RunActionParams<MyActionContext>();
|
|
117
|
+
runParams.Action = actionEntity;
|
|
118
|
+
runParams.ContextUser = userInfo;
|
|
119
|
+
runParams.Params = [
|
|
120
|
+
{ Name: 'customerID', Value: 'CUST123', Type: 'Input' },
|
|
121
|
+
{ Name: 'orderAmount', Value: 150.00, Type: 'Input' }
|
|
122
|
+
];
|
|
123
|
+
|
|
124
|
+
// Set typed context
|
|
125
|
+
runParams.Context = {
|
|
126
|
+
apiEndpoint: 'https://api.example.com',
|
|
127
|
+
apiKey: process.env.API_KEY,
|
|
128
|
+
environment: 'prod',
|
|
129
|
+
featureFlags: {
|
|
130
|
+
newFeature: true,
|
|
131
|
+
betaAccess: false
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
The context object is:
|
|
137
|
+
- **Separate from parameters**: Not stored in the database or included in logs
|
|
138
|
+
- **Runtime-specific**: For environment configuration, credentials, and session data
|
|
139
|
+
- **Type-safe**: Full TypeScript support when using generics
|
|
140
|
+
- **Propagated automatically**: Flows from agents to actions in the execution hierarchy
|
|
141
|
+
|
|
100
142
|
### ActionResult
|
|
101
143
|
|
|
102
144
|
The result object returned from action execution:
|
|
@@ -249,6 +291,47 @@ const params = prepareActionParams({
|
|
|
249
291
|
});
|
|
250
292
|
```
|
|
251
293
|
|
|
294
|
+
### Using Context in Actions
|
|
295
|
+
|
|
296
|
+
Context provides runtime-specific information separate from business parameters:
|
|
297
|
+
|
|
298
|
+
```typescript
|
|
299
|
+
import { RunActionParams } from '@memberjunction/actions-base';
|
|
300
|
+
|
|
301
|
+
interface ServiceContext {
|
|
302
|
+
apiEndpoint: string;
|
|
303
|
+
apiKey: string;
|
|
304
|
+
timeout: number;
|
|
305
|
+
retryPolicy: {
|
|
306
|
+
maxRetries: number;
|
|
307
|
+
backoffMs: number;
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
async function executeActionWithContext(
|
|
312
|
+
action: ActionEntity,
|
|
313
|
+
businessParams: ActionParam[],
|
|
314
|
+
context: ServiceContext,
|
|
315
|
+
user: UserInfo
|
|
316
|
+
) {
|
|
317
|
+
const runParams = new RunActionParams<ServiceContext>();
|
|
318
|
+
runParams.Action = action;
|
|
319
|
+
runParams.ContextUser = user;
|
|
320
|
+
runParams.Params = businessParams;
|
|
321
|
+
runParams.Context = context;
|
|
322
|
+
|
|
323
|
+
// The action implementation can access context via this.ContextObject
|
|
324
|
+
// This is useful for:
|
|
325
|
+
// - API configurations that vary by environment
|
|
326
|
+
// - Runtime credentials not stored in metadata
|
|
327
|
+
// - Session-specific settings
|
|
328
|
+
// - Feature flags and toggles
|
|
329
|
+
|
|
330
|
+
const result = await actionEngine.RunAction(runParams);
|
|
331
|
+
return result;
|
|
332
|
+
}
|
|
333
|
+
```
|
|
334
|
+
|
|
252
335
|
## Dependencies
|
|
253
336
|
|
|
254
337
|
- `@memberjunction/global`: Global utilities and registration system
|
|
@@ -99,8 +99,32 @@ export declare class ActionParam {
|
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
101
|
* Class that holds the parameters for an action to be run. This is passed to the Run method of an action.
|
|
102
|
+
*
|
|
103
|
+
* @template TContext - Type of the context object passed to the action execution.
|
|
104
|
+
* This allows for type-safe context propagation from agents to actions.
|
|
105
|
+
* Defaults to any for backward compatibility.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```typescript
|
|
109
|
+
* // Define a typed context
|
|
110
|
+
* interface MyActionContext {
|
|
111
|
+
* apiEndpoint: string;
|
|
112
|
+
* apiKey: string;
|
|
113
|
+
* environment: 'dev' | 'staging' | 'prod';
|
|
114
|
+
* }
|
|
115
|
+
*
|
|
116
|
+
* // Use with type safety
|
|
117
|
+
* const params = new RunActionParams<MyActionContext>();
|
|
118
|
+
* params.Action = myAction;
|
|
119
|
+
* params.ContextUser = currentUser;
|
|
120
|
+
* params.Context = {
|
|
121
|
+
* apiEndpoint: 'https://api.example.com',
|
|
122
|
+
* apiKey: process.env.API_KEY,
|
|
123
|
+
* environment: 'prod'
|
|
124
|
+
* };
|
|
125
|
+
* ```
|
|
102
126
|
*/
|
|
103
|
-
export declare class RunActionParams {
|
|
127
|
+
export declare class RunActionParams<TContext = any> {
|
|
104
128
|
/**
|
|
105
129
|
* The action entity to be run.
|
|
106
130
|
*/
|
|
@@ -121,27 +145,26 @@ export declare class RunActionParams {
|
|
|
121
145
|
* Optional, the input and output parameters as defined in the metadata for the action.
|
|
122
146
|
*/
|
|
123
147
|
Params: ActionParam[];
|
|
124
|
-
}
|
|
125
|
-
export type RunActionByNameParams = {
|
|
126
|
-
/**
|
|
127
|
-
* The ID of the action to be run.
|
|
128
|
-
*/
|
|
129
|
-
ActionID: string;
|
|
130
|
-
/**
|
|
131
|
-
* The user context for the action.
|
|
132
|
-
*/
|
|
133
|
-
ContextUser: UserInfo;
|
|
134
|
-
/**
|
|
135
|
-
* Optional, if true, an ActionExecutionLogEntity will not be created for this action run.
|
|
136
|
-
*/
|
|
137
|
-
SkipActionLog?: boolean;
|
|
138
148
|
/**
|
|
139
|
-
* Optional
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
149
|
+
* Optional context object that provides runtime-specific information to the action.
|
|
150
|
+
* This context is separate from the action parameters and is not stored in the database.
|
|
151
|
+
*
|
|
152
|
+
* Common use cases include:
|
|
153
|
+
* - Environment-specific configuration (API endpoints, service URLs)
|
|
154
|
+
* - Runtime credentials or authentication tokens
|
|
155
|
+
* - User preferences or session information
|
|
156
|
+
* - Feature flags or toggles
|
|
157
|
+
* - Request-specific correlation IDs
|
|
158
|
+
*
|
|
159
|
+
* The context flows from agents to actions, maintaining consistency throughout
|
|
160
|
+
* the execution hierarchy. Actions can use this context to adapt their behavior
|
|
161
|
+
* based on runtime conditions without modifying their core parameter structure.
|
|
162
|
+
*
|
|
163
|
+
* Note: Avoid including sensitive data like passwords unless absolutely necessary,
|
|
164
|
+
* as context may be passed through multiple execution layers.
|
|
165
|
+
*/
|
|
166
|
+
Context?: TContext;
|
|
167
|
+
}
|
|
145
168
|
/**
|
|
146
169
|
* Base class for Action metadata.
|
|
147
170
|
*/
|
|
@@ -171,9 +194,17 @@ export declare class ActionEngineBase extends BaseEngine<ActionEngineBase> {
|
|
|
171
194
|
get CoreActions(): ActionEntityExtended[];
|
|
172
195
|
get NonCoreActions(): ActionEntityExtended[];
|
|
173
196
|
get CoreCategoryName(): string;
|
|
197
|
+
/**
|
|
198
|
+
* Returns an action based on its name
|
|
199
|
+
* @param actionName
|
|
200
|
+
* @returns
|
|
201
|
+
*/
|
|
202
|
+
GetActionByName(actionName: string): ActionEntityExtended | undefined;
|
|
174
203
|
/**
|
|
175
204
|
* This method handles input validation. Subclasses can override this method to provide custom input validation.
|
|
205
|
+
*
|
|
206
|
+
* @template TContext - Type of the context object in RunActionParams
|
|
176
207
|
*/
|
|
177
|
-
protected ValidateInputs(params: RunActionParams): Promise<boolean>;
|
|
208
|
+
protected ValidateInputs<TContext = any>(params: RunActionParams<TContext>): Promise<boolean>;
|
|
178
209
|
}
|
|
179
210
|
//# sourceMappingURL=ActionEngine-Base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionEngine-Base.d.ts","sourceRoot":"","sources":["../src/ActionEngine-Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC3K,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,qBAAa,aAAa;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;GAEG;AACH,qBAAa,aAAa;IACtB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AAEH,qBAAa,kBAAkB;IAC5B;;OAEG;IACI,OAAO,EAAE,OAAO,CAAC;IAExB;;OAEG;IACI,UAAU,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACI,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IAE9B;;OAEG;IACI,OAAO,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,qBAAa,YAAY;IACtB;;OAEG;IACI,SAAS,EAAE,eAAe,CAAC;IAElC;;OAEG;IACI,OAAO,EAAE,OAAO,CAAC;IAExB;;OAEG;IACI,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAEvC;;OAEG;I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,CAA2B;IACrD,OAAO,CAAC,gBAAgB,CAAwB;IAEjD;;;;;OAKG;IACU,MAAM,CAAC,YAAY,GAAE,OAAe,EAAE,WAAW,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IA0BtH,IAAW,OAAO,IAAI,oBAAoB,EAAE,CAE3C;IACD,IAAW,YAAY,IAAI,iBAAiB,EAAE,CAE7C;IACD,IAAW,aAAa,IAAI,kBAAkB,EAAE,CAE/C;IACD,IAAW,iBAAiB,IAAI,sBAAsB,EAAE,CAEvD;IACD,IAAW,eAAe,IAAI,mBAAmB,EAAE,CAElD;IAED,IAAW,WAAW,IAAI,oBAAoB,EAAE,CAE/C;IACD,IAAW,cAAc,IAAI,oBAAoB,EAAE,CAElD;IAED,IAAW,gBAAgB,IAAI,MAAM,CAEpC;IAEF;;;;OAIG;IACI,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS;IAO5E;;;;OAIG;cACa,cAAc,CAAC,QAAQ,GAAG,GAAG,EAAE,MAAM,EAAE,eAAe,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;CAGrG"}
|
|
@@ -31,6 +31,30 @@ class ActionParam {
|
|
|
31
31
|
exports.ActionParam = ActionParam;
|
|
32
32
|
/**
|
|
33
33
|
* Class that holds the parameters for an action to be run. This is passed to the Run method of an action.
|
|
34
|
+
*
|
|
35
|
+
* @template TContext - Type of the context object passed to the action execution.
|
|
36
|
+
* This allows for type-safe context propagation from agents to actions.
|
|
37
|
+
* Defaults to any for backward compatibility.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```typescript
|
|
41
|
+
* // Define a typed context
|
|
42
|
+
* interface MyActionContext {
|
|
43
|
+
* apiEndpoint: string;
|
|
44
|
+
* apiKey: string;
|
|
45
|
+
* environment: 'dev' | 'staging' | 'prod';
|
|
46
|
+
* }
|
|
47
|
+
*
|
|
48
|
+
* // Use with type safety
|
|
49
|
+
* const params = new RunActionParams<MyActionContext>();
|
|
50
|
+
* params.Action = myAction;
|
|
51
|
+
* params.ContextUser = currentUser;
|
|
52
|
+
* params.Context = {
|
|
53
|
+
* apiEndpoint: 'https://api.example.com',
|
|
54
|
+
* apiKey: process.env.API_KEY,
|
|
55
|
+
* environment: 'prod'
|
|
56
|
+
* };
|
|
57
|
+
* ```
|
|
34
58
|
*/
|
|
35
59
|
class RunActionParams {
|
|
36
60
|
}
|
|
@@ -105,8 +129,21 @@ class ActionEngineBase extends core_1.BaseEngine {
|
|
|
105
129
|
get CoreCategoryName() {
|
|
106
130
|
return this.__coreCategoryName;
|
|
107
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Returns an action based on its name
|
|
134
|
+
* @param actionName
|
|
135
|
+
* @returns
|
|
136
|
+
*/
|
|
137
|
+
GetActionByName(actionName) {
|
|
138
|
+
if (!actionName || actionName.trim().length === 0) {
|
|
139
|
+
throw new Error("Action name cannot be null or empty.");
|
|
140
|
+
}
|
|
141
|
+
return this.Actions.find(a => a.Name.trim().toLowerCase() === actionName.trim().toLowerCase());
|
|
142
|
+
}
|
|
108
143
|
/**
|
|
109
144
|
* This method handles input validation. Subclasses can override this method to provide custom input validation.
|
|
145
|
+
*
|
|
146
|
+
* @template TContext - Type of the context object in RunActionParams
|
|
110
147
|
*/
|
|
111
148
|
async ValidateInputs(params) {
|
|
112
149
|
return true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionEngine-Base.js","sourceRoot":"","sources":["../src/ActionEngine-Base.ts"],"names":[],"mappings":";;;AAAA,+CAA+E;AAK/E,MAAa,aAAa;CAGzB;AAHD,sCAGC;AAED;;GAEG;AACH,MAAa,aAAa;CAqBzB;AArBD,sCAqBC;AAED;;GAEG;AAEH,MAAa,kBAAkB;CAoB9B;AApBD,gDAoBC;AAED;;GAEG;AACH,MAAa,YAAY;CA8BxB;AA9BD,oCA8BC;AAED;;GAEG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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/actions-base",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.52.0",
|
|
4
4
|
"description": "Base Classes for MemberJunction Actions. This library is used on both server and network nodes.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"typescript": "^5.4.5"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@memberjunction/global": "2.
|
|
23
|
-
"@memberjunction/core": "2.
|
|
24
|
-
"@memberjunction/core-entities": "2.
|
|
22
|
+
"@memberjunction/global": "2.52.0",
|
|
23
|
+
"@memberjunction/core": "2.52.0",
|
|
24
|
+
"@memberjunction/core-entities": "2.52.0"
|
|
25
25
|
}
|
|
26
26
|
}
|