@nexia/sdk 0.8.14 → 0.8.15

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,11 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.15
4
+ date: 2026-10-28
5
+ title: Approval receipt and record print contracts
6
+ description: Distinguish an accepted approval submission from a case and declare record print layouts.
7
+ ---
8
+
9
+ React SDK 0.8.15 lets an approval business form return either `caseId` or `submissionId`. A `submissionId` means the host accepted work for later processing; it does not mean an Approval Case exists yet. Handle both results when enabling asynchronous approval with matching Core and runtime support. See the [approval contract guide](https://developers.nexia.to/docs/app-sdk-approval-contracts).
10
+
11
+ Resource table and transfer action props also accept `recordPrint` for an optional per-record print layout. Adopt the matching Core host before using it. See the [frontend host guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts).
@@ -0,0 +1,11 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.15
4
+ date: 2026-10-28
5
+ title: 결재 접수 영수증과 레코드 인쇄 계약
6
+ description: 접수된 결재 요청과 결재 건을 구분하고 레코드별 인쇄 구성을 선언합니다.
7
+ ---
8
+
9
+ React SDK 0.8.15에서 결재 업무 폼은 `caseId` 또는 `submissionId`를 반환할 수 있습니다. `submissionId`는 호스트가 나중에 처리할 작업을 접수했다는 뜻이며, 아직 결재 건이 생성됐다는 뜻은 아닙니다. 비동기 결재를 활성화할 때는 대응하는 Core·런타임과 함께 두 결과를 처리하세요. [결재 계약 안내](https://developers.nexia.to/ko/docs/app-sdk-approval-contracts)를 참고하세요.
10
+
11
+ 리소스 표와 전송 작업 속성에 선택적인 레코드별 인쇄 구성 `recordPrint`가 추가되었습니다. 사용 전에 대응하는 Core 호스트를 적용하세요. [프런트엔드 호스트 안내](https://developers.nexia.to/ko/docs/app-sdk-frontend-host-contracts)를 참고하세요.
@@ -132,9 +132,14 @@ export interface ApprovalBusinessFormController {
132
132
  export interface ApprovalBusinessFormDraftResult {
133
133
  appDraftRef: string;
134
134
  }
135
- export interface ApprovalBusinessFormSubmitResult {
135
+ /** A receipt is durable acceptance, not a submitted case. */
136
+ export type ApprovalBusinessFormSubmitResult = {
136
137
  caseId: string;
137
- }
138
+ submissionId?: never;
139
+ } | {
140
+ submissionId: string;
141
+ caseId?: never;
142
+ };
138
143
  export interface ApprovalBusinessFormTemplate {
139
144
  key: string;
140
145
  version: number;
@@ -118,6 +118,11 @@ export interface NxResourceImportDialogProps {
118
118
  }
119
119
  /** Host-owned Resource Transfer actions for list and management surfaces. */
120
120
  export interface NxResourceTransferActionsProps {
121
+ recordPrint?: {
122
+ label: string;
123
+ title: string;
124
+ columnKeys: readonly string[];
125
+ };
121
126
  transferMeta: ResourceTransferMeta | null | undefined;
122
127
  onImported: () => void | Promise<void>;
123
128
  translationPrefix?: string;
package/dist/shell.d.ts CHANGED
@@ -457,6 +457,12 @@ export interface ResourceTableProps<T> {
457
457
  filters?: ResourceListFilters;
458
458
  onFiltersChange?: (next: ResourceListFilters) => void;
459
459
  transferMeta?: ResourceTransferMeta | null;
460
+ /** Offer a per-record print layout alongside the selected-column list layout. */
461
+ recordPrint?: {
462
+ label: string;
463
+ title: string;
464
+ columnKeys: readonly string[];
465
+ };
460
466
  onTransferImported?: () => void | Promise<void>;
461
467
  pagination?: {
462
468
  current_page: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.8.14",
3
+ "version": "0.8.15",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",