@talkplay/shared-types 1.0.92 → 1.0.94

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
@@ -814,7 +814,7 @@ type TkplayErrorEntity = {
814
814
  type ProgramScriptEntity = BaseEntity & {
815
815
  name: string | null;
816
816
  programId: string;
817
- program: ProgramEntity;
817
+ program?: ProgramEntity;
818
818
  programDayScheduleId: string;
819
819
  day: ProgramDayScheduleEntity;
820
820
  blocks: ProgramScriptBlockEntity[];
@@ -1332,14 +1332,14 @@ type ListProgramsParams = PaginationParams & {
1332
1332
  voicesIds?: string[];
1333
1333
  };
1334
1334
 
1335
- type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices" | "weekSchedule"> & {
1335
+ type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices" | "weekSchedule" | "scripts"> & {
1336
1336
  voicesIds: string[];
1337
1337
  weekSchedule: CreateProgramSchedulePayload;
1338
1338
  }> & {
1339
1339
  draftId?: string;
1340
1340
  };
1341
1341
 
1342
- type UpdateProgramProfilePayload = Required<Omit<CreateProgramPayload, "weekSchedule" | "draftId" | "voicesIds" | "radioId">>;
1342
+ type UpdateProgramProfilePayload = Required<Omit<CreateProgramPayload, "weekSchedule" | "draftId" | "voicesIds" | "radioId" | "scripts">>;
1343
1343
 
1344
1344
  type UpdateProgramVoicesPayload = {
1345
1345
  voicesIds: string[];
package/dist/index.d.ts CHANGED
@@ -814,7 +814,7 @@ type TkplayErrorEntity = {
814
814
  type ProgramScriptEntity = BaseEntity & {
815
815
  name: string | null;
816
816
  programId: string;
817
- program: ProgramEntity;
817
+ program?: ProgramEntity;
818
818
  programDayScheduleId: string;
819
819
  day: ProgramDayScheduleEntity;
820
820
  blocks: ProgramScriptBlockEntity[];
@@ -1332,14 +1332,14 @@ type ListProgramsParams = PaginationParams & {
1332
1332
  voicesIds?: string[];
1333
1333
  };
1334
1334
 
1335
- type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices" | "weekSchedule"> & {
1335
+ type CreateProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "voices" | "weekSchedule" | "scripts"> & {
1336
1336
  voicesIds: string[];
1337
1337
  weekSchedule: CreateProgramSchedulePayload;
1338
1338
  }> & {
1339
1339
  draftId?: string;
1340
1340
  };
1341
1341
 
1342
- type UpdateProgramProfilePayload = Required<Omit<CreateProgramPayload, "weekSchedule" | "draftId" | "voicesIds" | "radioId">>;
1342
+ type UpdateProgramProfilePayload = Required<Omit<CreateProgramPayload, "weekSchedule" | "draftId" | "voicesIds" | "radioId" | "scripts">>;
1343
1343
 
1344
1344
  type UpdateProgramVoicesPayload = {
1345
1345
  voicesIds: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.92",
3
+ "version": "1.0.94",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",