service.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
  2. // This file is automatically generated. DO NOT EDIT
  3. /**
  4. * Service is registered with Wails; its exported methods become the
  5. * frontend bindings.
  6. * @module
  7. */
  8. // eslint-disable-next-line @typescript-eslint/ban-ts-comment
  9. // @ts-ignore: Unused imports
  10. import { Call as $Call, CancellablePromise as $CancellablePromise } from "@wailsio/runtime";
  11. // eslint-disable-next-line @typescript-eslint/ban-ts-comment
  12. // @ts-ignore: Unused imports
  13. import * as $models from "./models.js";
  14. /**
  15. * About returns the About dialog text.
  16. */
  17. export function About(): $CancellablePromise<$models.About> {
  18. return $Call.ByID(790948986);
  19. }
  20. /**
  21. * New replaces the current project with a new, empty one.
  22. */
  23. export function New(): $CancellablePromise<$models.State> {
  24. return $Call.ByID(869901757);
  25. }
  26. /**
  27. * State returns the current project's state.
  28. */
  29. export function State(): $CancellablePromise<$models.State> {
  30. return $Call.ByID(2566861378);
  31. }
  32. /**
  33. * Version returns the app version.
  34. */
  35. export function Version(): $CancellablePromise<string> {
  36. return $Call.ByID(3347046459);
  37. }