@postxl/schema 1.0.3 → 1.1.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.
@@ -657,6 +657,175 @@ export declare const sampleSchemas: {
657
657
  }[];
658
658
  }[];
659
659
  };
660
+ portfolex: {
661
+ name: string;
662
+ slug: string;
663
+ description: string;
664
+ version: string;
665
+ schemas: string[];
666
+ defaultSchema: string;
667
+ systemUser: {
668
+ name: string;
669
+ email: string;
670
+ sub: null;
671
+ };
672
+ standardModels: string[];
673
+ models: ({
674
+ name: string;
675
+ excelName: string;
676
+ description: string;
677
+ schema: string;
678
+ fields: ({
679
+ name: string;
680
+ excelName: string;
681
+ type: string;
682
+ label: string;
683
+ description: string;
684
+ isUnique?: never;
685
+ } | {
686
+ name: string;
687
+ excelName: string;
688
+ type: string;
689
+ label: string;
690
+ description: string;
691
+ isUnique: boolean;
692
+ } | {
693
+ name: string;
694
+ excelName: string;
695
+ type: string;
696
+ label: string;
697
+ description?: never;
698
+ isUnique?: never;
699
+ })[];
700
+ defaultField: string;
701
+ standardFields: never[];
702
+ seed: {
703
+ id: string;
704
+ code: string;
705
+ name: string;
706
+ description: string;
707
+ isDefault: boolean;
708
+ }[];
709
+ } | {
710
+ name: string;
711
+ excelName: string;
712
+ description: string;
713
+ schema: string;
714
+ fields: ({
715
+ name: string;
716
+ excelName: string;
717
+ type: string;
718
+ label: string;
719
+ deepClone?: never;
720
+ } | {
721
+ name: string;
722
+ excelName: string;
723
+ type: string;
724
+ label: string;
725
+ deepClone: boolean;
726
+ })[];
727
+ standardFields: never[];
728
+ seed: {
729
+ id: string;
730
+ scenarioId: string;
731
+ code: string;
732
+ asset: string;
733
+ target: string;
734
+ isotope: string;
735
+ txDx: string;
736
+ indicationId: number;
737
+ }[];
738
+ defaultField?: never;
739
+ } | {
740
+ name: string;
741
+ excelName: string;
742
+ description: string;
743
+ schema: string;
744
+ fields: ({
745
+ name: string;
746
+ excelName: string;
747
+ type: string;
748
+ label: string;
749
+ deepClone: boolean;
750
+ } | {
751
+ name: string;
752
+ excelName: string;
753
+ type: string;
754
+ label: string;
755
+ deepClone?: never;
756
+ })[];
757
+ standardFields: string[];
758
+ seed: never[];
759
+ defaultField?: never;
760
+ } | {
761
+ name: string;
762
+ excelName: string;
763
+ description: string;
764
+ schema: string;
765
+ fields: ({
766
+ name: string;
767
+ excelName: string;
768
+ type: string;
769
+ label: string;
770
+ isUnique: boolean;
771
+ deepClone: boolean;
772
+ } | {
773
+ name: string;
774
+ excelName: string;
775
+ type: string;
776
+ label: string;
777
+ isUnique?: never;
778
+ deepClone?: never;
779
+ })[];
780
+ standardFields: string[];
781
+ seed: never[];
782
+ defaultField?: never;
783
+ } | {
784
+ name: string;
785
+ excelName: string;
786
+ description: string;
787
+ schema: string;
788
+ fields: {
789
+ name: string;
790
+ excelName: string;
791
+ type: string;
792
+ label: string;
793
+ }[];
794
+ standardFields: never[];
795
+ seed: {
796
+ id: string;
797
+ defaultSequence: number;
798
+ fteClinical: number;
799
+ fteRegulatory: number;
800
+ fteCmc: number;
801
+ isEvent: boolean;
802
+ successorMask: number;
803
+ }[];
804
+ defaultField?: never;
805
+ } | {
806
+ name: string;
807
+ excelName: string;
808
+ description: string;
809
+ schema: string;
810
+ fields: {
811
+ name: string;
812
+ excelName: string;
813
+ type: string;
814
+ label: string;
815
+ }[];
816
+ standardFields: never[];
817
+ seed: {
818
+ id: string;
819
+ abbreviation: string;
820
+ }[];
821
+ defaultField?: never;
822
+ })[];
823
+ enums: {
824
+ name: string;
825
+ schema: string;
826
+ members: string[];
827
+ }[];
828
+ };
660
829
  simple: {
661
830
  name: string;
662
831
  slug: string;
@@ -864,6 +1033,300 @@ export declare const sampleSchemas: {
864
1033
  }[];
865
1034
  }[];
866
1035
  };
