@wundergraph/cosmo-connect 0.120.0 → 0.121.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.
@@ -232,6 +232,19 @@ export declare enum Feature {
232
232
  */
233
233
  scim = 2
234
234
  }
235
+ /**
236
+ * @generated from enum wg.cosmo.platform.v1.ProposalOrigin
237
+ */
238
+ export declare enum ProposalOrigin {
239
+ /**
240
+ * @generated from enum value: INTERNAL = 0;
241
+ */
242
+ INTERNAL = 0,
243
+ /**
244
+ * @generated from enum value: EXTERNAL = 1;
245
+ */
246
+ EXTERNAL = 1
247
+ }
235
248
  /**
236
249
  * @generated from enum wg.cosmo.platform.v1.ProposalNamingConvention
237
250
  */
@@ -11141,6 +11154,10 @@ export declare class Proposal extends Message<Proposal> {
11141
11154
  * @generated from field: string latestCheckId = 10;
11142
11155
  */
11143
11156
  latestCheckId: string;
11157
+ /**
11158
+ * @generated from field: wg.cosmo.platform.v1.ProposalOrigin origin = 11;
11159
+ */
11160
+ origin: ProposalOrigin;
11144
11161
  constructor(data?: PartialMessage<Proposal>);
11145
11162
  static readonly runtime: typeof proto3;
11146
11163
  static readonly typeName = "wg.cosmo.platform.v1.Proposal";
@@ -11207,6 +11224,10 @@ export declare class CreateProposalRequest extends Message<CreateProposalRequest
11207
11224
  * @generated from field: wg.cosmo.platform.v1.ProposalNamingConvention namingConvention = 5;
11208
11225
  */
11209
11226
  namingConvention: ProposalNamingConvention;
11227
+ /**
11228
+ * @generated from field: wg.cosmo.platform.v1.ProposalOrigin origin = 6;
11229
+ */
11230
+ origin: ProposalOrigin;
11210
11231
  constructor(data?: PartialMessage<CreateProposalRequest>);
11211
11232
  static readonly runtime: typeof proto3;
11212
11233
  static readonly typeName = "wg.cosmo.platform.v1.CreateProposalRequest";
@@ -317,6 +317,25 @@ proto3.util.setEnumType(Feature, "wg.cosmo.platform.v1.Feature", [
317
317
  { no: 1, name: "ai" },
318
318
  { no: 2, name: "scim" },
319
319
  ]);
320
+ /**
321
+ * @generated from enum wg.cosmo.platform.v1.ProposalOrigin
322
+ */
323
+ export var ProposalOrigin;
324
+ (function (ProposalOrigin) {
325
+ /**
326
+ * @generated from enum value: INTERNAL = 0;
327
+ */
328
+ ProposalOrigin[ProposalOrigin["INTERNAL"] = 0] = "INTERNAL";
329
+ /**
330
+ * @generated from enum value: EXTERNAL = 1;
331
+ */
332
+ ProposalOrigin[ProposalOrigin["EXTERNAL"] = 1] = "EXTERNAL";
333
+ })(ProposalOrigin || (ProposalOrigin = {}));
334
+ // Retrieve enum metadata with: proto3.getEnumType(ProposalOrigin)
335
+ proto3.util.setEnumType(ProposalOrigin, "wg.cosmo.platform.v1.ProposalOrigin", [
336
+ { no: 0, name: "INTERNAL" },
337
+ { no: 1, name: "EXTERNAL" },
338
+ ]);
320
339
  /**
321
340
  * @generated from enum wg.cosmo.platform.v1.ProposalNamingConvention
322
341
  */
@@ -17442,6 +17461,10 @@ export class Proposal extends Message {
17442
17461
  * @generated from field: string latestCheckId = 10;
17443
17462
  */
17444
17463
  latestCheckId = "";
17464
+ /**
17465
+ * @generated from field: wg.cosmo.platform.v1.ProposalOrigin origin = 11;
17466
+ */
17467
+ origin = ProposalOrigin.INTERNAL;
17445
17468
  constructor(data) {
17446
17469
  super();
17447
17470
  proto3.util.initPartial(data, this);
@@ -17459,6 +17482,7 @@ export class Proposal extends Message {
17459
17482
  { no: 8, name: "subgraphs", kind: "message", T: ProposalSubgraph, repeated: true },
17460
17483
  { no: 9, name: "latestCheckSuccess", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
17461
17484
  { no: 10, name: "latestCheckId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17485
+ { no: 11, name: "origin", kind: "enum", T: proto3.getEnumType(ProposalOrigin) },
17462
17486
  ]);
17463
17487
  static fromBinary(bytes, options) {
17464
17488
  return new Proposal().fromBinary(bytes, options);
@@ -17547,6 +17571,10 @@ export class CreateProposalRequest extends Message {
17547
17571
  * @generated from field: wg.cosmo.platform.v1.ProposalNamingConvention namingConvention = 5;
17548
17572
  */
17549
17573
  namingConvention = ProposalNamingConvention.NORMAL;
17574
+ /**
17575
+ * @generated from field: wg.cosmo.platform.v1.ProposalOrigin origin = 6;
17576
+ */
17577
+ origin = ProposalOrigin.INTERNAL;
17550
17578
  constructor(data) {
17551
17579
  super();
17552
17580
  proto3.util.initPartial(data, this);
@@ -17559,6 +17587,7 @@ export class CreateProposalRequest extends Message {
17559
17587
  { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17560
17588
  { no: 4, name: "subgraphs", kind: "message", T: ProposalSubgraph, repeated: true },
17561
17589
  { no: 5, name: "namingConvention", kind: "enum", T: proto3.getEnumType(ProposalNamingConvention) },
17590
+ { no: 6, name: "origin", kind: "enum", T: proto3.getEnumType(ProposalOrigin) },
17562
17591
  ]);
17563
17592
  static fromBinary(bytes, options) {
17564
17593
  return new CreateProposalRequest().fromBinary(bytes, options);