@nexia/sdk 0.8.26 → 0.9.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.
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.9.0
|
|
4
|
+
date: 2026-11-17
|
|
5
|
+
title: Stopped data migration status
|
|
6
|
+
description: Adds a distinct status for user-stopped imports.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
`DataMigrationRunStatus` includes `cancelled` for an import stopped by its user. Apps that exhaustively handle run states must handle the new value. A compatible Core host is required to produce it. See [Import and export](https://developers.nexia.to/docs/building-apps-import-and-export).
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.9.0
|
|
4
|
+
date: 2026-11-17
|
|
5
|
+
title: 중단된 데이터 마이그레이션 상태
|
|
6
|
+
description: 사용자가 중단한 가져오기에 별도 상태를 추가합니다.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
사용자가 가져오기를 중단하면 `DataMigrationRunStatus`의 `cancelled` 상태로 기록할 수 있습니다. 실행 상태를 빠짐없이 분기하는 앱은 이 값을 처리해야 합니다. 실제 상태 기록에는 호환 Core 호스트가 필요합니다. [가져오기 및 내보내기](https://developers.nexia.to/ko/docs/building-apps-import-and-export)를 참고하세요.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.9.1
|
|
4
|
+
date: 2026-11-18
|
|
5
|
+
title: Cross-page import setup
|
|
6
|
+
description: Load authorized import choices across pages.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Dataset import workspaces can expose `loadAllChoices` for setup across pages and `paginatePlanChoices` to control choice presentation. Adopt the matching Core host before use; the callback may be absent on older hosts. See the [import guide](https://developers.nexia.to/docs/building-apps-import-and-export).
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.9.1
|
|
4
|
+
date: 2026-11-18
|
|
5
|
+
title: 여러 페이지의 이관 설정
|
|
6
|
+
description: 여러 페이지의 인가된 이관 선택 항목을 조회합니다.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
이관 작업 영역에서 `loadAllChoices`로 여러 페이지의 설정 항목을 조회하고 `paginatePlanChoices`로 선택 목록 표시 방식을 제어할 수 있습니다. 대응 Core 호스트를 먼저 적용하세요. 이전 호스트는 콜백을 제공하지 않을 수 있습니다. [가져오기 안내](https://developers.nexia.to/docs/building-apps-import-and-export)를 참고하세요.
|
package/dist/data-migration.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentType, LazyExoticComponent } from 'react';
|
|
2
|
-
export type DataMigrationRunStatus = 'processing' | 'completed' | 'completed_with_errors' | 'failed';
|
|
2
|
+
export type DataMigrationRunStatus = 'processing' | 'completed' | 'completed_with_errors' | 'failed' | 'cancelled';
|
|
3
3
|
/** Host-owned asynchronous operation returned by migration analysis/apply APIs. */
|
|
4
4
|
export interface DataMigrationBackgroundOperation<TResult = Readonly<Record<string, unknown>>> {
|
|
5
5
|
ticket: string;
|
|
@@ -212,6 +212,13 @@ export interface NxDatasetImportWorkspaceProps {
|
|
|
212
212
|
legalEntityPublicId?: string | null;
|
|
213
213
|
referenceIssues?: Parameters<NonNullable<NxDatasetImportWorkspaceProps["renderReferenceReview"]>>[0]["referenceIssues"];
|
|
214
214
|
choices: DatasetImportPlanChoice[];
|
|
215
|
+
/** Read all authorized choice pages on demand for cross-page setup operations.
|
|
216
|
+
* Rejects if the review changes during traversal. Does not change the visible page. */
|
|
217
|
+
loadAllChoices?: () => Promise<{
|
|
218
|
+
choices: DatasetImportPlanChoice[];
|
|
219
|
+
values: Record<string, unknown>;
|
|
220
|
+
analyzedValues: Record<string, unknown>;
|
|
221
|
+
}>;
|
|
215
222
|
sections: DatasetImportPlanSection[];
|
|
216
223
|
values: Record<string, unknown>;
|
|
217
224
|
/** Decisions used for the plan currently shown, before local edits. */
|
|
@@ -226,6 +233,8 @@ export interface NxDatasetImportWorkspaceProps {
|
|
|
226
233
|
}) => ReactNode;
|
|
227
234
|
/** Use with renderPlanChoices when the App presents its own decision summary. */
|
|
228
235
|
hidePlanSections?: boolean;
|
|
236
|
+
/** Show all plan choices together; server reads remain bounded. */
|
|
237
|
+
paginatePlanChoices?: boolean;
|
|
229
238
|
/** Ask a supporting pipeline to refresh references without compiling the full plan. Save still requires a full review. */
|
|
230
239
|
deferFullReviewUntilSave?: boolean;
|
|
231
240
|
/** Allowed display values, keyed by import column. Domain lookup remains App-owned. */
|