1036
+ steerex: {
1037
+ name: string;
1038
+ slug: string;
1039
+ description: string;
1040
+ projectType: string;
1041
+ version: string;
1042
+ schemas: string[];
1043
+ defaultSchema: string;
1044
+ systemUser: {
1045
+ name: string;
1046
+ email: string;
1047
+ sub: null;
1048
+ };
1049
+ standardModels: string[];
1050
+ models: ({
1051
+ name: string;
1052
+ description: string;
1053
+ schema: string;
1054
+ fields: ({
1055
+ name: string;
1056
+ type: string;
1057
+ label: string;
1058
+ description: string;
1059
+ isUnique?: never;
1060
+ } | {
1061
+ name: string;
1062
+ type: string;
1063
+ label: string;
1064
+ description: string;
1065
+ isUnique: boolean;
1066
+ })[];
1067
+ standardFields: string[];
1068
+ labelField: string;
1069
+ seed: ({
1070
+ id: string;
1071
+ name: string;
1072
+ code: string;
1073
+ parentId: null;
1074
+ } | {
1075
+ id: string;
1076
+ name: string;
1077
+ code: string;
1078
+ parentId: string;
1079
+ })[];
1080
+ } | {
1081
+ name: string;
1082
+ description: string;
1083
+ schema: string;
1084
+ fields: ({
1085
+ name: string;
1086
+ type: string;
1087
+ label: string;
1088
+ description: string;
1089
+ faker: string;
1090
+ isUnique?: never;
1091
+ } | {
1092
+ name: string;
1093
+ type: string;
1094
+ label: string;
1095
+ description: string;
1096
+ faker?: never;
1097
+ isUnique?: never;
1098
+ } | {
1099
+ name: string;
1100
+ type: string;
1101
+ label: string;
1102
+ description: string;
1103
+ isUnique: boolean;
1104
+ faker: string;
1105
+ })[];
1106
+ standardFields: string[];
1107
+ labelField: string;
1108
+ seed: {
1109
+ id: string;
1110
+ name: string;
1111
+ email: string;
1112
+ role: string;
1113
+ hierarchyId: string;
1114
+ }[];
1115
+ } | {
1116
+ name: string;
1117
+ description: string;
1118
+ schema: string;
1119
+ fields: ({
1120
+ name: string;
1121
+ type: string;
1122
+ label: string;
1123
+ description: string;
1124
+ faker: string;
1125
+ isUnique?: never;
1126
+ prismaRelationFieldName?: never;
1127
+ seed?: never;
1128
+ } | {
1129
+ name: string;
1130
+ type: string;
1131
+ label: string;
1132
+ description: string;
1133
+ isUnique: boolean;
1134
+ faker?: never;
1135
+ prismaRelationFieldName?: never;
1136
+ seed?: never;
1137
+ } | {
1138
+ name: string;
1139
+ type: string;
1140
+ label: string;
1141
+ description: string;
1142
+ faker?: never;
1143
+ isUnique?: never;
1144
+ prismaRelationFieldName?: never;
1145
+ seed?: never;
1146
+ } | {
1147
+ name: string;
1148
+ type: string;
1149
+ label: string;
1150
+ description: string;
1151
+ prismaRelationFieldName: string;
1152
+ faker?: never;
1153
+ isUnique?: never;
1154
+ seed?: never;
1155
+ } | {
1156
+ name: string;
1157
+ type: string;
1158
+ label: string;
1159
+ description: string;
1160
+ seed: boolean;
1161
+ faker?: never;
1162
+ isUnique?: never;
1163
+ prismaRelationFieldName?: never;
1164
+ })[];
1165
+ standardFields: string[];
1166
+ labelField: string;
1167
+ seed: ({
1168
+ id: string;
1169
+ title: string;
1170
+ code: string;
1171
+ description: string;
1172
+ hierarchyId: string;
1173
+ ownerId: string;
1174
+ responsibleId: string;
1175
+ startDate: string;
1176
+ endDate: string;
1177
+ isManagementAttentionNeeded: boolean;
1178
+ trafficLight: string;
1179
+ approvalStatus: string;
1180
+ targetSavings: number;
1181
+ targetDate: string;
1182
+ notes: string;
1183
+ } | {
1184
+ id: string;
1185
+ title: string;
1186
+ code: string;
1187
+ description: string;
1188
+ hierarchyId: string;
1189
+ ownerId: string;
1190
+ responsibleId: string;
1191
+ startDate: string;
1192
+ endDate: string;
1193
+ isManagementAttentionNeeded: boolean;
1194
+ trafficLight: string;
1195
+ approvalStatus: string;
1196
+ targetSavings: null;
1197
+ targetDate: string;
1198
+ notes: string;
1199
+ })[];
1200
+ } | {
1201
+ name: string;
1202
+ description: string;
1203
+ schema: string;
1204
+ fields: ({
1205
+ name: string;
1206
+ type: string;
1207
+ label: string;
1208
+ description: string;
1209
+ faker: string;
1210
+ prismaRelationFieldName?: never;
1211
+ } | {
1212
+ name: string;
1213
+ type: string;
1214
+ label: string;
1215
+ description: string;
1216
+ faker?: never;
1217
+ prismaRelationFieldName?: never;
1218
+ } | {
1219
+ name: string;
1220
+ type: string;
1221
+ label: string;
1222
+ description: string;
1223
+ prismaRelationFieldName: string;
1224
+ faker?: never;
1225
+ })[];
1226
+ standardFields: string[];
1227
+ labelField: string;
1228
+ seed: ({
1229
+ id: string;
1230
+ title: string;
1231
+ description: string;
1232
+ initiativeId: string;
1233
+ indicatorId: null;
1234
+ responsibleId: string;
1235
+ status: string;
1236
+ deadline: string;
1237
+ } | {
1238
+ id: string;
1239
+ title: string;
1240
+ description: string;
1241
+ initiativeId: string;
1242
+ indicatorId: string;
1243
+ responsibleId: string;
1244
+ status: string;
1245
+ deadline: string;
1246
+ })[];
1247
+ } | {
1248
+ name: string;
1249
+ description: string;
1250
+ schema: string;
1251
+ fields: {
1252
+ name: string;
1253
+ type: string;
1254
+ label: string;
1255
+ description: string;
1256
+ }[];
1257
+ standardFields: string[];
1258
+ labelField: string;
1259
+ seed: {
1260
+ id: string;
1261
+ name: string;
1262
+ unit: string;
1263
+ numberFormat: string;
1264
+ }[];
1265
+ } | {
1266
+ name: string;
1267
+ description: string;
1268
+ schema: string;
1269
+ fields: ({
1270
+ name: string;
1271
+ type: string;
1272
+ label: string;
1273
+ description: string;
1274
+ faker?: never;
1275
+ } | {
1276
+ name: string;
1277
+ type: string;
1278
+ label: string;
1279
+ description: string;
1280
+ faker: string;
1281
+ })[];
1282
+ standardFields: string[];
1283
+ labelField: string;
1284
+ seed: {
1285
+ id: string;
1286
+ name: string;
1287
+ startDate: string;
1288
+ endDate: string;
1289
+ }[];
1290
+ } | {
1291
+ name: string;
1292
+ description: string;
1293
+ schema: string;
1294
+ fields: {
1295
+ name: string;
1296
+ type: string;
1297
+ label: string;
1298
+ description: string;
1299
+ }[];
1300
+ standardFields: string[];
1301
+ seed: ({
1302
+ id: string;
1303
+ indicatorId: string;
1304
+ initiativeId: string;
1305
+ periodId: string;
1306
+ valueActual: number;
1307
+ valueForecast: null;
1308
+ valueBudget: number;
1309
+ } | {
1310
+ id: string;
1311
+ indicatorId: string;
1312
+ initiativeId: string;
1313
+ periodId: string;
1314
+ valueActual: null;
1315
+ valueForecast: null;
1316
+ valueBudget: number;
1317
+ })[];
1318
+ labelField?: never;
1319
+ })[];
1320
+ enums: {
1321
+ name: string;
1322
+ description: string;
1323
+ schema: string;
1324
+ members: {
1325
+ value: string;
1326
+ description: string;
1327
+ }[];
1328
+ }[];
1329
+ };
867
1330
  subex: {
868
1331
  name: string;
869
1332
  slug: string;
@@ -6,15 +6,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.sampleSchemas = void 0;
7
7
  const la_schema_json_1 = __importDefault(require("./la.schema.json"));
8
8
  const mca_schema_json_1 = __importDefault(require("./mca.schema.json"));
9
+ const portfolex_schema_json_1 = __importDefault(require("./portfolex.schema.json"));
9
10
  const ring_schema_json_1 = __importDefault(require("./ring.schema.json"));
10
11
  const simple_schema_json_1 = __importDefault(require("./simple.schema.json"));
12
+ const steerex_schema_json_1 = __importDefault(require("./steerex.schema.json"));
11
13
  const subex_schema_json_1 = __importDefault(require("./subex.schema.json"));
12
14
  const usp_msm_schema_json_1 = __importDefault(require("./usp-msm.schema.json"));
13
15
  exports.sampleSchemas = {
14
16
  la: la_schema_json_1.default,
15
17
  mca: mca_schema_json_1.default,
16
18
  ring: ring_schema_json_1.default,
19
+ portfolex: portfolex_schema_json_1.default,
17
20
  simple: simple_schema_json_1.default,
21
+ steerex: steerex_schema_json_1.default,
18
22
  subex: subex_schema_json_1.default,
19
23
  uspmsm: usp_msm_schema_json_1.default,
20
24
  };