Skip to content

Commit 65923e7

Browse files
authored
Merge pull request #98 from teofilomonteiro/update-type-export
export new types use in the list of resources and roles
2 parents 6317248 + 0828ec4 commit 65923e7

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/api/resources.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ import { BASE_PATH } from '../openapi/base';
1414
import { BasePermitApi, IPaginationExtended, ReturnPaginationType } from './base';
1515
import { ApiContextLevel, ApiKeyLevel } from './context';
1616

17-
export { ResourceCreate, ResourceRead, ResourceReplace, ResourceUpdate } from '../openapi';
17+
export {
18+
ResourceCreate,
19+
ResourceRead,
20+
ResourceReplace,
21+
ResourceUpdate,
22+
PaginatedResultResourceRead,
23+
} from '../openapi';
1824

1925
export interface IResourcesApi {
2026
/**

src/api/roles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { BASE_PATH } from '../openapi/base';
1313
import { BasePermitApi, IPaginationExtended, ReturnPaginationType } from './base';
1414
import { ApiContextLevel, ApiKeyLevel } from './context';
1515

16-
export { RoleCreate, RoleRead, RoleUpdate } from '../openapi';
16+
export { RoleCreate, RoleRead, RoleUpdate, PaginatedResultRoleRead } from '../openapi';
1717

1818
export interface IRolesApi {
1919
/**

0 commit comments

Comments
 (0)