@updraft-solutions/mcrit-sdk 0.20.2 → 0.20.4
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/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -15
- package/dist/schemas/index.d.cts +196 -196
- package/dist/schemas/index.d.ts +196 -196
- package/dist/types/index.d.cts +15 -3
- package/dist/types/index.d.ts +15 -3
- package/package.json +1 -1
- package/src/types/ai.ts +10 -2
- package/dist/{conversation-JmrIujrU.d.cts → conversation-Be76HoQk.d.cts} +21338 -21338
- package/dist/{conversation-JmrIujrU.d.ts → conversation-Be76HoQk.d.ts} +21338 -21338
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a9 as FormSubmission, cB as fboAcceptanceAxisSchema, cC as fboAcceptanceStatusSchema, cF as fboActivitySchema, cD as fboActivityCauserSchema, cE as fboActivityChangesSchema, cK as fboCompanySchema, cH as fboCompanyGrantSchema, cG as fboCompanyGrantInputSchema, cI as fboCompanyMemberSchema, cJ as fboCompanyProfileSchema, cN as fboDecisionSchema, cL as fboDecisionAxisSchema, cM as fboDecisionInputSchema, cP as fboDutySchema, cO as fboDutyAffectedSchema, cQ as fboDutySeriesResponseSchema, cT as fboFlightSchema, cS as fboFlightDocumentSchema, cU as fboFlightStatusSchema, cV as fboFlightTypeSchema, cX as fboGrantAbilitySchema, cW as fboGrantAbilityOptionSchema, cY as fboGrantCompanyRefSchema, cZ as fboGroundServicesSchema, c_ as fboLandingsSummarySchema, c$ as fboMaterialiseResultSchema, d0 as fboMetaSchema, d1 as fboNextDutySchema, d2 as fboOccupationSchema, d3 as fboOperationsSchema, d4 as fboPersonSchema, d5 as fboPobSchema, d6 as fboRecurrenceSchema, d7 as fboRecurrenceTypeSchema, d8 as fboRecurringFlightSchema, d9 as fboRoleSchema, db as fboStatisticsSchema, dc as fboSystemRoleSchema, dd as fboTrafficLayerInputSchema, de as fboTrafficRowSchema, dg as fboTrafficSourceSchema, dh as fboVisibilitySchema, di as fboWeeklyLandingSchema, ch as conversationSchema, cb as conversationKindSchema, cc as conversationMessageSchema, cd as conversationMessageSentEventSchema, ce as conversationParticipantSchema, cf as conversationReadEventSchema, cg as conversationRecipientSchema, ci as conversationUnreadSummarySchema } from '../conversation-
|
|
2
|
-
export { A as Activity, a as Address, b as AircraftPosition, c as AircraftRating, d as Airplane, en as AirplaneIssue, eo as AirplaneIssueSeverity, ep as AirplaneIssueStatus, e as AirplanePermission, f as AirplaneShareInvite, g as Airport, h as Alert, i as AllowedDocumentType, j as ApproachType, m as Avail, B as BaseMembership, eq as BaseModel, o as Booking, C as Comment, p as Company, q as Course, er as CourseCheckSyllabus, s as CourseEnrollment, es as CourseEnrollmentMetrics, t as CourseFee, u as CreateAirplaneIssueInput, v as CreateCommentInput, z as CreatePostInput, G as DeferAirplaneIssueInput, H as Document, I as DocumentComplianceStatus, J as DocumentRequirement, K as DocumentRequirementGroup, L as DocumentRequirementGroupAssignment, M as DocumentShare, N as DocumentType, R as Event, S as Expense, T as ExpenseItem, U as ExtendedAirplane, X as Fee, Y as FeeCategoryOptions, $ as FlightLog, a0 as FlightRequest, a1 as FlightRequestAvailability, a2 as FlightRequestBusyInterval, a3 as FlightRequestResponse, a4 as FlightRequestResponseStatus, a5 as FlightRequestSeat, a6 as FlightRequestStatus, a7 as FlightRequestWindow, au as Invoice, av as Landing, aw as LandingFee, ax as MaintenanceEvent, ay as MaintenanceEventEstimation, az as MaintenanceStatus, em as Media, aA as MediaCollection, aB as Membership, aC as MembershipSignup, aD as Post, aE as PostSubject, aF as PrePaidPackage, aG as Price, aH as Qualification, aI as RecurringFlight, aR as ResolveAirplaneIssueInput, aT as Role, aU as Runway, aV as ScheduledFlight, a_ as Setting, b5 as SpecialFlight, bi as Tag, et as TagSyncEntry, bj as TeachingPermission, bm as Ticket, bB as UpdateAirplaneIssueInput, bC as UpdateCommentInput, bE as UpdatePostInput, bM as User, bN as UserAircraftRating, bO as UserQualification, bP as Waypoint } from '../conversation-
|
|
1
|
+
import { a9 as FormSubmission, cB as fboAcceptanceAxisSchema, cC as fboAcceptanceStatusSchema, cF as fboActivitySchema, cD as fboActivityCauserSchema, cE as fboActivityChangesSchema, cK as fboCompanySchema, cH as fboCompanyGrantSchema, cG as fboCompanyGrantInputSchema, cI as fboCompanyMemberSchema, cJ as fboCompanyProfileSchema, cN as fboDecisionSchema, cL as fboDecisionAxisSchema, cM as fboDecisionInputSchema, cP as fboDutySchema, cO as fboDutyAffectedSchema, cQ as fboDutySeriesResponseSchema, cT as fboFlightSchema, cS as fboFlightDocumentSchema, cU as fboFlightStatusSchema, cV as fboFlightTypeSchema, cX as fboGrantAbilitySchema, cW as fboGrantAbilityOptionSchema, cY as fboGrantCompanyRefSchema, cZ as fboGroundServicesSchema, c_ as fboLandingsSummarySchema, c$ as fboMaterialiseResultSchema, d0 as fboMetaSchema, d1 as fboNextDutySchema, d2 as fboOccupationSchema, d3 as fboOperationsSchema, d4 as fboPersonSchema, d5 as fboPobSchema, d6 as fboRecurrenceSchema, d7 as fboRecurrenceTypeSchema, d8 as fboRecurringFlightSchema, d9 as fboRoleSchema, db as fboStatisticsSchema, dc as fboSystemRoleSchema, dd as fboTrafficLayerInputSchema, de as fboTrafficRowSchema, dg as fboTrafficSourceSchema, dh as fboVisibilitySchema, di as fboWeeklyLandingSchema, ch as conversationSchema, cb as conversationKindSchema, cc as conversationMessageSchema, cd as conversationMessageSentEventSchema, ce as conversationParticipantSchema, cf as conversationReadEventSchema, cg as conversationRecipientSchema, ci as conversationUnreadSummarySchema } from '../conversation-Be76HoQk.cjs';
|
|
2
|
+
export { A as Activity, a as Address, b as AircraftPosition, c as AircraftRating, d as Airplane, en as AirplaneIssue, eo as AirplaneIssueSeverity, ep as AirplaneIssueStatus, e as AirplanePermission, f as AirplaneShareInvite, g as Airport, h as Alert, i as AllowedDocumentType, j as ApproachType, m as Avail, B as BaseMembership, eq as BaseModel, o as Booking, C as Comment, p as Company, q as Course, er as CourseCheckSyllabus, s as CourseEnrollment, es as CourseEnrollmentMetrics, t as CourseFee, u as CreateAirplaneIssueInput, v as CreateCommentInput, z as CreatePostInput, G as DeferAirplaneIssueInput, H as Document, I as DocumentComplianceStatus, J as DocumentRequirement, K as DocumentRequirementGroup, L as DocumentRequirementGroupAssignment, M as DocumentShare, N as DocumentType, R as Event, S as Expense, T as ExpenseItem, U as ExtendedAirplane, X as Fee, Y as FeeCategoryOptions, $ as FlightLog, a0 as FlightRequest, a1 as FlightRequestAvailability, a2 as FlightRequestBusyInterval, a3 as FlightRequestResponse, a4 as FlightRequestResponseStatus, a5 as FlightRequestSeat, a6 as FlightRequestStatus, a7 as FlightRequestWindow, au as Invoice, av as Landing, aw as LandingFee, ax as MaintenanceEvent, ay as MaintenanceEventEstimation, az as MaintenanceStatus, em as Media, aA as MediaCollection, aB as Membership, aC as MembershipSignup, aD as Post, aE as PostSubject, aF as PrePaidPackage, aG as Price, aH as Qualification, aI as RecurringFlight, aR as ResolveAirplaneIssueInput, aT as Role, aU as Runway, aV as ScheduledFlight, a_ as Setting, b5 as SpecialFlight, bi as Tag, et as TagSyncEntry, bj as TeachingPermission, bm as Ticket, bB as UpdateAirplaneIssueInput, bC as UpdateCommentInput, bE as UpdatePostInput, bM as User, bN as UserAircraftRating, bO as UserQualification, bP as Waypoint } from '../conversation-Be76HoQk.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -201,7 +201,7 @@ interface LogbookStageResult {
|
|
|
201
201
|
routed: Record<string, number> | number[];
|
|
202
202
|
discarded: DiscardedRow[];
|
|
203
203
|
}
|
|
204
|
-
type AircraftLogbookScoreReason = "duration_mismatch" | "totals_mismatch" | "date_out_of_order" | "missing_airport" | "unreadable_time" | "match_low"
|
|
204
|
+
type AircraftLogbookScoreReason = "duration_mismatch" | "totals_mismatch" | "date_out_of_order" | "missing_airport" | "unreadable_time" | "match_low";
|
|
205
205
|
type AircraftLogbookUiStatus = "unmatched" | "matched" | "ready_with_gaps" | "logged" | "applied" | "dismissed";
|
|
206
206
|
interface AircraftLogbookDeviation {
|
|
207
207
|
field: "etdZ" | "etaZ" | "landings" | "departure" | "destination";
|
|
@@ -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,11 @@ 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;
|
|
300
|
+
/** How the candidate was found: surname similarity, initials, or the crew of a booking the same PIC text was attached to before. */
|
|
301
|
+
source?: "name" | "initials" | "history";
|
|
290
302
|
}
|
|
291
303
|
interface AircraftLogbookBulkAcceptResult {
|
|
292
304
|
applied: number[];
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a9 as FormSubmission, cB as fboAcceptanceAxisSchema, cC as fboAcceptanceStatusSchema, cF as fboActivitySchema, cD as fboActivityCauserSchema, cE as fboActivityChangesSchema, cK as fboCompanySchema, cH as fboCompanyGrantSchema, cG as fboCompanyGrantInputSchema, cI as fboCompanyMemberSchema, cJ as fboCompanyProfileSchema, cN as fboDecisionSchema, cL as fboDecisionAxisSchema, cM as fboDecisionInputSchema, cP as fboDutySchema, cO as fboDutyAffectedSchema, cQ as fboDutySeriesResponseSchema, cT as fboFlightSchema, cS as fboFlightDocumentSchema, cU as fboFlightStatusSchema, cV as fboFlightTypeSchema, cX as fboGrantAbilitySchema, cW as fboGrantAbilityOptionSchema, cY as fboGrantCompanyRefSchema, cZ as fboGroundServicesSchema, c_ as fboLandingsSummarySchema, c$ as fboMaterialiseResultSchema, d0 as fboMetaSchema, d1 as fboNextDutySchema, d2 as fboOccupationSchema, d3 as fboOperationsSchema, d4 as fboPersonSchema, d5 as fboPobSchema, d6 as fboRecurrenceSchema, d7 as fboRecurrenceTypeSchema, d8 as fboRecurringFlightSchema, d9 as fboRoleSchema, db as fboStatisticsSchema, dc as fboSystemRoleSchema, dd as fboTrafficLayerInputSchema, de as fboTrafficRowSchema, dg as fboTrafficSourceSchema, dh as fboVisibilitySchema, di as fboWeeklyLandingSchema, ch as conversationSchema, cb as conversationKindSchema, cc as conversationMessageSchema, cd as conversationMessageSentEventSchema, ce as conversationParticipantSchema, cf as conversationReadEventSchema, cg as conversationRecipientSchema, ci as conversationUnreadSummarySchema } from '../conversation-
|
|
2
|
-
export { A as Activity, a as Address, b as AircraftPosition, c as AircraftRating, d as Airplane, en as AirplaneIssue, eo as AirplaneIssueSeverity, ep as AirplaneIssueStatus, e as AirplanePermission, f as AirplaneShareInvite, g as Airport, h as Alert, i as AllowedDocumentType, j as ApproachType, m as Avail, B as BaseMembership, eq as BaseModel, o as Booking, C as Comment, p as Company, q as Course, er as CourseCheckSyllabus, s as CourseEnrollment, es as CourseEnrollmentMetrics, t as CourseFee, u as CreateAirplaneIssueInput, v as CreateCommentInput, z as CreatePostInput, G as DeferAirplaneIssueInput, H as Document, I as DocumentComplianceStatus, J as DocumentRequirement, K as DocumentRequirementGroup, L as DocumentRequirementGroupAssignment, M as DocumentShare, N as DocumentType, R as Event, S as Expense, T as ExpenseItem, U as ExtendedAirplane, X as Fee, Y as FeeCategoryOptions, $ as FlightLog, a0 as FlightRequest, a1 as FlightRequestAvailability, a2 as FlightRequestBusyInterval, a3 as FlightRequestResponse, a4 as FlightRequestResponseStatus, a5 as FlightRequestSeat, a6 as FlightRequestStatus, a7 as FlightRequestWindow, au as Invoice, av as Landing, aw as LandingFee, ax as MaintenanceEvent, ay as MaintenanceEventEstimation, az as MaintenanceStatus, em as Media, aA as MediaCollection, aB as Membership, aC as MembershipSignup, aD as Post, aE as PostSubject, aF as PrePaidPackage, aG as Price, aH as Qualification, aI as RecurringFlight, aR as ResolveAirplaneIssueInput, aT as Role, aU as Runway, aV as ScheduledFlight, a_ as Setting, b5 as SpecialFlight, bi as Tag, et as TagSyncEntry, bj as TeachingPermission, bm as Ticket, bB as UpdateAirplaneIssueInput, bC as UpdateCommentInput, bE as UpdatePostInput, bM as User, bN as UserAircraftRating, bO as UserQualification, bP as Waypoint } from '../conversation-
|
|
1
|
+
import { a9 as FormSubmission, cB as fboAcceptanceAxisSchema, cC as fboAcceptanceStatusSchema, cF as fboActivitySchema, cD as fboActivityCauserSchema, cE as fboActivityChangesSchema, cK as fboCompanySchema, cH as fboCompanyGrantSchema, cG as fboCompanyGrantInputSchema, cI as fboCompanyMemberSchema, cJ as fboCompanyProfileSchema, cN as fboDecisionSchema, cL as fboDecisionAxisSchema, cM as fboDecisionInputSchema, cP as fboDutySchema, cO as fboDutyAffectedSchema, cQ as fboDutySeriesResponseSchema, cT as fboFlightSchema, cS as fboFlightDocumentSchema, cU as fboFlightStatusSchema, cV as fboFlightTypeSchema, cX as fboGrantAbilitySchema, cW as fboGrantAbilityOptionSchema, cY as fboGrantCompanyRefSchema, cZ as fboGroundServicesSchema, c_ as fboLandingsSummarySchema, c$ as fboMaterialiseResultSchema, d0 as fboMetaSchema, d1 as fboNextDutySchema, d2 as fboOccupationSchema, d3 as fboOperationsSchema, d4 as fboPersonSchema, d5 as fboPobSchema, d6 as fboRecurrenceSchema, d7 as fboRecurrenceTypeSchema, d8 as fboRecurringFlightSchema, d9 as fboRoleSchema, db as fboStatisticsSchema, dc as fboSystemRoleSchema, dd as fboTrafficLayerInputSchema, de as fboTrafficRowSchema, dg as fboTrafficSourceSchema, dh as fboVisibilitySchema, di as fboWeeklyLandingSchema, ch as conversationSchema, cb as conversationKindSchema, cc as conversationMessageSchema, cd as conversationMessageSentEventSchema, ce as conversationParticipantSchema, cf as conversationReadEventSchema, cg as conversationRecipientSchema, ci as conversationUnreadSummarySchema } from '../conversation-Be76HoQk.js';
|
|
2
|
+
export { A as Activity, a as Address, b as AircraftPosition, c as AircraftRating, d as Airplane, en as AirplaneIssue, eo as AirplaneIssueSeverity, ep as AirplaneIssueStatus, e as AirplanePermission, f as AirplaneShareInvite, g as Airport, h as Alert, i as AllowedDocumentType, j as ApproachType, m as Avail, B as BaseMembership, eq as BaseModel, o as Booking, C as Comment, p as Company, q as Course, er as CourseCheckSyllabus, s as CourseEnrollment, es as CourseEnrollmentMetrics, t as CourseFee, u as CreateAirplaneIssueInput, v as CreateCommentInput, z as CreatePostInput, G as DeferAirplaneIssueInput, H as Document, I as DocumentComplianceStatus, J as DocumentRequirement, K as DocumentRequirementGroup, L as DocumentRequirementGroupAssignment, M as DocumentShare, N as DocumentType, R as Event, S as Expense, T as ExpenseItem, U as ExtendedAirplane, X as Fee, Y as FeeCategoryOptions, $ as FlightLog, a0 as FlightRequest, a1 as FlightRequestAvailability, a2 as FlightRequestBusyInterval, a3 as FlightRequestResponse, a4 as FlightRequestResponseStatus, a5 as FlightRequestSeat, a6 as FlightRequestStatus, a7 as FlightRequestWindow, au as Invoice, av as Landing, aw as LandingFee, ax as MaintenanceEvent, ay as MaintenanceEventEstimation, az as MaintenanceStatus, em as Media, aA as MediaCollection, aB as Membership, aC as MembershipSignup, aD as Post, aE as PostSubject, aF as PrePaidPackage, aG as Price, aH as Qualification, aI as RecurringFlight, aR as ResolveAirplaneIssueInput, aT as Role, aU as Runway, aV as ScheduledFlight, a_ as Setting, b5 as SpecialFlight, bi as Tag, et as TagSyncEntry, bj as TeachingPermission, bm as Ticket, bB as UpdateAirplaneIssueInput, bC as UpdateCommentInput, bE as UpdatePostInput, bM as User, bN as UserAircraftRating, bO as UserQualification, bP as Waypoint } from '../conversation-Be76HoQk.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -201,7 +201,7 @@ interface LogbookStageResult {
|
|
|
201
201
|
routed: Record<string, number> | number[];
|
|
202
202
|
discarded: DiscardedRow[];
|
|
203
203
|
}
|
|
204
|
-
type AircraftLogbookScoreReason = "duration_mismatch" | "totals_mismatch" | "date_out_of_order" | "missing_airport" | "unreadable_time" | "match_low"
|
|
204
|
+
type AircraftLogbookScoreReason = "duration_mismatch" | "totals_mismatch" | "date_out_of_order" | "missing_airport" | "unreadable_time" | "match_low";
|
|
205
205
|
type AircraftLogbookUiStatus = "unmatched" | "matched" | "ready_with_gaps" | "logged" | "applied" | "dismissed";
|
|
206
206
|
interface AircraftLogbookDeviation {
|
|
207
207
|
field: "etdZ" | "etaZ" | "landings" | "departure" | "destination";
|
|
@@ -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,11 @@ 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;
|
|
300
|
+
/** How the candidate was found: surname similarity, initials, or the crew of a booking the same PIC text was attached to before. */
|
|
301
|
+
source?: "name" | "initials" | "history";
|
|
290
302
|
}
|
|
291
303
|
interface AircraftLogbookBulkAcceptResult {
|
|
292
304
|
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.4",
|
|
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
|
@@ -93,8 +93,7 @@ export type AircraftLogbookScoreReason =
|
|
|
93
93
|
| "date_out_of_order"
|
|
94
94
|
| "missing_airport"
|
|
95
95
|
| "unreadable_time"
|
|
96
|
-
| "match_low"
|
|
97
|
-
| "match_none";
|
|
96
|
+
| "match_low";
|
|
98
97
|
|
|
99
98
|
export type AircraftLogbookUiStatus =
|
|
100
99
|
| "unmatched"
|
|
@@ -128,6 +127,10 @@ export interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
128
127
|
overlapping_flight_log_ids?: number[];
|
|
129
128
|
/** Best member match for the handwritten PIC name (pure string ranking, no model). */
|
|
130
129
|
pic_proposal?: AircraftLogbookCrewProposal | null;
|
|
130
|
+
/** Best member match per person in the PIC column. */
|
|
131
|
+
pic_proposals?: AircraftLogbookCrewProposal[];
|
|
132
|
+
/** Vertical position of the row in the page image (fractions of the image height), as estimated by the reader. */
|
|
133
|
+
row_band?: { top: number; bottom: number } | null;
|
|
131
134
|
}
|
|
132
135
|
|
|
133
136
|
export type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|
|
@@ -174,6 +177,11 @@ export interface AircraftLogbookCrewProposal {
|
|
|
174
177
|
membership_id: number;
|
|
175
178
|
name: string;
|
|
176
179
|
score: number;
|
|
180
|
+
/** Which person of the handwritten PIC text this ranks ("Bau / Steiner" → parts 0 and 1). */
|
|
181
|
+
part?: number;
|
|
182
|
+
part_text?: string;
|
|
183
|
+
/** How the candidate was found: surname similarity, initials, or the crew of a booking the same PIC text was attached to before. */
|
|
184
|
+
source?: "name" | "initials" | "history";
|
|
177
185
|
}
|
|
178
186
|
|
|
179
187
|
export interface AircraftLogbookBulkAcceptResult {
|