MCPcopy Index your code
hub / github.com/coder/coder / chatBaseConverter

Function chatBaseConverter

coderd/rbac/regosql/configs.go:77–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func chatBaseConverter() *sqltypes.VariableConverter {
78 return sqltypes.NewVariableConverter().RegisterMatcher(
79 chatResourceIDMatcher(),
80 sqltypes.StringVarMatcher("chats_expanded.organization_id :: text", []string{"input", "object", "org_owner"}),
81 userOwnerMatcher(),
82 )
83}
84
85func AuditLogConverter() *sqltypes.VariableConverter {
86 matcher := sqltypes.NewVariableConverter().RegisterMatcher(

Callers 2

ChatConverterFunction · 0.85
ChatNoACLConverterFunction · 0.85

Calls 5

NewVariableConverterFunction · 0.92
StringVarMatcherFunction · 0.92
chatResourceIDMatcherFunction · 0.85
userOwnerMatcherFunction · 0.85
RegisterMatcherMethod · 0.80

Tested by

no test coverage detected