mirror of
https://github.com/morten-olsen/mini-loader.git
synced 2026-02-08 01:36:26 +01:00
init
This commit is contained in:
19
packages/server/src/config/config.ts
Normal file
19
packages/server/src/config/config.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Knex } from 'knex';
|
||||
|
||||
type Config = {
|
||||
database: Omit<Knex.Config, 'migrations'>;
|
||||
files: {
|
||||
location: string;
|
||||
};
|
||||
auth?: {
|
||||
oidc?: {
|
||||
issuer: string;
|
||||
login?: {
|
||||
clientId: string;
|
||||
clientSecret: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
export type { Config };
|
||||
Reference in New Issue
Block a user