@wundergraph/cosmo-connect 0.135.0 → 0.137.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.
@@ -491,6 +491,10 @@ export declare class DataSourceConfiguration extends Message<DataSourceConfigura
491
491
  * @generated from field: repeated wg.cosmo.node.v1.EntityInterfaceConfiguration interface_objects = 15;
492
492
  */
493
493
  interfaceObjects: EntityInterfaceConfiguration[];
494
+ /**
495
+ * @generated from field: wg.cosmo.node.v1.CostConfiguration cost_configuration = 16;
496
+ */
497
+ costConfiguration?: CostConfiguration;
494
498
  constructor(data?: PartialMessage<DataSourceConfiguration>);
495
499
  static readonly runtime: typeof proto3;
496
500
  static readonly typeName = "wg.cosmo.node.v1.DataSourceConfiguration";
@@ -500,6 +504,107 @@ export declare class DataSourceConfiguration extends Message<DataSourceConfigura
500
504
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataSourceConfiguration;
501
505
  static equals(a: DataSourceConfiguration | PlainMessage<DataSourceConfiguration> | undefined, b: DataSourceConfiguration | PlainMessage<DataSourceConfiguration> | undefined): boolean;
502
506
  }
507
+ /**
508
+ * @generated from message wg.cosmo.node.v1.CostConfiguration
509
+ */
510
+ export declare class CostConfiguration extends Message<CostConfiguration> {
511
+ /**
512
+ * @generated from field: repeated wg.cosmo.node.v1.FieldWeightConfiguration field_weights = 1;
513
+ */
514
+ fieldWeights: FieldWeightConfiguration[];
515
+ /**
516
+ * @generated from field: repeated wg.cosmo.node.v1.FieldListSizeConfiguration list_sizes = 2;
517
+ */
518
+ listSizes: FieldListSizeConfiguration[];
519
+ /**
520
+ * @generated from field: map<string, int32> type_weights = 3;
521
+ */
522
+ typeWeights: {
523
+ [key: string]: number;
524
+ };
525
+ /**
526
+ * @generated from field: map<string, int32> directive_argument_weights = 4;
527
+ */
528
+ directiveArgumentWeights: {
529
+ [key: string]: number;
530
+ };
531
+ constructor(data?: PartialMessage<CostConfiguration>);
532
+ static readonly runtime: typeof proto3;
533
+ static readonly typeName = "wg.cosmo.node.v1.CostConfiguration";
534
+ static readonly fields: FieldList;
535
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CostConfiguration;
536
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CostConfiguration;
537
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CostConfiguration;
538
+ static equals(a: CostConfiguration | PlainMessage<CostConfiguration> | undefined, b: CostConfiguration | PlainMessage<CostConfiguration> | undefined): boolean;
539
+ }
540
+ /**
541
+ * @generated from message wg.cosmo.node.v1.FieldWeightConfiguration
542
+ */
543
+ export declare class FieldWeightConfiguration extends Message<FieldWeightConfiguration> {
544
+ /**
545
+ * @generated from field: string type_name = 1;
546
+ */
547
+ typeName: string;
548
+ /**
549
+ * @generated from field: string field_name = 2;
550
+ */
551
+ fieldName: string;
552
+ /**
553
+ * @generated from field: optional int32 weight = 3;
554
+ */
555
+ weight?: number;
556
+ /**
557
+ * @generated from field: map<string, int32> argument_weights = 4;
558
+ */
559
+ argumentWeights: {
560
+ [key: string]: number;
561
+ };
562
+ constructor(data?: PartialMessage<FieldWeightConfiguration>);
563
+ static readonly runtime: typeof proto3;
564
+ static readonly typeName = "wg.cosmo.node.v1.FieldWeightConfiguration";
565
+ static readonly fields: FieldList;
566
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldWeightConfiguration;
567
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldWeightConfiguration;
568
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldWeightConfiguration;
569
+ static equals(a: FieldWeightConfiguration | PlainMessage<FieldWeightConfiguration> | undefined, b: FieldWeightConfiguration | PlainMessage<FieldWeightConfiguration> | undefined): boolean;
570
+ }
571
+ /**
572
+ * @generated from message wg.cosmo.node.v1.FieldListSizeConfiguration
573
+ */
574
+ export declare class FieldListSizeConfiguration extends Message<FieldListSizeConfiguration> {
575
+ /**
576
+ * @generated from field: string type_name = 1;
577
+ */
578
+ typeName: string;
579
+ /**
580
+ * @generated from field: string field_name = 2;
581
+ */
582
+ fieldName: string;
583
+ /**
584
+ * @generated from field: optional int32 assumed_size = 3;
585
+ */
586
+ assumedSize?: number;
587
+ /**
588
+ * @generated from field: repeated string slicing_arguments = 4;
589
+ */
590
+ slicingArguments: string[];
591
+ /**
592
+ * @generated from field: repeated string sized_fields = 5;
593
+ */
594
+ sizedFields: string[];
595
+ /**
596
+ * @generated from field: optional bool require_one_slicing_argument = 6;
597
+ */
598
+ requireOneSlicingArgument?: boolean;
599
+ constructor(data?: PartialMessage<FieldListSizeConfiguration>);
600
+ static readonly runtime: typeof proto3;
601
+ static readonly typeName = "wg.cosmo.node.v1.FieldListSizeConfiguration";
602
+ static readonly fields: FieldList;
603
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldListSizeConfiguration;
604
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldListSizeConfiguration;
605
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldListSizeConfiguration;
606
+ static equals(a: FieldListSizeConfiguration | PlainMessage<FieldListSizeConfiguration> | undefined, b: FieldListSizeConfiguration | PlainMessage<FieldListSizeConfiguration> | undefined): boolean;
607
+ }
503
608
  /**
504
609
  * @generated from message wg.cosmo.node.v1.ArgumentConfiguration
505
610
  */
