diff --git a/cmd/namespace/validate.go b/cmd/namespace/validate.go index e995c994e..0fdc83942 100644 --- a/cmd/namespace/validate.go +++ b/cmd/namespace/validate.go @@ -70,7 +70,7 @@ func getSchema(cmd *cobra.Command) (*jsonschema.Schema, error) { } var err error - configSchema, err = c.Compile(schemaPath + "#/definitions/namespace") + configSchema, err = c.Compile(cmd.Context(), schemaPath+"#/definitions/namespace") if err != nil { _, _ = fmt.Fprintf(cmd.ErrOrStderr(), "Could not compile the config schema file. This is an internal error that should be reported. Thanks ;)\n%+v\n", err) return nil, cmdx.FailSilently(cmd) diff --git a/go.mod b/go.mod index 5dbe0ca06..dd5a0a8a0 100644 --- a/go.mod +++ b/go.mod @@ -34,9 +34,9 @@ require ( github.com/ory/analytics-go/v4 v4.0.2 github.com/ory/graceful v0.1.1 github.com/ory/herodot v0.9.12 - github.com/ory/jsonschema/v3 v3.0.4 + github.com/ory/jsonschema/v3 v3.0.6 github.com/ory/keto/proto v0.0.0-00010101000000-000000000000 - github.com/ory/x v0.0.319 + github.com/ory/x v0.0.337 github.com/pelletier/go-toml v1.9.4 github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2 github.com/pkg/errors v0.9.1 @@ -51,7 +51,7 @@ require ( github.com/tidwall/sjson v1.2.2 github.com/urfave/negroni v1.0.0 golang.org/x/sync v0.0.0-20210220032951-036812b2e83c - google.golang.org/grpc v1.41.0 + google.golang.org/grpc v1.42.0 google.golang.org/protobuf v1.27.1 ) @@ -67,7 +67,7 @@ require ( github.com/armon/go-radix v1.0.0 // indirect github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect github.com/aymerick/douceur v0.2.0 // indirect - github.com/cenkalti/backoff/v4 v4.1.1 // indirect + github.com/cenkalti/backoff/v4 v4.1.2 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect github.com/cockroachdb/cockroach-go/v2 v2.2.1 // indirect github.com/containerd/containerd v1.5.7 // indirect @@ -75,7 +75,7 @@ require ( github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dgraph-io/ristretto v0.1.0 // indirect - github.com/docker/cli v20.10.9+incompatible // indirect + github.com/docker/cli v20.10.11+incompatible // indirect github.com/docker/distribution v2.7.1+incompatible // indirect github.com/docker/docker v20.10.9+incompatible // indirect github.com/docker/go-connections v0.4.0 // indirect @@ -110,6 +110,7 @@ require ( github.com/google/uuid v1.3.0 // indirect github.com/gorilla/css v1.0.0 // indirect github.com/gorilla/websocket v1.4.2 // indirect + github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-retryablehttp v0.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect @@ -132,7 +133,7 @@ require ( github.com/joho/godotenv v1.4.0 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect - github.com/knadh/koanf v1.3.0 // indirect + github.com/knadh/koanf v1.4.0 // indirect github.com/lib/pq v1.10.4 // indirect github.com/looplab/fsm v0.3.0 // indirect github.com/magiconair/properties v1.8.5 // indirect @@ -145,15 +146,16 @@ require ( github.com/mitchellh/mapstructure v1.4.2 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect + github.com/nyaruka/phonenumbers v1.0.73 // indirect github.com/oklog/ulid v1.3.1 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect - github.com/opencontainers/image-spec v1.0.1 // indirect + github.com/opencontainers/image-spec v1.0.2 // indirect github.com/opencontainers/runc v1.0.2 // indirect github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5 // indirect github.com/openzipkin/zipkin-go v0.2.5 // indirect - github.com/ory/dockertest/v3 v3.8.0 // indirect + github.com/ory/dockertest/v3 v3.8.1 // indirect github.com/ory/go-acc v0.2.6 // indirect github.com/ory/viper v1.7.5 // indirect github.com/pborman/uuid v1.2.1 // indirect @@ -189,8 +191,13 @@ require ( go.elastic.co/fastjson v1.1.0 // indirect go.mongodb.org/mongo-driver v1.7.3 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.25.0 // indirect - go.opentelemetry.io/otel v1.0.1 // indirect - go.opentelemetry.io/otel/trace v1.0.1 // indirect + go.opentelemetry.io/otel v1.2.0 // indirect + go.opentelemetry.io/otel/bridge/opentracing v1.2.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.2.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.2.0 // indirect + go.opentelemetry.io/otel/sdk v1.2.0 // indirect + go.opentelemetry.io/otel/trace v1.2.0 // indirect + go.opentelemetry.io/proto/otlp v0.10.0 // indirect go.uber.org/atomic v1.9.0 // indirect golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect diff --git a/go.sum b/go.sum index 217326046..960774697 100644 --- a/go.sum +++ b/go.sum @@ -82,7 +82,6 @@ github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugX github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.5.1 h1:aPJp2QD7OOrhO5tQXqQoGSJc+DjDtWTGLOmNyAm6FgY= github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= @@ -191,8 +190,9 @@ github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QH github.com/cenkalti/backoff/v3 v3.0.0 h1:ske+9nBpD9qZsTBoF41nW5L+AIuFBKMeze18XQ3eG1c= github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/cenkalti/backoff/v4 v4.1.0/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= -github.com/cenkalti/backoff/v4 v4.1.1 h1:G2HAfAmvm/GcKan2oOQpBXOd2tT2G57ZnZGWa1PxPBQ= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.2 h1:6Yo7N8UP2K6LWZnW94DLVSSrbobcWdVzAYOisuDPIFo= +github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= @@ -215,8 +215,11 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/cockroach-go v0.0.0-20190925194419-606b3d062051/go.mod h1:XGLbWH/ujMcbPbhZq52Nv6UrCghb1yGn//133kEsvDk= @@ -362,9 +365,8 @@ github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2 h1:tdlZCpZ/P9DhczC github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= -github.com/docker/cli v20.10.8+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.9+incompatible h1:OJ7YkwQA+k2Oi51lmCojpjiygKpi76P7bg91b2eJxYU= -github.com/docker/cli v20.10.9+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/cli v20.10.11+incompatible h1:tXU1ezXcruZQRrMP8RN2z9N91h+6egZTS1gsPsKantc= +github.com/docker/cli v20.10.11+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/distribution v2.7.1+incompatible h1:a5mlkVzth6W5A4fOsS3D2EO5BUmsJpcB+cRlLU7cSug= @@ -825,6 +827,7 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= @@ -1031,8 +1034,8 @@ github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47e github.com/knadh/koanf v0.14.1-0.20201201075439-e0853799f9ec/go.mod h1:H5mEFsTeWizwFXHKtsITL5ipsLTuAMQoGuQpp+1JL9U= github.com/knadh/koanf v1.0.0/go.mod h1:vrMMuhIH0k7EoxiMbVfFlRvJYmxcT2Eha3DH8Tx5+X4= github.com/knadh/koanf v1.2.2/go.mod h1:xpPTwMhsA/aaQLAilyCCqfpEiY1gpa160AiCuWHJUjY= -github.com/knadh/koanf v1.3.0 h1:nNmG4HGbpJUv7eUV1skDvHzzFS+35Q3b+OsYvoXyt2E= -github.com/knadh/koanf v1.3.0/go.mod h1:HZ7HMLIGbrWJUfgtEzfHvzR/rX+eIqQlBNPRr4Vt42s= +github.com/knadh/koanf v1.4.0 h1:/k0Bh49SqLyLNfte9r6cvuZWrApOQhglOmhIU3L/zDw= +github.com/knadh/koanf v1.4.0/go.mod h1:1cfH5223ZeZUOs8FU2UdTmaNfHpqgtjV0+NHjRO43gs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -1192,7 +1195,10 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/npillmayer/nestext v0.1.3/go.mod h1:h2lrijH8jpicr25dFY+oAJLyzlya6jhnuG+zWp9L0Uk= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/nyaruka/phonenumbers v1.0.73 h1:bP2WN8/NUP8tQebR+WCIejFaibwYMHOaB7MQVayclUo= +github.com/nyaruka/phonenumbers v1.0.73/go.mod h1:3aiS+PS3DuYwkbK3xdcmRwMiPNECZ0oENH8qUT1lY7Q= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4= @@ -1225,8 +1231,9 @@ github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go. github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.1 h1:JMemWkRwHx4Zj+fVxWoMCFm/8sYGGrUVojFA6h/TRcI= github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM= +github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= @@ -1266,8 +1273,8 @@ github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnh github.com/ory/dockertest/v3 v3.5.4/go.mod h1:J8ZUbNB2FOhm1cFZW9xBpDsODqsSWcyYgtJYVPcnF70= github.com/ory/dockertest/v3 v3.6.3/go.mod h1:EFLcVUOl8qCwp9NyDAcCDtq/QviLtYswW/VbWzUnTNE= github.com/ory/dockertest/v3 v3.6.5/go.mod h1:iYKQSRlYrt/2s5fJWYdB98kCQG6g/LjBMvzEYii63vg= -github.com/ory/dockertest/v3 v3.8.0 h1:i5b0cJCd801qw0cVQUOH6dSpI9fT3j5tdWu0jKu90ks= -github.com/ory/dockertest/v3 v3.8.0/go.mod h1:9zPATATlWQru+ynXP+DytBQrsXV7Tmlx7K86H6fQaDo= +github.com/ory/dockertest/v3 v3.8.1 h1:vU/8d1We4qIad2YM0kOwRVtnyue7ExvacPiw1yDm17g= +github.com/ory/dockertest/v3 v3.8.1/go.mod h1:wSRQ3wmkz+uSARYMk7kVJFDBGm8x5gSxIhI7NDc+BAQ= github.com/ory/fosite v0.29.0/go.mod h1:0atSZmXO7CAcs6NPMI/Qtot8tmZYj04Nddoold4S2h0= github.com/ory/go-acc v0.0.0-20181118080137-ddc355013f90/go.mod h1:sxnvPCxChFuSmTJGj8FdMupeq1BezCiEpDjTUXQ4hf4= github.com/ory/go-acc v0.2.6 h1:YfI+L9dxI7QCtWn2RbawqO0vXhiThdXu/RgizJBbaq0= @@ -1286,8 +1293,9 @@ github.com/ory/herodot v0.9.12 h1:FGA4s4YbmGfMcSy/XFrwJoN/Pkl1FPsjX+XhqFW2RAE= github.com/ory/herodot v0.9.12/go.mod h1:hPExRN0VP9hfqlv9xKiGaAAlKVv1UXN7cpYdA4OvDkA= github.com/ory/jsonschema/v3 v3.0.1/go.mod h1:jgLHekkFk0uiGdEWGleC+tOm6JSSP8cbf17PnBuGXlw= github.com/ory/jsonschema/v3 v3.0.3/go.mod h1:JvXwbx7IxAkIAo7Qo5OSC1lea+w12DtYGV8h+MTAfnA= -github.com/ory/jsonschema/v3 v3.0.4 h1:xI5eEjhl7p8aU2568esHv1t5jpKIHvaEII+hlBt7dnQ= -github.com/ory/jsonschema/v3 v3.0.4/go.mod h1:lC4vfZfOalFjz1P1bSHcXbCQXbLjrKvTfX83SmyU6BU= +github.com/ory/jsonschema/v3 v3.0.5/go.mod h1:kC/obPwscQ8BQus1OZl4Ezi0u5ITVpJyEtSAXgKJtLQ= +github.com/ory/jsonschema/v3 v3.0.6 h1:G6H6Cy0+EbxSgIvfaylbkZphHSARH5hbVoLcQtHhbAA= +github.com/ory/jsonschema/v3 v3.0.6/go.mod h1:kC/obPwscQ8BQus1OZl4Ezi0u5ITVpJyEtSAXgKJtLQ= github.com/ory/viper v1.5.6/go.mod h1:TYmpFpKLxjQwvT4f0QPpkOn4sDXU1kDgAwJpgLYiQ28= github.com/ory/viper v1.7.4/go.mod h1:T6sodNZKNGPpashUOk7EtXz2isovz8oCd57GNVkkNmE= github.com/ory/viper v1.7.5 h1:+xVdq7SU3e1vNaCsk/ixsfxE4zylk1TJUiJrY647jUE= @@ -1300,8 +1308,8 @@ github.com/ory/x v0.0.205/go.mod h1:A1s4iwmFIppRXZLF3J9GGWeY/HpREVm0Dk5z/787iek= github.com/ory/x v0.0.250/go.mod h1:jUJaVptu+geeqlb9SyQCogTKj5ztSDIF6APkhbKtwLc= github.com/ory/x v0.0.272/go.mod h1:1TTPgJGQutrhI2OnwdrTIHE9ITSf4MpzXFzA/ncTGRc= github.com/ory/x v0.0.288/go.mod h1:APpShLyJcVzKw1kTgrHI+j/L9YM+8BRjHlcYObc7C1U= -github.com/ory/x v0.0.319 h1:yBxYUpIUNzR9puPg0Tz3W72ViN2y/DV9G80USltUL2w= -github.com/ory/x v0.0.319/go.mod h1:t3exZuwKiVDAdLF93VBZ53Es9kI+HiLBsFmnqizKwnE= +github.com/ory/x v0.0.337 h1:YDlmEA43NMJJxezVVAQoqXyyYl/ZZSh9+mA8JSbOECw= +github.com/ory/x v0.0.337/go.mod h1:VxITg5o/DfPfom76ni5FfFzP66Z+kLvJ/OATJxuT42c= github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/parnurzeal/gorequest v0.2.15/go.mod h1:3Kh2QUMJoqw3icWAecsyzkpY7UzRfDhbRdTjtNwNiUE= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= @@ -1671,17 +1679,29 @@ go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0. go.opentelemetry.io/otel v0.13.0/go.mod h1:dlSNewoRYikTkotEnxdmuBHgzT+k/idJSfDv/FxEnOY= go.opentelemetry.io/otel v0.18.0/go.mod h1:PT5zQj4lTsR1YeARt8YNKcFb88/c2IKoSABK9mX0r78= go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= -go.opentelemetry.io/otel v1.0.1 h1:4XKyXmfqJLOQ7feyV5DB6gsBFZ0ltB8vLtp6pj4JIcc= go.opentelemetry.io/otel v1.0.1/go.mod h1:OPEOD4jIT2SlZPMmwT6FqZz2C0ZNdQqiWcoK6M0SNFU= +go.opentelemetry.io/otel v1.2.0 h1:YOQDvxO1FayUcT9MIhJhgMyNO1WqoduiyvQHzGN0kUQ= +go.opentelemetry.io/otel v1.2.0/go.mod h1:aT17Fk0Z1Nor9e0uisf98LrntPGMnk4frBO9+dkf69I= +go.opentelemetry.io/otel/bridge/opentracing v1.2.0 h1:c0R64SxYD5erTgWqpjSD9owpBCGy4w5LQi7NkeSCKU0= +go.opentelemetry.io/otel/bridge/opentracing v1.2.0/go.mod h1:EyVJNmSj/3xsOQxezXM58bmoiv+ZOGKVcInF9TZGXCg= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.2.0 h1:xzbcGykysUh776gzD1LUPsNNHKWN0kQWDnJhn1ddUuk= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.2.0/go.mod h1:14T5gr+Y6s2AgHPqBMgnGwp04csUjQmYXFWPeiBoq5s= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.2.0 h1:j/jXNzS6Dy0DFgO/oyCvin4H7vTQBg2Vdi6idIzWhCI= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.2.0/go.mod h1:k5GnE4m4Jyy2DNh6UAzG6Nml51nuqQyszV7O1ksQAnE= go.opentelemetry.io/otel/metric v0.18.0/go.mod h1:kEH2QtzAyBy3xDVQfGZKIcok4ZZFvd5xyKPfPcuK6pE= go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= go.opentelemetry.io/otel/oteltest v0.18.0/go.mod h1:NyierCU3/G8DLTva7KRzGii2fdxdR89zXKH1bNWY7Bo= go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= +go.opentelemetry.io/otel/sdk v1.2.0 h1:wKN260u4DesJYhyjxDa7LRFkuhH7ncEVKU37LWcyNIo= +go.opentelemetry.io/otel/sdk v1.2.0/go.mod h1:jNN8QtpvbsKhgaC6V5lHiejMoKD+V8uadoSafgHPx1U= go.opentelemetry.io/otel/trace v0.18.0/go.mod h1:FzdUu3BPwZSZebfQ1vl5/tAa8LyMLXSJN57AXIt/iDk= go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= -go.opentelemetry.io/otel/trace v1.0.1 h1:StTeIH6Q3G4r0Fiw34LTokUFESZgIDUr0qIJ7mKmAfw= go.opentelemetry.io/otel/trace v1.0.1/go.mod h1:5g4i4fKLaX2BQpSBsxw8YYcgKpMMSW3x7ZTuYBr3sUk= +go.opentelemetry.io/otel/trace v1.2.0 h1:Ys3iqbqZhcf28hHzrm5WAquMkDHNZTUkw7KHbuNjej0= +go.opentelemetry.io/otel/trace v1.2.0/go.mod h1:N5FLswTubnxKxOJHM7XZC074qpeEdLy3CgAVsdMucK0= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.opentelemetry.io/proto/otlp v0.10.0 h1:n7brgtEbDvXEgGyKKo8SobKT1e9FewlDtXzkVP5djoE= +go.opentelemetry.io/proto/otlp v0.10.0/go.mod h1:zG20xCK0szZ1xdokeSOwEcmlXu+x9kkdRe6N1DhKcfU= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -1975,6 +1995,7 @@ golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2224,8 +2245,9 @@ google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAG google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.41.0 h1:f+PlOh7QV4iIJkPrx5NQ7qaNGFQ3OTse67yaDHfju4E= google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= +google.golang.org/grpc v1.42.0 h1:XT2/MFpuPFsEX2fWh3YQtHkZ+WYZFQRfaUgLZYj/p6A= +google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc/examples v0.0.0-20210304020650-930c79186c99 h1:qA8rMbz1wQ4DOFfM2ouD29DG9aHWBm6ZOy9BGxiUMmY= google.golang.org/grpc/examples v0.0.0-20210304020650-930c79186c99/go.mod h1:Ly7ZA/ARzg8fnPU9TyZIxoz33sEUuWX7txiqs8lPTgE= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= diff --git a/internal/driver/config/provider.go b/internal/driver/config/provider.go index b60896769..c566b26ff 100644 --- a/internal/driver/config/provider.go +++ b/internal/driver/config/provider.go @@ -63,6 +63,7 @@ func New(ctx context.Context, flags *pflag.FlagSet, l *logrusx.Logger) (*Config, var err error kp.p, err = configx.New( + ctx, Schema, configx.WithFlags(flags), configx.WithStderrValidationReporter(), diff --git a/proto/ory/keto/acl/v1alpha1/write_service.pb.go b/proto/ory/keto/acl/v1alpha1/write_service.pb.go index fec333aea..1e3035089 100644 --- a/proto/ory/keto/acl/v1alpha1/write_service.pb.go +++ b/proto/ory/keto/acl/v1alpha1/write_service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.19.1 +// protoc v3.13.0 // source: ory/keto/acl/v1alpha1/write_service.proto package acl diff --git a/proto/ory/keto/acl/v1alpha1/write_service_grpc.pb.go b/proto/ory/keto/acl/v1alpha1/write_service_grpc.pb.go index c560a2d20..06ba6d8bf 100644 --- a/proto/ory/keto/acl/v1alpha1/write_service_grpc.pb.go +++ b/proto/ory/keto/acl/v1alpha1/write_service_grpc.pb.go @@ -51,7 +51,7 @@ func (c *writeServiceClient) DeleteRelationTuples(ctx context.Context, in *Delet } // WriteServiceServer is the server API for WriteService service. -// All implementations must embed UnimplementedWriteServiceServer +// All implementations should embed UnimplementedWriteServiceServer // for forward compatibility type WriteServiceServer interface { // Writes one or more relation tuples in a single transaction. @@ -60,7 +60,7 @@ type WriteServiceServer interface { DeleteRelationTuples(context.Context, *DeleteRelationTuplesRequest) (*DeleteRelationTuplesResponse, error) } -// UnimplementedWriteServiceServer must be embedded to have forward compatible implementations. +// UnimplementedWriteServiceServer should be embedded to have forward compatible implementations. type UnimplementedWriteServiceServer struct { } diff --git a/proto/ory/keto/acl/v1alpha1/write_service_grpc_pb.d.ts b/proto/ory/keto/acl/v1alpha1/write_service_grpc_pb.d.ts index a302c8f3b..83dc289cd 100644 --- a/proto/ory/keto/acl/v1alpha1/write_service_grpc_pb.d.ts +++ b/proto/ory/keto/acl/v1alpha1/write_service_grpc_pb.d.ts @@ -10,6 +10,7 @@ import * as ory_keto_acl_v1alpha1_acl_pb from "../../../../ory/keto/acl/v1alpha1 interface IWriteServiceService extends grpc.ServiceDefinition { transactRelationTuples: IWriteServiceService_ITransactRelationTuples; + deleteRelationTuples: IWriteServiceService_IDeleteRelationTuples; } interface IWriteServiceService_ITransactRelationTuples extends grpc.MethodDefinition { @@ -21,17 +22,30 @@ interface IWriteServiceService_ITransactRelationTuples extends grpc.MethodDefini responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } +interface IWriteServiceService_IDeleteRelationTuples extends grpc.MethodDefinition { + path: "/ory.keto.acl.v1alpha1.WriteService/DeleteRelationTuples"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} export const WriteServiceService: IWriteServiceService; export interface IWriteServiceServer { transactRelationTuples: grpc.handleUnaryCall; + deleteRelationTuples: grpc.handleUnaryCall; } export interface IWriteServiceClient { transactRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesRequest, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesResponse) => void): grpc.ClientUnaryCall; transactRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesResponse) => void): grpc.ClientUnaryCall; transactRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesResponse) => void): grpc.ClientUnaryCall; + deleteRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesRequest, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesResponse) => void): grpc.ClientUnaryCall; + deleteRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesResponse) => void): grpc.ClientUnaryCall; + deleteRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesResponse) => void): grpc.ClientUnaryCall; } export class WriteServiceClient extends grpc.Client implements IWriteServiceClient { @@ -39,4 +53,7 @@ export class WriteServiceClient extends grpc.Client implements IWriteServiceClie public transactRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesRequest, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesResponse) => void): grpc.ClientUnaryCall; public transactRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesResponse) => void): grpc.ClientUnaryCall; public transactRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesResponse) => void): grpc.ClientUnaryCall; + public deleteRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesRequest, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesResponse) => void): grpc.ClientUnaryCall; + public deleteRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesResponse) => void): grpc.ClientUnaryCall; + public deleteRelationTuples(request: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesResponse) => void): grpc.ClientUnaryCall; } diff --git a/proto/ory/keto/acl/v1alpha1/write_service_grpc_pb.js b/proto/ory/keto/acl/v1alpha1/write_service_grpc_pb.js index 944a114ab..b81a58e49 100644 --- a/proto/ory/keto/acl/v1alpha1/write_service_grpc_pb.js +++ b/proto/ory/keto/acl/v1alpha1/write_service_grpc_pb.js @@ -5,6 +5,28 @@ var grpc = require('@grpc/grpc-js'); var ory_keto_acl_v1alpha1_write_service_pb = require('../../../../ory/keto/acl/v1alpha1/write_service_pb.js'); var ory_keto_acl_v1alpha1_acl_pb = require('../../../../ory/keto/acl/v1alpha1/acl_pb.js'); +function serialize_ory_keto_acl_v1alpha1_DeleteRelationTuplesRequest(arg) { + if (!(arg instanceof ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesRequest)) { + throw new Error('Expected argument of type ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_ory_keto_acl_v1alpha1_DeleteRelationTuplesRequest(buffer_arg) { + return ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_ory_keto_acl_v1alpha1_DeleteRelationTuplesResponse(arg) { + if (!(arg instanceof ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesResponse)) { + throw new Error('Expected argument of type ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_ory_keto_acl_v1alpha1_DeleteRelationTuplesResponse(buffer_arg) { + return ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_ory_keto_acl_v1alpha1_TransactRelationTuplesRequest(arg) { if (!(arg instanceof ory_keto_acl_v1alpha1_write_service_pb.TransactRelationTuplesRequest)) { throw new Error('Expected argument of type ory.keto.acl.v1alpha1.TransactRelationTuplesRequest'); @@ -44,6 +66,18 @@ transactRelationTuples: { responseSerialize: serialize_ory_keto_acl_v1alpha1_TransactRelationTuplesResponse, responseDeserialize: deserialize_ory_keto_acl_v1alpha1_TransactRelationTuplesResponse, }, + // Deletes relation tuples based on relation query +deleteRelationTuples: { + path: '/ory.keto.acl.v1alpha1.WriteService/DeleteRelationTuples', + requestStream: false, + responseStream: false, + requestType: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesRequest, + responseType: ory_keto_acl_v1alpha1_write_service_pb.DeleteRelationTuplesResponse, + requestSerialize: serialize_ory_keto_acl_v1alpha1_DeleteRelationTuplesRequest, + requestDeserialize: deserialize_ory_keto_acl_v1alpha1_DeleteRelationTuplesRequest, + responseSerialize: serialize_ory_keto_acl_v1alpha1_DeleteRelationTuplesResponse, + responseDeserialize: deserialize_ory_keto_acl_v1alpha1_DeleteRelationTuplesResponse, + }, }; exports.WriteServiceClient = grpc.makeGenericClientConstructor(WriteServiceService); diff --git a/proto/ory/keto/acl/v1alpha1/write_service_pb.d.ts b/proto/ory/keto/acl/v1alpha1/write_service_pb.d.ts index 93615899b..5bca91b2f 100644 --- a/proto/ory/keto/acl/v1alpha1/write_service_pb.d.ts +++ b/proto/ory/keto/acl/v1alpha1/write_service_pb.d.ts @@ -83,3 +83,77 @@ export namespace TransactRelationTuplesResponse { snaptokensList: Array, } } + +export class DeleteRelationTuplesRequest extends jspb.Message { + + hasQuery(): boolean; + clearQuery(): void; + getQuery(): DeleteRelationTuplesRequest.Query | undefined; + setQuery(value?: DeleteRelationTuplesRequest.Query): DeleteRelationTuplesRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DeleteRelationTuplesRequest.AsObject; + static toObject(includeInstance: boolean, msg: DeleteRelationTuplesRequest): DeleteRelationTuplesRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DeleteRelationTuplesRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DeleteRelationTuplesRequest; + static deserializeBinaryFromReader(message: DeleteRelationTuplesRequest, reader: jspb.BinaryReader): DeleteRelationTuplesRequest; +} + +export namespace DeleteRelationTuplesRequest { + export type AsObject = { + query?: DeleteRelationTuplesRequest.Query.AsObject, + } + + + export class Query extends jspb.Message { + getNamespace(): string; + setNamespace(value: string): Query; + getObject(): string; + setObject(value: string): Query; + getRelation(): string; + setRelation(value: string): Query; + + hasSubject(): boolean; + clearSubject(): void; + getSubject(): ory_keto_acl_v1alpha1_acl_pb.Subject | undefined; + setSubject(value?: ory_keto_acl_v1alpha1_acl_pb.Subject): Query; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Query.AsObject; + static toObject(includeInstance: boolean, msg: Query): Query.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Query, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Query; + static deserializeBinaryFromReader(message: Query, reader: jspb.BinaryReader): Query; + } + + export namespace Query { + export type AsObject = { + namespace: string, + object: string, + relation: string, + subject?: ory_keto_acl_v1alpha1_acl_pb.Subject.AsObject, + } + } + +} + +export class DeleteRelationTuplesResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DeleteRelationTuplesResponse.AsObject; + static toObject(includeInstance: boolean, msg: DeleteRelationTuplesResponse): DeleteRelationTuplesResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DeleteRelationTuplesResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DeleteRelationTuplesResponse; + static deserializeBinaryFromReader(message: DeleteRelationTuplesResponse, reader: jspb.BinaryReader): DeleteRelationTuplesResponse; +} + +export namespace DeleteRelationTuplesResponse { + export type AsObject = { + } +} diff --git a/proto/ory/keto/acl/v1alpha1/write_service_pb.js b/proto/ory/keto/acl/v1alpha1/write_service_pb.js index ff271e675..c16fb9d32 100644 --- a/proto/ory/keto/acl/v1alpha1/write_service_pb.js +++ b/proto/ory/keto/acl/v1alpha1/write_service_pb.js @@ -14,6 +14,9 @@ var global = Function('return this')(); var ory_keto_acl_v1alpha1_acl_pb = require('../../../../ory/keto/acl/v1alpha1/acl_pb.js'); goog.object.extend(proto, ory_keto_acl_v1alpha1_acl_pb); +goog.exportSymbol('proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest', null, global); +goog.exportSymbol('proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query', null, global); +goog.exportSymbol('proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse', null, global); goog.exportSymbol('proto.ory.keto.acl.v1alpha1.RelationTupleDelta', null, global); goog.exportSymbol('proto.ory.keto.acl.v1alpha1.RelationTupleDelta.Action', null, global); goog.exportSymbol('proto.ory.keto.acl.v1alpha1.TransactRelationTuplesRequest', null, global); @@ -81,6 +84,69 @@ if (goog.DEBUG && !COMPILED) { */ proto.ory.keto.acl.v1alpha1.TransactRelationTuplesResponse.displayName = 'proto.ory.keto.acl.v1alpha1.TransactRelationTuplesResponse'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.displayName = 'proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.displayName = 'proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.displayName = 'proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse'; +} /** * List of repeated fields within this message type. @@ -587,4 +653,497 @@ proto.ory.keto.acl.v1alpha1.TransactRelationTuplesResponse.prototype.clearSnapto }; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.toObject = function(includeInstance, msg) { + var f, obj = { + query: (f = msg.getQuery()) && proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest; + return proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query; + reader.readMessage(value,proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.deserializeBinaryFromReader); + msg.setQuery(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getQuery(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.toObject = function(opt_includeInstance) { + return proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.toObject = function(includeInstance, msg) { + var f, obj = { + namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), + object: jspb.Message.getFieldWithDefault(msg, 2, ""), + relation: jspb.Message.getFieldWithDefault(msg, 3, ""), + subject: (f = msg.getSubject()) && ory_keto_acl_v1alpha1_acl_pb.Subject.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query; + return proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setNamespace(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setObject(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setRelation(value); + break; + case 4: + var value = new ory_keto_acl_v1alpha1_acl_pb.Subject; + reader.readMessage(value,ory_keto_acl_v1alpha1_acl_pb.Subject.deserializeBinaryFromReader); + msg.setSubject(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNamespace(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getObject(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getRelation(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getSubject(); + if (f != null) { + writer.writeMessage( + 4, + f, + ory_keto_acl_v1alpha1_acl_pb.Subject.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string namespace = 1; + * @return {string} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.getNamespace = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} returns this + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.setNamespace = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string object = 2; + * @return {string} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.getObject = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} returns this + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.setObject = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string relation = 3; + * @return {string} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.getRelation = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} returns this + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.setRelation = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional Subject subject = 4; + * @return {?proto.ory.keto.acl.v1alpha1.Subject} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.getSubject = function() { + return /** @type{?proto.ory.keto.acl.v1alpha1.Subject} */ ( + jspb.Message.getWrapperField(this, ory_keto_acl_v1alpha1_acl_pb.Subject, 4)); +}; + + +/** + * @param {?proto.ory.keto.acl.v1alpha1.Subject|undefined} value + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} returns this +*/ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.setSubject = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} returns this + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.clearSubject = function() { + return this.setSubject(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query.prototype.hasSubject = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional Query query = 1; + * @return {?proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.prototype.getQuery = function() { + return /** @type{?proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query} */ ( + jspb.Message.getWrapperField(this, proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query, 1)); +}; + + +/** + * @param {?proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.Query|undefined} value + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest} returns this +*/ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.prototype.setQuery = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest} returns this + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.prototype.clearQuery = function() { + return this.setQuery(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesRequest.prototype.hasQuery = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse; + return proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ory.keto.acl.v1alpha1.DeleteRelationTuplesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + goog.object.extend(exports, proto.ory.keto.acl.v1alpha1);