kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
export policyitem for use in policy manager
rodzic
86f840f15d
commit
c87c17546d
|
@ -11,7 +11,7 @@ export interface FieldItem {
|
||||||
default?: any;
|
default?: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PolicyItem {
|
export interface PolicyItem {
|
||||||
internalName: string;
|
internalName: string;
|
||||||
name: string;
|
name: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
|
@ -20,12 +20,12 @@ interface PolicyItem {
|
||||||
|
|
||||||
type ParamValue = string | number | boolean;
|
type ParamValue = string | number | boolean;
|
||||||
|
|
||||||
interface PolicySpecItem {
|
export interface PolicySpecItem {
|
||||||
name: string;
|
name: string;
|
||||||
params?: Record<string, ParamValue | ParamValue[]>;
|
params?: Record<string, ParamValue | ParamValue[]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PolicySpec {
|
export interface PolicySpec {
|
||||||
policies: PolicySpecItem[];
|
policies: PolicySpecItem[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue