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