@nexia/sdk 0.6.2 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -51,6 +51,14 @@ interface OrganizationTargetSelectorBaseProps {
|
|
|
51
51
|
/** Host-localized organization target controls for the supported page-scope modes. */
|
|
52
52
|
export type NxOrganizationTargetSelectorProps = (OrganizationTargetSelectorBaseProps & {
|
|
53
53
|
mode: 'legal-entity-list';
|
|
54
|
+
/** Opt in only when the endpoint supports company-wide and legal-entity records.
|
|
55
|
+
* This selects record scope, not a Legal Entity or an authorization grant.
|
|
56
|
+
* The owning page must persist it and send it to its validated query.
|
|
57
|
+
*/
|
|
58
|
+
recordScope?: {
|
|
59
|
+
value: 'all' | 'tenant' | 'legal_entity';
|
|
60
|
+
onChange: (value: 'all' | 'tenant' | 'legal_entity') => void;
|
|
61
|
+
};
|
|
54
62
|
options: readonly OrganizationTargetSelectorOption[];
|
|
55
63
|
value: readonly string[];
|
|
56
64
|
onChange: (legalEntityPublicIds: string[]) => void;
|