Skip to content

Commit 8e02165

Browse files
dusk125cloutiertylerbfops
authored
Export AuthCtx and JwtClaims in stdb/server typescript sdk (#4649)
# Description of Changes Exports AuthCtx and JwtClaims so that they can be used in helper functions for checking authentication. # API and ABI breaking changes None # Expected complexity level and risk 1 # Testing None, similar to #4567, just adding more exports Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com> Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
1 parent b974cb7 commit 8e02165

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/bindings-typescript/src/server

crates/bindings-typescript/src/server/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export {
88
export { CaseConversionPolicy } from '../lib/autogen/types';
99
export { table } from '../lib/table';
1010
export { SenderError, SpacetimeHostError, errors } from './errors';
11-
export type { Reducer, ReducerCtx } from '../lib/reducers';
11+
export type { Reducer, ReducerCtx, JwtClaims, AuthCtx } from '../lib/reducers';
1212
export type { ReducerExport } from './reducers';
1313
export { type DbView } from './db_view';
1414
export * from './query';

0 commit comments

Comments
 (0)