동의 게이트와 런타임 안정화

This commit is contained in:
Yun Chan 2026-06-27 17:22:38 +09:00
parent 0eb7d925ed
commit 0ec266a761
34 changed files with 1186 additions and 158 deletions

View file

@ -156,6 +156,30 @@ export interface paths {
patch?: never;
trace?: never;
};
"/auth/consent": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Accept Consent
* @description Record the current learner's practice-session consent receipt.
*/
post: operations["accept_consent_auth_consent_post"];
/**
* Withdraw Consent
* @description Withdraw practice-session consent until the learner accepts again.
*/
delete: operations["withdraw_consent_auth_consent_delete"];
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/auth/dev-login": {
parameters: {
query?: never;
@ -1072,6 +1096,19 @@ export interface components {
/** Rationale */
rationale?: string | null;
};
/** ConsentRequest */
ConsentRequest: {
/**
* Accepted
* @default true
*/
accepted: boolean;
};
/** ConsentResponse */
ConsentResponse: {
/** Consent At */
consent_at?: number | null;
};
/** CrisisResourceResponse */
CrisisResourceResponse: {
/** Message */
@ -1294,6 +1331,8 @@ export interface components {
MeResponse: {
/** Cohort Ids */
cohort_ids: string[];
/** Consent At */
consent_at?: number | null;
/** Display Name */
display_name: string;
/** Email */
@ -2586,6 +2625,74 @@ export interface operations {
};
};
};
accept_consent_auth_consent_post: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: {
"__Host-vignette_sid"?: string | null;
vignette_sid?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["ConsentRequest"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ConsentResponse"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
withdraw_consent_auth_consent_delete: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: {
"__Host-vignette_sid"?: string | null;
vignette_sid?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ConsentResponse"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
dev_login_auth_dev_login_post: {
parameters: {
query?: never;