Commit graph

38 commits

Author SHA1 Message Date
Sarthak Agarwal
1cb2051b15
consistency in formatting across ide & js projs (#1499)
### **PR Type**
- Enhancement



___

### **Description**
- Add pre-commit hook integration and formatting commands

- Introduce lint-staged and simple-git-hooks into package scripts

- Update prettier configuration and ignore files for consistency

- Refresh dependency lock files with new tooling entries


___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Dependencies</strong></td><td><details><summary>2
files</summary><table>
<tr>
<td><strong>package-lock.json</strong><dd><code>Update dependency lock
with new tooling entries</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-54c17cef859f033fc84a59da2e977235ebc494943710c25d132e310ec500c5ef">+754/-2</a>&nbsp;
</td>

</tr>

<tr>
<td><strong>package-lock.json</strong><dd><code>Refresh package lock
with lint and formatting tools</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-75446c74353509ca0232d6a1350aef075ced8f72bd568e9bafa09cf255683142">+743/-0</a>&nbsp;
</td>

</tr>
</table></details></td></tr><tr><td><strong>Configuration
changes</strong></td><td><details><summary>4 files</summary><table>
<tr>
<td><strong>package.json</strong><dd><code>Add formatting, lint and
pre-commit hook scripts</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-4edec169b0f8d3312edaf35b5cc8521fe1edfa163ce174f60eff51906896601f">+34/-17</a>&nbsp;
</td>

</tr>

<tr>
<td><strong>package.json</strong><dd><code>Introduce formatting commands
and pre-commit hooks</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-53ddfb1f8a02f1231d3d15a2e694ffe1407d2cc01d3e685de5653b67fec571c7">+18/-1</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>package.json</strong><dd><code>Integrate pre-commit hook and
formatting configurations</code>&nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-b0d32af9c2caaba1377ec3e924eb553105cdc86e244018ffc6a866c530523599">+20/-3</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>settings.json</strong><dd><code>Enhance VSCode settings for
auto-format and lint fixes</code>&nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-a5de3e5871ffcc383a2294845bd3df25d3eeff6c29ad46e3a396577c413bf357">+13/-1</a>&nbsp;
&nbsp; </td>

</tr>

</table></details></td></tr><tr><td><strong>Documentation</strong></td><td><details><summary>7
files</summary><table>
<tr>
<td><strong>.editorconfig</strong><dd><code>Add consistent editor
settings for file formatting</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-0947e2727d6bad8cd0ac4122f5314bb5b04e337393075bc4b5ef143b17fcbd5b">+32/-0</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>.prettierrc</strong><dd><code>Update prettier config with
extended formatting rules</code>&nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-ce5b7ae243151fb6eb3db1799b95d5c50ce2fe5080e8365c7834f81e8a44aade">+10/-4</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>.prettierrc</strong><dd><code>Update prettier settings for
consistent code style</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-e169a799a8a22863b844d1c816ebb5798c0bcf8151503b0329bf60a2b3050b03">+10/-4</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>.prettierrc</strong><dd><code>Add new prettier configuration
file</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-7058ba9d421d7fa280582bcc9a2053e64ec0b2bb700ae46cb7073f295d154713">+10/-0</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>.prettierignore</strong><dd><code>Extend ignore rules with
node_modules and dist folders</code>&nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-a33307d68affc99ba88b1b79308f622350c8306bdeac2368b70d99ce72a7c8fa">+3/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>.prettierignore</strong><dd><code>Add ignore patterns for
node_modules and dist directories</code></dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-8f0741d174231baef1746c1fdb003dc727bb4416e16e99166edc020670861c1d">+2/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>.prettierignore</strong><dd><code>Update ignore file to
include node_modules and dist folders</code></dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-e84a66c182e9d121fc156f4b50d606f385b591ed493f8c284628451d58907875">+2/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></details></td></tr><tr><td><strong>Additional
files</strong></td><td><details><summary>1 files</summary><table>
<tr>
  <td><strong>package-lock.json</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-0214c85d1717ad8b736e0296bb8cbf50db2aed068f31316d3c39904824a14f8e">+1026/-52</a></td>

</tr>
</table></details></td></tr></tr></tbody></table>

___

> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a>
for more information.</li></details>
2025-03-04 23:52:45 +00:00
Sarthak Agarwal
bcf6644656
dedup the prisma.schema file and minor fixes & upgrade on version (#1417)
### **User description**

Closes
https://linear.app/codeflash-ai/issue/CF-511/dedupe-the-js-directory-in-code


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Dependency Updates**
	- Updated `@codeflash-ai/common` package version to 1.0.9
	- Updated `@prisma/client` and `prisma` dependencies to version 6.2.1
	- Added TypeScript dev dependency

- **Package Configuration**
	- Updated import paths for common modules
	- Added build and clean scripts
	- Modified package entry points
	- Added transpilation configuration for Next.js

- **Prisma Schema Changes**
- Removed database models for API keys, users, and optimization features

- **Code Refactoring**
	- Improved type safety in function signatures
	- Updated import statements
	- Standardized code formatting
	- Enhanced error handling with optional chaining

- **Infrastructure**
	- Updated GitHub npm registry authentication token
	- Added TypeScript configuration file
	- Introduced new README documentation for project setup and usage
<!-- end of auto-generated comment: release notes by coderabbit.ai -->


___

### **PR Type**
Enhancement, Bug fix, Dependencies


___

### **Description**
- Updated Prisma dependencies to version 6.2.1 across multiple packages.

- Added new npm scripts for Prisma migrations and generation.

- Refactored and improved code formatting in `pr-changes-utils.ts`.

- Fixed issues with file path handling in `pr-changes-utils.ts`.


___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>1
files</summary><table>
<tr>
<td><strong>pr-changes-utils.ts</strong><dd><code>Refactored utility
functions and improved code formatting</code></dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-ac6988771dc3fdb0666757d9bace579f70856f1f383ddd5db264484f1b6016e4">+54/-48</a>&nbsp;
</td>

</tr>

</table></details></td></tr><tr><td><strong>Dependencies</strong></td><td><details><summary>3
files</summary><table>
<tr>
<td><strong>package.json</strong><dd><code>Updated Prisma dependencies
and added migration scripts</code>&nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-53ddfb1f8a02f1231d3d15a2e694ffe1407d2cc01d3e685de5653b67fec571c7">+5/-3</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>package.json</strong><dd><code>Updated Prisma dependencies
and added migration scripts</code>&nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-4edec169b0f8d3312edaf35b5cc8521fe1edfa163ce174f60eff51906896601f">+5/-3</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>package.json</strong><dd><code>Updated Prisma
dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-b0d32af9c2caaba1377ec3e924eb553105cdc86e244018ffc6a866c530523599">+2/-2</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></details></td></tr><tr><td><strong>Additional
files</strong></td><td><details><summary>25 files</summary><table>
<tr>
  <td><strong>package-lock.json</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-75446c74353509ca0232d6a1350aef075ced8f72bd568e9bafa09cf255683142">+11667/-0</a></td>

</tr>

<tr>
  <td><strong>package-lock.json</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-0214c85d1717ad8b736e0296bb8cbf50db2aed068f31316d3c39904824a14f8e">+15284/-0</a></td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-249a9ce984a8d28465df7c46d14176335a3e3072a09295a2fc6c2a089706ac87">+0/-52</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-b65a93e0149b8757f9758bf4447b09c391e6d7f6753e3b8119aeb634bfa1e58a">+0/-35</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-0e2d258b7bc4efa2728784ff4979d1db99b19ce569add87f907dc0058e1cdf92">+0/-14</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-0297920ff8b9ca5872f0c23b91af90bb3b1f698c4ce1a6e979bcc57253d1fc14">+0/-19</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-10092bc1fc1cb33292d2de51fa103ead3329f89da4e5263ce7156f9fe058a8ac">+0/-13</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-6a150698bbc2c55fffa7c8203a6baa4ae76800a92dab2af3db4455a979e1efc8">+0/-12</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-b861d3b13254809a5d4c2ac173650d832bd5a531070275ed47b0364e7d708002">+0/-3</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-3d975c9205361ffb41d75cbea296f1d5d3c995d7028cb723b84cdbdbaa14d6b6">+0/-10</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-c5e086fcd9e4cb5a31cccf9e021d33a8e5a823b5e9d5cd1f411e69cc954bcf3e">+0/-12</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-29d527d29b192dd7e335033c92797341179428888b151e07fb2a0a25904f900c">+0/-2</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>migration_lock.toml</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-b12ade4703dcaa9647c60141524ec9178f0a8623c93a6792294289720e4f2618">+0/-3</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>package-lock.json</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-54c17cef859f033fc84a59da2e977235ebc494943710c25d132e310ec500c5ef">+1926/-0</a></td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-3ac66eaa7bef6c5be52f465f23c01223d3092570e152a43260261eca73e2cd67">+0/-52</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-13fe21e5b5c119eb53d56a89833335001674d050d1c625ca91261e2aac5ff626">+0/-35</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-8e28adcb61d403ff9e17d0c0fd9189121f3778aea9c8afd0cd33113cbd976aca">+0/-14</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-13b918ec21eabf2dc38d6850ba3ef8fdaf7fc3d76c5a5d62e5131ef5431e6bd2">+0/-19</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-65b00a3a9add469eaeca6a86a4b9b23b4ad1f5bd533c7e4bd65827d6d1e5653a">+0/-13</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-61253604e58cb25b1e7436ccc7a935a58dc91c709e7ca23f7d4ab9001394b49c">+0/-12</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-08f6c4ab5dc1aba11a55931bf07ff68e645185a1c0dce1f71e68704bd823032c">+0/-3</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-40674ec008e93d4ea34a92f20e426bcd958c5b868ccaa4d8ade800ef397fafcc">+0/-10</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-56208f997a8e939f82fad576f18c055589a33811dd7b537632aa0b97935bd3e6">+0/-12</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-58ddb0f84b902f4106e1f6921b6538cea46be9ded33b9766d8cb658b7d76331b">+0/-2</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td><strong>migration_lock.toml</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-44423d32fecc24a69cc5d2d075987e28b6ab13da9730940621da28c0786b37e0">+0/-3</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></details></td></tr></tr></tbody></table>

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information

---------

Co-authored-by: Kevin Turcios <turcioskevinr@gmail.com>
2025-01-24 01:16:41 +00:00
Saurabh Misra
3807b5088b sync the prisma schema across js apps 2024-07-19 20:26:19 -07:00
afik.cohen
1f616d8ad0 Merge branch 'afik/cfapi-updates' into use-proper-python-function-naming 2024-06-27 15:32:36 -07:00
afik.cohen
21aed03f46 Deploy with common 1.0.8, still skip linting 2024-06-13 12:50:03 -07:00
afik.cohen
9745a7914d Redirect to /onboarding, Common to 1.0.6 2024-06-13 10:40:18 -07:00
afik.cohen
06db63c3b7 Submit email and save to db 2024-06-12 21:49:02 -07:00
afik.cohen
e3f57bdd15 Implement first screen from firejet, and implement redirect to typeform for now 2024-06-12 20:38:07 -07:00
afik.cohen
e29e2d8467 Add onboarding redirect if user has not completed onboarding 2024-06-11 17:34:29 -07:00
afik.cohen
3c14702a99 Check in migrations 2024-06-11 17:32:43 -07:00
Saurabh Misra
951aa1020d First draft of upserting a users row 2024-06-06 17:13:26 -07:00
Saurabh Misra
849b8a6475 do prisma migration 2024-06-06 14:59:44 -07:00
afik.cohen
c8caa48880 Fix sentry setup and local env vars for running cfapi locally 2024-06-02 21:42:54 -07:00
afik.cohen
b4ca1eb0d4 Tag common version 1.0.4 2024-04-04 14:58:35 -07:00
afik.cohen
096e92f6c9 Update prisma deps for webapp and common 2024-04-04 14:58:07 -07:00
afik.cohen
4c26fc628b Fix npm pkg errors 2024-04-04 14:55:35 -07:00
afik.cohen
15b52a283b Tag common version 1.0.3 2024-04-04 14:54:09 -07:00
afik.cohen
34294a102c Copy prisma folders to webapp and common 2024-04-04 14:48:54 -07:00
afik.cohen
9542e8f306 Run prisma migration, regenerate client, update prisma dependencies, sync across cfapi, common and webapp 2024-03-22 15:13:23 -07:00
dependabot[bot]
7301b3eed8
Bump prettier from 3.2.4 to 3.2.5 in /js/common
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.2.4...3.2.5)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 13:08:01 +00:00
dependabot[bot]
f0d14d9690
Bump prettier from 3.1.0 to 3.2.4 in /js/common
Bumps [prettier](https://github.com/prettier/prettier) from 3.1.0 to 3.2.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.1.0...3.2.4)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 19:38:46 +00:00
afik.cohen
d5b62a28b9 Implement Posthog and userid for apikey for aiservice, pass userid down to endpoints, add analytics to /optimize endpoint 2024-01-12 19:27:38 -08:00
Saurabh Misra
5bfa0795b7 Add run configs 2023-12-19 17:00:29 -08:00
Saurabh Misra
3ba794aaf1 Make the first optimizer work.
Implements auth with a database as well
2023-12-18 20:43:43 -08:00
afik.cohen
e55fd66054 First pass at building a dashboard page to show isntallaed repos; need to build webapp-cfapi auth for this to work 2023-12-13 16:42:04 -08:00
afik.cohen
6d694fbde8 Back to this import style 2023-12-12 16:53:41 -08:00
afik.cohen
dc1312c970 Rename some auth0 mgmt things 2023-12-10 17:40:07 -08:00
afik.cohen
79a90b643a common ver 1.0.1 2023-12-08 18:12:50 -08:00
afik.cohen
e49b680bc5 Add publishing for common package 2023-12-05 14:21:41 -08:00
Saurabh Misra
f4b80bc1c1 Fix all the TypeScript build errors 2023-12-04 21:03:36 -08:00
afik.cohen
d99a45d922 Reformat 2023-12-04 17:54:33 -08:00
afik.cohen
dcdf322176 Linters: Install prettier and fix up eslint configs 2023-12-04 16:08:51 -08:00
Saurabh Misra
bb7a072e50 WIP Auth0 auth 2023-12-03 20:13:24 -08:00
Saurabh Misra
43ecce208c Update the last accessed time 2023-12-03 18:33:56 -08:00
afik.cohen
9b4ce2aeb6 Use apikeyexists func in common 2023-12-03 18:25:37 -08:00
Saurabh Misra
16ec2749f5 Make the webapp work again 2023-12-03 18:18:12 -08:00
afik.cohen
03f195da38 Move token functions to common and change prisma schema to make api keys unique columns 2023-12-03 18:08:11 -08:00
Saurabh Misra
14dd6ea2cd
Webapp Authentication and API Key Token generation (#36)
Co-authored-by: afik.cohen <aphexsa@gmail.com>
2023-12-03 15:25:53 -08:00