feat(modules): show permissions before installation
This commit is contained in:
@@ -443,6 +443,17 @@ export type ModulePackageArtifactIdentity = {
|
||||
source_commit?: string | null;
|
||||
};
|
||||
|
||||
export type ModulePackagePermissionItem = {
|
||||
scope: string;
|
||||
label: string;
|
||||
description: string;
|
||||
category: string;
|
||||
level: "system" | "tenant";
|
||||
resource: string;
|
||||
action: string;
|
||||
deprecated: boolean;
|
||||
};
|
||||
|
||||
export type ModulePackageCatalogItem = {
|
||||
module_id: string;
|
||||
name: string;
|
||||
@@ -455,6 +466,7 @@ export type ModulePackageCatalogItem = {
|
||||
availability: "available" | "withdrawn";
|
||||
availability_reason?: string | null;
|
||||
configuration_requirements: string[];
|
||||
permissions: ModulePackagePermissionItem[];
|
||||
release_notes_url?: string | null;
|
||||
source?: ModulePackageCatalogSource | null;
|
||||
artifact_integrity: Record<string, ModulePackageArtifactIdentity>;
|
||||
|
||||
Reference in New Issue
Block a user