@sunsteel/contracts 0.38.0 → 0.39.0
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/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1196,6 +1196,12 @@ interface Routine {
|
|
|
1196
1196
|
* never one of its training weekdays; always empty on a ROTATION routine.
|
|
1197
1197
|
*/
|
|
1198
1198
|
restDays: number[];
|
|
1199
|
+
/**
|
|
1200
|
+
* SCHED-06: weekdays (0=Sun..6=Sat) a ROTATION routine trains on, sorted; the
|
|
1201
|
+
* schedule places its days on them in order. Empty means any day, without
|
|
1202
|
+
* dates; always empty on a WEEKLY routine.
|
|
1203
|
+
*/
|
|
1204
|
+
rotationWeekdays: number[];
|
|
1199
1205
|
days: RoutineDay[];
|
|
1200
1206
|
createdAt: IsoDateString;
|
|
1201
1207
|
updatedAt: IsoDateString;
|
|
@@ -1211,6 +1217,11 @@ interface CreateRoutineRequest {
|
|
|
1211
1217
|
* any that became training weekdays.
|
|
1212
1218
|
*/
|
|
1213
1219
|
restDays?: number[];
|
|
1220
|
+
/**
|
|
1221
|
+
* Rotation routines only. Omitted on update keeps the stored weekdays;
|
|
1222
|
+
* switching to WEEKLY clears them.
|
|
1223
|
+
*/
|
|
1224
|
+
rotationWeekdays?: number[];
|
|
1214
1225
|
days: CreateRoutineDayInput[];
|
|
1215
1226
|
}
|
|
1216
1227
|
type UpdateRoutineRequest = Partial<CreateRoutineRequest>;
|
|
@@ -1248,6 +1259,8 @@ interface RoutineVersionSetup {
|
|
|
1248
1259
|
description: string | null;
|
|
1249
1260
|
scheduleMode: RoutineScheduleMode;
|
|
1250
1261
|
restDays: number[];
|
|
1262
|
+
/** SCHED-06; absent in versions saved before it, which means none. */
|
|
1263
|
+
rotationWeekdays?: number[];
|
|
1251
1264
|
days: RoutineVersionDay[];
|
|
1252
1265
|
}
|
|
1253
1266
|
interface RoutineVersion {
|
package/dist/index.d.ts
CHANGED
|
@@ -1196,6 +1196,12 @@ interface Routine {
|
|
|
1196
1196
|
* never one of its training weekdays; always empty on a ROTATION routine.
|
|
1197
1197
|
*/
|
|
1198
1198
|
restDays: number[];
|
|
1199
|
+
/**
|
|
1200
|
+
* SCHED-06: weekdays (0=Sun..6=Sat) a ROTATION routine trains on, sorted; the
|
|
1201
|
+
* schedule places its days on them in order. Empty means any day, without
|
|
1202
|
+
* dates; always empty on a WEEKLY routine.
|
|
1203
|
+
*/
|
|
1204
|
+
rotationWeekdays: number[];
|
|
1199
1205
|
days: RoutineDay[];
|
|
1200
1206
|
createdAt: IsoDateString;
|
|
1201
1207
|
updatedAt: IsoDateString;
|
|
@@ -1211,6 +1217,11 @@ interface CreateRoutineRequest {
|
|
|
1211
1217
|
* any that became training weekdays.
|
|
1212
1218
|
*/
|
|
1213
1219
|
restDays?: number[];
|
|
1220
|
+
/**
|
|
1221
|
+
* Rotation routines only. Omitted on update keeps the stored weekdays;
|
|
1222
|
+
* switching to WEEKLY clears them.
|
|
1223
|
+
*/
|
|
1224
|
+
rotationWeekdays?: number[];
|
|
1214
1225
|
days: CreateRoutineDayInput[];
|
|
1215
1226
|
}
|
|
1216
1227
|
type UpdateRoutineRequest = Partial<CreateRoutineRequest>;
|
|
@@ -1248,6 +1259,8 @@ interface RoutineVersionSetup {
|
|
|
1248
1259
|
description: string | null;
|
|
1249
1260
|
scheduleMode: RoutineScheduleMode;
|
|
1250
1261
|
restDays: number[];
|
|
1262
|
+
/** SCHED-06; absent in versions saved before it, which means none. */
|
|
1263
|
+
rotationWeekdays?: number[];
|
|
1251
1264
|
days: RoutineVersionDay[];
|
|
1252
1265
|
}
|
|
1253
1266
|
interface RoutineVersion {
|