test secrets extraction

This commit is contained in:
dswbx
2025-06-25 07:49:39 +02:00
parent 6e78a4c238
commit c161a26ec0
6 changed files with 28 additions and 21 deletions
+2 -18
View File
@@ -46,20 +46,6 @@ export const guardRoleSchema = s.strictObject({
implicit_allow: s.boolean().optional(),
});
const a = s.record(strategiesSchema, {
// ^?
title: "Strategies",
default: {
password: {
type: "password",
enabled: true,
config: {
hashing: "sha256",
},
},
},
});
export const authConfigSchema = s.strictObject(
{
enabled: s.boolean({ default: false }),
@@ -85,9 +71,7 @@ export const authConfigSchema = s.strictObject(
},
{ title: "Authentication" },
);
const b = authConfigSchema.properties.basepath;
// ^?
const c = authConfigSchema.properties.strategies;
// ^?
export type AppAuthJWTConfig = s.Static<typeof jwtConfig>;
export type AppAuthSchema = s.Static<typeof authConfigSchema>;