@openpeepshq/client 0.1.37 → 0.1.38

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.
@@ -4,10 +4,17 @@ export declare const server: (rawClient: FetchClient) => {
4
4
  version: string;
5
5
  environment: string;
6
6
  publicContent: boolean;
7
+ startedAt: string;
8
+ uptimeSeconds: number;
9
+ disk: {
10
+ folderBytes: number;
11
+ freeBytes: number;
12
+ totalBytes: number;
13
+ } | null;
14
+ lastAccessed: string | null;
7
15
  communityConfig: {
8
16
  theme: {
9
17
  base: string;
10
- primaryHex: string;
11
18
  light: {
12
19
  primaryHex: string;
13
20
  secondaryHex?: string | undefined;
@@ -34,6 +41,7 @@ export declare const server: (rawClient: FetchClient) => {
34
41
  };
35
42
  icon?: string | undefined;
36
43
  mobileIcon?: string | undefined;
44
+ primaryHex?: string | undefined;
37
45
  logoFull?: string | undefined;
38
46
  logoSmall?: string | undefined;
39
47
  defaultProfileAvatar?: string | undefined;
@@ -58,6 +66,8 @@ export declare const server: (rawClient: FetchClient) => {
58
66
  settings: {
59
67
  openRegistrations: boolean;
60
68
  defaultLanguage?: string | undefined;
69
+ defaultTimeZone?: string | undefined;
70
+ defaultFeedFormat?: "threaded" | "linear" | undefined;
61
71
  };
62
72
  roles: {
63
73
  onRegistration: {
@@ -100,12 +110,19 @@ export declare const server: (rawClient: FetchClient) => {
100
110
  };
101
111
  };
102
112
  };
113
+ build?: string | undefined;
103
114
  maxProfiles?: number | undefined;
104
115
  sso?: {
116
+ generic: {
117
+ id: string;
118
+ name: string;
119
+ loginLink: string;
120
+ }[];
105
121
  oidc: {
106
122
  id: string;
107
123
  name: string;
108
124
  }[];
125
+ onlySSO?: boolean | undefined;
109
126
  } | undefined;
110
127
  }, {
111
128
  success: boolean;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openpeepshq/client",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "validator": "^13.11.0",
8
8
  "zod": "^4.4.3",
9
- "@openpeepshq/common": "^0.1.44",
9
+ "@openpeepshq/common": "^0.1.46",
10
10
  "@openpeepshq/fetch-client": "^0.1.7"
11
11
  },
12
12
  "main": "dist/index.js",