Commit Graph
100 Commits
Author SHA1 Message Date
Moshe Dicker 1ae304b737 docs: even better highlighting 2024-09-08 15:20:33 -04:00
Moshe Dicker d2243dd858 docs: update section names 2024-09-07 23:17:36 -04:00
Moshe Dicker 69853f04a6 docs: better syntax parsing with light mode
docs: auto dark/light mode only
2024-09-07 23:07:32 -04:00
Moshe Dicker 3b3f8155ae chore: add --delete-conflicting-outputs 2024-09-06 14:17:07 -04:00
Moshe Dicker 057302ca7f docs: Add flutter example 2024-09-06 14:12:00 -04:00
Moshe Dicker 539a79e977 chore: rename examples 2024-09-06 13:23:32 -04:00
Moshe Dicker e291cab186 chore: Migrate from Jinja to MkDocs 2024-09-06 13:06:38 -04:00
Moshe Dicker 5ef4926d3a chore: update generated schemas 2024-09-06 12:45:01 -04:00
Moshe Dicker 2e86c94399 chore: Add missing stub 2024-09-06 12:41:34 -04:00
Moshe Dicker 15e5d0c348 chore: Update docs readme for running the util 2024-09-06 12:37:51 -04:00
Moshe Dicker f6cc425a9f docs: Update Github Action for building docs 2024-09-06 12:36:40 -04:00
Moshe Dicker ca38047efe docs: Add docs.sh tool and update readme 2024-09-06 12:35:43 -04:00
Moshe Dicker 70135509ee chore: Update Nav Tree 2024-09-06 12:33:35 -04:00
Moshe Dicker e0dda3225d chore: Add python macro for injecting snippets and package versions into markdown 2024-09-06 12:30:27 -04:00
Moshe Dicker b1d11e8f03 chore: Add mkdocs config😀 and remove built_site 😢 2024-09-06 12:29:49 -04:00
Moshe Dicker ca511fc225 chore: Update build.yaml and pubspec.yaml to remove the old builders and add new ones 2024-09-06 12:26:10 -04:00
Moshe Dicker bbfbc31b57 chore: Builder Changes - Read More:
1. Remove the CI builder.
2. Move builders from `tool` to `builders`
3. Replace Syntax Highlighter
2024-09-06 12:25:00 -04:00
Moshe Dicker 41a128dde5 chore: remove old templates 2024-09-06 12:22:52 -04:00
Moshe Dicker ce7a63c686 docs: Move .md docs from pages to docs and remove old landing page 2024-09-06 12:22:23 -04:00
Moshe Dicker d916600a47 docs: Remove Zap and CSS - Read More:
Removed the Zap example to reduce complexity for now.
Remove css which is no longer needed
2024-09-06 12:20:28 -04:00
Moshe Dicker 52e6a32aa1 chore: Rearrange stub files - Read More:
The stub packages which the snippets rely on were in a folder called assets. Kinda confusing. Renamed it to stubs instead.
2024-09-06 12:11:59 -04:00
Moshe Dicker 3317debef7 chore: Remove unused files and Refactor - Read More:
In the past, `web` contained raw assets and some dart files which is served as JavaScript.
In MkDocs, raw assets are served from the same folder as the docs. The dart files remain the same.
2024-09-06 12:08:03 -04:00
Moshe Dicker 439ac0e142 chore: Update dart dependencies in root project 2024-09-06 12:02:55 -04:00
Moshe Dicker 8bfd93d004 add more exceptions to .gitignore 2024-09-06 12:02:10 -04:00
Moshe Dicker f41c49d6d0 fix nits 2024-07-25 08:35:46 -04:00
Moshe Dicker 9c7bdb0407 test: add stream test
fix: Correct Generics on `QueryStream`
2024-07-23 17:02:08 -04:00
Moshe Dicker 85f32405d0 test: add stream tests 2024-07-23 15:33:13 -04:00
Moshe Dicker f9a008c59d test: refactor prefetch tests 2024-07-23 14:34:33 -04:00
Moshe Dicker 1401813264 test: migrate away from completion 2024-07-23 13:59:47 -04:00
Moshe Dicker 24e89a5c1e migrate manager stream with references to QueryStreamFetcher 2024-07-23 13:45:05 -04:00
Moshe Dicker dfede93a7c fix: update builder after reverting 2024-07-21 18:20:08 -04:00
Moshe Dicker b80b156806 revert more streaming features 2024-07-21 18:20:08 -04:00
Moshe Dicker 64200b7749 fix: revert watching prefetched data queries 2024-07-21 18:20:08 -04:00
Moshe Dicker 2352630f3e update doccomment 2024-07-21 18:20:08 -04:00
Moshe Dicker cf48ae6753 tests: small test updates 2024-07-21 18:20:08 -04:00
Moshe Dicker 76def8784e feat: optional transactions for prefetches 2024-07-21 18:20:08 -04:00
Moshe Dicker 7b65c3656d docs: add doc comment to type consistent relationship filter 2024-07-21 18:20:08 -04:00
Moshe Dicker 0416f5d2ca test: add few tests 2024-07-21 18:20:08 -04:00
Moshe Dicker 48cb9174ed fix: CombineLatestStream workaround 2024-07-21 18:20:08 -04:00
Moshe Dicker eef41fb36e chore: rebuild 2024-07-21 18:20:08 -04:00
Moshe Dicker f019af2ce3 fix: Add transaction for get
feat: listen to referenced prefetches
2024-07-21 18:20:08 -04:00
Moshe Dicker eca5ac8354 docs: stream docs 2024-07-21 18:20:08 -04:00
Moshe Dicker ecb532436b docs: update docs 2024-07-21 18:20:08 -04:00
Moshe Dicker 489ec8931f refactor: clean up getSingleOrNull 2024-07-21 18:20:08 -04:00
Moshe Dicker 53a8466944 docs: update docs for references 2024-07-21 18:20:08 -04:00
Moshe Dicker 9c5ee4b06b docs: add more docs 2024-07-21 18:20:08 -04:00
Moshe Dicker b1b7a4a974 fix: base refs class modifiers
docs: add lots o docs
2024-07-21 18:20:08 -04:00
Moshe Dicker d2e056e18d chore: remove unused import 2024-07-21 18:20:08 -04:00
Moshe Dicker e2a09003a1 chore: remove unused code 2024-07-21 18:20:08 -04:00
Moshe Dicker 827425ae80 fix: reverse references use implicit named aliases
chore: rebuild
2024-07-21 18:20:08 -04:00
Moshe Dicker 4522897ef8 fix: update warning message 2024-07-21 18:20:08 -04:00
Moshe Dicker 783cfa566a docs: add missing doccomments 2024-07-21 18:20:08 -04:00
Moshe Dicker 9cd580abcd test: add prefetch tests 2024-07-21 18:20:08 -04:00
Moshe Dicker ead8b01e41 fix: Migrate Tests for symetrical joins
chore: Rebuild
2024-07-21 18:20:08 -04:00
Moshe Dicker b4bf5de7b3 feat: References with Prefetch 2024-07-21 18:20:08 -04:00
Moshe Dicker 95d4e48c7b refactor: base class for withReferences
chore: rebuild
2024-06-30 18:07:51 -04:00
Moshe Dicker 544c9959e5 fix: make toActiveDataclass sync 2024-06-30 09:33:59 -04:00
Moshe Dicker a8496f1ac9 Merge branch 'withRefs' of https://github.com/dickermoshe/drift into withRefs 2024-06-30 01:14:31 -04:00
Moshe Dicker 2e72d907f4 fix: ignore unused fields on Reference Class 2024-06-30 01:14:23 -04:00
Moshe Dicker 151cbda808 fix: remove uneeded import 2024-06-30 00:59:28 -04:00
Moshe Dicker 4c8b86a856 feat: withReferences uses records 2024-06-30 00:52:15 -04:00
Moshe Dicker 0ad3d6722a refactor: update MappedDataclass name
chore: rebuild
2024-06-30 00:19:48 -04:00
Moshe Dicker a5f7e5e8f1 fix: make _dataclassMapper non async 2024-06-29 23:01:39 -04:00
Moshe Dicker 8ebf83a91d test: reduce code in selectable test 2024-06-29 22:57:43 -04:00
Moshe Dicker 4b35064b50 test: refactor to reduce boilerplate 2024-06-29 22:51:00 -04:00
Moshe Dicker f2801841f3 fix: Manager API ignores relations which dont have the same Type Converters applied
test: Update tests to generate manager API for codebase
chore: rebuild
2024-06-27 23:33:09 -04:00
Moshe Dicker f3c10e7073 chore: Update docs and Tests 2024-06-27 16:36:38 -04:00
Moshe Dicker 4ca05028b1 chore: rebuild 2024-06-27 16:23:09 -04:00
Moshe Dicker 515d656c6a fix: Add missing arguement to generated manager 2024-06-27 16:11:28 -04:00
Moshe Dicker 791ac0bdc1 feat: Update Generator for withReferences 2024-06-27 16:05:53 -04:00
Moshe Dicker 9e432534ef feat: Add support withReferences 2024-06-27 16:05:29 -04:00
Moshe Dicker 1c5d3e1f0b chore: rebuild 2024-06-26 14:02:23 -04:00
Moshe Dicker 00384403a6 fix: Remove unnecessary proccesed table manager typdef 2024-06-26 13:43:02 -04:00
Moshe Dicker 387207ca97 fix: make "successive .filter can combine with AND or OR" internal only 2024-06-26 12:58:48 -04:00
Moshe Dicker c269331b3c docs: add better doccomment for distinct 2024-06-26 12:43:34 -04:00
Moshe Dicker 6e9332918f Refactor ComposableFilter constructor parameters for clarity 2024-06-26 12:40:50 -04:00
Moshe Dicker 57a558ec6d chore: rebuild 2024-06-25 23:08:34 -04:00
Moshe Dicker 70594ed523 tests: add tests for the .filter combine feature 2024-06-25 22:40:42 -04:00
Moshe Dicker 63ba8fec47 Revert "fix: Simple Columns shouldn't use Joins for filters/orderings"
It turns out, this wasn't a bug after all

