@nexia/sdk 0.8.15 → 0.8.17

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.16
4
+ date: 2026-10-28
5
+ title: Read-only POST header declaration
6
+ description: Export NEXIA_READ_ONLY_HEADER for read-only mutation-verb requests.
7
+ ---
8
+
9
+ React SDK 0.8.16 exports `NEXIA_READ_ONLY_HEADER` (`'X-Nexia-Read-Only'`) from `@nexia/sdk` and `@nexia/sdk/host`. App frontends can pass this request header on query-only or preview POST calls to declare read semantics, enforce read budgets, and fail immediately upon network interruption instead of waiting in unconfirmed write recovery. See the [frontend host guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts).
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.16
4
+ date: 2026-10-28
5
+ title: 읽기 전용 POST 헤더 선언
6
+ description: 읽기 목적 변이 요청을 위한 NEXIA_READ_ONLY_HEADER를 내보냅니다.
7
+ ---
8
+
9
+ React SDK 0.8.16에서 `NEXIA_READ_ONLY_HEADER`(`'X-Nexia-Read-Only'`)를 `@nexia/sdk` 및 `@nexia/sdk/host`로부터 내보냅니다. App 프런트엔드는 상태 변경이 없는 순수 조회나 미리보기 목적의 POST 호출 시 이 요청 헤더를 전달하여 읽기 의도를 선언할 수 있으며, 읽기 예산 적용과 통신 단절 시 미확인 쓰기 복구 대기 없이 즉시 실패하도록 처리할 수 있습니다. [프런트엔드 호스트 안내](https://developers.nexia.to/ko/docs/app-sdk-frontend-host-contracts)를 참고하세요.
@@ -0,0 +1,11 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.17
4
+ date: 2026-10-29
5
+ title: Table menu commands and export restrictions
6
+ description: Extend the shared table menu and describe permission-excluded export columns.
7
+ ---
8
+
9
+ React SDK 0.8.17 adds optional `ResourceListToolbarConfig.moreItems` commands to the standard table menu while retaining export, print and column controls. Transfer metadata can declare `export_restricted_columns` as `{ key, label }` entries so the host explains permission exclusions. Existing callers remain compatible; use the matching Core host and keep row/field authorization in the App export source.
10
+
11
+ See the [frontend host guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts) and the [package artifact](https://www.npmjs.com/package/@nexia/sdk/v/0.8.17).
@@ -0,0 +1,11 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.17
4
+ date: 2026-10-29
5
+ title: 표 메뉴 작업과 내보내기 권한 안내
6
+ description: 공통 표 메뉴에 작업을 추가하고 권한으로 제외한 내보내기 열을 안내합니다.
7
+ ---
8
+
9
+ React SDK 0.8.17은 선택 항목 `ResourceListToolbarConfig.moreItems`로 기본 내보내기·인쇄·열 설정 메뉴에 앱 작업을 추가합니다. 전송 메타데이터의 `export_restricted_columns`에 `{ key, label }` 항목을 전달하면 호스트가 권한으로 제외된 열을 안내합니다. 기존 호출도 호환됩니다. 대응하는 Core 호스트를 함께 적용하고 앱의 내보내기 조회에서 행·필드 권한을 계속 확인하세요.
10
+
11
+ [프런트엔드 호스트 가이드](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts)와 [패키지 산출물](https://www.npmjs.com/package/@nexia/sdk/v/0.8.17)을 확인하세요.
package/dist/host.d.ts CHANGED
@@ -371,6 +371,11 @@ export declare function configureNexiaAppFrontendHost(bindings: NexiaAppFrontend
371
371
  export declare function openFile(href: string, options?: OpenFileOptions): Promise<void>;
372
372
  /** Axios-compatible host client carrying the active shell CSRF configuration. */
373
373
  export declare const api: AxiosInstance;
374
+ /**
375
+ * Header sent on read-only mutation-verb requests (e.g. POST previews, queries)
376
+ * to bypass unconfirmed write recovery and enforce read budgets.
377
+ */
378
+ export declare const NEXIA_READ_ONLY_HEADER = "X-Nexia-Read-Only";
374
379
  /**
375
380
  * Polls Core's standard background-operation endpoint. By default unmounting
376
381
  * cancels the wait; callers retaining a checkpoint can explicitly keep waiting.
package/dist/host.js CHANGED
@@ -104,6 +104,11 @@ export const api = new Proxy(apiProxyTarget, {
104
104
  return typeof value === 'function' ? value.bind(client) : value;
105
105
  },
106
106
  });
107
+ /**
108
+ * Header sent on read-only mutation-verb requests (e.g. POST previews, queries)
109
+ * to bypass unconfirmed write recovery and enforce read budgets.
110
+ */
111
+ export const NEXIA_READ_ONLY_HEADER = 'X-Nexia-Read-Only';
107
112
  function operationFailureMessage(operation) {
108
113
  const validationMessage = operation.validation_errors
109
114
  ? Object.values(operation.validation_errors)
package/dist/index.d.ts CHANGED
@@ -37,7 +37,7 @@ export { APPROVAL_STATES, APPROVAL_STEP_KINDS } from "./approval";
37
37
  export type { BpmnEditorDocument, BpmnEditorElement, BpmnEditorNodeType, BpmnEditorProcess, DmnEditorDocument, DmnEditorHitPolicy, DmnEditorInputClause, DmnEditorOutputClause, DmnEditorRule, DmnEditorValueType, ProcessUserTaskFormController, ProcessUserTaskFormRegistrar, ProcessUserTaskFormRegistration, ProcessUserTaskFormRegistry, ProcessUserTaskFormSlotPropsV1, ProcessUserTaskFormWidgetLoader, ProcessUserTaskResourceRef, } from "./process";
38
38
  export { DMN_EDITOR_HIT_POLICIES } from "./process";
39
39
  export type { AppRouteFrameProps, AppRoutePrefetchContext, AppRoutePrefetcher, AutoRegisterPackageSurfacesOptions, PackageSurfaceLoader, PackageSurfaceOverride, PackageSurfaceOverrideRegistration, FormFieldErrors, InspectorActionProps, InspectorResourceActionsProps, ListLocateRecord, MessageApi, MutationFormError, NxCanonicalRoutePaneProps, NxActionKind, NxIconButtonProps, NxComboboxOption, NxComboboxProps, NxRefreshControlProps, NxColumnBrowserLabels, NxColumnBrowserProps, NxColumnNode, NxColumnPickerLabels, NxColumnPickerProps, NxDatePickerLabels, NxDatePickerProps, NxDateRangePickerProps, NxDateRangeValue, NxDropdownMenuItem, NxHelpTooltipProps, InsightFilterControls, InsightFilterState, InsightQueryLike, InsightRangePreset, UseInsightFilterStateOptions, NxOverviewBandCard, NxSelectOption, NxStatDelta, NxStatDeltaDirection, NxStatDeltaTone, NxTabNavItem, NxTabNavProps, NxTooltipAlign, NxTooltipProps, NxTooltipSide, OpenResourceWorkTab, OpenResourceWorkTabOptions, ResourceCreateCompletion, ResourceCreateCompletionInput, ResourceCreateContinuationTarget, ResourceCreateReceiverRegistration, ResourceInspectorAdapter, ResourceInspectorAdapterLoader, ResourceInspectorAdapterProps, ResourceInspectorQueryProps, ResourceInspectorAdapterRegistry, ResourceInspectorPanelProps, ResourceInspectorStack, ResourceInspectorStackHostProps, ResourceInspectorStackProviderProps, ResourceInspectorStateProps, ResourceLinkProps, ResourceListFilters, ResourceListFilterValue, ResourceListFooterConfig, ResourceListParams, ResourceListParamsControls, ResourceListRefreshConfig, ResourceListToolbarConfig, ResourceListToolbarMoreMenuProps, ResourceListToolbarViewOption, ResourcePrimaryCellProps, ResourceActionDescriptor, ResourceRef, ResourceRowActionsMenuProps, ResourceStatusBadgeProps, ResourceTableColumn, ResourceTableAccess, ResourceTableDensity, ResourceTableProps, ResourceTableStyle, ResourceTableSummaryRow, ResourceTableSort, TabContextActionContext, TabContextActionRegistration, DraftFieldBinding, RegisterDraftActionOptions, TabContextActionResult, ResourceTextCellProps, ToastOptions, ToastSource, UseRegisterListLocateActionOptions, UseResourceListParamsOptions, WorkSectionProps, FavoriteTarget, WorkTabRef, WorkSurfaceAction, WorkSurfaceLabelInput, WorkSurfaceLabels, WorkSurfaceProps, } from "./shell";
40
- export { FavoriteButton } from "./host";
40
+ export { FavoriteButton, NEXIA_READ_ONLY_HEADER } from "./host";
41
41
  export type { FavoriteButtonProps } from "./host";
42
42
  export { createSpreadsheetWorkbook } from "./spreadsheet";
43
43
  export type { SpreadsheetWorkbook, SpreadsheetWorksheet, SpreadsheetCell, NxSpreadsheetEditorProps } from "./spreadsheet";
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ export { HANDOFF_RESULT_STATES, isHandoffResultState, isRetryableFailure, } from
18
18
  export { isRetryableHandoffFailure } from "./handoff-result.js";
19
19
  export { APPROVAL_STATES, APPROVAL_STEP_KINDS } from "./approval.js";
20
20
  export { DMN_EDITOR_HIT_POLICIES } from "./process.js";
21
- export { FavoriteButton } from "./host.js";
21
+ export { FavoriteButton, NEXIA_READ_ONLY_HEADER } from "./host.js";
22
22
  export { createSpreadsheetWorkbook } from "./spreadsheet.js";
23
23
  export { documentDataFieldIdentity } from './document-data.js';
24
24
  export { buildAppCatalogTree } from './app-catalog.js';
@@ -25,6 +25,11 @@ export interface ResourceTransferMeta {
25
25
  }>;
26
26
  };
27
27
  schema_hash: string;
28
+ /** Declared export fields omitted from schema.columns by column permissions. */
29
+ export_restricted_columns?: Array<{
30
+ key: string;
31
+ label: string;
32
+ }>;
28
33
  formats: ResourceTransferFormat[];
29
34
  export_formats?: ResourceTransferFormat[];
30
35
  import_formats?: ResourceTransferFormat[];
@@ -208,6 +213,8 @@ export interface NxDatasetImportWorkspaceProps {
208
213
  onChange: (key: string, value: string) => void;
209
214
  busy: boolean;
210
215
  previewIsCurrent: boolean;
216
+ /** Mark changed reference setup as needing review without starting a job. */
217
+ invalidatePreview: () => void;
211
218
  /** Reanalyze the uploaded file with the current App rules. */
212
219
  recheck: () => void;
213
220
  }) => ReactNode;
package/dist/shell.d.ts CHANGED
@@ -382,6 +382,8 @@ export interface ResourceListToolbarConfig {
382
382
  filters?: ReactNode;
383
383
  refresh?: ReactNode;
384
384
  more?: ReactNode;
385
+ /** Commands appended to the standard export/print menu. */
386
+ moreItems?: NxDropdownMenuItem[];
385
387
  testId?: string;
386
388
  }
387
389
  export interface ResourceListRefreshConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.8.15",
3
+ "version": "0.8.17",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",