@frontera-sdk/functions 1.50.16 → 1.50.18
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 +2 -2
- package/src/index.ts +2 -1
- package/src/types.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontera-sdk/functions",
|
|
3
|
-
"version": "1.50.
|
|
3
|
+
"version": "1.50.18",
|
|
4
4
|
"description": "Author Frontera functions: manifest, triggers and the typed handler contract.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"frontera",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "^5.9.3"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@frontera-sdk/blueprint": "1.50.
|
|
45
|
+
"@frontera-sdk/blueprint": "1.50.18",
|
|
46
46
|
"cron-parser": "^5.0.6"
|
|
47
47
|
}
|
|
48
48
|
}
|
package/src/index.ts
CHANGED
|
@@ -13,11 +13,12 @@ export { createTestContext } from './testing'
|
|
|
13
13
|
export type { TestCall, TestContext, TestContextOptions } from './testing'
|
|
14
14
|
export {
|
|
15
15
|
MAX_INPUT_BYTES,
|
|
16
|
+
checkInputFieldSpec,
|
|
16
17
|
redactedInputKeys,
|
|
17
18
|
sanitizeInputsSchema,
|
|
18
19
|
validateInputValue,
|
|
19
20
|
} from './inputs'
|
|
20
|
-
export type { InputValidation } from './inputs'
|
|
21
|
+
export type { InputFieldCheck, InputValidation } from './inputs'
|
|
21
22
|
export {
|
|
22
23
|
EVENT_TRIGGER_SOURCES,
|
|
23
24
|
TICKETED_TRIGGER_SOURCES,
|
package/src/types.ts
CHANGED
|
@@ -575,7 +575,7 @@ export interface AutomationDescriptor {
|
|
|
575
575
|
* `cron` is deliberately absent: it is what the runner INFERS when the event
|
|
576
576
|
* names no source at all, so it is never carried on an event.
|
|
577
577
|
*/
|
|
578
|
-
export const EVENT_TRIGGER_SOURCES = ['manual', 'rehearsal', 'agent', 'app'] as const
|
|
578
|
+
export const EVENT_TRIGGER_SOURCES = ['manual', 'rehearsal', 'agent', 'app', 'workflow', 'channel'] as const
|
|
579
579
|
export type EventTriggerSource = (typeof EVENT_TRIGGER_SOURCES)[number]
|
|
580
580
|
|
|
581
581
|
/**
|