Skip to content

Commit

Permalink
feat: rename routes
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Jul 31, 2023
1 parent 3f94d6b commit 2667129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/core/server/saved_objects/permission_control/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
import { OpenSearchDashboardsRequest } from '../../http';
import { SavedObjectsServiceStart } from '../saved_objects_service';
import { SavedObjectsBulkGetObject } from '../service';
import { PermissionMode } from '../../../utils';

export type SavedObjectsPermissionControlContract = Pick<
SavedObjectsPermissionControl,
keyof SavedObjectsPermissionControl
>;

export type SavedObjectsPermissionModes = PermissionMode | PermissionMode[] | string[];
export type SavedObjectsPermissionModes = string[];

export class SavedObjectsPermissionControl {
private getScopedClient?: SavedObjectsServiceStart['getScopedClient'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const registerListRoute = (
) => {
router.post(
{
path: '/list',
path: '/principles',
validate: {
body: schema.object({
objects: schema.arrayOf(
Expand Down

0 comments on commit 2667129

Please sign in to comment.