@talkplay/shared-types 1.0.88 → 1.0.90
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.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1314,14 +1314,17 @@ type CreateProgramScriptPayload = {
|
|
|
1314
1314
|
weekDay: WeekDayEnum;
|
|
1315
1315
|
blocks: UpsertProgramScriptBlockPayload[];
|
|
1316
1316
|
};
|
|
1317
|
-
type UpdateProgramScriptPayload = Omit<CreateProgramScriptPayload, "programId">;
|
|
1317
|
+
type UpdateProgramScriptPayload = Omit<CreateProgramScriptPayload, "programId" | "weekDay">;
|
|
1318
1318
|
|
|
1319
1319
|
type ListProgramScriptsParams = {
|
|
1320
1320
|
programId: string;
|
|
1321
1321
|
name?: string;
|
|
1322
1322
|
weekDay?: WeekDayEnum;
|
|
1323
1323
|
};
|
|
1324
|
-
type
|
|
1324
|
+
type ListItem = Pick<ProgramScriptEntity, "name" | "id" | "createdAt" | "updatedAt"> & {
|
|
1325
|
+
day: Pick<ProgramDayScheduleEntity, "weekDay" | "isActive">;
|
|
1326
|
+
};
|
|
1327
|
+
type ListProgramScriptsResponse = ListItem[];
|
|
1325
1328
|
|
|
1326
1329
|
type ListProgramsParams = PaginationParams & {
|
|
1327
1330
|
radioId?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1314,14 +1314,17 @@ type CreateProgramScriptPayload = {
|
|
|
1314
1314
|
weekDay: WeekDayEnum;
|
|
1315
1315
|
blocks: UpsertProgramScriptBlockPayload[];
|
|
1316
1316
|
};
|
|
1317
|
-
type UpdateProgramScriptPayload = Omit<CreateProgramScriptPayload, "programId">;
|
|
1317
|
+
type UpdateProgramScriptPayload = Omit<CreateProgramScriptPayload, "programId" | "weekDay">;
|
|
1318
1318
|
|
|
1319
1319
|
type ListProgramScriptsParams = {
|
|
1320
1320
|
programId: string;
|
|
1321
1321
|
name?: string;
|
|
1322
1322
|
weekDay?: WeekDayEnum;
|
|
1323
1323
|
};
|
|
1324
|
-
type
|
|
1324
|
+
type ListItem = Pick<ProgramScriptEntity, "name" | "id" | "createdAt" | "updatedAt"> & {
|
|
1325
|
+
day: Pick<ProgramDayScheduleEntity, "weekDay" | "isActive">;
|
|
1326
|
+
};
|
|
1327
|
+
type ListProgramScriptsResponse = ListItem[];
|
|
1325
1328
|
|
|
1326
1329
|
type ListProgramsParams = PaginationParams & {
|
|
1327
1330
|
radioId?: string;
|