@camstack/addon-export-google 0.1.86 → 0.1.87
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/export-google.addon.js +114 -16
- package/dist/export-google.addon.mjs +114 -16
- package/package.json +1 -1
|
@@ -5457,7 +5457,7 @@ var ZodIssueCode = {
|
|
|
5457
5457
|
var ZodFirstPartyTypeKind;
|
|
5458
5458
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5459
5459
|
//#endregion
|
|
5460
|
-
//#region ../types/dist/sleep-
|
|
5460
|
+
//#region ../types/dist/sleep-C16NCZR2.mjs
|
|
5461
5461
|
/**
|
|
5462
5462
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5463
5463
|
* window to float samples (D455).
|
|
@@ -28145,6 +28145,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28145
28145
|
*/
|
|
28146
28146
|
alive: boolean()
|
|
28147
28147
|
})), method(object({
|
|
28148
|
+
deviceId: number().int().nonnegative(),
|
|
28149
|
+
sessionId: string(),
|
|
28150
|
+
downlinkMbps: number().nonnegative()
|
|
28151
|
+
}), object({
|
|
28152
|
+
outcome: _enum(["switching", "held"]),
|
|
28153
|
+
tier: CamProfileSchema.nullable(),
|
|
28154
|
+
reason: string()
|
|
28155
|
+
}), { kind: "mutation" }), method(object({
|
|
28148
28156
|
deviceId: number().int().nonnegative(),
|
|
28149
28157
|
sessionId: string()
|
|
28150
28158
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -30832,7 +30840,8 @@ var ConnectionEndpointSchema = object({
|
|
|
30832
30840
|
"lan-ipv6",
|
|
30833
30841
|
"public",
|
|
30834
30842
|
"loopback",
|
|
30835
|
-
"app-link"
|
|
30843
|
+
"app-link",
|
|
30844
|
+
"custom"
|
|
30836
30845
|
]),
|
|
30837
30846
|
/**
|
|
30838
30847
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -30935,13 +30944,12 @@ var ViewerEndpointsSchema = object({
|
|
|
30935
30944
|
resolved: array(string()).readonly()
|
|
30936
30945
|
});
|
|
30937
30946
|
/**
|
|
30938
|
-
*
|
|
30939
|
-
*
|
|
30947
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
30948
|
+
* one release for addons built against it): `cluster` is the `agents` role,
|
|
30949
|
+
* `browser` the `signIn` role; `override` is the flagged address.
|
|
30940
30950
|
*/
|
|
30941
30951
|
var HubAddressSnapshotSchema = object({
|
|
30942
|
-
/** The operator's override, or null for automatic. */
|
|
30943
30952
|
override: string().nullable(),
|
|
30944
|
-
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
30945
30953
|
resolved: string().nullable(),
|
|
30946
30954
|
source: _enum([
|
|
30947
30955
|
"override",
|
|
@@ -30950,11 +30958,61 @@ var HubAddressSnapshotSchema = object({
|
|
|
30950
30958
|
])
|
|
30951
30959
|
});
|
|
30952
30960
|
var HubAddressesSchema = object({
|
|
30953
|
-
/** "Hub address for agents" — agents' bundle/model pulls, LAN devices. */
|
|
30954
30961
|
cluster: HubAddressSnapshotSchema,
|
|
30955
|
-
/** "Public address for sign-in links" — e-mail links, OIDC, WebAuthn, OAuth2. */
|
|
30956
30962
|
browser: HubAddressSnapshotSchema
|
|
30957
30963
|
});
|
|
30964
|
+
/**
|
|
30965
|
+
* What an address is used for (`hub-address.ts`). `viewer` is many-valued;
|
|
30966
|
+
* `notifications`, `agents` and `signIn` are carried by at most one address.
|
|
30967
|
+
*/
|
|
30968
|
+
var HubAddressRoleSchema = _enum([
|
|
30969
|
+
"viewer",
|
|
30970
|
+
"notifications",
|
|
30971
|
+
"agents",
|
|
30972
|
+
"signIn"
|
|
30973
|
+
]);
|
|
30974
|
+
var RoleSourceSchema = _enum([
|
|
30975
|
+
"flagged",
|
|
30976
|
+
"auto",
|
|
30977
|
+
"none"
|
|
30978
|
+
]);
|
|
30979
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
30980
|
+
var HubAddressRoleResolutionSchema = object({
|
|
30981
|
+
/** The address carrying the flag, or null = automatic. */
|
|
30982
|
+
flagged: string().nullable(),
|
|
30983
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
30984
|
+
resolved: string().nullable(),
|
|
30985
|
+
source: RoleSourceSchema
|
|
30986
|
+
});
|
|
30987
|
+
var HubViewerResolutionSchema = object({
|
|
30988
|
+
/** The addresses flagged `viewer`, or empty = automatic. */
|
|
30989
|
+
flagged: array(string()).readonly(),
|
|
30990
|
+
/** What the apps race right now. */
|
|
30991
|
+
resolved: array(string()).readonly(),
|
|
30992
|
+
source: RoleSourceSchema
|
|
30993
|
+
});
|
|
30994
|
+
var HubAddressBookSchema = object({
|
|
30995
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
30996
|
+
/** In the hub's detected palette right now. */
|
|
30997
|
+
detected: boolean(),
|
|
30998
|
+
/** Entered by the operator (removable). */
|
|
30999
|
+
custom: boolean(),
|
|
31000
|
+
/** The roles explicitly flagged on this address. */
|
|
31001
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
31002
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
31003
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
31004
|
+
/** The roles this address may be flagged with. */
|
|
31005
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
31006
|
+
})).readonly(),
|
|
31007
|
+
roles: object({
|
|
31008
|
+
viewer: HubViewerResolutionSchema,
|
|
31009
|
+
notifications: HubAddressRoleResolutionSchema,
|
|
31010
|
+
agents: HubAddressRoleResolutionSchema,
|
|
31011
|
+
signIn: HubAddressRoleResolutionSchema
|
|
31012
|
+
}),
|
|
31013
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
31014
|
+
appLinkHub: string().nullable()
|
|
31015
|
+
});
|
|
30958
31016
|
var AllowedAddressesSchema = object({
|
|
30959
31017
|
/**
|
|
30960
31018
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -31001,13 +31059,24 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
31001
31059
|
* an address notification links can be flagged with, not a hub
|
|
31002
31060
|
* route. Default `false`: racers and rankers never see it. */
|
|
31003
31061
|
includeAppLink: boolean().optional()
|
|
31004
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(
|
|
31005
|
-
|
|
31006
|
-
|
|
31007
|
-
}),
|
|
31062
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
|
|
31063
|
+
baseUrl: string(),
|
|
31064
|
+
label: string().max(80)
|
|
31065
|
+
}), HubAddressBookSchema, {
|
|
31066
|
+
kind: "mutation",
|
|
31067
|
+
auth: "admin"
|
|
31068
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
31069
|
+
kind: "mutation",
|
|
31070
|
+
auth: "admin"
|
|
31071
|
+
}), method(object({
|
|
31072
|
+
role: HubAddressRoleSchema,
|
|
31073
|
+
baseUrl: string().nullable(),
|
|
31074
|
+
enabled: boolean(),
|
|
31075
|
+
acceptInsecureHttp: boolean().optional()
|
|
31076
|
+
}), HubAddressBookSchema, {
|
|
31008
31077
|
kind: "mutation",
|
|
31009
31078
|
auth: "admin"
|
|
31010
|
-
}), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
|
|
31079
|
+
}), method(_void(), HubAddressesSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
|
|
31011
31080
|
kind: "mutation",
|
|
31012
31081
|
auth: "admin"
|
|
31013
31082
|
}), method(object({
|
|
@@ -39464,12 +39533,24 @@ Object.freeze({
|
|
|
39464
39533
|
addonId: null,
|
|
39465
39534
|
access: "view"
|
|
39466
39535
|
},
|
|
39536
|
+
"localNetwork.addCustomAddress": {
|
|
39537
|
+
capName: "local-network",
|
|
39538
|
+
capScope: "system",
|
|
39539
|
+
addonId: null,
|
|
39540
|
+
access: "create"
|
|
39541
|
+
},
|
|
39467
39542
|
"localNetwork.downloadCa": {
|
|
39468
39543
|
capName: "local-network",
|
|
39469
39544
|
capScope: "system",
|
|
39470
39545
|
addonId: null,
|
|
39471
39546
|
access: "view"
|
|
39472
39547
|
},
|
|
39548
|
+
"localNetwork.getAddresses": {
|
|
39549
|
+
capName: "local-network",
|
|
39550
|
+
capScope: "system",
|
|
39551
|
+
addonId: null,
|
|
39552
|
+
access: "view"
|
|
39553
|
+
},
|
|
39473
39554
|
"localNetwork.getAllowedAddresses": {
|
|
39474
39555
|
capName: "local-network",
|
|
39475
39556
|
capScope: "system",
|
|
@@ -39524,6 +39605,12 @@ Object.freeze({
|
|
|
39524
39605
|
addonId: null,
|
|
39525
39606
|
access: "create"
|
|
39526
39607
|
},
|
|
39608
|
+
"localNetwork.removeCustomAddress": {
|
|
39609
|
+
capName: "local-network",
|
|
39610
|
+
capScope: "system",
|
|
39611
|
+
addonId: null,
|
|
39612
|
+
access: "delete"
|
|
39613
|
+
},
|
|
39527
39614
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
39528
39615
|
capName: "local-network",
|
|
39529
39616
|
capScope: "system",
|
|
@@ -39536,13 +39623,13 @@ Object.freeze({
|
|
|
39536
39623
|
addonId: null,
|
|
39537
39624
|
access: "create"
|
|
39538
39625
|
},
|
|
39539
|
-
"localNetwork.
|
|
39626
|
+
"localNetwork.setAddressRole": {
|
|
39540
39627
|
capName: "local-network",
|
|
39541
39628
|
capScope: "system",
|
|
39542
39629
|
addonId: null,
|
|
39543
39630
|
access: "create"
|
|
39544
39631
|
},
|
|
39545
|
-
"localNetwork.
|
|
39632
|
+
"localNetwork.setAllowedAddresses": {
|
|
39546
39633
|
capName: "local-network",
|
|
39547
39634
|
capScope: "system",
|
|
39548
39635
|
addonId: null,
|
|
@@ -43796,6 +43883,12 @@ Object.freeze({
|
|
|
43796
43883
|
addonId: null,
|
|
43797
43884
|
access: "create"
|
|
43798
43885
|
},
|
|
43886
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
43887
|
+
capName: "webrtc-session",
|
|
43888
|
+
capScope: "device",
|
|
43889
|
+
addonId: null,
|
|
43890
|
+
access: "create"
|
|
43891
|
+
},
|
|
43799
43892
|
"webrtcSession.closeSession": {
|
|
43800
43893
|
capName: "webrtc-session",
|
|
43801
43894
|
capScope: "device",
|
|
@@ -47718,6 +47811,11 @@ Object.freeze({
|
|
|
47718
47811
|
form: "single",
|
|
47719
47812
|
optional: false
|
|
47720
47813
|
}],
|
|
47814
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
47815
|
+
name: "deviceId",
|
|
47816
|
+
form: "single",
|
|
47817
|
+
optional: false
|
|
47818
|
+
}],
|
|
47721
47819
|
"webrtcSession.closeSession": [{
|
|
47722
47820
|
name: "deviceId",
|
|
47723
47821
|
form: "single",
|
|
@@ -49679,7 +49777,7 @@ function buildGoogleOauthIntegration() {
|
|
|
49679
49777
|
* cross-process through `ctx.api` — unlike the `addons` core router, which a
|
|
49680
49778
|
* forked addon calling `ctx.api.addons.*` would wait on forever.
|
|
49681
49779
|
*
|
|
49682
|
-
* **Not** the hub's own address from `local-network` (`
|
|
49780
|
+
* **Not** the hub's own address from `local-network` (`getAddresses().roles`). That
|
|
49683
49781
|
* answers a different question — which address an agent or a browser on the
|
|
49684
49782
|
* LAN reaches — and it is routinely a LAN address; the backend's
|
|
49685
49783
|
* `publicHubUrl()` fallback is localhost in dev. Google calls from its own
|
|
@@ -5453,7 +5453,7 @@ var ZodIssueCode = {
|
|
|
5453
5453
|
var ZodFirstPartyTypeKind;
|
|
5454
5454
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5455
5455
|
//#endregion
|
|
5456
|
-
//#region ../types/dist/sleep-
|
|
5456
|
+
//#region ../types/dist/sleep-C16NCZR2.mjs
|
|
5457
5457
|
/**
|
|
5458
5458
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5459
5459
|
* window to float samples (D455).
|
|
@@ -28141,6 +28141,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28141
28141
|
*/
|
|
28142
28142
|
alive: boolean()
|
|
28143
28143
|
})), method(object({
|
|
28144
|
+
deviceId: number().int().nonnegative(),
|
|
28145
|
+
sessionId: string(),
|
|
28146
|
+
downlinkMbps: number().nonnegative()
|
|
28147
|
+
}), object({
|
|
28148
|
+
outcome: _enum(["switching", "held"]),
|
|
28149
|
+
tier: CamProfileSchema.nullable(),
|
|
28150
|
+
reason: string()
|
|
28151
|
+
}), { kind: "mutation" }), method(object({
|
|
28144
28152
|
deviceId: number().int().nonnegative(),
|
|
28145
28153
|
sessionId: string()
|
|
28146
28154
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -30828,7 +30836,8 @@ var ConnectionEndpointSchema = object({
|
|
|
30828
30836
|
"lan-ipv6",
|
|
30829
30837
|
"public",
|
|
30830
30838
|
"loopback",
|
|
30831
|
-
"app-link"
|
|
30839
|
+
"app-link",
|
|
30840
|
+
"custom"
|
|
30832
30841
|
]),
|
|
30833
30842
|
/**
|
|
30834
30843
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -30931,13 +30940,12 @@ var ViewerEndpointsSchema = object({
|
|
|
30931
30940
|
resolved: array(string()).readonly()
|
|
30932
30941
|
});
|
|
30933
30942
|
/**
|
|
30934
|
-
*
|
|
30935
|
-
*
|
|
30943
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
30944
|
+
* one release for addons built against it): `cluster` is the `agents` role,
|
|
30945
|
+
* `browser` the `signIn` role; `override` is the flagged address.
|
|
30936
30946
|
*/
|
|
30937
30947
|
var HubAddressSnapshotSchema = object({
|
|
30938
|
-
/** The operator's override, or null for automatic. */
|
|
30939
30948
|
override: string().nullable(),
|
|
30940
|
-
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
30941
30949
|
resolved: string().nullable(),
|
|
30942
30950
|
source: _enum([
|
|
30943
30951
|
"override",
|
|
@@ -30946,11 +30954,61 @@ var HubAddressSnapshotSchema = object({
|
|
|
30946
30954
|
])
|
|
30947
30955
|
});
|
|
30948
30956
|
var HubAddressesSchema = object({
|
|
30949
|
-
/** "Hub address for agents" — agents' bundle/model pulls, LAN devices. */
|
|
30950
30957
|
cluster: HubAddressSnapshotSchema,
|
|
30951
|
-
/** "Public address for sign-in links" — e-mail links, OIDC, WebAuthn, OAuth2. */
|
|
30952
30958
|
browser: HubAddressSnapshotSchema
|
|
30953
30959
|
});
|
|
30960
|
+
/**
|
|
30961
|
+
* What an address is used for (`hub-address.ts`). `viewer` is many-valued;
|
|
30962
|
+
* `notifications`, `agents` and `signIn` are carried by at most one address.
|
|
30963
|
+
*/
|
|
30964
|
+
var HubAddressRoleSchema = _enum([
|
|
30965
|
+
"viewer",
|
|
30966
|
+
"notifications",
|
|
30967
|
+
"agents",
|
|
30968
|
+
"signIn"
|
|
30969
|
+
]);
|
|
30970
|
+
var RoleSourceSchema = _enum([
|
|
30971
|
+
"flagged",
|
|
30972
|
+
"auto",
|
|
30973
|
+
"none"
|
|
30974
|
+
]);
|
|
30975
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
30976
|
+
var HubAddressRoleResolutionSchema = object({
|
|
30977
|
+
/** The address carrying the flag, or null = automatic. */
|
|
30978
|
+
flagged: string().nullable(),
|
|
30979
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
30980
|
+
resolved: string().nullable(),
|
|
30981
|
+
source: RoleSourceSchema
|
|
30982
|
+
});
|
|
30983
|
+
var HubViewerResolutionSchema = object({
|
|
30984
|
+
/** The addresses flagged `viewer`, or empty = automatic. */
|
|
30985
|
+
flagged: array(string()).readonly(),
|
|
30986
|
+
/** What the apps race right now. */
|
|
30987
|
+
resolved: array(string()).readonly(),
|
|
30988
|
+
source: RoleSourceSchema
|
|
30989
|
+
});
|
|
30990
|
+
var HubAddressBookSchema = object({
|
|
30991
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
30992
|
+
/** In the hub's detected palette right now. */
|
|
30993
|
+
detected: boolean(),
|
|
30994
|
+
/** Entered by the operator (removable). */
|
|
30995
|
+
custom: boolean(),
|
|
30996
|
+
/** The roles explicitly flagged on this address. */
|
|
30997
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
30998
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
30999
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
31000
|
+
/** The roles this address may be flagged with. */
|
|
31001
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
31002
|
+
})).readonly(),
|
|
31003
|
+
roles: object({
|
|
31004
|
+
viewer: HubViewerResolutionSchema,
|
|
31005
|
+
notifications: HubAddressRoleResolutionSchema,
|
|
31006
|
+
agents: HubAddressRoleResolutionSchema,
|
|
31007
|
+
signIn: HubAddressRoleResolutionSchema
|
|
31008
|
+
}),
|
|
31009
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
31010
|
+
appLinkHub: string().nullable()
|
|
31011
|
+
});
|
|
30954
31012
|
var AllowedAddressesSchema = object({
|
|
30955
31013
|
/**
|
|
30956
31014
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -30997,13 +31055,24 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
30997
31055
|
* an address notification links can be flagged with, not a hub
|
|
30998
31056
|
* route. Default `false`: racers and rankers never see it. */
|
|
30999
31057
|
includeAppLink: boolean().optional()
|
|
31000
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(
|
|
31001
|
-
|
|
31002
|
-
|
|
31003
|
-
}),
|
|
31058
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
|
|
31059
|
+
baseUrl: string(),
|
|
31060
|
+
label: string().max(80)
|
|
31061
|
+
}), HubAddressBookSchema, {
|
|
31062
|
+
kind: "mutation",
|
|
31063
|
+
auth: "admin"
|
|
31064
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
31065
|
+
kind: "mutation",
|
|
31066
|
+
auth: "admin"
|
|
31067
|
+
}), method(object({
|
|
31068
|
+
role: HubAddressRoleSchema,
|
|
31069
|
+
baseUrl: string().nullable(),
|
|
31070
|
+
enabled: boolean(),
|
|
31071
|
+
acceptInsecureHttp: boolean().optional()
|
|
31072
|
+
}), HubAddressBookSchema, {
|
|
31004
31073
|
kind: "mutation",
|
|
31005
31074
|
auth: "admin"
|
|
31006
|
-
}), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
|
|
31075
|
+
}), method(_void(), HubAddressesSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
|
|
31007
31076
|
kind: "mutation",
|
|
31008
31077
|
auth: "admin"
|
|
31009
31078
|
}), method(object({
|
|
@@ -39460,12 +39529,24 @@ Object.freeze({
|
|
|
39460
39529
|
addonId: null,
|
|
39461
39530
|
access: "view"
|
|
39462
39531
|
},
|
|
39532
|
+
"localNetwork.addCustomAddress": {
|
|
39533
|
+
capName: "local-network",
|
|
39534
|
+
capScope: "system",
|
|
39535
|
+
addonId: null,
|
|
39536
|
+
access: "create"
|
|
39537
|
+
},
|
|
39463
39538
|
"localNetwork.downloadCa": {
|
|
39464
39539
|
capName: "local-network",
|
|
39465
39540
|
capScope: "system",
|
|
39466
39541
|
addonId: null,
|
|
39467
39542
|
access: "view"
|
|
39468
39543
|
},
|
|
39544
|
+
"localNetwork.getAddresses": {
|
|
39545
|
+
capName: "local-network",
|
|
39546
|
+
capScope: "system",
|
|
39547
|
+
addonId: null,
|
|
39548
|
+
access: "view"
|
|
39549
|
+
},
|
|
39469
39550
|
"localNetwork.getAllowedAddresses": {
|
|
39470
39551
|
capName: "local-network",
|
|
39471
39552
|
capScope: "system",
|
|
@@ -39520,6 +39601,12 @@ Object.freeze({
|
|
|
39520
39601
|
addonId: null,
|
|
39521
39602
|
access: "create"
|
|
39522
39603
|
},
|
|
39604
|
+
"localNetwork.removeCustomAddress": {
|
|
39605
|
+
capName: "local-network",
|
|
39606
|
+
capScope: "system",
|
|
39607
|
+
addonId: null,
|
|
39608
|
+
access: "delete"
|
|
39609
|
+
},
|
|
39523
39610
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
39524
39611
|
capName: "local-network",
|
|
39525
39612
|
capScope: "system",
|
|
@@ -39532,13 +39619,13 @@ Object.freeze({
|
|
|
39532
39619
|
addonId: null,
|
|
39533
39620
|
access: "create"
|
|
39534
39621
|
},
|
|
39535
|
-
"localNetwork.
|
|
39622
|
+
"localNetwork.setAddressRole": {
|
|
39536
39623
|
capName: "local-network",
|
|
39537
39624
|
capScope: "system",
|
|
39538
39625
|
addonId: null,
|
|
39539
39626
|
access: "create"
|
|
39540
39627
|
},
|
|
39541
|
-
"localNetwork.
|
|
39628
|
+
"localNetwork.setAllowedAddresses": {
|
|
39542
39629
|
capName: "local-network",
|
|
39543
39630
|
capScope: "system",
|
|
39544
39631
|
addonId: null,
|
|
@@ -43792,6 +43879,12 @@ Object.freeze({
|
|
|
43792
43879
|
addonId: null,
|
|
43793
43880
|
access: "create"
|
|
43794
43881
|
},
|
|
43882
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
43883
|
+
capName: "webrtc-session",
|
|
43884
|
+
capScope: "device",
|
|
43885
|
+
addonId: null,
|
|
43886
|
+
access: "create"
|
|
43887
|
+
},
|
|
43795
43888
|
"webrtcSession.closeSession": {
|
|
43796
43889
|
capName: "webrtc-session",
|
|
43797
43890
|
capScope: "device",
|
|
@@ -47714,6 +47807,11 @@ Object.freeze({
|
|
|
47714
47807
|
form: "single",
|
|
47715
47808
|
optional: false
|
|
47716
47809
|
}],
|
|
47810
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
47811
|
+
name: "deviceId",
|
|
47812
|
+
form: "single",
|
|
47813
|
+
optional: false
|
|
47814
|
+
}],
|
|
47717
47815
|
"webrtcSession.closeSession": [{
|
|
47718
47816
|
name: "deviceId",
|
|
47719
47817
|
form: "single",
|
|
@@ -49675,7 +49773,7 @@ function buildGoogleOauthIntegration() {
|
|
|
49675
49773
|
* cross-process through `ctx.api` — unlike the `addons` core router, which a
|
|
49676
49774
|
* forked addon calling `ctx.api.addons.*` would wait on forever.
|
|
49677
49775
|
*
|
|
49678
|
-
* **Not** the hub's own address from `local-network` (`
|
|
49776
|
+
* **Not** the hub's own address from `local-network` (`getAddresses().roles`). That
|
|
49679
49777
|
* answers a different question — which address an agent or a browser on the
|
|
49680
49778
|
* LAN reaches — and it is routinely a LAN address; the backend's
|
|
49681
49779
|
* `publicHubUrl()` fallback is localhost in dev. Google calls from its own
|
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.87",
|
|
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",
|