@nexia/sdk 0.8.0 → 0.8.1

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.
@@ -155,6 +155,9 @@ export interface ApprovalBusinessFormSlotPropsV2 {
155
155
  binding: ApprovalBusinessFormBinding;
156
156
  subject?: ApprovalBusinessFormSubject;
157
157
  appDraftRef?: string | null;
158
+ /** Source resource identity for an opted-in copy. Authorize in the App and
159
+ * import allowed fields into a new draft; never treat it as appDraftRef. */
160
+ copySourceResourceId?: string | null;
158
161
  registerController: (controller: ApprovalBusinessFormController | null) => void;
159
162
  }
160
163
  export type ApprovalBusinessFormWidgetLoader = () => Promise<{
@@ -48,7 +48,11 @@ interface OrganizationTargetSelectorBaseProps {
48
48
  /** A non-ready scope is a status summary, never an implicit "all" selector. */
49
49
  status?: 'loading' | 'invalid' | 'unavailable';
50
50
  }
51
- /** Host-localized organization target controls for the supported page-scope modes. */
51
+ /** Host-localized page-scope controls. A valid axis with only one choice is hidden.
52
+ * Loading, invalid and unavailable states remain visible. A sole Operating Unit
53
+ * does not require a selector, including an unfiltered read across its Legal Entity.
54
+ * Visibility never changes query values or record ownership.
55
+ */
52
56
  export type NxOrganizationTargetSelectorProps = (OrganizationTargetSelectorBaseProps & {
53
57
  mode: 'legal-entity-list';
54
58
  /** Opt in only when the endpoint supports company-wide and legal-entity records.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",