@sqlanvil/core 1.7.0 → 1.8.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 CHANGED
@@ -720,6 +720,9 @@ namespace sqlanvil {
720
720
 
721
721
  /** ActionConfig vectorIndex */
722
722
  vectorIndex?: (sqlanvil.ActionConfig.IVectorIndexConfig|null);
723
+
724
+ /** ActionConfig export */
725
+ "export"?: (sqlanvil.ActionConfig.IExportConfig|null);
723
726
  }
724
727
 
725
728
  /** Represents an ActionConfig. */
@@ -767,8 +770,11 @@ namespace sqlanvil {
767
770
  /** ActionConfig vectorIndex. */
768
771
  public vectorIndex?: (sqlanvil.ActionConfig.IVectorIndexConfig|null);
769
772
 
773
+ /** ActionConfig export. */
774
+ public export?: (sqlanvil.ActionConfig.IExportConfig|null);
775
+
770
776
  /** ActionConfig action. */
771
- public action?: ("table"|"view"|"incrementalTable"|"assertion"|"operation"|"declaration"|"notebook"|"dataPreparation"|"rlsPolicy"|"realtimePublication"|"foreignWrapper"|"vectorIndex");
777
+ public action?: ("table"|"view"|"incrementalTable"|"assertion"|"operation"|"declaration"|"notebook"|"dataPreparation"|"rlsPolicy"|"realtimePublication"|"foreignWrapper"|"vectorIndex"|"export");
772
778
 
773
779
  /**
774
780
  * Creates a new ActionConfig instance using the specified properties.
@@ -2603,6 +2609,278 @@ namespace sqlanvil {
2603
2609
  public static getTypeUrl(typeUrlPrefix?: string): string;
2604
2610
  }
2605
2611
 
2612
+ /** Properties of an ExportOptions. */
2613
+ interface IExportOptions {
2614
+
2615
+ /** ExportOptions location */
2616
+ location?: (string|null);
2617
+
2618
+ /** ExportOptions format */
2619
+ format?: (string|null);
2620
+
2621
+ /** ExportOptions overwrite */
2622
+ overwrite?: (boolean|null);
2623
+
2624
+ /** ExportOptions filename */
2625
+ filename?: (string|null);
2626
+
2627
+ /** ExportOptions options */
2628
+ options?: ({ [k: string]: string }|null);
2629
+ }
2630
+
2631
+ /** Represents an ExportOptions. */
2632
+ class ExportOptions implements IExportOptions {
2633
+
2634
+ /**
2635
+ * Constructs a new ExportOptions.
2636
+ * @param [properties] Properties to set
2637
+ */
2638
+ constructor(properties?: sqlanvil.ActionConfig.IExportOptions);
2639
+
2640
+ /** ExportOptions location. */
2641
+ public location: string;
2642
+
2643
+ /** ExportOptions format. */
2644
+ public format: string;
2645
+
2646
+ /** ExportOptions overwrite. */
2647
+ public overwrite: boolean;
2648
+
2649
+ /** ExportOptions filename. */
2650
+ public filename: string;
2651
+
2652
+ /** ExportOptions options. */
2653
+ public options: { [k: string]: string };
2654
+
2655
+ /**
2656
+ * Creates a new ExportOptions instance using the specified properties.
2657
+ * @param [properties] Properties to set
2658
+ * @returns ExportOptions instance
2659
+ */
2660
+ public static create(properties?: sqlanvil.ActionConfig.IExportOptions): sqlanvil.ActionConfig.ExportOptions;
2661
+
2662
+ /**
2663
+ * Encodes the specified ExportOptions message. Does not implicitly {@link sqlanvil.ActionConfig.ExportOptions.verify|verify} messages.
2664
+ * @param message ExportOptions message or plain object to encode
2665
+ * @param [writer] Writer to encode to
2666
+ * @returns Writer
2667
+ */
2668
+ public static encode(message: sqlanvil.ActionConfig.IExportOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2669
+
2670
+ /**
2671
+ * Encodes the specified ExportOptions message, length delimited. Does not implicitly {@link sqlanvil.ActionConfig.ExportOptions.verify|verify} messages.
2672
+ * @param message ExportOptions message or plain object to encode
2673
+ * @param [writer] Writer to encode to
2674
+ * @returns Writer
2675
+ */
2676
+ public static encodeDelimited(message: sqlanvil.ActionConfig.IExportOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2677
+
2678
+ /**
2679
+ * Decodes an ExportOptions message from the specified reader or buffer.
2680
+ * @param reader Reader or buffer to decode from
2681
+ * @param [length] Message length if known beforehand
2682
+ * @returns ExportOptions
2683
+ * @throws {Error} If the payload is not a reader or valid buffer
2684
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2685
+ */
2686
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ActionConfig.ExportOptions;
2687
+
2688
+ /**
2689
+ * Decodes an ExportOptions message from the specified reader or buffer, length delimited.
2690
+ * @param reader Reader or buffer to decode from
2691
+ * @returns ExportOptions
2692
+ * @throws {Error} If the payload is not a reader or valid buffer
2693
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2694
+ */
2695
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ActionConfig.ExportOptions;
2696
+
2697
+ /**
2698
+ * Verifies an ExportOptions message.
2699
+ * @param message Plain object to verify
2700
+ * @returns `null` if valid, otherwise the reason why it is not
2701
+ */
2702
+ public static verify(message: { [k: string]: any }): (string|null);
2703
+
2704
+ /**
2705
+ * Creates an ExportOptions message from a plain object. Also converts values to their respective internal types.
2706
+ * @param object Plain object
2707
+ * @returns ExportOptions
2708
+ */
2709
+ public static fromObject(object: { [k: string]: any }): sqlanvil.ActionConfig.ExportOptions;
2710
+
2711
+ /**
2712
+ * Creates a plain object from an ExportOptions message. Also converts values to other types if specified.
2713
+ * @param message ExportOptions
2714
+ * @param [options] Conversion options
2715
+ * @returns Plain object
2716
+ */
2717
+ public static toObject(message: sqlanvil.ActionConfig.ExportOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2718
+
2719
+ /**
2720
+ * Converts this ExportOptions to JSON.
2721
+ * @returns JSON object
2722
+ */
2723
+ public toJSON(): { [k: string]: any };
2724
+
2725
+ /**
2726
+ * Gets the default type url for ExportOptions
2727
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2728
+ * @returns The default type url
2729
+ */
2730
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2731
+ }
2732
+
2733
+ /** Properties of an ExportConfig. */
2734
+ interface IExportConfig {
2735
+
2736
+ /** ExportConfig name */
2737
+ name?: (string|null);
2738
+
2739
+ /** ExportConfig dataset */
2740
+ dataset?: (string|null);
2741
+
2742
+ /** ExportConfig project */
2743
+ project?: (string|null);
2744
+
2745
+ /** ExportConfig dependencyTargets */
2746
+ dependencyTargets?: (sqlanvil.ActionConfig.ITarget[]|null);
2747
+
2748
+ /** ExportConfig filename */
2749
+ filename?: (string|null);
2750
+
2751
+ /** ExportConfig tags */
2752
+ tags?: (string[]|null);
2753
+
2754
+ /** ExportConfig disabled */
2755
+ disabled?: (boolean|null);
2756
+
2757
+ /** ExportConfig description */
2758
+ description?: (string|null);
2759
+
2760
+ /** ExportConfig hermetic */
2761
+ hermetic?: (boolean|null);
2762
+
2763
+ /** ExportConfig export */
2764
+ "export"?: (sqlanvil.ActionConfig.IExportOptions|null);
2765
+ }
2766
+
2767
+ /** Represents an ExportConfig. */
2768
+ class ExportConfig implements IExportConfig {
2769
+
2770
+ /**
2771
+ * Constructs a new ExportConfig.
2772
+ * @param [properties] Properties to set
2773
+ */
2774
+ constructor(properties?: sqlanvil.ActionConfig.IExportConfig);
2775
+
2776
+ /** ExportConfig name. */
2777
+ public name: string;
2778
+
2779
+ /** ExportConfig dataset. */
2780
+ public dataset: string;
2781
+
2782
+ /** ExportConfig project. */
2783
+ public project: string;
2784
+
2785
+ /** ExportConfig dependencyTargets. */
2786
+ public dependencyTargets: sqlanvil.ActionConfig.ITarget[];
2787
+
2788
+ /** ExportConfig filename. */
2789
+ public filename: string;
2790
+
2791
+ /** ExportConfig tags. */
2792
+ public tags: string[];
2793
+
2794
+ /** ExportConfig disabled. */
2795
+ public disabled: boolean;
2796
+
2797
+ /** ExportConfig description. */
2798
+ public description: string;
2799
+
2800
+ /** ExportConfig hermetic. */
2801
+ public hermetic: boolean;
2802
+
2803
+ /** ExportConfig export. */
2804
+ public export?: (sqlanvil.ActionConfig.IExportOptions|null);
2805
+
2806
+ /**
2807
+ * Creates a new ExportConfig instance using the specified properties.
2808
+ * @param [properties] Properties to set
2809
+ * @returns ExportConfig instance
2810
+ */
2811
+ public static create(properties?: sqlanvil.ActionConfig.IExportConfig): sqlanvil.ActionConfig.ExportConfig;
2812
+
2813
+ /**
2814
+ * Encodes the specified ExportConfig message. Does not implicitly {@link sqlanvil.ActionConfig.ExportConfig.verify|verify} messages.
2815
+ * @param message ExportConfig message or plain object to encode
2816
+ * @param [writer] Writer to encode to
2817
+ * @returns Writer
2818
+ */
2819
+ public static encode(message: sqlanvil.ActionConfig.IExportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
2820
+
2821
+ /**
2822
+ * Encodes the specified ExportConfig message, length delimited. Does not implicitly {@link sqlanvil.ActionConfig.ExportConfig.verify|verify} messages.
2823
+ * @param message ExportConfig message or plain object to encode
2824
+ * @param [writer] Writer to encode to
2825
+ * @returns Writer
2826
+ */
2827
+ public static encodeDelimited(message: sqlanvil.ActionConfig.IExportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
2828
+
2829
+ /**
2830
+ * Decodes an ExportConfig message from the specified reader or buffer.
2831
+ * @param reader Reader or buffer to decode from
2832
+ * @param [length] Message length if known beforehand
2833
+ * @returns ExportConfig
2834
+ * @throws {Error} If the payload is not a reader or valid buffer
2835
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2836
+ */
2837
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ActionConfig.ExportConfig;
2838
+
2839
+ /**
2840
+ * Decodes an ExportConfig message from the specified reader or buffer, length delimited.
2841
+ * @param reader Reader or buffer to decode from
2842
+ * @returns ExportConfig
2843
+ * @throws {Error} If the payload is not a reader or valid buffer
2844
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2845
+ */
2846
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ActionConfig.ExportConfig;
2847
+
2848
+ /**
2849
+ * Verifies an ExportConfig message.
2850
+ * @param message Plain object to verify
2851
+ * @returns `null` if valid, otherwise the reason why it is not
2852
+ */
2853
+ public static verify(message: { [k: string]: any }): (string|null);
2854
+
2855
+ /**
2856
+ * Creates an ExportConfig message from a plain object. Also converts values to their respective internal types.
2857
+ * @param object Plain object
2858
+ * @returns ExportConfig
2859
+ */
2860
+ public static fromObject(object: { [k: string]: any }): sqlanvil.ActionConfig.ExportConfig;
2861
+
2862
+ /**
2863
+ * Creates a plain object from an ExportConfig message. Also converts values to other types if specified.
2864
+ * @param message ExportConfig
2865
+ * @param [options] Conversion options
2866
+ * @returns Plain object
2867
+ */
2868
+ public static toObject(message: sqlanvil.ActionConfig.ExportConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
2869
+
2870
+ /**
2871
+ * Converts this ExportConfig to JSON.
2872
+ * @returns JSON object
2873
+ */
2874
+ public toJSON(): { [k: string]: any };
2875
+
2876
+ /**
2877
+ * Gets the default type url for ExportConfig
2878
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2879
+ * @returns The default type url
2880
+ */
2881
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2882
+ }
2883
+
2606
2884
  /** Properties of a DeclarationConfig. */
2607
2885
  interface IDeclarationConfig {
2608
2886
 
@@ -7327,6 +7605,187 @@ namespace sqlanvil {
7327
7605
  public static getTypeUrl(typeUrlPrefix?: string): string;
7328
7606
  }
7329
7607
 
7608
+ /** Properties of an Export. */
7609
+ interface IExport {
7610
+
7611
+ /** Export target */
7612
+ target?: (sqlanvil.ITarget|null);
7613
+
7614
+ /** Export canonicalTarget */
7615
+ canonicalTarget?: (sqlanvil.ITarget|null);
7616
+
7617
+ /** Export dependencyTargets */
7618
+ dependencyTargets?: (sqlanvil.ITarget[]|null);
7619
+
7620
+ /** Export hermeticity */
7621
+ hermeticity?: (sqlanvil.ActionHermeticity|null);
7622
+
7623
+ /** Export disabled */
7624
+ disabled?: (boolean|null);
7625
+
7626
+ /** Export tags */
7627
+ tags?: (string[]|null);
7628
+
7629
+ /** Export actionDescriptor */
7630
+ actionDescriptor?: (sqlanvil.IActionDescriptor|null);
7631
+
7632
+ /** Export query */
7633
+ query?: (string|null);
7634
+
7635
+ /** Export location */
7636
+ location?: (string|null);
7637
+
7638
+ /** Export format */
7639
+ format?: (string|null);
7640
+
7641
+ /** Export overwrite */
7642
+ overwrite?: (boolean|null);
7643
+
7644
+ /** Export filename */
7645
+ filename?: (string|null);
7646
+
7647
+ /** Export options */
7648
+ options?: ({ [k: string]: string }|null);
7649
+
7650
+ /** Export fileName */
7651
+ fileName?: (string|null);
7652
+
7653
+ /** Export jitCode */
7654
+ jitCode?: (string|null);
7655
+ }
7656
+
7657
+ /** Represents an Export. */
7658
+ class Export implements IExport {
7659
+
7660
+ /**
7661
+ * Constructs a new Export.
7662
+ * @param [properties] Properties to set
7663
+ */
7664
+ constructor(properties?: sqlanvil.IExport);
7665
+
7666
+ /** Export target. */
7667
+ public target?: (sqlanvil.ITarget|null);
7668
+
7669
+ /** Export canonicalTarget. */
7670
+ public canonicalTarget?: (sqlanvil.ITarget|null);
7671
+
7672
+ /** Export dependencyTargets. */
7673
+ public dependencyTargets: sqlanvil.ITarget[];
7674
+
7675
+ /** Export hermeticity. */
7676
+ public hermeticity: sqlanvil.ActionHermeticity;
7677
+
7678
+ /** Export disabled. */
7679
+ public disabled: boolean;
7680
+
7681
+ /** Export tags. */
7682
+ public tags: string[];
7683
+
7684
+ /** Export actionDescriptor. */
7685
+ public actionDescriptor?: (sqlanvil.IActionDescriptor|null);
7686
+
7687
+ /** Export query. */
7688
+ public query: string;
7689
+
7690
+ /** Export location. */
7691
+ public location: string;
7692
+
7693
+ /** Export format. */
7694
+ public format: string;
7695
+
7696
+ /** Export overwrite. */
7697
+ public overwrite: boolean;
7698
+
7699
+ /** Export filename. */
7700
+ public filename: string;
7701
+
7702
+ /** Export options. */
7703
+ public options: { [k: string]: string };
7704
+
7705
+ /** Export fileName. */
7706
+ public fileName: string;
7707
+
7708
+ /** Export jitCode. */
7709
+ public jitCode: string;
7710
+
7711
+ /**
7712
+ * Creates a new Export instance using the specified properties.
7713
+ * @param [properties] Properties to set
7714
+ * @returns Export instance
7715
+ */
7716
+ public static create(properties?: sqlanvil.IExport): sqlanvil.Export;
7717
+
7718
+ /**
7719
+ * Encodes the specified Export message. Does not implicitly {@link sqlanvil.Export.verify|verify} messages.
7720
+ * @param message Export message or plain object to encode
7721
+ * @param [writer] Writer to encode to
7722
+ * @returns Writer
7723
+ */
7724
+ public static encode(message: sqlanvil.IExport, writer?: $protobuf.Writer): $protobuf.Writer;
7725
+
7726
+ /**
7727
+ * Encodes the specified Export message, length delimited. Does not implicitly {@link sqlanvil.Export.verify|verify} messages.
7728
+ * @param message Export message or plain object to encode
7729
+ * @param [writer] Writer to encode to
7730
+ * @returns Writer
7731
+ */
7732
+ public static encodeDelimited(message: sqlanvil.IExport, writer?: $protobuf.Writer): $protobuf.Writer;
7733
+
7734
+ /**
7735
+ * Decodes an Export message from the specified reader or buffer.
7736
+ * @param reader Reader or buffer to decode from
7737
+ * @param [length] Message length if known beforehand
7738
+ * @returns Export
7739
+ * @throws {Error} If the payload is not a reader or valid buffer
7740
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7741
+ */
7742
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.Export;
7743
+
7744
+ /**
7745
+ * Decodes an Export message from the specified reader or buffer, length delimited.
7746
+ * @param reader Reader or buffer to decode from
7747
+ * @returns Export
7748
+ * @throws {Error} If the payload is not a reader or valid buffer
7749
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7750
+ */
7751
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.Export;
7752
+
7753
+ /**
7754
+ * Verifies an Export message.
7755
+ * @param message Plain object to verify
7756
+ * @returns `null` if valid, otherwise the reason why it is not
7757
+ */
7758
+ public static verify(message: { [k: string]: any }): (string|null);
7759
+
7760
+ /**
7761
+ * Creates an Export message from a plain object. Also converts values to their respective internal types.
7762
+ * @param object Plain object
7763
+ * @returns Export
7764
+ */
7765
+ public static fromObject(object: { [k: string]: any }): sqlanvil.Export;
7766
+
7767
+ /**
7768
+ * Creates a plain object from an Export message. Also converts values to other types if specified.
7769
+ * @param message Export
7770
+ * @param [options] Conversion options
7771
+ * @returns Plain object
7772
+ */
7773
+ public static toObject(message: sqlanvil.Export, options?: $protobuf.IConversionOptions): { [k: string]: any };
7774
+
7775
+ /**
7776
+ * Converts this Export to JSON.
7777
+ * @returns JSON object
7778
+ */
7779
+ public toJSON(): { [k: string]: any };
7780
+
7781
+ /**
7782
+ * Gets the default type url for Export
7783
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7784
+ * @returns The default type url
7785
+ */
7786
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7787
+ }
7788
+
7330
7789
  /** Properties of an Assertion. */
7331
7790
  interface IAssertion {
7332
7791
 
@@ -8722,6 +9181,9 @@ namespace sqlanvil {
8722
9181
  /** CompiledGraph dataPreparations */
8723
9182
  dataPreparations?: (sqlanvil.IDataPreparation[]|null);
8724
9183
 
9184
+ /** CompiledGraph exports */
9185
+ exports?: (sqlanvil.IExport[]|null);
9186
+
8725
9187
  /** CompiledGraph graphErrors */
8726
9188
  graphErrors?: (sqlanvil.IGraphErrors|null);
8727
9189
 
@@ -8768,6 +9230,9 @@ namespace sqlanvil {
8768
9230
  /** CompiledGraph dataPreparations. */
8769
9231
  public dataPreparations: sqlanvil.IDataPreparation[];
8770
9232
 
9233
+ /** CompiledGraph exports. */
9234
+ public exports: sqlanvil.IExport[];
9235
+
8771
9236
  /** CompiledGraph graphErrors. */
8772
9237
  public graphErrors?: (sqlanvil.IGraphErrors|null);
8773
9238
 
@@ -10533,6 +10998,133 @@ namespace sqlanvil {
10533
10998
  public static getTypeUrl(typeUrlPrefix?: string): string;
10534
10999
  }
10535
11000
 
11001
+ /** Properties of an ExportSpec. */
11002
+ interface IExportSpec {
11003
+
11004
+ /** ExportSpec query */
11005
+ query?: (string|null);
11006
+
11007
+ /** ExportSpec location */
11008
+ location?: (string|null);
11009
+
11010
+ /** ExportSpec format */
11011
+ format?: (string|null);
11012
+
11013
+ /** ExportSpec overwrite */
11014
+ overwrite?: (boolean|null);
11015
+
11016
+ /** ExportSpec filename */
11017
+ filename?: (string|null);
11018
+
11019
+ /** ExportSpec options */
11020
+ options?: ({ [k: string]: string }|null);
11021
+ }
11022
+
11023
+ /** Represents an ExportSpec. */
11024
+ class ExportSpec implements IExportSpec {
11025
+
11026
+ /**
11027
+ * Constructs a new ExportSpec.
11028
+ * @param [properties] Properties to set
11029
+ */
11030
+ constructor(properties?: sqlanvil.IExportSpec);
11031
+
11032
+ /** ExportSpec query. */
11033
+ public query: string;
11034
+
11035
+ /** ExportSpec location. */
11036
+ public location: string;
11037
+
11038
+ /** ExportSpec format. */
11039
+ public format: string;
11040
+
11041
+ /** ExportSpec overwrite. */
11042
+ public overwrite: boolean;
11043
+
11044
+ /** ExportSpec filename. */
11045
+ public filename: string;
11046
+
11047
+ /** ExportSpec options. */
11048
+ public options: { [k: string]: string };
11049
+
11050
+ /**
11051
+ * Creates a new ExportSpec instance using the specified properties.
11052
+ * @param [properties] Properties to set
11053
+ * @returns ExportSpec instance
11054
+ */
11055
+ public static create(properties?: sqlanvil.IExportSpec): sqlanvil.ExportSpec;
11056
+
11057
+ /**
11058
+ * Encodes the specified ExportSpec message. Does not implicitly {@link sqlanvil.ExportSpec.verify|verify} messages.
11059
+ * @param message ExportSpec message or plain object to encode
11060
+ * @param [writer] Writer to encode to
11061
+ * @returns Writer
11062
+ */
11063
+ public static encode(message: sqlanvil.IExportSpec, writer?: $protobuf.Writer): $protobuf.Writer;
11064
+
11065
+ /**
11066
+ * Encodes the specified ExportSpec message, length delimited. Does not implicitly {@link sqlanvil.ExportSpec.verify|verify} messages.
11067
+ * @param message ExportSpec message or plain object to encode
11068
+ * @param [writer] Writer to encode to
11069
+ * @returns Writer
11070
+ */
11071
+ public static encodeDelimited(message: sqlanvil.IExportSpec, writer?: $protobuf.Writer): $protobuf.Writer;
11072
+
11073
+ /**
11074
+ * Decodes an ExportSpec message from the specified reader or buffer.
11075
+ * @param reader Reader or buffer to decode from
11076
+ * @param [length] Message length if known beforehand
11077
+ * @returns ExportSpec
11078
+ * @throws {Error} If the payload is not a reader or valid buffer
11079
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11080
+ */
11081
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ExportSpec;
11082
+
11083
+ /**
11084
+ * Decodes an ExportSpec message from the specified reader or buffer, length delimited.
11085
+ * @param reader Reader or buffer to decode from
11086
+ * @returns ExportSpec
11087
+ * @throws {Error} If the payload is not a reader or valid buffer
11088
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11089
+ */
11090
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ExportSpec;
11091
+
11092
+ /**
11093
+ * Verifies an ExportSpec message.
11094
+ * @param message Plain object to verify
11095
+ * @returns `null` if valid, otherwise the reason why it is not
11096
+ */
11097
+ public static verify(message: { [k: string]: any }): (string|null);
11098
+
11099
+ /**
11100
+ * Creates an ExportSpec message from a plain object. Also converts values to their respective internal types.
11101
+ * @param object Plain object
11102
+ * @returns ExportSpec
11103
+ */
11104
+ public static fromObject(object: { [k: string]: any }): sqlanvil.ExportSpec;
11105
+
11106
+ /**
11107
+ * Creates a plain object from an ExportSpec message. Also converts values to other types if specified.
11108
+ * @param message ExportSpec
11109
+ * @param [options] Conversion options
11110
+ * @returns Plain object
11111
+ */
11112
+ public static toObject(message: sqlanvil.ExportSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
11113
+
11114
+ /**
11115
+ * Converts this ExportSpec to JSON.
11116
+ * @returns JSON object
11117
+ */
11118
+ public toJSON(): { [k: string]: any };
11119
+
11120
+ /**
11121
+ * Gets the default type url for ExportSpec
11122
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11123
+ * @returns The default type url
11124
+ */
11125
+ public static getTypeUrl(typeUrlPrefix?: string): string;
11126
+ }
11127
+
10536
11128
  /** Properties of an ExecutionAction. */
10537
11129
  interface IExecutionAction {
10538
11130
 
@@ -10562,6 +11154,9 @@ namespace sqlanvil {
10562
11154
 
10563
11155
  /** ExecutionAction jitCode */
10564
11156
  jitCode?: (string|null);
11157
+
11158
+ /** ExecutionAction export */
11159
+ "export"?: (sqlanvil.IExportSpec|null);
10565
11160
  }
10566
11161
 
10567
11162
  /** Represents an ExecutionAction. */
@@ -10600,6 +11195,9 @@ namespace sqlanvil {
10600
11195
  /** ExecutionAction jitCode. */
10601
11196
  public jitCode: string;
10602
11197
 
11198
+ /** ExecutionAction export. */
11199
+ public export?: (sqlanvil.IExportSpec|null);
11200
+
10603
11201
  /**
10604
11202
  * Creates a new ExecutionAction instance using the specified properties.
10605
11203
  * @param [properties] Properties to set
@@ -13903,6 +14501,27 @@ declare class Declaration extends ActionBuilder<sqlanvil.Declaration> {
13903
14501
  private verifyConfig;
13904
14502
  }
13905
14503
 
14504
+ declare class Export extends ActionBuilder<sqlanvil.Export> {
14505
+ session: Session;
14506
+ dependOnDependencyAssertions: boolean;
14507
+ private proto;
14508
+ private contextableQuery;
14509
+ constructor(session?: Session, unverifiedConfig?: any, configPath?: string);
14510
+ query(contextable: Contextable<IActionContext, string>): this;
14511
+ dependencies(value: Resolvable | Resolvable[]): this;
14512
+ hermetic(hermetic: boolean): void;
14513
+ disabled(disabled?: boolean): this;
14514
+ tags(value: string | string[]): this;
14515
+ description(description: string): this;
14516
+ database(database: string): this;
14517
+ schema(schema: string): this;
14518
+ getFileName(): string;
14519
+ getTarget(): sqlanvil.Target;
14520
+ compile(): sqlanvil.Export;
14521
+ private validate;
14522
+ private verifyConfig;
14523
+ }
14524
+
13906
14525
  declare type JitTableResult = string | sqlanvil.IJitTableResult;
13907
14526
  declare class Table extends ActionBuilder<sqlanvil.Table> {
13908
14527
  session: Session;
@@ -14285,7 +14904,7 @@ interface IRecordDescriptor {
14285
14904
  bigqueryPolicyTags?: string | string[];
14286
14905
  }
14287
14906
 
14288
- declare type Action = Table | View | IncrementalTable | Operation | Assertion | Declaration | Notebook | DataPreparation | Test | RlsPolicy | RealtimePublication | Wrapper | ForeignTable | VectorIndex;
14907
+ declare type Action = Table | View | IncrementalTable | Operation | Assertion | Declaration | Notebook | DataPreparation | Export | Test | RlsPolicy | RealtimePublication | Wrapper | ForeignTable | VectorIndex;
14289
14908
  interface INamedConfig {
14290
14909
  type?: string;
14291
14910
  name?: string;
@@ -14441,7 +15060,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
14441
15060
 
14442
15061
  declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
14443
15062
 
14444
- declare const version = "1.7.0";
15063
+ declare const version = "1.8.0";
14445
15064
 
14446
15065
  declare const session: Session;
14447
15066
  declare const supportedFeatures: sqlanvil.SupportedFeatures[];