export const DATA_FIELD = `
    {
        name
        websiteUrl
        websitePreviewUrl
        prerendering {
            app {
                url
            }
            storage {
                name
            }
        }
        pages {
            home
            notFound
        }
        social {
            instagram
            facebook
            twitter
            image {
                src
                id
            }
        }
    }
` ; export const ERROR_FIELD = `
    {
        code
        data
        message
    }
` ; export const UPDATE_SETTINGS = `
    mutation UpdateSettings($data: PbSettingsInput!) {
        pageBuilder {
            updateSettings(data: $data) {
                id
                data ${ DATA_FIELD }
                error ${ ERROR_FIELD }
            }
        }
    }
` ; export const GET_SETTINGS = `
    query GetSettings {
        pageBuilder {
            getSettings {
                id
                data ${ DATA_FIELD }
                error ${ ERROR_FIELD }
            }
        }
    }
` ; export const GET_DEFAULT_SETTINGS = `
    query GetDefaultSettings {
        pageBuilder {
            getDefaultSettings {
                id
                data ${ DATA_FIELD }
                error ${ ERROR_FIELD }
            }
        }
    }
` ;