@talkplay/shared-types 1.0.63 → 1.0.65

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
@@ -1236,16 +1236,14 @@ type ListProgramsParams = PaginationParams & {
1236
1236
  voicesIds?: string[];
1237
1237
  };
1238
1238
 
1239
- type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices"> & {
1239
+ type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices" | "weekSchedule"> & {
1240
1240
  voicesIds: string[];
1241
1241
  weekSchedule: CreateProgramSchedulePayload;
1242
1242
  }> & {
1243
1243
  draftId?: string;
1244
1244
  };
1245
1245
 
1246
- type UpdateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices"> & {
1247
- voicesIds: string[];
1248
- }>;
1246
+ type UpdateProgramPayload = Required<Omit<CreateProgramPayload, "weekSchedule">>;
1249
1247
 
1250
1248
  type CreateProgramSchedulePayload = {
1251
1249
  [WeekDayEnum.SUNDAY]: boolean;
package/dist/index.d.ts CHANGED
@@ -1236,16 +1236,14 @@ type ListProgramsParams = PaginationParams & {
1236
1236
  voicesIds?: string[];
1237
1237
  };
1238
1238
 
1239
- type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices"> & {
1239
+ type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices" | "weekSchedule"> & {
1240
1240
  voicesIds: string[];
1241
1241
  weekSchedule: CreateProgramSchedulePayload;
1242
1242
  }> & {
1243
1243
  draftId?: string;
1244
1244
  };
1245
1245
 
1246
- type UpdateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices"> & {
1247
- voicesIds: string[];
1248
- }>;
1246
+ type UpdateProgramPayload = Required<Omit<CreateProgramPayload, "weekSchedule">>;
1249
1247
 
1250
1248
  type CreateProgramSchedulePayload = {
1251
1249
  [WeekDayEnum.SUNDAY]: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.63",
3
+ "version": "1.0.65",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",