framework-do-dede 3.0.2 → 3.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.
@@ -1,6 +1,6 @@
1
1
  import { Controller, Post, Get, Put, Delete, Patch, UseMiddleware, UseMiddlewares, Tracing, type Middleware, type Input, type Tracer, type TracerData } from './controller';
2
2
  import { type EntityIdentifier, Entity, Restrict, VirtualProperty, Serialize, GetterPrefix, Id } from './entity';
3
- import { DecorateUseCase, type UseCase } from './usecase';
4
- import { Storage } from './services';
5
- export { Controller, UseMiddleware, UseMiddlewares, Post, Get, Put, Delete, Patch, Tracing, DecorateUseCase, Storage, Entity, Restrict, VirtualProperty, Serialize, GetterPrefix, Id };
6
- export type { Middleware, Input, UseCase, Tracer, TracerData, EntityIdentifier };
3
+ import { DecorateUseCase, UseCase } from './usecase';
4
+ import { Storage, type StorageGateway } from './services';
5
+ export { Controller, UseMiddleware, UseMiddlewares, Post, Get, Put, Delete, Patch, Tracing, DecorateUseCase, UseCase, Storage, Entity, Restrict, VirtualProperty, Serialize, GetterPrefix, Id, };
6
+ export type { Middleware, Input, StorageGateway, Tracer, TracerData, EntityIdentifier };
@@ -1,5 +1,5 @@
1
1
  import { Controller, Post, Get, Put, Delete, Patch, UseMiddleware, UseMiddlewares, Tracing } from './controller';
2
2
  import { Entity, Restrict, VirtualProperty, Serialize, GetterPrefix, Id } from './entity';
3
- import { DecorateUseCase } from './usecase';
3
+ import { DecorateUseCase, UseCase } from './usecase';
4
4
  import { Storage } from './services';
5
- export { Controller, UseMiddleware, UseMiddlewares, Post, Get, Put, Delete, Patch, Tracing, DecorateUseCase, Storage, Entity, Restrict, VirtualProperty, Serialize, GetterPrefix, Id };
5
+ export { Controller, UseMiddleware, UseMiddlewares, Post, Get, Put, Delete, Patch, Tracing, DecorateUseCase, UseCase, Storage, Entity, Restrict, VirtualProperty, Serialize, GetterPrefix, Id, };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { Post, Get, Put, Delete, Patch, Controller, Input, Middleware, UseMiddleware, UseMiddlewares, Tracer, Tracing, TracerData, EntityIdentifier, Entity, Restrict, VirtualProperty, GetterPrefix, Serialize, Id, UseCase, DecorateUseCase, Storage } from "./application";
1
+ import { Post, Get, Put, Delete, Patch, Controller, Input, Middleware, UseMiddleware, UseMiddlewares, Tracer, Tracing, TracerData, EntityIdentifier, Entity, Restrict, VirtualProperty, GetterPrefix, Serialize, Id, UseCase, DecorateUseCase, Storage, StorageGateway } from "./application";
2
2
  import { Inject } from './infra/di/registry';
3
- export { Controller, Post, Get, Put, Delete, Patch, Input, Middleware, UseMiddleware, UseMiddlewares, Tracer, Tracing, TracerData, EntityIdentifier, Entity, Restrict, VirtualProperty, GetterPrefix, Serialize, Id, UseCase, DecorateUseCase, Storage, Inject };
3
+ export { Controller, Post, Get, Put, Delete, Patch, Input, Middleware, UseMiddleware, UseMiddlewares, Tracer, Tracing, TracerData, EntityIdentifier, Entity, Restrict, VirtualProperty, GetterPrefix, Serialize, Id, UseCase, DecorateUseCase, Storage, StorageGateway, Inject };
package/dist/index.js CHANGED
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  // controller
3
- Post, Get, Put, Delete, Patch, Controller, UseMiddleware, UseMiddlewares, Tracing, Entity, Restrict, VirtualProperty, GetterPrefix, Serialize, Id, DecorateUseCase,
3
+ Post, Get, Put, Delete, Patch, Controller, UseMiddleware, UseMiddlewares, Tracing, Entity, Restrict, VirtualProperty, GetterPrefix, Serialize, Id,
4
+ // entity
5
+ // usecase
6
+ UseCase, DecorateUseCase,
4
7
  // usecase
5
8
  // storage
6
- Storage
7
- // storage
8
- } from "./application";
9
+ Storage } from "./application";
9
10
  import { Inject } from './infra/di/registry';
10
- export { Controller, Post, Get, Put, Delete, Patch, UseMiddleware, UseMiddlewares, Tracing, Entity, Restrict, VirtualProperty, GetterPrefix, Serialize, Id, DecorateUseCase, Storage, Inject };
11
+ export { Controller, Post, Get, Put, Delete, Patch, UseMiddleware, UseMiddlewares, Tracing, Entity, Restrict, VirtualProperty, GetterPrefix, Serialize, Id, UseCase, DecorateUseCase, Storage, Inject };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framework-do-dede",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",