Skip to content

Commit 1480015

Browse files
committed
wip
1 parent 2fbcd8b commit 1480015

File tree

3 files changed

+355
-191
lines changed

3 files changed

+355
-191
lines changed

src/schema-convertors/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import internalSchemaToStandard from '../internalToStandard';
1+
import internalSchemaToMongoDB from './internalToMongodb';
22
import { Schema as InternalSchema } from '../schema-analyzer';
3-
import { ExtendedJSONSchema, MongoDBJSONSchema } from '../types';
3+
import { ExtendedJSONSchema, StandardJSONSchema } from '../types';
44

5-
function internalSchemaToMongoDB(
5+
function internalSchemaToStandard(
66
internalSchema: InternalSchema,
77
options: {
88
signal?: AbortSignal
9-
}): MongoDBJSONSchema {
10-
// TODO: COMPASS-8701
11-
return {} as MongoDBJSONSchema;
9+
}): StandardJSONSchema {
10+
// TODO: COMPASS-8700
11+
return {} as StandardJSONSchema;
1212
}
1313

1414
function internalSchemaToExtended(

0 commit comments

Comments
 (0)