Skip to content

Commit 3176d11

Browse files
committed
feat: added Agent and refactored routing code /2
BREAKING-CHANGE: URI type now has generic props
1 parent 0e27f1e commit 3176d11

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

packages/easy/src/services/RouteGateway.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Func } from '../types/Func';
44
import { Uri, UriExpandProps } from '../types/Uri';
55
import { PageList } from '../types/PageList';
66
import { Json, JsonValue } from '../types/Json';
7-
import { HasId, Id } from '../types/Id';
7+
import { Id } from '../types/Id';
88
import { Optional } from '../types/Types';
99
import { List } from '../types/List';
1010
import { toArray } from '../types/Array';

packages/easy/test/services/RouteGateway.test.ts

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
1-
import {
2-
Api,
3-
cache,
4-
EasyUri,
5-
Func,
6-
HttpStatus,
7-
Request,
8-
RequestOptions,
9-
Response,
10-
RouteGateway,
11-
Store,
12-
toList,
13-
toPageList,
14-
toResponse,
15-
uri,
16-
UriExpandProps,
17-
} from '../../src';
1+
import { Api, cache, EasyUri, Func, HttpStatus, Request, RequestOptions, Response, RouteGateway, Store, toList, toPageList, toResponse, uri } from '../../src';
182
import { Dev, DevUri } from '../ref';
193
import { fits, mock } from '@thisisagile/easy-test';
204

0 commit comments

Comments
 (0)