@@ -707,6 +707,10 @@ export class DataSourceConfiguration extends Message {
707
707
  * @generated from field: repeated wg.cosmo.node.v1.EntityInterfaceConfiguration interface_objects = 15;
708
708
  */
709
709
  interfaceObjects = [];
710
+ /**
711
+ * @generated from field: wg.cosmo.node.v1.CostConfiguration cost_configuration = 16;
712
+ */
713
+ costConfiguration;
710
714
  constructor(data) {
711
715
  super();
712
716
  proto3.util.initPartial(data, this);
@@ -729,6 +733,7 @@ export class DataSourceConfiguration extends Message {
729
733
  { no: 13, name: "custom_events", kind: "message", T: DataSourceCustomEvents },
730
734
  { no: 14, name: "entity_interfaces", kind: "message", T: EntityInterfaceConfiguration, repeated: true },
731
735
  { no: 15, name: "interface_objects", kind: "message", T: EntityInterfaceConfiguration, repeated: true },
736
+ { no: 16, name: "cost_configuration", kind: "message", T: CostConfiguration },
732
737
  ]);
733
738
  static fromBinary(bytes, options) {
734
739
  return new DataSourceConfiguration().fromBinary(bytes, options);
@@ -743,6 +748,151 @@ export class DataSourceConfiguration extends Message {
743
748
  return proto3.util.equals(DataSourceConfiguration, a, b);
744
749
  }
745
750
  }
751
+ /**
752
+ * @generated from message wg.cosmo.node.v1.CostConfiguration
753
+ */
754
+ export class CostConfiguration extends Message {
755
+ /**
756
+ * @generated from field: repeated wg.cosmo.node.v1.FieldWeightConfiguration field_weights = 1;
757
+ */
758
+ fieldWeights = [];
759
+ /**
760
+ * @generated from field: repeated wg.cosmo.node.v1.FieldListSizeConfiguration list_sizes = 2;
761
+ */
762
+ listSizes = [];
763
+ /**
764
+ * @generated from field: map<string, int32> type_weights = 3;
765
+ */
766
+ typeWeights = {};
767
+ /**
768
+ * @generated from field: map<string, int32> directive_argument_weights = 4;
769
+ */
770
+ directiveArgumentWeights = {};
771
+ constructor(data) {
772
+ super();
773
+ proto3.util.initPartial(data, this);
774
+ }
775
+ static runtime = proto3;
776
+ static typeName = "wg.cosmo.node.v1.CostConfiguration";
777
+ static fields = proto3.util.newFieldList(() => [
778
+ { no: 1, name: "field_weights", kind: "message", T: FieldWeightConfiguration, repeated: true },
779
+ { no: 2, name: "list_sizes", kind: "message", T: FieldListSizeConfiguration, repeated: true },
780
+ { no: 3, name: "type_weights", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 5 /* ScalarType.INT32 */ } },
781
+ { no: 4, name: "directive_argument_weights", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 5 /* ScalarType.INT32 */ } },
782
+ ]);
783
+ static fromBinary(bytes, options) {
784
+ return new CostConfiguration().fromBinary(bytes, options);
785
+ }
786
+ static fromJson(jsonValue, options) {
787
+ return new CostConfiguration().fromJson(jsonValue, options);
788
+ }
789
+ static fromJsonString(jsonString, options) {
790
+ return new CostConfiguration().fromJsonString(jsonString, options);
791
+ }
792
+ static equals(a, b) {
793
+ return proto3.util.equals(CostConfiguration, a, b);
794
+ }
795
+ }
796
+ /**
797
+ * @generated from message wg.cosmo.node.v1.FieldWeightConfiguration
798
+ */
799
+ export class FieldWeightConfiguration extends Message {
800
+ /**
801
+ * @generated from field: string type_name = 1;
802
+ */
803
+ typeName = "";
804
+ /**
805
+ * @generated from field: string field_name = 2;
806
+ */
807
+ fieldName = "";
808
+ /**
809
+ * @generated from field: optional int32 weight = 3;
810
+ */
811
+ weight;
812
+ /**
813
+ * @generated from field: map<string, int32> argument_weights = 4;
814
+ */
815
+ argumentWeights = {};
816
+ constructor(data) {
817
+ super();
818
+ proto3.util.initPartial(data, this);
819
+ }
820
+ static runtime = proto3;
821
+ static typeName = "wg.cosmo.node.v1.FieldWeightConfiguration";
822
+ static fields = proto3.util.newFieldList(() => [
823
+ { no: 1, name: "type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
824
+ { no: 2, name: "field_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
825
+ { no: 3, name: "weight", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
826
+ { no: 4, name: "argument_weights", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 5 /* ScalarType.INT32 */ } },
827
+ ]);
828
+ static fromBinary(bytes, options) {
829
+ return new FieldWeightConfiguration().fromBinary(bytes, options);
830
+ }
831
+ static fromJson(jsonValue, options) {
832
+ return new FieldWeightConfiguration().fromJson(jsonValue, options);
833
+ }
834
+ static fromJsonString(jsonString, options) {
835
+ return new FieldWeightConfiguration().fromJsonString(jsonString, options);
836
+ }
837
+ static equals(a, b) {
838
+ return proto3.util.equals(FieldWeightConfiguration, a, b);
839
+ }
840
+ }
841
+ /**
842
+ * @generated from message wg.cosmo.node.v1.FieldListSizeConfiguration
843
+ */
844
+ export class FieldListSizeConfiguration extends Message {
845
+ /**
846
+ * @generated from field: string type_name = 1;
847
+ */
848
+ typeName = "";
849
+ /**
850
+ * @generated from field: string field_name = 2;
851
+ */
852
+ fieldName = "";
853
+ /**
854
+ * @generated from field: optional int32 assumed_size = 3;
855
+ */
856
+ assumedSize;
857
+ /**
858
+ * @generated from field: repeated string slicing_arguments = 4;
859
+ */
860
+ slicingArguments = [];
861
+ /**
862
+ * @generated from field: repeated string sized_fields = 5;
863
+ */
864
+ sizedFields = [];
865
+ /**
866
+ * @generated from field: optional bool require_one_slicing_argument = 6;
867
+ */
868
+ requireOneSlicingArgument;
869
+ constructor(data) {
870
+ super();
871
+ proto3.util.initPartial(data, this);
872
+ }
873
+ static runtime = proto3;
874
+ static typeName = "wg.cosmo.node.v1.FieldListSizeConfiguration";
875
+ static fields = proto3.util.newFieldList(() => [
876
+ { no: 1, name: "type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
877
+ { no: 2, name: "field_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
878
+ { no: 3, name: "assumed_size", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
879
+ { no: 4, name: "slicing_arguments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
880
+ { no: 5, name: "sized_fields", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
881
+ { no: 6, name: "require_one_slicing_argument", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
882
+ ]);
883
+ static fromBinary(bytes, options) {
884
+ return new FieldListSizeConfiguration().fromBinary(bytes, options);
885
+ }
886
+ static fromJson(jsonValue, options) {
887
+ return new FieldListSizeConfiguration().fromJson(jsonValue, options);
888
+ }
889
+ static fromJsonString(jsonString, options) {
890
+ return new FieldListSizeConfiguration().fromJsonString(jsonString, options);
891
+ }
892
+ static equals(a, b) {
893
+ return proto3.util.equals(FieldListSizeConfiguration, a, b);
894
+ }
895
+ }
746
896
  /**
747
897
  * @generated from message wg.cosmo.node.v1.ArgumentConfiguration
748
898
  */