@updraft-solutions/mcrit-sdk 0.21.0 → 0.21.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.
- package/dist/{conversation-wiFIVp7O.d.cts → conversation-Dv61PrcQ.d.cts} +906 -906
- package/dist/{conversation-wiFIVp7O.d.ts → conversation-Dv61PrcQ.d.ts} +906 -906
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/schemas/index.d.cts +16 -16
- package/dist/schemas/index.d.ts +16 -16
- package/dist/types/index.d.cts +18 -2
- package/dist/types/index.d.ts +18 -2
- package/package.json +1 -1
- package/src/types/ai.ts +4 -0
package/src/types/ai.ts
CHANGED
|
@@ -133,6 +133,8 @@ export interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
133
133
|
row_band?: { top: number; bottom: number } | null;
|
|
134
134
|
/** Payload fields the admin corrected by hand (score recomputed from the corrected values). */
|
|
135
135
|
corrected?: string[];
|
|
136
|
+
/** People the Bordbuch names who are not in the crew copied from the booking (attached rows; informational). */
|
|
137
|
+
crew_hint?: { membership_id: number; name: string; score: number }[];
|
|
136
138
|
}
|
|
137
139
|
|
|
138
140
|
export type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|
|
@@ -159,6 +161,8 @@ export interface LogbookImportBatch {
|
|
|
159
161
|
unmatched_count: number;
|
|
160
162
|
duplicate_count: number;
|
|
161
163
|
failed_pages: { file: string; page: number | null; reason: string }[];
|
|
164
|
+
/** Per page index: how the page fared (prerotated/rotated in clockwise degrees). */
|
|
165
|
+
page_results?: Record<string, { status: "pending" | "read" | "failed"; file?: string; prerotated?: number; rotated?: number; rows?: number; logged?: number; duplicates?: number }> | null;
|
|
162
166
|
task_uuid: string | null;
|
|
163
167
|
requested_by: number | null;
|
|
164
168
|
created_at: string;
|