Skip to content

Commit

Permalink
regenerating types made essentially whitespace changes. I am not atta…
Browse files Browse the repository at this point in the history
…ched to these, just committing them since they were automatic.
  • Loading branch information
mattpolzin committed Jul 12, 2024
1 parent 1d79e59 commit fef9361
Show file tree
Hide file tree
Showing 11 changed files with 115 additions and 115 deletions.
8 changes: 4 additions & 4 deletions lib/api/v0/core.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Authzed.Api.V0.RelationTuple do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:object_and_relation, 1,
type: Authzed.Api.V0.ObjectAndRelation,
Expand All @@ -15,7 +15,7 @@ end
defmodule Authzed.Api.V0.ObjectAndRelation do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:namespace, 1, type: :string, deprecated: false)
field(:object_id, 2, type: :string, json_name: "objectId", deprecated: false)
Expand All @@ -25,7 +25,7 @@ end
defmodule Authzed.Api.V0.RelationReference do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:namespace, 1, type: :string, deprecated: false)
field(:relation, 3, type: :string, deprecated: false)
Expand All @@ -34,7 +34,7 @@ end
defmodule Authzed.Api.V0.User do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

oneof(:user_oneof, 0)

Expand Down
36 changes: 18 additions & 18 deletions lib/api/v0/developer.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Authzed.Api.V0.LookupShareResponse.LookupStatus do
@moduledoc false

use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:UNKNOWN_REFERENCE, 0)
field(:FAILED_TO_LOOKUP, 1)
Expand All @@ -12,7 +12,7 @@ end
defmodule Authzed.Api.V0.DeveloperError.Source do
@moduledoc false

use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:UNKNOWN_SOURCE, 0)
field(:SCHEMA, 1)
Expand All @@ -25,7 +25,7 @@ end
defmodule Authzed.Api.V0.DeveloperError.ErrorKind do
@moduledoc false

use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:UNKNOWN_KIND, 0)
field(:PARSE_ERROR, 1)
Expand All @@ -42,15 +42,15 @@ end
defmodule Authzed.Api.V0.FormatSchemaRequest do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:schema, 1, type: :string)
end

defmodule Authzed.Api.V0.FormatSchemaResponse do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:error, 1, type: Authzed.Api.V0.DeveloperError)
field(:formatted_schema, 2, type: :string, json_name: "formattedSchema")
Expand All @@ -59,15 +59,15 @@ end
defmodule Authzed.Api.V0.UpgradeSchemaRequest do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:namespace_configs, 1, repeated: true, type: :string, json_name: "namespaceConfigs")
end

defmodule Authzed.Api.V0.UpgradeSchemaResponse do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:error, 1, type: Authzed.Api.V0.DeveloperError)
field(:upgraded_schema, 2, type: :string, json_name: "upgradedSchema")
Expand All @@ -76,7 +76,7 @@ end
defmodule Authzed.Api.V0.ShareRequest do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:schema, 1, type: :string)
field(:relationships_yaml, 2, type: :string, json_name: "relationshipsYaml")
Expand All @@ -87,23 +87,23 @@ end
defmodule Authzed.Api.V0.ShareResponse do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:share_reference, 1, type: :string, json_name: "shareReference")
end

defmodule Authzed.Api.V0.LookupShareRequest do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:share_reference, 1, type: :string, json_name: "shareReference")
end

defmodule Authzed.Api.V0.LookupShareResponse do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:status, 1, type: Authzed.Api.V0.LookupShareResponse.LookupStatus, enum: true)
field(:schema, 2, type: :string)
Expand All @@ -115,7 +115,7 @@ end
defmodule Authzed.Api.V0.RequestContext do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:schema, 1, type: :string)
field(:relationships, 2, repeated: true, type: Authzed.Api.V0.RelationTuple)
Expand All @@ -124,7 +124,7 @@ end
defmodule Authzed.Api.V0.EditCheckRequest do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:context, 1, type: Authzed.Api.V0.RequestContext)

Expand All @@ -138,7 +138,7 @@ end
defmodule Authzed.Api.V0.EditCheckResult do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:relationship, 1, type: Authzed.Api.V0.RelationTuple)
field(:is_member, 2, type: :bool, json_name: "isMember")
Expand All @@ -148,7 +148,7 @@ end
defmodule Authzed.Api.V0.EditCheckResponse do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:request_errors, 1,
repeated: true,
Expand All @@ -166,7 +166,7 @@ end
defmodule Authzed.Api.V0.ValidateRequest do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:context, 1, type: Authzed.Api.V0.RequestContext)
field(:validation_yaml, 3, type: :string, json_name: "validationYaml")
Expand All @@ -177,7 +177,7 @@ end
defmodule Authzed.Api.V0.ValidateResponse do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:request_errors, 1,
repeated: true,
Expand All @@ -197,7 +197,7 @@ end
defmodule Authzed.Api.V0.DeveloperError do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:message, 1, type: :string)
field(:line, 2, type: :uint32)
Expand Down
26 changes: 13 additions & 13 deletions lib/api/v1/core.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Authzed.Api.V1.RelationshipUpdate.Operation do
@moduledoc false

