@dataform/core 3.0.34 → 3.0.36
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 +142 -4
- package/bundle.js +1 -1
- package/configs.proto +9 -0
- package/core.proto +24 -0
- package/package.json +1 -1
package/bundle.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import * as $protobuf from 'protobufjs';
|
|
|
2
2
|
|
|
3
3
|
declare function compile(code: string, path: string): string;
|
|
4
4
|
|
|
5
|
-
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
6
|
-
|
|
7
5
|
/** Namespace dataform. */
|
|
8
6
|
namespace dataform {
|
|
9
7
|
|
|
@@ -45,6 +43,9 @@ namespace dataform {
|
|
|
45
43
|
|
|
46
44
|
/** WorkflowSettings defaultIcebergConfig */
|
|
47
45
|
defaultIcebergConfig?: (dataform.IDefaultIcebergConfig|null);
|
|
46
|
+
|
|
47
|
+
/** WorkflowSettings disableAssertions */
|
|
48
|
+
disableAssertions?: (boolean|null);
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
/** Represents a WorkflowSettings. */
|
|
@@ -92,6 +93,9 @@ namespace dataform {
|
|
|
92
93
|
/** WorkflowSettings defaultIcebergConfig. */
|
|
93
94
|
public defaultIcebergConfig?: (dataform.IDefaultIcebergConfig|null);
|
|
94
95
|
|
|
96
|
+
/** WorkflowSettings disableAssertions. */
|
|
97
|
+
public disableAssertions: boolean;
|
|
98
|
+
|
|
95
99
|
/**
|
|
96
100
|
* Creates a new WorkflowSettings instance using the specified properties.
|
|
97
101
|
* @param [properties] Properties to set
|
|
@@ -181,6 +185,9 @@ namespace dataform {
|
|
|
181
185
|
|
|
182
186
|
/** DefaultIcebergConfig tableFolderSubpath */
|
|
183
187
|
tableFolderSubpath?: (string|null);
|
|
188
|
+
|
|
189
|
+
/** DefaultIcebergConfig connection */
|
|
190
|
+
connection?: (string|null);
|
|
184
191
|
}
|
|
185
192
|
|
|
186
193
|
/** Represents a DefaultIcebergConfig. */
|
|
@@ -201,6 +208,9 @@ namespace dataform {
|
|
|
201
208
|
/** DefaultIcebergConfig tableFolderSubpath. */
|
|
202
209
|
public tableFolderSubpath: string;
|
|
203
210
|
|
|
211
|
+
/** DefaultIcebergConfig connection. */
|
|
212
|
+
public connection: string;
|
|
213
|
+
|
|
204
214
|
/**
|
|
205
215
|
* Creates a new DefaultIcebergConfig instance using the specified properties.
|
|
206
216
|
* @param [properties] Properties to set
|
|
@@ -2878,6 +2888,9 @@ namespace dataform {
|
|
|
2878
2888
|
|
|
2879
2889
|
/** ProjectConfig defaultIcebergConfig */
|
|
2880
2890
|
defaultIcebergConfig?: (dataform.IDefaultIcebergConfig|null);
|
|
2891
|
+
|
|
2892
|
+
/** ProjectConfig disableAssertions */
|
|
2893
|
+
disableAssertions?: (boolean|null);
|
|
2881
2894
|
}
|
|
2882
2895
|
|
|
2883
2896
|
/** Represents a ProjectConfig. */
|
|
@@ -2925,6 +2938,9 @@ namespace dataform {
|
|
|
2925
2938
|
/** ProjectConfig defaultIcebergConfig. */
|
|
2926
2939
|
public defaultIcebergConfig?: (dataform.IDefaultIcebergConfig|null);
|
|
2927
2940
|
|
|
2941
|
+
/** ProjectConfig disableAssertions. */
|
|
2942
|
+
public disableAssertions: boolean;
|
|
2943
|
+
|
|
2928
2944
|
/**
|
|
2929
2945
|
* Creates a new ProjectConfig instance using the specified properties.
|
|
2930
2946
|
* @param [properties] Properties to set
|
|
@@ -3017,6 +3033,9 @@ namespace dataform {
|
|
|
3017
3033
|
|
|
3018
3034
|
/** CompileConfig timeoutMillis */
|
|
3019
3035
|
timeoutMillis?: (number|null);
|
|
3036
|
+
|
|
3037
|
+
/** CompileConfig extension */
|
|
3038
|
+
extension?: (dataform.IExtension|null);
|
|
3020
3039
|
}
|
|
3021
3040
|
|
|
3022
3041
|
/** Represents a CompileConfig. */
|
|
@@ -3040,6 +3059,9 @@ namespace dataform {
|
|
|
3040
3059
|
/** CompileConfig timeoutMillis. */
|
|
3041
3060
|
public timeoutMillis: number;
|
|
3042
3061
|
|
|
3062
|
+
/** CompileConfig extension. */
|
|
3063
|
+
public extension?: (dataform.IExtension|null);
|
|
3064
|
+
|
|
3043
3065
|
/**
|
|
3044
3066
|
* Creates a new CompileConfig instance using the specified properties.
|
|
3045
3067
|
* @param [properties] Properties to set
|
|
@@ -6011,6 +6033,116 @@ namespace dataform {
|
|
|
6011
6033
|
ARRAY_BUFFER_IPC = 1
|
|
6012
6034
|
}
|
|
6013
6035
|
|
|
6036
|
+
/** ExtensionCompilationMode enum. */
|
|
6037
|
+
enum ExtensionCompilationMode {
|
|
6038
|
+
COMPILATION_MODE_UNSPECIFIED = 0,
|
|
6039
|
+
PROLOGUE = 1,
|
|
6040
|
+
APPLICATION_CODE = 2
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6043
|
+
/** Properties of an Extension. */
|
|
6044
|
+
interface IExtension {
|
|
6045
|
+
|
|
6046
|
+
/** Extension name */
|
|
6047
|
+
name?: (string|null);
|
|
6048
|
+
|
|
6049
|
+
/** Extension compilationMode */
|
|
6050
|
+
compilationMode?: (dataform.ExtensionCompilationMode|null);
|
|
6051
|
+
}
|
|
6052
|
+
|
|
6053
|
+
/** Represents an Extension. */
|
|
6054
|
+
class Extension implements IExtension {
|
|
6055
|
+
|
|
6056
|
+
/**
|
|
6057
|
+
* Constructs a new Extension.
|
|
6058
|
+
* @param [properties] Properties to set
|
|
6059
|
+
*/
|
|
6060
|
+
constructor(properties?: dataform.IExtension);
|
|
6061
|
+
|
|
6062
|
+
/** Extension name. */
|
|
6063
|
+
public name: string;
|
|
6064
|
+
|
|
6065
|
+
/** Extension compilationMode. */
|
|
6066
|
+
public compilationMode: dataform.ExtensionCompilationMode;
|
|
6067
|
+
|
|
6068
|
+
/**
|
|
6069
|
+
* Creates a new Extension instance using the specified properties.
|
|
6070
|
+
* @param [properties] Properties to set
|
|
6071
|
+
* @returns Extension instance
|
|
6072
|
+
*/
|
|
6073
|
+
public static create(properties?: dataform.IExtension): dataform.Extension;
|
|
6074
|
+
|
|
6075
|
+
/**
|
|
6076
|
+
* Encodes the specified Extension message. Does not implicitly {@link dataform.Extension.verify|verify} messages.
|
|
6077
|
+
* @param message Extension message or plain object to encode
|
|
6078
|
+
* @param [writer] Writer to encode to
|
|
6079
|
+
* @returns Writer
|
|
6080
|
+
*/
|
|
6081
|
+
public static encode(message: dataform.IExtension, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6082
|
+
|
|
6083
|
+
/**
|
|
6084
|
+
* Encodes the specified Extension message, length delimited. Does not implicitly {@link dataform.Extension.verify|verify} messages.
|
|
6085
|
+
* @param message Extension message or plain object to encode
|
|
6086
|
+
* @param [writer] Writer to encode to
|
|
6087
|
+
* @returns Writer
|
|
6088
|
+
*/
|
|
6089
|
+
public static encodeDelimited(message: dataform.IExtension, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6090
|
+
|
|
6091
|
+
/**
|
|
6092
|
+
* Decodes an Extension message from the specified reader or buffer.
|
|
6093
|
+
* @param reader Reader or buffer to decode from
|
|
6094
|
+
* @param [length] Message length if known beforehand
|
|
6095
|
+
* @returns Extension
|
|
6096
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6097
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6098
|
+
*/
|
|
6099
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.Extension;
|
|
6100
|
+
|
|
6101
|
+
/**
|
|
6102
|
+
* Decodes an Extension message from the specified reader or buffer, length delimited.
|
|
6103
|
+
* @param reader Reader or buffer to decode from
|
|
6104
|
+
* @returns Extension
|
|
6105
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6106
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6107
|
+
*/
|
|
6108
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.Extension;
|
|
6109
|
+
|
|
6110
|
+
/**
|
|
6111
|
+
* Verifies an Extension message.
|
|
6112
|
+
* @param message Plain object to verify
|
|
6113
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6114
|
+
*/
|
|
6115
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6116
|
+
|
|
6117
|
+
/**
|
|
6118
|
+
* Creates an Extension message from a plain object. Also converts values to their respective internal types.
|
|
6119
|
+
* @param object Plain object
|
|
6120
|
+
* @returns Extension
|
|
6121
|
+
*/
|
|
6122
|
+
public static fromObject(object: { [k: string]: any }): dataform.Extension;
|
|
6123
|
+
|
|
6124
|
+
/**
|
|
6125
|
+
* Creates a plain object from an Extension message. Also converts values to other types if specified.
|
|
6126
|
+
* @param message Extension
|
|
6127
|
+
* @param [options] Conversion options
|
|
6128
|
+
* @returns Plain object
|
|
6129
|
+
*/
|
|
6130
|
+
public static toObject(message: dataform.Extension, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6131
|
+
|
|
6132
|
+
/**
|
|
6133
|
+
* Converts this Extension to JSON.
|
|
6134
|
+
* @returns JSON object
|
|
6135
|
+
*/
|
|
6136
|
+
public toJSON(): { [k: string]: any };
|
|
6137
|
+
|
|
6138
|
+
/**
|
|
6139
|
+
* Gets the default type url for Extension
|
|
6140
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6141
|
+
* @returns The default type url
|
|
6142
|
+
*/
|
|
6143
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6144
|
+
}
|
|
6145
|
+
|
|
6014
6146
|
/** Properties of a QueryEvaluationError. */
|
|
6015
6147
|
interface IQueryEvaluationError {
|
|
6016
6148
|
|
|
@@ -8813,10 +8945,16 @@ declare class ActionMap {
|
|
|
8813
8945
|
private setBySchemaLevel;
|
|
8814
8946
|
}
|
|
8815
8947
|
|
|
8816
|
-
|
|
8948
|
+
interface IDataformExtension {
|
|
8949
|
+
compile(request: dataform.ICompileExecutionRequest, session: Session): void;
|
|
8950
|
+
}
|
|
8951
|
+
|
|
8952
|
+
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
8953
|
+
|
|
8954
|
+
declare const version = "3.0.36";
|
|
8817
8955
|
|
|
8818
8956
|
declare const session: Session;
|
|
8819
8957
|
declare const supportedFeatures: dataform.SupportedFeatures[];
|
|
8820
8958
|
declare function indexFileGenerator(): void;
|
|
8821
8959
|
|
|
8822
|
-
export { compile as compiler, indexFileGenerator, main, session, supportedFeatures, version };
|
|
8960
|
+
export { IDataformExtension, compile as compiler, indexFileGenerator, main, session, supportedFeatures, version };
|