@pfdev/api-types 3.0.31 → 3.0.32

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/v3.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pfdev/api-types",
3
- "version": "3.0.31",
3
+ "version": "3.0.32",
4
4
  "description": "TypeScript types for PF API V3",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
package/v3.ts CHANGED
@@ -1392,6 +1392,7 @@ export type VisionBody = Static<typeof VisionBodySchema>;
1392
1392
 
1393
1393
  export const VisionResponseSchema = Type.Object(
1394
1394
  {
1395
+ scanId: Type.String({ format: 'uuid', description: 'ID of the logged scan, for later feedback' }),
1395
1396
  detection: Type.Union([DetectedCardSchema, Type.Null()], { description: 'Raw detection result from image recognition' }),
1396
1397
  cards: Type.Optional(Type.Array(MatchedCardSchema, { description: 'Matched cards from database, ordered by score descending' }))
1397
1398
  },