@talkplay/shared-types 1.0.74 → 1.0.76
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 +4 -20
- package/dist/index.d.ts +4 -20
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -978,45 +978,29 @@ type S3FileEntity = BaseEntity & {
|
|
|
978
978
|
programId: string | null;
|
|
979
979
|
program?: ProgramEntity;
|
|
980
980
|
};
|
|
981
|
-
type RadioUserAvatarEntity = Omit<S3FileEntity, "radioId" | "casterId" | "programId"> & {
|
|
982
|
-
kind: "radioUser";
|
|
981
|
+
type RadioUserAvatarEntity = Omit<S3FileEntity, "radioId" | "casterId" | "programId" | "radio" | "caster" | "program"> & {
|
|
983
982
|
radioUserId: string;
|
|
984
983
|
radioId: null;
|
|
985
984
|
casterId: null;
|
|
986
985
|
programId: null;
|
|
987
|
-
radio: never;
|
|
988
|
-
caster: never;
|
|
989
|
-
program: never;
|
|
990
986
|
};
|
|
991
|
-
type CasterAvatarEntity = Omit<S3FileEntity, "radioId" | "radioUserId" | "programId"> & {
|
|
992
|
-
kind: "caster";
|
|
987
|
+
type CasterAvatarEntity = Omit<S3FileEntity, "radioId" | "radioUserId" | "programId" | "radio" | "radioUser" | "program"> & {
|
|
993
988
|
casterId: string;
|
|
994
989
|
radioId: null;
|
|
995
990
|
radioUserId: null;
|
|
996
991
|
programId: null;
|
|
997
|
-
user: never;
|
|
998
|
-
radio: never;
|
|
999
|
-
program: never;
|
|
1000
992
|
};
|
|
1001
|
-
type RadioLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "programId"> & {
|
|
1002
|
-
kind: "radioLogo";
|
|
993
|
+
type RadioLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "programId" | "caster" | "radioUser" | "program"> & {
|
|
1003
994
|
radioId: string;
|
|
1004
995
|
radioUserId: null;
|
|
1005
996
|
casterId: null;
|
|
1006
997
|
programId: null;
|
|
1007
|
-
radioUser: never;
|
|
1008
|
-
caster: never;
|
|
1009
|
-
program: never;
|
|
1010
998
|
};
|
|
1011
|
-
type ProgramLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "radioId"> & {
|
|
1012
|
-
kind: "programLogo";
|
|
999
|
+
type ProgramLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "radioId" | "caster" | "radioUser" | "radio"> & {
|
|
1013
1000
|
programId: string;
|
|
1014
1001
|
radioId: null;
|
|
1015
1002
|
radioUserId: null;
|
|
1016
1003
|
casterId: null;
|
|
1017
|
-
radioUser: never;
|
|
1018
|
-
radio: never;
|
|
1019
|
-
caster: never;
|
|
1020
1004
|
};
|
|
1021
1005
|
|
|
1022
1006
|
type LegalTermEntity = Pick<BaseEntity, "id" | "createdAt"> & {
|
package/dist/index.d.ts
CHANGED
|
@@ -978,45 +978,29 @@ type S3FileEntity = BaseEntity & {
|
|
|
978
978
|
programId: string | null;
|
|
979
979
|
program?: ProgramEntity;
|
|
980
980
|
};
|
|
981
|
-
type RadioUserAvatarEntity = Omit<S3FileEntity, "radioId" | "casterId" | "programId"> & {
|
|
982
|
-
kind: "radioUser";
|
|
981
|
+
type RadioUserAvatarEntity = Omit<S3FileEntity, "radioId" | "casterId" | "programId" | "radio" | "caster" | "program"> & {
|
|
983
982
|
radioUserId: string;
|
|
984
983
|
radioId: null;
|
|
985
984
|
casterId: null;
|
|
986
985
|
programId: null;
|
|
987
|
-
radio: never;
|
|
988
|
-
caster: never;
|
|
989
|
-
program: never;
|
|
990
986
|
};
|
|
991
|
-
type CasterAvatarEntity = Omit<S3FileEntity, "radioId" | "radioUserId" | "programId"> & {
|
|
992
|
-
kind: "caster";
|
|
987
|
+
type CasterAvatarEntity = Omit<S3FileEntity, "radioId" | "radioUserId" | "programId" | "radio" | "radioUser" | "program"> & {
|
|
993
988
|
casterId: string;
|
|
994
989
|
radioId: null;
|
|
995
990
|
radioUserId: null;
|
|
996
991
|
programId: null;
|
|
997
|
-
user: never;
|
|
998
|
-
radio: never;
|
|
999
|
-
program: never;
|
|
1000
992
|
};
|
|
1001
|
-
type RadioLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "programId"> & {
|
|
1002
|
-
kind: "radioLogo";
|
|
993
|
+
type RadioLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "programId" | "caster" | "radioUser" | "program"> & {
|
|
1003
994
|
radioId: string;
|
|
1004
995
|
radioUserId: null;
|
|
1005
996
|
casterId: null;
|
|
1006
997
|
programId: null;
|
|
1007
|
-
radioUser: never;
|
|
1008
|
-
caster: never;
|
|
1009
|
-
program: never;
|
|
1010
998
|
};
|
|
1011
|
-
type ProgramLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "radioId"> & {
|
|
1012
|
-
kind: "programLogo";
|
|
999
|
+
type ProgramLogoEntity = Omit<S3FileEntity, "casterId" | "radioUserId" | "radioId" | "caster" | "radioUser" | "radio"> & {
|
|
1013
1000
|
programId: string;
|
|
1014
1001
|
radioId: null;
|
|
1015
1002
|
radioUserId: null;
|
|
1016
1003
|
casterId: null;
|
|
1017
|
-
radioUser: never;
|
|
1018
|
-
radio: never;
|
|
1019
|
-
caster: never;
|
|
1020
1004
|
};
|
|
1021
1005
|
|
|
1022
1006
|
type LegalTermEntity = Pick<BaseEntity, "id" | "createdAt"> & {
|