@feast-dev/feast-ui
Version:
Web UI for the [Feast Feature Store](https://feast.dev/)
23 lines • 963 B
TypeScript
import { FEAST_FCO_TYPES } from "../parsers/types";
/**
* Get permissions for a specific entity
* @param permissions List of all permissions
* @param entityType Type of the entity
* @param entityName Name of the entity
* @returns List of permissions that apply to the entity
*/
export declare const getEntityPermissions: (permissions: any[] | undefined, entityType: FEAST_FCO_TYPES, entityName: string | null | undefined) => any[];
/**
* Format permissions for display
* @param permissions List of permissions
* @returns Formatted permissions string
*/
export declare const formatPermissions: (permissions: any[] | undefined) => string;
/**
* Filter function for permissions
* @param permissions List of all permissions
* @param action Action to filter by
* @returns Filtered permissions list
*/
export declare const filterPermissionsByAction: (permissions: any[] | undefined, action: string) => any[];
//# sourceMappingURL=permissionUtils.d.ts.map