weareopensource/Swift

View on GitHub
waosSwift/config/default/development.json

Summary

Maintainability
Test Coverage
{
    "app": {
        "service": "me.weareopensource.node",
        "mails": {
            "contact": "pierre@weareopensource.me",
            "report": "pierre@weareopensource.me"
        },
        "links": {
            "blog": "https://blog.weareopensource.me",
            "site": "https://weareopensource.me",
            "instagram": "usename",
            "twitter": "usename",
            "linkedin": "companyid",
            "facebook": "pageid",
            "us": "https://weareopensource.me/us/",
            "support": "https://developer.apple.com/support/",
            "terms": "terms",
            "privacy": "https://www.apple.com/legal/privacy/en-ww/",
            "legal": "legal",
            "gravatar": "https://gravatar.com"
        }
    },
    "api": {
        "protocol": "http",
        "host": "localhost",
        "port": 3000,
        "endPoints": {
            "basePath": "api",
            "auth": "auth",
            "users": "users",
            "tasks": "tasks",
            "uploads": "uploads",
            "home": "home",
        }
    },
    "jwt": {
        "expiresIn": 604800,
        "renewIn": 3600
    },
    "log": {
        "dateFormat": "yyyy-MM-dd HH:mm:ss",
        "message" : {
            "error": "‼️ ERROR",
            "warning": "⚠️ WARNING",
            "info": "ℹ️ INFO",
            "debug": "💬 DEBUG",
            "verbose": "🔬 VERBOSE",
            "unknown": "☠️ UNKNOWN"
        }
    },
    "router": [
        {
            "name": "tasks_title",
            "meta": {
                "icon": "tasks",
                "width": 35,
                "height": 35
            }
        }, {
            "name": "second_title",
            "meta": {
                "icon": "sun",
                "width": 35,
                "height": 35
            }
        }, {
            "name": "profil_title",
            "meta": {
                "icon": "user",
                "width": 35,
                "height": 35
            }
        }
    ],
    "img": {
        "compresion": 0.25,
        "max": 4096,
        "styles": {
            "blured": 10,
            "overlayFraction": 0.9
        }
    },
    "oAuth": {
      "apple": true,
    },
    "notifications": false,
    "times": {
        "refresh": {
            "data": 30000
        },
        "buttons": {
            "throttle": 3000
        },
        "errors": {
            "debounce": 2000,
            "short": 500
        },
    },
    "theme": {
        "global": {
            "radius": 5,
            "margin": 15,
        },
        "navigationBar": {
            "transparent": "false",
            "shadow": "false",
        },
        "tableView": {
            "rowHeight": 60,
            "sectionFooterHeight": 25,
            "sectionFooterHeight": 0
        },
        "tabBar": {
            "color": "false",
            "title": "false",
            "tintColor" : "true",
            "border": "false"
        },
        "popup": {
            "alpha": 0.9,
            "duration": 3
        },
        "loader": {
            "minimumDisplayTime": 2000,
        },
        "themes": {
            "waos" :{
                "primary": "waosPrimary",
                "secondary": "waosSecondary",
                "background": "waosBackground",
                "surface": "waosSurface",
                "error": "waosError",
                "onPrimary": "waosOnPrimary",
                "onSecondary": "waosOnSecondary",
                "onBackground": "waosOnBackground",
                "onSurface": "waosOnSurface",
                "onError": "waosOnError",
                "instagram": "waosInstagram",
                "twitter": "waosTwitter",
                "linkedin": "waosLinkedin",
                "facebook": "waosFacebook"
            }
        }
    }
}