@nexia/sdk 0.8.21 → 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.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.8.21",
3
+ "version": "0.8.22",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",