fix: add client-specific constants, close #664
This commit is contained in:
4 files changed
+22
-5
No files matched your search
@@ -38,6 +38,8 @@ import type { paths } from './schema'
|
||||
export class PiefedClient implements BaseClient {
|
||||
type: ClientType = { name: 'piefed', baseUrl: '/api/alpha' }
|
||||
|
||||
static constants = { password: { minLength: 6, maxLength: 128 } }
|
||||
|
||||
#client: ReturnType<typeof createClient<paths>>
|
||||
|
||||
constructor(
|
||||
|
||||
Reference in new issue
Block a user