@webresto/graphql 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. package/package.json +1 -1
  2. package/src/additionalResolvers.js +1 -1
  3. package/src/additionalResolvers.ts +1 -1
  4. package/src/graphql.js +40 -22
  5. package/src/graphql.ts +42 -25
  6. package/src/resolvers/cart.d.ts +225 -7
  7. package/src/resolvers/cart.js +21 -7
  8. package/src/resolvers/cart.ts +23 -8
  9. package/src/resolvers/checkout.ts +1 -0
  10. package/test/{_bootstrap.js → bootstrap.js} +6 -7
  11. package/test/bootstrap.ts +3 -0
  12. package/test/fixture/.sailsrc +14 -0
  13. package/test/fixture/api/controllers/.gitkeep +0 -0
  14. package/test/fixture/api/models/.gitkeep +0 -0
  15. package/test/fixture/api/services/.gitkeep +0 -0
  16. package/test/fixture/app-export.js +73 -73
  17. package/test/fixture/app.js +56 -56
  18. package/test/fixture/config/adminpanel.js +25 -3
  19. package/test/fixture/config/bootstrap.js +161 -0
  20. package/test/fixture/config/connections.js +9 -9
  21. package/test/fixture/config/env/development.js +10 -10
  22. package/test/fixture/config/env/production.js +16 -16
  23. package/test/fixture/config/globals.js +16 -16
  24. package/test/fixture/config/hookTimeout.js +8 -8
  25. package/test/fixture/config/http.js +93 -93
  26. package/test/fixture/config/i18n.js +57 -57
  27. package/test/fixture/config/log.js +29 -29
  28. package/test/fixture/config/models.js +8 -8
  29. package/test/fixture/config/modulemanager.js +22 -22
  30. package/test/fixture/config/policies.js +51 -51
  31. package/test/fixture/config/routes.js +49 -49
  32. package/test/fixture/config/session.js +100 -100
  33. package/test/fixture/config/sockets.js +141 -141
  34. package/test/fixture/config/views.js +94 -94
  35. package/test/fixture/hacks/waterline.js +39 -0
  36. package/test/fixture/package.json +33 -30
  37. package/test/fixture/seeds/dish.json +37042 -0
  38. package/test/fixture/seeds/group.json +1418 -0
  39. package/test/fixture/seeds/iikoDiscount.json +365 -0
  40. package/test/fixture/views/403.ejs +68 -68
  41. package/test/fixture/views/404.ejs +68 -68
  42. package/test/fixture/views/500.ejs +73 -73
  43. package/test/fixture/views/homepage.ejs +74 -74
  44. package/test/fixture/views/layout.ejs +91 -91
  45. package/test/integration/graphql.test.js +11 -0
  46. package/test/integration/graphql.test.ts +15 -0
  47. package/test/{unit → integration}/sails_not_crash.test.js +0 -0
  48. package/test/{unit → integration}/sails_not_crash.test.ts +0 -0
  49. package/test/unit/first.test.js +1 -1
  50. package/test/unit/first.test.ts +1 -1
  51. package/test/fixture/.tmp/localDiskDb/archive.db +0 -1
  52. package/test/fixture/.tmp/localDiskDb/dish.db +0 -1
  53. package/test/fixture/.tmp/localDiskDb/dish_images__image_dish.db +0 -1
  54. package/test/fixture/.tmp/localDiskDb/group.db +0 -1
  55. package/test/fixture/.tmp/localDiskDb/group_images__image_group.db +0 -1
  56. package/test/fixture/.tmp/localDiskDb/image.db +0 -1
  57. package/test/fixture/.tmp/localDiskDb/maintenance.db +0 -1
  58. package/test/fixture/.tmp/localDiskDb/order.db +0 -1
  59. package/test/fixture/.tmp/localDiskDb/orderdish.db +0 -1
  60. package/test/fixture/.tmp/localDiskDb/paymentdocument.db +0 -1
  61. package/test/fixture/.tmp/localDiskDb/paymentmethod.db +0 -2
  62. package/test/fixture/.tmp/localDiskDb/place.db +0 -1
  63. package/test/fixture/.tmp/localDiskDb/settings.db +0 -2
  64. package/test/fixture/.tmp/localDiskDb/street.db +0 -1
  65. package/test/fixture/package-lock.json +0 -9805
  66. package/test.zip +0 -0
package/test.zip DELETED
Binary file