@talkplay/shared-types 1.0.87 → 1.0.89

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 CHANGED
@@ -1321,7 +1321,10 @@ type ListProgramScriptsParams = {
1321
1321
  name?: string;
1322
1322
  weekDay?: WeekDayEnum;
1323
1323
  };
1324
- type ListProgramScriptsResponse = Pick<ProgramScriptEntity, "name" | "id" | "day" | "createdAt" | "updatedAt">;
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
@@ -1321,7 +1321,10 @@ type ListProgramScriptsParams = {
1321
1321
  name?: string;
1322
1322
  weekDay?: WeekDayEnum;
1323
1323
  };
1324
- type ListProgramScriptsResponse = Pick<ProgramScriptEntity, "name" | "id" | "day" | "createdAt" | "updatedAt">;
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",