magic-structure 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import * as decorators from './lib/decorators';
2
- import * as mappers from './lib/mappers';
3
- export { decorators, mappers };
1
+ export { field, fieldName, schema, mapper, value, skip, skipIf } from './lib/decorators';
2
+ export { fromJson, toJson } from './lib/mappers';
package/dist/index.js CHANGED
@@ -1,3 +1,2 @@
1
- import * as decorators from './lib/decorators';
2
- import * as mappers from './lib/mappers';
3
- export { decorators, mappers };
1
+ export { field, fieldName, schema, mapper, value, skip, skipIf } from './lib/decorators';
2
+ export { fromJson, toJson } from './lib/mappers';
package/index.ts CHANGED
@@ -1,4 +1,2 @@
1
- import * as decorators from './lib/decorators'
2
- import * as mappers from './lib/mappers'
3
-
4
- export { decorators, mappers }
1
+ export { field, fieldName, schema, mapper, value, skip, skipIf } from './lib/decorators'
2
+ export { fromJson, toJson } from './lib/mappers'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-structure",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "author": "Vlad Kramarukha",
5
5
  "description": "TS lib for mapping data",
6
6
  "keywords": ["TS", "mapper", "structure", "json", "magic"],