AIPPT.ts 617 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. export interface AIPPTCover {
  2. type: 'cover'
  3. data: {
  4. title: string
  5. text: string
  6. }
  7. }
  8. export interface AIPPTContents {
  9. type: 'contents'
  10. data: {
  11. items: string[]
  12. }
  13. offset?: number
  14. }
  15. export interface AIPPTTransition {
  16. type: 'transition'
  17. data: {
  18. title: string
  19. text: string
  20. }
  21. }
  22. export interface AIPPTContent {
  23. type: 'content'
  24. data: {
  25. title: string
  26. items: {
  27. title: string
  28. text: string
  29. }[]
  30. },
  31. offset?: number
  32. }
  33. export interface AIPPTEnd {
  34. type: 'end'
  35. }
  36. export type AIPPTSlide = AIPPTCover | AIPPTContents | AIPPTTransition | AIPPTContent | AIPPTEnd