feat(recommendations): collect demographics and advance age cohorts
ci / ts / ts (packages + web) (push) Successful in 3m19s
ci / db / db (push) Successful in 53s
ci / module boundaries / boundaries (push) Successful in 7s
ci / api / api (push) Successful in 51s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m3s
ci / recommender / recommender (push) Failing after 16s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m15s
ci / ts / ts (packages + web) (push) Successful in 3m19s
ci / db / db (push) Successful in 53s
ci / module boundaries / boundaries (push) Successful in 7s
ci / api / api (push) Successful in 51s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m3s
ci / recommender / recommender (push) Failing after 16s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m15s
This commit is contained in:
1 parent
e158558da3
commit
fff91c446b
24 files changed
+778
-324
No files matched your search
@@ -1225,8 +1225,9 @@ export interface paths {
|
||||
cookie?: never;
|
||||
};
|
||||
/**
|
||||
* Онбординг вкуса — исполнители и жанры библиотеки для выбора
|
||||
* @description `required` — показать онбординг: пользователь его не проходил и не пропускал, а своей истории почти нет.
|
||||
* Анкета рекомендаций — варианты, сохранённые ответы и необходимость заполнения
|
||||
* @description `required` — пользователь не проходил и не пропускал анкету либо администратор сбросил рекомендации.
|
||||
* `choice` содержит ответы с текущей приблизительной возрастной группой; исходная группа и год хранятся на сервере.
|
||||
*/
|
||||
get: operations["getOnboarding"];
|
||||
put?: never;
|
||||
@@ -1472,6 +1473,7 @@ export interface components {
|
||||
};
|
||||
Onboarding: {
|
||||
required: boolean;
|
||||
choice?: components["schemas"]["OnboardingChoice"];
|
||||
artists: {
|
||||
/** Format: uuid */
|
||||
id: string;
|
||||
@@ -1487,6 +1489,15 @@ export interface components {
|
||||
}[];
|
||||
};
|
||||
OnboardingChoice: {
|
||||
/** @enum {string|null} */
|
||||
gender?: "male" | "female" | "other" | null;
|
||||
/**
|
||||
* @description Текущая приблизительная возрастная группа. Сервер хранит год выбора и учитывает прошедшие годы.
|
||||
* @enum {string|null}
|
||||
*/
|
||||
age_group?: "under_13" | "13_19" | "20_29" | "30_39" | "40_49" | "50_59" | "60_plus" | null;
|
||||
/** @description Год последнего выбора возрастной группы. */
|
||||
readonly age_group_year?: number;
|
||||
artist_ids: string[];
|
||||
genres: string[];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user