Update seeder v2
This commit is contained in:
parent
9f752d3d89
commit
33313a3098
@ -154,6 +154,8 @@ import {
|
|||||||
|
|
||||||
const uidDocument1: string = randomString();
|
const uidDocument1: string = randomString();
|
||||||
const uidDocument2: string = randomString();
|
const uidDocument2: string = randomString();
|
||||||
|
const uidDocument3: string = randomString();
|
||||||
|
const uidDocument4: string = randomString();
|
||||||
|
|
||||||
const uidDocumentType1: string = randomString();
|
const uidDocumentType1: string = randomString();
|
||||||
const uidDocumentType2: string = randomString();
|
const uidDocumentType2: string = randomString();
|
||||||
@ -175,6 +177,8 @@ import {
|
|||||||
const uidOfficeFolderHasCustomer1: string = randomString();
|
const uidOfficeFolderHasCustomer1: string = randomString();
|
||||||
const uidOfficeFolderHasCustomer2: string = randomString();
|
const uidOfficeFolderHasCustomer2: string = randomString();
|
||||||
const uidOfficeFolderHasCustomer3: string = randomString();
|
const uidOfficeFolderHasCustomer3: string = randomString();
|
||||||
|
const uidOfficeFolderHasCustomer4: string = randomString();
|
||||||
|
const uidOfficeFolderHasCustomer5: string = randomString();
|
||||||
|
|
||||||
|
|
||||||
const uidFiles1: string = randomString();
|
const uidFiles1: string = randomString();
|
||||||
@ -876,7 +880,7 @@ import {
|
|||||||
folder_number: "0004",
|
folder_number: "0004",
|
||||||
name: "Dossier",
|
name: "Dossier",
|
||||||
deed_uid: uidDeed4,
|
deed_uid: uidDeed4,
|
||||||
status: EFolderStatus.ARCHIVED,
|
status: EFolderStatus.LIVE,
|
||||||
created_at: new Date(),
|
created_at: new Date(),
|
||||||
updated_at: new Date(),
|
updated_at: new Date(),
|
||||||
office_uid: uidOffice1,
|
office_uid: uidOffice1,
|
||||||
@ -888,7 +892,7 @@ import {
|
|||||||
folder_number: "0005",
|
folder_number: "0005",
|
||||||
name: "Dossier",
|
name: "Dossier",
|
||||||
deed_uid: uidDeed5,
|
deed_uid: uidDeed5,
|
||||||
status: EFolderStatus.ARCHIVED,
|
status: EFolderStatus.LIVE,
|
||||||
created_at: new Date(),
|
created_at: new Date(),
|
||||||
updated_at: new Date(),
|
updated_at: new Date(),
|
||||||
office_uid: uidOffice1,
|
office_uid: uidOffice1,
|
||||||
@ -1253,7 +1257,7 @@ import {
|
|||||||
uid: uidDocument1,
|
uid: uidDocument1,
|
||||||
blockchain_anchor_uid: null,
|
blockchain_anchor_uid: null,
|
||||||
depositor_uid: uidCustomer1,
|
depositor_uid: uidCustomer1,
|
||||||
document_status: EDocumentStatus.DEPOSITED,
|
document_status: EDocumentStatus.ASKED,
|
||||||
folder_uid: uidOfficeFolder1,
|
folder_uid: uidOfficeFolder1,
|
||||||
document_type_uid: uidDocumentType1,
|
document_type_uid: uidDocumentType1,
|
||||||
created_at: new Date(),
|
created_at: new Date(),
|
||||||
@ -1269,6 +1273,26 @@ import {
|
|||||||
created_at: new Date(),
|
created_at: new Date(),
|
||||||
updated_at: new Date(),
|
updated_at: new Date(),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
uid: uidDocument3,
|
||||||
|
blockchain_anchor_uid: null,
|
||||||
|
depositor_uid: uidCustomer3,
|
||||||
|
document_status: EDocumentStatus.ASKED,
|
||||||
|
folder_uid: uidOfficeFolder3,
|
||||||
|
document_type_uid: uidDocumentType3,
|
||||||
|
created_at: new Date(),
|
||||||
|
updated_at: new Date(),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
uid: uidDocument4,
|
||||||
|
blockchain_anchor_uid: null,
|
||||||
|
depositor_uid: uidCustomer4,
|
||||||
|
document_status: EDocumentStatus.ASKED,
|
||||||
|
folder_uid: uidOfficeFolder4,
|
||||||
|
document_type_uid: uidDocumentType4,
|
||||||
|
created_at: new Date(),
|
||||||
|
updated_at: new Date(),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const documentTypes: DocumentTypes[] = [
|
const documentTypes: DocumentTypes[] = [
|
||||||
@ -1451,11 +1475,26 @@ import {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
uid: uidOfficeFolderHasCustomer3,
|
uid: uidOfficeFolderHasCustomer3,
|
||||||
|
customer_uid: uidCustomer3,
|
||||||
|
office_folder_uid: uidOfficeFolder3,
|
||||||
|
created_at: new Date(),
|
||||||
|
updated_at: new Date(),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
uid: uidOfficeFolderHasCustomer4,
|
||||||
|
customer_uid: uidCustomer4,
|
||||||
|
office_folder_uid: uidOfficeFolder4,
|
||||||
|
created_at: new Date(),
|
||||||
|
updated_at: new Date(),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
uid: uidOfficeFolderHasCustomer5,
|
||||||
customer_uid: uidCustomer2,
|
customer_uid: uidCustomer2,
|
||||||
office_folder_uid: uidOfficeFolder21,
|
office_folder_uid: uidOfficeFolder21,
|
||||||
created_at: new Date(),
|
created_at: new Date(),
|
||||||
updated_at: new Date(),
|
updated_at: new Date(),
|
||||||
},
|
},
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const files: Files[] = [
|
const files: Files[] = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user