export const configDefaults = {
    id: 'ema-js-base',
    name: 'ema-js-base',
    authenticated: false,
    version: '0.0.1',
    domain: 'ema-js-base.firebaseapp.com',
    baseUrl: 'https://ema-js-base.firebaseapp.com/',
    baseRoot: 'https://ema-js-base.firebaseapp.com',
    api_headers: [
        { 'Content-Type': 'application/json;charset=utf-8' }
    ],
    // language: 'nl',
    language: 'en',
    languages: [
        { key: 'nl', value: 'Nederlands' },
        { key: 'en', value: 'English' },
    ],
    // permissions: [ 'read',
    // 'create', 'read', 'update', 'delete', 'administrate', 'login', 'logout', 'autoLogin', 'fetchCredentials'],
    // 'create-node', 'read-node', 'update-node', 'delete-node',
    // 'create-post', 'read-post', 'update-post', 'delete-post',
    // ],
    roles: {
        ANONYMOUS: [{ "actions": ["read"], "subject": ["all"] }],
        // ANONYMOUS:      ['read', 'login','forceLogin'],  // override in app config for auth apps
        // todo: change to casl rules
        AUTHENTICATED: ['read', 'create', 'update', 'logout'],
        EDITOR: ['create', 'read', 'update', 'delete', 'logout'],
        DEVELOPER: ['create', 'read', 'update', 'delete', 'logout', 'debug'],
        ADMINISTRATOR: ['create', 'read', 'update', 'delete', 'administrate', 'logout', 'create-user', 'delete-user'],
        OWNER: ['create', 'read', 'update', 'delete', 'administrate', 'logout', 'create-user', 'delete-user', 'debug', 'autoLogin', 'fetchCredentials'],
    },
    // todo: implement
    firebaseApps: {
        'ema-js-base': {
            apiKey: "AIzaSyDQuSusOA5HNwIUoyViVOPwEWbGXWt91p4",
            authDomain: "ema-js-base.firebaseapp.com",
            databaseURL: "https://ema-js-base.firebaseio.com",
            projectId: "ema-js-base",
            storageBucket: "ema-js-base.appspot.com",
            messagingSenderId: "419979785648"
        }
    },
    // todo: deprecate
    firebase: {
        apiKey: "AIzaSyDQuSusOA5HNwIUoyViVOPwEWbGXWt91p4",
        authDomain: "ema-js-base.firebaseapp.com",
        databaseURL: "https://ema-js-base.firebaseio.com",
        projectId: "ema-js-base",
        storageBucket: "ema-js-base.appspot.com",
        messagingSenderId: "419979785648"
    },
};
//# sourceMappingURL=config-defaults.js.map