@http-forge/core 0.2.14 → 0.2.15
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/README.md +6 -0
- package/dist/index.js +116 -116
- package/dist/index.mjs +114 -114
- package/dist/infrastructure/collection/collection-service.d.ts +3 -0
- package/dist/infrastructure/collection/collection-store.d.ts +5 -1
- package/dist/infrastructure/collection/folder-collection-store.d.ts +4 -0
- package/dist/infrastructure/collection/folder-io.d.ts +1 -0
- package/dist/infrastructure/collection/json-collection-loader.d.ts +5 -0
- package/dist/types/collection.d.ts +2 -0
- package/package.json +1 -1
- package/dist/application/dto/index.d.ts +0 -8
- package/dist/application/dto/request-dtos.d.ts +0 -105
- package/dist/application/dto/response-dtos.d.ts +0 -185
- package/dist/application/events/application-events.d.ts +0 -53
- package/dist/application/events/index.d.ts +0 -6
- package/dist/application/index.d.ts +0 -25
- package/dist/application/mappers/collection-mapper.d.ts +0 -39
- package/dist/application/mappers/execution-result-mapper.d.ts +0 -16
- package/dist/application/mappers/index.d.ts +0 -9
- package/dist/application/mappers/request-mapper.d.ts +0 -29
- package/dist/application/queries/get-request-schema.query.d.ts +0 -32
- package/dist/application/queries/index.d.ts +0 -6
- package/dist/application/use-cases/create-request.use-case.d.ts +0 -23
- package/dist/application/use-cases/delete-request.use-case.d.ts +0 -15
- package/dist/application/use-cases/execute-request.use-case.d.ts +0 -46
- package/dist/application/use-cases/export-collection.use-case.d.ts +0 -22
- package/dist/application/use-cases/get-collection.use-case.d.ts +0 -13
- package/dist/application/use-cases/index.d.ts +0 -12
- package/dist/application/use-cases/list-requests.use-case.d.ts +0 -14
- package/dist/application/use-cases/load-collection.use-case.d.ts +0 -30
- package/dist/application/use-cases/save-collection.use-case.d.ts +0 -25
- package/dist/application/use-cases/update-request.use-case.d.ts +0 -17
- package/dist/domain/errors/domain-errors.d.ts +0 -52
- package/dist/domain/errors/index.d.ts +0 -4
- package/dist/domain/index.d.ts +0 -24
- package/dist/domain/models/execution.d.ts +0 -88
- package/dist/domain/models/index.d.ts +0 -4
- package/dist/domain/services/domain-events.d.ts +0 -60
- package/dist/domain/services/execution-planner.domain-service.d.ts +0 -40
- package/dist/domain/services/index.d.ts +0 -9
- package/dist/domain/services/schema-inference.domain-service.d.ts +0 -54
- package/dist/domain/value-objects/entity-id.d.ts +0 -26
- package/dist/domain/value-objects/http-method.d.ts +0 -30
- package/dist/domain/value-objects/index.d.ts +0 -9
- package/dist/domain/value-objects/request-url.d.ts +0 -28
- package/dist/infrastructure/adapters/index.d.ts +0 -5
- package/dist/infrastructure/adapters/logger.adapter.d.ts +0 -25
- package/dist/infrastructure/adapters/node-file-system.adapter.d.ts +0 -18
- package/dist/infrastructure/di/complete-bootstrap.d.ts +0 -24
- package/dist/infrastructure/di/index.d.ts +0 -6
- package/dist/infrastructure/di/infrastructure-di-config.d.ts +0 -33
- package/dist/infrastructure/di/simple-event-publisher.d.ts +0 -17
- package/dist/infrastructure/environment/interfaces.d.ts +0 -139
- package/dist/infrastructure/http/index.d.ts +0 -4
- package/dist/infrastructure/http/node-http-executor.adapter.d.ts +0 -25
- package/dist/infrastructure/index.d.ts +0 -31
- package/dist/infrastructure/persistence/file-system-history-loader.d.ts +0 -31
- package/dist/infrastructure/persistence/index.d.ts +0 -6
- package/dist/infrastructure/repositories/file-system/fs-collection-repository.d.ts +0 -72
- package/dist/infrastructure/repositories/file-system/fs-environment-file-loader.adapter.d.ts +0 -41
- package/dist/infrastructure/repositories/file-system/fs-environment-repository.d.ts +0 -34
- package/dist/infrastructure/repositories/file-system/fs-request-repository.d.ts +0 -31
- package/dist/infrastructure/repositories/file-system/index.d.ts +0 -7
- package/dist/infrastructure/repositories/in-memory/in-memory-collection-repository.d.ts +0 -18
- package/dist/infrastructure/repositories/in-memory/in-memory-environment-repository.d.ts +0 -25
- package/dist/infrastructure/repositories/in-memory/in-memory-request-repository.d.ts +0 -25
- package/dist/infrastructure/repositories/in-memory/index.d.ts +0 -7
- package/dist/infrastructure/script/index.d.ts +0 -4
- package/dist/infrastructure/script/vm-script-executor.adapter.d.ts +0 -19
- package/dist/infrastructure/test-suite/index.d.ts +0 -10
- package/dist/ports/executors/index.d.ts +0 -5
- package/dist/ports/external/file-system.interface.d.ts +0 -44
- package/dist/ports/external/http-client.interface.d.ts +0 -25
- package/dist/ports/external/index.d.ts +0 -7
- package/dist/ports/index.d.ts +0 -17
- package/dist/ports/parsers/index.d.ts +0 -4
- package/dist/ports/repositories/collection-repository.interface.d.ts +0 -32
- package/dist/ports/repositories/environment-repository.interface.d.ts +0 -31
- package/dist/ports/repositories/index.d.ts +0 -6
- package/dist/ports/repositories/request-repository.interface.d.ts +0 -32
- package/dist/ports/storage/cache-store.interface.d.ts +0 -26
- package/dist/ports/storage/history-loader.interface.d.ts +0 -37
- package/dist/ports/storage/index.d.ts +0 -5
package/README.md
CHANGED
|
@@ -727,6 +727,12 @@ MIT © Henry Huang
|
|
|
727
727
|
|
|
728
728
|
## 📝 Changelog
|
|
729
729
|
|
|
730
|
+
### 0.2.16 (Duplicate Collection & Folder)
|
|
731
|
+
|
|
732
|
+
- ✅ **`duplicateCollection(sourceId, newName)`** — Duplicates a collection including all nested folders, requests, scripts, and schemas
|
|
733
|
+
- ✅ **`duplicateFolder(collectionId, folderId, newName)`** — Duplicates a folder within a collection, preserving all nested request content
|
|
734
|
+
- ✅ **`getItemPath(collectionId, itemId)`** — Resolves the disk path of a folder or request within a collection
|
|
735
|
+
|
|
730
736
|
### 0.2.5 (OpenAPI Constraint Round-Trip & Collision Merging)
|
|
731
737
|
|
|
732
738
|
- ✅ **Full parameter constraint round-trip** — OpenAPI import/export now preserves all schema constraint fields: `pattern`, `minimum`, `maximum`, `exclusiveMinimum`, `exclusiveMaximum`, `minLength`, `maxLength`, and `oneOf` on both `KeyValueEntry` and `PathParamEntry`
|