Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ message ListAppDraftListingsRequest {
// The maximum number of app draft listings to return in the response. If
// unspecified, defaults to 50. All requests with a higher page size will be
// capped to 50.
optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0];
optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0];

// An opaque page continuation token returned in a previous
// ListAppDraftListingsResponse. If unspecified, the first page is returned.
Expand Down
2 changes: 1 addition & 1 deletion accrescent/console/v1/list_app_drafts_request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ message ListAppDraftsRequest {

// The maximum number of app drafts to return in the response. If unspecified,
// defaults to 50. All requests with a higher page size will be capped to 50.
optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0];
optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0];

// An opaque page continuation token returned in a previous
// ListAppDraftsResponse. If unspecified, the first page is returned.
Expand Down
2 changes: 1 addition & 1 deletion accrescent/console/v1/list_app_edit_listings_request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ message ListAppEditListingsRequest {
// The maximum number of app edit listings to return in the response. If
// unspecified, defaults to 50. All requests with a higher page size will be
// capped to 50.
optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0];
optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0];

// An opaque page continuation token returned in a previous
// ListAppEditListingsResponse. If unspecified, the first page is returned.
Expand Down
2 changes: 1 addition & 1 deletion accrescent/console/v1/list_app_edits_request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ message ListAppEditsRequest {

// The maximum number of app edits to return in the response. If unspecified,
// defaults to 50. All requests with a higher page size will be capped to 50.
optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0];
optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0];

// An opaque page continuation token returned in a previous
// ListAppEditsResponse. If unspecified, the first page is returned.
Expand Down
2 changes: 1 addition & 1 deletion accrescent/console/v1/list_app_listings_request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ message ListAppListingsRequest {
// The maximum number of app listings to return in the response. If
// unspecified, defaults to 50. All requests with a higher page size will be
// capped to 50.
optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0];
optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0];

// An opaque page continuation token returned in a previous
// ListAppListingsResponse. If unspecified, the first page is returned.
Expand Down
2 changes: 1 addition & 1 deletion accrescent/console/v1/list_apps_request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ message ListAppsRequest {

// The maximum number of apps to return in the response. If unspecified,
// defaults to 50. All requests with a higher page size will be capped to 50.
optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0];
optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0];

// An opaque page continuation token returned in a previous ListAppsResponse.
// If unspecified, the first page is returned.
Expand Down
20 changes: 16 additions & 4 deletions accrescent/console/v1/organization.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,26 @@ message Organization {
optional string id = 1 [(buf.validate.field).required = true];

// The maximum number of published apps allowed to exist under this organization.
optional uint32 published_app_limit = 2 [(buf.validate.field).required = true];
optional int64 published_app_limit = 2 [
(buf.validate.field).required = true,
(buf.validate.field).int64.gte = 0
];

// The current number of published apps in this organization.
optional uint32 published_app_count = 3 [(buf.validate.field).required = true];
optional int64 published_app_count = 3 [
(buf.validate.field).required = true,
(buf.validate.field).int64.gte = 0
];

// The maximum number of active app drafts allowed to exist under this organization.
optional uint32 active_app_draft_limit = 4 [(buf.validate.field).required = true];
optional int64 active_app_draft_limit = 4 [
(buf.validate.field).required = true,
(buf.validate.field).int64.gte = 0
];

// The current number of active app drafts in this organization.
optional uint32 active_app_draft_count = 5 [(buf.validate.field).required = true];
optional int64 active_app_draft_count = 5 [
(buf.validate.field).required = true,
(buf.validate.field).int64.gte = 0
];
}
Loading