|
OmniStacksStaticModules 2.0.0
|
Namespaces | |
| namespace | anonymous_namespace{WorkflowUI.cppm} |
Classes | |
| struct | Context |
| 单次 Alfred 调用所需的运行上下文。 More... | |
Functions | |
| std::string | filter (const Context &context, std::string_view query) |
| 生成 Alfred Script Filter JSON;任何业务错误都转换为不可选错误条目。 | |
| std::expected< std::string, std::string > | action (const Context &context, std::string_view token) |
| 执行 Alfred action token;错误文本直接作为 Alfred Large Type/通知内容。 | |
| std::string | base64url_encode (std::string_view value) |
| URL-safe、无 padding 的 Base64 编码,用于 token 中的用户字段。 | |
| std::optional< std::string > | base64url_decode (std::string_view value) |
| Base64url 解码;非法字符返回 nullopt,调用方转换为 action 错误。 | |
| std::string | filter_impl (const Context &context, std::string_view raw_query) |
|
export |
执行 Alfred action token;错误文本直接作为 Alfred Large Type/通知内容。
Definition at line 1426 of file WorkflowUI.cppm.
|
export |
Base64url 解码;非法字符返回 nullopt,调用方转换为 action 错误。
Definition at line 866 of file WorkflowUI.cppm.
|
export |
URL-safe、无 padding 的 Base64 编码,用于 token 中的用户字段。
Definition at line 843 of file WorkflowUI.cppm.
|
export |
生成 Alfred Script Filter JSON;任何业务错误都转换为不可选错误条目。
Definition at line 1407 of file WorkflowUI.cppm.
| std::string WorkflowUI::filter_impl | ( | const Context & | context, |
| std::string_view | raw_query ) |
Definition at line 889 of file WorkflowUI.cppm.