You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import { Data, ShapeType } from "types"
  2. export const defaultDocument: Data["document"] = {
  3. pages: {
  4. page0: {
  5. id: "page0",
  6. type: "page",
  7. name: "Page 0",
  8. childIndex: 0,
  9. shapes: {
  10. shape0: {
  11. id: "shape0",
  12. type: ShapeType.Circle,
  13. name: "Shape 0",
  14. parentId: "page0",
  15. childIndex: 1,
  16. point: [100, 100],
  17. radius: 50,
  18. rotation: 0,
  19. },
  20. shape1: {
  21. id: "shape1",
  22. type: ShapeType.Rectangle,
  23. name: "Shape 1",
  24. parentId: "page0",
  25. childIndex: 1,
  26. point: [300, 300],
  27. size: [200, 200],
  28. rotation: 0,
  29. },
  30. shape2: {
  31. id: "shape2",
  32. type: ShapeType.Circle,
  33. name: "Shape 2",
  34. parentId: "page0",
  35. childIndex: 2,
  36. point: [200, 800],
  37. radius: 25,
  38. rotation: 0,
  39. },
  40. shape3: {
  41. id: "shape3",
  42. type: ShapeType.Dot,
  43. name: "Shape 3",
  44. parentId: "page0",
  45. childIndex: 3,
  46. point: [500, 100],
  47. rotation: 0,
  48. },
  49. },
  50. },
  51. },
  52. }