Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

[avh-prod] set padding to five #105

Open
wants to merge 1 commit into
base: avh-prod
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions webhooks/functions/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ export let NAME = "EOLE";

export const API_BASE_URL = "https://eole-recette.avh.asso.fr/api/v1/my_list";
export const EDRLAB_FUNCTION_URL = "";
export const BOOKSHELF_URL = 'https://eole-recette.avh.asso.fr/api/v1/my_list';
export const SEARCH_URL = 'https://eole-recette.avh.asso.fr/api/v1/search?search={query}&support=1';
export const BOOKSHELF_URL = 'https://eole-recette.avh.asso.fr/api/v1/my_list?per_page=5';
export const SEARCH_URL = 'https://eole-recette.avh.asso.fr/api/v1/search?search={query}&support=1&per_page=5';
export const SEARCH_URL_FN = (value: string) => SEARCH_URL.replace("{query}", value);
export const THEMATIC_LIST_URL = 'https://eole-recette.avh.asso.fr/api/v1/preselections/thematique';
export const GENRE_LIST_URL = 'https://eole-recette.avh.asso.fr/api/v1/preselections/genre';
export const THEMATIC_LIST_URL = 'https://eole-recette.avh.asso.fr/api/v1/preselections/thematique?per_page=5';
export const GENRE_LIST_URL = 'https://eole-recette.avh.asso.fr/api/v1/preselections/genre?per_page=5';
export const DEFAULT_LANGUAGE: TDefaultLanguage = 'fr';

export type TDefaultLanguage = Extract<TLang, 'fr'>;

export const PADDING_GROUP = 5;
export const PADDING_PUB = 3;
export const PADDING_PUB = 5;
export const LAST_SEEN_THRESHOLD = 72;

export const PROJECT_ID = 'valentin-4';
Expand Down