@camstack/addon-export-google 0.1.60 → 0.1.61
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.
|
@@ -20612,6 +20612,14 @@ var NativeCropResultSchema = object({
|
|
|
20612
20612
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20613
20613
|
*/
|
|
20614
20614
|
jpeg: string().optional(),
|
|
20615
|
+
/**
|
|
20616
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20617
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20618
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20619
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20620
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20621
|
+
*/
|
|
20622
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20615
20623
|
width: number().int().positive(),
|
|
20616
20624
|
height: number().int().positive(),
|
|
20617
20625
|
/**
|
|
@@ -20678,7 +20686,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20678
20686
|
})]);
|
|
20679
20687
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20680
20688
|
var ParkedTrackFrameSchema = object({
|
|
20681
|
-
|
|
20689
|
+
/**
|
|
20690
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20691
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20692
|
+
* Exactly one of the two is present.
|
|
20693
|
+
*/
|
|
20694
|
+
jpeg: string().optional(),
|
|
20695
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20696
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20682
20697
|
width: number().int().positive(),
|
|
20683
20698
|
height: number().int().positive(),
|
|
20684
20699
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21265,6 +21280,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21265
21280
|
bbox: NativeCropBboxSchema,
|
|
21266
21281
|
maxWidth: number().int().positive().optional(),
|
|
21267
21282
|
/**
|
|
21283
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21284
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21285
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21286
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21287
|
+
*/
|
|
21288
|
+
acceptJpegBytes: boolean().optional(),
|
|
21289
|
+
/**
|
|
21268
21290
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21269
21291
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21270
21292
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21332,7 +21354,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21332
21354
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21333
21355
|
deviceId: number(),
|
|
21334
21356
|
trackId: string(),
|
|
21335
|
-
kind: ParkedFrameKindSchema
|
|
21357
|
+
kind: ParkedFrameKindSchema,
|
|
21358
|
+
/**
|
|
21359
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21360
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21361
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21362
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21363
|
+
*/
|
|
21364
|
+
acceptJpegBytes: boolean().optional()
|
|
21336
21365
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21337
21366
|
deviceId: number(),
|
|
21338
21367
|
trackId: string()
|
|
@@ -20608,6 +20608,14 @@ var NativeCropResultSchema = object({
|
|
|
20608
20608
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20609
20609
|
*/
|
|
20610
20610
|
jpeg: string().optional(),
|
|
20611
|
+
/**
|
|
20612
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20613
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20614
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20615
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20616
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20617
|
+
*/
|
|
20618
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20611
20619
|
width: number().int().positive(),
|
|
20612
20620
|
height: number().int().positive(),
|
|
20613
20621
|
/**
|
|
@@ -20674,7 +20682,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20674
20682
|
})]);
|
|
20675
20683
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20676
20684
|
var ParkedTrackFrameSchema = object({
|
|
20677
|
-
|
|
20685
|
+
/**
|
|
20686
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20687
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20688
|
+
* Exactly one of the two is present.
|
|
20689
|
+
*/
|
|
20690
|
+
jpeg: string().optional(),
|
|
20691
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20692
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20678
20693
|
width: number().int().positive(),
|
|
20679
20694
|
height: number().int().positive(),
|
|
20680
20695
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21261,6 +21276,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21261
21276
|
bbox: NativeCropBboxSchema,
|
|
21262
21277
|
maxWidth: number().int().positive().optional(),
|
|
21263
21278
|
/**
|
|
21279
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21280
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21281
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21282
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21283
|
+
*/
|
|
21284
|
+
acceptJpegBytes: boolean().optional(),
|
|
21285
|
+
/**
|
|
21264
21286
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21265
21287
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21266
21288
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21328,7 +21350,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21328
21350
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21329
21351
|
deviceId: number(),
|
|
21330
21352
|
trackId: string(),
|
|
21331
|
-
kind: ParkedFrameKindSchema
|
|
21353
|
+
kind: ParkedFrameKindSchema,
|
|
21354
|
+
/**
|
|
21355
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21356
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21357
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21358
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21359
|
+
*/
|
|
21360
|
+
acceptJpegBytes: boolean().optional()
|
|
21332
21361
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21333
21362
|
deviceId: number(),
|
|
21334
21363
|
trackId: string()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.61",
|
|
4
4
|
"description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|