Skip to content

Commit

Permalink
Merge pull request #98 from teofilomonteiro/update-type-export
Browse files Browse the repository at this point in the history
export new types use in the list of resources and roles
  • Loading branch information
RazcoDev authored Sep 30, 2024
2 parents 6317248 + 0828ec4 commit 65923e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/api/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ import { BASE_PATH } from '../openapi/base';
import { BasePermitApi, IPaginationExtended, ReturnPaginationType } from './base';
import { ApiContextLevel, ApiKeyLevel } from './context';

export { ResourceCreate, ResourceRead, ResourceReplace, ResourceUpdate } from '../openapi';
export {
ResourceCreate,
ResourceRead,
ResourceReplace,
ResourceUpdate,
PaginatedResultResourceRead,
} from '../openapi';

export interface IResourcesApi {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/api/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { BASE_PATH } from '../openapi/base';
import { BasePermitApi, IPaginationExtended, ReturnPaginationType } from './base';
import { ApiContextLevel, ApiKeyLevel } from './context';

export { RoleCreate, RoleRead, RoleUpdate } from '../openapi';
export { RoleCreate, RoleRead, RoleUpdate, PaginatedResultRoleRead } from '../openapi';

export interface IRolesApi {
/**
Expand Down

0 comments on commit 65923e7

Please sign in to comment.