@updraft-solutions/mcrit-sdk 0.20.4 → 0.20.5
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 +2 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/types/ai.ts +2 -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
|
@@ -236,6 +236,8 @@ interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
236
236
|
top: number;
|
|
237
237
|
bottom: number;
|
|
238
238
|
} | null;
|
|
239
|
+
/** Payload fields the admin corrected by hand (score recomputed from the corrected values). */
|
|
240
|
+
corrected?: string[];
|
|
239
241
|
}
|
|
240
242
|
type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|
|
241
243
|
meta?: AircraftLogbookRowMeta;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -236,6 +236,8 @@ interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
236
236
|
top: number;
|
|
237
237
|
bottom: number;
|
|
238
238
|
} | null;
|
|
239
|
+
/** Payload fields the admin corrected by hand (score recomputed from the corrected values). */
|
|
240
|
+
corrected?: string[];
|
|
239
241
|
}
|
|
240
242
|
type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|
|
241
243
|
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.5",
|
|
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
|
@@ -131,6 +131,8 @@ export interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
|
|
|
131
131
|
pic_proposals?: AircraftLogbookCrewProposal[];
|
|
132
132
|
/** Vertical position of the row in the page image (fractions of the image height), as estimated by the reader. */
|
|
133
133
|
row_band?: { top: number; bottom: number } | null;
|
|
134
|
+
/** Payload fields the admin corrected by hand (score recomputed from the corrected values). */
|
|
135
|
+
corrected?: string[];
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
export type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
|