6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
19 lines
1009 B
TypeScript
19 lines
1009 B
TypeScript
import type { ResponseInputItem, ResponseOutputItem } from "../../resources/responses/responses.mjs";
|
|
export type ResponseInputItemLike = ResponseInputItem | ResponseOutputItem;
|
|
/**
|
|
* Normalizes a mixed array of stored response history items into clean
|
|
* `ResponseInputItem`s that can be sent back to `responses.create()`. Known items
|
|
* that cannot be replayed without changing their meaning are omitted.
|
|
*
|
|
* @throws {TypeError} If an item type is not supported by the installed SDK.
|
|
*/
|
|
export declare function toResponseInputItems(items: Iterable<ResponseInputItemLike>): ResponseInputItem[];
|
|
/**
|
|
* Normalizes a stored response history item into a clean `ResponseInputItem`, or
|
|
* returns `null` when a known item cannot be replayed without changing its
|
|
* meaning.
|
|
*
|
|
* @throws {TypeError} If the item type is not supported by the installed SDK.
|
|
*/
|
|
export declare function toResponseInputItem(item: ResponseInputItemLike): ResponseInputItem | null;
|
|
//# sourceMappingURL=ResponseInputItems.d.mts.map
|