Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
sammccord authored and github-actions[bot] committed Aug 21, 2024
1 parent ad77e7c commit 0e4eb4c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/utils/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export {
CHAIN_TO_TOKENS,
Chains,
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/src/types/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { EthAddressSchema } from './common'
import {
FilterSchema,
type FilterOperator,
type TransactionFilter
type TransactionFilter,
} from './filters'
import type { MintIntentParams } from './intents'
import { QuestCompletionPayload } from './quests'
Expand Down
7 changes: 6 additions & 1 deletion packages/utils/src/types/filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,12 @@ export const TransactionFilterSchema: z.ZodType<TransactionFilter> = z.record(
)

export type Primitive = string | number | boolean | bigint
export const PrimitiveSchema = z.union([z.string(), z.number(), z.boolean(), z.bigint()])
export const PrimitiveSchema = z.union([
z.string(),
z.number(),
z.boolean(),
z.bigint(),
])

export type FilterObject = {
[key: string]: Filter
Expand Down

0 comments on commit 0e4eb4c

Please sign in to comment.