use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:OPERATION_UNSPECIFIED, 0)
field(:OPERATION_CREATE, 1)
Expand All @@ -12,7 +12,7 @@ end
defmodule Authzed.Api.V1.AlgebraicSubjectSet.Operation do
@moduledoc false

use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:OPERATION_UNSPECIFIED, 0)
field(:OPERATION_UNION, 1)
Expand All @@ -23,7 +23,7 @@ end
defmodule Authzed.Api.V1.Relationship do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:resource, 1, type: Authzed.Api.V1.ObjectReference, deprecated: false)
field(:relation, 2, type: :string, deprecated: false)
Expand All @@ -39,7 +39,7 @@ end
defmodule Authzed.Api.V1.ContextualizedCaveat do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:caveat_name, 1, type: :string, json_name: "caveatName", deprecated: false)
field(:context, 2, type: Google.Protobuf.Struct, deprecated: false)
Expand All @@ -48,7 +48,7 @@ end
defmodule Authzed.Api.V1.SubjectReference do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:object, 1, type: Authzed.Api.V1.ObjectReference, deprecated: false)
field(:optional_relation, 2, type: :string, json_name: "optionalRelation", deprecated: false)
Expand All @@ -57,7 +57,7 @@ end
defmodule Authzed.Api.V1.ObjectReference do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:object_type, 1, type: :string, json_name: "objectType", deprecated: false)
field(:object_id, 2, type: :string, json_name: "objectId", deprecated: false)
Expand All @@ -66,23 +66,23 @@ end
defmodule Authzed.Api.V1.ZedToken do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:token, 1, type: :string, deprecated: false)
end

defmodule Authzed.Api.V1.Cursor do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:token, 1, type: :string, deprecated: false)
end

defmodule Authzed.Api.V1.RelationshipUpdate do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:operation, 1,
type: Authzed.Api.V1.RelationshipUpdate.Operation,
Expand All @@ -96,7 +96,7 @@ end
defmodule Authzed.Api.V1.PermissionRelationshipTree do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

oneof(:tree_type, 0)

Expand All @@ -109,7 +109,7 @@ end
defmodule Authzed.Api.V1.AlgebraicSubjectSet do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:operation, 1,
type: Authzed.Api.V1.AlgebraicSubjectSet.Operation,
Expand All @@ -127,15 +127,15 @@ end
defmodule Authzed.Api.V1.DirectSubjectSet do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:subjects, 1, repeated: true, type: Authzed.Api.V1.SubjectReference)
end

defmodule Authzed.Api.V1.PartialCaveatInfo do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:missing_required_context, 1,
repeated: true,
Expand Down
14 changes: 7 additions & 7 deletions lib/api/v1/debug.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Authzed.Api.V1.CheckDebugTrace.PermissionType do
@moduledoc false

use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:PERMISSION_TYPE_UNSPECIFIED, 0)
field(:PERMISSION_TYPE_RELATION, 1)
Expand All @@ -11,7 +11,7 @@ end
defmodule Authzed.Api.V1.CheckDebugTrace.Permissionship do
@moduledoc false

use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:PERMISSIONSHIP_UNSPECIFIED, 0)
field(:PERMISSIONSHIP_NO_PERMISSION, 1)
Expand All @@ -22,7 +22,7 @@ end
defmodule Authzed.Api.V1.CaveatEvalInfo.Result do
@moduledoc false

use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:RESULT_UNSPECIFIED, 0)
field(:RESULT_UNEVALUATED, 1)
Expand All @@ -34,7 +34,7 @@ end
defmodule Authzed.Api.V1.DebugInformation do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:check, 1, type: Authzed.Api.V1.CheckDebugTrace)
field(:schema_used, 2, type: :string, json_name: "schemaUsed")
Expand All @@ -43,15 +43,15 @@ end
defmodule Authzed.Api.V1.CheckDebugTrace.SubProblems do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:traces, 1, repeated: true, type: Authzed.Api.V1.CheckDebugTrace)
end

defmodule Authzed.Api.V1.CheckDebugTrace do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

oneof(:resolution, 0)

Expand Down Expand Up @@ -91,7 +91,7 @@ end
defmodule Authzed.Api.V1.CaveatEvalInfo do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:expression, 1, type: :string)
field(:result, 2, type: Authzed.Api.V1.CaveatEvalInfo.Result, enum: true)
Expand Down
2 changes: 1 addition & 1 deletion lib/api/v1/error_reason.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Authzed.Api.V1.ErrorReason do
@moduledoc false

use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3

field(:ERROR_REASON_UNSPECIFIED, 0)
field(:ERROR_REASON_SCHEMA_PARSE_ERROR, 1)
Expand Down
Loading

0 comments on commit fef9361

Please sign in to comment.