@sqlanvil/core 1.10.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 +843 -21
- package/bundle.js +1 -1
- package/configs.proto +84 -1
- 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
|
|
|
@@ -4832,6 +5104,9 @@ namespace sqlanvil {
|
|
|
4832
5104
|
|
|
4833
5105
|
/** MysqlOptions indexes */
|
|
4834
5106
|
indexes?: (sqlanvil.MysqlOptions.IIndex[]|null);
|
|
5107
|
+
|
|
5108
|
+
/** MysqlOptions partition */
|
|
5109
|
+
partition?: (sqlanvil.MysqlOptions.IPartition|null);
|
|
4835
5110
|
}
|
|
4836
5111
|
|
|
4837
5112
|
/** Represents a MysqlOptions. */
|
|
@@ -4855,6 +5130,9 @@ namespace sqlanvil {
|
|
|
4855
5130
|
/** MysqlOptions indexes. */
|
|
4856
5131
|
public indexes: sqlanvil.MysqlOptions.IIndex[];
|
|
4857
5132
|
|
|
5133
|
+
/** MysqlOptions partition. */
|
|
5134
|
+
public partition?: (sqlanvil.MysqlOptions.IPartition|null);
|
|
5135
|
+
|
|
4858
5136
|
/**
|
|
4859
5137
|
* Creates a new MysqlOptions instance using the specified properties.
|
|
4860
5138
|
* @param [properties] Properties to set
|
|
@@ -5022,26 +5300,255 @@ namespace sqlanvil {
|
|
|
5022
5300
|
*/
|
|
5023
5301
|
public static fromObject(object: { [k: string]: any }): sqlanvil.MysqlOptions.Index;
|
|
5024
5302
|
|
|
5025
|
-
/**
|
|
5026
|
-
* Creates a plain object from an Index message. Also converts values to other types if specified.
|
|
5027
|
-
* @param message Index
|
|
5028
|
-
* @param [options] Conversion options
|
|
5029
|
-
* @returns Plain object
|
|
5030
|
-
*/
|
|
5031
|
-
public static toObject(message: sqlanvil.MysqlOptions.Index, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5303
|
+
/**
|
|
5304
|
+
* Creates a plain object from an Index message. Also converts values to other types if specified.
|
|
5305
|
+
* @param message Index
|
|
5306
|
+
* @param [options] Conversion options
|
|
5307
|
+
* @returns Plain object
|
|
5308
|
+
*/
|
|
5309
|
+
public static toObject(message: sqlanvil.MysqlOptions.Index, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5310
|
+
|
|
5311
|
+
/**
|
|
5312
|
+
* Converts this Index to JSON.
|
|
5313
|
+
* @returns JSON object
|
|
5314
|
+
*/
|
|
5315
|
+
public toJSON(): { [k: string]: any };
|
|
5316
|
+
|
|
5317
|
+
/**
|
|
5318
|
+
* Gets the default type url for Index
|
|
5319
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5320
|
+
* @returns The default type url
|
|
5321
|
+
*/
|
|
5322
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5323
|
+
}
|
|
5324
|
+
|
|
5325
|
+
/** Properties of a Partition. */
|
|
5326
|
+
interface IPartition {
|
|
5327
|
+
|
|
5328
|
+
/** Partition kind */
|
|
5329
|
+
kind?: (sqlanvil.MysqlOptions.Partition.Kind|null);
|
|
5330
|
+
|
|
5331
|
+
/** Partition expression */
|
|
5332
|
+
expression?: (string|null);
|
|
5333
|
+
|
|
5334
|
+
/** Partition partitions */
|
|
5335
|
+
partitions?: (sqlanvil.MysqlOptions.Partition.IBound[]|null);
|
|
5336
|
+
|
|
5337
|
+
/** Partition count */
|
|
5338
|
+
count?: (number|null);
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
/** Represents a Partition. */
|
|
5342
|
+
class Partition implements IPartition {
|
|
5343
|
+
|
|
5344
|
+
/**
|
|
5345
|
+
* Constructs a new Partition.
|
|
5346
|
+
* @param [properties] Properties to set
|
|
5347
|
+
*/
|
|
5348
|
+
constructor(properties?: sqlanvil.MysqlOptions.IPartition);
|
|
5349
|
+
|
|
5350
|
+
/** Partition kind. */
|
|
5351
|
+
public kind: sqlanvil.MysqlOptions.Partition.Kind;
|
|
5352
|
+
|
|
5353
|
+
/** Partition expression. */
|
|
5354
|
+
public expression: string;
|
|
5355
|
+
|
|
5356
|
+
/** Partition partitions. */
|
|
5357
|
+
public partitions: sqlanvil.MysqlOptions.Partition.IBound[];
|
|
5358
|
+
|
|
5359
|
+
/** Partition count. */
|
|
5360
|
+
public count: number;
|
|
5361
|
+
|
|
5362
|
+
/**
|
|
5363
|
+
* Creates a new Partition instance using the specified properties.
|
|
5364
|
+
* @param [properties] Properties to set
|
|
5365
|
+
* @returns Partition instance
|
|
5366
|
+
*/
|
|
5367
|
+
public static create(properties?: sqlanvil.MysqlOptions.IPartition): sqlanvil.MysqlOptions.Partition;
|
|
5368
|
+
|
|
5369
|
+
/**
|
|
5370
|
+
* Encodes the specified Partition message. Does not implicitly {@link sqlanvil.MysqlOptions.Partition.verify|verify} messages.
|
|
5371
|
+
* @param message Partition message or plain object to encode
|
|
5372
|
+
* @param [writer] Writer to encode to
|
|
5373
|
+
* @returns Writer
|
|
5374
|
+
*/
|
|
5375
|
+
public static encode(message: sqlanvil.MysqlOptions.IPartition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5376
|
+
|
|
5377
|
+
/**
|
|
5378
|
+
* Encodes the specified Partition message, length delimited. Does not implicitly {@link sqlanvil.MysqlOptions.Partition.verify|verify} messages.
|
|
5379
|
+
* @param message Partition message or plain object to encode
|
|
5380
|
+
* @param [writer] Writer to encode to
|
|
5381
|
+
* @returns Writer
|
|
5382
|
+
*/
|
|
5383
|
+
public static encodeDelimited(message: sqlanvil.MysqlOptions.IPartition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5384
|
+
|
|
5385
|
+
/**
|
|
5386
|
+
* Decodes a Partition message from the specified reader or buffer.
|
|
5387
|
+
* @param reader Reader or buffer to decode from
|
|
5388
|
+
* @param [length] Message length if known beforehand
|
|
5389
|
+
* @returns Partition
|
|
5390
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5391
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5392
|
+
*/
|
|
5393
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.MysqlOptions.Partition;
|
|
5394
|
+
|
|
5395
|
+
/**
|
|
5396
|
+
* Decodes a Partition message from the specified reader or buffer, length delimited.
|
|
5397
|
+
* @param reader Reader or buffer to decode from
|
|
5398
|
+
* @returns Partition
|
|
5399
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5400
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5401
|
+
*/
|
|
5402
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.MysqlOptions.Partition;
|
|
5403
|
+
|
|
5404
|
+
/**
|
|
5405
|
+
* Verifies a Partition message.
|
|
5406
|
+
* @param message Plain object to verify
|
|
5407
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5408
|
+
*/
|
|
5409
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5410
|
+
|
|
5411
|
+
/**
|
|
5412
|
+
* Creates a Partition message from a plain object. Also converts values to their respective internal types.
|
|
5413
|
+
* @param object Plain object
|
|
5414
|
+
* @returns Partition
|
|
5415
|
+
*/
|
|
5416
|
+
public static fromObject(object: { [k: string]: any }): sqlanvil.MysqlOptions.Partition;
|
|
5417
|
+
|
|
5418
|
+
/**
|
|
5419
|
+
* Creates a plain object from a Partition message. Also converts values to other types if specified.
|
|
5420
|
+
* @param message Partition
|
|
5421
|
+
* @param [options] Conversion options
|
|
5422
|
+
* @returns Plain object
|
|
5423
|
+
*/
|
|
5424
|
+
public static toObject(message: sqlanvil.MysqlOptions.Partition, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5425
|
+
|
|
5426
|
+
/**
|
|
5427
|
+
* Converts this Partition to JSON.
|
|
5428
|
+
* @returns JSON object
|
|
5429
|
+
*/
|
|
5430
|
+
public toJSON(): { [k: string]: any };
|
|
5431
|
+
|
|
5432
|
+
/**
|
|
5433
|
+
* Gets the default type url for Partition
|
|
5434
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5435
|
+
* @returns The default type url
|
|
5436
|
+
*/
|
|
5437
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5438
|
+
}
|
|
5439
|
+
|
|
5440
|
+
namespace Partition {
|
|
5441
|
+
|
|
5442
|
+
/** Kind enum. */
|
|
5443
|
+
enum Kind {
|
|
5444
|
+
RANGE = 0,
|
|
5445
|
+
LIST = 1,
|
|
5446
|
+
HASH = 2,
|
|
5447
|
+
KEY = 3
|
|
5448
|
+
}
|
|
5449
|
+
|
|
5450
|
+
/** Properties of a Bound. */
|
|
5451
|
+
interface IBound {
|
|
5452
|
+
|
|
5453
|
+
/** Bound name */
|
|
5454
|
+
name?: (string|null);
|
|
5455
|
+
|
|
5456
|
+
/** Bound values */
|
|
5457
|
+
values?: (string|null);
|
|
5458
|
+
}
|
|
5459
|
+
|
|
5460
|
+
/** Represents a Bound. */
|
|
5461
|
+
class Bound implements IBound {
|
|
5462
|
+
|
|
5463
|
+
/**
|
|
5464
|
+
* Constructs a new Bound.
|
|
5465
|
+
* @param [properties] Properties to set
|
|
5466
|
+
*/
|
|
5467
|
+
constructor(properties?: sqlanvil.MysqlOptions.Partition.IBound);
|
|
5468
|
+
|
|
5469
|
+
/** Bound name. */
|
|
5470
|
+
public name: string;
|
|
5471
|
+
|
|
5472
|
+
/** Bound values. */
|
|
5473
|
+
public values: string;
|
|
5474
|
+
|
|
5475
|
+
/**
|
|
5476
|
+
* Creates a new Bound instance using the specified properties.
|
|
5477
|
+
* @param [properties] Properties to set
|
|
5478
|
+
* @returns Bound instance
|
|
5479
|
+
*/
|
|
5480
|
+
public static create(properties?: sqlanvil.MysqlOptions.Partition.IBound): sqlanvil.MysqlOptions.Partition.Bound;
|
|
5481
|
+
|
|
5482
|
+
/**
|
|
5483
|
+
* Encodes the specified Bound message. Does not implicitly {@link sqlanvil.MysqlOptions.Partition.Bound.verify|verify} messages.
|
|
5484
|
+
* @param message Bound message or plain object to encode
|
|
5485
|
+
* @param [writer] Writer to encode to
|
|
5486
|
+
* @returns Writer
|
|
5487
|
+
*/
|
|
5488
|
+
public static encode(message: sqlanvil.MysqlOptions.Partition.IBound, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5489
|
+
|
|
5490
|
+
/**
|
|
5491
|
+
* Encodes the specified Bound message, length delimited. Does not implicitly {@link sqlanvil.MysqlOptions.Partition.Bound.verify|verify} messages.
|
|
5492
|
+
* @param message Bound message or plain object to encode
|
|
5493
|
+
* @param [writer] Writer to encode to
|
|
5494
|
+
* @returns Writer
|
|
5495
|
+
*/
|
|
5496
|
+
public static encodeDelimited(message: sqlanvil.MysqlOptions.Partition.IBound, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5497
|
+
|
|
5498
|
+
/**
|
|
5499
|
+
* Decodes a Bound message from the specified reader or buffer.
|
|
5500
|
+
* @param reader Reader or buffer to decode from
|
|
5501
|
+
* @param [length] Message length if known beforehand
|
|
5502
|
+
* @returns Bound
|
|
5503
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5504
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5505
|
+
*/
|
|
5506
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.MysqlOptions.Partition.Bound;
|
|
5507
|
+
|
|
5508
|
+
/**
|
|
5509
|
+
* Decodes a Bound message from the specified reader or buffer, length delimited.
|
|
5510
|
+
* @param reader Reader or buffer to decode from
|
|
5511
|
+
* @returns Bound
|
|
5512
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5513
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5514
|
+
*/
|
|
5515
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.MysqlOptions.Partition.Bound;
|
|
5516
|
+
|
|
5517
|
+
/**
|
|
5518
|
+
* Verifies a Bound message.
|
|
5519
|
+
* @param message Plain object to verify
|
|
5520
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5521
|
+
*/
|
|
5522
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5523
|
+
|
|
5524
|
+
/**
|
|
5525
|
+
* Creates a Bound message from a plain object. Also converts values to their respective internal types.
|
|
5526
|
+
* @param object Plain object
|
|
5527
|
+
* @returns Bound
|
|
5528
|
+
*/
|
|
5529
|
+
public static fromObject(object: { [k: string]: any }): sqlanvil.MysqlOptions.Partition.Bound;
|
|
5032
5530
|
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5531
|
+
/**
|
|
5532
|
+
* Creates a plain object from a Bound message. Also converts values to other types if specified.
|
|
5533
|
+
* @param message Bound
|
|
5534
|
+
* @param [options] Conversion options
|
|
5535
|
+
* @returns Plain object
|
|
5536
|
+
*/
|
|
5537
|
+
public static toObject(message: sqlanvil.MysqlOptions.Partition.Bound, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5038
5538
|
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5539
|
+
/**
|
|
5540
|
+
* Converts this Bound to JSON.
|
|
5541
|
+
* @returns JSON object
|
|
5542
|
+
*/
|
|
5543
|
+
public toJSON(): { [k: string]: any };
|
|
5544
|
+
|
|
5545
|
+
/**
|
|
5546
|
+
* Gets the default type url for Bound
|
|
5547
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5548
|
+
* @returns The default type url
|
|
5549
|
+
*/
|
|
5550
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5551
|
+
}
|
|
5045
5552
|
}
|
|
5046
5553
|
}
|
|
5047
5554
|
|
|
@@ -7792,6 +8299,175 @@ namespace sqlanvil {
|
|
|
7792
8299
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7793
8300
|
}
|
|
7794
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
|
+
|
|
7795
8471
|
/** Properties of an Assertion. */
|
|
7796
8472
|
interface IAssertion {
|
|
7797
8473
|
|
|
@@ -9190,6 +9866,9 @@ namespace sqlanvil {
|
|
|
9190
9866
|
/** CompiledGraph exports */
|
|
9191
9867
|
exports?: (sqlanvil.IExport[]|null);
|
|
9192
9868
|
|
|
9869
|
+
/** CompiledGraph imports */
|
|
9870
|
+
imports?: (sqlanvil.IImport[]|null);
|
|
9871
|
+
|
|
9193
9872
|
/** CompiledGraph graphErrors */
|
|
9194
9873
|
graphErrors?: (sqlanvil.IGraphErrors|null);
|
|
9195
9874
|
|
|
@@ -9239,6 +9918,9 @@ namespace sqlanvil {
|
|
|
9239
9918
|
/** CompiledGraph exports. */
|
|
9240
9919
|
public exports: sqlanvil.IExport[];
|
|
9241
9920
|
|
|
9921
|
+
/** CompiledGraph imports. */
|
|
9922
|
+
public imports: sqlanvil.IImport[];
|
|
9923
|
+
|
|
9242
9924
|
/** CompiledGraph graphErrors. */
|
|
9243
9925
|
public graphErrors?: (sqlanvil.IGraphErrors|null);
|
|
9244
9926
|
|
|
@@ -11131,6 +11813,121 @@ namespace sqlanvil {
|
|
|
11131
11813
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11132
11814
|
}
|
|
11133
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
|
+
|
|
11134
11931
|
/** Properties of an ExecutionAction. */
|
|
11135
11932
|
interface IExecutionAction {
|
|
11136
11933
|
|
|
@@ -11163,6 +11960,9 @@ namespace sqlanvil {
|
|
|
11163
11960
|
|
|
11164
11961
|
/** ExecutionAction export */
|
|
11165
11962
|
"export"?: (sqlanvil.IExportSpec|null);
|
|
11963
|
+
|
|
11964
|
+
/** ExecutionAction import */
|
|
11965
|
+
"import"?: (sqlanvil.IImportSpec|null);
|
|
11166
11966
|
}
|
|
11167
11967
|
|
|
11168
11968
|
/** Represents an ExecutionAction. */
|
|
@@ -11204,6 +12004,9 @@ namespace sqlanvil {
|
|
|
11204
12004
|
/** ExecutionAction export. */
|
|
11205
12005
|
public export?: (sqlanvil.IExportSpec|null);
|
|
11206
12006
|
|
|
12007
|
+
/** ExecutionAction import. */
|
|
12008
|
+
public import?: (sqlanvil.IImportSpec|null);
|
|
12009
|
+
|
|
11207
12010
|
/**
|
|
11208
12011
|
* Creates a new ExecutionAction instance using the specified properties.
|
|
11209
12012
|
* @param [properties] Properties to set
|
|
@@ -14528,6 +15331,25 @@ declare class Export extends ActionBuilder<sqlanvil.Export> {
|
|
|
14528
15331
|
private verifyConfig;
|
|
14529
15332
|
}
|
|
14530
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
|
+
|
|
14531
15353
|
declare type JitTableResult = string | sqlanvil.IJitTableResult;
|
|
14532
15354
|
declare class Table extends ActionBuilder<sqlanvil.Table> {
|
|
14533
15355
|
session: Session;
|
|
@@ -14910,7 +15732,7 @@ interface IRecordDescriptor {
|
|
|
14910
15732
|
bigqueryPolicyTags?: string | string[];
|
|
14911
15733
|
}
|
|
14912
15734
|
|
|
14913
|
-
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;
|
|
14914
15736
|
interface INamedConfig {
|
|
14915
15737
|
type?: string;
|
|
14916
15738
|
name?: string;
|
|
@@ -15066,7 +15888,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
|
|
|
15066
15888
|
|
|
15067
15889
|
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
15068
15890
|
|
|
15069
|
-
declare const version = "1.
|
|
15891
|
+
declare const version = "1.12.0";
|
|
15070
15892
|
|
|
15071
15893
|
declare const session: Session;
|
|
15072
15894
|
declare const supportedFeatures: sqlanvil.SupportedFeatures[];
|