Skip to content

Commit

Permalink
push latest version of APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
rig-bot committed Oct 2, 2024
1 parent fa57a0e commit aa46f88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
19 changes: 0 additions & 19 deletions api/v1/capsule/revision_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
import { Message, proto3 } from "@bufbuild/protobuf";
import { Capsule, CapsuleSet } from "../../../platform/v1/generated_pb.js";
import { ProposalMetadata, RevisionMetadata } from "../../../model/revision_pb.js";
import { Change } from "./change_pb.js";

/**
* @generated from message api.v1.capsule.SetRevision
Expand Down Expand Up @@ -66,11 +65,6 @@ export class Revision extends Message<Revision> {
*/
metadata?: RevisionMetadata;

/**
* @generated from field: repeated api.v1.capsule.Change changes = 3;
*/
changes: Change[] = [];

/**
* @generated from field: string message = 4;
*/
Expand All @@ -86,7 +80,6 @@ export class Revision extends Message<Revision> {
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "spec", kind: "message", T: Capsule },
{ no: 2, name: "metadata", kind: "message", T: RevisionMetadata },
{ no: 3, name: "changes", kind: "message", T: Change, repeated: true },
{ no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);

Expand Down Expand Up @@ -116,11 +109,6 @@ export class Proposal extends Message<Proposal> {
*/
spec?: Capsule;

/**
* @generated from field: repeated api.v1.capsule.Change changes = 2;
*/
changes: Change[] = [];

/**
* @generated from field: model.ProposalMetadata metadata = 3;
*/
Expand All @@ -135,7 +123,6 @@ export class Proposal extends Message<Proposal> {
static readonly typeName = "api.v1.capsule.Proposal";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "spec", kind: "message", T: Capsule },
{ no: 2, name: "changes", kind: "message", T: Change, repeated: true },
{ no: 3, name: "metadata", kind: "message", T: ProposalMetadata },
]);

Expand Down Expand Up @@ -165,11 +152,6 @@ export class SetProposal extends Message<SetProposal> {
*/
spec?: CapsuleSet;

/**
* @generated from field: repeated api.v1.capsule.Change changes = 2;
*/
changes: Change[] = [];

/**
* @generated from field: model.ProposalMetadata metadata = 3;
*/
Expand All @@ -184,7 +166,6 @@ export class SetProposal extends Message<SetProposal> {
static readonly typeName = "api.v1.capsule.SetProposal";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "spec", kind: "message", T: CapsuleSet },
{ no: 2, name: "changes", kind: "message", T: Change, repeated: true },
{ no: 3, name: "metadata", kind: "message", T: ProposalMetadata },
]);

Expand Down
8 changes: 1 addition & 7 deletions api/v1/capsule/rollout_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Status } from "./rollout/status_pb.js";
import { CapsuleSpec } from "../../../platform/v1/generated_pb.js";
import { Revisions } from "../../../model/revision_pb.js";
import { Author } from "../../../model/author_pb.js";
import { Change, ContainerSettings, HorizontalScale, Network } from "./change_pb.js";
import { ContainerSettings, HorizontalScale, Network } from "./change_pb.js";
import { CronJob } from "./job_pb.js";

/**
Expand Down Expand Up @@ -123,11 +123,6 @@ export class RolloutConfig extends Message<RolloutConfig> {
*/
createdAt?: Timestamp;

/**
* @generated from field: repeated api.v1.capsule.Change changes = 3;
*/
changes: Change[] = [];

/**
* @generated from field: uint32 replicas = 4;
*/
Expand Down Expand Up @@ -193,7 +188,6 @@ export class RolloutConfig extends Message<RolloutConfig> {
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "created_by", kind: "message", T: Author },
{ no: 2, name: "created_at", kind: "message", T: Timestamp },
{ no: 3, name: "changes", kind: "message", T: Change, repeated: true },
{ no: 4, name: "replicas", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
{ no: 5, name: "image_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "network", kind: "message", T: Network },
Expand Down

0 comments on commit aa46f88

Please sign in to comment.