Skip to content

Commit 03bcaf8

Browse files
committed
chore(cloud): Update protobufs to v22.1.0
- Re-generate protos with protoc_plugin v22.1.0 - Reformat with Dart 3.7
1 parent 09fe8fb commit 03bcaf8

File tree

105 files changed

+2401
-1884
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+2401
-1884
lines changed

.github/workflows/celest_cloud.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
run: dart analyze --fatal-infos --fatal-warnings .
3434
- name: Format
3535
working-directory: packages/celest_cloud
36-
run: dart format --language-version=latest --set-exit-if-changed .
36+
run: dart format --set-exit-if-changed .

apps/cli/lib/src/commands/cloud/organizations/create_organization_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ final class CreateOrganizationCommand extends CloudCreateCommand<Organization> {
4040
return cloud.organizations.create(
4141
organizationId: options.resourceId,
4242
organization: Organization(
43-
annotations: options.annotations,
43+
annotations: options.annotations.entries,
4444
displayName: options.displayName,
4545
primaryRegion: primaryRegion,
4646
),

apps/cli/lib/src/commands/cloud/organizations/update_organization_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class UpdateOrganizationCommand extends CloudUpdateCommand<Organization> {
2020
return cloud.organizations.update(
2121
organization: Organization(
2222
name: options.resourceId,
23-
annotations: options.annotations,
23+
annotations: options.annotations?.entries,
2424
displayName: options.displayName,
2525
),
2626
updateMask: FieldMask(

apps/cli/lib/src/commands/cloud/project_environments/update_project_environment_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class UpdateProjectEnvironmentCommand
2222
projectEnvironment: ProjectEnvironment(
2323
name: options.resourceId,
2424
displayName: options.displayName,
25-
annotations: options.annotations,
25+
annotations: options.annotations?.entries,
2626
),
2727
allowMissing: options.allowMissing,
2828
updateMask: FieldMask(

apps/cli/lib/src/commands/cloud/projects/update_project_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class UpdateProjectCommand extends CloudUpdateCommand<Project> {
2020
return cloud.projects.update(
2121
project: Project(
2222
name: options.resourceId,
23-
annotations: options.annotations,
23+
annotations: options.annotations?.entries,
2424
displayName: options.displayName,
2525
),
2626
updateMask: FieldMask(

buf.gen.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ managed:
44
inputs:
55
- directory: proto
66
plugins:
7-
# TODO: Bump when issues are fixed in generator
8-
- remote: buf.build/protocolbuffers/dart:v21.1.2
7+
- remote: buf.build/protocolbuffers/dart:v22.1.0
98
out: packages/celest_cloud/lib/src/proto
109
include_imports: true
1110
include_wkt: true

packages/celest_cloud/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# NEXT
22

3-
- chore: Re-format with Dart 3.8
3+
- chore: Bump Dart SDK constraint to `^3.7.0`
4+
- chore: Re-format with Dart 3.7
45
- chore: Update linter/style preferences
6+
- chore: Update protobufs
57

68
# 0.1.8
79

0 commit comments

Comments
 (0)