@dataform/core 3.0.27 → 3.0.29
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/bundle.d.ts +179 -1
- package/bundle.js +1 -1
- package/configs.proto +46 -0
- package/core.proto +14 -0
- package/package.json +1 -1
package/bundle.d.ts
CHANGED
|
@@ -850,6 +850,136 @@ namespace dataform {
|
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
852
|
|
|
853
|
+
/** Properties of an IcebergTableConfig. */
|
|
854
|
+
interface IIcebergTableConfig {
|
|
855
|
+
|
|
856
|
+
/** IcebergTableConfig fileFormat */
|
|
857
|
+
fileFormat?: (dataform.ActionConfig.IcebergTableConfig.FileFormat|null);
|
|
858
|
+
|
|
859
|
+
/** IcebergTableConfig connection */
|
|
860
|
+
connection?: (string|null);
|
|
861
|
+
|
|
862
|
+
/** IcebergTableConfig bucketName */
|
|
863
|
+
bucketName?: (string|null);
|
|
864
|
+
|
|
865
|
+
/** IcebergTableConfig tableFolderRoot */
|
|
866
|
+
tableFolderRoot?: (string|null);
|
|
867
|
+
|
|
868
|
+
/** IcebergTableConfig tableFolderSubpath */
|
|
869
|
+
tableFolderSubpath?: (string|null);
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
/** Represents an IcebergTableConfig. */
|
|
873
|
+
class IcebergTableConfig implements IIcebergTableConfig {
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* Constructs a new IcebergTableConfig.
|
|
877
|
+
* @param [properties] Properties to set
|
|
878
|
+
*/
|
|
879
|
+
constructor(properties?: dataform.ActionConfig.IIcebergTableConfig);
|
|
880
|
+
|
|
881
|
+
/** IcebergTableConfig fileFormat. */
|
|
882
|
+
public fileFormat: dataform.ActionConfig.IcebergTableConfig.FileFormat;
|
|
883
|
+
|
|
884
|
+
/** IcebergTableConfig connection. */
|
|
885
|
+
public connection: string;
|
|
886
|
+
|
|
887
|
+
/** IcebergTableConfig bucketName. */
|
|
888
|
+
public bucketName: string;
|
|
889
|
+
|
|
890
|
+
/** IcebergTableConfig tableFolderRoot. */
|
|
891
|
+
public tableFolderRoot: string;
|
|
892
|
+
|
|
893
|
+
/** IcebergTableConfig tableFolderSubpath. */
|
|
894
|
+
public tableFolderSubpath: string;
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Creates a new IcebergTableConfig instance using the specified properties.
|
|
898
|
+
* @param [properties] Properties to set
|
|
899
|
+
* @returns IcebergTableConfig instance
|
|
900
|
+
*/
|
|
901
|
+
public static create(properties?: dataform.ActionConfig.IIcebergTableConfig): dataform.ActionConfig.IcebergTableConfig;
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Encodes the specified IcebergTableConfig message. Does not implicitly {@link dataform.ActionConfig.IcebergTableConfig.verify|verify} messages.
|
|
905
|
+
* @param message IcebergTableConfig message or plain object to encode
|
|
906
|
+
* @param [writer] Writer to encode to
|
|
907
|
+
* @returns Writer
|
|
908
|
+
*/
|
|
909
|
+
public static encode(message: dataform.ActionConfig.IIcebergTableConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* Encodes the specified IcebergTableConfig message, length delimited. Does not implicitly {@link dataform.ActionConfig.IcebergTableConfig.verify|verify} messages.
|
|
913
|
+
* @param message IcebergTableConfig message or plain object to encode
|
|
914
|
+
* @param [writer] Writer to encode to
|
|
915
|
+
* @returns Writer
|
|
916
|
+
*/
|
|
917
|
+
public static encodeDelimited(message: dataform.ActionConfig.IIcebergTableConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Decodes an IcebergTableConfig message from the specified reader or buffer.
|
|
921
|
+
* @param reader Reader or buffer to decode from
|
|
922
|
+
* @param [length] Message length if known beforehand
|
|
923
|
+
* @returns IcebergTableConfig
|
|
924
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
925
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
926
|
+
*/
|
|
927
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ActionConfig.IcebergTableConfig;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Decodes an IcebergTableConfig message from the specified reader or buffer, length delimited.
|
|
931
|
+
* @param reader Reader or buffer to decode from
|
|
932
|
+
* @returns IcebergTableConfig
|
|
933
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
934
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
935
|
+
*/
|
|
936
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ActionConfig.IcebergTableConfig;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Verifies an IcebergTableConfig message.
|
|
940
|
+
* @param message Plain object to verify
|
|
941
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
942
|
+
*/
|
|
943
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Creates an IcebergTableConfig message from a plain object. Also converts values to their respective internal types.
|
|
947
|
+
* @param object Plain object
|
|
948
|
+
* @returns IcebergTableConfig
|
|
949
|
+
*/
|
|
950
|
+
public static fromObject(object: { [k: string]: any }): dataform.ActionConfig.IcebergTableConfig;
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Creates a plain object from an IcebergTableConfig message. Also converts values to other types if specified.
|
|
954
|
+
* @param message IcebergTableConfig
|
|
955
|
+
* @param [options] Conversion options
|
|
956
|
+
* @returns Plain object
|
|
957
|
+
*/
|
|
958
|
+
public static toObject(message: dataform.ActionConfig.IcebergTableConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Converts this IcebergTableConfig to JSON.
|
|
962
|
+
* @returns JSON object
|
|
963
|
+
*/
|
|
964
|
+
public toJSON(): { [k: string]: any };
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Gets the default type url for IcebergTableConfig
|
|
968
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
969
|
+
* @returns The default type url
|
|
970
|
+
*/
|
|
971
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
namespace IcebergTableConfig {
|
|
975
|
+
|
|
976
|
+
/** FileFormat enum. */
|
|
977
|
+
enum FileFormat {
|
|
978
|
+
FILE_FORMAT_UNSPECIFIED = 0,
|
|
979
|
+
PARQUET = 1
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
|
|
853
983
|
/** Properties of a TableConfig. */
|
|
854
984
|
interface ITableConfig {
|
|
855
985
|
|
|
@@ -912,6 +1042,9 @@ namespace dataform {
|
|
|
912
1042
|
|
|
913
1043
|
/** TableConfig hermetic */
|
|
914
1044
|
hermetic?: (boolean|null);
|
|
1045
|
+
|
|
1046
|
+
/** TableConfig iceberg */
|
|
1047
|
+
iceberg?: (dataform.ActionConfig.IIcebergTableConfig|null);
|
|
915
1048
|
}
|
|
916
1049
|
|
|
917
1050
|
/** Represents a TableConfig. */
|
|
@@ -983,6 +1116,9 @@ namespace dataform {
|
|
|
983
1116
|
/** TableConfig hermetic. */
|
|
984
1117
|
public hermetic: boolean;
|
|
985
1118
|
|
|
1119
|
+
/** TableConfig iceberg. */
|
|
1120
|
+
public iceberg?: (dataform.ActionConfig.IIcebergTableConfig|null);
|
|
1121
|
+
|
|
986
1122
|
/**
|
|
987
1123
|
* Creates a new TableConfig instance using the specified properties.
|
|
988
1124
|
* @param [properties] Properties to set
|
|
@@ -1348,6 +1484,9 @@ namespace dataform {
|
|
|
1348
1484
|
|
|
1349
1485
|
/** IncrementalTableConfig onSchemaChange */
|
|
1350
1486
|
onSchemaChange?: (dataform.ActionConfig.OnSchemaChange|null);
|
|
1487
|
+
|
|
1488
|
+
/** IncrementalTableConfig iceberg */
|
|
1489
|
+
iceberg?: (dataform.ActionConfig.IIcebergTableConfig|null);
|
|
1351
1490
|
}
|
|
1352
1491
|
|
|
1353
1492
|
/** Represents an IncrementalTableConfig. */
|
|
@@ -1431,6 +1570,9 @@ namespace dataform {
|
|
|
1431
1570
|
/** IncrementalTableConfig onSchemaChange. */
|
|
1432
1571
|
public onSchemaChange: dataform.ActionConfig.OnSchemaChange;
|
|
1433
1572
|
|
|
1573
|
+
/** IncrementalTableConfig iceberg. */
|
|
1574
|
+
public iceberg?: (dataform.ActionConfig.IIcebergTableConfig|null);
|
|
1575
|
+
|
|
1434
1576
|
/**
|
|
1435
1577
|
* Creates a new IncrementalTableConfig instance using the specified properties.
|
|
1436
1578
|
* @param [properties] Properties to set
|
|
@@ -2963,6 +3105,18 @@ namespace dataform {
|
|
|
2963
3105
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2964
3106
|
}
|
|
2965
3107
|
|
|
3108
|
+
/** FileFormat enum. */
|
|
3109
|
+
enum FileFormat {
|
|
3110
|
+
FILE_FORMAT_UNSPECIFIED = 0,
|
|
3111
|
+
PARQUET = 1
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
/** TableFormat enum. */
|
|
3115
|
+
enum TableFormat {
|
|
3116
|
+
TABLE_FORMAT_UNSPECIFIED = 0,
|
|
3117
|
+
ICEBERG = 1
|
|
3118
|
+
}
|
|
3119
|
+
|
|
2966
3120
|
/** Properties of a BigQueryOptions. */
|
|
2967
3121
|
interface IBigQueryOptions {
|
|
2968
3122
|
|
|
@@ -2986,6 +3140,18 @@ namespace dataform {
|
|
|
2986
3140
|
|
|
2987
3141
|
/** BigQueryOptions additionalOptions */
|
|
2988
3142
|
additionalOptions?: ({ [k: string]: string }|null);
|
|
3143
|
+
|
|
3144
|
+
/** BigQueryOptions connection */
|
|
3145
|
+
connection?: (string|null);
|
|
3146
|
+
|
|
3147
|
+
/** BigQueryOptions tableFormat */
|
|
3148
|
+
tableFormat?: (dataform.TableFormat|null);
|
|
3149
|
+
|
|
3150
|
+
/** BigQueryOptions fileFormat */
|
|
3151
|
+
fileFormat?: (dataform.FileFormat|null);
|
|
3152
|
+
|
|
3153
|
+
/** BigQueryOptions storageUri */
|
|
3154
|
+
storageUri?: (string|null);
|
|
2989
3155
|
}
|
|
2990
3156
|
|
|
2991
3157
|
/** Represents a BigQueryOptions. */
|
|
@@ -3018,6 +3184,18 @@ namespace dataform {
|
|
|
3018
3184
|
/** BigQueryOptions additionalOptions. */
|
|
3019
3185
|
public additionalOptions: { [k: string]: string };
|
|
3020
3186
|
|
|
3187
|
+
/** BigQueryOptions connection. */
|
|
3188
|
+
public connection: string;
|
|
3189
|
+
|
|
3190
|
+
/** BigQueryOptions tableFormat. */
|
|
3191
|
+
public tableFormat: dataform.TableFormat;
|
|
3192
|
+
|
|
3193
|
+
/** BigQueryOptions fileFormat. */
|
|
3194
|
+
public fileFormat: dataform.FileFormat;
|
|
3195
|
+
|
|
3196
|
+
/** BigQueryOptions storageUri. */
|
|
3197
|
+
public storageUri: string;
|
|
3198
|
+
|
|
3021
3199
|
/**
|
|
3022
3200
|
* Creates a new BigQueryOptions instance using the specified properties.
|
|
3023
3201
|
* @param [properties] Properties to set
|
|
@@ -8395,7 +8573,7 @@ declare class ActionMap {
|
|
|
8395
8573
|
private setBySchemaLevel;
|
|
8396
8574
|
}
|
|
8397
8575
|
|
|
8398
|
-
declare const version = "3.0.
|
|
8576
|
+
declare const version = "3.0.29";
|
|
8399
8577
|
|
|
8400
8578
|
declare const session: Session;
|
|
8401
8579
|
declare const supportedFeatures: dataform.SupportedFeatures[];
|