This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Usage https://gist.github.com/alvaromurillo/ed1edb8be5ef8036118eca992900c795 | |
| import UIKit | |
| import RxSwift | |
| import RxCocoa | |
| struct Alert { | |
| enum Style { case alert, actionSheet } | |
| let title: String? | |
| let message: String? |
https://gist.github.com/alvaromurillo/08ca77823695659400511494cca50a8a
extension FooViewModel: FooViewModelInput {
func deleteButtonPressed() {
let deleteAction = Alert.Action(title: "Delete", message: nil, style: .destructive, action: { /* delete */ })
let cancelAction = Alert.Action(title: "Cancel", message: nil, style: .cancel, action: nil)
alertRelay.accept(Alert(title: "Delete..", message: nil, actions: [cancelAction, deleteAction], completion: nil, style: .alert))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openapi: 3.0.3 | |
| info: | |
| title: Citcom Peritaje APP API | |
| version: 1.0.0 | |
| description: | | |
| REST API that powers the mobile application used by citizens to request property damage inspections. | |
| It covers onboarding (municipality validation and OTP login), user registration, property and damage management, | |
| as well as submission and tracking of inspection requests. | |
| servers: | |
| - url: https://api.peritaje.citcom.es/v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openapi: 3.0.3 | |
| info: | |
| title: Citcom Peritaje CMS API | |
| version: 1.0.0 | |
| description: | | |
| REST API that powers the Citcom content management system. It provides endpoints for | |
| administrative authentication, operator onboarding, and the review workflow of inspection requests. | |
| servers: | |
| - url: https://api.peritaje.citcom.es/v1 | |
| description: Production |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openapi: 3.0.3 | |
| info: | |
| title: Citcom Peritaje AI Report Service | |
| version: 1.0.0 | |
| description: | | |
| External AI service that generates diagnostic reports based on inspection request data. | |
| This service receives complete request information including property details, damages, and photos, | |
| and returns a professionally formatted PDF report with AI-generated analysis and recommendations. | |
| servers: | |
| - url: https://ai.peritaje.citcom.es/v1 |