Debian Dev4 8d5e32fb79
Some checks failed
build-and-push-ext / build_push (push) Failing after 5s
feat(idnot): loginWithIdNot utilise /api/v1/idnot/state et ajoute state à l’URL authorize
2025-09-23 07:15:54 +00:00

49 lines
865 B
TypeScript

export class FrontendVariables {
private static instance: FrontendVariables;
public BACK_API_PROTOCOL!: string;
public BACK_API_HOST!: string;
public BACK_API_PORT!: string;
public BACK_API_ROOT_URL!: string;
public BACK_API_VERSION!: string;
public FRONT_APP_HOST!: string;
public IDNOT_BASE_URL!: string;
public IDNOT_AUTHORIZE_ENDPOINT!: string;
public IDNOT_CLIENT_ID!: string;
public IDNOT_REDIRECT_URI?: string;
public DOCAPOST_API_URL!: string;
public KEY_DATA!: string;
public FC_AUTHORIZE_ENDPOINT!: string;
public FC_CLIENT_ID!: string;
public HOTJAR_SITE_ID!: number;
public HOTJAR_VERSION!: number;
public _4NK_URL!: string;
public API_URL!: string;
private constructor() {}
public static getInstance(): FrontendVariables {
if (!this.instance) {
this.instance = new this();
}
return this.instance;
}
}