@axium/sysadmin 0.2.5 → 0.2.6
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/common.d.ts +7 -0
- package/lib/SystemCard.svelte +1 -1
- package/lib/UserCard.svelte +1 -1
- package/lib/tsconfig.json +1 -1
- package/package.json +5 -4
- package/routes/tsconfig.json +1 -1
- package/dist/web_hook.d.ts +0 -8
- package/dist/web_hook.js +0 -4
package/dist/common.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export declare const System: z.ZodObject<{
|
|
|
31
31
|
emailVerified: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
32
32
|
preferences: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
33
33
|
debug: z.ZodDefault<z.ZodBoolean>;
|
|
34
|
+
theme: z.ZodDefault<z.ZodLiteral<"default" | "light" | "forest" | "midnight" | "beach" | "cherry" | "volcano">>;
|
|
34
35
|
}, z.core.$strip>>>;
|
|
35
36
|
roles: z.ZodArray<z.ZodString>;
|
|
36
37
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -86,6 +87,7 @@ declare const SysadminAPI: {
|
|
|
86
87
|
emailVerified: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
87
88
|
preferences: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
88
89
|
debug: z.ZodDefault<z.ZodBoolean>;
|
|
90
|
+
theme: z.ZodDefault<z.ZodLiteral<"default" | "light" | "forest" | "midnight" | "beach" | "cherry" | "volcano">>;
|
|
89
91
|
}, z.core.$strip>>>;
|
|
90
92
|
roles: z.ZodArray<z.ZodString>;
|
|
91
93
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -122,6 +124,7 @@ declare const SysadminAPI: {
|
|
|
122
124
|
emailVerified: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
123
125
|
preferences: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
124
126
|
debug: z.ZodDefault<z.ZodBoolean>;
|
|
127
|
+
theme: z.ZodDefault<z.ZodLiteral<"default" | "light" | "forest" | "midnight" | "beach" | "cherry" | "volcano">>;
|
|
125
128
|
}, z.core.$strip>>>;
|
|
126
129
|
roles: z.ZodArray<z.ZodString>;
|
|
127
130
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -172,6 +175,7 @@ declare const SysadminAPI: {
|
|
|
172
175
|
emailVerified: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
173
176
|
preferences: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
174
177
|
debug: z.ZodDefault<z.ZodBoolean>;
|
|
178
|
+
theme: z.ZodDefault<z.ZodLiteral<"default" | "light" | "forest" | "midnight" | "beach" | "cherry" | "volcano">>;
|
|
175
179
|
}, z.core.$strip>>>;
|
|
176
180
|
roles: z.ZodArray<z.ZodString>;
|
|
177
181
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -208,6 +212,7 @@ declare const SysadminAPI: {
|
|
|
208
212
|
emailVerified: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
209
213
|
preferences: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
210
214
|
debug: z.ZodDefault<z.ZodBoolean>;
|
|
215
|
+
theme: z.ZodDefault<z.ZodLiteral<"default" | "light" | "forest" | "midnight" | "beach" | "cherry" | "volcano">>;
|
|
211
216
|
}, z.core.$strip>>>;
|
|
212
217
|
roles: z.ZodArray<z.ZodString>;
|
|
213
218
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -239,6 +244,7 @@ declare const SysadminAPI: {
|
|
|
239
244
|
emailVerified: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
240
245
|
preferences: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
241
246
|
debug: z.ZodDefault<z.ZodBoolean>;
|
|
247
|
+
theme: z.ZodDefault<z.ZodLiteral<"default" | "light" | "forest" | "midnight" | "beach" | "cherry" | "volcano">>;
|
|
242
248
|
}, z.core.$strip>>>;
|
|
243
249
|
roles: z.ZodArray<z.ZodString>;
|
|
244
250
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -295,6 +301,7 @@ declare const SysadminAPI: {
|
|
|
295
301
|
emailVerified: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
296
302
|
preferences: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
297
303
|
debug: z.ZodDefault<z.ZodBoolean>;
|
|
304
|
+
theme: z.ZodDefault<z.ZodLiteral<"default" | "light" | "forest" | "midnight" | "beach" | "cherry" | "volcano">>;
|
|
298
305
|
}, z.core.$strip>>>;
|
|
299
306
|
roles: z.ZodArray<z.ZodString>;
|
|
300
307
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
package/lib/SystemCard.svelte
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { fetchAPI, text } from '@axium/client';
|
|
3
3
|
import { contextMenu, type ContextMenuItem } from '@axium/client/attachments';
|
|
4
4
|
import { Icon, Popover } from '@axium/client/components';
|
|
5
|
-
import { copy } from '@axium/client/
|
|
5
|
+
import { copy } from '@axium/client/web';
|
|
6
6
|
import { toastStatus } from '@axium/client/toast';
|
|
7
7
|
import { systemTypeIcons, type System } from '@axium/sysadmin';
|
|
8
8
|
import SystemInitDialog from './SystemInitDialog.svelte';
|
package/lib/UserCard.svelte
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { fetchAPI, text } from '@axium/client';
|
|
3
3
|
import { contextMenu, type ContextMenuItem } from '@axium/client/attachments';
|
|
4
4
|
import { Icon, Popover } from '@axium/client/components';
|
|
5
|
-
import { copy } from '@axium/client/
|
|
5
|
+
import { copy } from '@axium/client/web';
|
|
6
6
|
import { toastStatus } from '@axium/client/toast';
|
|
7
7
|
import type { SystemUser } from '@axium/sysadmin';
|
|
8
8
|
import UserInitDialog from './UserInitDialog.svelte';
|
package/lib/tsconfig.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axium/sysadmin",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"author": "James Prevett <axium@jamespre.dev>",
|
|
5
5
|
"description": "System administration for Axium",
|
|
6
6
|
"funding": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"build": "tsc"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@axium/client": ">=0.
|
|
40
|
-
"@axium/core": ">=0.
|
|
39
|
+
"@axium/client": ">=0.37.0",
|
|
40
|
+
"@axium/core": ">=0.39.0",
|
|
41
41
|
"@axium/server": ">=0.47.0",
|
|
42
42
|
"@sveltejs/kit": "^2.27.3",
|
|
43
43
|
"kysely": "^0.29.0",
|
|
@@ -49,11 +49,12 @@
|
|
|
49
49
|
"zod": "^4.0.5"
|
|
50
50
|
},
|
|
51
51
|
"axium": {
|
|
52
|
+
"locales": "locales",
|
|
52
53
|
"server": {
|
|
53
54
|
"routes": "routes",
|
|
54
55
|
"hooks": "./dist/server/hooks.js",
|
|
55
56
|
"db": "./db.json",
|
|
56
|
-
"web_client_hooks": "./dist/
|
|
57
|
+
"web_client_hooks": "./dist/common.js"
|
|
57
58
|
},
|
|
58
59
|
"client": {
|
|
59
60
|
"hooks": "./dist/client/hooks.js",
|
package/routes/tsconfig.json
CHANGED
package/dist/web_hook.d.ts
DELETED
package/dist/web_hook.js
DELETED