Skip to content

v3.0

Choose a tag to compare

@Dav2070 Dav2070 released this 13 Mar 23:11
· 21 commits to master since this release

Changelog

  • General changes
    • Update entire project to use new dav API using GraphQL
    • Temporarily disable websocket connection
  • Update lib/Dav.ts
    • Change tableIds and parallelTableIds in Dav constructor to tableNames and parallelTableNames
  • Remove lib/controllers/ApisController.ts
  • Update lib/controllers/AppUserSnapshotsController.ts
    • Remove GetAppUserSnapshotsResponseData and AppUserSnapshot interfaces
    • Remove GetAppUserSnapshots function
    • Add listAppUserSnapshots function
  • Update lib/controllers/AppsController.ts
    • Remove CreateApp, GetApps, GetApp and UpdateApp functions
    • Add retrieveApp, listApps and updateApp functions
  • Update lib/controllers/CheckoutSessionsController.ts
    • Remove CreateCheckoutSessionResponseData interface
    • Remove CreateCheckoutSessionMode type
    • Remove CreateCheckoutSession function
    • Add createSubscriptionCheckoutSession and createPaymentCheckoutSession functions
  • Remove lib/controllers/CollectionsController.ts
  • Update lib/controllers/CustomerPortalSessionsController.ts
    • Remove CreateCustomerPortalSessionResponseData interface
    • Remove CreateCustomerPortalSession function
    • Add createCustomerPortalSession function
  • Update lib/controllers/DevsController.ts
    • Remove GetDevResponseData interface
    • Remove GetDev function
    • Add retrieveDev function
  • Update lib/controllers/NotificationsController.ts
    • Remove CreateNotification, GetNotifications, UpdateNotification and DeleteNotification functions
    • Add listNotifications, createNotification, createNotificationForUser, updateNotification and deleteNotification functions
  • Add lib/controllers/OrdersController.ts
    • Add retrieveOrder and updateOrder functions
  • Remove lib/controllers/ProvidersController.ts
  • Update lib/controllers/PurchasesController.ts
    • Remove GetPurchase and DeletePurchase functions
    • Add createPurchase function
  • Update lib/controllers/SessionsController.ts
    • Remove CreateSession, CreateSessionFromAccessToken, RenewSession, DeleteSession functions
    • Add createSession, createSessionFromAccessToken, renewSession and deleteSession functions
  • Add lib/controllers/ShippingAddressesController.ts
    • Add listShippingAddresses function
  • Add lib/controllers/TableObjectPricesController.ts
    • Add setTableObjectPrice function
  • Add lib/controllers/TableObjectUserAccessesController.ts
    • Add createTableObjectUserAccess and deleteTableObjectUserAccess functions
  • Update lib/controllers/TableObjectsController.ts
    • Remove TableObjectResponseData interface
    • Remove CreateTableObject, GetTableObject, UpdateTableObject, DeleteTableObject, SetTableObjectFile, GetTableObjectFile and RemoveTableObject functions
    • Add retrieveTableObject, listTableObjectsByProperty, createTableObject, updateTableObject, deleteTableObject and uploadTableObjectFile functions
  • Update lib/controllers/TablesController.ts
    • Remove GetTableResponseData interface
    • Remove CreateTable and GetTable functions
    • Add retrieveTable function
  • Update lib/controllers/UserSnapshotsController.ts
    • Remove GetUserSnapshotsResponseData and UserSnapshot interfaces
    • Remove GetUserSnapshots function
    • Add listUserSnapshots function
  • Update lib/controllers/UsersController.ts
    • Remove SignupResponseData and CreateStripeCustomerForUserResponseData interfaces
    • Remove Signup, GetUser, GetUserById, UpdateUser, SetProfileImageOfUser, GetProfileImageOfUser, GetProfileImageOfUserById, CreateStripeCustomerForUser, SendConfirmationEmail, SendPasswordResetEmail, ConfirmUser, SaveNewEmail, SaveNewPassword, ResetEmail and SetPassword functions
    • Add CreateUserResponseData interface
    • Add retrieveUser, retrieveUserById, createUser, updateUser, uploadUserProfileImage, sendConfirmationEmailForUser, sendPasswordResetEmailForUser, confirmUser, saveNewEmailOfUser, saveNewPasswordOfUser, resetEmailOfUser and setPasswordOfUser functions
  • Update lib/controllers/WebPushSubscriptionsController.ts
    • Remove CreateWebPushSubscription, GetWebPushSubscription and DeleteWebPushSubscription functions
    • Add retrieveWebPushSubscription, createWebPushSubscription and deleteWebPushSubscription functions
  • Update lib/controllers/WebsocketConnectionsController.ts
    • Remove WebsocketConnectionResponseData interface
    • Remove CreateWebsocketConnection function
    • Add createWebsocketConnection function
  • Remove lib/errorCodes.ts
  • Remove lib/models/Api.ts
  • Remove lib/models/ApiEndpoint.ts
  • Remove lib/models/ApiError.ts
  • Remove lib/models/ApiFunction.ts
  • Update lib/models/App.ts
    • Remove ConvertObjectArrayToApps function
    • Remove Apis and Tables fields from App class
  • Add lib/models/Dev.ts
    • Add Dev class with Id and Apps fields
  • Update lib/models/Notification.ts
    • Remove ConvertObjectArrayToNotifications function
  • Update lib/models/Table.ts
    • Add Etag field to Table class
    • Remove ConvertObjectArrayToTables function
  • Update lib/models/TableObject.ts
    • Add User and Purchases fields to TableObject class
    • Remove ConvertObjectToTableObject function
  • Update lib/types.ts
    • Add ErrorCode and OrderStatus types
    • Add List interface
    • Add TableObjectPriceType enum
    • Add UserResource, UserSnapshotResource, AppUserSnapshotResource, DevResource, AppResource, TableResource, TableObjectResource, TableObjectPriceResource, TableObjectUserAccessResource, ProviderResource, UserProfileImageResource, NotificationResource, CheckoutSessionResource, CustomerPortalSessionResource, PurchaseResource, OrderResource, ShippingAddressResource, WebPushSubscriptionResource and WebsocketConnectionResource interfaces
  • Update lib/utils.ts
    • Rename SortTableIds to SortTableNames
  • Remove test/controllers/ApisController.spec.ts
  • Remove test/controllers/AppUserSnapshotsController.spec.ts
  • Remove test/controllers/AppsController.spec.ts
  • Remove test/controllers/CheckoutSessionsController.spec.ts
  • Remove test/controllers/CollectionsController.spec.ts
  • Remove test/controllers/CustomerPortalSessionsController.spec.ts
  • Remove test/controllers/DevsController.spec.ts
  • Remove test/controllers/NotificationsController.spec.ts
  • Remove test/controllers/ProvidersController.spec.ts
  • Remove test/controllers/PurchasesController.spec.ts
  • Remove test/controllers/SessionsController.spec.ts
  • Remove test/controllers/TableObjectsController.spec.ts
  • Remove test/controllers/TablesController.spec.ts
  • Remove test/controllers/UserSnapshotsController.spec.ts
  • Remove test/controllers/UsersController.spec.ts
  • Remove test/controllers/WebPushSubscriptionsController.spec.ts
  • Remove test/controllers/WebsocketConnectionsController.spec.ts
  • Update test/utils.spec.ts
    • Change SortTableIds tests to SortTableNames
  • Remove test/utils.ts