@dataform/core 3.0.0-beta.0 → 3.0.0-beta.2

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
@@ -83,6 +83,9 @@ namespace dataform {
83
83
 
84
84
  /** WorkflowSettings namePrefix */
85
85
  namePrefix?: (string|null);
86
+
87
+ /** WorkflowSettings defaultNotebookRuntimeOptions */
88
+ defaultNotebookRuntimeOptions?: (dataform.INotebookRuntimeOptionsConfig|null);
86
89
  }
87
90
 
88
91
  /** Represents a WorkflowSettings. */
@@ -121,6 +124,9 @@ namespace dataform {
121
124
  /** WorkflowSettings namePrefix. */
122
125
  public namePrefix: string;
123
126
 
127
+ /** WorkflowSettings defaultNotebookRuntimeOptions. */
128
+ public defaultNotebookRuntimeOptions?: (dataform.INotebookRuntimeOptionsConfig|null);
129
+
124
130
  /**
125
131
  * Creates a new WorkflowSettings instance using the specified properties.
126
132
  * @param [properties] Properties to set
@@ -1782,6 +1788,106 @@ namespace dataform {
1782
1788
  }
1783
1789
  }
1784
1790
 
1791
+ /** Properties of a NotebookRuntimeOptionsConfig. */
1792
+ interface INotebookRuntimeOptionsConfig {
1793
+
1794
+ /** NotebookRuntimeOptionsConfig outputBucket */
1795
+ outputBucket?: (string|null);
1796
+ }
1797
+
1798
+ /** Represents a NotebookRuntimeOptionsConfig. */
1799
+ class NotebookRuntimeOptionsConfig implements INotebookRuntimeOptionsConfig {
1800
+
1801
+ /**
1802
+ * Constructs a new NotebookRuntimeOptionsConfig.
1803
+ * @param [properties] Properties to set
1804
+ */
1805
+ constructor(properties?: dataform.INotebookRuntimeOptionsConfig);
1806
+
1807
+ /** NotebookRuntimeOptionsConfig outputBucket. */
1808
+ public outputBucket?: (string|null);
1809
+
1810
+ /** NotebookRuntimeOptionsConfig outputSink. */
1811
+ public outputSink?: "outputBucket";
1812
+
1813
+ /**
1814
+ * Creates a new NotebookRuntimeOptionsConfig instance using the specified properties.
1815
+ * @param [properties] Properties to set
1816
+ * @returns NotebookRuntimeOptionsConfig instance
1817
+ */
1818
+ public static create(properties?: dataform.INotebookRuntimeOptionsConfig): dataform.NotebookRuntimeOptionsConfig;
1819
+
1820
+ /**
1821
+ * Encodes the specified NotebookRuntimeOptionsConfig message. Does not implicitly {@link dataform.NotebookRuntimeOptionsConfig.verify|verify} messages.
1822
+ * @param message NotebookRuntimeOptionsConfig message or plain object to encode
1823
+ * @param [writer] Writer to encode to
1824
+ * @returns Writer
1825
+ */
1826
+ public static encode(message: dataform.INotebookRuntimeOptionsConfig, writer?: Writer): Writer;
1827
+
1828
+ /**
1829
+ * Encodes the specified NotebookRuntimeOptionsConfig message, length delimited. Does not implicitly {@link dataform.NotebookRuntimeOptionsConfig.verify|verify} messages.
1830
+ * @param message NotebookRuntimeOptionsConfig message or plain object to encode
1831
+ * @param [writer] Writer to encode to
1832
+ * @returns Writer
1833
+ */
1834
+ public static encodeDelimited(message: dataform.INotebookRuntimeOptionsConfig, writer?: Writer): Writer;
1835
+
1836
+ /**
1837
+ * Decodes a NotebookRuntimeOptionsConfig message from the specified reader or buffer.
1838
+ * @param reader Reader or buffer to decode from
1839
+ * @param [length] Message length if known beforehand
1840
+ * @returns NotebookRuntimeOptionsConfig
1841
+ * @throws {Error} If the payload is not a reader or valid buffer
1842
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1843
+ */
1844
+ public static decode(reader: (Reader|Uint8Array), length?: number): dataform.NotebookRuntimeOptionsConfig;
1845
+
1846
+ /**
1847
+ * Decodes a NotebookRuntimeOptionsConfig message from the specified reader or buffer, length delimited.
1848
+ * @param reader Reader or buffer to decode from
1849
+ * @returns NotebookRuntimeOptionsConfig
1850
+ * @throws {Error} If the payload is not a reader or valid buffer
1851
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1852
+ */
1853
+ public static decodeDelimited(reader: (Reader|Uint8Array)): dataform.NotebookRuntimeOptionsConfig;
1854
+
1855
+ /**
1856
+ * Verifies a NotebookRuntimeOptionsConfig message.
1857
+ * @param message Plain object to verify
1858
+ * @returns `null` if valid, otherwise the reason why it is not
1859
+ */
1860
+ public static verify(message: { [k: string]: any }): (string|null);
1861
+
1862
+ /**
1863
+ * Creates a NotebookRuntimeOptionsConfig message from a plain object. Also converts values to their respective internal types.
1864
+ * @param object Plain object
1865
+ * @returns NotebookRuntimeOptionsConfig
1866
+ */
1867
+ public static fromObject(object: { [k: string]: any }): dataform.NotebookRuntimeOptionsConfig;
1868
+
1869
+ /**
1870
+ * Creates a plain object from a NotebookRuntimeOptionsConfig message. Also converts values to other types if specified.
1871
+ * @param message NotebookRuntimeOptionsConfig
1872
+ * @param [options] Conversion options
1873
+ * @returns Plain object
1874
+ */
1875
+ public static toObject(message: dataform.NotebookRuntimeOptionsConfig, options?: IConversionOptions): { [k: string]: any };
1876
+
1877
+ /**
1878
+ * Converts this NotebookRuntimeOptionsConfig to JSON.
1879
+ * @returns JSON object
1880
+ */
1881
+ public toJSON(): { [k: string]: any };
1882
+
1883
+ /**
1884
+ * Gets the default type url for NotebookRuntimeOptionsConfig
1885
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1886
+ * @returns The default type url
1887
+ */
1888
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1889
+ }
1890
+
1785
1891
  /** Properties of a ProjectConfig. */
1786
1892
  interface IProjectConfig {
1787
1893
 
@@ -1811,6 +1917,9 @@ namespace dataform {
1811
1917
 
1812
1918
  /** ProjectConfig tablePrefix */
1813
1919
  tablePrefix?: (string|null);
1920
+
1921
+ /** ProjectConfig defaultNotebookRuntimeOptions */
1922
+ defaultNotebookRuntimeOptions?: (dataform.INotebookRuntimeOptions|null);
1814
1923
  }
1815
1924
 
1816
1925
  /** Represents a ProjectConfig. */
@@ -1849,6 +1958,9 @@ namespace dataform {
1849
1958
  /** ProjectConfig tablePrefix. */
1850
1959
  public tablePrefix: string;
1851
1960
 
1961
+ /** ProjectConfig defaultNotebookRuntimeOptions. */
1962
+ public defaultNotebookRuntimeOptions?: (dataform.INotebookRuntimeOptions|null);
1963
+
1852
1964
  /**
1853
1965
  * Creates a new ProjectConfig instance using the specified properties.
1854
1966
  * @param [properties] Properties to set
@@ -3629,6 +3741,106 @@ namespace dataform {
3629
3741
  public static getTypeUrl(typeUrlPrefix?: string): string;
3630
3742
  }
3631
3743
 
3744
+ /** Properties of a NotebookRuntimeOptions. */
3745
+ interface INotebookRuntimeOptions {
3746
+
3747
+ /** NotebookRuntimeOptions outputBucket */
3748
+ outputBucket?: (string|null);
3749
+ }
3750
+
3751
+ /** Represents a NotebookRuntimeOptions. */
3752
+ class NotebookRuntimeOptions implements INotebookRuntimeOptions {
3753
+
3754
+ /**
3755
+ * Constructs a new NotebookRuntimeOptions.
3756
+ * @param [properties] Properties to set
3757
+ */
3758
+ constructor(properties?: dataform.INotebookRuntimeOptions);
3759
+
3760
+ /** NotebookRuntimeOptions outputBucket. */
3761
+ public outputBucket?: (string|null);
3762
+
3763
+ /** NotebookRuntimeOptions outputSink. */
3764
+ public outputSink?: "outputBucket";
3765
+
3766
+ /**
3767
+ * Creates a new NotebookRuntimeOptions instance using the specified properties.
3768
+ * @param [properties] Properties to set
3769
+ * @returns NotebookRuntimeOptions instance
3770
+ */
3771
+ public static create(properties?: dataform.INotebookRuntimeOptions): dataform.NotebookRuntimeOptions;
3772
+
3773
+ /**
3774
+ * Encodes the specified NotebookRuntimeOptions message. Does not implicitly {@link dataform.NotebookRuntimeOptions.verify|verify} messages.
3775
+ * @param message NotebookRuntimeOptions message or plain object to encode
3776
+ * @param [writer] Writer to encode to
3777
+ * @returns Writer
3778
+ */
3779
+ public static encode(message: dataform.INotebookRuntimeOptions, writer?: Writer): Writer;
3780
+
3781
+ /**
3782
+ * Encodes the specified NotebookRuntimeOptions message, length delimited. Does not implicitly {@link dataform.NotebookRuntimeOptions.verify|verify} messages.
3783
+ * @param message NotebookRuntimeOptions message or plain object to encode
3784
+ * @param [writer] Writer to encode to
3785
+ * @returns Writer
3786
+ */
3787
+ public static encodeDelimited(message: dataform.INotebookRuntimeOptions, writer?: Writer): Writer;
3788
+
3789
+ /**
3790
+ * Decodes a NotebookRuntimeOptions message from the specified reader or buffer.
3791
+ * @param reader Reader or buffer to decode from
3792
+ * @param [length] Message length if known beforehand
3793
+ * @returns NotebookRuntimeOptions
3794
+ * @throws {Error} If the payload is not a reader or valid buffer
3795
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3796
+ */
3797
+ public static decode(reader: (Reader|Uint8Array), length?: number): dataform.NotebookRuntimeOptions;
3798
+
3799
+ /**
3800
+ * Decodes a NotebookRuntimeOptions message from the specified reader or buffer, length delimited.
3801
+ * @param reader Reader or buffer to decode from
3802
+ * @returns NotebookRuntimeOptions
3803
+ * @throws {Error} If the payload is not a reader or valid buffer
3804
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3805
+ */
3806
+ public static decodeDelimited(reader: (Reader|Uint8Array)): dataform.NotebookRuntimeOptions;
3807
+
3808
+ /**
3809
+ * Verifies a NotebookRuntimeOptions message.
3810
+ * @param message Plain object to verify
3811
+ * @returns `null` if valid, otherwise the reason why it is not
3812
+ */
3813
+ public static verify(message: { [k: string]: any }): (string|null);
3814
+
3815
+ /**
3816
+ * Creates a NotebookRuntimeOptions message from a plain object. Also converts values to their respective internal types.
3817
+ * @param object Plain object
3818
+ * @returns NotebookRuntimeOptions
3819
+ */
3820
+ public static fromObject(object: { [k: string]: any }): dataform.NotebookRuntimeOptions;
3821
+
3822
+ /**
3823
+ * Creates a plain object from a NotebookRuntimeOptions message. Also converts values to other types if specified.
3824
+ * @param message NotebookRuntimeOptions
3825
+ * @param [options] Conversion options
3826
+ * @returns Plain object
3827
+ */
3828
+ public static toObject(message: dataform.NotebookRuntimeOptions, options?: IConversionOptions): { [k: string]: any };
3829
+
3830
+ /**
3831
+ * Converts this NotebookRuntimeOptions to JSON.
3832
+ * @returns JSON object
3833
+ */
3834
+ public toJSON(): { [k: string]: any };
3835
+
3836
+ /**
3837
+ * Gets the default type url for NotebookRuntimeOptions
3838
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3839
+ * @returns The default type url
3840
+ */
3841
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3842
+ }
3843
+
3632
3844
  /** Properties of a CompiledGraph. */
3633
3845
  interface ICompiledGraph {
3634
3846
 
@@ -6838,7 +7050,7 @@ declare class ActionIndex {
6838
7050
  find(target: dataform.ITarget): Action[];
6839
7051
  }
6840
7052
 
6841
- declare const version = "3.0.0-beta.0";
7053
+ declare const version = "3.0.0-beta.2";
6842
7054
 
6843
7055
  declare const session: Session;
6844
7056
  declare const supportedFeatures: dataform.SupportedFeatures[];