2020-12-02 11:19:39 +01:00
|
|
|
export const configMock = {
|
|
|
|
data: {
|
|
|
|
config: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "Config",
|
2020-12-02 11:19:39 +01:00
|
|
|
anonymous: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "Anonymous",
|
2020-12-02 11:19:39 +01:00
|
|
|
actorId: "1",
|
|
|
|
eventCreation: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "AnonymousEventCreation",
|
2020-12-02 11:19:39 +01:00
|
|
|
allowed: false,
|
|
|
|
validation: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "AnonymousEventCreationValidation",
|
2020-12-02 11:19:39 +01:00
|
|
|
captcha: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "AnonymousEventCreationValidationCaptcha",
|
2020-12-02 11:19:39 +01:00
|
|
|
enabled: false,
|
|
|
|
},
|
|
|
|
email: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "AnonymousEventCreationValidationEmail",
|
2020-12-02 11:19:39 +01:00
|
|
|
confirmationRequired: true,
|
|
|
|
enabled: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
participation: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "AnonymousParticipation",
|
2020-12-02 11:19:39 +01:00
|
|
|
allowed: true,
|
|
|
|
validation: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "AnonymousParticipationValidation",
|
2020-12-02 11:19:39 +01:00
|
|
|
captcha: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "AnonymousParticipationValidationCaptcha",
|
2020-12-02 11:19:39 +01:00
|
|
|
enabled: false,
|
|
|
|
},
|
|
|
|
email: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "AnonymousParticipationValidationEmail",
|
2020-12-02 11:19:39 +01:00
|
|
|
confirmationRequired: true,
|
|
|
|
enabled: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
reports: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "AnonymousReports",
|
2020-12-02 11:19:39 +01:00
|
|
|
allowed: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
auth: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "Auth",
|
2020-12-02 11:19:39 +01:00
|
|
|
ldap: false,
|
|
|
|
oauthProviders: [],
|
|
|
|
},
|
|
|
|
countryCode: "fr",
|
|
|
|
demoMode: false,
|
|
|
|
description: "Mobilizon.fr est l'instance Mobilizon de Framasoft.",
|
|
|
|
features: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "Features",
|
2020-12-02 11:19:39 +01:00
|
|
|
eventCreation: true,
|
|
|
|
groups: true,
|
2021-05-18 16:33:32 +02:00
|
|
|
koenaConnect: false,
|
2020-12-02 11:19:39 +01:00
|
|
|
},
|
2021-10-06 18:00:50 +02:00
|
|
|
restrictions: {
|
|
|
|
__typename: "Restrictions",
|
|
|
|
onlyAdminCanCreateGroups: false,
|
|
|
|
onlyGroupsCanCreateEvents: false,
|
|
|
|
},
|
2020-12-02 11:19:39 +01:00
|
|
|
geocoding: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "Geocoding",
|
2020-12-02 11:19:39 +01:00
|
|
|
autocomplete: true,
|
|
|
|
provider: "Elixir.Mobilizon.Service.Geospatial.Pelias",
|
|
|
|
},
|
|
|
|
languages: ["fr"],
|
|
|
|
location: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "Lonlat",
|
2020-12-02 11:19:39 +01:00
|
|
|
latitude: 48.8717,
|
|
|
|
longitude: 2.32075,
|
|
|
|
},
|
|
|
|
maps: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "Maps",
|
2020-12-02 11:19:39 +01:00
|
|
|
tiles: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "Tiles",
|
2020-12-02 11:19:39 +01:00
|
|
|
attribution: "© The OpenStreetMap Contributors",
|
|
|
|
endpoint: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
|
|
|
},
|
2020-12-17 11:26:25 +01:00
|
|
|
routing: {
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "Routing",
|
2020-12-17 11:26:25 +01:00
|
|
|
type: "OPENSTREETMAP",
|
|
|
|
},
|
2020-12-02 11:19:39 +01:00
|
|
|
},
|
|
|
|
name: "Mobilizon",
|
|
|
|
registrationsAllowlist: false,
|
|
|
|
registrationsOpen: true,
|
|
|
|
resourceProviders: [
|
|
|
|
{
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "ResourceProvider",
|
2020-12-02 11:19:39 +01:00
|
|
|
endpoint: "https://lite.framacalc.org/",
|
|
|
|
software: "calc",
|
|
|
|
type: "ethercalc",
|
|
|
|
},
|
|
|
|
{
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "ResourceProvider",
|
2020-12-02 11:19:39 +01:00
|
|
|
endpoint: "https://hebdo.framapad.org/p/",
|
|
|
|
software: "pad",
|
|
|
|
type: "etherpad",
|
|
|
|
},
|
|
|
|
{
|
2021-04-08 09:53:46 +02:00
|
|
|
__typename: "ResourceProvider",
|
2020-12-02 11:19:39 +01:00
|
|
|
endpoint: "https://framatalk.org/",
|
|
|
|
software: "visio",
|
|
|
|
type: "jitsi",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
slogan: null,
|
2021-04-12 10:13:11 +02:00
|
|
|
uploadLimits: {
|
|
|
|
__typename: "UploadLimits",
|
|
|
|
default: 10_000_000,
|
|
|
|
avatar: 2_000_000,
|
|
|
|
banner: 4_000_000,
|
|
|
|
},
|
2021-04-19 12:40:51 +02:00
|
|
|
instanceFeeds: {
|
|
|
|
__typename: "InstanceFeeds",
|
|
|
|
enabled: false,
|
|
|
|
},
|
2021-06-04 20:24:43 +02:00
|
|
|
webPush: {
|
|
|
|
__typename: "WebPush",
|
|
|
|
enabled: true,
|
|
|
|
publicKey: "",
|
|
|
|
},
|
2020-12-02 11:19:39 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|