Commit Graph
30 Commits
Author SHA1 Message Date
Paul Copplestone 035b2d4304 #18 Updates timestamps to improve consistency between PostgREST and realtime 2020-02-04 18:56:13 +08:00
awalias 0232f7184b changed monorepo to supabase 2020-02-04 14:15:20 +08:00
Angelico ecefafbd47 Boyscout: Reduce realtime payload && version bump 2020-01-28 12:21:38 +08:00
Angelico 08ed914a5f Boyscout: remove unreachable code and version bump 2020-01-28 12:02:59 +08:00
Angelico bb54025ee6 Boyscout; supabase-js minor fixes && version bump 2020-01-28 11:54:30 +08:00
Angelico 99a3fbb6e1 Boyscout: supabase-js minor fixes && version bump 2020-01-28 11:39:07 +08:00
Angelico 536ea88f1c @supabase/supabase-js Update
The following changes were done:
- Extract out all RESTful functions and utilise @supabase/postgrest-js instead.
- Minor clean up of codebase.
- Version bump.
2020-01-28 10:17:44 +08:00
Angelico a89696ab6e Boyscout Commit
The following changes were done:
- @supabase/supabase-js version bump.
- Set default value for functionParameters in supabase.rpc() to be null, making it an optional parameter.
- Minor changes to examples responses for Stored Procedures documentation to make it more accurate.
2020-01-27 00:25:45 +08:00
Angelico 491033524b #12 fix .like() & .ilike() 2020-01-26 23:36:51 +08:00
Angelico fe923eeb36 #11 implement supabase.rpc() 2020-01-26 23:14:40 +08:00
Paul Copplestone 7a39c85309 Fixing foreign key selects 2020-01-23 18:33:12 +08:00
Angelico b40862fd36 Fix Realtime bugs && version dump 2020-01-21 18:55:21 +08:00
Angelico 005117a761 version bump 2020-01-21 13:49:33 +08:00
Angelico fe18ba5c00 Rename Base.js into Supabase.js
Dependencies have been accounted for as well.
2020-01-21 13:44:10 +08:00
Angelico 85b23e46a3 Make ChangeMapper fully internal
The following changes were made:
- Remove ChangeMapper as an export of the package.
- Realtime payload is instead processed internally with the ChangeMapper before being exposed.
2020-01-21 13:25:25 +08:00
Angelico 5aca73da0d Modify Base.js
Modify codebase to allow all forms of permutations of filters and CRUD function chains.
2020-01-21 13:18:05 +08:00
Angelico 4600c20d5e Update Supabase Chatroom Example
The following changes were done:
- Import proper dependencies from @supabase/supabase-js.
- Add additional npm scripts for @supabase/supabase-js.
- Add console test for ChangeMapper in the example.
- Minor refactoring.
2020-01-20 14:53:22 +08:00
Angelico 1abf643d01 Update Client Library
The following changes were done:
- Import dependencies from @supabase/realtime-js instead of phoenix-channels.
- Append api key onto socketUrl.
- Change realtimeUrl from <supabaseUrl>/socket to <supabaseUrl>/realtime/v1.
- Minor standardisations.
- Migrate ChangeMapper.js from @supabase/realtime-js.
2020-01-20 13:06:15 +08:00
Paul Copplestone 822675dfb8 Making realtime work on supabase-js 2020-01-17 19:10:32 +08:00
Angelico 1e2668036c First Iteration of Chat Room Example
The following changes were done:
- Complete simple, working version of an old school chat room.
- Hard code values into the client library for now.
2020-01-15 18:48:39 +08:00
Angelico be64fcab47 Clean up libraries
The following were done
- Remove unused imports and console.logs.
- Fix parameters after testing.
2020-01-15 16:29:52 +08:00
Angelico 70f06dcd42 Rewrite Client Library
The following changes were made:
- Modify index.js to mainly be the entry point for the client.
- Write Base.js that has both RESTful and Realtime functionalities.
- Delete Subscription.js as its functionality has already been merged into Base.js
- Rewrite BaseRequest.js to accomodate new changes.
- Write Filters.js to put filters into pure functions.
2020-01-15 12:43:59 +08:00
Paul Copplestone d2698d22ea Docs reviewed with Ant. One change remains: we should be putting the REST verbs at the end of the chain for readability. 2020-01-09 17:44:28 +08:00
awalias fd72806e07 removing test hook from prepublish 2020-01-09 11:32:33 +08:00
Angelico 3f4afdcdfd Improve Client Library
The following were done:
- Make it work with a front end example (for RESTful feature).
- Make npm run build work properly.
- Refine methods list.
- Introduce supabase.unsubscribe().
- Clean up BaseRequest.js.
- Clean up BaseChannel.js.
- Implement Helpers.js to introduce uuid().
2020-01-08 17:45:47 +08:00
Angelico e316b65791 Rewrite Client Library
The following were done:
- Add Realtime functionality.
- Add RESTful functionality.
- Update package.json.
2020-01-08 11:02:39 +08:00
Copple 684524b43b Mocking up a basic supabase-js instance for further iteration 2020-01-08 09:11:27 +08:00
Paul Copplestone 8a9e1e4803 Starting the boilerplate NPM function 2020-01-03 07:05:53 +00:00
Copple e0d7e0cfcf Add links to the new issues for tracking demand of the client libraries and connectors 2020-01-03 12:59:59 +08:00
Paul Copplestone 15d0ae5faf Massive cleanup. We are starting afresh 2020-01-02 13:06:46 +08:00