@dataform/core 3.0.65 → 3.0.66
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 +78 -42
- package/bundle.js +1 -1
- package/core.proto +2 -0
- package/package.json +1 -1
package/bundle.d.ts
CHANGED
|
@@ -3302,6 +3302,9 @@ namespace dataform {
|
|
|
3302
3302
|
|
|
3303
3303
|
/** PropertyGraphConfig relationships */
|
|
3304
3304
|
relationships?: (dataform.IGraphRelationshipConfig[]|null);
|
|
3305
|
+
|
|
3306
|
+
/** PropertyGraphConfig disabled */
|
|
3307
|
+
disabled?: (boolean|null);
|
|
3305
3308
|
}
|
|
3306
3309
|
|
|
3307
3310
|
/** Represents a PropertyGraphConfig. */
|
|
@@ -3328,6 +3331,9 @@ namespace dataform {
|
|
|
3328
3331
|
/** PropertyGraphConfig relationships. */
|
|
3329
3332
|
public relationships: dataform.IGraphRelationshipConfig[];
|
|
3330
3333
|
|
|
3334
|
+
/** PropertyGraphConfig disabled. */
|
|
3335
|
+
public disabled: boolean;
|
|
3336
|
+
|
|
3331
3337
|
/**
|
|
3332
3338
|
* Creates a new PropertyGraphConfig instance using the specified properties.
|
|
3333
3339
|
* @param [properties] Properties to set
|
|
@@ -3528,7 +3534,7 @@ namespace dataform {
|
|
|
3528
3534
|
dataSourceCatalog?: (dataform.ICatalogDataSource|null);
|
|
3529
3535
|
|
|
3530
3536
|
/** GraphEntityConfig dataSourceRef */
|
|
3531
|
-
dataSourceRef?: (dataform.
|
|
3537
|
+
dataSourceRef?: (dataform.IDataSourceRef|null);
|
|
3532
3538
|
|
|
3533
3539
|
/** GraphEntityConfig keys */
|
|
3534
3540
|
keys?: (string[]|null);
|
|
@@ -3571,7 +3577,7 @@ namespace dataform {
|
|
|
3571
3577
|
public dataSourceCatalog?: (dataform.ICatalogDataSource|null);
|
|
3572
3578
|
|
|
3573
3579
|
/** GraphEntityConfig dataSourceRef. */
|
|
3574
|
-
public dataSourceRef?: (dataform.
|
|
3580
|
+
public dataSourceRef?: (dataform.IDataSourceRef|null);
|
|
3575
3581
|
|
|
3576
3582
|
/** GraphEntityConfig keys. */
|
|
3577
3583
|
public keys: string[];
|
|
@@ -3688,7 +3694,7 @@ namespace dataform {
|
|
|
3688
3694
|
dataSourceCatalog?: (dataform.ICatalogDataSource|null);
|
|
3689
3695
|
|
|
3690
3696
|
/** GraphRelationshipConfig dataSourceRef */
|
|
3691
|
-
dataSourceRef?: (dataform.
|
|
3697
|
+
dataSourceRef?: (dataform.IDataSourceRef|null);
|
|
3692
3698
|
|
|
3693
3699
|
/** GraphRelationshipConfig keys */
|
|
3694
3700
|
keys?: (string[]|null);
|
|
@@ -3737,7 +3743,7 @@ namespace dataform {
|
|
|
3737
3743
|
public dataSourceCatalog?: (dataform.ICatalogDataSource|null);
|
|
3738
3744
|
|
|
3739
3745
|
/** GraphRelationshipConfig dataSourceRef. */
|
|
3740
|
-
public dataSourceRef?: (dataform.
|
|
3746
|
+
public dataSourceRef?: (dataform.IDataSourceRef|null);
|
|
3741
3747
|
|
|
3742
3748
|
/** GraphRelationshipConfig keys. */
|
|
3743
3749
|
public keys: string[];
|
|
@@ -4613,109 +4619,109 @@ namespace dataform {
|
|
|
4613
4619
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4614
4620
|
}
|
|
4615
4621
|
|
|
4616
|
-
/** Properties of a
|
|
4617
|
-
interface
|
|
4622
|
+
/** Properties of a DataSourceRef. */
|
|
4623
|
+
interface IDataSourceRef {
|
|
4618
4624
|
|
|
4619
|
-
/**
|
|
4625
|
+
/** DataSourceRef name */
|
|
4620
4626
|
name?: (string|null);
|
|
4621
4627
|
|
|
4622
|
-
/**
|
|
4628
|
+
/** DataSourceRef schema */
|
|
4623
4629
|
schema?: (string|null);
|
|
4624
4630
|
|
|
4625
|
-
/**
|
|
4631
|
+
/** DataSourceRef database */
|
|
4626
4632
|
database?: (string|null);
|
|
4627
4633
|
}
|
|
4628
4634
|
|
|
4629
|
-
/** Represents a
|
|
4630
|
-
class
|
|
4635
|
+
/** Represents a DataSourceRef. */
|
|
4636
|
+
class DataSourceRef implements IDataSourceRef {
|
|
4631
4637
|
|
|
4632
4638
|
/**
|
|
4633
|
-
* Constructs a new
|
|
4639
|
+
* Constructs a new DataSourceRef.
|
|
4634
4640
|
* @param [properties] Properties to set
|
|
4635
4641
|
*/
|
|
4636
|
-
constructor(properties?: dataform.
|
|
4642
|
+
constructor(properties?: dataform.IDataSourceRef);
|
|
4637
4643
|
|
|
4638
|
-
/**
|
|
4644
|
+
/** DataSourceRef name. */
|
|
4639
4645
|
public name: string;
|
|
4640
4646
|
|
|
4641
|
-
/**
|
|
4647
|
+
/** DataSourceRef schema. */
|
|
4642
4648
|
public schema: string;
|
|
4643
4649
|
|
|
4644
|
-
/**
|
|
4650
|
+
/** DataSourceRef database. */
|
|
4645
4651
|
public database: string;
|
|
4646
4652
|
|
|
4647
4653
|
/**
|
|
4648
|
-
* Creates a new
|
|
4654
|
+
* Creates a new DataSourceRef instance using the specified properties.
|
|
4649
4655
|
* @param [properties] Properties to set
|
|
4650
|
-
* @returns
|
|
4656
|
+
* @returns DataSourceRef instance
|
|
4651
4657
|
*/
|
|
4652
|
-
public static create(properties?: dataform.
|
|
4658
|
+
public static create(properties?: dataform.IDataSourceRef): dataform.DataSourceRef;
|
|
4653
4659
|
|
|
4654
4660
|
/**
|
|
4655
|
-
* Encodes the specified
|
|
4656
|
-
* @param message
|
|
4661
|
+
* Encodes the specified DataSourceRef message. Does not implicitly {@link dataform.DataSourceRef.verify|verify} messages.
|
|
4662
|
+
* @param message DataSourceRef message or plain object to encode
|
|
4657
4663
|
* @param [writer] Writer to encode to
|
|
4658
4664
|
* @returns Writer
|
|
4659
4665
|
*/
|
|
4660
|
-
public static encode(message: dataform.
|
|
4666
|
+
public static encode(message: dataform.IDataSourceRef, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4661
4667
|
|
|
4662
4668
|
/**
|
|
4663
|
-
* Encodes the specified
|
|
4664
|
-
* @param message
|
|
4669
|
+
* Encodes the specified DataSourceRef message, length delimited. Does not implicitly {@link dataform.DataSourceRef.verify|verify} messages.
|
|
4670
|
+
* @param message DataSourceRef message or plain object to encode
|
|
4665
4671
|
* @param [writer] Writer to encode to
|
|
4666
4672
|
* @returns Writer
|
|
4667
4673
|
*/
|
|
4668
|
-
public static encodeDelimited(message: dataform.
|
|
4674
|
+
public static encodeDelimited(message: dataform.IDataSourceRef, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4669
4675
|
|
|
4670
4676
|
/**
|
|
4671
|
-
* Decodes a
|
|
4677
|
+
* Decodes a DataSourceRef message from the specified reader or buffer.
|
|
4672
4678
|
* @param reader Reader or buffer to decode from
|
|
4673
4679
|
* @param [length] Message length if known beforehand
|
|
4674
|
-
* @returns
|
|
4680
|
+
* @returns DataSourceRef
|
|
4675
4681
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4676
4682
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4677
4683
|
*/
|
|
4678
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.
|
|
4684
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.DataSourceRef;
|
|
4679
4685
|
|
|
4680
4686
|
/**
|
|
4681
|
-
* Decodes a
|
|
4687
|
+
* Decodes a DataSourceRef message from the specified reader or buffer, length delimited.
|
|
4682
4688
|
* @param reader Reader or buffer to decode from
|
|
4683
|
-
* @returns
|
|
4689
|
+
* @returns DataSourceRef
|
|
4684
4690
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4685
4691
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4686
4692
|
*/
|
|
4687
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.
|
|
4693
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.DataSourceRef;
|
|
4688
4694
|
|
|
4689
4695
|
/**
|
|
4690
|
-
* Verifies a
|
|
4696
|
+
* Verifies a DataSourceRef message.
|
|
4691
4697
|
* @param message Plain object to verify
|
|
4692
4698
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
4693
4699
|
*/
|
|
4694
4700
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
4695
4701
|
|
|
4696
4702
|
/**
|
|
4697
|
-
* Creates a
|
|
4703
|
+
* Creates a DataSourceRef message from a plain object. Also converts values to their respective internal types.
|
|
4698
4704
|
* @param object Plain object
|
|
4699
|
-
* @returns
|
|
4705
|
+
* @returns DataSourceRef
|
|
4700
4706
|
*/
|
|
4701
|
-
public static fromObject(object: { [k: string]: any }): dataform.
|
|
4707
|
+
public static fromObject(object: { [k: string]: any }): dataform.DataSourceRef;
|
|
4702
4708
|
|
|
4703
4709
|
/**
|
|
4704
|
-
* Creates a plain object from a
|
|
4705
|
-
* @param message
|
|
4710
|
+
* Creates a plain object from a DataSourceRef message. Also converts values to other types if specified.
|
|
4711
|
+
* @param message DataSourceRef
|
|
4706
4712
|
* @param [options] Conversion options
|
|
4707
4713
|
* @returns Plain object
|
|
4708
4714
|
*/
|
|
4709
|
-
public static toObject(message: dataform.
|
|
4715
|
+
public static toObject(message: dataform.DataSourceRef, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4710
4716
|
|
|
4711
4717
|
/**
|
|
4712
|
-
* Converts this
|
|
4718
|
+
* Converts this DataSourceRef to JSON.
|
|
4713
4719
|
* @returns JSON object
|
|
4714
4720
|
*/
|
|
4715
4721
|
public toJSON(): { [k: string]: any };
|
|
4716
4722
|
|
|
4717
4723
|
/**
|
|
4718
|
-
* Gets the default type url for
|
|
4724
|
+
* Gets the default type url for DataSourceRef
|
|
4719
4725
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4720
4726
|
* @returns The default type url
|
|
4721
4727
|
*/
|
|
@@ -7838,6 +7844,9 @@ namespace dataform {
|
|
|
7838
7844
|
|
|
7839
7845
|
/** PropertyGraph graphBody */
|
|
7840
7846
|
graphBody?: (string|null);
|
|
7847
|
+
|
|
7848
|
+
/** PropertyGraph disabled */
|
|
7849
|
+
disabled?: (boolean|null);
|
|
7841
7850
|
}
|
|
7842
7851
|
|
|
7843
7852
|
/** Represents a PropertyGraph. */
|
|
@@ -7873,6 +7882,9 @@ namespace dataform {
|
|
|
7873
7882
|
/** PropertyGraph graphBody. */
|
|
7874
7883
|
public graphBody: string;
|
|
7875
7884
|
|
|
7885
|
+
/** PropertyGraph disabled. */
|
|
7886
|
+
public disabled: boolean;
|
|
7887
|
+
|
|
7876
7888
|
/**
|
|
7877
7889
|
* Creates a new PropertyGraph instance using the specified properties.
|
|
7878
7890
|
* @param [properties] Properties to set
|
|
@@ -8213,6 +8225,9 @@ namespace dataform {
|
|
|
8213
8225
|
|
|
8214
8226
|
/** GraphLabel importExcept */
|
|
8215
8227
|
importExcept?: (string[]|null);
|
|
8228
|
+
|
|
8229
|
+
/** GraphLabel isDefault */
|
|
8230
|
+
isDefault?: (boolean|null);
|
|
8216
8231
|
}
|
|
8217
8232
|
|
|
8218
8233
|
/** Represents a GraphLabel. */
|
|
@@ -8242,6 +8257,9 @@ namespace dataform {
|
|
|
8242
8257
|
/** GraphLabel importExcept. */
|
|
8243
8258
|
public importExcept: string[];
|
|
8244
8259
|
|
|
8260
|
+
/** GraphLabel isDefault. */
|
|
8261
|
+
public isDefault: boolean;
|
|
8262
|
+
|
|
8245
8263
|
/**
|
|
8246
8264
|
* Creates a new GraphLabel instance using the specified properties.
|
|
8247
8265
|
* @param [properties] Properties to set
|
|
@@ -13936,6 +13954,24 @@ declare class OperationContext implements IActionContext {
|
|
|
13936
13954
|
apply<T>(value: Contextable<IActionContext, T>): T;
|
|
13937
13955
|
}
|
|
13938
13956
|
|
|
13957
|
+
declare class PropertyGraph extends ActionBuilder<dataform.PropertyGraph> {
|
|
13958
|
+
session: Session;
|
|
13959
|
+
private proto;
|
|
13960
|
+
constructor(session?: Session, unverifiedConfig?: any, filename?: string);
|
|
13961
|
+
getFileName(): string;
|
|
13962
|
+
getTarget(): dataform.Target;
|
|
13963
|
+
compile(): dataform.PropertyGraph;
|
|
13964
|
+
private normalizeEntitiesAndRelationships;
|
|
13965
|
+
private verifyConfig;
|
|
13966
|
+
private buildEntity;
|
|
13967
|
+
private buildRelationship;
|
|
13968
|
+
private resolveDataSource;
|
|
13969
|
+
private validateUniqueNames;
|
|
13970
|
+
private resolveEndpointDefaults;
|
|
13971
|
+
private validateEndpointReferences;
|
|
13972
|
+
private emitGraphBody;
|
|
13973
|
+
}
|
|
13974
|
+
|
|
13939
13975
|
interface ITestConfig extends INamedConfig {
|
|
13940
13976
|
dataset?: Resolvable;
|
|
13941
13977
|
name?: string;
|
|
@@ -14013,7 +14049,7 @@ interface IRecordDescriptor {
|
|
|
14013
14049
|
bigqueryPolicyTags?: string | string[];
|
|
14014
14050
|
}
|
|
14015
14051
|
|
|
14016
|
-
declare type Action = Table | View | IncrementalTable | Operation | Assertion | Declaration | Notebook | DataPreparation | Test;
|
|
14052
|
+
declare type Action = Table | View | IncrementalTable | Operation | Assertion | Declaration | Notebook | DataPreparation | PropertyGraph | Test;
|
|
14017
14053
|
declare abstract class ActionBuilder<T> {
|
|
14018
14054
|
session: Session;
|
|
14019
14055
|
includeAssertionsForDependency: Map<string, boolean>;
|
|
@@ -14182,7 +14218,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
|
|
|
14182
14218
|
|
|
14183
14219
|
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
14184
14220
|
|
|
14185
|
-
declare const version = "3.0.
|
|
14221
|
+
declare const version = "3.0.66";
|
|
14186
14222
|
|
|
14187
14223
|
declare const session: Session;
|
|
14188
14224
|
declare const supportedFeatures: dataform.SupportedFeatures[];
|