mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-11 17:29:48 +02:00
Create an automatic backup of all application data for safe keeping
Adds a new file containing a JSON backup of users, stores, and sales data. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/2af9aba6-3ad1-4e12-8996-8924a1561d7e.jpg
This commit is contained in:
1 parent
d7246ee187
commit
33262c73a8
1 file changed
+209
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"timestamp": "2025-07-11T10:00:00.586Z",
|
||||
"version": "1.0",
|
||||
"type": "automatic",
|
||||
"data": {
|
||||
"users": [
|
||||
{
|
||||
"id": 5,
|
||||
"username": "ff579",
|
||||
"email": null,
|
||||
"firstName": "",
|
||||
"lastName": "",
|
||||
"role": "employee",
|
||||
"storeId": 2,
|
||||
"isActive": true,
|
||||
"createdAt": "2025-07-10T09:48:22.256Z",
|
||||
"updatedAt": "2025-07-10T09:48:22.256Z"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"username": "ff292",
|
||||
"email": null,
|
||||
"firstName": "",
|
||||
"lastName": "",
|
||||
"role": "employee",
|
||||
"storeId": 1,
|
||||
"isActive": true,
|
||||
"createdAt": "2025-07-10T09:48:06.549Z",
|
||||
"updatedAt": "2025-07-10T09:48:06.549Z"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"username": "gael",
|
||||
"email": null,
|
||||
"firstName": "",
|
||||
"lastName": "",
|
||||
"role": "administrator",
|
||||
"storeId": null,
|
||||
"isActive": true,
|
||||
"createdAt": "2025-07-10T08:47:04.063Z",
|
||||
"updatedAt": "2025-07-10T08:47:04.063Z"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"username": "FFNANCY",
|
||||
"email": "michaelschal@gmail.com",
|
||||
"firstName": "",
|
||||
"lastName": "",
|
||||
"role": "manager",
|
||||
"storeId": 1,
|
||||
"isActive": true,
|
||||
"createdAt": "2025-07-09T18:55:01.413Z",
|
||||
"updatedAt": "2025-07-09T18:55:01.413Z"
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"username": "admin",
|
||||
"email": "michaelschal@ffest.fr",
|
||||
"firstName": "Administrateur",
|
||||
"lastName": "Principal",
|
||||
"role": "admin",
|
||||
"storeId": 1,
|
||||
"isActive": true,
|
||||
"createdAt": "2025-07-09T18:37:53.865Z",
|
||||
"updatedAt": "2025-07-09T18:37:53.865Z"
|
||||
}
|
||||
],
|
||||
"stores": [
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Houdemont",
|
||||
"address": "",
|
||||
"phone": "",
|
||||
"email": "",
|
||||
"isActive": true,
|
||||
"createdAt": "2025-07-09T19:00:30.782Z",
|
||||
"updatedAt": "2025-07-09T19:00:30.782Z"
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Frouard",
|
||||
"address": "À définir",
|
||||
"phone": "",
|
||||
"email": "",
|
||||
"isActive": true,
|
||||
"createdAt": "2025-07-09T18:37:53.432Z",
|
||||
"updatedAt": "2025-07-09T18:37:53.432Z"
|
||||
}
|
||||
],
|
||||
"sales": [
|
||||
{
|
||||
"id": 5,
|
||||
"storeId": 2,
|
||||
"userId": 2,
|
||||
"timestamp": "2025-07-09T19:16:46.797Z",
|
||||
"vendeur": "Moi",
|
||||
"typeArticle": "Fusée",
|
||||
"categorie": "F2",
|
||||
"quantite": 10,
|
||||
"gencode": "3660092323745",
|
||||
"nom": " ASSOCIATION GRAND AIR",
|
||||
"prenom": "Anne-Laure",
|
||||
"dateNaissance": "2025-06-03",
|
||||
"lieuNaissance": "Bar le duc",
|
||||
"modePaiement": "Espèce",
|
||||
"typeIdentite": "Passeport",
|
||||
"numeroIdentite": "qsdfqsdgc23445",
|
||||
"autoriteDelivrance": "Frouard",
|
||||
"dateDelivrance": "2025-07-01",
|
||||
"photoRecto": null,
|
||||
"photoVerso": null
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"storeId": 2,
|
||||
"userId": 1,
|
||||
"timestamp": "2025-07-09T19:07:15.650Z",
|
||||
"vendeur": "Moi",
|
||||
"typeArticle": "Pétard aérien",
|
||||
"categorie": "F3",
|
||||
"quantite": 1,
|
||||
"gencode": "3660092323745",
|
||||
"nom": "SCHAL",
|
||||
"prenom": "Michaël",
|
||||
"dateNaissance": "2025-07-02",
|
||||
"lieuNaissance": "Bar le duc",
|
||||
"modePaiement": "Espèce",
|
||||
"typeIdentite": "CNI",
|
||||
"numeroIdentite": "qsdfqsdgc23445",
|
||||
"autoriteDelivrance": "Frouard",
|
||||
"dateDelivrance": "2025-07-01",
|
||||
"photoRecto": null,
|
||||
"photoVerso": null
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"storeId": 2,
|
||||
"userId": 1,
|
||||
"timestamp": "2025-07-09T19:05:20.904Z",
|
||||
"vendeur": "Moi",
|
||||
"typeArticle": "Pétard aérien",
|
||||
"categorie": "F3",
|
||||
"quantite": 1,
|
||||
"gencode": "3660092323745",
|
||||
"nom": "SCHAL",
|
||||
"prenom": "Michaël",
|
||||
"dateNaissance": "2025-07-02",
|
||||
"lieuNaissance": "Bar le duc",
|
||||
"modePaiement": "Espèce",
|
||||
"typeIdentite": "CNI",
|
||||
"numeroIdentite": "qsdfqsdgc23445",
|
||||
"autoriteDelivrance": "Frouard",
|
||||
"dateDelivrance": "2025-07-01",
|
||||
"photoRecto": null,
|
||||
"photoVerso": null
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"storeId": 1,
|
||||
"userId": 1,
|
||||
"timestamp": "2025-07-10T00:08:19.097Z",
|
||||
"vendeur": "Moi",
|
||||
"typeArticle": "Chandelle romaine",
|
||||
"categorie": "F2",
|
||||
"quantite": 1,
|
||||
"gencode": "3660092323745",
|
||||
"nom": "SCHAL",
|
||||
"prenom": "Anne-Laure",
|
||||
"dateNaissance": "2018-02-10",
|
||||
"lieuNaissance": "Bar le duc",
|
||||
"modePaiement": "Espèce",
|
||||
"typeIdentite": "Passeport",
|
||||
"numeroIdentite": "qsdfqsdgc23445",
|
||||
"autoriteDelivrance": "Frouard",
|
||||
"dateDelivrance": "2025-07-01",
|
||||
"photoRecto": null,
|
||||
"photoVerso": null
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"storeId": 1,
|
||||
"userId": 1,
|
||||
"timestamp": "2025-07-09T19:11:36.505Z",
|
||||
"vendeur": "Moi",
|
||||
"typeArticle": "Batterie",
|
||||
"categorie": "F3",
|
||||
"quantite": 1,
|
||||
"gencode": "3660092323745",
|
||||
"nom": "SCHAL",
|
||||
"prenom": "Michaël",
|
||||
"dateNaissance": "2025-07-18",
|
||||
"lieuNaissance": "Bar le duc",
|
||||
"modePaiement": "Espèce",
|
||||
"typeIdentite": "CNI",
|
||||
"numeroIdentite": "qsdfqsdgc23445",
|
||||
"autoriteDelivrance": "Frouard",
|
||||
"dateDelivrance": "2025-07-01",
|
||||
"photoRecto": null,
|
||||
"photoVerso": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"metadata": {
|
||||
"totalUsers": 5,
|
||||
"totalStores": 2,
|
||||
"totalSales": 5,
|
||||
"exportedBy": "system-auto-backup"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user