diff --git a/packages/desktop-types/src/configuration/configurationKind.ts b/packages/desktop-types/src/configuration/configurationKind.ts index 6dad4ff9..850cb143 100644 --- a/packages/desktop-types/src/configuration/configurationKind.ts +++ b/packages/desktop-types/src/configuration/configurationKind.ts @@ -1,5 +1,6 @@ export enum ConfigurationKind { Application = "application", + ApplicationSecurityPolicy = "applicatinSecurityPolicy", External = "external", Service = "service", Session = "session", diff --git a/packages/desktop-types/src/configuration/iApplicationSecurityPolicySpecification.ts b/packages/desktop-types/src/configuration/iApplicationSecurityPolicySpecification.ts new file mode 100644 index 00000000..85cbb890 --- /dev/null +++ b/packages/desktop-types/src/configuration/iApplicationSecurityPolicySpecification.ts @@ -0,0 +1,4 @@ +export interface IApplicationSecurityPolicySpecification { + readonly allowedDomains?: readonly string[]; + readonly blockedDomains?: readonly string[]; +} diff --git a/packages/desktop-types/src/configuration/iConfiguration.ts b/packages/desktop-types/src/configuration/iConfiguration.ts index d68b9a8f..574900c9 100644 --- a/packages/desktop-types/src/configuration/iConfiguration.ts +++ b/packages/desktop-types/src/configuration/iConfiguration.ts @@ -12,9 +12,11 @@ import { IStorageStatus } from "./iStorageStatus"; import { ITraySpecification } from "./iTraySpecification"; import { ITrayStatus } from "./iTrayStatus"; import { IUpdatePolicySpecification } from "./iUpdatePolicySpecification"; +import { IApplicationSecurityPolicySpecification } from "./iApplicationSecurityPolicySpecification"; type Spec = | IApplicationSpecification + | IApplicationSecurityPolicySpecification | IExternalSpecification | IServiceSpecification | ISessionSpecification diff --git a/packages/desktop-types/src/configuration/index.ts b/packages/desktop-types/src/configuration/index.ts index 54250654..44116b64 100644 --- a/packages/desktop-types/src/configuration/index.ts +++ b/packages/desktop-types/src/configuration/index.ts @@ -1,6 +1,7 @@ export * from "./applicationState"; export * from "./configurationKind"; export * from "./iAnnotations"; +export * from "./iApplicationSecurityPolicySpecification"; export * from "./iApplicationSpecification"; export * from "./iApplicationStatus"; export * from "./iConfiguration"; @@ -11,9 +12,11 @@ export * from "./iMetadata"; export * from "./iServiceParameters"; export * from "./iServiceSpecification"; export * from "./iServiceStatus"; +export * from "./iSessionParameters"; export * from "./iSessionSpecification"; -export * from "./iStorageStatus"; +export * from "./iStorageParameters"; export * from "./iStorageSpecification"; +export * from "./iStorageStatus"; export * from "./iTraySpecification"; export * from "./iTrayStatus"; export * from "./iUpdatePolicySpecification";