@nexia/sdk 0.8.20 → 0.8.22

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.
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.21
4
+ date: 2026-11-05
5
+ title: User-task form context
6
+ description: Show host-provided task context in process forms.
7
+ ---
8
+
9
+ Process form widgets can receive optional `taskContext`, including the current sequential work item. Existing widgets remain compatible. Treat it as display context and keep server-side authorization and validation. Adopt matching Core support before relying on the field. See the [Business Process contracts](https://developers.nexia.to/docs/app-sdk-business-process-contracts) and [npm package](https://www.npmjs.com/package/@nexia/sdk/v/0.8.21).
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.21
4
+ date: 2026-11-05
5
+ title: 사용자 작업 폼 컨텍스트
6
+ description: 프로세스 폼에서 호스트가 제공한 작업 컨텍스트를 표시합니다.
7
+ ---
8
+
9
+ 프로세스 폼 위젯은 현재 순차 작업 항목 등을 담은 선택적 `taskContext`를 받을 수 있습니다. 기존 위젯은 호환됩니다. 화면 표시용 컨텍스트로 사용하고 서버의 권한 및 입력 검사를 유지하세요. 이 필드에 의존하기 전에 대응 Core를 적용하세요. [업무 프로세스 계약](https://developers.nexia.to/ko/docs/app-sdk-business-process-contracts)과 [npm 패키지](https://www.npmjs.com/package/@nexia/sdk/v/0.8.21)를 참고하세요.
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.22
4
+ date: 2026-11-06
5
+ title: Dashboard Legal Entity selection
6
+ description: Dashboard Legal Entity selection
7
+ ---
8
+
9
+ Widget runtimes can expose selected Legal Entity IDs through optional `legalEntityPublicIds`. Adopt the matching Core host and PHP SDK. See the [dashboard guide](https://developers.nexia.to/docs/platform-extensions-add-dashboard-widget) and [npm package](https://www.npmjs.com/package/@nexia/sdk/v/0.8.22).
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.22
4
+ date: 2026-11-06
5
+ title: 대시보드 법인 선택
6
+ description: 대시보드 법인 선택
7
+ ---
8
+
9
+ 위젯 런타임은 선택적 `legalEntityPublicIds`로 선택된 법인 ID를 제공할 수 있습니다. 대응하는 Core 호스트와 PHP SDK가 필요합니다. [대시보드 안내](https://developers.nexia.to/ko/docs/platform-extensions-add-dashboard-widget)와 [npm 패키지](https://www.npmjs.com/package/@nexia/sdk/v/0.8.22)를 참고하세요.
@@ -39,3 +39,7 @@ version is declared by this draft. See the
39
39
  [frontend host guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts).
40
40
 
41
41
  `NxOrganizationTargetSelector` also accepts `operatingUnitPicker="lookup"` in combined Legal Entity/Operating Unit mode. It changes only the Operating Unit picker and requires the matching host. See the [frontend host guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts#dedicated-lookup-fields).
42
+
43
+ ## Dashboard legal-entity selection
44
+
45
+ Widget runtimes can expose the selected legal entities through `legalEntityPublicIds`. Adopt the matching Core host and PHP SDK before using it. See the [dashboard guide](https://developers.nexia.to/docs/platform-extensions-add-dashboard-widget).
@@ -38,3 +38,7 @@ status: draft
38
38
  [프런트엔드 호스트 가이드](https://developers.nexia.to/ko/docs/app-sdk-frontend-host-contracts)에 있습니다.
39
39
 
40
40
  `NxOrganizationTargetSelector`의 법인·운영조직 모드에 `operatingUnitPicker="lookup"`을 지정하면 운영조직 부분만 조회 팝업으로 표시합니다. 대응하는 호스트가 필요합니다. [프런트엔드 호스트 가이드](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts#dedicated-lookup-fields)를 참고하세요.
41
+
42
+ ## 대시보드 법인 선택
43
+
44
+ 위젯 런타임은 `legalEntityPublicIds`로 선택된 법인을 제공할 수 있습니다. 사용하기 전에 대응하는 Core 호스트와 PHP SDK를 적용하세요. [대시보드 안내](https://developers.nexia.to/ko/docs/platform-extensions-add-dashboard-widget)를 참고하세요.
package/dist/host.d.ts CHANGED
@@ -488,6 +488,7 @@ export declare function useAgentToolDataInvalidation(enabled?: boolean): void;
488
488
  export interface WidgetQueryRuntime {
489
489
  readonly tenantId: string;
490
490
  readonly legalEntityPublicId: string | null;
491
+ readonly legalEntityPublicIds?: readonly string[];
491
492
  readonly timezone: string;
492
493
  readonly supportsRealtimeInvalidation: boolean;
493
494
  query<TResponse = unknown>(tool: string, args?: Record<string, unknown>, signal?: AbortSignal): Promise<TResponse>;
package/dist/process.d.ts CHANGED
@@ -75,6 +75,8 @@ export interface ProcessUserTaskFormSlotPropsV1 {
75
75
  stateVersion: number;
76
76
  };
77
77
  resourceRef: ProcessUserTaskResourceRef | null;
78
+ /** Read-only activity data frozen by the host at task activation. */
79
+ taskContext?: Record<string, unknown>;
78
80
  registerController: (controller: ProcessUserTaskFormController | null) => void;
79
81
  }
80
82
  export type ProcessUserTaskFormWidgetLoader = () => Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.8.20",
3
+ "version": "0.8.22",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",