mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-17 11:58:10 +00:00
minor updates to IdLogicalType and IComplianceEntity type defs
This commit is contained in:
parent
d64ce2e202
commit
f60c81b7c4
@ -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'
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user