yeah, I see it in the typescript, but I don't thin...
# spicedb
s
yeah, I see it in the typescript, but I don't think its exported via anything in the common js.
https://github.com/authzed/authzed-node/blob/v1.1.1/src/index.ts
This just re-exports v1. But I don't think
v1
exports the error reasons. un less I'm just looking completely at the wrong thing
Copy code
var authzed = require('@authzed/authzed-node')
Object.keys(authzed.v1).sort().filter(name => (/^e/i).match(name))

[
  'ExpCaveat',
  'ExpCaveatParameter',
  'ExpCaveatParameterTypeChange',
  'ExpDefinition',
  'ExpPermission',
  'ExpRelation',
  'ExpRelationReference',
  'ExpRelationSubjectTypeChange',
  'ExpSchemaDiff',
  'ExpSchemaFilter',
  'ExpTypeReference',
  'ExpandPermissionTreeRequest',
  'ExpandPermissionTreeResponse',
  'ExperimentalComputablePermissionsRequest',
  'ExperimentalComputablePermissionsResponse',
  'ExperimentalCountRelationshipsRequest',
  'ExperimentalCountRelationshipsResponse',
  'ExperimentalDependentRelationsRequest',
  'ExperimentalDependentRelationsResponse',
  'ExperimentalDiffSchemaRequest',
  'ExperimentalDiffSchemaResponse',
  'ExperimentalReflectSchemaRequest',
  'ExperimentalReflectSchemaResponse',
  'ExperimentalRegisterRelationshipCounterRequest',
  'ExperimentalRegisterRelationshipCounterResponse',
  'ExperimentalService',
  'ExperimentalServiceClient',
  'ExperimentalUnregisterRelationshipCounterRequest',
  'ExperimentalUnregisterRelationshipCounterResponse',
  'ExportBulkRelationshipsRequest',
  'ExportBulkRelationshipsResponse'
]