New channel config (#807)
* Channel config rework Add staged channel config with tabbed UI, import/export workflow, and global form state refactor * Improve import dialog config comparison and UI labels * Review fixes * Improve state handling * Fix default filter behaviour --------- Co-authored-by: philon- <philon-@users.noreply.github.com>
This commit is contained in:
co-authored by
philon-
parent
01fa030ef9
commit
1946000d14
@@ -35,3 +35,6 @@ export function makeChannelSchema(allowedBytes: number) {
|
||||
role: RoleEnum,
|
||||
});
|
||||
}
|
||||
|
||||
const ChannelValidationSchema = makeChannelSchema(0); // generate a schema that doesn't validate PSK length, just structure, for type purposes
|
||||
export type ChannelValidation = z.infer<typeof ChannelValidationSchema>;
|
||||
|
||||
Reference in New Issue
Block a user