This reverts commit a235438037.
2024-06-25 22:34:59 -04:00
Moshe Dicker 4d80a0e6af chore: rebuild 2024-06-25 20:36:56 -04:00
Moshe Dicker 797057e07b feat: .filter can combine with and or or 2024-06-25 20:29:35 -04:00
Moshe Dicker 57cca7df6d fix: Make Manager API non-contant for now
fix: Manager API extends Selectable
2024-06-25 20:24:58 -04:00
Moshe Dicker 7a13ee0724 docs: Update some doccomments 2024-06-25 20:22:35 -04:00
Moshe Dicker 30237ceb65 fix: Single Getters on Manager get missing distinct arg 2024-06-25 20:19:28 -04:00
Moshe Dicker a235438037 fix: Simple Columns shouldn't use Joins for filters/orderings 2024-06-25 20:17:06 -04:00
Moshe Dicker 26d9bc0f70 refactor: Managers create child managers without callback 2024-06-25 20:14:43 -04:00
Moshe Dicker 3cf3beb88b refactor: Rename generics on Manager classes
refactor: More descriptive name for manager callbacks
2024-06-25 20:07:28 -04:00
Moshe Dicker 23d2b7cf71 remove assert 2024-05-11 21:28:44 -04:00
Moshe Dicker 0de7615350 fix: typo 2024-05-03 17:10:49 -04:00
Moshe Dicker da788c0d0c refactor: remove small single use snippets from templates 2024-05-03 16:39:50 -04:00
Moshe Dicker 8ca18b9221 nit: remove extra underscore 2024-05-03 16:32:25 -04:00
Moshe Dicker 0170918843 refactor: refactor manager generator to use readable templates 2024-05-03 14:47:52 -04:00
Moshe Dicker 094cdc187b export base table manager 2024-05-02 10:22:38 -04:00
Moshe Dicker 7717d105ab fix: change @internal to doccomment 2024-05-01 17:26:49 -04:00
Moshe Dicker 534a2cb17a style: more @internal to constructors
style: uncomment snippets
refactor: update JoinBuilder hashing logic
docs: explain revese reference filtering
fix: update generator not to ignore internal imports
chore: regenerate
2024-05-01 17:07:55 -04:00
Moshe Dicker 7d0cc9c012 fix: add missing import
fix: hide internal imports for legacy projects
2024-05-01 14:28:12 -04:00
Moshe Dicker bf6e31fe32 chore: regenerate projects
chore: remove manager extensions from docs until later notice
2024-05-01 14:23:42 -04:00
Moshe Dicker 44618fa331 chore: update manager writer for new internal manager api 2024-05-01 14:22:42 -04:00
Moshe Dicker 0a93223e31 test: add much more tests to manager 2024-05-01 14:21:43 -04:00
Moshe Dicker 09e12a0c45 chore: disable manager generation for dart 2 code 2024-05-01 14:21:00 -04:00