Skip to content

Commit 84612d8

Browse files
author
serverpod_cloud
committed
feat(gc): 9c92f709d35bda7161542d749a48d59cdcd1a616
1 parent 87d8edb commit 84612d8

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

ground_control_client/lib/src/protocol/client.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,11 +861,23 @@ class EndpointProjects extends _i1.EndpointRef {
861861

862862
/// Fetches the specified project.
863863
/// Its user roles are included in the response.
864+
@Deprecated('Use fetchProjectInfo instead')
864865
_i2.Future<_i3.Project> fetchProject({required String cloudProjectId}) =>
865866
caller.callServerEndpoint<_i3.Project>('projects', 'fetchProject', {
866867
'cloudProjectId': cloudProjectId,
867868
});
868869

870+
/// Fetches the specified project.
871+
/// Its user roles are included in the response.
872+
_i2.Future<_i4.ProjectInfo> fetchProjectInfo({
873+
required String cloudProjectId,
874+
bool? includeLatestDeployAttemptTime,
875+
}) => caller
876+
.callServerEndpoint<_i4.ProjectInfo>('projects', 'fetchProjectInfo', {
877+
'cloudProjectId': cloudProjectId,
878+
'includeLatestDeployAttemptTime': includeLatestDeployAttemptTime,
879+
});
880+
869881
/// Fetches the list of projects the current user has access to.
870882
@Deprecated('Use listProjectsInfo instead')
871883
_i2.Future<List<_i3.Project>> listProjects() => caller

0 commit comments

Comments
 (0)