From 3888d6a5c0c3bba91e8e4b9e407d17768a924cc0 Mon Sep 17 00:00:00 2001 From: kylegalbraith Date: Tue, 27 Feb 2024 12:09:31 +0100 Subject: [PATCH] update protobufs --- src/gen/depot/core/v1/project_pb.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gen/depot/core/v1/project_pb.ts b/src/gen/depot/core/v1/project_pb.ts index b28c0d2..13d1299 100644 --- a/src/gen/depot/core/v1/project_pb.ts +++ b/src/gen/depot/core/v1/project_pb.ts @@ -11,7 +11,7 @@ import type { PartialMessage, PlainMessage, } from '@bufbuild/protobuf' -import {Message, Timestamp, proto3} from '@bufbuild/protobuf' +import {Message, Timestamp, proto3, protoInt64} from '@bufbuild/protobuf' /** * @generated from message depot.core.v1.Project @@ -246,9 +246,9 @@ export class CreateProjectRequest extends Message { name = '' /** - * @generated from field: string organization_id = 2; + * @generated from field: optional string organization_id = 2; */ - organizationId = '' + organizationId?: string /** * @generated from field: string region_id = 3; @@ -269,7 +269,7 @@ export class CreateProjectRequest extends Message { static readonly typeName = 'depot.core.v1.CreateProjectRequest' static readonly fields: FieldList = proto3.util.newFieldList(() => [ {no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */}, - {no: 2, name: 'organization_id', kind: 'scalar', T: 9 /* ScalarType.STRING */}, + {no: 2, name: 'organization_id', kind: 'scalar', T: 9 /* ScalarType.STRING */, opt: true}, {no: 3, name: 'region_id', kind: 'scalar', T: 9 /* ScalarType.STRING */}, {no: 4, name: 'cache_policy', kind: 'message', T: CachePolicy, opt: true}, ]) @@ -510,9 +510,9 @@ export class DeleteProjectResponse extends Message { */ export class CachePolicy extends Message { /** - * @generated from field: int32 keep_bytes = 1; + * @generated from field: int64 keep_bytes = 1; */ - keepBytes = 0 + keepBytes = protoInt64.zero /** * @generated from field: int32 keep_days = 2; @@ -527,7 +527,7 @@ export class CachePolicy extends Message { static readonly runtime: typeof proto3 = proto3 static readonly typeName = 'depot.core.v1.CachePolicy' static readonly fields: FieldList = proto3.util.newFieldList(() => [ - {no: 1, name: 'keep_bytes', kind: 'scalar', T: 5 /* ScalarType.INT32 */}, + {no: 1, name: 'keep_bytes', kind: 'scalar', T: 3 /* ScalarType.INT64 */}, {no: 2, name: 'keep_days', kind: 'scalar', T: 5 /* ScalarType.INT32 */}, ])