@dataform/core 3.1.5 → 3.1.6

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
@@ -3622,6 +3622,9 @@ declare namespace dataform {
3622
3622
 
3623
3623
  /** SemanticModelConfig metrics */
3624
3624
  metrics?: (dataform.IGraphMetricConfig[]|null);
3625
+
3626
+ /** SemanticModelConfig customExtensions */
3627
+ customExtensions?: (dataform.IGraphCustomExtensionConfig[]|null);
3625
3628
  }
3626
3629
 
3627
3630
  /** Represents a SemanticModelConfig. */
@@ -3654,6 +3657,9 @@ declare namespace dataform {
3654
3657
  /** SemanticModelConfig metrics. */
3655
3658
  public metrics: dataform.IGraphMetricConfig[];
3656
3659
 
3660
+ /** SemanticModelConfig customExtensions. */
3661
+ public customExtensions: dataform.IGraphCustomExtensionConfig[];
3662
+
3657
3663
  /**
3658
3664
  * Creates a new SemanticModelConfig instance using the specified properties.
3659
3665
  * @param [properties] Properties to set
@@ -3861,6 +3867,9 @@ declare namespace dataform {
3861
3867
 
3862
3868
  /** GraphEntityConfig fields */
3863
3869
  fields?: (dataform.IGraphFieldConfig[]|null);
3870
+
3871
+ /** GraphEntityConfig customExtensions */
3872
+ customExtensions?: (dataform.IGraphCustomExtensionConfig[]|null);
3864
3873
  }
3865
3874
 
3866
3875
  /** Represents a GraphEntityConfig. */
