@transai/connector-runner-file-sink 0.56.12 → 0.56.14

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.
@@ -3,20 +3,6 @@ export declare const INGRESS_MAX_BODY_BYTES = 1048576;
3
3
  /** The ingestion service owns this table; management-api fetches its active rows over HTTP to point Cube at the typed tables. */
4
4
  export declare const DATASET_TABLES: {
5
5
  readonly name: "document_dataset_tables";
6
- readonly columns: {
7
- readonly tenantIdentifier: "tenant_identifier";
8
- readonly datasetKey: "dataset_key";
9
- readonly mappingHash: "mapping_hash";
10
- readonly schemaName: "schema_name";
11
- readonly tableName: "table_name";
12
- readonly collection: "collection";
13
- readonly mapping: "mapping";
14
- readonly state: "state";
15
- readonly activatedAt: "activated_at";
16
- readonly retiredAt: "retired_at";
17
- readonly createdAt: "created_at";
18
- readonly updatedAt: "updated_at";
19
- };
20
6
  readonly states: {
21
7
  readonly building: "building";
22
8
  readonly active: "active";
@@ -5,3 +5,4 @@ export * from './semantic-trigger-record.interface';
5
5
  export * from './shallow-semantic-trigger-record.interface';
6
6
  export * from './semantic-trigger.interface';
7
7
  export * from './semantic-triggers.interface';
8
+ export * from './semantic-trigger-firing.interface';
@@ -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
+ }
@@ -3,6 +3,10 @@ export type TenantFeatureFlags = Record<string, boolean>;
3
3
  export declare const INGESTION_API_FLAG = "ingestionApi";
4
4
  /** On top of {@link INGESTION_API_FLAG}: connectors also send their documents through the ingestion api, not only telemetry. */
5
5
  export declare const INGESTION_API_DOCUMENTS_FLAG = "ingestionApiDocuments";
6
+ /** Stops sending documents and metrics to Kafka, once they go through the ingestion api. */
7
+ export declare const KAFKA_DOCUMENTS_DISABLED_FLAG = "kafkaDocumentsDisabled";
8
+ /** Stops sending platform telemetry; stays honoured once telemetry no longer needs {@link INGESTION_API_FLAG}. */
9
+ export declare const TELEMETRY_DISABLED_FLAG = "telemetryDisabled";
6
10
  export interface TenantInterface {
7
11
  identifier: string;
8
12
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runner-file-sink",
3
- "version": "0.56.12",
3
+ "version": "0.56.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },