@galaxy-io/filament-ts 0.5.0 → 0.7.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.
@@ -26,4 +26,17 @@ export interface IngestionV1RunPipelineRequest {
26
26
  * a run already requested.
27
27
  */
28
28
  workerConfiguration?: Filament.IngestionV1WorkerConfiguration;
29
+ /**
30
+ * resync_resources names resources read from the beginning again by the
31
+ * runs this call produces. A bounded run forgets their checkpoints first. A
32
+ * live continuous run drains and hands over to a successor that snapshots
33
+ * them again on the same stream.
34
+ */
35
+ resyncResources?: string[];
36
+ /**
37
+ * resources limits a bounded run to these routed resources. Empty runs every
38
+ * routed resource. A continuous run, or a change-stream route named in part,
39
+ * always runs all of its resources, so such a subset is rejected.
40
+ */
41
+ resources?: string[];
29
42
  }
@@ -5,9 +5,9 @@
5
5
  * the null value for the `Value` type union.
6
6
  *
7
7
  * A field of type `NullValue` with any value other than `0` is considered
8
- * invalid. Most ProtoJSON serializers will emit a Value with a `null_value` set
9
- * as a JSON `null` regardless of the integer value, and so will round trip to
10
- * a `0` value.
8
+ * invalid. Most ProtoJSON serializers will emit a `Value` with a `null_value`
9
+ * set as a JSON `null` regardless of the integer value, and so will round trip
10
+ * to a `0` value.
11
11
  */
12
12
  export declare const GoogleProtobufNullValue: {
13
13
  readonly NullValue: "NULL_VALUE";
@@ -6,9 +6,9 @@
6
6
  * the null value for the `Value` type union.
7
7
  *
8
8
  * A field of type `NullValue` with any value other than `0` is considered
9
- * invalid. Most ProtoJSON serializers will emit a Value with a `null_value` set
10
- * as a JSON `null` regardless of the integer value, and so will round trip to
11
- * a `0` value.
9
+ * invalid. Most ProtoJSON serializers will emit a `Value` with a `null_value`
10
+ * set as a JSON `null` regardless of the integer value, and so will round trip
11
+ * to a `0` value.
12
12
  */
13
13
  export const GoogleProtobufNullValue = {
14
14
  NullValue: "NULL_VALUE",
@@ -13,8 +13,8 @@ export interface IngestionV1ConnectorSpec {
13
13
  darkLogoUrl?: string | undefined;
14
14
  lightLogoUrl?: string | undefined;
15
15
  schemaField?: string | undefined;
16
- maturity?: Filament.IngestionV1ConnectorMaturity | undefined;
17
16
  apiVersion?: string | undefined;
18
17
  /** Concrete registration selected by a source catalog alias; empty otherwise. */
19
18
  aliasTarget?: string | undefined;
19
+ isPreview?: boolean | undefined;
20
20
  }
@@ -28,4 +28,19 @@ export interface IngestionV1PipelineEdge {
28
28
  * only define its own resource. Empty means rows pass through unchanged.
29
29
  */
30
30
  transform?: Filament.GoogleProtobufStruct | undefined;
31
+ /**
32
+ * columns narrows the columns read from each resource. An all-resource edge
33
+ * may configure several resources; a resource-specific edge may configure
34
+ * only its own resource. An omitted resource reads every column.
35
+ */
36
+ columns?: Filament.IngestionV1ResourceColumnSelection[] | undefined;
37
+ /**
38
+ * partitions narrows the partitions a full read or a change stream's
39
+ * initial snapshot backfills from each partitioned resource. The change
40
+ * stream still carries every partition, including ones created later. An
41
+ * all-resource edge may configure several resources; a resource-specific
42
+ * edge may configure only its own resource. An omitted resource backfills
43
+ * every partition, and an empty selection backfills none.
44
+ */
45
+ partitions?: Filament.IngestionV1ResourcePartitionSelection[] | undefined;
31
46
  }
@@ -0,0 +1,4 @@
1
+ export interface IngestionV1ResourceColumnSelection {
2
+ resource?: string | undefined;
3
+ columns?: string[] | undefined;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -4,4 +4,8 @@ export interface IngestionV1ResourceColumns {
4
4
  columns?: Filament.IngestionV1ResourceColumn[] | undefined;
5
5
  /** Incremental state is owned by the source; no cursor column is required. */
6
6
  managedIncremental?: boolean | undefined;
7
+ /** The source reads only the columns an edge selects. */
8
+ selectableColumns?: boolean | undefined;
9
+ /** The resource's partitions an edge may select; empty when it is not partitioned. */
10
+ partitions?: string[] | undefined;
7
11
  }
@@ -0,0 +1,4 @@
1
+ export interface IngestionV1ResourcePartitionSelection {
2
+ resource?: string | undefined;
3
+ partitions?: string[] | undefined;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -31,4 +31,6 @@ export interface IngestionV1RunInfo {
31
31
  executionMode?: Filament.IngestionV1ExecutionMode | undefined;
32
32
  /** Present for continuous runs. records/bytes above reflect committed progress. */
33
33
  executionStatus?: Filament.IngestionV1ExecutionStatus | undefined;
34
+ /** resources this run reads. Empty means every resource its route selects. */
35
+ resources?: string[] | undefined;
34
36
  }
@@ -35,7 +35,6 @@ export * from "./IngestionV1ConfigField.js";
35
35
  export * from "./IngestionV1ConfigSchema.js";
36
36
  export * from "./IngestionV1Connection.js";
37
37
  export * from "./IngestionV1ConnectorKind.js";
38
- export * from "./IngestionV1ConnectorMaturity.js";
39
38
  export * from "./IngestionV1ConnectorSpec.js";
40
39
  export * from "./IngestionV1CreateConnectionResponse.js";
41
40
  export * from "./IngestionV1CreatePipelineNotifierResponse.js";
@@ -90,8 +89,10 @@ export * from "./IngestionV1Requirement.js";
90
89
  export * from "./IngestionV1RequirementKind.js";
91
90
  export * from "./IngestionV1Resource.js";
92
91
  export * from "./IngestionV1ResourceColumn.js";
92
+ export * from "./IngestionV1ResourceColumnSelection.js";
93
93
  export * from "./IngestionV1ResourceColumns.js";
94
94
  export * from "./IngestionV1ResourceCursorConfig.js";
95
+ export * from "./IngestionV1ResourcePartitionSelection.js";
95
96
  export * from "./IngestionV1ResourceValidation.js";
96
97
  export * from "./IngestionV1RunEvent.js";
97
98
  export * from "./IngestionV1RunEventFields.js";
@@ -35,7 +35,6 @@ export * from "./IngestionV1ConfigField.js";
35
35
  export * from "./IngestionV1ConfigSchema.js";
36
36
  export * from "./IngestionV1Connection.js";
37
37
  export * from "./IngestionV1ConnectorKind.js";
38
- export * from "./IngestionV1ConnectorMaturity.js";
39
38
  export * from "./IngestionV1ConnectorSpec.js";
40
39
  export * from "./IngestionV1CreateConnectionResponse.js";
41
40
  export * from "./IngestionV1CreatePipelineNotifierResponse.js";
@@ -90,8 +89,10 @@ export * from "./IngestionV1Requirement.js";
90
89
  export * from "./IngestionV1RequirementKind.js";
91
90
  export * from "./IngestionV1Resource.js";
92
91
  export * from "./IngestionV1ResourceColumn.js";
92
+ export * from "./IngestionV1ResourceColumnSelection.js";
93
93
  export * from "./IngestionV1ResourceColumns.js";
94
94
  export * from "./IngestionV1ResourceCursorConfig.js";
95
+ export * from "./IngestionV1ResourcePartitionSelection.js";
95
96
  export * from "./IngestionV1ResourceValidation.js";
96
97
  export * from "./IngestionV1RunEvent.js";
97
98
  export * from "./IngestionV1RunEventFields.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galaxy-io/filament-ts",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Generated TypeScript client for the Filament API",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1,7 +0,0 @@
1
- export declare const IngestionV1ConnectorMaturity: {
2
- readonly ConnectorMaturityUnspecified: "CONNECTOR_MATURITY_UNSPECIFIED";
3
- readonly ConnectorMaturityAlpha: "CONNECTOR_MATURITY_ALPHA";
4
- readonly ConnectorMaturityBeta: "CONNECTOR_MATURITY_BETA";
5
- readonly ConnectorMaturityStable: "CONNECTOR_MATURITY_STABLE";
6
- };
7
- export type IngestionV1ConnectorMaturity = (typeof IngestionV1ConnectorMaturity)[keyof typeof IngestionV1ConnectorMaturity];
@@ -1,7 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export const IngestionV1ConnectorMaturity = {
3
- ConnectorMaturityUnspecified: "CONNECTOR_MATURITY_UNSPECIFIED",
4
- ConnectorMaturityAlpha: "CONNECTOR_MATURITY_ALPHA",
5
- ConnectorMaturityBeta: "CONNECTOR_MATURITY_BETA",
6
- ConnectorMaturityStable: "CONNECTOR_MATURITY_STABLE",
7
- };