Skip to content

Commit

Permalink
update mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
BesOlivierBouchard committed Mar 23, 2024
1 parent 869d8bb commit b2cd2ba
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions canopeum_frontend/canopeum-mockoon.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,6 @@
"value": "Mega",
"invert": false,
"operator": "equals"
},
{
"target": "query",
"modifier": "",
"value": "",
"invert": false,
"operator": "equals"
}
],
"rulesOperator": "OR",
Expand Down Expand Up @@ -629,7 +622,7 @@
"responses": [
{
"uuid": "28554ad8-04f5-4513-9d7b-af7f9eb68a9e",
"body": "{\n \"name\": \"{{lorem (int 1 3)}}\",\n \"type\": {\n \"id\": {{int 0 6}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n },\n \"coordinates\": {\n \"dmsLatitude\": \"{{int 50 60}} {{int 15 30}} {{int 30 60}} {{int 1000 9999}} N\",\n \"dmsLongitude\": \"{{int 50 80}} {{int 20 45}} {{int 10 55}} {{int 1000 9999}} W\",\n },\n \"description\": \"{{lorem (int 1 150)}}\",\n \"size\": {{int 1 200}},\n \"species\": [\n {{#repeat 1 (int 1 4) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\",\n \"quantity\": {{int 1 10}}\n }\n {{/repeat}}\n ],\n \"researchPartnership\": {{boolean}},\n \"visibleOnMap\": {{boolean}}\n}",
"body": "{\n \"name\": \"{{lorem (int 1 3)}}\",\n \"type\": {\n \"id\": {{int 0 6}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n },\n \"coordinates\": {\n \"dmsLatitude\": \"{{int 50 60}} {{int 15 30}} {{int 30 60}} {{int 1000 9999}} N\",\n \"dmsLongitude\": \"{{int 50 80}} {{int 20 45}} {{int 10 55}} {{int 1000 9999}} W\"\n },\n \"description\": \"{{lorem (int 1 150)}}\",\n \"size\": {{int 1 200}},\n \"species\": [\n {{#repeat 1 (int 1 4) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\",\n \"quantity\": {{int 1 10}}\n }\n {{/repeat}}\n ],\n \"researchPartnership\": {{boolean}},\n \"visibleOnMap\": {{boolean}}\n}",
"latency": 0,
"statusCode": 200,
"label": "",
Expand Down Expand Up @@ -663,7 +656,7 @@
"responses": [
{
"uuid": "ac5b893d-b30e-43c9-8988-4c13a7e0c819",
"body": "{\n \"name\": \"{{lorem (int 1 3)}}\",\n \"type\": {\n \"id\": {{int 0 6}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n },\n \"plantCount\": {{int 0 5000}},\n \"survivedCount\": {{int 0 5000}},\n \"propagationCount\": {{int 0 500}},\n \"visitorCount\": {{int 0 500}},\n \"sponsors\": {{{someOf (array (lorem 2) (lorem 2) (lorem 2) (lorem 2) (lorem 2)) 0 5 true}}},\n \"progress\": {{float 0 100}}\n}",
"body": "[\n {{#repeat 1 (int 1 14) comma=true}}\n {\n \"name\": \"{{lorem (int 1 3)}}\",\n \"type\": {\n \"id\": {{int 0 6}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n },\n \"plantCount\": {{int 0 5000}},\n \"survivedCount\": {{int 0 5000}},\n \"propagationCount\": {{int 0 500}},\n \"visitorCount\": {{int 0 500}},\n \"sponsors\": {{{someOf (array (lorem 2) (lorem 2) (lorem 2) (lorem 2) (lorem 2)) 0 5 true}}},\n \"progress\": {{float 0 100}}\n }\n {{/repeat}}\n]",
"latency": 0,
"statusCode": 200,
"label": "",
Expand Down Expand Up @@ -697,7 +690,7 @@
"responses": [
{
"uuid": "9142494b-7b03-4738-a81a-69e49e17d6c0",
"body": "[\n {{#repeat 1 (int 1 10) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"name\": \"{{lorem (int 1 2)}}\",\n \"size\": \"{{int 1 100}}\",\n \"condition\": {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n },\n \"fertilizers\": [\n {{#repeat 1 (int 1 2) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n }\n {{/repeat}}\n ],\n \"mulchLayers\": [\n {{#repeat 1 (int 1 2) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n }\n {{/repeat}}\n ],\n \"supportedSpecies\": [\n {{#repeat 1 (int 1 4) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n }\n {{/repeat}}\n ],\n \"plantCount\": {{int 1 100}},\n \"surviveCount\": {{int 1 100}},\n \"replaceCount\": {{int 1 100}},\n \"seedCollectedCount\": {{int 1 100}},\n \"seeds\": [\n {{#repeat 1 (int 1 4) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\",\n \"quantity\": {{int 1 100}}\n }\n {{/repeat}}\n ],\n \"species\": [\n {{#repeat 1 (int 1 4) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\",\n \"quantity\": {{int 1 100}}\n }\n {{/repeat}}\n ]\n }\n {{/repeat}}\n]",
"body": "[\n {{#repeat 1 (int 1 10) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"name\": \"{{lorem (int 1 2)}}\",\n \"size\": \"{{int 1 100}}\",\n \"condition\": {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n },\n \"fertilizers\": [\n {{#repeat 1 (int 1 2) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n }\n {{/repeat}}\n ],\n \"mulchLayers\": [\n {{#repeat 1 (int 1 2) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n }\n {{/repeat}}\n ],\n \"supportedSpecies\": [\n {{#repeat 1 (int 1 4) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\"\n }\n {{/repeat}}\n ],\n \"plantCount\": {{int 1 100}},\n \"surviveCount\": {{int 1 100}},\n \"replaceCount\": {{int 1 100}},\n \"seedCollectedCount\": {{int 1 100}},\n \"seeds\": [\n {{#repeat 1 (int 1 4) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\",\n \"quantity\": {{int 1 100}}\n }\n {{/repeat}}\n ],\n \"species\": [\n {{#repeat 1 (int 1 4) comma=true}}\n {\n \"id\": {{int 1 9999}},\n \"en\": \"{{lorem (int 1 2)}}\",\n \"fr\": \"{{lorem (int 1 2)}}\",\n \"quantity\": {{int 1 100}}\n }\n {{/repeat}}\n ],\n }\n {{/repeat}}\n]",
"latency": 0,
"statusCode": 200,
"label": "",
Expand Down Expand Up @@ -1173,7 +1166,7 @@
"responses": [
{
"uuid": "cd930225-c517-4732-bb2d-51836439145a",
"body": "{\n \"firstname\": \"{{firstName}}\",\n \"lastname\": \"{{lastName}}\",\n \"email\": \"{{email}}\",\n \"role\": \"MegaAdmin\"\n \"image\": \"\"\n}",
"body": "{\n \"firstname\": \"{{firstName}}\",\n \"lastname\": \"{{lastName}}\",\n \"email\": \"{{email}}\",\n \"role\": \"MegaAdmin\",\n \"image\": \"\"\n}",
"latency": 0,
"statusCode": 200,
"label": "Mega Admin",
Expand Down Expand Up @@ -1542,4 +1535,4 @@
}
],
"callbacks": []
}
}

0 comments on commit b2cd2ba

Please sign in to comment.