@talkplay/shared-types 1.0.73 → 1.0.74

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
@@ -931,7 +931,7 @@ type CasterEntity = BaseEntity & {
931
931
  name: string;
932
932
  bio: string;
933
933
  email: string;
934
- password: string;
934
+ password?: string;
935
935
  voiceGender: VoiceGenderEnum;
936
936
  segments: ProgramSegmentEnum[];
937
937
  communicationTones: CommunicationToneEnum[];
@@ -948,7 +948,7 @@ type CasterEntity = BaseEntity & {
948
948
  type RadioUserEntity = BaseEntity & {
949
949
  name: string;
950
950
  email: string;
951
- password: string;
951
+ password?: string;
952
952
  birthDate: string;
953
953
  role: UserRolesEnum;
954
954
  avatarImgId: string | null;
@@ -960,7 +960,7 @@ type RadioUserEntity = BaseEntity & {
960
960
  type SystemUserEntity = BaseEntity & {
961
961
  name: string;
962
962
  email: string;
963
- password: string;
963
+ password?: string;
964
964
  role: UserRolesEnum;
965
965
  };
966
966
 
@@ -972,7 +972,7 @@ type S3FileEntity = BaseEntity & {
972
972
  radioId: string | null;
973
973
  radio?: RadioEntity;
974
974
  radioUserId: string | null;
975
- radioUser: RadioUserEntity;
975
+ radioUser?: RadioUserEntity;
976
976
  casterId: string | null;
977
977
  caster?: CasterEntity;
978
978
  programId: string | null;
package/dist/index.d.ts CHANGED
@@ -931,7 +931,7 @@ type CasterEntity = BaseEntity & {
931
931
  name: string;
932
932
  bio: string;
933
933
  email: string;
934
- password: string;
934
+ password?: string;
935
935
  voiceGender: VoiceGenderEnum;
936
936
  segments: ProgramSegmentEnum[];
937
937
  communicationTones: CommunicationToneEnum[];
@@ -948,7 +948,7 @@ type CasterEntity = BaseEntity & {
948
948
  type RadioUserEntity = BaseEntity & {
949
949
  name: string;
950
950
  email: string;
951
- password: string;
951
+ password?: string;
952
952
  birthDate: string;
953
953
  role: UserRolesEnum;
954
954
  avatarImgId: string | null;
@@ -960,7 +960,7 @@ type RadioUserEntity = BaseEntity & {
960
960
  type SystemUserEntity = BaseEntity & {
961
961
  name: string;
962
962
  email: string;
963
- password: string;
963
+ password?: string;
964
964
  role: UserRolesEnum;
965
965
  };
966
966
 
@@ -972,7 +972,7 @@ type S3FileEntity = BaseEntity & {
972
972
  radioId: string | null;
973
973
  radio?: RadioEntity;
974
974
  radioUserId: string | null;
975
- radioUser: RadioUserEntity;
975
+ radioUser?: RadioUserEntity;
976
976
  casterId: string | null;
977
977
  caster?: CasterEntity;
978
978
  programId: string | null;
package/dist/index.js CHANGED
@@ -856,7 +856,7 @@ var TKPLAY_ERRORS_MAP = {
856
856
  LEAD_RADIO_ALREADY_EXISTIS: "A radio with this lead infos alkready exists",
857
857
  LEAD_NOT_FOUND: "Lead not found",
858
858
  // Caster Errors
859
- CASTER_VOICE_CLONING_ERROR: (provider) => `Erro cloning caster voice at "${provider}"`,
859
+ CASTER_VOICE_CLONING_ERROR: (provider) => `Error while cloning caster voice at "${provider}"`,
860
860
  CASTER_EMAIL_IS_TAKEN: "Caster email is taken",
861
861
  CASTER_NOT_FOUND: "Caster not found",
862
862
  CASTER_IMAGE_IS_REQUIRED: "Caster avatar image is required",
package/dist/index.mjs CHANGED
@@ -761,7 +761,7 @@ var TKPLAY_ERRORS_MAP = {
761
761
  LEAD_RADIO_ALREADY_EXISTIS: "A radio with this lead infos alkready exists",
762
762
  LEAD_NOT_FOUND: "Lead not found",
763
763
  // Caster Errors
764
- CASTER_VOICE_CLONING_ERROR: (provider) => `Erro cloning caster voice at "${provider}"`,
764
+ CASTER_VOICE_CLONING_ERROR: (provider) => `Error while cloning caster voice at "${provider}"`,
765
765
  CASTER_EMAIL_IS_TAKEN: "Caster email is taken",
766
766
  CASTER_NOT_FOUND: "Caster not found",
767
767
  CASTER_IMAGE_IS_REQUIRED: "Caster avatar image is required",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.73",
3
+ "version": "1.0.74",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",