diff --git a/package-lock.json b/package-lock.json index 2b232a6fb..04630194f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@fastify/type-provider-typebox": "^4.0.0", "@hyperswarm/secret-stream": "^6.1.2", "@mapeo/crypto": "1.0.0-alpha.10", - "@mapeo/schema": "^3.0.0-next.23", + "@mapeo/schema": "^3.0.0-next.24", "@mapeo/sqlite-indexer": "1.0.0-alpha.9", "@sinclair/typebox": "^0.29.6", "b4a": "^1.6.3", @@ -804,9 +804,9 @@ } }, "node_modules/@mapeo/schema": { - "version": "3.0.0-next.23", - "resolved": "https://registry.npmjs.org/@mapeo/schema/-/schema-3.0.0-next.23.tgz", - "integrity": "sha512-NtI32BBwVahOC12ETrsBhNOjBtgF/6p/AatouaivBTe3cXudEGXm3lOgExDytHzKGJDKP4ALNOWLUbEKKlsTWQ==", + "version": "3.0.0-next.24", + "resolved": "https://registry.npmjs.org/@mapeo/schema/-/schema-3.0.0-next.24.tgz", + "integrity": "sha512-NaaIwxjhuZgYifphrC29CtLfEpAw/lvymKu0GdUAONC4TAljpunFUmc5fYEyPurKxo9rUhNKvGvSPyGZBCdc/A==", "dependencies": { "compact-encoding": "^2.12.0", "protobufjs": "^7.2.5", diff --git a/package.json b/package.json index 4ad78dd1e..610546be0 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,7 @@ "@fastify/type-provider-typebox": "^4.0.0", "@hyperswarm/secret-stream": "^6.1.2", "@mapeo/crypto": "1.0.0-alpha.10", - "@mapeo/schema": "^3.0.0-next.23", + "@mapeo/schema": "^3.0.0-next.24", "@mapeo/sqlite-indexer": "1.0.0-alpha.9", "@sinclair/typebox": "^0.29.6", "b4a": "^1.6.3", diff --git a/proto/rpc.proto b/proto/rpc.proto index 5b30a77aa..a97a27cfa 100644 --- a/proto/rpc.proto +++ b/proto/rpc.proto @@ -38,6 +38,7 @@ message DeviceInfo { mobile = 1; tablet = 2; desktop = 3; + selfHostedServer = 4; } string name = 1; optional DeviceType deviceType = 2; diff --git a/src/generated/rpc.d.ts b/src/generated/rpc.d.ts index f1f4dd1bf..28b42ad9e 100644 --- a/src/generated/rpc.d.ts +++ b/src/generated/rpc.d.ts @@ -39,6 +39,7 @@ export declare const DeviceInfo_DeviceType: { readonly mobile: "mobile"; readonly tablet: "tablet"; readonly desktop: "desktop"; + readonly selfHostedServer: "selfHostedServer"; readonly UNRECOGNIZED: "UNRECOGNIZED"; }; export type DeviceInfo_DeviceType = typeof DeviceInfo_DeviceType[keyof typeof DeviceInfo_DeviceType]; diff --git a/src/generated/rpc.js b/src/generated/rpc.js index 66b8a3e81..e3b0d4bff 100644 --- a/src/generated/rpc.js +++ b/src/generated/rpc.js @@ -48,6 +48,7 @@ export var DeviceInfo_DeviceType = { mobile: "mobile", tablet: "tablet", desktop: "desktop", + selfHostedServer: "selfHostedServer", UNRECOGNIZED: "UNRECOGNIZED", }; export function deviceInfo_DeviceTypeFromJSON(object) { @@ -64,6 +65,9 @@ export function deviceInfo_DeviceTypeFromJSON(object) { case 3: case "desktop": return DeviceInfo_DeviceType.desktop; + case 4: + case "selfHostedServer": + return DeviceInfo_DeviceType.selfHostedServer; case -1: case "UNRECOGNIZED": default: @@ -80,6 +84,8 @@ export function deviceInfo_DeviceTypeToNumber(object) { return 2; case DeviceInfo_DeviceType.desktop: return 3; + case DeviceInfo_DeviceType.selfHostedServer: + return 4; case DeviceInfo_DeviceType.UNRECOGNIZED: default: return -1; diff --git a/src/generated/rpc.ts b/src/generated/rpc.ts index 2a82168d0..86eb97384 100644 --- a/src/generated/rpc.ts +++ b/src/generated/rpc.ts @@ -83,6 +83,7 @@ export const DeviceInfo_DeviceType = { mobile: "mobile", tablet: "tablet", desktop: "desktop", + selfHostedServer: "selfHostedServer", UNRECOGNIZED: "UNRECOGNIZED", } as const; @@ -102,6 +103,9 @@ export function deviceInfo_DeviceTypeFromJSON(object: any): DeviceInfo_DeviceTyp case 3: case "desktop": return DeviceInfo_DeviceType.desktop; + case 4: + case "selfHostedServer": + return DeviceInfo_DeviceType.selfHostedServer; case -1: case "UNRECOGNIZED": default: @@ -119,6 +123,8 @@ export function deviceInfo_DeviceTypeToNumber(object: DeviceInfo_DeviceType): nu return 2; case DeviceInfo_DeviceType.desktop: return 3; + case DeviceInfo_DeviceType.selfHostedServer: + return 4; case DeviceInfo_DeviceType.UNRECOGNIZED: default: return -1;