first commit

This commit is contained in:
2026-10-03 13:40:26 +02:00
parent 732a5b5a16
commit 566f415fa7
555 changed files with 62704 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
export interface PireonConfig {
/** e.g. https://oauth.pireon.dev */
baseUrl: string;
/** Seconds a resolved token is trusted before asking Pireon again. */
sessionTtlSeconds: number;
requestTimeoutMs: number;
/** OAuth client of task-stream in Pireon (Authorization Code + PKCE / password grant). */
clientId?: string;
/** Kept server-side: browsers sign in through /api/auth/token. */
clientSecret?: string;
scopes: string[];
passwordGrant: boolean;
}
export const PIREON_CONFIG = Symbol('PIREON_CONFIG');