Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
paula-stacho committed Jan 20, 2025
1 parent 6fa7fbb commit 7145c0c
Show file tree
Hide file tree
Showing 4 changed files with 357 additions and 193 deletions.
12 changes: 6 additions & 6 deletions src/schema-convertors/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import internalSchemaToStandard from './internalToStandard';
import { Schema as InternalSchema } from '../schema-analyzer';
import { ExtendedJSONSchema, MongodbJSONSchema } from '../types';
import { ExtendedJSONSchema, MongodbJSONSchema, StandardJSONSchema } from '../types';

Check warning on line 2 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (macos-latest, 20.x)

'MongodbJSONSchema' is defined but never used

Check warning on line 2 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest, 18.x)

'MongodbJSONSchema' is defined but never used

Check warning on line 2 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest, 20.x)

'MongodbJSONSchema' is defined but never used

Check warning on line 2 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (macos-latest, 16.x)

'MongodbJSONSchema' is defined but never used

Check warning on line 2 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest, 16.x)

'MongodbJSONSchema' is defined but never used

Check warning on line 2 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (macos-latest, 18.x)

'MongodbJSONSchema' is defined but never used

Check warning on line 2 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (windows-latest, 20.x)

'MongodbJSONSchema' is defined but never used

Check warning on line 2 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (windows-latest, 18.x)

'MongodbJSONSchema' is defined but never used

Check warning on line 2 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (windows-latest, 16.x)

'MongodbJSONSchema' is defined but never used
import internalSchemaToMongodb from './internalToMongodb';

function internalSchemaToMongodb(
function internalSchemaToStandard(
internalSchema: InternalSchema,

Check warning on line 6 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (macos-latest, 20.x)

'internalSchema' is defined but never used

Check warning on line 6 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest, 18.x)

'internalSchema' is defined but never used

Check warning on line 6 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest, 20.x)

'internalSchema' is defined but never used

Check warning on line 6 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (macos-latest, 16.x)

'internalSchema' is defined but never used

Check warning on line 6 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest, 16.x)

'internalSchema' is defined but never used

Check warning on line 6 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (macos-latest, 18.x)

'internalSchema' is defined but never used

Check warning on line 6 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (windows-latest, 20.x)

'internalSchema' is defined but never used

Check warning on line 6 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (windows-latest, 18.x)

'internalSchema' is defined but never used

Check warning on line 6 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (windows-latest, 16.x)

'internalSchema' is defined but never used
options: {

Check warning on line 7 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (macos-latest, 20.x)

'options' is defined but never used

Check warning on line 7 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest, 18.x)

'options' is defined but never used

Check warning on line 7 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest, 20.x)

'options' is defined but never used

Check warning on line 7 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (macos-latest, 16.x)

'options' is defined but never used

Check warning on line 7 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest, 16.x)

'options' is defined but never used

Check warning on line 7 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (macos-latest, 18.x)

'options' is defined but never used

Check warning on line 7 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (windows-latest, 20.x)

'options' is defined but never used

Check warning on line 7 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (windows-latest, 18.x)

'options' is defined but never used

Check warning on line 7 in src/schema-convertors/index.ts

View workflow job for this annotation

GitHub Actions / Test (windows-latest, 16.x)

'options' is defined but never used
signal?: AbortSignal
}): MongodbJSONSchema {
// TODO: COMPASS-8701
return {} as MongodbJSONSchema;
}): StandardJSONSchema {
// TODO: COMPASS-8700
return {} as StandardJSONSchema;
}

function internalSchemaToExtended(
Expand Down
Loading

0 comments on commit 7145c0c

Please sign in to comment.