Skip to content

Commit

Permalink
chore: remove unused imports
Browse files Browse the repository at this point in the history
This change should have no user impact.

This removes a few unused imports from a few files.

I think this is a useful change on its own, but it should make [an
upcoming change][1] easier too.

[1]: https://github.com/digidem/mapeo-schema/pull/243
  • Loading branch information
EvanHahn committed Sep 3, 2024
1 parent fd52937 commit 86fe883
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions src/encode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import type { SetOptional } from 'type-fest'
import {
type MapeoDocEncode,
type SchemaName,
Expand All @@ -21,7 +20,6 @@ import {
convertTranslation,
convertTrack,
} from './lib/encode-conversions.js'
import { CoreOwnership } from './index.js'
import { ExhaustivenessError } from './lib/utils.js'

/**
Expand Down
7 changes: 1 addition & 6 deletions src/lib/encode-conversions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ import {
type Observation_1_Attachment,
} from '../proto/observation/v1.js'
import { ExhaustivenessError, parseVersionId } from './utils.js'
import {
CoreOwnership,
valueSchemas,
type Observation,
type Track,
} from '../index.js'
import { CoreOwnership, valueSchemas, type Observation } from '../index.js'

/** Function type for converting a protobuf type of any version for a particular
* schema name, and returning the most recent JSONSchema type */
Expand Down

0 comments on commit 86fe883

Please sign in to comment.