@sqlanvil/core 1.11.0 → 1.12.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.
- package/bundle.d.ts +590 -3
- package/bundle.js +1 -1
- package/configs.proto +50 -0
- package/core.proto +23 -0
- package/package.json +1 -1
package/bundle.d.ts
CHANGED
|
@@ -723,6 +723,9 @@ namespace sqlanvil {
|
|
|
723
723
|
|
|
724
724
|
/** ActionConfig export */
|
|
725
725
|
"export"?: (sqlanvil.ActionConfig.IExportConfig|null);
|
|
726
|
+
|
|
727
|
+
/** ActionConfig import */
|
|
728
|
+
"import"?: (sqlanvil.ActionConfig.IImportConfig|null);
|
|
726
729
|
}
|
|
727
730
|
|
|
728
731
|
/** Represents an ActionConfig. */
|
|
@@ -773,8 +776,11 @@ namespace sqlanvil {
|
|
|
773
776
|
/** ActionConfig export. */
|
|
774
777
|
public export?: (sqlanvil.ActionConfig.IExportConfig|null);
|
|
775
778
|
|
|
779
|
+
/** ActionConfig import. */
|
|
780
|
+
public import?: (sqlanvil.ActionConfig.IImportConfig|null);
|
|
781
|
+
|
|
776
782
|
/** ActionConfig action. */
|
|
777
|
-
public action?: ("table"|"view"|"incrementalTable"|"assertion"|"operation"|"declaration"|"notebook"|"dataPreparation"|"rlsPolicy"|"realtimePublication"|"foreignWrapper"|"vectorIndex"|"export");
|
|
783
|
+
public action?: ("table"|"view"|"incrementalTable"|"assertion"|"operation"|"declaration"|"notebook"|"dataPreparation"|"rlsPolicy"|"realtimePublication"|"foreignWrapper"|"vectorIndex"|"export"|"import");
|
|
778
784
|
|
|
779
785
|
/**
|
|
780
786
|
* Creates a new ActionConfig instance using the specified properties.
|
|
@@ -2887,6 +2893,272 @@ namespace sqlanvil {
|
|
|
2887
2893
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2888
2894
|
}
|
|
2889
2895
|
|
|
2896
|
+
/** Properties of an ImportOptions. */
|
|
2897
|
+
interface IImportOptions {
|
|
2898
|
+
|
|
2899
|
+
/** ImportOptions location */
|
|
2900
|
+
location?: (string|null);
|
|
2901
|
+
|
|
2902
|
+
/** ImportOptions format */
|
|
2903
|
+
format?: (string|null);
|
|
2904
|
+
|
|
2905
|
+
/** ImportOptions overwrite */
|
|
2906
|
+
overwrite?: (boolean|null);
|
|
2907
|
+
|
|
2908
|
+
/** ImportOptions options */
|
|
2909
|
+
options?: ({ [k: string]: string }|null);
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
/** Represents an ImportOptions. */
|
|
2913
|
+
class ImportOptions implements IImportOptions {
|
|
2914
|
+
|
|
2915
|
+
/**
|
|
2916
|
+
* Constructs a new ImportOptions.
|
|
2917
|
+
* @param [properties] Properties to set
|
|
2918
|
+
*/
|
|
2919
|
+
constructor(properties?: sqlanvil.ActionConfig.IImportOptions);
|
|
2920
|
+
|
|
2921
|
+
/** ImportOptions location. */
|
|
2922
|
+
public location: string;
|
|
2923
|
+
|
|
2924
|
+
/** ImportOptions format. */
|
|
2925
|
+
public format: string;
|
|
2926
|
+
|
|
2927
|
+
/** ImportOptions overwrite. */
|
|
2928
|
+
public overwrite: boolean;
|
|
2929
|
+
|
|
2930
|
+
/** ImportOptions options. */
|
|
2931
|
+
public options: { [k: string]: string };
|
|
2932
|
+
|
|
2933
|
+
/**
|
|
2934
|
+
* Creates a new ImportOptions instance using the specified properties.
|
|
2935
|
+
* @param [properties] Properties to set
|
|
2936
|
+
* @returns ImportOptions instance
|
|
2937
|
+
*/
|
|
2938
|
+
public static create(properties?: sqlanvil.ActionConfig.IImportOptions): sqlanvil.ActionConfig.ImportOptions;
|
|
2939
|
+
|
|
2940
|
+
/**
|
|
2941
|
+
* Encodes the specified ImportOptions message. Does not implicitly {@link sqlanvil.ActionConfig.ImportOptions.verify|verify} messages.
|
|
2942
|
+
* @param message ImportOptions message or plain object to encode
|
|
2943
|
+
* @param [writer] Writer to encode to
|
|
2944
|
+
* @returns Writer
|
|
2945
|
+
*/
|
|
2946
|
+
public static encode(message: sqlanvil.ActionConfig.IImportOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2947
|
+
|
|
2948
|
+
/**
|
|
2949
|
+
* Encodes the specified ImportOptions message, length delimited. Does not implicitly {@link sqlanvil.ActionConfig.ImportOptions.verify|verify} messages.
|
|
2950
|
+
* @param message ImportOptions message or plain object to encode
|
|
2951
|
+
* @param [writer] Writer to encode to
|
|
2952
|
+
* @returns Writer
|
|
2953
|
+
*/
|
|
2954
|
+
public static encodeDelimited(message: sqlanvil.ActionConfig.IImportOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2955
|
+
|
|
2956
|
+
/**
|
|
2957
|
+
* Decodes an ImportOptions message from the specified reader or buffer.
|
|
2958
|
+
* @param reader Reader or buffer to decode from
|
|
2959
|
+
* @param [length] Message length if known beforehand
|
|
2960
|
+
* @returns ImportOptions
|
|
2961
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2962
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2963
|
+
*/
|
|
2964
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ActionConfig.ImportOptions;
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* Decodes an ImportOptions message from the specified reader or buffer, length delimited.
|
|
2968
|
+
* @param reader Reader or buffer to decode from
|
|
2969
|
+
* @returns ImportOptions
|
|
2970
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2971
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2972
|
+
*/
|
|
2973
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ActionConfig.ImportOptions;
|
|
2974
|
+
|
|
2975
|
+
/**
|
|
2976
|
+
* Verifies an ImportOptions message.
|
|
2977
|
+
* @param message Plain object to verify
|
|
2978
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2979
|
+
*/
|
|
2980
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2981
|
+
|
|
2982
|
+
/**
|
|
2983
|
+
* Creates an ImportOptions message from a plain object. Also converts values to their respective internal types.
|
|
2984
|
+
* @param object Plain object
|
|
2985
|
+
* @returns ImportOptions
|
|
2986
|
+
*/
|
|
2987
|
+
public static fromObject(object: { [k: string]: any }): sqlanvil.ActionConfig.ImportOptions;
|
|
2988
|
+
|
|
2989
|
+
/**
|
|
2990
|
+
* Creates a plain object from an ImportOptions message. Also converts values to other types if specified.
|
|
2991
|
+
* @param message ImportOptions
|
|
2992
|
+
* @param [options] Conversion options
|
|
2993
|
+
* @returns Plain object
|
|
2994
|
+
*/
|
|
2995
|
+
public static toObject(message: sqlanvil.ActionConfig.ImportOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2996
|
+
|
|
2997
|
+
/**
|
|
2998
|
+
* Converts this ImportOptions to JSON.
|
|
2999
|
+
* @returns JSON object
|
|
3000
|
+
*/
|
|
3001
|
+
public toJSON(): { [k: string]: any };
|
|
3002
|
+
|
|
3003
|
+
/**
|
|
3004
|
+
* Gets the default type url for ImportOptions
|
|
3005
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3006
|
+
* @returns The default type url
|
|
3007
|
+
*/
|
|
3008
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
/** Properties of an ImportConfig. */
|
|
3012
|
+
interface IImportConfig {
|
|
3013
|
+
|
|
3014
|
+
/** ImportConfig name */
|
|
3015
|
+
name?: (string|null);
|
|
3016
|
+
|
|
3017
|
+
/** ImportConfig dataset */
|
|
3018
|
+
dataset?: (string|null);
|
|
3019
|
+
|
|
3020
|
+
/** ImportConfig project */
|
|
3021
|
+
project?: (string|null);
|
|
3022
|
+
|
|
3023
|
+
/** ImportConfig dependencyTargets */
|
|
3024
|
+
dependencyTargets?: (sqlanvil.ActionConfig.ITarget[]|null);
|
|
3025
|
+
|
|
3026
|
+
/** ImportConfig filename */
|
|
3027
|
+
filename?: (string|null);
|
|
3028
|
+
|
|
3029
|
+
/** ImportConfig tags */
|
|
3030
|
+
tags?: (string[]|null);
|
|
3031
|
+
|
|
3032
|
+
/** ImportConfig disabled */
|
|
3033
|
+
disabled?: (boolean|null);
|
|
3034
|
+
|
|
3035
|
+
/** ImportConfig description */
|
|
3036
|
+
description?: (string|null);
|
|
3037
|
+
|
|
3038
|
+
/** ImportConfig hermetic */
|
|
3039
|
+
hermetic?: (boolean|null);
|
|
3040
|
+
|
|
3041
|
+
/** ImportConfig import */
|
|
3042
|
+
"import"?: (sqlanvil.ActionConfig.IImportOptions|null);
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
/** Represents an ImportConfig. */
|
|
3046
|
+
class ImportConfig implements IImportConfig {
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* Constructs a new ImportConfig.
|
|
3050
|
+
* @param [properties] Properties to set
|
|
3051
|
+
*/
|
|
3052
|
+
constructor(properties?: sqlanvil.ActionConfig.IImportConfig);
|
|
3053
|
+
|
|
3054
|
+
/** ImportConfig name. */
|
|
3055
|
+
public name: string;
|
|
3056
|
+
|
|
3057
|
+
/** ImportConfig dataset. */
|
|
3058
|
+
public dataset: string;
|
|
3059
|
+
|
|
3060
|
+
/** ImportConfig project. */
|
|
3061
|
+
public project: string;
|
|
3062
|
+
|
|
3063
|
+
/** ImportConfig dependencyTargets. */
|
|
3064
|
+
public dependencyTargets: sqlanvil.ActionConfig.ITarget[];
|
|
3065
|
+
|
|
3066
|
+
/** ImportConfig filename. */
|
|
3067
|
+
public filename: string;
|
|
3068
|
+
|
|
3069
|
+
/** ImportConfig tags. */
|
|
3070
|
+
public tags: string[];
|
|
3071
|
+
|
|
3072
|
+
/** ImportConfig disabled. */
|
|
3073
|
+
public disabled: boolean;
|
|
3074
|
+
|
|
3075
|
+
/** ImportConfig description. */
|
|
3076
|
+
public description: string;
|
|
3077
|
+
|
|
3078
|
+
/** ImportConfig hermetic. */
|
|
3079
|
+
public hermetic: boolean;
|
|
3080
|
+
|
|
3081
|
+
/** ImportConfig import. */
|
|
3082
|
+
public import?: (sqlanvil.ActionConfig.IImportOptions|null);
|
|
3083
|
+
|
|
3084
|
+
/**
|
|
3085
|
+
* Creates a new ImportConfig instance using the specified properties.
|
|
3086
|
+
* @param [properties] Properties to set
|
|
3087
|
+
* @returns ImportConfig instance
|
|
3088
|
+
*/
|
|
3089
|
+
public static create(properties?: sqlanvil.ActionConfig.IImportConfig): sqlanvil.ActionConfig.ImportConfig;
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* Encodes the specified ImportConfig message. Does not implicitly {@link sqlanvil.ActionConfig.ImportConfig.verify|verify} messages.
|
|
3093
|
+
* @param message ImportConfig message or plain object to encode
|
|
3094
|
+
* @param [writer] Writer to encode to
|
|
3095
|
+
* @returns Writer
|
|
3096
|
+
*/
|
|
3097
|
+
public static encode(message: sqlanvil.ActionConfig.IImportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3098
|
+
|
|
3099
|
+
/**
|
|
3100
|
+
* Encodes the specified ImportConfig message, length delimited. Does not implicitly {@link sqlanvil.ActionConfig.ImportConfig.verify|verify} messages.
|
|
3101
|
+
* @param message ImportConfig message or plain object to encode
|
|
3102
|
+
* @param [writer] Writer to encode to
|
|
3103
|
+
* @returns Writer
|
|
3104
|
+
*/
|
|
3105
|
+
public static encodeDelimited(message: sqlanvil.ActionConfig.IImportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3106
|
+
|
|
3107
|
+
/**
|
|
3108
|
+
* Decodes an ImportConfig message from the specified reader or buffer.
|
|
3109
|
+
* @param reader Reader or buffer to decode from
|
|
3110
|
+
* @param [length] Message length if known beforehand
|
|
3111
|
+
* @returns ImportConfig
|
|
3112
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3113
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3114
|
+
*/
|
|
3115
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ActionConfig.ImportConfig;
|
|
3116
|
+
|
|
3117
|
+
/**
|
|
3118
|
+
* Decodes an ImportConfig message from the specified reader or buffer, length delimited.
|
|
3119
|
+
* @param reader Reader or buffer to decode from
|
|
3120
|
+
* @returns ImportConfig
|
|
3121
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3122
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3123
|
+
*/
|
|
3124
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ActionConfig.ImportConfig;
|
|
3125
|
+
|
|
3126
|
+
/**
|
|
3127
|
+
* Verifies an ImportConfig message.
|
|
3128
|
+
* @param message Plain object to verify
|
|
3129
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3130
|
+
*/
|
|
3131
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3132
|
+
|
|
3133
|
+
/**
|
|
3134
|
+
* Creates an ImportConfig message from a plain object. Also converts values to their respective internal types.
|
|
3135
|
+
* @param object Plain object
|
|
3136
|
+
* @returns ImportConfig
|
|
3137
|
+
*/
|
|
3138
|
+
public static fromObject(object: { [k: string]: any }): sqlanvil.ActionConfig.ImportConfig;
|
|
3139
|
+
|
|
3140
|
+
/**
|
|
3141
|
+
* Creates a plain object from an ImportConfig message. Also converts values to other types if specified.
|
|
3142
|
+
* @param message ImportConfig
|
|
3143
|
+
* @param [options] Conversion options
|
|
3144
|
+
* @returns Plain object
|
|
3145
|
+
*/
|
|
3146
|
+
public static toObject(message: sqlanvil.ActionConfig.ImportConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3147
|
+
|
|
3148
|
+
/**
|
|
3149
|
+
* Converts this ImportConfig to JSON.
|
|
3150
|
+
* @returns JSON object
|
|
3151
|
+
*/
|
|
3152
|
+
public toJSON(): { [k: string]: any };
|
|
3153
|
+
|
|
3154
|
+
/**
|
|
3155
|
+
* Gets the default type url for ImportConfig
|
|
3156
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3157
|
+
* @returns The default type url
|
|
3158
|
+
*/
|
|
3159
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3160
|
+
}
|
|
3161
|
+
|
|
2890
3162
|
/** Properties of a DeclarationConfig. */
|
|
2891
3163
|
interface IDeclarationConfig {
|
|
2892
3164
|
|
|
@@ -8027,6 +8299,175 @@ namespace sqlanvil {
|
|
|
8027
8299
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8028
8300
|
}
|
|
8029
8301
|
|
|
8302
|
+
/** Properties of an Import. */
|
|
8303
|
+
interface IImport {
|
|
8304
|
+
|
|
8305
|
+
/** Import target */
|
|
8306
|
+
target?: (sqlanvil.ITarget|null);
|
|
8307
|
+
|
|
8308
|
+
/** Import canonicalTarget */
|
|
8309
|
+
canonicalTarget?: (sqlanvil.ITarget|null);
|
|
8310
|
+
|
|
8311
|
+
/** Import dependencyTargets */
|
|
8312
|
+
dependencyTargets?: (sqlanvil.ITarget[]|null);
|
|
8313
|
+
|
|
8314
|
+
/** Import hermeticity */
|
|
8315
|
+
hermeticity?: (sqlanvil.ActionHermeticity|null);
|
|
8316
|
+
|
|
8317
|
+
/** Import disabled */
|
|
8318
|
+
disabled?: (boolean|null);
|
|
8319
|
+
|
|
8320
|
+
/** Import tags */
|
|
8321
|
+
tags?: (string[]|null);
|
|
8322
|
+
|
|
8323
|
+
/** Import actionDescriptor */
|
|
8324
|
+
actionDescriptor?: (sqlanvil.IActionDescriptor|null);
|
|
8325
|
+
|
|
8326
|
+
/** Import location */
|
|
8327
|
+
location?: (string|null);
|
|
8328
|
+
|
|
8329
|
+
/** Import format */
|
|
8330
|
+
format?: (string|null);
|
|
8331
|
+
|
|
8332
|
+
/** Import overwrite */
|
|
8333
|
+
overwrite?: (boolean|null);
|
|
8334
|
+
|
|
8335
|
+
/** Import options */
|
|
8336
|
+
options?: ({ [k: string]: string }|null);
|
|
8337
|
+
|
|
8338
|
+
/** Import fileName */
|
|
8339
|
+
fileName?: (string|null);
|
|
8340
|
+
|
|
8341
|
+
/** Import jitCode */
|
|
8342
|
+
jitCode?: (string|null);
|
|
8343
|
+
}
|
|
8344
|
+
|
|
8345
|
+
/** Represents an Import. */
|
|
8346
|
+
class Import implements IImport {
|
|
8347
|
+
|
|
8348
|
+
/**
|
|
8349
|
+
* Constructs a new Import.
|
|
8350
|
+
* @param [properties] Properties to set
|
|
8351
|
+
*/
|
|
8352
|
+
constructor(properties?: sqlanvil.IImport);
|
|
8353
|
+
|
|
8354
|
+
/** Import target. */
|
|
8355
|
+
public target?: (sqlanvil.ITarget|null);
|
|
8356
|
+
|
|
8357
|
+
/** Import canonicalTarget. */
|
|
8358
|
+
public canonicalTarget?: (sqlanvil.ITarget|null);
|
|
8359
|
+
|
|
8360
|
+
/** Import dependencyTargets. */
|
|
8361
|
+
public dependencyTargets: sqlanvil.ITarget[];
|
|
8362
|
+
|
|
8363
|
+
/** Import hermeticity. */
|
|
8364
|
+
public hermeticity: sqlanvil.ActionHermeticity;
|
|
8365
|
+
|
|
8366
|
+
/** Import disabled. */
|
|
8367
|
+
public disabled: boolean;
|
|
8368
|
+
|
|
8369
|
+
/** Import tags. */
|
|
8370
|
+
public tags: string[];
|
|
8371
|
+
|
|
8372
|
+
/** Import actionDescriptor. */
|
|
8373
|
+
public actionDescriptor?: (sqlanvil.IActionDescriptor|null);
|
|
8374
|
+
|
|
8375
|
+
/** Import location. */
|
|
8376
|
+
public location: string;
|
|
8377
|
+
|
|
8378
|
+
/** Import format. */
|
|
8379
|
+
public format: string;
|
|
8380
|
+
|
|
8381
|
+
/** Import overwrite. */
|
|
8382
|
+
public overwrite: boolean;
|
|
8383
|
+
|
|
8384
|
+
/** Import options. */
|
|
8385
|
+
public options: { [k: string]: string };
|
|
8386
|
+
|
|
8387
|
+
/** Import fileName. */
|
|
8388
|
+
public fileName: string;
|
|
8389
|
+
|
|
8390
|
+
/** Import jitCode. */
|
|
8391
|
+
public jitCode: string;
|
|
8392
|
+
|
|
8393
|
+
/**
|
|
8394
|
+
* Creates a new Import instance using the specified properties.
|
|
8395
|
+
* @param [properties] Properties to set
|
|
8396
|
+
* @returns Import instance
|
|
8397
|
+
*/
|
|
8398
|
+
public static create(properties?: sqlanvil.IImport): sqlanvil.Import;
|
|
8399
|
+
|
|
8400
|
+
/**
|
|
8401
|
+
* Encodes the specified Import message. Does not implicitly {@link sqlanvil.Import.verify|verify} messages.
|
|
8402
|
+
* @param message Import message or plain object to encode
|
|
8403
|
+
* @param [writer] Writer to encode to
|
|
8404
|
+
* @returns Writer
|
|
8405
|
+
*/
|
|
8406
|
+
public static encode(message: sqlanvil.IImport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8407
|
+
|
|
8408
|
+
/**
|
|
8409
|
+
* Encodes the specified Import message, length delimited. Does not implicitly {@link sqlanvil.Import.verify|verify} messages.
|
|
8410
|
+
* @param message Import message or plain object to encode
|
|
8411
|
+
* @param [writer] Writer to encode to
|
|
8412
|
+
* @returns Writer
|
|
8413
|
+
*/
|
|
8414
|
+
public static encodeDelimited(message: sqlanvil.IImport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8415
|
+
|
|
8416
|
+
/**
|
|
8417
|
+
* Decodes an Import message from the specified reader or buffer.
|
|
8418
|
+
* @param reader Reader or buffer to decode from
|
|
8419
|
+
* @param [length] Message length if known beforehand
|
|
8420
|
+
* @returns Import
|
|
8421
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8422
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8423
|
+
*/
|
|
8424
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.Import;
|
|
8425
|
+
|
|
8426
|
+
/**
|
|
8427
|
+
* Decodes an Import message from the specified reader or buffer, length delimited.
|
|
8428
|
+
* @param reader Reader or buffer to decode from
|
|
8429
|
+
* @returns Import
|
|
8430
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8431
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8432
|
+
*/
|
|
8433
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.Import;
|
|
8434
|
+
|
|
8435
|
+
/**
|
|
8436
|
+
* Verifies an Import message.
|
|
8437
|
+
* @param message Plain object to verify
|
|
8438
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8439
|
+
*/
|
|
8440
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8441
|
+
|
|
8442
|
+
/**
|
|
8443
|
+
* Creates an Import message from a plain object. Also converts values to their respective internal types.
|
|
8444
|
+
* @param object Plain object
|
|
8445
|
+
* @returns Import
|
|
8446
|
+
*/
|
|
8447
|
+
public static fromObject(object: { [k: string]: any }): sqlanvil.Import;
|
|
8448
|
+
|
|
8449
|
+
/**
|
|
8450
|
+
* Creates a plain object from an Import message. Also converts values to other types if specified.
|
|
8451
|
+
* @param message Import
|
|
8452
|
+
* @param [options] Conversion options
|
|
8453
|
+
* @returns Plain object
|
|
8454
|
+
*/
|
|
8455
|
+
public static toObject(message: sqlanvil.Import, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8456
|
+
|
|
8457
|
+
/**
|
|
8458
|
+
* Converts this Import to JSON.
|
|
8459
|
+
* @returns JSON object
|
|
8460
|
+
*/
|
|
8461
|
+
public toJSON(): { [k: string]: any };
|
|
8462
|
+
|
|
8463
|
+
/**
|
|
8464
|
+
* Gets the default type url for Import
|
|
8465
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8466
|
+
* @returns The default type url
|
|
8467
|
+
*/
|
|
8468
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8469
|
+
}
|
|
8470
|
+
|
|
8030
8471
|
/** Properties of an Assertion. */
|
|
8031
8472
|
interface IAssertion {
|
|
8032
8473
|
|
|
@@ -9425,6 +9866,9 @@ namespace sqlanvil {
|
|
|
9425
9866
|
/** CompiledGraph exports */
|
|
9426
9867
|
exports?: (sqlanvil.IExport[]|null);
|
|
9427
9868
|
|
|
9869
|
+
/** CompiledGraph imports */
|
|
9870
|
+
imports?: (sqlanvil.IImport[]|null);
|
|
9871
|
+
|
|
9428
9872
|
/** CompiledGraph graphErrors */
|
|
9429
9873
|
graphErrors?: (sqlanvil.IGraphErrors|null);
|
|
9430
9874
|
|
|
@@ -9474,6 +9918,9 @@ namespace sqlanvil {
|
|
|
9474
9918
|
/** CompiledGraph exports. */
|
|
9475
9919
|
public exports: sqlanvil.IExport[];
|
|
9476
9920
|
|
|
9921
|
+
/** CompiledGraph imports. */
|
|
9922
|
+
public imports: sqlanvil.IImport[];
|
|
9923
|
+
|
|
9477
9924
|
/** CompiledGraph graphErrors. */
|
|
9478
9925
|
public graphErrors?: (sqlanvil.IGraphErrors|null);
|
|
9479
9926
|
|
|
@@ -11366,6 +11813,121 @@ namespace sqlanvil {
|
|
|
11366
11813
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11367
11814
|
}
|
|
11368
11815
|
|
|
11816
|
+
/** Properties of an ImportSpec. */
|
|
11817
|
+
interface IImportSpec {
|
|
11818
|
+
|
|
11819
|
+
/** ImportSpec location */
|
|
11820
|
+
location?: (string|null);
|
|
11821
|
+
|
|
11822
|
+
/** ImportSpec format */
|
|
11823
|
+
format?: (string|null);
|
|
11824
|
+
|
|
11825
|
+
/** ImportSpec overwrite */
|
|
11826
|
+
overwrite?: (boolean|null);
|
|
11827
|
+
|
|
11828
|
+
/** ImportSpec options */
|
|
11829
|
+
options?: ({ [k: string]: string }|null);
|
|
11830
|
+
}
|
|
11831
|
+
|
|
11832
|
+
/** Represents an ImportSpec. */
|
|
11833
|
+
class ImportSpec implements IImportSpec {
|
|
11834
|
+
|
|
11835
|
+
/**
|
|
11836
|
+
* Constructs a new ImportSpec.
|
|
11837
|
+
* @param [properties] Properties to set
|
|
11838
|
+
*/
|
|
11839
|
+
constructor(properties?: sqlanvil.IImportSpec);
|
|
11840
|
+
|
|
11841
|
+
/** ImportSpec location. */
|
|
11842
|
+
public location: string;
|
|
11843
|
+
|
|
11844
|
+
/** ImportSpec format. */
|
|
11845
|
+
public format: string;
|
|
11846
|
+
|
|
11847
|
+
/** ImportSpec overwrite. */
|
|
11848
|
+
public overwrite: boolean;
|
|
11849
|
+
|
|
11850
|
+
/** ImportSpec options. */
|
|
11851
|
+
public options: { [k: string]: string };
|
|
11852
|
+
|
|
11853
|
+
/**
|
|
11854
|
+
* Creates a new ImportSpec instance using the specified properties.
|
|
11855
|
+
* @param [properties] Properties to set
|
|
11856
|
+
* @returns ImportSpec instance
|
|
11857
|
+
*/
|
|
11858
|
+
public static create(properties?: sqlanvil.IImportSpec): sqlanvil.ImportSpec;
|
|
11859
|
+
|
|
11860
|
+
/**
|
|
11861
|
+
* Encodes the specified ImportSpec message. Does not implicitly {@link sqlanvil.ImportSpec.verify|verify} messages.
|
|
11862
|
+
* @param message ImportSpec message or plain object to encode
|
|
11863
|
+
* @param [writer] Writer to encode to
|
|
11864
|
+
* @returns Writer
|
|
11865
|
+
*/
|
|
11866
|
+
public static encode(message: sqlanvil.IImportSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11867
|
+
|
|
11868
|
+
/**
|
|
11869
|
+
* Encodes the specified ImportSpec message, length delimited. Does not implicitly {@link sqlanvil.ImportSpec.verify|verify} messages.
|
|
11870
|
+
* @param message ImportSpec message or plain object to encode
|
|
11871
|
+
* @param [writer] Writer to encode to
|
|
11872
|
+
* @returns Writer
|
|
11873
|
+
*/
|
|
11874
|
+
public static encodeDelimited(message: sqlanvil.IImportSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11875
|
+
|
|
11876
|
+
/**
|
|
11877
|
+
* Decodes an ImportSpec message from the specified reader or buffer.
|
|
11878
|
+
* @param reader Reader or buffer to decode from
|
|
11879
|
+
* @param [length] Message length if known beforehand
|
|
11880
|
+
* @returns ImportSpec
|
|
11881
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11882
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11883
|
+
*/
|
|
11884
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ImportSpec;
|
|
11885
|
+
|
|
11886
|
+
/**
|
|
11887
|
+
* Decodes an ImportSpec message from the specified reader or buffer, length delimited.
|
|
11888
|
+
* @param reader Reader or buffer to decode from
|
|
11889
|
+
* @returns ImportSpec
|
|
11890
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11891
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11892
|
+
*/
|
|
11893
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ImportSpec;
|
|
11894
|
+
|
|
11895
|
+
/**
|
|
11896
|
+
* Verifies an ImportSpec message.
|
|
11897
|
+
* @param message Plain object to verify
|
|
11898
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11899
|
+
*/
|
|
11900
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11901
|
+
|
|
11902
|
+
/**
|
|
11903
|
+
* Creates an ImportSpec message from a plain object. Also converts values to their respective internal types.
|
|
11904
|
+
* @param object Plain object
|
|
11905
|
+
* @returns ImportSpec
|
|
11906
|
+
*/
|
|
11907
|
+
public static fromObject(object: { [k: string]: any }): sqlanvil.ImportSpec;
|
|
11908
|
+
|
|
11909
|
+
/**
|
|
11910
|
+
* Creates a plain object from an ImportSpec message. Also converts values to other types if specified.
|
|
11911
|
+
* @param message ImportSpec
|
|
11912
|
+
* @param [options] Conversion options
|
|
11913
|
+
* @returns Plain object
|
|
11914
|
+
*/
|
|
11915
|
+
public static toObject(message: sqlanvil.ImportSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11916
|
+
|
|
11917
|
+
/**
|
|
11918
|
+
* Converts this ImportSpec to JSON.
|
|
11919
|
+
* @returns JSON object
|
|
11920
|
+
*/
|
|
11921
|
+
public toJSON(): { [k: string]: any };
|
|
11922
|
+
|
|
11923
|
+
/**
|
|
11924
|
+
* Gets the default type url for ImportSpec
|
|
11925
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11926
|
+
* @returns The default type url
|
|
11927
|
+
*/
|
|
11928
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11929
|
+
}
|
|
11930
|
+
|
|
11369
11931
|
/** Properties of an ExecutionAction. */
|
|
11370
11932
|
interface IExecutionAction {
|
|
11371
11933
|
|
|
@@ -11398,6 +11960,9 @@ namespace sqlanvil {
|
|
|
11398
11960
|
|
|
11399
11961
|
/** ExecutionAction export */
|
|
11400
11962
|
"export"?: (sqlanvil.IExportSpec|null);
|
|
11963
|
+
|
|
11964
|
+
/** ExecutionAction import */
|
|
11965
|
+
"import"?: (sqlanvil.IImportSpec|null);
|
|
11401
11966
|
}
|
|
11402
11967
|
|
|
11403
11968
|
/** Represents an ExecutionAction. */
|
|
@@ -11439,6 +12004,9 @@ namespace sqlanvil {
|
|
|
11439
12004
|
/** ExecutionAction export. */
|
|
11440
12005
|
public export?: (sqlanvil.IExportSpec|null);
|
|
11441
12006
|
|
|
12007
|
+
/** ExecutionAction import. */
|
|
12008
|
+
public import?: (sqlanvil.IImportSpec|null);
|
|
12009
|
+
|
|
11442
12010
|
/**
|
|
11443
12011
|
* Creates a new ExecutionAction instance using the specified properties.
|
|
11444
12012
|
* @param [properties] Properties to set
|
|
@@ -14763,6 +15331,25 @@ declare class Export extends ActionBuilder<sqlanvil.Export> {
|
|
|
14763
15331
|
private verifyConfig;
|
|
14764
15332
|
}
|
|
14765
15333
|
|
|
15334
|
+
declare class Import extends ActionBuilder<sqlanvil.Import> {
|
|
15335
|
+
session: Session;
|
|
15336
|
+
dependOnDependencyAssertions: boolean;
|
|
15337
|
+
private proto;
|
|
15338
|
+
constructor(session?: Session, unverifiedConfig?: any, configPath?: string);
|
|
15339
|
+
dependencies(value: Resolvable | Resolvable[]): this;
|
|
15340
|
+
hermetic(hermetic: boolean): void;
|
|
15341
|
+
disabled(disabled?: boolean): this;
|
|
15342
|
+
tags(value: string | string[]): this;
|
|
15343
|
+
description(description: string): this;
|
|
15344
|
+
database(database: string): this;
|
|
15345
|
+
schema(schema: string): this;
|
|
15346
|
+
getFileName(): string;
|
|
15347
|
+
getTarget(): sqlanvil.Target;
|
|
15348
|
+
compile(): sqlanvil.Import;
|
|
15349
|
+
private validate;
|
|
15350
|
+
private verifyConfig;
|
|
15351
|
+
}
|
|
15352
|
+
|
|
14766
15353
|
declare type JitTableResult = string | sqlanvil.IJitTableResult;
|
|
14767
15354
|
declare class Table extends ActionBuilder<sqlanvil.Table> {
|
|
14768
15355
|
session: Session;
|
|
@@ -15145,7 +15732,7 @@ interface IRecordDescriptor {
|
|
|
15145
15732
|
bigqueryPolicyTags?: string | string[];
|
|
15146
15733
|
}
|
|
15147
15734
|
|
|
15148
|
-
declare type Action = Table | View | IncrementalTable | Operation | Assertion | Declaration | Notebook | DataPreparation | Export | Test | RlsPolicy | RealtimePublication | Wrapper | ForeignTable | VectorIndex;
|
|
15735
|
+
declare type Action = Table | View | IncrementalTable | Operation | Assertion | Declaration | Notebook | DataPreparation | Export | Import | Test | RlsPolicy | RealtimePublication | Wrapper | ForeignTable | VectorIndex;
|
|
15149
15736
|
interface INamedConfig {
|
|
15150
15737
|
type?: string;
|
|
15151
15738
|
name?: string;
|
|
@@ -15301,7 +15888,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
|
|
|
15301
15888
|
|
|
15302
15889
|
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
15303
15890
|
|
|
15304
|
-
declare const version = "1.
|
|
15891
|
+
declare const version = "1.12.0";
|
|
15305
15892
|
|
|
15306
15893
|
declare const session: Session;
|
|
15307
15894
|
declare const supportedFeatures: sqlanvil.SupportedFeatures[];
|