X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Finterfaces%2Fpolicy.types.ts;h=9688a23de2e4afc96d3dd2e4672a23f6e74ae68b;hb=refs%2Fchanges%2F09%2F5509%2F3;hp=b6ecce62018678ff8291be4153293c3ac74366c5;hpb=f507d92d55ee77fad16cc024ea95c869e0d5dc32;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/src/app/interfaces/policy.types.ts b/webapp-frontend/src/app/interfaces/policy.types.ts index b6ecce6..9688a23 100644 --- a/webapp-frontend/src/app/interfaces/policy.types.ts +++ b/webapp-frontend/src/app/interfaces/policy.types.ts @@ -20,19 +20,34 @@ // Models of data used by the Policy Control -export interface PolicyType { +export interface PolicyTypeSchema { + id: string; name: string; - schema: string; schemaObject: any; } +export interface PolicyType { + policy_schema: any; +} + +export interface PolicyTypes { + policytype_ids: any[]; +} + +export interface PolicyInstances { + policy_ids: any[]; +} + export interface PolicyInstance { - id: string; - json: string; - ric: string; - service: string; + policy_id: string; + policy_data: string; + ric_id: string; + service_id: string; lastModified: string; } +export interface PolicyStatus { + last_modified: string; +} export interface PolicyInstanceAck { status: string;