@epilot/cli 0.1.112 → 0.1.114
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 +1 -1
- package/definitions/app.json +34 -17
- package/definitions/configuration-hub.json +1064 -48
- package/dist/{add-component-TCF7V3KU.js → add-component-YSPAIR3D.js} +11 -1
- package/dist/{add-function-VRVBRNY3.js → add-function-6VYBWMRD.js} +11 -5
- package/dist/{api-5W2UMWCW.js → api-HKW3N3TV.js} +3 -2
- package/dist/app-TCMEJ6XJ.js +26 -0
- package/dist/bin/epilot.js +7 -7
- package/dist/{chunk-UDGF4AVJ.js → chunk-6HMS3A5C.js} +0 -3
- package/dist/{chunk-Q5BRCFO5.js → chunk-PKLYEJHD.js} +12 -2
- package/dist/{completion-TFNBZ2RL.js → completion-YY2UW6SA.js} +1 -1
- package/dist/{deploy-2U5FVEE7.js → deploy-3HGRSDVZ.js} +16 -29
- package/dist/{dev-JEAHUYQU.js → dev-IYGZMQ5U.js} +1 -1
- package/dist/{export-VLAY2KZP.js → export-TDFYIMNN.js} +1 -1
- package/dist/{init-C66L5GFR.js → init-5K7TXE74.js} +1 -1
- package/dist/{remove-component-7C7MPSBF.js → remove-component-4XFMVBFW.js} +1 -1
- package/dist/{review-JZTMQNU3.js → review-BD2ZOXCZ.js} +4 -2
- package/dist/{upgrade-JXF72TTA.js → upgrade-U5ADV54U.js} +1 -1
- package/dist/{validate-J35DJW3H.js → validate-B5MJWBXP.js} +1 -1
- package/dist/{versions-2TMTHO7W.js → versions-KZG3AZCT.js} +1 -1
- package/package.json +1 -1
- package/dist/app-NATUF3YX.js +0 -26
package/README.md
CHANGED
package/definitions/app.json
CHANGED
|
@@ -2113,12 +2113,12 @@
|
|
|
2113
2113
|
"workflow",
|
|
2114
2114
|
"scheduled"
|
|
2115
2115
|
],
|
|
2116
|
-
"description": "Where the function can be used. `workflow` functions are
|
|
2116
|
+
"description": "Where the function can be used. `workflow` functions are referenced by CUSTOM_FLOW_ACTION components (type `function`) and run with entity context. `scheduled` functions run automatically per installation on their cron schedule.\n"
|
|
2117
2117
|
},
|
|
2118
2118
|
"label": {
|
|
2119
2119
|
"allOf": [
|
|
2120
2120
|
{
|
|
2121
|
-
"description":
|
|
2121
|
+
"description": null
|
|
2122
2122
|
},
|
|
2123
2123
|
{
|
|
2124
2124
|
"$ref": "#/components/schemas/TranslatedString"
|
|
@@ -2165,19 +2165,6 @@
|
|
|
2165
2165
|
"type": "string"
|
|
2166
2166
|
},
|
|
2167
2167
|
"description": "Keys of installation options of type secret made available to the function via input.app_options\n"
|
|
2168
|
-
},
|
|
2169
|
-
"wait_for_callback": {
|
|
2170
|
-
"type": "boolean",
|
|
2171
|
-
"description": "Workflow functions only — wait for the callback_url to be called before completing the flow action\n"
|
|
2172
|
-
},
|
|
2173
|
-
"surfaces": {
|
|
2174
|
-
"type": "object",
|
|
2175
|
-
"description": "Workflow functions only — optional custom config UI shown in the flow builder",
|
|
2176
|
-
"properties": {
|
|
2177
|
-
"flow_action_config": {
|
|
2178
|
-
"$ref": "#/components/schemas/AppBridgeSurfaceConfig"
|
|
2179
|
-
}
|
|
2180
|
-
}
|
|
2181
2168
|
}
|
|
2182
2169
|
}
|
|
2183
2170
|
},
|
|
@@ -2594,18 +2581,48 @@
|
|
|
2594
2581
|
}
|
|
2595
2582
|
]
|
|
2596
2583
|
},
|
|
2584
|
+
"FunctionRefCustomActionConfig": {
|
|
2585
|
+
"allOf": [
|
|
2586
|
+
{
|
|
2587
|
+
"$ref": "#/components/schemas/BaseCustomActionConfig"
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
"type": "object",
|
|
2591
|
+
"properties": {
|
|
2592
|
+
"type": {
|
|
2593
|
+
"type": "string",
|
|
2594
|
+
"enum": [
|
|
2595
|
+
"function"
|
|
2596
|
+
]
|
|
2597
|
+
},
|
|
2598
|
+
"function_name": {
|
|
2599
|
+
"type": "string",
|
|
2600
|
+
"description": "Name of a `workflow`-type function of the same app version. The component provides the org-facing contract (name, options, config surface); the referenced function provides the code.\n"
|
|
2601
|
+
}
|
|
2602
|
+
},
|
|
2603
|
+
"required": [
|
|
2604
|
+
"type",
|
|
2605
|
+
"function_name"
|
|
2606
|
+
]
|
|
2607
|
+
}
|
|
2608
|
+
]
|
|
2609
|
+
},
|
|
2597
2610
|
"CustomFlowConfig": {
|
|
2598
2611
|
"type": "object",
|
|
2599
|
-
"description": "Configuration of
|
|
2612
|
+
"description": "Configuration of a flow action component. `external_integration` calls an external HTTP endpoint; `function` runs a workflow-type app function in the epilot sandbox.\n",
|
|
2600
2613
|
"oneOf": [
|
|
2601
2614
|
{
|
|
2602
2615
|
"$ref": "#/components/schemas/ExternalIntegrationCustomActionConfig"
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
"$ref": "#/components/schemas/FunctionRefCustomActionConfig"
|
|
2603
2619
|
}
|
|
2604
2620
|
],
|
|
2605
2621
|
"discriminator": {
|
|
2606
2622
|
"propertyName": "type",
|
|
2607
2623
|
"mapping": {
|
|
2608
|
-
"external_integration": "#/components/schemas/ExternalIntegrationCustomActionConfig"
|
|
2624
|
+
"external_integration": "#/components/schemas/ExternalIntegrationCustomActionConfig",
|
|
2625
|
+
"function": "#/components/schemas/FunctionRefCustomActionConfig"
|
|
2609
2626
|
}
|
|
2610
2627
|
}
|
|
2611
2628
|
},
|