index.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. export interface WxOptionLongDto {
  2. label?: string | undefined
  3. value: number
  4. }
  5. export interface WxOptionLongExtraDto {
  6. label?: string | undefined
  7. value: number
  8. extra?: string | undefined
  9. }
  10. export interface WxOptionStringDto {
  11. label?: string | undefined
  12. value?: string | undefined
  13. }
  14. export interface WxOptionStringExtraDto {
  15. label?: string | undefined
  16. value?: string | undefined
  17. extra: number
  18. }
  19. export interface WxOptionStringRelationDto {
  20. label?: string | undefined
  21. value?: string | undefined
  22. parent?: string | undefined
  23. mode?: number | undefined
  24. }
  25. export interface WxAlbumCategoryItemDto {
  26. name?: string | undefined
  27. imageUrl?: string | undefined
  28. gid?: string | undefined
  29. has3D: boolean
  30. tc: AlbumCategoryType
  31. }
  32. export enum AlbumCategoryType {
  33. 分类 = 1,
  34. 相册 = 2,
  35. }
  36. export interface EntityDtoOfLong {
  37. id: number
  38. }
  39. /** 的编辑DTO Carousel */
  40. export interface WxCarouselListItemDto extends EntityDtoOfLong {
  41. /** ImageUrl */
  42. imageUrl?: string | undefined
  43. /** TextMainUrl */
  44. textMainUrl?: string | undefined
  45. /** TextSubUrl */
  46. textSubUrl?: string | undefined
  47. /** Link */
  48. link?: string | undefined
  49. }
  50. /** 的编辑DTO Carousel */
  51. export interface WxDisplayListItemDto extends EntityDtoOfLong {
  52. /** ImageUrl */
  53. imageUrl?: string | undefined
  54. /** TextMainUrl */
  55. tags?: string[] | undefined
  56. /** Link */
  57. title?: string | undefined
  58. }