o
    hW                     @   s   d dl mZmZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZ e Zejddd	ee
eejfd
ededefddZejddd	ee
eejfdedefddZdS )    )	APIRouterDepends)Session)SeafarersCreat)SeafarerService)get_db)
JWTManagerz	/seafarerT)response_model_exclude_nonerequestdbtokenc                    s   t ||| I d H S N)r   create_seafarer)r
   r   r    r   3/var/www/html/beacon-api/app/api/seafarer/router.pycreate_comapany
   s   r   z/seafarer/profilec                    s   t | | I d H S r   )r   get_seafarer_profile)r   r   r   r   r   r      s   r   N)fastapir   r   sqlalchemy.ormr   app.api.seafarer.schemasr   app.api.seafarer.servicer   app.database.main.mysqlr   app.dependency.authanticationr   seafarer_routerpostverify_tokendictr   getr   r   r   r   r   <module>   s2    