@transai/connector-runner-file-source 0.54.12 → 0.54.13
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/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-firing.interface.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** One time a semantic trigger fired: a row its query returned, saved as an event. */
|
|
2
|
+
export interface SemanticTriggerFiringInterface {
|
|
3
|
+
/** The event's id. */
|
|
4
|
+
id: string;
|
|
5
|
+
firedAt: Date;
|
|
6
|
+
/** The row the trigger's query returned. */
|
|
7
|
+
data: unknown;
|
|
8
|
+
/** Workflow runs the firing started. */
|
|
9
|
+
workflowRuns: number;
|
|
10
|
+
}
|
|
11
|
+
/** When a trigger last fired, and how often since a moment. */
|
|
12
|
+
export interface SemanticTriggerFiringSummaryInterface {
|
|
13
|
+
triggerIdentifier: string;
|
|
14
|
+
lastFiredAt: Date | null;
|
|
15
|
+
firingsSince: number;
|
|
16
|
+
}
|