Skip to content

Commit 43d8d3d

Browse files
committed
feat: export schemaDefinitionOptions from pkg
fixes #467
1 parent b113d9c commit 43d8d3d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/SimpleSchema.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import {
2828
import { forEachKeyAncestor, humanize, isEmptyObject } from './utility/index.js'
2929
import ValidationContext from './ValidationContext.js'
3030

31-
// Exported for tests
3231
export const schemaDefinitionOptions = [
3332
'autoValue',
3433
'defaultValue',

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import './clean.js'
22

3-
import { SimpleSchema, ValidationContext } from './SimpleSchema.js'
3+
import { schemaDefinitionOptions, SimpleSchema, ValidationContext } from './SimpleSchema.js'
44
import { toJsonSchema } from './toJsonSchema.js'
55

66
SimpleSchema.ValidationContext = ValidationContext
77

8-
export { toJsonSchema, ValidationContext }
8+
export { schemaDefinitionOptions, toJsonSchema, ValidationContext }
99

1010
export default SimpleSchema

0 commit comments

Comments
 (0)