@updraft-solutions/mcrit-sdk 0.20.1 → 0.20.2
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.js +15 -15
- package/dist/types/index.d.cts +6 -0
- package/dist/types/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/types/ai.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -285,7 +285,6 @@ var _chunkMI4YBENQcjs = require('./chunk-MI4YBENQ.cjs');
|
|
|
285
285
|
|
|
286
286
|
|
|
287
287
|
|
|
288
|
-
var _chunkJRVRIKNMcjs = require('./chunk-JRVRIKNM.cjs');
|
|
289
288
|
|
|
290
289
|
|
|
291
290
|
|
|
@@ -293,6 +292,7 @@ var _chunkJRVRIKNMcjs = require('./chunk-JRVRIKNM.cjs');
|
|
|
293
292
|
|
|
294
293
|
|
|
295
294
|
|
|
295
|
+
var _chunkIVMOR5SWcjs = require('./chunk-IVMOR5SW.cjs');
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
@@ -307,7 +307,7 @@ var _chunkJRVRIKNMcjs = require('./chunk-JRVRIKNM.cjs');
|
|
|
307
307
|
|
|
308
308
|
|
|
309
309
|
|
|
310
|
-
var
|
|
310
|
+
var _chunkJRVRIKNMcjs = require('./chunk-JRVRIKNM.cjs');
|
|
311
311
|
|
|
312
312
|
|
|
313
313
|
|
package/dist/index.js
CHANGED
|
@@ -271,21 +271,6 @@ import {
|
|
|
271
271
|
defaultCrewRoleForMembership,
|
|
272
272
|
hasMembershipRole
|
|
273
273
|
} from "./chunk-2M32EOYI.js";
|
|
274
|
-
import {
|
|
275
|
-
AvatarConversion,
|
|
276
|
-
DocumentConversion,
|
|
277
|
-
HeaderConversion,
|
|
278
|
-
ImageConversion,
|
|
279
|
-
MediaType,
|
|
280
|
-
MimeTypes,
|
|
281
|
-
ThumbnailConversion,
|
|
282
|
-
canPreview,
|
|
283
|
-
getDocumentIcon,
|
|
284
|
-
getMediaDisplayName,
|
|
285
|
-
getMediaIcon,
|
|
286
|
-
getMediaType,
|
|
287
|
-
mapMediaConversions
|
|
288
|
-
} from "./chunk-VYT5KQWF.js";
|
|
289
274
|
import {
|
|
290
275
|
DATE_FORMATS,
|
|
291
276
|
TIME_FORMATS,
|
|
@@ -308,6 +293,21 @@ import {
|
|
|
308
293
|
timeUntil,
|
|
309
294
|
yearString
|
|
310
295
|
} from "./chunk-KIMCBEY7.js";
|
|
296
|
+
import {
|
|
297
|
+
AvatarConversion,
|
|
298
|
+
DocumentConversion,
|
|
299
|
+
HeaderConversion,
|
|
300
|
+
ImageConversion,
|
|
301
|
+
MediaType,
|
|
302
|
+
MimeTypes,
|
|
303
|
+
ThumbnailConversion,
|
|
304
|
+
canPreview,
|
|
305
|
+
getDocumentIcon,
|
|
306
|
+
getMediaDisplayName,
|
|
307
|
+
getMediaIcon,
|
|
308
|
+
getMediaType,
|
|
309
|
+
mapMediaConversions
|
|
310
|
+
} from "./chunk-VYT5KQWF.js";
|
|
311
311
|
import {
|
|
312
312
|
displayFee,
|
|
313
313
|
formatToEuroString,
|
package/dist/types/index.d.cts
CHANGED
|
@@ -223,6 +223,12 @@ interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
223
223
|
deviations: AircraftLogbookDeviation[];
|
|
224
224
|
} | null;
|
|
225
225
|
dismiss_reason?: "already_logged" | "unreadable" | "manual" | null;
|
|
226
|
+
/** Ids of stored rows of the same aircraft whose window intersects this row's. */
|
|
227
|
+
overlaps?: number[];
|
|
228
|
+
/** Flight logs that overlap in time but do not match start + landing exactly. */
|
|
229
|
+
overlapping_flight_log_ids?: number[];
|
|
230
|
+
/** Best member match for the handwritten PIC name (pure string ranking, no model). */
|
|
231
|
+
pic_proposal?: AircraftLogbookCrewProposal | null;
|
|
226
232
|
}
|
|
227
233
|
type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|
|
228
234
|
meta?: AircraftLogbookRowMeta;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -223,6 +223,12 @@ interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
223
223
|
deviations: AircraftLogbookDeviation[];
|
|
224
224
|
} | null;
|
|
225
225
|
dismiss_reason?: "already_logged" | "unreadable" | "manual" | null;
|
|
226
|
+
/** Ids of stored rows of the same aircraft whose window intersects this row's. */
|
|
227
|
+
overlaps?: number[];
|
|
228
|
+
/** Flight logs that overlap in time but do not match start + landing exactly. */
|
|
229
|
+
overlapping_flight_log_ids?: number[];
|
|
230
|
+
/** Best member match for the handwritten PIC name (pure string ranking, no model). */
|
|
231
|
+
pic_proposal?: AircraftLogbookCrewProposal | null;
|
|
226
232
|
}
|
|
227
233
|
type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|
|
228
234
|
meta?: AircraftLogbookRowMeta;
|
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.2",
|
|
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
|
@@ -122,6 +122,12 @@ export interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
122
122
|
score_reasons?: AircraftLogbookScoreReason[];
|
|
123
123
|
reconciliation?: { flight_log_id: number; deviations: AircraftLogbookDeviation[] } | null;
|
|
124
124
|
dismiss_reason?: "already_logged" | "unreadable" | "manual" | null;
|
|
125
|
+
/** Ids of stored rows of the same aircraft whose window intersects this row's. */
|
|
126
|
+
overlaps?: number[];
|
|
127
|
+
/** Flight logs that overlap in time but do not match start + landing exactly. */
|
|
128
|
+
overlapping_flight_log_ids?: number[];
|
|
129
|
+
/** Best member match for the handwritten PIC name (pure string ranking, no model). */
|
|
130
|
+
pic_proposal?: AircraftLogbookCrewProposal | null;
|
|
125
131
|
}
|
|
126
132
|
|
|
127
133
|
export type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|