@operato/ops-contract 0.9.40 → 0.9.42
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.
- package/dist/epcis.d.ts +23 -0
- package/dist/epcis.js +47 -1
- package/dist/erp.d.ts +77 -1
- package/dist/erp.js +33 -3
- package/dist/gs1.d.ts +69 -0
- package/dist/gs1.js +261 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/lot-lineage.d.ts +50 -0
- package/dist/lot-lineage.js +76 -0
- package/dist/wms-profile.d.ts +20 -0
- package/dist/wms-profile.js +21 -0
- package/dist-cjs/index.cjs +386 -98
- package/package.json +1 -1
package/dist/epcis.d.ts
CHANGED
|
@@ -67,6 +67,14 @@ export declare const DISP: {
|
|
|
67
67
|
*/
|
|
68
68
|
readonly conformant: "urn:epcglobal:cbv:disp:conformant";
|
|
69
69
|
readonly non_conformant: "urn:epcglobal:cbv:disp:non_conformant";
|
|
70
|
+
/**
|
|
71
|
+
* **Sent back** — CBV `returned`. Primary source: the CBV ontology (gs1/EPCIS `Ontology/CBV.ttl`, versionInfo 2.0,
|
|
72
|
+
* `cbv:Disp-returned`, read 2026-10-23): "Object has been sent or brought back for various reasons. It may or may not
|
|
73
|
+
* be sellable." It is what goods going back to their supplier carry when they leave (`RETURN_TO_SUPPLIER`), and what
|
|
74
|
+
* a customer's return may carry when it arrives. Added for the warehouse's return to supplier (operato-application
|
|
75
|
+
* ADR-0154 decision 2, ruled: the words before the document).
|
|
76
|
+
*/
|
|
77
|
+
readonly returned: "urn:epcglobal:cbv:disp:returned";
|
|
70
78
|
};
|
|
71
79
|
/**
|
|
72
80
|
* **The one namespace this contract's own vocabulary stands under** — for a term a standard does not have.
|
|
@@ -422,6 +430,21 @@ export declare function parseEpc(uri: string): ParsedEpc;
|
|
|
422
430
|
* 그 밖(품목 클래스 · 개체 · 모르는 모양) → 원문 그대로 — 추측해서 묶지 않는다
|
|
423
431
|
*/
|
|
424
432
|
export declare function itemClassOf(uri: string | undefined): string | undefined;
|
|
433
|
+
/**
|
|
434
|
+
* **이 클래스가 가리키는 품목의 이름** — ISA-95 `MaterialDefinition` 의 ID(기준정보 `ops-master` 의 품목 이름).
|
|
435
|
+
*
|
|
436
|
+
* ── 왜 `itemClassOf` 와 따로인가 (2026-10-23, ADR-0149 Q4) ─────────────────────
|
|
437
|
+
* `itemClassOf` 는 **클래스**를 낸다 — 사내 품목은 `<ns>/class/<품번>` 이다. 기준정보의 품목 이름은 GTIN 품목이면
|
|
438
|
+
* 그 패턴이지만 사내 품목이면 **품번**이다. 재고 클래스로 품목을 찾는 곳(plant 반납 · 인계의 `lotOfClass`, 창고
|
|
439
|
+
* 입고 검수)이 각자 이 규칙을 적으면 둘이 갈린다. 그래서 여기 한 곳.
|
|
440
|
+
*
|
|
441
|
+
* LGTIN → `urn:epc:idpat:sgtin:P.R.*` (GTIN 품목의 이름은 그 패턴)
|
|
442
|
+
* GTIN 품목 패턴 `urn:epc:idpat:sgtin:P.R.*` → 그대로
|
|
443
|
+
* 사내 로트 클래스 · 사내 품목 클래스 → 품번(한 번 복호화한 것)
|
|
444
|
+
* 개체(SGTIN · SSCC · `/obj/` …) → `undefined` — 개체는 품목이 아니다
|
|
445
|
+
* 그 밖(모르는 모양) → 원문 그대로 — 품목 이름이 그 글자일 수 있다(`itemClassOf` 와 같다)
|
|
446
|
+
*/
|
|
447
|
+
export declare function materialDefinitionIdOf(epcClass: string | undefined): string | undefined;
|
|
425
448
|
/**
|
|
426
449
|
* **이 품목 클래스의 그 로트** — `itemClassOf` 의 반대 방향. 시뮬의 도착 생성기처럼 품목 클래스만 들고 있는 곳이 부른다.
|
|
427
450
|
*
|
package/dist/epcis.js
CHANGED
|
@@ -75,7 +75,15 @@ export const DISP = {
|
|
|
75
75
|
* 그때 열되, **판정 자체는 여기서 끝난다.**
|
|
76
76
|
*/
|
|
77
77
|
conformant: 'urn:epcglobal:cbv:disp:conformant',
|
|
78
|
-
non_conformant: 'urn:epcglobal:cbv:disp:non_conformant'
|
|
78
|
+
non_conformant: 'urn:epcglobal:cbv:disp:non_conformant',
|
|
79
|
+
/**
|
|
80
|
+
* **Sent back** — CBV `returned`. Primary source: the CBV ontology (gs1/EPCIS `Ontology/CBV.ttl`, versionInfo 2.0,
|
|
81
|
+
* `cbv:Disp-returned`, read 2026-10-23): "Object has been sent or brought back for various reasons. It may or may not
|
|
82
|
+
* be sellable." It is what goods going back to their supplier carry when they leave (`RETURN_TO_SUPPLIER`), and what
|
|
83
|
+
* a customer's return may carry when it arrives. Added for the warehouse's return to supplier (operato-application
|
|
84
|
+
* ADR-0154 decision 2, ruled: the words before the document).
|
|
85
|
+
*/
|
|
86
|
+
returned: 'urn:epcglobal:cbv:disp:returned'
|
|
79
87
|
};
|
|
80
88
|
/**
|
|
81
89
|
* **The one namespace this contract's own vocabulary stands under** — for a term a standard does not have.
|
|
@@ -323,6 +331,44 @@ export function itemClassOf(uri) {
|
|
|
323
331
|
}
|
|
324
332
|
return parsed.uri;
|
|
325
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* **이 클래스가 가리키는 품목의 이름** — ISA-95 `MaterialDefinition` 의 ID(기준정보 `ops-master` 의 품목 이름).
|
|
336
|
+
*
|
|
337
|
+
* ── 왜 `itemClassOf` 와 따로인가 (2026-10-23, ADR-0149 Q4) ─────────────────────
|
|
338
|
+
* `itemClassOf` 는 **클래스**를 낸다 — 사내 품목은 `<ns>/class/<품번>` 이다. 기준정보의 품목 이름은 GTIN 품목이면
|
|
339
|
+
* 그 패턴이지만 사내 품목이면 **품번**이다. 재고 클래스로 품목을 찾는 곳(plant 반납 · 인계의 `lotOfClass`, 창고
|
|
340
|
+
* 입고 검수)이 각자 이 규칙을 적으면 둘이 갈린다. 그래서 여기 한 곳.
|
|
341
|
+
*
|
|
342
|
+
* LGTIN → `urn:epc:idpat:sgtin:P.R.*` (GTIN 품목의 이름은 그 패턴)
|
|
343
|
+
* GTIN 품목 패턴 `urn:epc:idpat:sgtin:P.R.*` → 그대로
|
|
344
|
+
* 사내 로트 클래스 · 사내 품목 클래스 → 품번(한 번 복호화한 것)
|
|
345
|
+
* 개체(SGTIN · SSCC · `/obj/` …) → `undefined` — 개체는 품목이 아니다
|
|
346
|
+
* 그 밖(모르는 모양) → 원문 그대로 — 품목 이름이 그 글자일 수 있다(`itemClassOf` 와 같다)
|
|
347
|
+
*/
|
|
348
|
+
export function materialDefinitionIdOf(epcClass) {
|
|
349
|
+
const raw = epcClass?.trim();
|
|
350
|
+
if (!raw)
|
|
351
|
+
return undefined;
|
|
352
|
+
const parsed = parseEpc(raw);
|
|
353
|
+
if (parsed.instance)
|
|
354
|
+
return undefined;
|
|
355
|
+
if (parsed.scheme === 'lgtin' && parsed.gtinKey) {
|
|
356
|
+
const [companyPrefix, itemRef] = parsed.gtinKey.split('.');
|
|
357
|
+
return sgtinClass(companyPrefix, itemRef);
|
|
358
|
+
}
|
|
359
|
+
if (parsed.item !== undefined)
|
|
360
|
+
return parsed.item;
|
|
361
|
+
const inHouse = /(?:\/class\/|:class:)([^/:\s]+)$/.exec(raw);
|
|
362
|
+
if (inHouse) {
|
|
363
|
+
try {
|
|
364
|
+
return decodeURIComponent(inHouse[1]);
|
|
365
|
+
}
|
|
366
|
+
catch {
|
|
367
|
+
/* 우리가 만든 글자가 아니어서 뜯을 수 없으면 원문 그대로 둔다. */
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
return raw;
|
|
371
|
+
}
|
|
326
372
|
/**
|
|
327
373
|
* **이 품목 클래스의 그 로트** — `itemClassOf` 의 반대 방향. 시뮬의 도착 생성기처럼 품목 클래스만 들고 있는 곳이 부른다.
|
|
328
374
|
*
|
package/dist/erp.d.ts
CHANGED
|
@@ -149,6 +149,60 @@ export declare function materialMovementKey(e: Pick<ProductionPerformanceEntry,
|
|
|
149
149
|
* 거절 이유를 목록으로 낸다. 첫 번째에서 멈추면 사람이 한 번에 하나씩 고치게 된다.
|
|
150
150
|
*/
|
|
151
151
|
export declare function validatePerformance(e: ProductionPerformanceEntry, nowMs: number): string[];
|
|
152
|
+
/**
|
|
153
|
+
* ERP 에 앉아 있는 실적 한 줄 — **되읽은 것**이다.
|
|
154
|
+
*
|
|
155
|
+
* 사람이 반영하는 ERP(`traits.posting: 'manual-export'`)는 우리가 내보낸 줄이 실제로 앉았는지 이것으로만 안다.
|
|
156
|
+
* API 로 올리는 ERP 에서도 대사에 쓴다. 우리 실적과 짝짓는 것은 부르는 쪽(MES)의 함수 하나가 한다 — 여기는
|
|
157
|
+
* ERP 가 가진 사실만 옮긴다. 짝이 없거나 둘 이상이면 짐작하지 않는다.
|
|
158
|
+
*/
|
|
159
|
+
export interface ErpPerformanceRecord {
|
|
160
|
+
/** ERP 의 오더번호. */
|
|
161
|
+
orderId: string;
|
|
162
|
+
operationId?: string;
|
|
163
|
+
goodQuantity: number;
|
|
164
|
+
scrapQuantity?: number;
|
|
165
|
+
uom: string;
|
|
166
|
+
/** ERP 가 그 실적을 앉힌 날짜 · 시각(원문 그대로). */
|
|
167
|
+
postedAt?: ISOTime;
|
|
168
|
+
/** ERP 의 문서 번호 — 있으면 짝이 맞은 뒤 우리 기록에 남는다. */
|
|
169
|
+
documentRef?: string;
|
|
170
|
+
/**
|
|
171
|
+
* ERP 가 보존하는 칸(비고 등)에 실려 돌아온 우리 멱등 키(`performanceKey`). 있으면 짝짓기는 이것으로 한다.
|
|
172
|
+
* ERP 가 그런 칸을 갖는지는 어댑터가 확인해 둔다 — 없으면 비운다(지어내지 않는다).
|
|
173
|
+
*/
|
|
174
|
+
carriedKey?: string;
|
|
175
|
+
}
|
|
176
|
+
/** ERP 에 있는 재고 한 줄 — 되읽은 것. */
|
|
177
|
+
export interface ErpInventoryRecord {
|
|
178
|
+
materialDefinitionId: string;
|
|
179
|
+
quantity: number;
|
|
180
|
+
uom: string;
|
|
181
|
+
site?: string;
|
|
182
|
+
location?: string;
|
|
183
|
+
lot?: string;
|
|
184
|
+
/** 그 수량이 언제 기준인가(원문 그대로). */
|
|
185
|
+
asOf?: ISOTime;
|
|
186
|
+
}
|
|
187
|
+
/** 되읽기의 범위. 빠진 칸은 「제한 없음」이 아니라 어댑터가 정한 창이다. */
|
|
188
|
+
export interface ErpReadQuery {
|
|
189
|
+
since?: ISOTime;
|
|
190
|
+
orderIds?: string[];
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* 사람이 ERP 에 붙여 넣거나 올릴 실적 묶음.
|
|
194
|
+
*
|
|
195
|
+
* ERP 마다 붙여넣기 열 순서 · 날짜 모양이 다르므로 내용은 어댑터가 만든다. 줄마다 우리 멱등 키를 함께 돌려줘서
|
|
196
|
+
* 부르는 쪽이 「내보냄 · 확인 대기」로 적을 줄을 안다 — 내보냈다고 올라간 것이 아니다.
|
|
197
|
+
*/
|
|
198
|
+
export interface ErpExport {
|
|
199
|
+
fileName: string;
|
|
200
|
+
/** `text/tab-separated-values` · `text/csv` 처럼. */
|
|
201
|
+
mediaType: string;
|
|
202
|
+
body: string;
|
|
203
|
+
/** 이 묶음에 든 실적의 멱등 키, 줄 순서대로. */
|
|
204
|
+
keys: string[];
|
|
205
|
+
}
|
|
152
206
|
/**
|
|
153
207
|
* 잘못 올린 실적을 되돌리는 요청 — **삭제가 아니라 역분개다.**
|
|
154
208
|
*
|
|
@@ -216,6 +270,18 @@ export interface ErpAdapter {
|
|
|
216
270
|
reversePerformance?(cfg: ErpConfig, reversal: PerformanceReversal, key: string): Promise<ErpOutcome<ErpDocumentRef>>;
|
|
217
271
|
/** 마스터를 당긴다 — 구조는 밀지 않고 당겨 간다(사실과 다른 규율). */
|
|
218
272
|
readMaster?(cfg: ErpConfig, axis: ErpMasterAxis): Promise<ErpOutcome<unknown[]>>;
|
|
273
|
+
/**
|
|
274
|
+
* 사람이 반영할 실적 묶음을 만든다 — `traits.posting: 'manual-export'` 인 ERP 의 「올리기」다.
|
|
275
|
+
* 값을 바꾸지 않는다. 사람이 반영했는지는 `readPerformance` 로 되읽어야 안다.
|
|
276
|
+
*/
|
|
277
|
+
exportPerformance?(cfg: ErpConfig, entries: {
|
|
278
|
+
entry: ProductionPerformanceEntry;
|
|
279
|
+
key: string;
|
|
280
|
+
}[]): Promise<ErpOutcome<ErpExport>>;
|
|
281
|
+
/** ERP 에 앉은 실적을 되읽는다(결정 2). */
|
|
282
|
+
readPerformance?(cfg: ErpConfig, query?: ErpReadQuery): Promise<ErpOutcome<ErpPerformanceRecord[]>>;
|
|
283
|
+
/** ERP 의 재고를 되읽는다(결정 2). */
|
|
284
|
+
readInventory?(cfg: ErpConfig, query?: ErpReadQuery): Promise<ErpOutcome<ErpInventoryRecord[]>>;
|
|
219
285
|
}
|
|
220
286
|
/**
|
|
221
287
|
* ERP 마다 갈리는 성질.
|
|
@@ -245,9 +311,19 @@ export interface ErpTraits {
|
|
|
245
311
|
* 기다리지 않는다.
|
|
246
312
|
*/
|
|
247
313
|
reversal: 'api' | 'manual' | 'none';
|
|
314
|
+
/**
|
|
315
|
+
* 실적이 어떻게 ERP 에 들어가나 (ADR-0110 결정 1).
|
|
316
|
+
*
|
|
317
|
+
* api 우리가 부르면 앉는다 — `postPerformance`
|
|
318
|
+
* manual-export 사람이 ERP 화면에 붙여 넣거나 올린다 — 우리는 `exportPerformance` 로 묶음을 만들 뿐이다.
|
|
319
|
+
* 국내 중소 ERP 에 흔하다(미라텍의 SystemEver: 작업실적에 파일 업로드도 공식 API 도 없다)
|
|
320
|
+
*
|
|
321
|
+
* 이 칸이 없으면 내보낸 줄을 올라간 것으로 적는 거짓이 생긴다. 그래서 필수다.
|
|
322
|
+
*/
|
|
323
|
+
posting: 'api' | 'manual-export';
|
|
248
324
|
}
|
|
249
325
|
/** 이 ERP 가 할 수 있다고 선언하는 것. 구현이 없으면 없는 것으로 읽는다. */
|
|
250
|
-
export declare const ERP_CAPABILITY: readonly ["schedule", "performance", "material-movement", "reversal", "master"];
|
|
326
|
+
export declare const ERP_CAPABILITY: readonly ["schedule", "performance", "material-movement", "reversal", "master", "performance-read", "inventory-read"];
|
|
251
327
|
export type ErpCapability = (typeof ERP_CAPABILITY)[number];
|
|
252
328
|
/** 당겨 올 수 있는 마스터의 축. */
|
|
253
329
|
export declare const ERP_MASTER_AXIS: readonly ["product", "bom", "routing", "work-center"];
|
package/dist/erp.js
CHANGED
|
@@ -107,7 +107,15 @@ export function reversalKey(performanceKey) {
|
|
|
107
107
|
return `${performanceKey}|reversal`;
|
|
108
108
|
}
|
|
109
109
|
/** 이 ERP 가 할 수 있다고 선언하는 것. 구현이 없으면 없는 것으로 읽는다. */
|
|
110
|
-
export const ERP_CAPABILITY = [
|
|
110
|
+
export const ERP_CAPABILITY = [
|
|
111
|
+
'schedule',
|
|
112
|
+
'performance',
|
|
113
|
+
'material-movement',
|
|
114
|
+
'reversal',
|
|
115
|
+
'master',
|
|
116
|
+
'performance-read',
|
|
117
|
+
'inventory-read'
|
|
118
|
+
];
|
|
111
119
|
/** 당겨 올 수 있는 마스터의 축. */
|
|
112
120
|
export const ERP_MASTER_AXIS = ['product', 'bom', 'routing', 'work-center'];
|
|
113
121
|
/**
|
|
@@ -117,12 +125,16 @@ export const ERP_MASTER_AXIS = ['product', 'bom', 'routing', 'work-center'];
|
|
|
117
125
|
* 화면에 서지 않는다.
|
|
118
126
|
*/
|
|
119
127
|
export function erpCapabilityGaps(adapter) {
|
|
128
|
+
const manual = adapter.traits?.posting === 'manual-export';
|
|
120
129
|
const needs = {
|
|
121
130
|
schedule: 'readSchedules',
|
|
122
|
-
|
|
131
|
+
/* 사람이 반영하는 ERP 에서 「실적을 올린다」는 묶음을 만드는 것이다. */
|
|
132
|
+
performance: manual ? 'exportPerformance' : 'postPerformance',
|
|
123
133
|
'material-movement': 'postMaterialMovement',
|
|
124
134
|
reversal: 'reversePerformance',
|
|
125
|
-
master: 'readMaster'
|
|
135
|
+
master: 'readMaster',
|
|
136
|
+
'performance-read': 'readPerformance',
|
|
137
|
+
'inventory-read': 'readInventory'
|
|
126
138
|
};
|
|
127
139
|
const gaps = [];
|
|
128
140
|
for (const cap of adapter.capabilities ?? []) {
|
|
@@ -141,5 +153,23 @@ export function erpCapabilityGaps(adapter) {
|
|
|
141
153
|
if (adapter.traits?.materialWithPerformance && typeof adapter.postMaterialMovement === 'function') {
|
|
142
154
|
gaps.push('traits.materialWithPerformance 가 참인데 postMaterialMovement 가 따로 있다 — 소비가 두 번 앉는다');
|
|
143
155
|
}
|
|
156
|
+
/*
|
|
157
|
+
* 사람이 반영하는 ERP 에 부르면 앉는 문이 있으면, 펌프가 그 문으로 「올라갔다」고 적는다 — 아무것도 안 앉았는데
|
|
158
|
+
* (ADR-0110 결정 1 가). 실적과 함께 앉는 자재도 같다.
|
|
159
|
+
*/
|
|
160
|
+
if (manual) {
|
|
161
|
+
if (typeof adapter.postPerformance === 'function') {
|
|
162
|
+
gaps.push('traits.posting 이 manual-export 인데 postPerformance 가 있다 — 부르면 앉는 ERP 가 아니다');
|
|
163
|
+
}
|
|
164
|
+
if (typeof adapter.postMaterialMovement === 'function') {
|
|
165
|
+
gaps.push('traits.posting 이 manual-export 인데 postMaterialMovement 가 있다');
|
|
166
|
+
}
|
|
167
|
+
if (adapter.capabilities?.includes('material-movement')) {
|
|
168
|
+
gaps.push('traits.posting 이 manual-export 인데 material-movement 능력을 선언했다');
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
if (adapter.traits?.posting !== 'api' && adapter.traits?.posting !== 'manual-export') {
|
|
172
|
+
gaps.push('traits.posting 이 없다 — api 인지 manual-export 인지 말해야 펌프가 내보낸 줄을 올라간 것으로 적지 않는다');
|
|
173
|
+
}
|
|
144
174
|
return gaps;
|
|
145
175
|
}
|
package/dist/gs1.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/** 우리가 쓰는 항목에 이름을 붙인다. 나머지는 코드 그대로 담는다. */
|
|
2
|
+
export interface Gs1Scan {
|
|
3
|
+
/** 물류단위 — AI 00, 검사 숫자를 포함한 18자리. */
|
|
4
|
+
sscc?: string;
|
|
5
|
+
/** 물리적 위치 — AI 414, 검사 숫자를 포함한 13자리. */
|
|
6
|
+
gln?: string;
|
|
7
|
+
/** 그 위치 안의 자리 — AI 254. */
|
|
8
|
+
glnExtension?: string;
|
|
9
|
+
/** 품목 — AI 01. `MaterialDefinition.name` 이 GTIN 이면 이 값으로 찾는다. */
|
|
10
|
+
gtin?: string;
|
|
11
|
+
/** 로트 — AI 10. */
|
|
12
|
+
lot?: string;
|
|
13
|
+
/** 일련번호 — AI 21. 있으면 낱개로 관리하는 품목이다. */
|
|
14
|
+
serial?: string;
|
|
15
|
+
/** 사용기한 — AI 17. `YYMMDD` 원문 그대로 둔다(날짜로 바꾸는 것은 읽는 쪽 일이다). */
|
|
16
|
+
useBy?: string;
|
|
17
|
+
/** 수량 — AI 30. */
|
|
18
|
+
count?: number;
|
|
19
|
+
/** 뜯은 모든 마디. 이름 붙인 것 말고도 온 것이 있으면 여기 남는다. */
|
|
20
|
+
elements: Record<string, string>;
|
|
21
|
+
/** 원문. 뜯기에 실패해도 잃지 않는다. */
|
|
22
|
+
raw: string;
|
|
23
|
+
}
|
|
24
|
+
export type Gs1Result = {
|
|
25
|
+
ok: true;
|
|
26
|
+
scan: Gs1Scan;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* 못 뜯었다. **짐작으로 채우지 않는다.**
|
|
30
|
+
*
|
|
31
|
+
* not-gs1 AI 로 시작하지 않는다. 사번이나 작업지시 라벨일 수 있다
|
|
32
|
+
* unterminated 가변 길이 마디 뒤에 남은 글자가 AI 가 아니다
|
|
33
|
+
* truncated 고정 길이 항목인데 자릿수가 모자란다
|
|
34
|
+
*/
|
|
35
|
+
| {
|
|
36
|
+
ok: false;
|
|
37
|
+
because: 'not-gs1' | 'unterminated' | 'truncated';
|
|
38
|
+
raw: string;
|
|
39
|
+
};
|
|
40
|
+
export declare function parseGs1(value: string): Gs1Result;
|
|
41
|
+
/**
|
|
42
|
+
* 라벨이 말하는 EPC 식별자의 **후보** — 뜯은 결과에서.
|
|
43
|
+
*
|
|
44
|
+
* AI 00 (SSCC) → `urn:epc:id:sscc:<프리픽스>.<확장+일련>`
|
|
45
|
+
* AI 01 + 10 (GTIN·로트) → `urn:epc:class:lgtin:<프리픽스>.<표시자+품목참조>.<로트>`
|
|
46
|
+
* AI 01 (GTIN) → `urn:epc:idpat:sgtin:<프리픽스>.<표시자+품목참조>.*`
|
|
47
|
+
* AI 414 (+254) → `urn:epc:id:sgln:<프리픽스>.<위치참조>.<확장, 없으면 0>`
|
|
48
|
+
*
|
|
49
|
+
* 검사 숫자가 틀린 값은 후보를 내지 않는다 — 깨진 라벨을 짐작으로 고치지 않는다. 후보는 **어느 것이 맞는지
|
|
50
|
+
* 말하지 않는다.** 저장된 식별자와 정확히 같은 것을 찾아 확정하는 일은 읽는 쪽 문이 한다(ADR-0133 2-1: GS1
|
|
51
|
+
* 결과는 보조 후보이고 그것만으로 대상을 확정하지 않는다).
|
|
52
|
+
*/
|
|
53
|
+
export declare function epcCandidatesOfGs1(scan: Pick<Gs1Scan, 'sscc' | 'gtin' | 'lot' | 'gln' | 'glnExtension'>): string[];
|
|
54
|
+
/**
|
|
55
|
+
* SSCC 식별자의 라벨 숫자 18자리(검사 숫자 포함) — 용기 라벨(AI 00)과 견줄 때. SSCC 가 아니면 `undefined`.
|
|
56
|
+
*
|
|
57
|
+
* TDS: 확장 숫자(일련 참조의 첫 자리) + 프리픽스 + 일련 참조의 나머지, 그리고 검사 숫자.
|
|
58
|
+
*/
|
|
59
|
+
export declare function ssccDigitsOf(uri: string): string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* 품목 클래스(`urn:epc:idpat:sgtin:<프리픽스>.<표시자+품목참조>.*`)의 GTIN-14 — 품목 라벨(AI 01)과 견줄 때.
|
|
62
|
+
* 그 모양이 아니면 `undefined`.
|
|
63
|
+
*/
|
|
64
|
+
export declare function gtin14OfItemClass(definitionId: string | null | undefined): string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* 품목 식별자가 말하는 GTIN-14 — 품목 클래스 모양이면 그 GTIN(`gtin14OfItemClass`), 품목 이름이 GTIN 그 자체(8 · 12 ·
|
|
67
|
+
* 13 · 14 자리)면 앞을 0 으로 채운 14자리. 라벨의 AI 01 과 견줄 때 쓴다. 어느 것도 아니면 `undefined`.
|
|
68
|
+
*/
|
|
69
|
+
export declare function gtin14OfItem(definitionId: string | null | undefined): string | undefined;
|
package/dist/gs1.js
ADDED
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { lgtinClass, sgtinClass } from "./epcis.js";
|
|
2
|
+
/**
|
|
3
|
+
* GS1 바코드가 낸 문자열을 뜯는다 — **순수 계산.**
|
|
4
|
+
*
|
|
5
|
+
* ── 왜 계약에 있나 (2026-10-23) ──────────────────────────────────────────────
|
|
6
|
+
* plant 의 현장 화면(스테이션)에만 있던 것을 옮겼다. 창고의 ID Lens(ADR-0133)도 라벨을 읽게 되면서 두
|
|
7
|
+
* 제품이 같은 것을 뜯게 됐고, 바코드 원문 → EPC 식별자는 `parseEpc` 와 한 줄로 이어지는 표준 지식이다
|
|
8
|
+
* (수석 아키텍트 판정). 두 방향 — 라벨 숫자 → 식별자 후보, 식별자 → 라벨 숫자 — 이 이 파일 한 곳에 있다.
|
|
9
|
+
*
|
|
10
|
+
* ── 왜 우리가 쓰나 ─────────────────────────────────────────────────────────
|
|
11
|
+
* 저장소를 다 뒤졌다. `barcode-base`·`barcode-ui` 는 바코드를 **만드는** 것이고 읽은 것을 뜯지 않는다.
|
|
12
|
+
* 계약에는 `parseEpc`(EPC URI 를 뜯는다)와 `lgtinClass`(식별자를 짓는다)가 있는데, 그 둘 사이의
|
|
13
|
+
* **바코드 원문 → 품번·로트** 자리가 비어 있다.
|
|
14
|
+
*
|
|
15
|
+
* ── 두 모양이 온다 ─────────────────────────────────────────────────────────
|
|
16
|
+
* 스캐너 설정에 따라 괄호가 붙거나 안 붙는다. 붙지 않으면 가변 길이 항목의 끝을 FNC1 이 말한다.
|
|
17
|
+
*
|
|
18
|
+
* (01)08801234567890(10)LOT-A 사람이 읽는 표기. 괄호가 마디를 가른다
|
|
19
|
+
* 0108801234567890⟨FNC1⟩10LOT-A 원문. 가변 길이 마디의 끝을 FNC1 이 알린다
|
|
20
|
+
*
|
|
21
|
+
* ── 모르면 모른다고 한다 ────────────────────────────────────────────────────
|
|
22
|
+
* 못 뜯은 것을 짐작으로 채우지 않는다. 엉뚱한 품번으로 자재가 투입되면 그 실적은 나중에 아무도 못
|
|
23
|
+
* 고치고, 계보가 조용히 틀린다. 못 뜯으면 **원문을 그대로 들고** 못 뜯었다고 말한다.
|
|
24
|
+
*/
|
|
25
|
+
/** 가변 길이 항목의 끝을 알리는 글자(그룹 구분자). */
|
|
26
|
+
const FNC1 = '\x1d';
|
|
27
|
+
/**
|
|
28
|
+
* 길이가 정해진 항목들 — 이것만 FNC1 없이 이어 붙일 수 있다.
|
|
29
|
+
*
|
|
30
|
+
* 여기 없는 AI 는 **가변 길이로 본다.** 반대로 하면(모르는 것을 고정으로 보면) 뒤엣것까지 함께 먹어
|
|
31
|
+
* 품번이 조용히 길어진다.
|
|
32
|
+
*/
|
|
33
|
+
const FIXED_LENGTH = {
|
|
34
|
+
'00': 18, // SSCC
|
|
35
|
+
'01': 14, // GTIN
|
|
36
|
+
'02': 14, // 포장 안 품목의 GTIN
|
|
37
|
+
'11': 6, // 생산일
|
|
38
|
+
'12': 6, // 지급기일
|
|
39
|
+
'13': 6, // 포장일
|
|
40
|
+
'15': 6, // 품질유지기한
|
|
41
|
+
'16': 6, // 판매기한
|
|
42
|
+
'17': 6, // 사용기한
|
|
43
|
+
'20': 2, // 제품 변형
|
|
44
|
+
'414': 13 // 물리적 위치의 GLN
|
|
45
|
+
};
|
|
46
|
+
/** 우리가 이름 붙인 가변 길이 항목들. `254` 는 GLN 확장(같은 GLN 안의 자리)이다. */
|
|
47
|
+
const KNOWN_VARIABLE = ['10', '21', '30', '254'];
|
|
48
|
+
/** 괄호 표기인가. `(01)…` 처럼 숫자 두 자리 이상을 괄호로 감쌌으면 그렇다. */
|
|
49
|
+
function isBracketed(value) {
|
|
50
|
+
return /^\(\d{2,4}\)/.test(value);
|
|
51
|
+
}
|
|
52
|
+
export function parseGs1(value) {
|
|
53
|
+
const raw = value;
|
|
54
|
+
if (!raw?.trim()) {
|
|
55
|
+
return { ok: false, because: 'not-gs1', raw };
|
|
56
|
+
}
|
|
57
|
+
const parsed = isBracketed(raw) ? fromBracketed(raw) : fromRaw(raw);
|
|
58
|
+
if (!parsed.ok) {
|
|
59
|
+
return parsed;
|
|
60
|
+
}
|
|
61
|
+
const found = parsed.elements;
|
|
62
|
+
const count = found['30'] !== undefined ? Number(found['30']) : undefined;
|
|
63
|
+
return {
|
|
64
|
+
ok: true,
|
|
65
|
+
scan: {
|
|
66
|
+
sscc: found['00'],
|
|
67
|
+
gln: found['414'],
|
|
68
|
+
glnExtension: found['254'],
|
|
69
|
+
gtin: found['01'],
|
|
70
|
+
lot: found['10'],
|
|
71
|
+
serial: found['21'],
|
|
72
|
+
useBy: found['17'],
|
|
73
|
+
/* 숫자가 아니면 담지 않는다 — `NaN` 을 수량으로 두면 더하는 쪽에서 합계가 통째로 사라진다. */
|
|
74
|
+
count: count !== undefined && Number.isFinite(count) ? count : undefined,
|
|
75
|
+
elements: found,
|
|
76
|
+
raw
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/** `(01)08801234567890(10)LOT-A` — 괄호가 마디를 가르므로 길이표가 필요 없다. */
|
|
81
|
+
function fromBracketed(raw) {
|
|
82
|
+
const elements = {};
|
|
83
|
+
const pattern = /\((\d{2,4})\)([^(]*)/g;
|
|
84
|
+
let match;
|
|
85
|
+
let consumed = 0;
|
|
86
|
+
while ((match = pattern.exec(raw)) !== null) {
|
|
87
|
+
const ai = match[1];
|
|
88
|
+
const value = match[2].trim();
|
|
89
|
+
const fixed = FIXED_LENGTH[ai];
|
|
90
|
+
/*
|
|
91
|
+
* 길이를 아는 항목은 **정확히 그 길이여야 한다.** 괄호 표기에서는 마디의 끝을 다음 괄호가 정하므로,
|
|
92
|
+
* 값 뒤에 딴 글자가 붙어 있어도 그대로 들어온다 — `(01)08801234567890XYZ` 가 품번 17자리로 앉는다.
|
|
93
|
+
* 그러면 마스터에서 못 찾고 「모르는 품목」이 되는데, 진짜 원인은 라벨이 깨진 것이다.
|
|
94
|
+
*/
|
|
95
|
+
if (fixed !== undefined && value.length !== fixed) {
|
|
96
|
+
return { ok: false, because: value.length < fixed ? 'truncated' : 'unterminated', raw };
|
|
97
|
+
}
|
|
98
|
+
elements[ai] = value;
|
|
99
|
+
consumed = match.index + match[0].length;
|
|
100
|
+
}
|
|
101
|
+
if (!Object.keys(elements).length || consumed !== raw.length) {
|
|
102
|
+
/* 괄호 밖에 남은 글자가 있다. 어디에 붙는 값인지 모르므로 짐작하지 않는다. */
|
|
103
|
+
return { ok: false, because: 'not-gs1', raw };
|
|
104
|
+
}
|
|
105
|
+
return { ok: true, elements };
|
|
106
|
+
}
|
|
107
|
+
/** `0108801234567890` 에 FNC1 로 이어진 원문. 길이표가 마디를 가른다. */
|
|
108
|
+
function fromRaw(raw) {
|
|
109
|
+
const elements = {};
|
|
110
|
+
let rest = raw;
|
|
111
|
+
while (rest.length) {
|
|
112
|
+
/* FNC1 이 남아 있으면 버린다 — 앞 마디의 끝을 알린 것이고 그 일은 끝났다. */
|
|
113
|
+
if (rest.startsWith(FNC1)) {
|
|
114
|
+
rest = rest.slice(1);
|
|
115
|
+
continue;
|
|
116
|
+
}
|
|
117
|
+
const ai = aiAt(rest);
|
|
118
|
+
if (!ai) {
|
|
119
|
+
/* 뜯다가 막힌 것과 처음부터 GS1 이 아닌 것은 다른 일이다. */
|
|
120
|
+
return { ok: false, because: Object.keys(elements).length ? 'unterminated' : 'not-gs1', raw };
|
|
121
|
+
}
|
|
122
|
+
rest = rest.slice(ai.length);
|
|
123
|
+
const fixed = FIXED_LENGTH[ai];
|
|
124
|
+
if (fixed !== undefined) {
|
|
125
|
+
if (rest.length < fixed) {
|
|
126
|
+
return { ok: false, because: 'truncated', raw };
|
|
127
|
+
}
|
|
128
|
+
const value = rest.slice(0, fixed);
|
|
129
|
+
/*
|
|
130
|
+
* 길이만큼 떼었는데 그 안에 FNC1 이 들어 있다. 앞 마디가 선언한 길이보다 짧게 온 것이고, 그대로
|
|
131
|
+
* 쓰면 **구분자를 값의 일부로 삼아** 뒤엣것까지 밀린다.
|
|
132
|
+
*/
|
|
133
|
+
if (value.includes(FNC1)) {
|
|
134
|
+
return { ok: false, because: 'truncated', raw };
|
|
135
|
+
}
|
|
136
|
+
elements[ai] = value;
|
|
137
|
+
rest = rest.slice(fixed);
|
|
138
|
+
continue;
|
|
139
|
+
}
|
|
140
|
+
/*
|
|
141
|
+
* 가변 길이다. FNC1 까지가 값이고, 없으면 **끝까지**가 값이다 — 마지막 마디에는 FNC1 을 붙이지
|
|
142
|
+
* 않는 것이 표준이다. 뒤에 다른 마디가 이어졌는데 FNC1 이 없으면 우리가 가를 방법이 없고, 그때는
|
|
143
|
+
* 그 값이 길어진 채로 남는다. 스캐너가 FNC1 을 보내도록 맞추는 것이 답이다.
|
|
144
|
+
*/
|
|
145
|
+
const end = rest.indexOf(FNC1);
|
|
146
|
+
elements[ai] = end === -1 ? rest : rest.slice(0, end);
|
|
147
|
+
rest = end === -1 ? '' : rest.slice(end + 1);
|
|
148
|
+
}
|
|
149
|
+
return Object.keys(elements).length ? { ok: true, elements } : { ok: false, because: 'not-gs1', raw };
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* 맨 앞의 AI 를 집는다.
|
|
153
|
+
*
|
|
154
|
+
* AI 는 2~4 자리이고 어느 것인지는 **앞 두 자리가 정한다.** 두 자리로 아는 것을 먼저 보고, 그다음에
|
|
155
|
+
* 세 자리로 아는 것(`414` · `254`), 그다음에 네 자리를 본다. 늘리기만 하면 `30`(수량)을 `3010` 같은 것으로,
|
|
156
|
+
* `414`(위치)를 `4140` 으로 잘못 읽는다.
|
|
157
|
+
*/
|
|
158
|
+
function aiAt(rest) {
|
|
159
|
+
const two = rest.slice(0, 2);
|
|
160
|
+
if (!/^\d{2}$/.test(two)) {
|
|
161
|
+
return undefined;
|
|
162
|
+
}
|
|
163
|
+
if (FIXED_LENGTH[two] !== undefined || KNOWN_VARIABLE.includes(two)) {
|
|
164
|
+
return two;
|
|
165
|
+
}
|
|
166
|
+
const three = rest.slice(0, 3);
|
|
167
|
+
if (/^\d{3}$/.test(three) && (FIXED_LENGTH[three] !== undefined || KNOWN_VARIABLE.includes(three))) {
|
|
168
|
+
return three;
|
|
169
|
+
}
|
|
170
|
+
/* 나머지는 네 자리까지 본다 — 무게·부피처럼 마지막 자리가 소수점 자리인 것들이다. */
|
|
171
|
+
const four = rest.slice(0, 4);
|
|
172
|
+
return /^\d{4}$/.test(four) ? four : two;
|
|
173
|
+
}
|
|
174
|
+
// ── 라벨 숫자 ↔ EPC 식별자 ────────────────────────────────────────────────────
|
|
175
|
+
/** GS1 검사 숫자(mod 10, 오른쪽부터 3·1). `body` 는 검사 숫자를 뺀 숫자열. */
|
|
176
|
+
function checkDigitOf(body) {
|
|
177
|
+
const sum = [...body].reverse().reduce((total, digit, at) => total + Number(digit) * (at % 2 === 0 ? 3 : 1), 0);
|
|
178
|
+
return String((10 - (sum % 10)) % 10);
|
|
179
|
+
}
|
|
180
|
+
/** 검사 숫자까지 맞는 n 자리 숫자인가. */
|
|
181
|
+
function wellFormed(digits, length) {
|
|
182
|
+
return !!digits && digits.length === length && /^\d+$/.test(digits) && checkDigitOf(digits.slice(0, -1)) === digits.slice(-1);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* 회사 프리픽스의 자리 수 — GS1 이 회사마다 6~12 자리로 배정하므로 **숫자만으로는 알 수 없다**(`gs1KeyDigitViolation`
|
|
186
|
+
* 이 합계만 보는 까닭과 같다). 그래서 라벨 숫자 하나는 식별자 하나가 아니라 **후보 일곱**이 된다.
|
|
187
|
+
*/
|
|
188
|
+
const PREFIX_LENGTHS = [6, 7, 8, 9, 10, 11, 12];
|
|
189
|
+
/**
|
|
190
|
+
* 라벨이 말하는 EPC 식별자의 **후보** — 뜯은 결과에서.
|
|
191
|
+
*
|
|
192
|
+
* AI 00 (SSCC) → `urn:epc:id:sscc:<프리픽스>.<확장+일련>`
|
|
193
|
+
* AI 01 + 10 (GTIN·로트) → `urn:epc:class:lgtin:<프리픽스>.<표시자+품목참조>.<로트>`
|
|
194
|
+
* AI 01 (GTIN) → `urn:epc:idpat:sgtin:<프리픽스>.<표시자+품목참조>.*`
|
|
195
|
+
* AI 414 (+254) → `urn:epc:id:sgln:<프리픽스>.<위치참조>.<확장, 없으면 0>`
|
|
196
|
+
*
|
|
197
|
+
* 검사 숫자가 틀린 값은 후보를 내지 않는다 — 깨진 라벨을 짐작으로 고치지 않는다. 후보는 **어느 것이 맞는지
|
|
198
|
+
* 말하지 않는다.** 저장된 식별자와 정확히 같은 것을 찾아 확정하는 일은 읽는 쪽 문이 한다(ADR-0133 2-1: GS1
|
|
199
|
+
* 결과는 보조 후보이고 그것만으로 대상을 확정하지 않는다).
|
|
200
|
+
*/
|
|
201
|
+
export function epcCandidatesOfGs1(scan) {
|
|
202
|
+
const out = [];
|
|
203
|
+
if (wellFormed(scan.sscc, 18)) {
|
|
204
|
+
const d = scan.sscc;
|
|
205
|
+
for (const l of PREFIX_LENGTHS)
|
|
206
|
+
out.push(`urn:epc:id:sscc:${d.slice(1, 1 + l)}.${d[0]}${d.slice(1 + l, 17)}`);
|
|
207
|
+
}
|
|
208
|
+
if (wellFormed(scan.gtin, 14)) {
|
|
209
|
+
const d = scan.gtin;
|
|
210
|
+
for (const l of PREFIX_LENGTHS) {
|
|
211
|
+
const prefix = d.slice(1, 1 + l);
|
|
212
|
+
const itemRefAndIndicator = d[0] + d.slice(1 + l, 13);
|
|
213
|
+
out.push(scan.lot ? lgtinClass(prefix, itemRefAndIndicator, scan.lot) : sgtinClass(prefix, itemRefAndIndicator));
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
if (wellFormed(scan.gln, 13)) {
|
|
217
|
+
const d = scan.gln;
|
|
218
|
+
for (const l of PREFIX_LENGTHS)
|
|
219
|
+
out.push(`urn:epc:id:sgln:${d.slice(0, l)}.${d.slice(l, 12)}.${scan.glnExtension || '0'}`);
|
|
220
|
+
}
|
|
221
|
+
return out;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* SSCC 식별자의 라벨 숫자 18자리(검사 숫자 포함) — 용기 라벨(AI 00)과 견줄 때. SSCC 가 아니면 `undefined`.
|
|
225
|
+
*
|
|
226
|
+
* TDS: 확장 숫자(일련 참조의 첫 자리) + 프리픽스 + 일련 참조의 나머지, 그리고 검사 숫자.
|
|
227
|
+
*/
|
|
228
|
+
export function ssccDigitsOf(uri) {
|
|
229
|
+
const match = /^urn:epc:id:sscc:(\d+)\.(\d+)$/.exec(uri ?? '');
|
|
230
|
+
if (!match)
|
|
231
|
+
return undefined;
|
|
232
|
+
const [, prefix, reference] = match;
|
|
233
|
+
const body = reference[0] + prefix + reference.slice(1);
|
|
234
|
+
if (body.length !== 17)
|
|
235
|
+
return undefined;
|
|
236
|
+
return body + checkDigitOf(body);
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* 품목 클래스(`urn:epc:idpat:sgtin:<프리픽스>.<표시자+품목참조>.*`)의 GTIN-14 — 품목 라벨(AI 01)과 견줄 때.
|
|
240
|
+
* 그 모양이 아니면 `undefined`.
|
|
241
|
+
*/
|
|
242
|
+
export function gtin14OfItemClass(definitionId) {
|
|
243
|
+
const match = /^urn:epc:idpat:sgtin:(\d+)\.(\d+)\.\*$/.exec(definitionId ?? '');
|
|
244
|
+
if (!match)
|
|
245
|
+
return undefined;
|
|
246
|
+
const [, prefix, reference] = match;
|
|
247
|
+
const body = reference[0] + prefix + reference.slice(1);
|
|
248
|
+
if (body.length !== 13)
|
|
249
|
+
return undefined;
|
|
250
|
+
return body + checkDigitOf(body);
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* 품목 식별자가 말하는 GTIN-14 — 품목 클래스 모양이면 그 GTIN(`gtin14OfItemClass`), 품목 이름이 GTIN 그 자체(8 · 12 ·
|
|
254
|
+
* 13 · 14 자리)면 앞을 0 으로 채운 14자리. 라벨의 AI 01 과 견줄 때 쓴다. 어느 것도 아니면 `undefined`.
|
|
255
|
+
*/
|
|
256
|
+
export function gtin14OfItem(definitionId) {
|
|
257
|
+
const byClass = gtin14OfItemClass(definitionId);
|
|
258
|
+
if (byClass)
|
|
259
|
+
return byClass;
|
|
260
|
+
return /^(\d{8}|\d{12,14})$/.test(definitionId ?? '') ? definitionId.padStart(14, '0') : undefined;
|
|
261
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './domain-definition.ts';
|
|
|
6
6
|
export * from './ems-profile.ts';
|
|
7
7
|
export * from './energy-ingest.ts';
|
|
8
8
|
export * from './epcis.ts';
|
|
9
|
+
export * from './gs1.ts';
|
|
9
10
|
export * from './order-fold.ts';
|
|
10
11
|
export * from './referenced-location.ts';
|
|
11
12
|
export * from './face2-adapter.ts';
|
|
@@ -31,3 +32,4 @@ export * from './reliability.ts';
|
|
|
31
32
|
export * from './erp.ts';
|
|
32
33
|
export * from './actuation.ts';
|
|
33
34
|
export * from './operational-attention.ts';
|
|
35
|
+
export * from './lot-lineage.ts';
|
package/dist/index.js
CHANGED
|
@@ -27,6 +27,7 @@ export * from "./domain-definition.js";
|
|
|
27
27
|
export * from "./ems-profile.js";
|
|
28
28
|
export * from "./energy-ingest.js";
|
|
29
29
|
export * from "./epcis.js";
|
|
30
|
+
export * from "./gs1.js";
|
|
30
31
|
export * from "./order-fold.js";
|
|
31
32
|
export * from "./referenced-location.js";
|
|
32
33
|
export * from "./face2-adapter.js";
|
|
@@ -54,3 +55,4 @@ export * from "./reliability.js";
|
|
|
54
55
|
export * from "./erp.js";
|
|
55
56
|
export * from "./actuation.js";
|
|
56
57
|
export * from "./operational-attention.js";
|
|
58
|
+
export * from "./lot-lineage.js";
|