@talkplay/shared-types 1.0.11 → 1.0.12
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 +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +13 -8
- package/dist/index.mjs +9 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -769,9 +769,11 @@ type EpisodeErrorEvt = {};
|
|
|
769
769
|
type EpisodeProgressEvt = {};
|
|
770
770
|
|
|
771
771
|
type TkplayMappedErrors = Record<`${TkplayErrorCodesEnum}`, string | ((args: any) => string)>;
|
|
772
|
-
declare const
|
|
772
|
+
declare const TKPLAY_ERRORS_MAP: TkplayMappedErrors;
|
|
773
773
|
|
|
774
774
|
type TkplayMappedErrors__Ptbr = Record<`${TkplayErrorCodesEnum}`, string>;
|
|
775
|
-
declare const
|
|
775
|
+
declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
776
776
|
|
|
777
|
-
|
|
777
|
+
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
778
|
+
|
|
779
|
+
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListCouponsParams, type ListCouponsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VignetteProgramScriptElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -769,9 +769,11 @@ type EpisodeErrorEvt = {};
|
|
|
769
769
|
type EpisodeProgressEvt = {};
|
|
770
770
|
|
|
771
771
|
type TkplayMappedErrors = Record<`${TkplayErrorCodesEnum}`, string | ((args: any) => string)>;
|
|
772
|
-
declare const
|
|
772
|
+
declare const TKPLAY_ERRORS_MAP: TkplayMappedErrors;
|
|
773
773
|
|
|
774
774
|
type TkplayMappedErrors__Ptbr = Record<`${TkplayErrorCodesEnum}`, string>;
|
|
775
|
-
declare const
|
|
775
|
+
declare const TKPLAY_ERRORS__PTBR: TkplayMappedErrors__Ptbr;
|
|
776
776
|
|
|
777
|
-
|
|
777
|
+
declare const TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
778
|
+
|
|
779
|
+
export { type AddressEntity, AudioBitratesEnum, AudioFormatsEnum, AudioFrequenciesEnum, type BaseEntity, BrStatesEnum, type CasterAvatarEntity, type CasterEntity, type ChargeEntity, ChargeItemTypesEnum, ChargeStatusEnum, type CouponActivationEntity, type CouponEntity, CouponTypesEnum, CouponTypesTranslationsEnum, type CreateCouponPayload, type CreateCouponResponse, type CreateLegalTermAgreementPayload, type CreateLegalTermPayload, type CreateLegalTermResponse, type CreateRadioPayload, type CreateRadioUserPayload, type CreateRadioUserResponse, type CreateSystemUserPayload, type Enum, EpGenerationQualityEnum, EpGenerationTypesEnum, type EpisodeCreatedEvt, type EpisodeErrorEvt, type EpisodeProgressEvt, FFmpegAudioCurveEnum, type GenerateEpJobPayload, type GenerateEpisodePayload, type GenerateEpisodeResponse, type GetCouponByIdResponse, type GetCouponValidationResponse, type GetPenaltyValueResponse, type GetRadioDetailsResponse, JobsEnum, type LegalTermEntity, LegalTermTypesEnum, LegalTermTypesTranslationsEnum, type ListChargesParams, type ListCouponsParams, type ListCouponsResponse, type ListLegalTermsParams, type ListLegalTermsResponse, type ListRadioUsersParams, type ListRadioUsersResponse, type ListRadiosParams, type ListRadiosResponse, type ListSystemModulesResponse, type ListSystemUsersParams, type ListSystemUsersResponse, type LoginPayload, type LoginResponse, type MusicProgramScriptElement, NewsCategoriesEnum, type NewsProgramScriptElement, type NewsProgramScriptElementOptions, type OffProgramScriptElement, type PaginatedResponseDTO, type Pagination, type PaginationParams, type PlanEntity, type PopulatedProgramScriptBlock, type PopulatedProgramScriptElement, type PopulatedProgramScriptEntity, type ProgramEntity, type ProgramEpisodeBlockEntity, type ProgramEpisodeEntity, type ProgramScriptElement, type ProgramScriptElementOptionsAll, ProgramScriptElementTypesEnum, type ProgramScriptEntity, RadioBandsEnum, type RadioContractEntity, type RadioEntity, type RadioLegalAgreementEntity, type RadioLogoEntity, type RadioSubscriptionEntity, RadioSubscriptionStatusEnum, type RadioUserAvatarEntity, type RadioUserEntity, S3DirectoriesEnum, type S3FileEntity, type ScriptBlock, type SessionEntity, SessionTypesEnum, type SessionUser, type SoundtrackProgramScriptElementOptions, type SystemModuleEntity, type SystemUserEntity, TKPLAY_ERRORS_MAP, TKPLAY_ERRORS__PTBR, TKPLAY_ERROR_MESSAGE_SPLITTER, TkplayErrorCodesEnum, type TkplayErrorEntity, TkplayErrorNamesEnum, type TkplayMappedErrors, type TkplayMappedErrors__Ptbr, type UpdateCouponPayload, type UpdateCouponResponse, type UpdateRadioUserPasswordPayload, type UpdateRadioUserProfilePayload, type UpdateRadioUserResponse, type UpdateRadioUserRolePayload, type UpdateSystemUserPaswordPayload, type UpdateSystemUserPayload, type UpdateSystemUserResponse, type UpsertPlanPayload, type UpsertPlanResponse, type UpsertSystemModulePayload, type UpsertSystemModuleResponse, type UpsertSystemUserResponse, type UserLegalAgreementEntity, UserRolesEnum, UserRolesTranslationsEnum, type VignetteProgramScriptElement };
|
package/dist/index.js
CHANGED
|
@@ -40,12 +40,13 @@ __export(index_exports, {
|
|
|
40
40
|
RadioSubscriptionStatusEnum: () => RadioSubscriptionStatusEnum,
|
|
41
41
|
S3DirectoriesEnum: () => S3DirectoriesEnum,
|
|
42
42
|
SessionTypesEnum: () => SessionTypesEnum,
|
|
43
|
+
TKPLAY_ERRORS_MAP: () => TKPLAY_ERRORS_MAP,
|
|
44
|
+
TKPLAY_ERRORS__PTBR: () => TKPLAY_ERRORS__PTBR,
|
|
45
|
+
TKPLAY_ERROR_MESSAGE_SPLITTER: () => TKPLAY_ERROR_MESSAGE_SPLITTER,
|
|
43
46
|
TkplayErrorCodesEnum: () => TkplayErrorCodesEnum,
|
|
44
47
|
TkplayErrorNamesEnum: () => TkplayErrorNamesEnum,
|
|
45
48
|
UserRolesEnum: () => UserRolesEnum,
|
|
46
|
-
UserRolesTranslationsEnum: () => UserRolesTranslationsEnum
|
|
47
|
-
tkplayErrorsMap: () => tkplayErrorsMap,
|
|
48
|
-
tkplayErrrosPtbr: () => tkplayErrrosPtbr
|
|
49
|
+
UserRolesTranslationsEnum: () => UserRolesTranslationsEnum
|
|
49
50
|
});
|
|
50
51
|
module.exports = __toCommonJS(index_exports);
|
|
51
52
|
|
|
@@ -302,7 +303,7 @@ var UserRolesTranslationsEnum = {
|
|
|
302
303
|
};
|
|
303
304
|
|
|
304
305
|
// src/constants/tkplay-errors-map.ts
|
|
305
|
-
var
|
|
306
|
+
var TKPLAY_ERRORS_MAP = {
|
|
306
307
|
// System Errors
|
|
307
308
|
MODULE_NAME_IS_TAKEN: "Module name already in use",
|
|
308
309
|
MODULE_NOT_FOUND: (moduleId) => `Module not found (id: ${moduleId})`,
|
|
@@ -345,7 +346,7 @@ var tkplayErrorsMap = {
|
|
|
345
346
|
};
|
|
346
347
|
|
|
347
348
|
// src/constants/tkplay-errors-ptbr.ts
|
|
348
|
-
var
|
|
349
|
+
var TKPLAY_ERRORS__PTBR = {
|
|
349
350
|
// System Errors
|
|
350
351
|
MODULE_NAME_IS_TAKEN: "Nome do m\xF3dulo j\xE1 est\xE1 em uso",
|
|
351
352
|
MODULE_NOT_FOUND: "M\xF3dulo n\xE3o encontrado",
|
|
@@ -386,6 +387,9 @@ var tkplayErrrosPtbr = {
|
|
|
386
387
|
USER_PASSWORDS_DONT_MATCH: "As senhas informadas n\xE3o coincidem",
|
|
387
388
|
UNABLE_TO_DELETE_USER: "Usu\xE1rios administradores n\xE3o podem ser removidos"
|
|
388
389
|
};
|
|
390
|
+
|
|
391
|
+
// src/constants/tkplay-error-message-splitter.ts
|
|
392
|
+
var TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
389
393
|
// Annotate the CommonJS export names for ESM import in node:
|
|
390
394
|
0 && (module.exports = {
|
|
391
395
|
AudioBitratesEnum,
|
|
@@ -408,10 +412,11 @@ var tkplayErrrosPtbr = {
|
|
|
408
412
|
RadioSubscriptionStatusEnum,
|
|
409
413
|
S3DirectoriesEnum,
|
|
410
414
|
SessionTypesEnum,
|
|
415
|
+
TKPLAY_ERRORS_MAP,
|
|
416
|
+
TKPLAY_ERRORS__PTBR,
|
|
417
|
+
TKPLAY_ERROR_MESSAGE_SPLITTER,
|
|
411
418
|
TkplayErrorCodesEnum,
|
|
412
419
|
TkplayErrorNamesEnum,
|
|
413
420
|
UserRolesEnum,
|
|
414
|
-
UserRolesTranslationsEnum
|
|
415
|
-
tkplayErrorsMap,
|
|
416
|
-
tkplayErrrosPtbr
|
|
421
|
+
UserRolesTranslationsEnum
|
|
417
422
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -251,7 +251,7 @@ var UserRolesTranslationsEnum = {
|
|
|
251
251
|
};
|
|
252
252
|
|
|
253
253
|
// src/constants/tkplay-errors-map.ts
|
|
254
|
-
var
|
|
254
|
+
var TKPLAY_ERRORS_MAP = {
|
|
255
255
|
// System Errors
|
|
256
256
|
MODULE_NAME_IS_TAKEN: "Module name already in use",
|
|
257
257
|
MODULE_NOT_FOUND: (moduleId) => `Module not found (id: ${moduleId})`,
|
|
@@ -294,7 +294,7 @@ var tkplayErrorsMap = {
|
|
|
294
294
|
};
|
|
295
295
|
|
|
296
296
|
// src/constants/tkplay-errors-ptbr.ts
|
|
297
|
-
var
|
|
297
|
+
var TKPLAY_ERRORS__PTBR = {
|
|
298
298
|
// System Errors
|
|
299
299
|
MODULE_NAME_IS_TAKEN: "Nome do m\xF3dulo j\xE1 est\xE1 em uso",
|
|
300
300
|
MODULE_NOT_FOUND: "M\xF3dulo n\xE3o encontrado",
|
|
@@ -335,6 +335,9 @@ var tkplayErrrosPtbr = {
|
|
|
335
335
|
USER_PASSWORDS_DONT_MATCH: "As senhas informadas n\xE3o coincidem",
|
|
336
336
|
UNABLE_TO_DELETE_USER: "Usu\xE1rios administradores n\xE3o podem ser removidos"
|
|
337
337
|
};
|
|
338
|
+
|
|
339
|
+
// src/constants/tkplay-error-message-splitter.ts
|
|
340
|
+
var TKPLAY_ERROR_MESSAGE_SPLITTER = "::";
|
|
338
341
|
export {
|
|
339
342
|
AudioBitratesEnum,
|
|
340
343
|
AudioFormatsEnum,
|
|
@@ -356,10 +359,11 @@ export {
|
|
|
356
359
|
RadioSubscriptionStatusEnum,
|
|
357
360
|
S3DirectoriesEnum,
|
|
358
361
|
SessionTypesEnum,
|
|
362
|
+
TKPLAY_ERRORS_MAP,
|
|
363
|
+
TKPLAY_ERRORS__PTBR,
|
|
364
|
+
TKPLAY_ERROR_MESSAGE_SPLITTER,
|
|
359
365
|
TkplayErrorCodesEnum,
|
|
360
366
|
TkplayErrorNamesEnum,
|
|
361
367
|
UserRolesEnum,
|
|
362
|
-
UserRolesTranslationsEnum
|
|
363
|
-
tkplayErrorsMap,
|
|
364
|
-
tkplayErrrosPtbr
|
|
368
|
+
UserRolesTranslationsEnum
|
|
365
369
|
};
|