-
Notifications
You must be signed in to change notification settings - Fork 0
try a KISS version of auto deploy prebuilt #12
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
Conversation
| https://dev.polyapi.io/functions/server/prebuilt-base-image \ | ||
| -H "Authorization: Bearer ${{ secrets.POLY_SUPER_ADMIN_USER_KEY }}" \ | ||
| -H "Content-Type: application/json" \ | ||
| -d '{}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we might need a delay before we run this step. But I'm hoping the natural latency let's this pick up the newly published version on npm!
aarongoin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, let's give it a try!
* some cleanup and bringing over hidden files * bringing over the deploy workflow * adding CI/CD workflows * updating to use npm cache instead of yarn * Bringing in Richard's updates! * Some missed cleanup, missing dev dependencies, and fixed build. * hard pinned package versions (#2) * adding husky pre-commit hook for linting * # Feature (4156): P3) Bug with deploying a client function after it a… (#1) * # Feature (4156): P3) Bug with deploying a client function after it as deployed as a server function - Refactoring npm client - Verification added for checking existing function by name and context - color updated * Fixing bug where client was not resolving dependencies correctly * adding missing dependency for testing, and fixing issue where some names in the generated schemas were not being wrapped in quotes * Handling x-poly-refs contained with function arguments that are themselves function types (fixes webhook types and more) * improve logging of failed api function calls (#4) * improve logging of failed api function calls * Update templates/api-index.js.hbs Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * onward --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * P2) (MS) npm client: add direct execute option and MTLS option (#3) * adds direct execute and mtls options support * reversed unintended change * fixed metric names + http agent to be created only once * version increment * lost my logging in code review, lets go agane (#6) * P3) VSCode Extension: Add a Refresh Button to Tree View #4107 (#5) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - Version updated * 4372 update contexts info from terminal (#8) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - if contexts is empty then it will not save in .config.env * schema generation improvements Supporting $refs defined inline within a schema. Fixing bug where allowing additional attributes on objects by default. Fixing bug where additional attributes generated name was wrapped in extra quotes. Fixing bug where schemas without contexts would fail to be generated. Improving schema generation to remove the extra interfaces which just cause noise for users. Removing yarn.lock since we only use NPM in this repo * Bumping to 0.23.19 to follow Richard's PR * # Feature (2790): P4) Ability to control npx poly generate via an extra view in VS code extension (can repurpose the configuration UI) (#11) - Local config updated - Version updated * try new action * Revert "try new action" This reverts commit 540feeb. * Bug fixes and improvements - Catching axios errors and scrubbing them of polyapi tokens and secrets - Fixing schema generation to remove extra, empty interfaces - Adding support for schemas with refs to inline definitions - Fixing bug where schemas with no contexts would not be generated - Fixing bug where schema public namespace was not Pascal cased * fixing generated webhooks and server functions * try a KISS version of auto deploy prebuilt (#12) * P1) Update typescript client to remove warnings (#7) * ts-json-schema-generator used instead of outdated package + eslint upgrade * eslint hardcode * eslintignore removed * eslint.config.js renamed to eslint.config.mjs to prevent errors * lock file updated * fix complex types * fix server function runtime * downgrade package to fix the wrong export of subpackage issue (#14) * Improving safety of scrubKeys utility * lets test the auto-update prebuilt functionality * Changed command structure to fix windows glide bug (#15) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Dirty deployables are now added to git after being updated (#16) * Dirty deployables are now added to git after being updated * changed slice to replace * Changed log to warn * Re-fixed glide commit bug (#18) * Adding support for tabi tables, and fixing small bug when generating empty object type (#13) * Adding support for tabi tables, and fixing small bug when generating empty object type * Fix update query * Fix type on update query * sime minor tweaks to tabi query types * lint and fixing deleteOne response * adding count query and fixing tests * 4324 p2 add new field cachepolylibrary false to customfunction table if its set to true do the behavior now behind faascachingenabled (#19) * adds support for cachePolyLibrary for server functions in glide and cache-poly-library flag * increment version * P3) TS Client: Log PolyAPI Library version on function startup (#20) * welcome message for users with package version * show welcome message on first use * Updating server function configs to support more properties, allowing for setting description via the config, and fixing bug where tabi tables could not be lowercase * 4504 p3 glide bug npx poly prepare does not find any deployables in windows (#21) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Fixed config name TypeError * Revert "Fixed config name TypeError" This reverts commit 7b32086. * Fixed windows find deployables command to ignore files without polyConfig * Making sure api function call errors aren't logged unless LOGS_ENABLED environment flag is truthy * Remove the welcome message for now * Windows glide duplicate deployables fix (#22) * Changed windows command for finding deployables to ensure that the same file is not found multiple times * Added replace to remove file paths in glide prepare * version * version * Removing the updateOne and deleteOne queries from Tabi for now since they don't really work! --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> Co-authored-by: Richard <github.agonize754@passmail.net> Co-authored-by: SudiptaTJ <sudipta.kumar@techjays.com> Co-authored-by: Dan Fellin <dan@polyapi.io> Co-authored-by: Dan Fellin <dan@highwaterlabs.com> Co-authored-by: Daniel-Estoll <115661842+Daniel-Estoll@users.noreply.github.com>
* some cleanup and bringing over hidden files * bringing over the deploy workflow * adding CI/CD workflows * updating to use npm cache instead of yarn * Bringing in Richard's updates! * Some missed cleanup, missing dev dependencies, and fixed build. * hard pinned package versions (#2) * adding husky pre-commit hook for linting * # Feature (4156): P3) Bug with deploying a client function after it a… (#1) * # Feature (4156): P3) Bug with deploying a client function after it as deployed as a server function - Refactoring npm client - Verification added for checking existing function by name and context - color updated * Fixing bug where client was not resolving dependencies correctly * adding missing dependency for testing, and fixing issue where some names in the generated schemas were not being wrapped in quotes * Handling x-poly-refs contained with function arguments that are themselves function types (fixes webhook types and more) * improve logging of failed api function calls (#4) * improve logging of failed api function calls * Update templates/api-index.js.hbs Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * onward --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * P2) (MS) npm client: add direct execute option and MTLS option (#3) * adds direct execute and mtls options support * reversed unintended change * fixed metric names + http agent to be created only once * version increment * lost my logging in code review, lets go agane (#6) * P3) VSCode Extension: Add a Refresh Button to Tree View #4107 (#5) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - Version updated * 4372 update contexts info from terminal (#8) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - if contexts is empty then it will not save in .config.env * schema generation improvements Supporting $refs defined inline within a schema. Fixing bug where allowing additional attributes on objects by default. Fixing bug where additional attributes generated name was wrapped in extra quotes. Fixing bug where schemas without contexts would fail to be generated. Improving schema generation to remove the extra interfaces which just cause noise for users. Removing yarn.lock since we only use NPM in this repo * Bumping to 0.23.19 to follow Richard's PR * # Feature (2790): P4) Ability to control npx poly generate via an extra view in VS code extension (can repurpose the configuration UI) (#11) - Local config updated - Version updated * try new action * Revert "try new action" This reverts commit 540feeb. * Bug fixes and improvements - Catching axios errors and scrubbing them of polyapi tokens and secrets - Fixing schema generation to remove extra, empty interfaces - Adding support for schemas with refs to inline definitions - Fixing bug where schemas with no contexts would not be generated - Fixing bug where schema public namespace was not Pascal cased * fixing generated webhooks and server functions * try a KISS version of auto deploy prebuilt (#12) * P1) Update typescript client to remove warnings (#7) * ts-json-schema-generator used instead of outdated package + eslint upgrade * eslint hardcode * eslintignore removed * eslint.config.js renamed to eslint.config.mjs to prevent errors * lock file updated * fix complex types * fix server function runtime * downgrade package to fix the wrong export of subpackage issue (#14) * Improving safety of scrubKeys utility * lets test the auto-update prebuilt functionality * Changed command structure to fix windows glide bug (#15) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Dirty deployables are now added to git after being updated (#16) * Dirty deployables are now added to git after being updated * changed slice to replace * Changed log to warn * Re-fixed glide commit bug (#18) * Adding support for tabi tables, and fixing small bug when generating empty object type (#13) * Adding support for tabi tables, and fixing small bug when generating empty object type * Fix update query * Fix type on update query * sime minor tweaks to tabi query types * lint and fixing deleteOne response * adding count query and fixing tests * 4324 p2 add new field cachepolylibrary false to customfunction table if its set to true do the behavior now behind faascachingenabled (#19) * adds support for cachePolyLibrary for server functions in glide and cache-poly-library flag * increment version * P3) TS Client: Log PolyAPI Library version on function startup (#20) * welcome message for users with package version * show welcome message on first use * Updating server function configs to support more properties, allowing for setting description via the config, and fixing bug where tabi tables could not be lowercase * 4504 p3 glide bug npx poly prepare does not find any deployables in windows (#21) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Fixed config name TypeError * Revert "Fixed config name TypeError" This reverts commit 7b32086. * Fixed windows find deployables command to ignore files without polyConfig * Making sure api function call errors aren't logged unless LOGS_ENABLED environment flag is truthy * Remove the welcome message for now * Windows glide duplicate deployables fix (#22) * Changed windows command for finding deployables to ensure that the same file is not found multiple times * Added replace to remove file paths in glide prepare * version * version * Removing the updateOne and deleteOne queries from Tabi for now since they don't really work! * Warn on schema fallback (#25) * Added warning when falling back to unknown type * Bumped version * Moved warning to schemaTypes to ensure that warnings are not duplicated * Added falling back message * added scrubbing to api function requestArgs (#27) * added scrubbing to api function requestArgs * Changed iteration to go through keys, added scrubbing to scrubKeys, changed * to 8 * closed some holes and fixed some edge cases * cleaning the scrubbing * bumped version * changed Record to Partial<Record> * Changed import path (#29) * Fix scrub import again (#30) * reversed imports * bumped version * added scrub to exports * Changed warning message (#31) * Changed warning message * reworded message * removed the afro * assigned scrub to a variable instead of just doing nothing with it (#33) * assigned scrub to a variable instead of just doing nothing with it * update --------- Co-authored-by: Dan Fellin <dan@highwaterlabs.com> * missed on scrub call to args * lets link to the OSS repo doh * fix * Commented out warnings (#34) * Commented out warnings * bumped version --------- Co-authored-by: Richard <github.agonize754@passmail.net> Co-authored-by: SudiptaTJ <sudipta.kumar@techjays.com> Co-authored-by: Dan Fellin <dan@polyapi.io> Co-authored-by: Dan Fellin <dan@highwaterlabs.com> Co-authored-by: Daniel-Estoll <115661842+Daniel-Estoll@users.noreply.github.com>
* some cleanup and bringing over hidden files * bringing over the deploy workflow * adding CI/CD workflows * updating to use npm cache instead of yarn * Bringing in Richard's updates! * Some missed cleanup, missing dev dependencies, and fixed build. * hard pinned package versions (#2) * adding husky pre-commit hook for linting * # Feature (4156): P3) Bug with deploying a client function after it a… (#1) * # Feature (4156): P3) Bug with deploying a client function after it as deployed as a server function - Refactoring npm client - Verification added for checking existing function by name and context - color updated * Fixing bug where client was not resolving dependencies correctly * adding missing dependency for testing, and fixing issue where some names in the generated schemas were not being wrapped in quotes * Handling x-poly-refs contained with function arguments that are themselves function types (fixes webhook types and more) * improve logging of failed api function calls (#4) * improve logging of failed api function calls * Update templates/api-index.js.hbs Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * onward --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * P2) (MS) npm client: add direct execute option and MTLS option (#3) * adds direct execute and mtls options support * reversed unintended change * fixed metric names + http agent to be created only once * version increment * lost my logging in code review, lets go agane (#6) * P3) VSCode Extension: Add a Refresh Button to Tree View #4107 (#5) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - Version updated * 4372 update contexts info from terminal (#8) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - if contexts is empty then it will not save in .config.env * schema generation improvements Supporting $refs defined inline within a schema. Fixing bug where allowing additional attributes on objects by default. Fixing bug where additional attributes generated name was wrapped in extra quotes. Fixing bug where schemas without contexts would fail to be generated. Improving schema generation to remove the extra interfaces which just cause noise for users. Removing yarn.lock since we only use NPM in this repo * Bumping to 0.23.19 to follow Richard's PR * # Feature (2790): P4) Ability to control npx poly generate via an extra view in VS code extension (can repurpose the configuration UI) (#11) - Local config updated - Version updated * try new action * Revert "try new action" This reverts commit 540feeb. * Bug fixes and improvements - Catching axios errors and scrubbing them of polyapi tokens and secrets - Fixing schema generation to remove extra, empty interfaces - Adding support for schemas with refs to inline definitions - Fixing bug where schemas with no contexts would not be generated - Fixing bug where schema public namespace was not Pascal cased * fixing generated webhooks and server functions * try a KISS version of auto deploy prebuilt (#12) * P1) Update typescript client to remove warnings (#7) * ts-json-schema-generator used instead of outdated package + eslint upgrade * eslint hardcode * eslintignore removed * eslint.config.js renamed to eslint.config.mjs to prevent errors * lock file updated * fix complex types * fix server function runtime * downgrade package to fix the wrong export of subpackage issue (#14) * Improving safety of scrubKeys utility * lets test the auto-update prebuilt functionality * Changed command structure to fix windows glide bug (#15) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Dirty deployables are now added to git after being updated (#16) * Dirty deployables are now added to git after being updated * changed slice to replace * Changed log to warn * Re-fixed glide commit bug (#18) * Adding support for tabi tables, and fixing small bug when generating empty object type (#13) * Adding support for tabi tables, and fixing small bug when generating empty object type * Fix update query * Fix type on update query * sime minor tweaks to tabi query types * lint and fixing deleteOne response * adding count query and fixing tests * 4324 p2 add new field cachepolylibrary false to customfunction table if its set to true do the behavior now behind faascachingenabled (#19) * adds support for cachePolyLibrary for server functions in glide and cache-poly-library flag * increment version * P3) TS Client: Log PolyAPI Library version on function startup (#20) * welcome message for users with package version * show welcome message on first use * Updating server function configs to support more properties, allowing for setting description via the config, and fixing bug where tabi tables could not be lowercase * 4504 p3 glide bug npx poly prepare does not find any deployables in windows (#21) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Fixed config name TypeError * Revert "Fixed config name TypeError" This reverts commit 7b32086. * Fixed windows find deployables command to ignore files without polyConfig * Making sure api function call errors aren't logged unless LOGS_ENABLED environment flag is truthy * Remove the welcome message for now * Windows glide duplicate deployables fix (#22) * Changed windows command for finding deployables to ensure that the same file is not found multiple times * Added replace to remove file paths in glide prepare * version * version * Removing the updateOne and deleteOne queries from Tabi for now since they don't really work! * Warn on schema fallback (#25) * Added warning when falling back to unknown type * Bumped version * Moved warning to schemaTypes to ensure that warnings are not duplicated * Added falling back message * added scrubbing to api function requestArgs (#27) * added scrubbing to api function requestArgs * Changed iteration to go through keys, added scrubbing to scrubKeys, changed * to 8 * closed some holes and fixed some edge cases * cleaning the scrubbing * bumped version * changed Record to Partial<Record> * Changed import path (#29) * Fix scrub import again (#30) * reversed imports * bumped version * added scrub to exports * Changed warning message (#31) * Changed warning message * reworded message * removed the afro * assigned scrub to a variable instead of just doing nothing with it (#33) * assigned scrub to a variable instead of just doing nothing with it * update --------- Co-authored-by: Dan Fellin <dan@highwaterlabs.com> * missed on scrub call to args * lets link to the OSS repo doh * fix * Commented out warnings (#34) * Commented out warnings * bumped version * bump form-data * fixing glide deployment to also check remote destination to confirm if deployment already exists or if it really needs updated (#39) * added visibility argument to function add command (#32) * added visibility argument to function add command * bumped version * Added visibility to sync * Updated properties and removed enum typecasting * bumped version * bumped version --------- Co-authored-by: Richard <github.agonize754@passmail.net> Co-authored-by: SudiptaTJ <sudipta.kumar@techjays.com> Co-authored-by: Dan Fellin <dan@polyapi.io> Co-authored-by: Dan Fellin <dan@highwaterlabs.com> Co-authored-by: Daniel-Estoll <115661842+Daniel-Estoll@users.noreply.github.com>
* some cleanup and bringing over hidden files * bringing over the deploy workflow * adding CI/CD workflows * updating to use npm cache instead of yarn * Bringing in Richard's updates! * Some missed cleanup, missing dev dependencies, and fixed build. * hard pinned package versions (#2) * adding husky pre-commit hook for linting * # Feature (4156): P3) Bug with deploying a client function after it a… (#1) * # Feature (4156): P3) Bug with deploying a client function after it as deployed as a server function - Refactoring npm client - Verification added for checking existing function by name and context - color updated * Fixing bug where client was not resolving dependencies correctly * adding missing dependency for testing, and fixing issue where some names in the generated schemas were not being wrapped in quotes * Handling x-poly-refs contained with function arguments that are themselves function types (fixes webhook types and more) * improve logging of failed api function calls (#4) * improve logging of failed api function calls * Update templates/api-index.js.hbs Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * onward --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * P2) (MS) npm client: add direct execute option and MTLS option (#3) * adds direct execute and mtls options support * reversed unintended change * fixed metric names + http agent to be created only once * version increment * lost my logging in code review, lets go agane (#6) * P3) VSCode Extension: Add a Refresh Button to Tree View #4107 (#5) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - Version updated * 4372 update contexts info from terminal (#8) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - if contexts is empty then it will not save in .config.env * schema generation improvements Supporting $refs defined inline within a schema. Fixing bug where allowing additional attributes on objects by default. Fixing bug where additional attributes generated name was wrapped in extra quotes. Fixing bug where schemas without contexts would fail to be generated. Improving schema generation to remove the extra interfaces which just cause noise for users. Removing yarn.lock since we only use NPM in this repo * Bumping to 0.23.19 to follow Richard's PR * # Feature (2790): P4) Ability to control npx poly generate via an extra view in VS code extension (can repurpose the configuration UI) (#11) - Local config updated - Version updated * try new action * Revert "try new action" This reverts commit 540feeb. * Bug fixes and improvements - Catching axios errors and scrubbing them of polyapi tokens and secrets - Fixing schema generation to remove extra, empty interfaces - Adding support for schemas with refs to inline definitions - Fixing bug where schemas with no contexts would not be generated - Fixing bug where schema public namespace was not Pascal cased * fixing generated webhooks and server functions * try a KISS version of auto deploy prebuilt (#12) * P1) Update typescript client to remove warnings (#7) * ts-json-schema-generator used instead of outdated package + eslint upgrade * eslint hardcode * eslintignore removed * eslint.config.js renamed to eslint.config.mjs to prevent errors * lock file updated * fix complex types * fix server function runtime * downgrade package to fix the wrong export of subpackage issue (#14) * Improving safety of scrubKeys utility * lets test the auto-update prebuilt functionality * Changed command structure to fix windows glide bug (#15) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Dirty deployables are now added to git after being updated (#16) * Dirty deployables are now added to git after being updated * changed slice to replace * Changed log to warn * Re-fixed glide commit bug (#18) * Adding support for tabi tables, and fixing small bug when generating empty object type (#13) * Adding support for tabi tables, and fixing small bug when generating empty object type * Fix update query * Fix type on update query * sime minor tweaks to tabi query types * lint and fixing deleteOne response * adding count query and fixing tests * 4324 p2 add new field cachepolylibrary false to customfunction table if its set to true do the behavior now behind faascachingenabled (#19) * adds support for cachePolyLibrary for server functions in glide and cache-poly-library flag * increment version * P3) TS Client: Log PolyAPI Library version on function startup (#20) * welcome message for users with package version * show welcome message on first use * Updating server function configs to support more properties, allowing for setting description via the config, and fixing bug where tabi tables could not be lowercase * 4504 p3 glide bug npx poly prepare does not find any deployables in windows (#21) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Fixed config name TypeError * Revert "Fixed config name TypeError" This reverts commit 7b32086. * Fixed windows find deployables command to ignore files without polyConfig * Making sure api function call errors aren't logged unless LOGS_ENABLED environment flag is truthy * Remove the welcome message for now * Windows glide duplicate deployables fix (#22) * Changed windows command for finding deployables to ensure that the same file is not found multiple times * Added replace to remove file paths in glide prepare * version * version * Removing the updateOne and deleteOne queries from Tabi for now since they don't really work! * Warn on schema fallback (#25) * Added warning when falling back to unknown type * Bumped version * Moved warning to schemaTypes to ensure that warnings are not duplicated * Added falling back message * added scrubbing to api function requestArgs (#27) * added scrubbing to api function requestArgs * Changed iteration to go through keys, added scrubbing to scrubKeys, changed * to 8 * closed some holes and fixed some edge cases * cleaning the scrubbing * bumped version * changed Record to Partial<Record> * Changed import path (#29) * Fix scrub import again (#30) * reversed imports * bumped version * added scrub to exports * Changed warning message (#31) * Changed warning message * reworded message * removed the afro * assigned scrub to a variable instead of just doing nothing with it (#33) * assigned scrub to a variable instead of just doing nothing with it * update --------- Co-authored-by: Dan Fellin <dan@highwaterlabs.com> * missed on scrub call to args * lets link to the OSS repo doh * fix * Commented out warnings (#34) * Commented out warnings * bumped version * bump form-data * fixing glide deployment to also check remote destination to confirm if deployment already exists or if it really needs updated (#39) * added visibility argument to function add command (#32) * added visibility argument to function add command * bumped version * Added visibility to sync * Updated properties and removed enum typecasting * bumped version * bumped version * force image update * Adding support for listening over websockets for gql subscription event (#42) * bumping axios version * tracking dependencies, also fixing some logging, and adding the updateOne and deleteOne queries to tabi tables * Separate out public function internal dependencies from non-public ones * fix dependency parsing for client functions, and making new feature work with glide deployments * Fixing type error in the tabi count result type * fix small potential bug trying to save specs.json when lib hasn't been generated * keeping backwards compatibility for sfx requirements --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> Co-authored-by: Richard <github.agonize754@passmail.net> Co-authored-by: SudiptaTJ <sudipta.kumar@techjays.com> Co-authored-by: Dan Fellin <dan@polyapi.io> Co-authored-by: Dan Fellin <dan@highwaterlabs.com> Co-authored-by: Daniel-Estoll <115661842+Daniel-Estoll@users.noreply.github.com>
* some cleanup and bringing over hidden files * bringing over the deploy workflow * adding CI/CD workflows * updating to use npm cache instead of yarn * Bringing in Richard's updates! * Some missed cleanup, missing dev dependencies, and fixed build. * hard pinned package versions (#2) * adding husky pre-commit hook for linting * # Feature (4156): P3) Bug with deploying a client function after it a… (#1) * # Feature (4156): P3) Bug with deploying a client function after it as deployed as a server function - Refactoring npm client - Verification added for checking existing function by name and context - color updated * Fixing bug where client was not resolving dependencies correctly * adding missing dependency for testing, and fixing issue where some names in the generated schemas were not being wrapped in quotes * Handling x-poly-refs contained with function arguments that are themselves function types (fixes webhook types and more) * improve logging of failed api function calls (#4) * improve logging of failed api function calls * Update templates/api-index.js.hbs Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * onward --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * P2) (MS) npm client: add direct execute option and MTLS option (#3) * adds direct execute and mtls options support * reversed unintended change * fixed metric names + http agent to be created only once * version increment * lost my logging in code review, lets go agane (#6) * P3) VSCode Extension: Add a Refresh Button to Tree View #4107 (#5) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - Version updated * 4372 update contexts info from terminal (#8) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - if contexts is empty then it will not save in .config.env * schema generation improvements Supporting $refs defined inline within a schema. Fixing bug where allowing additional attributes on objects by default. Fixing bug where additional attributes generated name was wrapped in extra quotes. Fixing bug where schemas without contexts would fail to be generated. Improving schema generation to remove the extra interfaces which just cause noise for users. Removing yarn.lock since we only use NPM in this repo * Bumping to 0.23.19 to follow Richard's PR * # Feature (2790): P4) Ability to control npx poly generate via an extra view in VS code extension (can repurpose the configuration UI) (#11) - Local config updated - Version updated * try new action * Revert "try new action" This reverts commit 540feeb. * Bug fixes and improvements - Catching axios errors and scrubbing them of polyapi tokens and secrets - Fixing schema generation to remove extra, empty interfaces - Adding support for schemas with refs to inline definitions - Fixing bug where schemas with no contexts would not be generated - Fixing bug where schema public namespace was not Pascal cased * fixing generated webhooks and server functions * try a KISS version of auto deploy prebuilt (#12) * P1) Update typescript client to remove warnings (#7) * ts-json-schema-generator used instead of outdated package + eslint upgrade * eslint hardcode * eslintignore removed * eslint.config.js renamed to eslint.config.mjs to prevent errors * lock file updated * fix complex types * fix server function runtime * downgrade package to fix the wrong export of subpackage issue (#14) * Improving safety of scrubKeys utility * lets test the auto-update prebuilt functionality * Changed command structure to fix windows glide bug (#15) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Dirty deployables are now added to git after being updated (#16) * Dirty deployables are now added to git after being updated * changed slice to replace * Changed log to warn * Re-fixed glide commit bug (#18) * Adding support for tabi tables, and fixing small bug when generating empty object type (#13) * Adding support for tabi tables, and fixing small bug when generating empty object type * Fix update query * Fix type on update query * sime minor tweaks to tabi query types * lint and fixing deleteOne response * adding count query and fixing tests * 4324 p2 add new field cachepolylibrary false to customfunction table if its set to true do the behavior now behind faascachingenabled (#19) * adds support for cachePolyLibrary for server functions in glide and cache-poly-library flag * increment version * P3) TS Client: Log PolyAPI Library version on function startup (#20) * welcome message for users with package version * show welcome message on first use * Updating server function configs to support more properties, allowing for setting description via the config, and fixing bug where tabi tables could not be lowercase * 4504 p3 glide bug npx poly prepare does not find any deployables in windows (#21) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Fixed config name TypeError * Revert "Fixed config name TypeError" This reverts commit 7b32086. * Fixed windows find deployables command to ignore files without polyConfig * Making sure api function call errors aren't logged unless LOGS_ENABLED environment flag is truthy * Remove the welcome message for now * Windows glide duplicate deployables fix (#22) * Changed windows command for finding deployables to ensure that the same file is not found multiple times * Added replace to remove file paths in glide prepare * version * version * Removing the updateOne and deleteOne queries from Tabi for now since they don't really work! * Warn on schema fallback (#25) * Added warning when falling back to unknown type * Bumped version * Moved warning to schemaTypes to ensure that warnings are not duplicated * Added falling back message * added scrubbing to api function requestArgs (#27) * added scrubbing to api function requestArgs * Changed iteration to go through keys, added scrubbing to scrubKeys, changed * to 8 * closed some holes and fixed some edge cases * cleaning the scrubbing * bumped version * changed Record to Partial<Record> * Changed import path (#29) * Fix scrub import again (#30) * reversed imports * bumped version * added scrub to exports * Changed warning message (#31) * Changed warning message * reworded message * removed the afro * assigned scrub to a variable instead of just doing nothing with it (#33) * assigned scrub to a variable instead of just doing nothing with it * update --------- Co-authored-by: Dan Fellin <dan@highwaterlabs.com> * missed on scrub call to args * lets link to the OSS repo doh * fix * Commented out warnings (#34) * Commented out warnings * bumped version * bump form-data * fixing glide deployment to also check remote destination to confirm if deployment already exists or if it really needs updated (#39) * added visibility argument to function add command (#32) * added visibility argument to function add command * bumped version * Added visibility to sync * Updated properties and removed enum typecasting * bumped version * bumped version * force image update * Adding support for listening over websockets for gql subscription event (#42) * bumping axios version * tracking dependencies, also fixing some logging, and adding the updateOne and deleteOne queries to tabi tables * Separate out public function internal dependencies from non-public ones * fix dependency parsing for client functions, and making new feature work with glide deployments * Fixing type error in the tabi count result type * fix small potential bug trying to save specs.json when lib hasn't been generated * keeping backwards compatibility for sfx requirements * R27 🚀 (#43) * some cleanup and bringing over hidden files * bringing over the deploy workflow * adding CI/CD workflows * updating to use npm cache instead of yarn * Bringing in Richard's updates! * Some missed cleanup, missing dev dependencies, and fixed build. * hard pinned package versions (#2) * adding husky pre-commit hook for linting * # Feature (4156): P3) Bug with deploying a client function after it a… (#1) * # Feature (4156): P3) Bug with deploying a client function after it as deployed as a server function - Refactoring npm client - Verification added for checking existing function by name and context - color updated * Fixing bug where client was not resolving dependencies correctly * adding missing dependency for testing, and fixing issue where some names in the generated schemas were not being wrapped in quotes * Handling x-poly-refs contained with function arguments that are themselves function types (fixes webhook types and more) * improve logging of failed api function calls (#4) * improve logging of failed api function calls * Update templates/api-index.js.hbs Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * onward --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * P2) (MS) npm client: add direct execute option and MTLS option (#3) * adds direct execute and mtls options support * reversed unintended change * fixed metric names + http agent to be created only once * version increment * lost my logging in code review, lets go agane (#6) * P3) VSCode Extension: Add a Refresh Button to Tree View #4107 (#5) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - Version updated * 4372 update contexts info from terminal (#8) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - if contexts is empty then it will not save in .config.env * schema generation improvements Supporting $refs defined inline within a schema. Fixing bug where allowing additional attributes on objects by default. Fixing bug where additional attributes generated name was wrapped in extra quotes. Fixing bug where schemas without contexts would fail to be generated. Improving schema generation to remove the extra interfaces which just cause noise for users. Removing yarn.lock since we only use NPM in this repo * Bumping to 0.23.19 to follow Richard's PR * # Feature (2790): P4) Ability to control npx poly generate via an extra view in VS code extension (can repurpose the configuration UI) (#11) - Local config updated - Version updated * try new action * Revert "try new action" This reverts commit 540feeb. * Bug fixes and improvements - Catching axios errors and scrubbing them of polyapi tokens and secrets - Fixing schema generation to remove extra, empty interfaces - Adding support for schemas with refs to inline definitions - Fixing bug where schemas with no contexts would not be generated - Fixing bug where schema public namespace was not Pascal cased * fixing generated webhooks and server functions * try a KISS version of auto deploy prebuilt (#12) * P1) Update typescript client to remove warnings (#7) * ts-json-schema-generator used instead of outdated package + eslint upgrade * eslint hardcode * eslintignore removed * eslint.config.js renamed to eslint.config.mjs to prevent errors * lock file updated * fix complex types * fix server function runtime * downgrade package to fix the wrong export of subpackage issue (#14) * Improving safety of scrubKeys utility * lets test the auto-update prebuilt functionality * Changed command structure to fix windows glide bug (#15) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Dirty deployables are now added to git after being updated (#16) * Dirty deployables are now added to git after being updated * changed slice to replace * Changed log to warn * Re-fixed glide commit bug (#18) * Adding support for tabi tables, and fixing small bug when generating empty object type (#13) * Adding support for tabi tables, and fixing small bug when generating empty object type * Fix update query * Fix type on update query * sime minor tweaks to tabi query types * lint and fixing deleteOne response * adding count query and fixing tests * 4324 p2 add new field cachepolylibrary false to customfunction table if its set to true do the behavior now behind faascachingenabled (#19) * adds support for cachePolyLibrary for server functions in glide and cache-poly-library flag * increment version * P3) TS Client: Log PolyAPI Library version on function startup (#20) * welcome message for users with package version * show welcome message on first use * Updating server function configs to support more properties, allowing for setting description via the config, and fixing bug where tabi tables could not be lowercase * 4504 p3 glide bug npx poly prepare does not find any deployables in windows (#21) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Fixed config name TypeError * Revert "Fixed config name TypeError" This reverts commit 7b32086. * Fixed windows find deployables command to ignore files without polyConfig * Making sure api function call errors aren't logged unless LOGS_ENABLED environment flag is truthy * Remove the welcome message for now * Windows glide duplicate deployables fix (#22) * Changed windows command for finding deployables to ensure that the same file is not found multiple times * Added replace to remove file paths in glide prepare * version * version * Removing the updateOne and deleteOne queries from Tabi for now since they don't really work! * Warn on schema fallback (#25) * Added warning when falling back to unknown type * Bumped version * Moved warning to schemaTypes to ensure that warnings are not duplicated * Added falling back message * added scrubbing to api function requestArgs (#27) * added scrubbing to api function requestArgs * Changed iteration to go through keys, added scrubbing to scrubKeys, changed * to 8 * closed some holes and fixed some edge cases * cleaning the scrubbing * bumped version * changed Record to Partial<Record> * Changed import path (#29) * Fix scrub import again (#30) * reversed imports * bumped version * added scrub to exports * Changed warning message (#31) * Changed warning message * reworded message * removed the afro * assigned scrub to a variable instead of just doing nothing with it (#33) * assigned scrub to a variable instead of just doing nothing with it * update --------- Co-authored-by: Dan Fellin <dan@highwaterlabs.com> * missed on scrub call to args * lets link to the OSS repo doh * fix * Commented out warnings (#34) * Commented out warnings * bumped version * bump form-data * fixing glide deployment to also check remote destination to confirm if deployment already exists or if it really needs updated (#39) * added visibility argument to function add command (#32) * added visibility argument to function add command * bumped version * Added visibility to sync * Updated properties and removed enum typecasting * bumped version * bumped version * force image update * Adding support for listening over websockets for gql subscription event (#42) * bumping axios version * tracking dependencies, also fixing some logging, and adding the updateOne and deleteOne queries to tabi tables * Separate out public function internal dependencies from non-public ones * fix dependency parsing for client functions, and making new feature work with glide deployments * Fixing type error in the tabi count result type * fix small potential bug trying to save specs.json when lib hasn't been generated * keeping backwards compatibility for sfx requirements --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> Co-authored-by: Richard <github.agonize754@passmail.net> Co-authored-by: SudiptaTJ <sudipta.kumar@techjays.com> Co-authored-by: Dan Fellin <dan@polyapi.io> Co-authored-by: Dan Fellin <dan@highwaterlabs.com> Co-authored-by: Daniel-Estoll <115661842+Daniel-Estoll@users.noreply.github.com> * Fixed transpiler to handle case where package.json file does not exist. * Turning on strict null checks to prevent bugs like the one I'm fixing with function requirements! * Revert "Turning on strict null checks to prevent bugs like the one I'm fixing with function requirements!" This reverts commit 6c0e2f5. * Slimmed down changes for hotfixing * Generating SDK into temp directory and then swapping it in more atomically for the lib directory * Bump version to deploy sdk generate fix! * More robust internal dependency parsing * comments --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> Co-authored-by: Richard <github.agonize754@passmail.net> Co-authored-by: SudiptaTJ <sudipta.kumar@techjays.com> Co-authored-by: Dan Fellin <dan@polyapi.io> Co-authored-by: Dan Fellin <dan@highwaterlabs.com> Co-authored-by: Daniel-Estoll <115661842+Daniel-Estoll@users.noreply.github.com>
* some cleanup and bringing over hidden files * bringing over the deploy workflow * adding CI/CD workflows * updating to use npm cache instead of yarn * Bringing in Richard's updates! * Some missed cleanup, missing dev dependencies, and fixed build. * hard pinned package versions (#2) * adding husky pre-commit hook for linting * # Feature (4156): P3) Bug with deploying a client function after it a… (#1) * # Feature (4156): P3) Bug with deploying a client function after it as deployed as a server function - Refactoring npm client - Verification added for checking existing function by name and context - color updated * Fixing bug where client was not resolving dependencies correctly * adding missing dependency for testing, and fixing issue where some names in the generated schemas were not being wrapped in quotes * Handling x-poly-refs contained with function arguments that are themselves function types (fixes webhook types and more) * improve logging of failed api function calls (#4) * improve logging of failed api function calls * Update templates/api-index.js.hbs Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * onward --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * P2) (MS) npm client: add direct execute option and MTLS option (#3) * adds direct execute and mtls options support * reversed unintended change * fixed metric names + http agent to be created only once * version increment * lost my logging in code review, lets go agane (#6) * P3) VSCode Extension: Add a Refresh Button to Tree View #4107 (#5) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - Version updated * 4372 update contexts info from terminal (#8) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - if contexts is empty then it will not save in .config.env * schema generation improvements Supporting $refs defined inline within a schema. Fixing bug where allowing additional attributes on objects by default. Fixing bug where additional attributes generated name was wrapped in extra quotes. Fixing bug where schemas without contexts would fail to be generated. Improving schema generation to remove the extra interfaces which just cause noise for users. Removing yarn.lock since we only use NPM in this repo * Bumping to 0.23.19 to follow Richard's PR * # Feature (2790): P4) Ability to control npx poly generate via an extra view in VS code extension (can repurpose the configuration UI) (#11) - Local config updated - Version updated * try new action * Revert "try new action" This reverts commit 540feeb. * Bug fixes and improvements - Catching axios errors and scrubbing them of polyapi tokens and secrets - Fixing schema generation to remove extra, empty interfaces - Adding support for schemas with refs to inline definitions - Fixing bug where schemas with no contexts would not be generated - Fixing bug where schema public namespace was not Pascal cased * fixing generated webhooks and server functions * try a KISS version of auto deploy prebuilt (#12) * P1) Update typescript client to remove warnings (#7) * ts-json-schema-generator used instead of outdated package + eslint upgrade * eslint hardcode * eslintignore removed * eslint.config.js renamed to eslint.config.mjs to prevent errors * lock file updated * fix complex types * fix server function runtime * downgrade package to fix the wrong export of subpackage issue (#14) * Improving safety of scrubKeys utility * lets test the auto-update prebuilt functionality * Changed command structure to fix windows glide bug (#15) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Dirty deployables are now added to git after being updated (#16) * Dirty deployables are now added to git after being updated * changed slice to replace * Changed log to warn * Re-fixed glide commit bug (#18) * Adding support for tabi tables, and fixing small bug when generating empty object type (#13) * Adding support for tabi tables, and fixing small bug when generating empty object type * Fix update query * Fix type on update query * sime minor tweaks to tabi query types * lint and fixing deleteOne response * adding count query and fixing tests * 4324 p2 add new field cachepolylibrary false to customfunction table if its set to true do the behavior now behind faascachingenabled (#19) * adds support for cachePolyLibrary for server functions in glide and cache-poly-library flag * increment version * P3) TS Client: Log PolyAPI Library version on function startup (#20) * welcome message for users with package version * show welcome message on first use * Updating server function configs to support more properties, allowing for setting description via the config, and fixing bug where tabi tables could not be lowercase * 4504 p3 glide bug npx poly prepare does not find any deployables in windows (#21) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Fixed config name TypeError * Revert "Fixed config name TypeError" This reverts commit 7b32086. * Fixed windows find deployables command to ignore files without polyConfig * Making sure api function call errors aren't logged unless LOGS_ENABLED environment flag is truthy * Remove the welcome message for now * Windows glide duplicate deployables fix (#22) * Changed windows command for finding deployables to ensure that the same file is not found multiple times * Added replace to remove file paths in glide prepare * version * version * Removing the updateOne and deleteOne queries from Tabi for now since they don't really work! * Warn on schema fallback (#25) * Added warning when falling back to unknown type * Bumped version * Moved warning to schemaTypes to ensure that warnings are not duplicated * Added falling back message * added scrubbing to api function requestArgs (#27) * added scrubbing to api function requestArgs * Changed iteration to go through keys, added scrubbing to scrubKeys, changed * to 8 * closed some holes and fixed some edge cases * cleaning the scrubbing * bumped version * changed Record to Partial<Record> * Changed import path (#29) * Fix scrub import again (#30) * reversed imports * bumped version * added scrub to exports * Changed warning message (#31) * Changed warning message * reworded message * removed the afro * assigned scrub to a variable instead of just doing nothing with it (#33) * assigned scrub to a variable instead of just doing nothing with it * update --------- Co-authored-by: Dan Fellin <dan@highwaterlabs.com> * missed on scrub call to args * lets link to the OSS repo doh * fix * Commented out warnings (#34) * Commented out warnings * bumped version * bump form-data * fixing glide deployment to also check remote destination to confirm if deployment already exists or if it really needs updated (#39) * added visibility argument to function add command (#32) * added visibility argument to function add command * bumped version * Added visibility to sync * Updated properties and removed enum typecasting * bumped version * bumped version * force image update * Adding support for listening over websockets for gql subscription event (#42) * bumping axios version * tracking dependencies, also fixing some logging, and adding the updateOne and deleteOne queries to tabi tables * Separate out public function internal dependencies from non-public ones * fix dependency parsing for client functions, and making new feature work with glide deployments * Fixing type error in the tabi count result type * fix small potential bug trying to save specs.json when lib hasn't been generated * keeping backwards compatibility for sfx requirements * R27 🚀 (#43) * some cleanup and bringing over hidden files * bringing over the deploy workflow * adding CI/CD workflows * updating to use npm cache instead of yarn * Bringing in Richard's updates! * Some missed cleanup, missing dev dependencies, and fixed build. * hard pinned package versions (#2) * adding husky pre-commit hook for linting * # Feature (4156): P3) Bug with deploying a client function after it a… (#1) * # Feature (4156): P3) Bug with deploying a client function after it as deployed as a server function - Refactoring npm client - Verification added for checking existing function by name and context - color updated * Fixing bug where client was not resolving dependencies correctly * adding missing dependency for testing, and fixing issue where some names in the generated schemas were not being wrapped in quotes * Handling x-poly-refs contained with function arguments that are themselves function types (fixes webhook types and more) * improve logging of failed api function calls (#4) * improve logging of failed api function calls * Update templates/api-index.js.hbs Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * onward --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> * P2) (MS) npm client: add direct execute option and MTLS option (#3) * adds direct execute and mtls options support * reversed unintended change * fixed metric names + http agent to be created only once * version increment * lost my logging in code review, lets go agane (#6) * P3) VSCode Extension: Add a Refresh Button to Tree View #4107 (#5) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - Version updated * 4372 update contexts info from terminal (#8) * # Feature (4107): P3) VSCode Extension: Add a Refresh Button to Tree View - load config now can return value - Add or Update config function added - if contexts is empty then it will not save in .config.env * schema generation improvements Supporting $refs defined inline within a schema. Fixing bug where allowing additional attributes on objects by default. Fixing bug where additional attributes generated name was wrapped in extra quotes. Fixing bug where schemas without contexts would fail to be generated. Improving schema generation to remove the extra interfaces which just cause noise for users. Removing yarn.lock since we only use NPM in this repo * Bumping to 0.23.19 to follow Richard's PR * # Feature (2790): P4) Ability to control npx poly generate via an extra view in VS code extension (can repurpose the configuration UI) (#11) - Local config updated - Version updated * try new action * Revert "try new action" This reverts commit 540feeb. * Bug fixes and improvements - Catching axios errors and scrubbing them of polyapi tokens and secrets - Fixing schema generation to remove extra, empty interfaces - Adding support for schemas with refs to inline definitions - Fixing bug where schemas with no contexts would not be generated - Fixing bug where schema public namespace was not Pascal cased * fixing generated webhooks and server functions * try a KISS version of auto deploy prebuilt (#12) * P1) Update typescript client to remove warnings (#7) * ts-json-schema-generator used instead of outdated package + eslint upgrade * eslint hardcode * eslintignore removed * eslint.config.js renamed to eslint.config.mjs to prevent errors * lock file updated * fix complex types * fix server function runtime * downgrade package to fix the wrong export of subpackage issue (#14) * Improving safety of scrubKeys utility * lets test the auto-update prebuilt functionality * Changed command structure to fix windows glide bug (#15) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Dirty deployables are now added to git after being updated (#16) * Dirty deployables are now added to git after being updated * changed slice to replace * Changed log to warn * Re-fixed glide commit bug (#18) * Adding support for tabi tables, and fixing small bug when generating empty object type (#13) * Adding support for tabi tables, and fixing small bug when generating empty object type * Fix update query * Fix type on update query * sime minor tweaks to tabi query types * lint and fixing deleteOne response * adding count query and fixing tests * 4324 p2 add new field cachepolylibrary false to customfunction table if its set to true do the behavior now behind faascachingenabled (#19) * adds support for cachePolyLibrary for server functions in glide and cache-poly-library flag * increment version * P3) TS Client: Log PolyAPI Library version on function startup (#20) * welcome message for users with package version * show welcome message on first use * Updating server function configs to support more properties, allowing for setting description via the config, and fixing bug where tabi tables could not be lowercase * 4504 p3 glide bug npx poly prepare does not find any deployables in windows (#21) * Changed command structure to fix windows glide bug * Added comment to explain strange syntax * Allowed directories to be specified in the command * Updated excludeCommand quotations and comment * Updated version * Added package-lock.json * Fixed config name TypeError * Revert "Fixed config name TypeError" This reverts commit 7b32086. * Fixed windows find deployables command to ignore files without polyConfig * Making sure api function call errors aren't logged unless LOGS_ENABLED environment flag is truthy * Remove the welcome message for now * Windows glide duplicate deployables fix (#22) * Changed windows command for finding deployables to ensure that the same file is not found multiple times * Added replace to remove file paths in glide prepare * version * version * Removing the updateOne and deleteOne queries from Tabi for now since they don't really work! * Warn on schema fallback (#25) * Added warning when falling back to unknown type * Bumped version * Moved warning to schemaTypes to ensure that warnings are not duplicated * Added falling back message * added scrubbing to api function requestArgs (#27) * added scrubbing to api function requestArgs * Changed iteration to go through keys, added scrubbing to scrubKeys, changed * to 8 * closed some holes and fixed some edge cases * cleaning the scrubbing * bumped version * changed Record to Partial<Record> * Changed import path (#29) * Fix scrub import again (#30) * reversed imports * bumped version * added scrub to exports * Changed warning message (#31) * Changed warning message * reworded message * removed the afro * assigned scrub to a variable instead of just doing nothing with it (#33) * assigned scrub to a variable instead of just doing nothing with it * update --------- Co-authored-by: Dan Fellin <dan@highwaterlabs.com> * missed on scrub call to args * lets link to the OSS repo doh * fix * Commented out warnings (#34) * Commented out warnings * bumped version * bump form-data * fixing glide deployment to also check remote destination to confirm if deployment already exists or if it really needs updated (#39) * added visibility argument to function add command (#32) * added visibility argument to function add command * bumped version * Added visibility to sync * Updated properties and removed enum typecasting * bumped version * bumped version * force image update * Adding support for listening over websockets for gql subscription event (#42) * bumping axios version * tracking dependencies, also fixing some logging, and adding the updateOne and deleteOne queries to tabi tables * Separate out public function internal dependencies from non-public ones * fix dependency parsing for client functions, and making new feature work with glide deployments * Fixing type error in the tabi count result type * fix small potential bug trying to save specs.json when lib hasn't been generated * keeping backwards compatibility for sfx requirements --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> Co-authored-by: Richard <github.agonize754@passmail.net> Co-authored-by: SudiptaTJ <sudipta.kumar@techjays.com> Co-authored-by: Dan Fellin <dan@polyapi.io> Co-authored-by: Dan Fellin <dan@highwaterlabs.com> Co-authored-by: Daniel-Estoll <115661842+Daniel-Estoll@users.noreply.github.com> * Fixed transpiler to handle case where package.json file does not exist. * Turning on strict null checks to prevent bugs like the one I'm fixing with function requirements! * Revert "Turning on strict null checks to prevent bugs like the one I'm fixing with function requirements!" This reverts commit 6c0e2f5. * Slimmed down changes for hotfixing * Generating SDK into temp directory and then swapping it in more atomically for the lib directory * Bump version to deploy sdk generate fix! * More robust internal dependency parsing * comments --------- Co-authored-by: Aaron Goin <aarongoin@users.noreply.github.com> Co-authored-by: Richard <github.agonize754@passmail.net> Co-authored-by: SudiptaTJ <sudipta.kumar@techjays.com> Co-authored-by: Dan Fellin <dan@polyapi.io> Co-authored-by: Dan Fellin <dan@highwaterlabs.com> Co-authored-by: Daniel-Estoll <115661842+Daniel-Estoll@users.noreply.github.com>
Please see also little logging improvement for testing this:
https://github.com/polyapi/poly-alpha/commit/8a2a8069e7c6d1ffdee337bf6979ae8644632bfe
See ticket https://github.com/polyapi/poly-alpha/issues/4112