@postxl/schema 1.3.0 → 1.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.
@@ -56,7 +56,8 @@
56
56
  { "name": "target", "excelName": "target", "type": "String", "label": "Target" },
57
57
  { "name": "isotope", "excelName": "isotope", "type": "String", "label": "Isotope" },
58
58
  { "name": "txDx", "excelName": "txDx", "type": "String", "label": "TxDx" },
59
- { "name": "indicationId", "excelName": "indication", "type": "Indication", "label": "Indication" }
59
+ { "name": "indicationId", "excelName": "indication", "type": "Indication", "label": "Indication" },
60
+ { "name": "color", "excelName": "color", "type": "String?", "label": "Color" }
60
61
  ],
61
62
  "standardFields": [],
62
63
  "seed": [
@@ -257,7 +258,8 @@
257
258
  { "name": "fteRegulatory", "excelName": "fteRegulatory", "type": "Float?", "label": "FTE Regulatory" },
258
259
  { "name": "fteCmc", "excelName": "fteCmc", "type": "Float?", "label": "FTE CMC" },
259
260
  { "name": "isEvent", "excelName": "isEvent", "type": "Boolean", "label": "Is Event?" },
260
- { "name": "successorMask", "excelName": "successorMask", "type": "Int", "label": "Successor Mask" }
261
+ { "name": "successorMask", "excelName": "successorMask", "type": "Int", "label": "Successor Mask" },
262
+ { "name": "color", "excelName": "color", "type": "String?", "label": "Color" }
261
263
  ],
262
264
  "standardFields": [],
263
265
  "seed": [
@@ -288,7 +290,8 @@
288
290
  "schema": "Data",
289
291
  "fields": [
290
292
  { "name": "id", "excelName": "indication", "type": "String", "label": "Indication" },
291
- { "name": "abbreviation", "excelName": "abbreviation", "type": "String", "label": "Abbreviation" }
293
+ { "name": "abbreviation", "excelName": "abbreviation", "type": "String", "label": "Abbreviation" },
294
+ { "name": "color", "excelName": "color", "type": "String?", "label": "Color" }
292
295
  ],
293
296
  "standardFields": [],
294
297
  "seed": [
@@ -1056,27 +1056,22 @@ export declare const sampleSchemas: {
1056
1056
  type: string;
1057
1057
  label: string;
1058
1058
  description: string;
1059
- isUnique?: never;
1059
+ isUnique: boolean;
1060
1060
  } | {
1061
1061
  name: string;
1062
1062
  type: string;
1063
1063
  label: string;
1064
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;
1065
+ isUnique?: never;
1074
1066
  } | {
1075
- id: string;
1076
1067
  name: string;
1077
- code: string;
1078
- parentId: string;
1068
+ type: string;
1069
+ label: string;
1070
+ description?: never;
1071
+ isUnique?: never;
1079
1072
  })[];
1073
+ standardFields?: never;
1074
+ labelField?: never;
1080
1075
  } | {
1081
1076
  name: string;
1082
1077
  description: string;
@@ -1084,119 +1079,50 @@ export declare const sampleSchemas: {
1084
1079
  fields: ({
1085
1080
  name: string;
1086
1081
  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;
1082
+ label?: never;
1083
+ commonFields?: never;
1084
+ members?: never;
1098
1085
  } | {
1099
1086
  name: string;
1100
1087
  type: string;
1101
1088
  label: string;
1102
- description: string;
1103
- isUnique: boolean;
1104
- faker: string;
1089
+ commonFields: never[];
1090
+ members: {
1091
+ type: string;
1092
+ label: string;
1093
+ fields: {
1094
+ name: string;
1095
+ type: string;
1096
+ }[];
1097
+ }[];
1105
1098
  })[];
1106
- standardFields: string[];
1107
- labelField: string;
1108
- seed: {
1109
- id: string;
1110
- name: string;
1111
- email: string;
1112
- role: string;
1113
- hierarchyId: string;
1114
- }[];
1099
+ standardFields?: never;
1100
+ labelField?: never;
1115
1101
  } | {
1116
1102
  name: string;
1117
1103
  description: string;
1118
1104
  schema: string;
1119
- fields: ({
1105
+ standardFields: string[];
1106
+ fields: {
1120
1107
  name: string;
1121
1108
  type: string;
1122
1109
  label: string;
1123
1110
  description: string;
1124
- faker: string;
1125
- isUnique?: never;
1126
- prismaRelationFieldName?: never;
1127
- seed?: never;
1128
- } | {
1111
+ }[];
1112
+ labelField?: never;
1113
+ } | {
1114
+ name: string;
1115
+ description: string;
1116
+ schema: string;
1117
+ fields: {
1129
1118
  name: string;
1130
1119
  type: string;
1131
1120
  label: string;
1132
1121
  description: string;
1133
1122
  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
- })[];
1123
+ }[];
1165
1124
  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
- })[];
1125
+ labelField?: never;
1200
1126
  } | {
1201
1127
  name: string;
1202
1128
  description: string;
@@ -1206,62 +1132,32 @@ export declare const sampleSchemas: {
1206
1132
  type: string;
1207
1133
  label: string;
1208
1134
  description: string;
1209
- faker: string;
1210
1135
  prismaRelationFieldName?: never;
1136
+ excelName?: never;
1211
1137
  } | {
1212
1138
  name: string;
1213
1139
  type: string;
1214
1140
  label: string;
1141
+ prismaRelationFieldName: string;
1215
1142
  description: string;
1216
- faker?: never;
1217
- prismaRelationFieldName?: never;
1143
+ excelName?: never;
1218
1144
  } | {
1219
1145
  name: string;
1220
1146
  type: string;
1221
1147
  label: string;
1148
+ excelName: string;
1222
1149
  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;
1150
+ prismaRelationFieldName?: never;
1237
1151
  } | {
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
1152
  name: string;
1253
1153
  type: string;
1254
1154
  label: string;
1155
+ excelName: string;
1156
+ prismaRelationFieldName: string;
1255
1157
  description: string;
1256
- }[];
1257
- standardFields: string[];
1258
- labelField: string;
1259
- seed: {
1260
- id: string;
1261
- name: string;
1262
- unit: string;
1263
- numberFormat: string;
1264
- }[];
1158
+ })[];
1159
+ standardFields?: never;
1160
+ labelField?: never;
1265
1161
  } | {
1266
1162
  name: string;
1267
1163
  description: string;
@@ -1271,51 +1167,16 @@ export declare const sampleSchemas: {
1271
1167
  type: string;
1272
1168
  label: string;
1273
1169
  description: string;
1274
- faker?: never;
1170
+ isUnique?: never;
1275
1171
  } | {
1276
1172
  name: string;
1277
1173
  type: string;
1278
1174
  label: string;
1279
1175
  description: string;
1280
- faker: string;
1176
+ isUnique: boolean;
1281
1177
  })[];
1282
1178
  standardFields: string[];
1283
1179
  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
1180
  })[];
1320
1181
  enums: {
1321
1182
  name: string;