-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
228 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" | ||
// @generated from file api/v1/capsule/revision.proto (package api.v1.capsule, syntax proto3) | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
|
||
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import { Capsule, CapsuleSet } from "../../../platform/v1/generated_pb.js"; | ||
import { RevisionMetadata } from "../../../model/revision_pb.js"; | ||
import { Change } from "./change_pb.js"; | ||
|
||
/** | ||
* @generated from message api.v1.capsule.SetRevision | ||
*/ | ||
export class SetRevision extends Message<SetRevision> { | ||
/** | ||
* @generated from field: platform.v1.CapsuleSet spec = 1; | ||
*/ | ||
spec?: CapsuleSet; | ||
|
||
/** | ||
* @generated from field: model.RevisionMetadata metadata = 2; | ||
*/ | ||
metadata?: RevisionMetadata; | ||
|
||
constructor(data?: PartialMessage<SetRevision>) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
|
||
static readonly runtime: typeof proto3 = proto3; | ||
static readonly typeName = "api.v1.capsule.SetRevision"; | ||
static readonly fields: FieldList = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "spec", kind: "message", T: CapsuleSet }, | ||
{ no: 2, name: "metadata", kind: "message", T: RevisionMetadata }, | ||
]); | ||
|
||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRevision { | ||
return new SetRevision().fromBinary(bytes, options); | ||
} | ||
|
||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRevision { | ||
return new SetRevision().fromJson(jsonValue, options); | ||
} | ||
|
||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRevision { | ||
return new SetRevision().fromJsonString(jsonString, options); | ||
} | ||
|
||
static equals(a: SetRevision | PlainMessage<SetRevision> | undefined, b: SetRevision | PlainMessage<SetRevision> | undefined): boolean { | ||
return proto3.util.equals(SetRevision, a, b); | ||
} | ||
} | ||
|
||
/** | ||
* @generated from message api.v1.capsule.Revision | ||
*/ | ||
export class Revision extends Message<Revision> { | ||
/** | ||
* @generated from field: platform.v1.Capsule spec = 1; | ||
*/ | ||
spec?: Capsule; | ||
|
||
/** | ||
* @generated from field: model.RevisionMetadata metadata = 2; | ||
*/ | ||
metadata?: RevisionMetadata; | ||
|
||
/** | ||
* @generated from field: repeated api.v1.capsule.Change changes = 3; | ||
*/ | ||
changes: Change[] = []; | ||
|
||
/** | ||
* @generated from field: string message = 4; | ||
*/ | ||
message = ""; | ||
|
||
constructor(data?: PartialMessage<Revision>) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
|
||
static readonly runtime: typeof proto3 = proto3; | ||
static readonly typeName = "api.v1.capsule.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 */ }, | ||
]); | ||
|
||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Revision { | ||
return new Revision().fromBinary(bytes, options); | ||
} | ||
|
||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Revision { | ||
return new Revision().fromJson(jsonValue, options); | ||
} | ||
|
||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Revision { | ||
return new Revision().fromJsonString(jsonString, options); | ||
} | ||
|
||
static equals(a: Revision | PlainMessage<Revision> | undefined, b: Revision | PlainMessage<Revision> | undefined): boolean { | ||
return proto3.util.equals(Revision, a, b); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" | ||
// @generated from file api/v1/environment/revision.proto (package api.v1.environment, syntax proto3) | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
|
||
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import { Environment } from "../../../platform/v1/generated_pb.js"; | ||
import { RevisionMetadata } from "../../../model/revision_pb.js"; | ||
|
||
/** | ||
* @generated from message api.v1.environment.Revision | ||
*/ | ||
export class Revision extends Message<Revision> { | ||
/** | ||
* @generated from field: platform.v1.Environment spec = 1; | ||
*/ | ||
spec?: Environment; | ||
|
||
/** | ||
* @generated from field: model.RevisionMetadata metadata = 2; | ||
*/ | ||
metadata?: RevisionMetadata; | ||
|
||
constructor(data?: PartialMessage<Revision>) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
|
||
static readonly runtime: typeof proto3 = proto3; | ||
static readonly typeName = "api.v1.environment.Revision"; | ||
static readonly fields: FieldList = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "spec", kind: "message", T: Environment }, | ||
{ no: 2, name: "metadata", kind: "message", T: RevisionMetadata }, | ||
]); | ||
|
||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Revision { | ||
return new Revision().fromBinary(bytes, options); | ||
} | ||
|
||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Revision { | ||
return new Revision().fromJson(jsonValue, options); | ||
} | ||
|
||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Revision { | ||
return new Revision().fromJsonString(jsonString, options); | ||
} | ||
|
||
static equals(a: Revision | PlainMessage<Revision> | undefined, b: Revision | PlainMessage<Revision> | undefined): boolean { | ||
return proto3.util.equals(Revision, a, b); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" | ||
// @generated from file api/v1/project/revision.proto (package api.v1.project, syntax proto3) | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
|
||
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import { Project } from "../../../platform/v1/generated_pb.js"; | ||
import { RevisionMetadata } from "../../../model/revision_pb.js"; | ||
|
||
/** | ||
* @generated from message api.v1.project.Revision | ||
*/ | ||
export class Revision extends Message<Revision> { | ||
/** | ||
* @generated from field: platform.v1.Project spec = 1; | ||
*/ | ||
spec?: Project; | ||
|
||
/** | ||
* @generated from field: model.RevisionMetadata metadata = 2; | ||
*/ | ||
metadata?: RevisionMetadata; | ||
|
||
constructor(data?: PartialMessage<Revision>) { | ||
super(); | ||
proto3.util.initPartial(data, this); | ||
} | ||
|
||
static readonly runtime: typeof proto3 = proto3; | ||
static readonly typeName = "api.v1.project.Revision"; | ||
static readonly fields: FieldList = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "spec", kind: "message", T: Project }, | ||
{ no: 2, name: "metadata", kind: "message", T: RevisionMetadata }, | ||
]); | ||
|
||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Revision { | ||
return new Revision().fromBinary(bytes, options); | ||
} | ||
|
||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Revision { | ||
return new Revision().fromJson(jsonValue, options); | ||
} | ||
|
||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Revision { | ||
return new Revision().fromJsonString(jsonString, options); | ||
} | ||
|
||
static equals(a: Revision | PlainMessage<Revision> | undefined, b: Revision | PlainMessage<Revision> | undefined): boolean { | ||
return proto3.util.equals(Revision, a, b); | ||
} | ||
} | ||
|
Oops, something went wrong.