@@ -3896,6 +3905,9 @@ declare namespace dataform {
3896
3905
  /** GraphEntityConfig fields. */
3897
3906
  public fields: dataform.IGraphFieldConfig[];
3898
3907
 
3908
+ /** GraphEntityConfig customExtensions. */
3909
+ public customExtensions: dataform.IGraphCustomExtensionConfig[];
3910
+
3899
3911
  /** GraphEntityConfig source. */
3900
3912
  public source?: ("sourceString"|"sourceRef");
3901
3913
 
@@ -4097,6 +4109,9 @@ declare namespace dataform {
4097
4109
 
4098
4110
  /** GraphRelationshipConfig aiContext */
4099
4111
  aiContext?: (dataform.IGraphAiContextConfig|null);
4112
+
4113
+ /** GraphRelationshipConfig customExtensions */
4114
+ customExtensions?: (dataform.IGraphCustomExtensionConfig[]|null);
4100
4115
  }
4101
4116
 
4102
4117
  /** Represents a GraphRelationshipConfig. */
@@ -4129,6 +4144,9 @@ declare namespace dataform {
4129
4144
  /** GraphRelationshipConfig aiContext. */
4130
4145
  public aiContext?: (dataform.IGraphAiContextConfig|null);
4131
4146
 
4147
+ /** GraphRelationshipConfig customExtensions. */
4148
+ public customExtensions: dataform.IGraphCustomExtensionConfig[];
4149
+
4132
4150
  /**
4133
4151
  * Creates a new GraphRelationshipConfig instance using the specified properties.
4134
4152
  * @param [properties] Properties to set
@@ -4327,6 +4345,9 @@ declare namespace dataform {
4327
4345
 
4328
4346
  /** GraphFieldConfig aiContext */
4329
4347
  aiContext?: (dataform.IGraphAiContextConfig|null);
4348
+
4349
+ /** GraphFieldConfig customExtensions */
4350
+ customExtensions?: (dataform.IGraphCustomExtensionConfig[]|null);
4330
4351
  }
4331
4352
 
4332
4353
  /** Represents a GraphFieldConfig. */
@@ -4359,6 +4380,9 @@ declare namespace dataform {
4359
4380
  /** GraphFieldConfig aiContext. */
4360
4381
  public aiContext?: (dataform.IGraphAiContextConfig|null);
4361
4382
 
4383
+ /** GraphFieldConfig customExtensions. */
4384
+ public customExtensions: dataform.IGraphCustomExtensionConfig[];
4385
+
4362
4386
  /**
4363
4387
  * Creates a new GraphFieldConfig instance using the specified properties.
4364
4388
  * @param [properties] Properties to set
@@ -4457,6 +4481,12 @@ declare namespace dataform {
4457
4481
 
4458
4482
  /** GraphMetricConfig aiContext */
4459
4483
  aiContext?: (dataform.IGraphAiContextConfig|null);
4484
+
4485
+ /** GraphMetricConfig datatype */
4486
+ datatype?: (string|null);
4487
+
4488
+ /** GraphMetricConfig customExtensions */
4489
+ customExtensions?: (dataform.IGraphCustomExtensionConfig[]|null);
4460
4490
  }
4461
4491
 
4462
4492
  /** Represents a GraphMetricConfig. */
@@ -4486,6 +4516,12 @@ declare namespace dataform {
4486
4516
  /** GraphMetricConfig aiContext. */
4487
4517
  public aiContext?: (dataform.IGraphAiContextConfig|null);
4488
4518
 
4519
+ /** GraphMetricConfig datatype. */
4520
+ public datatype: string;
4521
+
4522
+ /** GraphMetricConfig customExtensions. */
4523
+ public customExtensions: dataform.IGraphCustomExtensionConfig[];
4524
+
4489
4525
  /**
4490
4526
  * Creates a new GraphMetricConfig instance using the specified properties.
4491
4527
  * @param [properties] Properties to set
@@ -4575,6 +4611,9 @@ declare namespace dataform {
4575
4611
 
4576
4612
  /** GraphAiContextConfig instructions */
4577
4613
  instructions?: (string|null);
4614
+
4615
+ /** GraphAiContextConfig custom */
4616
+ custom?: (google.protobuf.IStruct|null);
4578
4617
  }
4579
4618
 
4580
4619
  /** Represents a GraphAiContextConfig. */
@@ -4595,6 +4634,9 @@ declare namespace dataform {
4595
4634
  /** GraphAiContextConfig instructions. */
4596
4635
  public instructions: string;
4597
4636
 
4637
+ /** GraphAiContextConfig custom. */
4638
+ public custom?: (google.protobuf.IStruct|null);
4639
+
4598
4640
  /**
4599
4641
  * Creates a new GraphAiContextConfig instance using the specified properties.
4600
4642
  * @param [properties] Properties to set
@@ -4673,6 +4715,109 @@ declare namespace dataform {
4673
4715
  public static getTypeUrl(typeUrlPrefix?: string): string;
4674
4716
  }
4675
4717
 
4718
+ /** Properties of a GraphCustomExtensionConfig. */
4719
+ interface IGraphCustomExtensionConfig {
4720
+
4721
+ /** GraphCustomExtensionConfig vendorName */
4722
+ vendorName?: (string|null);
4723
+
4724
+ /** GraphCustomExtensionConfig data */
4725
+ data?: (string|null);
4726
+ }
4727
+
4728
+ /** Represents a GraphCustomExtensionConfig. */
4729
+ class GraphCustomExtensionConfig implements IGraphCustomExtensionConfig {
4730
+
4731
+ /**
4732
+ * Constructs a new GraphCustomExtensionConfig.
4733
+ * @param [properties] Properties to set
4734
+ */
4735
+ constructor(properties?: dataform.IGraphCustomExtensionConfig);
4736
+
4737
+ /** GraphCustomExtensionConfig vendorName. */
4738
+ public vendorName: string;
4739
+
4740
+ /** GraphCustomExtensionConfig data. */
4741
+ public data: string;
4742
+
4743
+ /**
4744
+ * Creates a new GraphCustomExtensionConfig instance using the specified properties.
4745
+ * @param [properties] Properties to set
4746
+ * @returns GraphCustomExtensionConfig instance
4747
+ */
4748
+ public static create(properties?: dataform.IGraphCustomExtensionConfig): dataform.GraphCustomExtensionConfig;
4749
+
4750
+ /**
4751
+ * Encodes the specified GraphCustomExtensionConfig message. Does not implicitly {@link dataform.GraphCustomExtensionConfig.verify|verify} messages.
4752
+ * @param message GraphCustomExtensionConfig message or plain object to encode
4753
+ * @param [writer] Writer to encode to
4754
+ * @returns Writer
4755
+ */
4756
+ public static encode(message: dataform.IGraphCustomExtensionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
4757
+
4758
+ /**
4759
+ * Encodes the specified GraphCustomExtensionConfig message, length delimited. Does not implicitly {@link dataform.GraphCustomExtensionConfig.verify|verify} messages.
4760
+ * @param message GraphCustomExtensionConfig message or plain object to encode
4761
+ * @param [writer] Writer to encode to
4762
+ * @returns Writer
4763
+ */
4764
+ public static encodeDelimited(message: dataform.IGraphCustomExtensionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
4765
+
4766
+ /**
4767
+ * Decodes a GraphCustomExtensionConfig message from the specified reader or buffer.
4768
+ * @param reader Reader or buffer to decode from
4769
+ * @param [length] Message length if known beforehand
4770
+ * @returns GraphCustomExtensionConfig
4771
+ * @throws {Error} If the payload is not a reader or valid buffer
4772
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4773
+ */
4774
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.GraphCustomExtensionConfig;
4775
+
4776
+ /**
4777
+ * Decodes a GraphCustomExtensionConfig message from the specified reader or buffer, length delimited.
4778
+ * @param reader Reader or buffer to decode from
4779
+ * @returns GraphCustomExtensionConfig
4780
+ * @throws {Error} If the payload is not a reader or valid buffer
4781
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4782
+ */
4783
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.GraphCustomExtensionConfig;
4784
+
4785
+ /**
4786
+ * Verifies a GraphCustomExtensionConfig message.
4787
+ * @param message Plain object to verify
4788
+ * @returns `null` if valid, otherwise the reason why it is not
4789
+ */
4790
+ public static verify(message: { [k: string]: any }): (string|null);
4791
+
4792
+ /**
4793
+ * Creates a GraphCustomExtensionConfig message from a plain object. Also converts values to their respective internal types.
4794
+ * @param object Plain object
4795
+ * @returns GraphCustomExtensionConfig
4796
+ */
4797
+ public static fromObject(object: { [k: string]: any }): dataform.GraphCustomExtensionConfig;
4798
+
4799
+ /**
4800
+ * Creates a plain object from a GraphCustomExtensionConfig message. Also converts values to other types if specified.
4801
+ * @param message GraphCustomExtensionConfig
4802
+ * @param [options] Conversion options
4803
+ * @returns Plain object
4804
+ */
4805
+ public static toObject(message: dataform.GraphCustomExtensionConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
4806
+
4807
+ /**
4808
+ * Converts this GraphCustomExtensionConfig to JSON.
4809
+ * @returns JSON object
4810
+ */
4811
+ public toJSON(): { [k: string]: any };
4812
+
4813
+ /**
4814
+ * Gets the default type url for GraphCustomExtensionConfig
4815
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4816
+ * @returns The default type url
4817
+ */
4818
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4819
+ }
4820
+
4676
4821
  /** Properties of a DataSourceRef. */
4677
4822
  interface IDataSourceRef {
4678
4823
 
@@ -8433,6 +8578,9 @@ declare namespace dataform {
8433
8578
 
8434
8579
  /** GraphLabel isDefault */
8435
8580
  isDefault?: (boolean|null);
8581
+
8582
+ /** GraphLabel extensions */
8583
+ extensions?: ({ [k: string]: string }|null);
8436
8584
  }
8437
8585
 
8438
8586
  /** Represents a GraphLabel. */
@@ -8465,6 +8613,9 @@ declare namespace dataform {
8465
8613
  /** GraphLabel isDefault. */
8466
8614
  public isDefault: boolean;
8467
8615
 
8616
+ /** GraphLabel extensions. */
8617
+ public extensions: { [k: string]: string };
8618
+
8468
8619
  /**
8469
8620
  * Creates a new GraphLabel instance using the specified properties.
8470
8621
  * @param [properties] Properties to set
@@ -8557,6 +8708,9 @@ declare namespace dataform {
8557
8708
 
8558
8709
  /** GraphField synonyms */
8559
8710
  synonyms?: (string[]|null);
8711
+
8712
+ /** GraphField extensions */
8713
+ extensions?: ({ [k: string]: string }|null);
8560
8714
  }
8561
8715
 
8562
8716
  /** Represents a GraphField. */
@@ -8580,6 +8734,9 @@ declare namespace dataform {
8580
8734
  /** GraphField synonyms. */
8581
8735
  public synonyms: string[];
8582
8736
 
8737
+ /** GraphField extensions. */
8738
+ public extensions: { [k: string]: string };
8739
+
8583
8740
  /**
8584
8741
  * Creates a new GraphField instance using the specified properties.
8585
8742
  * @param [properties] Properties to set
@@ -14456,6 +14613,7 @@ declare class Session {
14456
14613
  private getSchemaSuffixWithUnderscore;
14457
14614
  private getTablePrefixWithUnderscore;
14458
14615
  private compileGraphChunk;
14616
+ private checkActionTargetsHaveDataset;
14459
14617
  private fullyQualifyDependencies;
14460
14618
  private processSqlxConfig;
14461
14619
  private alterActionName;
@@ -14478,7 +14636,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
14478
14636
 
14479
14637
  declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
14480
14638
 
14481
- declare const version = "3.1.5";
14639
+ declare const version = "3.1.6";
14482
14640
 
14483
14641
  declare const session: Session;
14484
14642
  declare const supportedFeatures: dataform.SupportedFeatures[];