models.gen.ts 728 B

123456789101112131415161718192021222324
  1. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. // NOTE: This file will be auto generated from models.cue
  3. // It is currenty hand written but will serve as the target for cuetsy
  4. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. import { CanvasFrameOptions, DEFAULT_CANVAS_ELEMENT_CONFIG } from 'app/features/canvas';
  6. export const modelVersion = Object.freeze([1, 0]);
  7. export interface PanelOptions {
  8. inlineEditing: boolean;
  9. root: CanvasFrameOptions;
  10. }
  11. export const defaultPanelOptions: PanelOptions = {
  12. inlineEditing: true,
  13. root: {
  14. elements: [
  15. {
  16. ...DEFAULT_CANVAS_ELEMENT_CONFIG,
  17. },
  18. ],
  19. } as unknown as CanvasFrameOptions,
  20. };