Skip to content

Commit

Permalink
fix: contextParamSchema is already exported by context.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cygnusv committed Oct 24, 2024
1 parent 2e35984 commit f2744d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/taco/src/conditions/schemas/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import {
} from '@nucypher/taco-auth';
import { Primitive, z, ZodLiteral } from 'zod';

import { CONTEXT_PARAM_PREFIX, CONTEXT_PARAM_REGEXP } from '../const';

export const contextParamSchema = z.string().regex(CONTEXT_PARAM_REGEXP);
import { CONTEXT_PARAM_PREFIX } from '../const';

// We want to discriminate between ContextParams and plain strings
// If a string starts with `:`, it's a ContextParam
Expand Down

0 comments on commit f2744d4

Please sign in to comment.