Tristan B. Velloza Kildaire
|
da22ae1c61
|
- Now using `jstruct` for serialization/deserialization (see Hax-io/jstruct for details)
- Updated .gitignore to exclude dub.selections.json
|
2023-01-09 11:19:11 +02:00 |
Tristan B. Velloza Kildaire
|
4fc4242c1e
|
- Moved back to more clean templating method (for now till a fix can be found for the type lookups for issue #7)
|
2023-01-09 10:28:56 +02:00 |
Tristan B. Velloza Kildaire
|
707a1b9373
|
- `fromJSON()` now throws `RemoteFieldMissing` exception if the input JSON does not have a field found in the input struct type `RecordType`
- Added a unittest to test the above
|
2023-01-08 13:36:01 +02:00 |
Tristan B. Velloza Kildaire
|
3d9b9a4976
|
- Attempt to mixin properly
|
2023-01-06 16:42:40 +02:00 |
Tristan B. Velloza Kildaire
|
b10c7d928d
|
Attempt at fixing enum type lookups (anything not implicitly in scope of mixin such as built-in types)
|
2023-01-06 16:38:34 +02:00 |
Tristan B. Velloza Kildaire
|
2f5710fafb
|
- Removed uneeded public imports
|
2023-01-06 16:38:03 +02:00 |
Tristan B. Velloza Kildaire
|
d89b7159dd
|
- Ensure that `serializeRecord()` and `fromJSON()` are publically imported as part of the package import to fix user-defined types lookups (such as enums)
|
2023-01-06 15:30:59 +02:00 |
Tristan B. Velloza Kildaire
|
b9a2254a66
|
- Removed uneeded default arguments
|
2023-01-05 13:01:13 +02:00 |
Tristan B. Velloza Kildaire
|
1b3ef337a5
|
- Now `updateRecord()` is for base collections and `updateRecordAuth()` is for auth collections
|
2023-01-05 12:58:51 +02:00 |
Tristan B. Velloza Kildaire
|
571e8dea81
|
- Mixin template `MemberAndType` should be private (not user-accessibe)
|
2023-01-05 12:50:36 +02:00 |
Tristan B. Velloza Kildaire
|
199b1f0120
|
- Now `listRecords()` is for base collections and `listRecordsAuth()` is for auth collections
- Now `viewRecord()` is for base collections and `viewRecordAuth()` is for auth collections
- Updated unittests accordingly
|
2023-01-05 12:36:36 +02:00 |
Tristan B. Velloza Kildaire
|
6da8696926
|
- Added documentation string to `NetworkException`
|
2023-01-05 11:33:00 +02:00 |
Tristan B. Velloza Kildaire
|
2c8141f5b6
|
Added all integral types
|
2023-01-05 11:31:42 +02:00 |
Tristan B. Velloza Kildaire
|
8483a60da8
|
- Added missing documentaion string for `authWithPassword()`
|
2023-01-05 11:28:12 +02:00 |
Tristan B. Velloza Kildaire
|
6b47078b89
|
- Fixed up API to have seperate `createRecord()` (for base collections) and `createRecordAuth()` (for auth collections)
- Privatized and renamed the old `createRecord()` -> `createRecord_internal()`
|
2023-01-05 11:25:24 +02:00 |
Tristan B. Velloza Kildaire
|
f23a4c40bb
|
- Implemented `createRecordAuth()` which is to be used for creating authentication records as it has compile-time guarantees about the fields required in a struct for such a procedure
|
2023-01-05 11:22:35 +02:00 |
Tristan B. Velloza Kildaire
|
6a5e1d60ee
|
- Implemented `authWithPassword()` which provides a token back after providing authentication details
- Added unittest for `authWithPassword()`
|
2023-01-05 11:19:38 +02:00 |
Tristan B. Velloza Kildaire
|
78100faaef
|
- Privatized static method `isAbleCheck()` in PocketBase
|
2023-01-02 16:32:08 +02:00 |
Tristan B. Velloza Kildaire
|
2550e12496
|
- Privatised testing enum `EnumType` in serialization.d unit test
|
2023-01-02 16:28:04 +02:00 |
Tristan B. Velloza Kildaire
|
87b564f4e5
|
- Cleaned up serialization.d and deserialization.d imports
|
2023-01-02 16:21:20 +02:00 |
Tristan B. Velloza Kildaire
|
15fe95f532
|
Refactored various components into their own modules
|
2023-01-02 16:14:47 +02:00 |