@openpeepshq/common 0.18.0 → 0.19.0

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.
@@ -38364,6 +38364,9 @@ export declare const serverInfoSchema: z.ZodObject<{
38364
38364
  build: z.ZodOptional<z.ZodString>;
38365
38365
  environment: z.ZodString;
38366
38366
  publicContent: z.ZodBoolean;
38367
+ federation: z.ZodObject<{
38368
+ active: z.ZodBoolean;
38369
+ }, z.core.$strip>;
38367
38370
  startedAt: z.ZodISODateTime;
38368
38371
  uptimeSeconds: z.ZodNumber;
38369
38372
  disk: z.ZodNullable<z.ZodObject<{
package/dist/types/api.js CHANGED
@@ -214,6 +214,8 @@ export const serverInfoSchema = z.object({
214
214
  build: z.string().optional(),
215
215
  environment: z.string(),
216
216
  publicContent: z.boolean(),
217
+ /** Whether this instance syncs with the wider ActivityPub network. Public, sanitized — no peer/allowlist data. */
218
+ federation: z.object({ active: z.boolean() }),
217
219
  /** Process start time (ISO). */
218
220
  startedAt: z.iso.datetime(),
219
221
  uptimeSeconds: z.number().nonnegative(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openpeepshq/common",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/src/types/api.ts CHANGED
@@ -341,6 +341,8 @@ export const serverInfoSchema = z.object({
341
341
  build: z.string().optional(),
342
342
  environment: z.string(),
343
343
  publicContent: z.boolean(),
344
+ /** Whether this instance syncs with the wider ActivityPub network. Public, sanitized — no peer/allowlist data. */
345
+ federation: z.object({ active: z.boolean() }),
344
346
  /** Process start time (ISO). */
345
347
  startedAt: z.iso.datetime(),
346
348
  uptimeSeconds: z.number().nonnegative(),