@deveye/types 0.25.4 → 0.25.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/package.json +1 -1
- package/src/domain/packages.ts +2 -2
- package/src/protocol/agent.ts +9 -1
package/package.json
CHANGED
package/src/domain/packages.ts
CHANGED
|
@@ -13,6 +13,7 @@ export const packageManagerIdSchema = z.enum([
|
|
|
13
13
|
'flatpak',
|
|
14
14
|
'snap',
|
|
15
15
|
'zypper',
|
|
16
|
+
'rpm-ostree',
|
|
16
17
|
'brew',
|
|
17
18
|
'softwareupdate',
|
|
18
19
|
'winget',
|
|
@@ -24,10 +25,9 @@ export type PackageManagerId = z.infer<typeof packageManagerIdSchema>;
|
|
|
24
25
|
/**
|
|
25
26
|
* Update tooling the agent recognises on a machine but DevEye does not drive:
|
|
26
27
|
* listed without a count, never upgraded, so a device's table says what else
|
|
27
|
-
* keeps it up to date (
|
|
28
|
+
* keeps it up to date (a bootc image, firmware through fwupd…).
|
|
28
29
|
*/
|
|
29
30
|
export const unmanagedUpdaterIdSchema = z.enum([
|
|
30
|
-
'rpm-ostree',
|
|
31
31
|
'bootc',
|
|
32
32
|
'fwupd',
|
|
33
33
|
'nix',
|
package/src/protocol/agent.ts
CHANGED
|
@@ -1103,7 +1103,15 @@ export const syncShareAssignmentSchema = z.object({
|
|
|
1103
1103
|
encryption: z
|
|
1104
1104
|
.object({ wrappedKey: z.string().max(256).nullable() })
|
|
1105
1105
|
.nullable()
|
|
1106
|
-
.default(null)
|
|
1106
|
+
.default(null),
|
|
1107
|
+
/**
|
|
1108
|
+
* The server may write into the share's sensitive folders: `.ssh`, the
|
|
1109
|
+
* login and service startup folders, a shell startup file in a home
|
|
1110
|
+
* folder. Off, the agent refuses every such write (what the share holds
|
|
1111
|
+
* there still goes up). On, a machine whose local policy refuses the
|
|
1112
|
+
* terminal still refuses them: such a write would give one.
|
|
1113
|
+
*/
|
|
1114
|
+
sensitiveWrites: z.boolean().default(false)
|
|
1107
1115
|
});
|
|
1108
1116
|
export type SyncShareAssignment = z.infer<typeof syncShareAssignmentSchema>;
|
|
1109
1117
|
|