Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit c994e5c

Browse files
Fix script to create mock data for a clean demo
1 parent 33b6688 commit c994e5c

11 files changed

+3675
-29
lines changed

scripts/db/data2/Achievement.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[
2+
{
3+
"id": "b60561c9-5c9b-4d01-9c49-b11caf8028e4",
4+
"created": "2020-05-13T06:43:20.003Z",
5+
"updated": "2020-05-13T06:48:04.687Z",
6+
"createdBy": "tc-Admin",
7+
"updatedBy": "tc-Admin",
8+
"achievementsProviderId": "4dcced87-5070-40ad-8594-c679acb47e78",
9+
"name": "Achievement 1",
10+
"uri": "string",
11+
"certifierId": "string",
12+
"certifiedDate": "2020-05-13T06:33:54.708Z",
13+
"userId": "c3a4fd50-fa53-4636-baf6-ebf2fd9d39f9"
14+
},
15+
{
16+
"id": "f560bcce-e51b-4a9a-9c17-ea2c65719e0b",
17+
"created": "2020-05-13T08:44:27.244Z",
18+
"updated": null,
19+
"createdBy": "tc-user",
20+
"updatedBy": null,
21+
"achievementsProviderId": "4dcced87-5070-40ad-8594-c679acb47e78",
22+
"name": "Achievement 3",
23+
"uri": "http://www.google.com/xx",
24+
"certifierId": "certifierId",
25+
"certifiedDate": "2020-05-04T07:36:28.036Z",
26+
"userId": "d66878d5-22fd-4f01-b3b4-1cd5c070f62e"
27+
}
28+
]
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"id": "4dcced87-5070-40ad-8594-c679acb47e78",
4+
"created": "2020-05-13T06:23:54.712Z",
5+
"updated": null,
6+
"createdBy": "tc-Admin",
7+
"updatedBy": null,
8+
"name": "achievement provider demo"
9+
}
10+
]

scripts/db/data2/Attribute.json

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
[
2+
{
3+
"id": "28732fe4-20b0-4d58-81f1-e4230beb2ba4",
4+
"created": "2020-05-13T08:46:39.030Z",
5+
"updated": null,
6+
"createdBy": "tc-user",
7+
"updatedBy": null,
8+
"attributeGroupId": "e5acf0fc-d372-472e-aaef-7b3d02a73ffd",
9+
"name": "isAvailable"
10+
},
11+
{
12+
"id": "a39161f7-9b23-4c3d-9818-8ffffe58f78b",
13+
"created": "2020-05-13T08:35:45.512Z",
14+
"updated": null,
15+
"createdBy": "tc-Admin",
16+
"updatedBy": null,
17+
"attributeGroupId": "e5acf0fc-d372-472e-aaef-7b3d02a73ffd",
18+
"name": "company"
19+
},
20+
{
21+
"id": "7a4e1ad7-1a98-4e68-850f-0f8c7f178073",
22+
"created": "2020-05-13T07:32:03.128Z",
23+
"updated": null,
24+
"createdBy": "tc-Admin",
25+
"updatedBy": null,
26+
"attributeGroupId": "e5acf0fc-d372-472e-aaef-7b3d02a73ffd",
27+
"name": "location"
28+
},
29+
{
30+
"id": "9b9dd7b5-7a2a-4d62-b526-9262281566c8",
31+
"created": "2020-05-13T07:32:03.128Z",
32+
"updated": null,
33+
"createdBy": "tc-Admin",
34+
"updatedBy": null,
35+
"attributeGroupId": "e5acf0fc-d372-472e-aaef-7b3d02a73ffd",
36+
"name": "title"
37+
},
38+
{
39+
"id": "721efed7-810c-4007-887b-c8a688b0d869",
40+
"created": "2020-05-13T07:32:03.128Z",
41+
"updated": null,
42+
"createdBy": "tc-Admin",
43+
"updatedBy": null,
44+
"attributeGroupId": "e5acf0fc-d372-472e-aaef-7b3d02a73ffd",
45+
"name": "Billing Account"
46+
},
47+
{
48+
"id": "37682e0f-66b6-41ce-9af4-365b117c4079",
49+
"created": "2020-05-13T07:32:03.128Z",
50+
"updated": null,
51+
"createdBy": "tc-Admin",
52+
"updatedBy": null,
53+
"attributeGroupId": "e5acf0fc-d372-472e-aaef-7b3d02a73ffd",
54+
"name": "Gender"
55+
},
56+
{
57+
"id": "af35b8c7-a435-4801-8965-559bc90dcd3b",
58+
"created": "2020-05-13T07:32:03.128Z",
59+
"updated": null,
60+
"createdBy": "tc-Admin",
61+
"updatedBy": null,
62+
"attributeGroupId": "e5acf0fc-d372-472e-aaef-7b3d02a73ffd",
63+
"name": "Experience (in months)"
64+
},
65+
{
66+
"id": "804d1c58-9aca-4ad9-af7d-02aa14fb0441",
67+
"created": "2020-05-13T07:32:03.128Z",
68+
"updated": null,
69+
"createdBy": "tc-Admin",
70+
"updatedBy": null,
71+
"attributeGroupId": "e5acf0fc-d372-472e-aaef-7b3d02a73ffd",
72+
"name": "On internship"
73+
}
74+
]

scripts/db/data2/AttributeGroup.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"id": "e5acf0fc-d372-472e-aaef-7b3d02a73ffd",
4+
"created": "2020-05-13T08:45:33.291Z",
5+
"updated": null,
6+
"createdBy": "tc-user",
7+
"updatedBy": null,
8+
"organizationId": "c52ca16a-60e5-4b96-9c85-b1a6b1ae3802",
9+
"name": "demo attribute group"
10+
}
11+
]

0 commit comments

Comments
 (0)