@updraft-solutions/mcrit-sdk 0.20.2 → 0.20.3
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/types/index.d.cts +10 -0
- package/dist/types/index.d.ts +10 -0
- package/package.json +1 -1
- package/src/types/ai.ts +7 -0
package/dist/types/index.d.cts
CHANGED
|
@@ -229,6 +229,13 @@ interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
229
229
|
overlapping_flight_log_ids?: number[];
|
|
230
230
|
/** Best member match for the handwritten PIC name (pure string ranking, no model). */
|
|
231
231
|
pic_proposal?: AircraftLogbookCrewProposal | null;
|
|
232
|
+
/** Best member match per person in the PIC column. */
|
|
233
|
+
pic_proposals?: AircraftLogbookCrewProposal[];
|
|
234
|
+
/** Vertical position of the row in the page image (fractions of the image height), as estimated by the reader. */
|
|
235
|
+
row_band?: {
|
|
236
|
+
top: number;
|
|
237
|
+
bottom: number;
|
|
238
|
+
} | null;
|
|
232
239
|
}
|
|
233
240
|
type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|
|
234
241
|
meta?: AircraftLogbookRowMeta;
|
|
@@ -287,6 +294,9 @@ interface AircraftLogbookCrewProposal {
|
|
|
287
294
|
membership_id: number;
|
|
288
295
|
name: string;
|
|
289
296
|
score: number;
|
|
297
|
+
/** Which person of the handwritten PIC text this ranks ("Bau / Steiner" → parts 0 and 1). */
|
|
298
|
+
part?: number;
|
|
299
|
+
part_text?: string;
|
|
290
300
|
}
|
|
291
301
|
interface AircraftLogbookBulkAcceptResult {
|
|
292
302
|
applied: number[];
|
package/dist/types/index.d.ts
CHANGED
|
@@ -229,6 +229,13 @@ interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
229
229
|
overlapping_flight_log_ids?: number[];
|
|
230
230
|
/** Best member match for the handwritten PIC name (pure string ranking, no model). */
|
|
231
231
|
pic_proposal?: AircraftLogbookCrewProposal | null;
|
|
232
|
+
/** Best member match per person in the PIC column. */
|
|
233
|
+
pic_proposals?: AircraftLogbookCrewProposal[];
|
|
234
|
+
/** Vertical position of the row in the page image (fractions of the image height), as estimated by the reader. */
|
|
235
|
+
row_band?: {
|
|
236
|
+
top: number;
|
|
237
|
+
bottom: number;
|
|
238
|
+
} | null;
|
|
232
239
|
}
|
|
233
240
|
type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|
|
234
241
|
meta?: AircraftLogbookRowMeta;
|
|
@@ -287,6 +294,9 @@ interface AircraftLogbookCrewProposal {
|
|
|
287
294
|
membership_id: number;
|
|
288
295
|
name: string;
|
|
289
296
|
score: number;
|
|
297
|
+
/** Which person of the handwritten PIC text this ranks ("Bau / Steiner" → parts 0 and 1). */
|
|
298
|
+
part?: number;
|
|
299
|
+
part_text?: string;
|
|
290
300
|
}
|
|
291
301
|
interface AircraftLogbookBulkAcceptResult {
|
|
292
302
|
applied: number[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@updraft-solutions/mcrit-sdk",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.3",
|
|
4
4
|
"description": "Shared TypeScript types, Zod schemas, and pure helpers for the MCRIT aviation fleet management platform",
|
|
5
5
|
"homepage": "https://github.com/updraft-solutions/mcrit-sdk#readme",
|
|
6
6
|
"bugs": {
|
package/src/types/ai.ts
CHANGED
|
@@ -128,6 +128,10 @@ export interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
128
128
|
overlapping_flight_log_ids?: number[];
|
|
129
129
|
/** Best member match for the handwritten PIC name (pure string ranking, no model). */
|
|
130
130
|
pic_proposal?: AircraftLogbookCrewProposal | null;
|
|
131
|
+
/** Best member match per person in the PIC column. */
|
|
132
|
+
pic_proposals?: AircraftLogbookCrewProposal[];
|
|
133
|
+
/** Vertical position of the row in the page image (fractions of the image height), as estimated by the reader. */
|
|
134
|
+
row_band?: { top: number; bottom: number } | null;
|
|
131
135
|
}
|
|
132
136
|
|
|
133
137
|
export type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|
|
@@ -174,6 +178,9 @@ export interface AircraftLogbookCrewProposal {
|
|
|
174
178
|
membership_id: number;
|
|
175
179
|
name: string;
|
|
176
180
|
score: number;
|
|
181
|
+
/** Which person of the handwritten PIC text this ranks ("Bau / Steiner" → parts 0 and 1). */
|
|
182
|
+
part?: number;
|
|
183
|
+
part_text?: string;
|
|
177
184
|
}
|
|
178
185
|
|
|
179
186
|
export interface AircraftLogbookBulkAcceptResult {
|