@wundergraph/cosmo-connect 0.23.0 → 0.24.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.
@@ -788,19 +788,23 @@ export declare class GetSubgraphsRequest extends Message<GetSubgraphsRequest> {
788
788
  */
789
789
  export declare class Subgraph extends Message<Subgraph> {
790
790
  /**
791
- * @generated from field: string name = 1;
791
+ * @generated from field: string id = 1;
792
+ */
793
+ id: string;
794
+ /**
795
+ * @generated from field: string name = 2;
792
796
  */
793
797
  name: string;
794
798
  /**
795
- * @generated from field: string routingURL = 2;
799
+ * @generated from field: string routingURL = 3;
796
800
  */
797
801
  routingURL: string;
798
802
  /**
799
- * @generated from field: string lastUpdatedAt = 3;
803
+ * @generated from field: string lastUpdatedAt = 4;
800
804
  */
801
805
  lastUpdatedAt: string;
802
806
  /**
803
- * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 4;
807
+ * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 5;
804
808
  */
805
809
  labels: Label[];
806
810
  constructor(data?: PartialMessage<Subgraph>);
@@ -3516,3 +3520,136 @@ export declare class IsGitHubAppInstalledResponse extends Message<IsGitHubAppIns
3516
3520
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsGitHubAppInstalledResponse;
3517
3521
  static equals(a: IsGitHubAppInstalledResponse | PlainMessage<IsGitHubAppInstalledResponse> | undefined, b: IsGitHubAppInstalledResponse | PlainMessage<IsGitHubAppInstalledResponse> | undefined): boolean;
3518
3522
  }
3523
+ /**
3524
+ * @generated from message wg.cosmo.platform.v1.GetFieldUsageRequest
3525
+ */
3526
+ export declare class GetFieldUsageRequest extends Message<GetFieldUsageRequest> {
3527
+ /**
3528
+ * @generated from field: string graph_name = 1;
3529
+ */
3530
+ graphName: string;
3531
+ /**
3532
+ * @generated from field: string typename = 2;
3533
+ */
3534
+ typename: string;
3535
+ /**
3536
+ * @generated from field: string field = 3;
3537
+ */
3538
+ field: string;
3539
+ /**
3540
+ * @generated from field: int32 range = 4;
3541
+ */
3542
+ range: number;
3543
+ constructor(data?: PartialMessage<GetFieldUsageRequest>);
3544
+ static readonly runtime: typeof proto3;
3545
+ static readonly typeName = "wg.cosmo.platform.v1.GetFieldUsageRequest";
3546
+ static readonly fields: FieldList;
3547
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFieldUsageRequest;
3548
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFieldUsageRequest;
3549
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFieldUsageRequest;
3550
+ static equals(a: GetFieldUsageRequest | PlainMessage<GetFieldUsageRequest> | undefined, b: GetFieldUsageRequest | PlainMessage<GetFieldUsageRequest> | undefined): boolean;
3551
+ }
3552
+ /**
3553
+ * @generated from message wg.cosmo.platform.v1.ClientWithOperations
3554
+ */
3555
+ export declare class ClientWithOperations extends Message<ClientWithOperations> {
3556
+ /**
3557
+ * @generated from field: string name = 1;
3558
+ */
3559
+ name: string;
3560
+ /**
3561
+ * @generated from field: string version = 2;
3562
+ */
3563
+ version: string;
3564
+ /**
3565
+ * @generated from field: repeated wg.cosmo.platform.v1.ClientWithOperations.Operation operations = 3;
3566
+ */
3567
+ operations: ClientWithOperations_Operation[];
3568
+ constructor(data?: PartialMessage<ClientWithOperations>);
3569
+ static readonly runtime: typeof proto3;
3570
+ static readonly typeName = "wg.cosmo.platform.v1.ClientWithOperations";
3571
+ static readonly fields: FieldList;
3572
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientWithOperations;
3573
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientWithOperations;
3574
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientWithOperations;
3575
+ static equals(a: ClientWithOperations | PlainMessage<ClientWithOperations> | undefined, b: ClientWithOperations | PlainMessage<ClientWithOperations> | undefined): boolean;
3576
+ }
3577
+ /**
3578
+ * @generated from message wg.cosmo.platform.v1.ClientWithOperations.Operation
3579
+ */
3580
+ export declare class ClientWithOperations_Operation extends Message<ClientWithOperations_Operation> {
3581
+ /**
3582
+ * @generated from field: string latest_hash = 1;
3583
+ */
3584
+ latestHash: string;
3585
+ /**
3586
+ * @generated from field: string name = 2;
3587
+ */
3588
+ name: string;
3589
+ /**
3590
+ * @generated from field: int32 count = 3;
3591
+ */
3592
+ count: number;
3593
+ constructor(data?: PartialMessage<ClientWithOperations_Operation>);
3594
+ static readonly runtime: typeof proto3;
3595
+ static readonly typeName = "wg.cosmo.platform.v1.ClientWithOperations.Operation";
3596
+ static readonly fields: FieldList;
3597
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientWithOperations_Operation;
3598
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientWithOperations_Operation;
3599
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientWithOperations_Operation;
3600
+ static equals(a: ClientWithOperations_Operation | PlainMessage<ClientWithOperations_Operation> | undefined, b: ClientWithOperations_Operation | PlainMessage<ClientWithOperations_Operation> | undefined): boolean;
3601
+ }
3602
+ /**
3603
+ * @generated from message wg.cosmo.platform.v1.FieldUsageMeta
3604
+ */
3605
+ export declare class FieldUsageMeta extends Message<FieldUsageMeta> {
3606
+ /**
3607
+ * @generated from field: repeated string subgraph_ids = 1;
3608
+ */
3609
+ subgraphIds: string[];
3610
+ /**
3611
+ * @generated from field: string firstSeenTimestamp = 2;
3612
+ */
3613
+ firstSeenTimestamp: string;
3614
+ /**
3615
+ * @generated from field: string latestSeenTimestamp = 3;
3616
+ */
3617
+ latestSeenTimestamp: string;
3618
+ constructor(data?: PartialMessage<FieldUsageMeta>);
3619
+ static readonly runtime: typeof proto3;
3620
+ static readonly typeName = "wg.cosmo.platform.v1.FieldUsageMeta";
3621
+ static readonly fields: FieldList;
3622
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldUsageMeta;
3623
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldUsageMeta;
3624
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldUsageMeta;
3625
+ static equals(a: FieldUsageMeta | PlainMessage<FieldUsageMeta> | undefined, b: FieldUsageMeta | PlainMessage<FieldUsageMeta> | undefined): boolean;
3626
+ }
3627
+ /**
3628
+ * @generated from message wg.cosmo.platform.v1.GetFieldUsageResponse
3629
+ */
3630
+ export declare class GetFieldUsageResponse extends Message<GetFieldUsageResponse> {
3631
+ /**
3632
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3633
+ */
3634
+ response?: Response;
3635
+ /**
3636
+ * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem request_series = 2;
3637
+ */
3638
+ requestSeries: RequestSeriesItem[];
3639
+ /**
3640
+ * @generated from field: repeated wg.cosmo.platform.v1.ClientWithOperations clients = 3;
3641
+ */
3642
+ clients: ClientWithOperations[];
3643
+ /**
3644
+ * @generated from field: wg.cosmo.platform.v1.FieldUsageMeta meta = 4;
3645
+ */
3646
+ meta?: FieldUsageMeta;
3647
+ constructor(data?: PartialMessage<GetFieldUsageResponse>);
3648
+ static readonly runtime: typeof proto3;
3649
+ static readonly typeName = "wg.cosmo.platform.v1.GetFieldUsageResponse";
3650
+ static readonly fields: FieldList;
3651
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFieldUsageResponse;
3652
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFieldUsageResponse;
3653
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFieldUsageResponse;
3654
+ static equals(a: GetFieldUsageResponse | PlainMessage<GetFieldUsageResponse> | undefined, b: GetFieldUsageResponse | PlainMessage<GetFieldUsageResponse> | undefined): boolean;
3655
+ }
@@ -1196,19 +1196,23 @@ export class GetSubgraphsRequest extends Message {
1196
1196
  */
1197
1197
  export class Subgraph extends Message {
1198
1198
  /**
1199
- * @generated from field: string name = 1;
1199
+ * @generated from field: string id = 1;
1200
+ */
1201
+ id = "";
1202
+ /**
1203
+ * @generated from field: string name = 2;
1200
1204
  */
1201
1205
  name = "";
1202
1206
  /**
1203
- * @generated from field: string routingURL = 2;
1207
+ * @generated from field: string routingURL = 3;
1204
1208
  */
1205
1209
  routingURL = "";
1206
1210
  /**
1207
- * @generated from field: string lastUpdatedAt = 3;
1211
+ * @generated from field: string lastUpdatedAt = 4;
1208
1212
  */
1209
1213
  lastUpdatedAt = "";
1210
1214
  /**
1211
- * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 4;
1215
+ * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 5;
1212
1216
  */
1213
1217
  labels = [];
1214
1218
  constructor(data) {
@@ -1218,10 +1222,11 @@ export class Subgraph extends Message {
1218
1222
  static runtime = proto3;
1219
1223
  static typeName = "wg.cosmo.platform.v1.Subgraph";
1220
1224
  static fields = proto3.util.newFieldList(() => [
1221
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1222
- { no: 2, name: "routingURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1223
- { no: 3, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1224
- { no: 4, name: "labels", kind: "message", T: Label, repeated: true },
1225
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1226
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1227
+ { no: 3, name: "routingURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1228
+ { no: 4, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1229
+ { no: 5, name: "labels", kind: "message", T: Label, repeated: true },
1225
1230
  ]);
1226
1231
  static fromBinary(bytes, options) {
1227
1232
  return new Subgraph().fromBinary(bytes, options);
@@ -5567,4 +5572,214 @@ export class IsGitHubAppInstalledResponse extends Message {
5567
5572
  return proto3.util.equals(IsGitHubAppInstalledResponse, a, b);
5568
5573
  }
5569
5574
  }
5575
+ /**
5576
+ * @generated from message wg.cosmo.platform.v1.GetFieldUsageRequest
5577
+ */
5578
+ export class GetFieldUsageRequest extends Message {
5579
+ /**
5580
+ * @generated from field: string graph_name = 1;
5581
+ */
5582
+ graphName = "";
5583
+ /**
5584
+ * @generated from field: string typename = 2;
5585
+ */
5586
+ typename = "";
5587
+ /**
5588
+ * @generated from field: string field = 3;
5589
+ */
5590
+ field = "";
5591
+ /**
5592
+ * @generated from field: int32 range = 4;
5593
+ */
5594
+ range = 0;
5595
+ constructor(data) {
5596
+ super();
5597
+ proto3.util.initPartial(data, this);
5598
+ }
5599
+ static runtime = proto3;
5600
+ static typeName = "wg.cosmo.platform.v1.GetFieldUsageRequest";
5601
+ static fields = proto3.util.newFieldList(() => [
5602
+ { no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5603
+ { no: 2, name: "typename", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5604
+ { no: 3, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5605
+ { no: 4, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
5606
+ ]);
5607
+ static fromBinary(bytes, options) {
5608
+ return new GetFieldUsageRequest().fromBinary(bytes, options);
5609
+ }
5610
+ static fromJson(jsonValue, options) {
5611
+ return new GetFieldUsageRequest().fromJson(jsonValue, options);
5612
+ }
5613
+ static fromJsonString(jsonString, options) {
5614
+ return new GetFieldUsageRequest().fromJsonString(jsonString, options);
5615
+ }
5616
+ static equals(a, b) {
5617
+ return proto3.util.equals(GetFieldUsageRequest, a, b);
5618
+ }
5619
+ }
5620
+ /**
5621
+ * @generated from message wg.cosmo.platform.v1.ClientWithOperations
5622
+ */
5623
+ export class ClientWithOperations extends Message {
5624
+ /**
5625
+ * @generated from field: string name = 1;
5626
+ */
5627
+ name = "";
5628
+ /**
5629
+ * @generated from field: string version = 2;
5630
+ */
5631
+ version = "";
5632
+ /**
5633
+ * @generated from field: repeated wg.cosmo.platform.v1.ClientWithOperations.Operation operations = 3;
5634
+ */
5635
+ operations = [];
5636
+ constructor(data) {
5637
+ super();
5638
+ proto3.util.initPartial(data, this);
5639
+ }
5640
+ static runtime = proto3;
5641
+ static typeName = "wg.cosmo.platform.v1.ClientWithOperations";
5642
+ static fields = proto3.util.newFieldList(() => [
5643
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5644
+ { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5645
+ { no: 3, name: "operations", kind: "message", T: ClientWithOperations_Operation, repeated: true },
5646
+ ]);
5647
+ static fromBinary(bytes, options) {
5648
+ return new ClientWithOperations().fromBinary(bytes, options);
5649
+ }
5650
+ static fromJson(jsonValue, options) {
5651
+ return new ClientWithOperations().fromJson(jsonValue, options);
5652
+ }
5653
+ static fromJsonString(jsonString, options) {
5654
+ return new ClientWithOperations().fromJsonString(jsonString, options);
5655
+ }
5656
+ static equals(a, b) {
5657
+ return proto3.util.equals(ClientWithOperations, a, b);
5658
+ }
5659
+ }
5660
+ /**
5661
+ * @generated from message wg.cosmo.platform.v1.ClientWithOperations.Operation
5662
+ */
5663
+ export class ClientWithOperations_Operation extends Message {
5664
+ /**
5665
+ * @generated from field: string latest_hash = 1;
5666
+ */
5667
+ latestHash = "";
5668
+ /**
5669
+ * @generated from field: string name = 2;
5670
+ */
5671
+ name = "";
5672
+ /**
5673
+ * @generated from field: int32 count = 3;
5674
+ */
5675
+ count = 0;
5676
+ constructor(data) {
5677
+ super();
5678
+ proto3.util.initPartial(data, this);
5679
+ }
5680
+ static runtime = proto3;
5681
+ static typeName = "wg.cosmo.platform.v1.ClientWithOperations.Operation";
5682
+ static fields = proto3.util.newFieldList(() => [
5683
+ { no: 1, name: "latest_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5684
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5685
+ { no: 3, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
5686
+ ]);
5687
+ static fromBinary(bytes, options) {
5688
+ return new ClientWithOperations_Operation().fromBinary(bytes, options);
5689
+ }
5690
+ static fromJson(jsonValue, options) {
5691
+ return new ClientWithOperations_Operation().fromJson(jsonValue, options);
5692
+ }
5693
+ static fromJsonString(jsonString, options) {
5694
+ return new ClientWithOperations_Operation().fromJsonString(jsonString, options);
5695
+ }
5696
+ static equals(a, b) {
5697
+ return proto3.util.equals(ClientWithOperations_Operation, a, b);
5698
+ }
5699
+ }
5700
+ /**
5701
+ * @generated from message wg.cosmo.platform.v1.FieldUsageMeta
5702
+ */
5703
+ export class FieldUsageMeta extends Message {
5704
+ /**
5705
+ * @generated from field: repeated string subgraph_ids = 1;
5706
+ */
5707
+ subgraphIds = [];
5708
+ /**
5709
+ * @generated from field: string firstSeenTimestamp = 2;
5710
+ */
5711
+ firstSeenTimestamp = "";
5712
+ /**
5713
+ * @generated from field: string latestSeenTimestamp = 3;
5714
+ */
5715
+ latestSeenTimestamp = "";
5716
+ constructor(data) {
5717
+ super();
5718
+ proto3.util.initPartial(data, this);
5719
+ }
5720
+ static runtime = proto3;
5721
+ static typeName = "wg.cosmo.platform.v1.FieldUsageMeta";
5722
+ static fields = proto3.util.newFieldList(() => [
5723
+ { no: 1, name: "subgraph_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
5724
+ { no: 2, name: "firstSeenTimestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5725
+ { no: 3, name: "latestSeenTimestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5726
+ ]);
5727
+ static fromBinary(bytes, options) {
5728
+ return new FieldUsageMeta().fromBinary(bytes, options);
5729
+ }
5730
+ static fromJson(jsonValue, options) {
5731
+ return new FieldUsageMeta().fromJson(jsonValue, options);
5732
+ }
5733
+ static fromJsonString(jsonString, options) {
5734
+ return new FieldUsageMeta().fromJsonString(jsonString, options);
5735
+ }
5736
+ static equals(a, b) {
5737
+ return proto3.util.equals(FieldUsageMeta, a, b);
5738
+ }
5739
+ }
5740
+ /**
5741
+ * @generated from message wg.cosmo.platform.v1.GetFieldUsageResponse
5742
+ */
5743
+ export class GetFieldUsageResponse extends Message {
5744
+ /**
5745
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
5746
+ */
5747
+ response;
5748
+ /**
5749
+ * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem request_series = 2;
5750
+ */
5751
+ requestSeries = [];
5752
+ /**
5753
+ * @generated from field: repeated wg.cosmo.platform.v1.ClientWithOperations clients = 3;
5754
+ */
5755
+ clients = [];
5756
+ /**
5757
+ * @generated from field: wg.cosmo.platform.v1.FieldUsageMeta meta = 4;
5758
+ */
5759
+ meta;
5760
+ constructor(data) {
5761
+ super();
5762
+ proto3.util.initPartial(data, this);
5763
+ }
5764
+ static runtime = proto3;
5765
+ static typeName = "wg.cosmo.platform.v1.GetFieldUsageResponse";
5766
+ static fields = proto3.util.newFieldList(() => [
5767
+ { no: 1, name: "response", kind: "message", T: Response },
5768
+ { no: 2, name: "request_series", kind: "message", T: RequestSeriesItem, repeated: true },
5769
+ { no: 3, name: "clients", kind: "message", T: ClientWithOperations, repeated: true },
5770
+ { no: 4, name: "meta", kind: "message", T: FieldUsageMeta },
5771
+ ]);
5772
+ static fromBinary(bytes, options) {
5773
+ return new GetFieldUsageResponse().fromBinary(bytes, options);
5774
+ }
5775
+ static fromJson(jsonValue, options) {
5776
+ return new GetFieldUsageResponse().fromJson(jsonValue, options);
5777
+ }
5778
+ static fromJsonString(jsonString, options) {
5779
+ return new GetFieldUsageResponse().fromJsonString(jsonString, options);
5780
+ }
5781
+ static equals(a, b) {
5782
+ return proto3.util.equals(GetFieldUsageResponse, a, b);
5783
+ }
5784
+ }
5570
5785
  //# sourceMappingURL=platform_pb.js.map