minor updates to IdLogicalType and IComplianceEntity type defs

This commit is contained in:
Seyi Adebajo 2018-05-21 00:09:26 -07:00
parent d64ce2e202
commit f60c81b7c4
2 changed files with 11 additions and 2 deletions

View File

@ -22,11 +22,20 @@ enum Classification {
* @enum {string}
*/
enum IdLogicalType {
// Numerical format, 12345
Numeric = 'NUMERIC',
// URN format, urn:li:member:12345
Urn = 'URN',
// Reversed URN format, 12345:member:li:urn
ReversedUrn = 'REVERSED_URN',
// [Deprecated] Use CUSTOM format + pattern instead
CompositeUrn = 'COMPOSITE_URN',
Custom = 'CUSTOM'
// Any other non-standard format. A pattern for the value is expected to be provided
Custom = 'CUSTOM',
// Data is stored in reversible encoded/serialized/encrypted format
Encoded = 'ENCODED',
// Data is stored in irreversible hashed format
Hashed = 'HASHED'
}
/**

View File

@ -32,7 +32,7 @@ export interface IComplianceEntity {
// field should also be filtered from persisted policy
readonly readonly?: boolean;
//Optional attribute for the value of a CUSTOM regex. Required for CUSTOM field format
valuePattern?: string;
valuePattern?: string | null;
}
/**