Skip to content

Commit 166bbf2

Browse files
committed
feat: export DiffSchema and ReflectSchema types
Signed-off-by: ivanauth <ivan@authzed.com>
1 parent 7e81fdc commit 166bbf2

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

src/authzed/api/v1/__init__.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,27 @@
5757
)
5858
from authzed.api.v1.permission_service_pb2_grpc import PermissionsServiceStub
5959
from authzed.api.v1.schema_service_pb2 import (
60+
ComputablePermissionsRequest,
61+
ComputablePermissionsResponse,
62+
DependentRelationsRequest,
63+
DependentRelationsResponse,
64+
DiffSchemaRequest,
65+
DiffSchemaResponse,
6066
ReadSchemaRequest,
6167
ReadSchemaResponse,
68+
ReflectionCaveat,
69+
ReflectionCaveatParameter,
70+
ReflectionCaveatParameterTypeChange,
71+
ReflectionDefinition,
72+
ReflectionPermission,
73+
ReflectionRelation,
74+
ReflectionRelationReference,
75+
ReflectionRelationSubjectTypeChange,
76+
ReflectionSchemaFilter,
77+
ReflectionSchemaDiff,
78+
ReflectionTypeReference,
79+
ReflectSchemaRequest,
80+
ReflectSchemaResponse,
6281
WriteSchemaRequest,
6382
WriteSchemaResponse,
6483
)
@@ -205,8 +224,27 @@ def __init__(
205224
"WriteRelationshipsRequest",
206225
"WriteRelationshipsResponse",
207226
# Schema Service
227+
"ComputablePermissionsRequest",
228+
"ComputablePermissionsResponse",
229+
"DependentRelationsRequest",
230+
"DependentRelationsResponse",
231+
"DiffSchemaRequest",
232+
"DiffSchemaResponse",
208233
"ReadSchemaRequest",
209234
"ReadSchemaResponse",
235+
"ReflectionCaveat",
236+
"ReflectionCaveatParameter",
237+
"ReflectionCaveatParameterTypeChange",
238+
"ReflectionDefinition",
239+
"ReflectionPermission",
240+
"ReflectionRelation",
241+
"ReflectionRelationReference",
242+
"ReflectionRelationSubjectTypeChange",
243+
"ReflectionSchemaFilter",
244+
"ReflectionSchemaDiff",
245+
"ReflectionTypeReference",
246+
"ReflectSchemaRequest",
247+
"ReflectSchemaResponse",
210248
"WriteSchemaRequest",
211249
"WriteSchemaResponse",
212250
# Watch Service

0 commit comments

Comments
 (0)