@dataform/core 3.0.52 → 3.0.54
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 +118 -111
- package/bundle.js +1 -1
- package/configs.proto +1 -1
- package/core.proto +3 -3
- package/db_adapter.proto +1 -1
- package/extension.proto +5 -0
- package/jit.proto +2 -2
- package/package.json +1 -1
package/bundle.d.ts
CHANGED
|
@@ -3131,6 +3131,122 @@ namespace dataform {
|
|
|
3131
3131
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3132
3132
|
}
|
|
3133
3133
|
|
|
3134
|
+
/** ExtensionCompilationMode enum. */
|
|
3135
|
+
enum ExtensionCompilationMode {
|
|
3136
|
+
COMPILATION_MODE_UNSPECIFIED = 0,
|
|
3137
|
+
PROLOGUE = 1,
|
|
3138
|
+
APPLICATION_CODE = 2
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
/** Properties of an Extension. */
|
|
3142
|
+
interface IExtension {
|
|
3143
|
+
|
|
3144
|
+
/** Extension name */
|
|
3145
|
+
name?: (string|null);
|
|
3146
|
+
|
|
3147
|
+
/** Extension compilationMode */
|
|
3148
|
+
compilationMode?: (dataform.ExtensionCompilationMode|null);
|
|
3149
|
+
|
|
3150
|
+
/** Extension options */
|
|
3151
|
+
options?: ({ [k: string]: string }|null);
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
/** Represents an Extension. */
|
|
3155
|
+
class Extension implements IExtension {
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* Constructs a new Extension.
|
|
3159
|
+
* @param [properties] Properties to set
|
|
3160
|
+
*/
|
|
3161
|
+
constructor(properties?: dataform.IExtension);
|
|
3162
|
+
|
|
3163
|
+
/** Extension name. */
|
|
3164
|
+
public name: string;
|
|
3165
|
+
|
|
3166
|
+
/** Extension compilationMode. */
|
|
3167
|
+
public compilationMode: dataform.ExtensionCompilationMode;
|
|
3168
|
+
|
|
3169
|
+
/** Extension options. */
|
|
3170
|
+
public options: { [k: string]: string };
|
|
3171
|
+
|
|
3172
|
+
/**
|
|
3173
|
+
* Creates a new Extension instance using the specified properties.
|
|
3174
|
+
* @param [properties] Properties to set
|
|
3175
|
+
* @returns Extension instance
|
|
3176
|
+
*/
|
|
3177
|
+
public static create(properties?: dataform.IExtension): dataform.Extension;
|
|
3178
|
+
|
|
3179
|
+
/**
|
|
3180
|
+
* Encodes the specified Extension message. Does not implicitly {@link dataform.Extension.verify|verify} messages.
|
|
3181
|
+
* @param message Extension message or plain object to encode
|
|
3182
|
+
* @param [writer] Writer to encode to
|
|
3183
|
+
* @returns Writer
|
|
3184
|
+
*/
|
|
3185
|
+
public static encode(message: dataform.IExtension, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* Encodes the specified Extension message, length delimited. Does not implicitly {@link dataform.Extension.verify|verify} messages.
|
|
3189
|
+
* @param message Extension message or plain object to encode
|
|
3190
|
+
* @param [writer] Writer to encode to
|
|
3191
|
+
* @returns Writer
|
|
3192
|
+
*/
|
|
3193
|
+
public static encodeDelimited(message: dataform.IExtension, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3194
|
+
|
|
3195
|
+
/**
|
|
3196
|
+
* Decodes an Extension message from the specified reader or buffer.
|
|
3197
|
+
* @param reader Reader or buffer to decode from
|
|
3198
|
+
* @param [length] Message length if known beforehand
|
|
3199
|
+
* @returns Extension
|
|
3200
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3201
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3202
|
+
*/
|
|
3203
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.Extension;
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* Decodes an Extension message from the specified reader or buffer, length delimited.
|
|
3207
|
+
* @param reader Reader or buffer to decode from
|
|
3208
|
+
* @returns Extension
|
|
3209
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3210
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3211
|
+
*/
|
|
3212
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.Extension;
|
|
3213
|
+
|
|
3214
|
+
/**
|
|
3215
|
+
* Verifies an Extension message.
|
|
3216
|
+
* @param message Plain object to verify
|
|
3217
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3218
|
+
*/
|
|
3219
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3220
|
+
|
|
3221
|
+
/**
|
|
3222
|
+
* Creates an Extension message from a plain object. Also converts values to their respective internal types.
|
|
3223
|
+
* @param object Plain object
|
|
3224
|
+
* @returns Extension
|
|
3225
|
+
*/
|
|
3226
|
+
public static fromObject(object: { [k: string]: any }): dataform.Extension;
|
|
3227
|
+
|
|
3228
|
+
/**
|
|
3229
|
+
* Creates a plain object from an Extension message. Also converts values to other types if specified.
|
|
3230
|
+
* @param message Extension
|
|
3231
|
+
* @param [options] Conversion options
|
|
3232
|
+
* @returns Plain object
|
|
3233
|
+
*/
|
|
3234
|
+
public static toObject(message: dataform.Extension, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* Converts this Extension to JSON.
|
|
3238
|
+
* @returns JSON object
|
|
3239
|
+
*/
|
|
3240
|
+
public toJSON(): { [k: string]: any };
|
|
3241
|
+
|
|
3242
|
+
/**
|
|
3243
|
+
* Gets the default type url for Extension
|
|
3244
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3245
|
+
* @returns The default type url
|
|
3246
|
+
*/
|
|
3247
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3134
3250
|
/** Properties of a ProjectConfig. */
|
|
3135
3251
|
interface IProjectConfig {
|
|
3136
3252
|
|
|
@@ -10498,116 +10614,6 @@ namespace dataform {
|
|
|
10498
10614
|
*/
|
|
10499
10615
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10500
10616
|
}
|
|
10501
|
-
|
|
10502
|
-
/** ExtensionCompilationMode enum. */
|
|
10503
|
-
enum ExtensionCompilationMode {
|
|
10504
|
-
COMPILATION_MODE_UNSPECIFIED = 0,
|
|
10505
|
-
PROLOGUE = 1,
|
|
10506
|
-
APPLICATION_CODE = 2
|
|
10507
|
-
}
|
|
10508
|
-
|
|
10509
|
-
/** Properties of an Extension. */
|
|
10510
|
-
interface IExtension {
|
|
10511
|
-
|
|
10512
|
-
/** Extension name */
|
|
10513
|
-
name?: (string|null);
|
|
10514
|
-
|
|
10515
|
-
/** Extension compilationMode */
|
|
10516
|
-
compilationMode?: (dataform.ExtensionCompilationMode|null);
|
|
10517
|
-
}
|
|
10518
|
-
|
|
10519
|
-
/** Represents an Extension. */
|
|
10520
|
-
class Extension implements IExtension {
|
|
10521
|
-
|
|
10522
|
-
/**
|
|
10523
|
-
* Constructs a new Extension.
|
|
10524
|
-
* @param [properties] Properties to set
|
|
10525
|
-
*/
|
|
10526
|
-
constructor(properties?: dataform.IExtension);
|
|
10527
|
-
|
|
10528
|
-
/** Extension name. */
|
|
10529
|
-
public name: string;
|
|
10530
|
-
|
|
10531
|
-
/** Extension compilationMode. */
|
|
10532
|
-
public compilationMode: dataform.ExtensionCompilationMode;
|
|
10533
|
-
|
|
10534
|
-
/**
|
|
10535
|
-
* Creates a new Extension instance using the specified properties.
|
|
10536
|
-
* @param [properties] Properties to set
|
|
10537
|
-
* @returns Extension instance
|
|
10538
|
-
*/
|
|
10539
|
-
public static create(properties?: dataform.IExtension): dataform.Extension;
|
|
10540
|
-
|
|
10541
|
-
/**
|
|
10542
|
-
* Encodes the specified Extension message. Does not implicitly {@link dataform.Extension.verify|verify} messages.
|
|
10543
|
-
* @param message Extension message or plain object to encode
|
|
10544
|
-
* @param [writer] Writer to encode to
|
|
10545
|
-
* @returns Writer
|
|
10546
|
-
*/
|
|
10547
|
-
public static encode(message: dataform.IExtension, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10548
|
-
|
|
10549
|
-
/**
|
|
10550
|
-
* Encodes the specified Extension message, length delimited. Does not implicitly {@link dataform.Extension.verify|verify} messages.
|
|
10551
|
-
* @param message Extension message or plain object to encode
|
|
10552
|
-
* @param [writer] Writer to encode to
|
|
10553
|
-
* @returns Writer
|
|
10554
|
-
*/
|
|
10555
|
-
public static encodeDelimited(message: dataform.IExtension, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10556
|
-
|
|
10557
|
-
/**
|
|
10558
|
-
* Decodes an Extension message from the specified reader or buffer.
|
|
10559
|
-
* @param reader Reader or buffer to decode from
|
|
10560
|
-
* @param [length] Message length if known beforehand
|
|
10561
|
-
* @returns Extension
|
|
10562
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10563
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10564
|
-
*/
|
|
10565
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.Extension;
|
|
10566
|
-
|
|
10567
|
-
/**
|
|
10568
|
-
* Decodes an Extension message from the specified reader or buffer, length delimited.
|
|
10569
|
-
* @param reader Reader or buffer to decode from
|
|
10570
|
-
* @returns Extension
|
|
10571
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10572
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10573
|
-
*/
|
|
10574
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.Extension;
|
|
10575
|
-
|
|
10576
|
-
/**
|
|
10577
|
-
* Verifies an Extension message.
|
|
10578
|
-
* @param message Plain object to verify
|
|
10579
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
10580
|
-
*/
|
|
10581
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
10582
|
-
|
|
10583
|
-
/**
|
|
10584
|
-
* Creates an Extension message from a plain object. Also converts values to their respective internal types.
|
|
10585
|
-
* @param object Plain object
|
|
10586
|
-
* @returns Extension
|
|
10587
|
-
*/
|
|
10588
|
-
public static fromObject(object: { [k: string]: any }): dataform.Extension;
|
|
10589
|
-
|
|
10590
|
-
/**
|
|
10591
|
-
* Creates a plain object from an Extension message. Also converts values to other types if specified.
|
|
10592
|
-
* @param message Extension
|
|
10593
|
-
* @param [options] Conversion options
|
|
10594
|
-
* @returns Plain object
|
|
10595
|
-
*/
|
|
10596
|
-
public static toObject(message: dataform.Extension, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10597
|
-
|
|
10598
|
-
/**
|
|
10599
|
-
* Converts this Extension to JSON.
|
|
10600
|
-
* @returns JSON object
|
|
10601
|
-
*/
|
|
10602
|
-
public toJSON(): { [k: string]: any };
|
|
10603
|
-
|
|
10604
|
-
/**
|
|
10605
|
-
* Gets the default type url for Extension
|
|
10606
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10607
|
-
* @returns The default type url
|
|
10608
|
-
*/
|
|
10609
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10610
|
-
}
|
|
10611
10617
|
}
|
|
10612
10618
|
|
|
10613
10619
|
/** Namespace google. */
|
|
@@ -11611,6 +11617,7 @@ declare class Session {
|
|
|
11611
11617
|
constructor(rootDir?: string, projectConfig?: dataform.ProjectConfig, originalProjectConfig?: dataform.ProjectConfig);
|
|
11612
11618
|
init(rootDir: string, projectConfig?: dataform.ProjectConfig, originalProjectConfig?: dataform.ProjectConfig): void;
|
|
11613
11619
|
compilationSql(): CompilationSql;
|
|
11620
|
+
getContents(filePath: string): string;
|
|
11614
11621
|
sqlxAction(actionOptions: {
|
|
11615
11622
|
sqlxConfig: any;
|
|
11616
11623
|
sqlStatementCount: number;
|
|
@@ -11660,7 +11667,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
|
|
|
11660
11667
|
|
|
11661
11668
|
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
11662
11669
|
|
|
11663
|
-
declare const version = "3.0.
|
|
11670
|
+
declare const version = "3.0.54";
|
|
11664
11671
|
|
|
11665
11672
|
declare const session: Session;
|
|
11666
11673
|
declare const supportedFeatures: dataform.SupportedFeatures[];
|