Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/celest_cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
run: dart analyze --fatal-infos --fatal-warnings .
- name: Format
working-directory: packages/celest_cloud
run: dart format --language-version=latest --set-exit-if-changed .
run: dart format --set-exit-if-changed .
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class CreateOrganizationCommand extends CloudCreateCommand<Organization> {
return cloud.organizations.create(
organizationId: options.resourceId,
organization: Organization(
annotations: options.annotations,
annotations: options.annotations.entries,
displayName: options.displayName,
primaryRegion: primaryRegion,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class UpdateOrganizationCommand extends CloudUpdateCommand<Organization> {
return cloud.organizations.update(
organization: Organization(
name: options.resourceId,
annotations: options.annotations,
annotations: options.annotations?.entries,
displayName: options.displayName,
),
updateMask: FieldMask(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class UpdateProjectEnvironmentCommand
projectEnvironment: ProjectEnvironment(
name: options.resourceId,
displayName: options.displayName,
annotations: options.annotations,
annotations: options.annotations?.entries,
),
allowMissing: options.allowMissing,
updateMask: FieldMask(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class UpdateProjectCommand extends CloudUpdateCommand<Project> {
return cloud.projects.update(
project: Project(
name: options.resourceId,
annotations: options.annotations,
annotations: options.annotations?.entries,
displayName: options.displayName,
),
updateMask: FieldMask(
Expand Down
3 changes: 1 addition & 2 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ managed:
inputs:
- directory: proto
plugins:
# TODO: Bump when issues are fixed in generator
- remote: buf.build/protocolbuffers/dart:v21.1.2
- remote: buf.build/protocolbuffers/dart:v22.1.0
out: packages/celest_cloud/lib/src/proto
include_imports: true
include_wkt: true
Expand Down
4 changes: 3 additions & 1 deletion packages/celest_cloud/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# NEXT

- chore: Re-format with Dart 3.8
- chore: Bump Dart SDK constraint to `^3.7.0`
- chore: Re-format with Dart 3.7
- chore: Update linter/style preferences
- chore: Update protobufs

# 0.1.8

Expand Down
Loading
Loading