Skip to content

Commit

Permalink
Merge pull request #2115 from effigies/simpler-import
Browse files Browse the repository at this point in the history
chore: Import schema and base types from @bids/schema/.
  • Loading branch information
effigies authored Aug 29, 2024
2 parents 47d7384 + dbd95d2 commit 2a86a83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bids-validator/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@std/log": "jsr:@std/log@0.224.5",
"@std/path": "jsr:@std/path@1.0.2",
"@ajv": "npm:ajv@8.16.0",
"@bids/schema": "jsr:@bids/schema@0.11.1-dev.2+aa884b7e",
"@bids/schema": "jsr:@bids/schema@0.11.1-dev.4+a73c1b06",
"@cliffy/table": "jsr:@cliffy/table@1.0.0-rc.5",
"@cliffy/command": "jsr:@cliffy/command@1.0.0-rc.5",
"@hed/validator": "npm:hed-validator@3.15.4",
Expand Down
2 changes: 1 addition & 1 deletion bids-validator/src/files/inheritance.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { BIDSFile, FileTree } from '../types/filetree.ts'
import type { Context } from '@bids/schema/context'
import type { Context } from '@bids/schema'
import { readEntities } from '../schema/entities.ts'

export function* walkBack(
Expand Down
2 changes: 1 addition & 1 deletion bids-validator/src/setup/loadSchema.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Schema } from '../types/schema.ts'
import { objectPathHandler } from '../utils/objectPathHandler.ts'
import { default as schemaDefault } from '@bids/schema/schema' with { type: 'json' }
import { schema as schemaDefault } from '@bids/schema'
import { setCustomMetadataFormats } from '../validators/json.ts'

/**
Expand Down

0 comments on commit 2a86a83

Please sign in to comment.