Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter v3 #492

Draft
wants to merge 76 commits into
base: master
Choose a base branch
from
Draft

Adapter v3 #492

wants to merge 76 commits into from

Conversation

Idokah
Copy link
Collaborator

@Idokah Idokah commented Jan 4, 2024

No description provided.

michaelir and others added 30 commits November 22, 2023 12:49
* lint fixes

* enable husky
* refactor app_data_e2e

* .
* filter by date v3

* remove ts-ignore
* implementing errors spi

* wip

* added some tests

* wip

* changed 400 to 500

* applied pr commesnts

* wip

* use data test support

* fix duplicate item insert test

* lint

Co-authored-by: Ido Kahlon <[email protected]>
* feat: new collection related types

* refactor: collection spi update

* feat: list all collection in the new format

* feat: getColumnCapabilitiesFor implementation in MySql

* feat: new type and interface methods

* feat: new collection implementations

* feat: changeColumn mysql implementation

* feat: new collection routes

* feat: some of the functions of the class will be optional

* feat: stream collection api

* test: expect to the right things

* feat: give subtype to field type

* test: new collection e2e tests

* feat: clear cache when refreshing

* tests: delete collection test

* feat: new column compare function and tests

* test: extract some function in class

* refactor: rename function in schema utils

* style: some lint fixes

* style: some lint fixes

* style: some lint fixes

* refactor: extracted function from schema provider

* test: new tests for schema utils

* test: remove unsupported field types from gen

* refactor: deleted old schema routes

* test: disable schema hooks test

* test: disabled test

* test: refactor some tests

* refactor: delete old schema functions

* refactor: extract some internal logic to function

* refactor: removed schemas tests

* refactor: schema import names

* test: schema hooks tests rename and skip

* refactor: lint fixes + extract collection types to a new file

* lint fixes after rebase

* test: new collection update test - change type

* fix: added collection name to catch in change type

* Change float default precision (#380)

* new number column - float ,mysql float- percision (15,2)

* fix unit tests

* test: moved some tests

Co-authored-by: Ido Kahlon <[email protected]>
Co-authored-by: Ido Kahlon <[email protected]>
* feat: capabilities property in collection object

* refactor: some refactors

* refactor: refactors based on review

* refactor: some refactors based on reviews

* refactor: rename some variables and methods
* query validator, check only field name exists without nested fields

* add support for queries on nested fields in mysql

* can use any operator on object

* add data e2e test

* update columnCapabilities for object
* refactor: extract ColumnsCapabilities to capabilities file

* test: accurate matchers

* refactor: extracted some types to a dedicated types file

* refactor: some refactors based on code review
* add some data errors, data e2e for error handling

* not supported by collection

* fix query_validator test
* fix: removed some unsupported ops from readwriteOps

* feat: new collection capabilities properties

* fix: added the missing properties
* wip

* wip

* all tests pass

* added postgres to workflows/main.yaml

* lint fixs

* fixed aggregations

* added nested fields query support

* applied pr changes

* fixed postgres data provider

* removed redundant code

* added nested fields filter unit test
Idokah and others added 29 commits November 22, 2023 12:49
* pass metaSiteId in res.locals after authorize

* change RequestContext type

* change requestContextFor

* pass to requestContextFor res.locals
* feat: new route to get connection status

* refactors: some refactors
* feat: data spi v4 support

* test: data hooks tests refactor

* test: restore data e2e tests

* fix: dynamodb update item fix

* refactor: some code refactors based on reviews

* test: spanner test fix

* test: data-hooks tests refactor

* test: completed data_hooks tests

* refactors: some refactors

* fix: dynamo update test

* fix: mysql update fix

* feat: firestore new translated error

* refactor: some refactors
* jwt-verifier-decoder

* undo comment
* feat: collection v4 support

* test: enable error logs

* fix: mysql collection support

* fix: mssql collection support

* fix: spanner support

* fix: collection v4 spanner support

* feat: new PagingMode enum

* feat: new types

* refactor: type reorganization

* refactor: some refactors

* test: updated sql schemas trans tests

* refactor: some lint refactors

* refacotor: ts error fix

* refactor: ts compiltaion error

* rector: another ts compilation fix

* fix: ts ignore

* fix: another ts ignore cause github action fails

* refactor: removed unused arguments

* test: convert some tests to test each
* feat: new jwt envs

* lint: lint fixes

* lint: some lint fixes
* feat: new jwt middlware

* test: new auth test

* feat: unauthorized error
* refacor: schema create fun refactor

* test: typo fix

* refactor: some refactors

* test: spanner test fix

* refactor: create collection in nosql db

* refactor: postgres refactor

* test:postgres test fix

* refactor: ignoreUndefinedProperties in firestore

* rector: updated max length of test field

* revert: revert field size

* fix: typo

* refctor: another refactor

* test: new schema tests

* refactor: last refactor

* fix: remove async

* refactor: typo
* fix: projection fix

* fix: _projection fix

* refactor: nop
* Fix column type in SQL schema translator

* Fix column type in postgres schema translator
* Refactor mysql schema translation for text and object
fields

* Refactor postgres schema translator & schema utils

* Refactor Postgres schema column translation

* Fix translation of date type in schemaTranslator

* Add support for time and date columns in BigQuery,
MSSQL, MySQL, and Postgres capabilities

* Refactor columnToDbColumnSql method in spanner schema
Column Translator

* Fix translation of DATE type in schemaTranslator

* updated supportedFieldTypes
* refactor: DataItemModificationResult

* refactor: new wixdataitem function

* refactor: review changes
* add debug logs using hooks

* fix import
* set 2 minute timeout for request

* Refactor router timeout to use a constant

---------

Co-authored-by: Max Polsky <[email protected]>
* Add CollectionChangeNotSupportedError class and update error handling

* Fix CollectionChangeNotSupportedError constructor parameters

* Export error classes and use nullish coalescing operator
* Update Node.js version in workflows and Dockerfile

* Update Node.js version in GitHub Actions workflow
@Idokah Idokah marked this pull request as draft April 11, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants