efiber-prisma-schema 2.2.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/prisma/generated/edge.js +21 -5
- package/dist/prisma/generated/index-browser.js +18 -2
- package/dist/prisma/generated/index.d.ts +1370 -323
- package/dist/prisma/generated/index.js +21 -5
- package/dist/prisma/generated/package.json +1 -1
- package/dist/prisma/generated/schema.prisma +44 -30
- package/dist/prisma/generated/wasm.js +21 -5
- package/package.json +1 -1
|
@@ -134,6 +134,12 @@ enum CableAttachmentRole {
|
|
|
134
134
|
ORIGIN
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
enum NetworkElementProvenance {
|
|
138
|
+
SYSTEM_DESIGN_IMPORT
|
|
139
|
+
SYSTEM_DESIGN_MANUAL
|
|
140
|
+
FIELD_CAPTURE
|
|
141
|
+
}
|
|
142
|
+
|
|
137
143
|
model Country {
|
|
138
144
|
id String @id @unique @default(uuid())
|
|
139
145
|
no Int @default(autoincrement())
|
|
@@ -608,8 +614,7 @@ model Project {
|
|
|
608
614
|
usersOnline integrationProjectUserStatus[]
|
|
609
615
|
MapElementTemplate MapElementTemplate[]
|
|
610
616
|
MapElement MapElement[]
|
|
611
|
-
ConduitTemplate ConduitTemplate
|
|
612
|
-
conduitTemplateId String?
|
|
617
|
+
ConduitTemplate ConduitTemplate[]
|
|
613
618
|
}
|
|
614
619
|
|
|
615
620
|
model integrationProjectUserStatus {
|
|
@@ -1521,8 +1526,9 @@ model Cable {
|
|
|
1521
1526
|
isInstalled Boolean @default(false)
|
|
1522
1527
|
installationDate DateTime?
|
|
1523
1528
|
|
|
1524
|
-
isInRevision Boolean
|
|
1525
|
-
installationStatus String?
|
|
1529
|
+
isInRevision Boolean @default(false)
|
|
1530
|
+
installationStatus String? @default("pending") //pending, approved, in-revision
|
|
1531
|
+
provenance NetworkElementProvenance?
|
|
1526
1532
|
|
|
1527
1533
|
comments String?
|
|
1528
1534
|
|
|
@@ -1677,8 +1683,9 @@ model Conduit {
|
|
|
1677
1683
|
isInstalled Boolean @default(false)
|
|
1678
1684
|
installationDate DateTime?
|
|
1679
1685
|
|
|
1680
|
-
isInRevision Boolean
|
|
1681
|
-
installationStatus String?
|
|
1686
|
+
isInRevision Boolean @default(false)
|
|
1687
|
+
installationStatus String? @default("pending") //pending, approved, in-revision
|
|
1688
|
+
provenance NetworkElementProvenance?
|
|
1682
1689
|
|
|
1683
1690
|
address String? //Address of the conduit
|
|
1684
1691
|
deploymentPhase String? //Deployment phase of the conduit
|
|
@@ -1888,8 +1895,9 @@ model PboFat {
|
|
|
1888
1895
|
|
|
1889
1896
|
comments String?
|
|
1890
1897
|
|
|
1891
|
-
isInRevision Boolean
|
|
1892
|
-
installationStatus String?
|
|
1898
|
+
isInRevision Boolean @default(false)
|
|
1899
|
+
installationStatus String? @default("pending") //pending, approved, in-revision
|
|
1900
|
+
provenance NetworkElementProvenance?
|
|
1893
1901
|
|
|
1894
1902
|
// Reporting mirrors
|
|
1895
1903
|
fatMaximumCapacity Int? //Maximum capacity of the PBO FAT
|
|
@@ -2004,8 +2012,9 @@ model SpliceClosure {
|
|
|
2004
2012
|
isInstalled Boolean @default(false)
|
|
2005
2013
|
installationDate DateTime?
|
|
2006
2014
|
|
|
2007
|
-
isInRevision Boolean
|
|
2008
|
-
installationStatus String?
|
|
2015
|
+
isInRevision Boolean @default(false)
|
|
2016
|
+
installationStatus String? @default("pending") //pending, approved, in-revision
|
|
2017
|
+
provenance NetworkElementProvenance?
|
|
2009
2018
|
|
|
2010
2019
|
comments String?
|
|
2011
2020
|
|
|
@@ -2233,8 +2242,9 @@ model Pole {
|
|
|
2233
2242
|
|
|
2234
2243
|
comments String?
|
|
2235
2244
|
|
|
2236
|
-
isInRevision Boolean
|
|
2237
|
-
installationStatus String?
|
|
2245
|
+
isInRevision Boolean @default(false)
|
|
2246
|
+
installationStatus String? @default("pending") //pending, approved, in-revision
|
|
2247
|
+
provenance NetworkElementProvenance?
|
|
2238
2248
|
|
|
2239
2249
|
createdAt DateTime @default(now())
|
|
2240
2250
|
updatedAt DateTime @updatedAt
|
|
@@ -2331,12 +2341,12 @@ model Manhole {
|
|
|
2331
2341
|
|
|
2332
2342
|
comments String?
|
|
2333
2343
|
|
|
2334
|
-
isInRevision Boolean
|
|
2335
|
-
installationStatus String?
|
|
2336
|
-
|
|
2337
|
-
createdAt
|
|
2338
|
-
updatedAt
|
|
2339
|
-
deletedAt
|
|
2344
|
+
isInRevision Boolean @default(false)
|
|
2345
|
+
installationStatus String? @default("pending") //pending, approved, in-revision
|
|
2346
|
+
provenance NetworkElementProvenance?
|
|
2347
|
+
createdAt DateTime @default(now())
|
|
2348
|
+
updatedAt DateTime @updatedAt
|
|
2349
|
+
deletedAt DateTime?
|
|
2340
2350
|
|
|
2341
2351
|
updatedBy User? @relation(fields: [updatedById], references: [id])
|
|
2342
2352
|
updatedById String?
|
|
@@ -2426,12 +2436,12 @@ model Loop {
|
|
|
2426
2436
|
|
|
2427
2437
|
comments String?
|
|
2428
2438
|
|
|
2429
|
-
isInRevision Boolean
|
|
2430
|
-
installationStatus String?
|
|
2431
|
-
|
|
2432
|
-
createdAt
|
|
2433
|
-
updatedAt
|
|
2434
|
-
deletedAt
|
|
2439
|
+
isInRevision Boolean @default(false)
|
|
2440
|
+
installationStatus String? @default("pending") //pending, approved, in-revision
|
|
2441
|
+
provenance NetworkElementProvenance?
|
|
2442
|
+
createdAt DateTime @default(now())
|
|
2443
|
+
updatedAt DateTime @updatedAt
|
|
2444
|
+
deletedAt DateTime?
|
|
2435
2445
|
|
|
2436
2446
|
updatedBy User? @relation(fields: [updatedById], references: [id])
|
|
2437
2447
|
updatedById String?
|
|
@@ -2519,9 +2529,9 @@ model FDTSRO {
|
|
|
2519
2529
|
|
|
2520
2530
|
comments String?
|
|
2521
2531
|
|
|
2522
|
-
isInRevision
|
|
2523
|
-
installationStatus
|
|
2524
|
-
|
|
2532
|
+
isInRevision Boolean @default(false)
|
|
2533
|
+
installationStatus String? @default("pending") //pending, approved, in-revision
|
|
2534
|
+
provenance NetworkElementProvenance?
|
|
2525
2535
|
// Reporting mirrors
|
|
2526
2536
|
maximumCapacity Int? //Maximum capacity of the FDTSRO
|
|
2527
2537
|
typeOfEnclosure String? //Type of the enclosure
|
|
@@ -2628,8 +2638,9 @@ model SFU {
|
|
|
2628
2638
|
macAddress String? //MAC address of the Router in the SFU
|
|
2629
2639
|
gponAddress String? //GPON address of the SFU
|
|
2630
2640
|
|
|
2631
|
-
isInRevision Boolean
|
|
2632
|
-
installationStatus String?
|
|
2641
|
+
isInRevision Boolean @default(false)
|
|
2642
|
+
installationStatus String? @default("pending") //pending, approved, in-revision
|
|
2643
|
+
provenance NetworkElementProvenance?
|
|
2633
2644
|
|
|
2634
2645
|
comments String?
|
|
2635
2646
|
|
|
@@ -2721,8 +2732,9 @@ model Building {
|
|
|
2721
2732
|
templateIndex Int?
|
|
2722
2733
|
|
|
2723
2734
|
asBuiltCoordinates Json? //Coordinates when installed
|
|
2724
|
-
isInstalled Boolean
|
|
2735
|
+
isInstalled Boolean @default(false)
|
|
2725
2736
|
installationDate DateTime?
|
|
2737
|
+
provenance NetworkElementProvenance?
|
|
2726
2738
|
|
|
2727
2739
|
comments String?
|
|
2728
2740
|
|
|
@@ -2907,6 +2919,8 @@ model MapElement {
|
|
|
2907
2919
|
updatedAt DateTime @updatedAt
|
|
2908
2920
|
deletedAt DateTime?
|
|
2909
2921
|
|
|
2922
|
+
provenance NetworkElementProvenance?
|
|
2923
|
+
|
|
2910
2924
|
updatedBy User? @relation(fields: [updatedById], references: [id])
|
|
2911
2925
|
updatedById String?
|
|
2912
2926
|
|