Skip to content

Commit

Permalink
Store changes filter by start time
Browse files Browse the repository at this point in the history
  • Loading branch information
cikasfm committed Oct 14, 2024
1 parent 94a1320 commit 23ffb2d
Show file tree
Hide file tree
Showing 6 changed files with 1,856 additions and 1,784 deletions.
11 changes: 10 additions & 1 deletion docs/openapiv2/apidocs.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions openfga/v1/errors_ignore.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ enum ErrorCode {
invalid_authorization_model = 2056;
unsupported_schema_version = 2057;
cancelled = 2058;
invalid_start_time = 2059;
}

enum UnprocessableContentErrorCode {
Expand Down
9 changes: 9 additions & 0 deletions openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,15 @@ message ReadChangesRequest {
(validate.rules).string.max_bytes = 5120,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {example: "\"eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==\""}
];

google.protobuf.Timestamp start_time = 5 [
json_name = "start_time",
(validate.rules).timestamp.lt_now = true,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "The start time of the changes to read."
example: "2021-01-01T00:00:00.000Z"
}
];
}

message ReadChangesResponse {
Expand Down
83 changes: 44 additions & 39 deletions proto/openfga/v1/errors_ignore.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 23ffb2d

Please sign in to comment.