@productminds/article-events 0.0.4 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productminds/article-events",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  import { Schema } from '@effect/schema';
2
2
  import { ArticleSchema } from '../types/Article';
3
3
 
4
- export const ArticleEventSchema = Schema.Struct({
4
+ const ArticleEventSchema = Schema.Struct({
5
5
  kind: Schema.Literal('ARTICLE_EVENT'),
6
6
  payload: Schema.Struct({
7
7
  article: ArticleSchema,
@@ -15,5 +15,5 @@ const helpers = makeHelpers(ArticleEventSchema);
15
15
 
16
16
  export default {
17
17
  Schema: ArticleEventSchema,
18
- ...makeHelpers
18
+ ...helpers
19
19
  };
@@ -15,5 +15,5 @@ const helpers = makeHelpers(ExternalArticleEventSchema);
15
15
 
16
16
  export default {
17
17
  Schema: ExternalArticleEventSchema,
18
- ...makeHelpers
18
+ ...helpers
19
19
  };
@@ -15,5 +15,5 @@ const helpers = makeHelpers(InternalArticleEvent);
15
15
 
16
16
  export default {
17
17
  Schema: InternalArticleEvent,
18
- ...makeHelpers
18
+ ...helpers
19
19
  };