From 1bd9ee52fb18b022e89f1fca98ee64718c86515f Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 13 Dec 2023 13:51:09 -0600 Subject: [PATCH] Shorten name --- .../registry/v1beta1/attributes.proto | 16 +++++------ .../vulcanize/registry/v1beta1/attributes.ts | 28 +++++++++---------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/proto/vulcanize/registry/v1beta1/attributes.proto b/proto/vulcanize/registry/v1beta1/attributes.proto index a7a8e31..4486464 100644 --- a/proto/vulcanize/registry/v1beta1/attributes.proto +++ b/proto/vulcanize/registry/v1beta1/attributes.proto @@ -66,14 +66,14 @@ message ApplicationArtifact { } message DnsRecord { - string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""]; - string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""]; - string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""]; - string resource_type = 4 [(gogoproto.moretags) = "json:\"resourceType\" yaml:\"resourceType\""]; - string value = 5 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""]; - string application_deployment_request = 6 [(gogoproto.moretags) = "json:\"applicationDeploymentRequest\" yaml:\"applicationDeploymentRequest\""]; - string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""]; - repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""]; + string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""]; + string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""]; + string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""]; + string resource_type = 4 [(gogoproto.moretags) = "json:\"resourceType\" yaml:\"resourceType\""]; + string value = 5 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""]; + string request = 6 [(gogoproto.moretags) = "json:\"request\" yaml:\"request\""]; + string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""]; + repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""]; } message ApplicationDeploymentRequest { diff --git a/src/proto/vulcanize/registry/v1beta1/attributes.ts b/src/proto/vulcanize/registry/v1beta1/attributes.ts index c63db1a..c7e380e 100644 --- a/src/proto/vulcanize/registry/v1beta1/attributes.ts +++ b/src/proto/vulcanize/registry/v1beta1/attributes.ts @@ -1251,7 +1251,7 @@ export namespace vulcanize.registry.v1beta1 { version?: string; resource_type?: string; value?: string; - application_deployment_request?: string; + request?: string; meta?: string; tags?: string[]; }) { @@ -1273,8 +1273,8 @@ export namespace vulcanize.registry.v1beta1 { if ("value" in data && data.value != undefined) { this.value = data.value; } - if ("application_deployment_request" in data && data.application_deployment_request != undefined) { - this.application_deployment_request = data.application_deployment_request; + if ("request" in data && data.request != undefined) { + this.request = data.request; } if ("meta" in data && data.meta != undefined) { this.meta = data.meta; @@ -1314,10 +1314,10 @@ export namespace vulcanize.registry.v1beta1 { set value(value: string) { pb_1.Message.setField(this, 5, value); } - get application_deployment_request() { + get request() { return pb_1.Message.getFieldWithDefault(this, 6, "") as string; } - set application_deployment_request(value: string) { + set request(value: string) { pb_1.Message.setField(this, 6, value); } get meta() { @@ -1338,7 +1338,7 @@ export namespace vulcanize.registry.v1beta1 { version?: string; resource_type?: string; value?: string; - application_deployment_request?: string; + request?: string; meta?: string; tags?: string[]; }): DnsRecord { @@ -1358,8 +1358,8 @@ export namespace vulcanize.registry.v1beta1 { if (data.value != null) { message.value = data.value; } - if (data.application_deployment_request != null) { - message.application_deployment_request = data.application_deployment_request; + if (data.request != null) { + message.request = data.request; } if (data.meta != null) { message.meta = data.meta; @@ -1376,7 +1376,7 @@ export namespace vulcanize.registry.v1beta1 { version?: string; resource_type?: string; value?: string; - application_deployment_request?: string; + request?: string; meta?: string; tags?: string[]; } = {}; @@ -1395,8 +1395,8 @@ export namespace vulcanize.registry.v1beta1 { if (this.value != null) { data.value = this.value; } - if (this.application_deployment_request != null) { - data.application_deployment_request = this.application_deployment_request; + if (this.request != null) { + data.request = this.request; } if (this.meta != null) { data.meta = this.meta; @@ -1420,8 +1420,8 @@ export namespace vulcanize.registry.v1beta1 { writer.writeString(4, this.resource_type); if (this.value.length) writer.writeString(5, this.value); - if (this.application_deployment_request.length) - writer.writeString(6, this.application_deployment_request); + if (this.request.length) + writer.writeString(6, this.request); if (this.meta.length) writer.writeString(20, this.meta); if (this.tags.length) @@ -1451,7 +1451,7 @@ export namespace vulcanize.registry.v1beta1 { message.value = reader.readString(); break; case 6: - message.application_deployment_request = reader.readString(); + message.request = reader.readString(); break; case 20: message.meta = reader.readString();